/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
}

body {
    font-family: 'Source Sans 3', 'Source Sans', Arial, sans-serif;
    background: #fdfeff;
    color: #111;
    line-height: 1.6;
}

/* My Files Page Styles */
.files-container {
    padding: 20px;
    margin-top: 100px;
}

.files-content {
    max-width: 1000px;
    margin: 0 auto;
}

.back-link {
    display: inline-block;
    margin-bottom: 20px;
    color: #35707e;
    text-decoration: none;
}

.back-link:hover {
    text-decoration: underline;
}

.files-header {
    text-align: center;
    margin-bottom: 30px;
}

.files-header h1 {
    color: #35707e;
    margin-bottom: 10px;
}

.files-section {
    background: white;
    padding: 30px;
    margin-bottom: 30px;
    border: 1px solid #ddd;
    border-radius: 8px;
}

.section-title {
    color: #35707e;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #35707e;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

.form-group select,
.form-group textarea,
.form-group input[type="file"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
}

.submit-btn {
    background: #35707e;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    width: 100%;
}

.submit-btn:hover {
    background: #2a5861;
}

.files-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.files-table th,
.files-table td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.files-table th {
    background: #f5f5f5;
}

.status-badge {
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
}

.status-pending, .status-requested { background: #fff3cd; color: #856404; }
.status-approved { background: #d4edda; color: #155724; }
.status-rejected { background: #f8d7da; color: #721c24; }
.status-denied { background: #f8d7da; color: #721c24; }

.btn-delete {
    background: #dc3545;
    color: white;
    padding: 6px 12px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
}

.btn-upload {
    background: #28a745;
    color: white;
    padding: 6px 10px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    margin-right: 6px;
    display: inline-block;
}

.btn-deny {
    background: #ffc107;
    color: #212529;
    padding: 6px 10px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    display: inline-block;
}

.file-actions {
    white-space: nowrap;
}

.file-actions form {
    display: inline;
    margin: 0;
}

.btn-upload:hover {
    background: #218838;
}

.btn-deny:hover {
    background: #e0a800;
}

.status-text {
    font-style: italic;
    color: #666;
}

/* Upload Form Integration Styles */
.files-header-with-upload {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.btn-upload {
    background: #35707e;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
}

.btn-upload:hover {
    background: #2a5861;
}

.upload-form-container {
    background: #f8f9fa;
    border: 2px dashed #dee2e6;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
}

.upload-row {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 20px;
    margin-bottom: 20px;
}

.drag-drop-area-persistent {
    border: 2px dashed #35707e;
    border-radius: 8px;
    padding: 30px 20px;
    text-align: center;
    background: #fafbfc;
    transition: all 0.3s ease;
    cursor: pointer;
    margin-bottom: 25px;
}

.drag-drop-area-persistent:hover,
.drag-drop-area-persistent.drag-over {
    border-color: #2a5861;
    background: #f0f8ff;
}

.upload-options-container {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
}

.drag-drop-content {
    pointer-events: none;
}

.drag-drop-icon {
    font-size: 48px;
    display: block;
    margin-bottom: 15px;
}

.link-btn {
    background: none;
    border: none;
    color: #35707e;
    text-decoration: underline;
    cursor: pointer;
    font-size: inherit;
}

.link-btn:hover {
    color: #2a5861;
}

.upload-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 20px;
}

.btn-cancel {
    background: #6c757d;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

.btn-cancel:hover {
    background: #5a6268;
}

@media (max-width: 768px) {
    .files-header-with-upload {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }
    
    .upload-row {
        grid-template-columns: 1fr;
    }
    
    .upload-actions {
        justify-content: stretch;
    }
    
    .upload-actions button {
        flex: 1;
    }
}

.error-message {
    background: #f8d7da !important;
    color: #721c24 !important;
    padding: 15px !important;
    border-radius: 4px;
    margin: 20px 0 !important;
    border: 3px solid #721c24 !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    z-index: 9999 !important;
    position: relative !important;
    width: auto !important;
    height: auto !important;
    font-size: 16px !important;
    font-weight: bold !important;
    text-align: center !important;
}

.success-message {
    background: #d4edda !important;
    color: #155724 !important;
    padding: 15px !important;
    border-radius: 4px;
    margin: 20px 0 !important;
    border: 3px solid #155724 !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    z-index: 9999 !important;
    position: relative !important;
    width: auto !important;
    height: auto !important;
    font-size: 16px !important;
    font-weight: bold !important;
    text-align: center !important;
}

.empty-state {
    text-align: center;
    padding: 40px;
    color: #666;
}

/* Navigation */
.nav-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(53, 112, 126, 0.2);
    z-index: 1000;
    padding: 0.75rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.nav-logo {
    flex-shrink: 0;
}

.nav-logo img {
    height: 40px;
    width: auto;
}

.nav-items {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    flex: 1;
}

.nav-item {
    padding: 1rem 2rem;
    text-decoration: none;
    color: #35707e;
    font-weight: 500;
    font-size: 16px;
    font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    letter-spacing: 0.02em;
}

.nav-item:hover {
    color: #2a5861;
    transform: translateY(-1px);
}

.nav-item.active {
    color: #2a5861;
}

.nav-item.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 4rem);
    height: 2px;
    background: #35707e;
    border-radius: 1px;
}

/* Platform Buttons Base Styling */
.nav-item.platform-login,
.nav-item.platform-portal,
.nav-item.platform-logout {
    color: white !important;
    border-radius: 6px;
    margin-left: 0.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 0.75rem 1.5rem;
}

/* Portal Button (e-CITYΚΕΠ when logged in) */
.nav-item.platform-portal {
    background: linear-gradient(135deg, #35707e, #2a5861);
    box-shadow: 0 2px 8px rgba(53, 112, 126, 0.3);
}

.nav-item.platform-portal:hover {
    background: linear-gradient(135deg, #2a5861, #1e444c);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(53, 112, 126, 0.4);
}

.nav-item.platform-portal.active::after {
    display: none;
}

/* Login Button (e-CITYΚΕΠ when logged out) */
.nav-item.platform-login {
    background: linear-gradient(135deg, #35707e, #2a5861);
    box-shadow: 0 2px 8px rgba(53, 112, 126, 0.3);
}

.nav-item.platform-login:hover {
    background: linear-gradient(135deg, #2a5861, #1e444c);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(53, 112, 126, 0.4);
}

.nav-item.platform-login.active::after {
    display: none;
}

/* Logout Button */
.nav-item.platform-logout {
    background: linear-gradient(135deg, #dc3545, #c82333);
    box-shadow: 0 2px 8px rgba(220, 53, 69, 0.3);
    margin-left: 0.25rem;
}

.nav-item.platform-logout:hover {
    background: linear-gradient(135deg, #c82333, #a71e2a);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.4);
}

/* Main Container */
.container {
    text-align: center;
    max-width: 1000px;
    padding: 2rem;
    margin: 0 auto;
    padding-top: 25px;
    padding-bottom: 0.5rem;
}

/* Hero Description */
.hero-description {
    text-align: center;
    margin: 2rem 0;
}

.hero-description h1 {
    color: #35707e;
    margin-bottom: 1.5rem;
    font-size: 28px;
    text-align: center;
}

.hero-description p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

/* Logo and Tagline */
.logo {
    margin-bottom: 0.5rem;
}

.logo img {
    max-width: 200px;
    height: auto;
}

.tagline {
    font-size: 16px;
    margin-bottom: 1rem;
    color: #111;
    line-height: 1.6;
}

.divider {
    width: 100px;
    height: 2px;
    background: #35707e;
    margin: 2rem auto;
}

/* Sections */
.section {
    display: none;
    padding: 2rem;
    margin: 2rem 0;
    text-align: left;
}

.section.active {
    display: block;
}

.section h2 {
    color: #35707e;
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 28px;
}

.section h3 {
    color: #35707e;
    margin: 1.5rem 0 1rem 0;
    font-size: 20px;
}

.section p {
    line-height: 1.7;
    margin-bottom: 1rem;
    color: #333;
}

/* About Us Styles */
.about-container {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    padding: 3rem 2rem;
    padding-top: 25px;
    background: #f8f9fa;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
}

/* Content Images */
.content-image {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-top: 60px;
    margin-bottom: 0;
    overflow: hidden;
    position: relative;
    z-index: 0;
    clear: both;
}

.content-image img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    object-position: center;
    display: block;
}

.services-image {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-top: 3rem;
    margin-bottom: 3rem;
    overflow: hidden;
    position: relative;
    z-index: 0;
    clear: both;
}

.services-image img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    object-position: center;
    display: block;
}

.about-content {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
    margin-bottom: 3rem;
}

.about-content h1 {
    color: #35707e;
    margin-bottom: 1.5rem;
    font-size: 28px;
    text-align: center;
}

.about-content h2 {
    color: #35707e;
    margin-bottom: 1.5rem;
    font-size: 28px;
    text-align: center;
}

.about-content p {
    line-height: 1.6;
    margin-bottom: 2rem;
    color: #666;
    font-size: 1.1rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.about-content > h3 {
    color: #35707e;
    margin: 1.5rem 0 1rem 0;
    font-size: 20px;
    text-align: center;
}

.about-intro {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    margin-bottom: 2rem;
}

.vision-mission {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.vision-item {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.vision-item h3 {
    color: #2a5861;
    margin-bottom: 1rem;
    font-size: 20px;
    font-weight: 600;
    border-bottom: 2px solid #35707e;
    padding-bottom: 0.5rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}

.benefit-item {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.benefit-item h4 {
    color: #35707e;
    margin-bottom: 0.75rem;
    font-size: 16px;
    font-weight: 600;
}

.benefit-item p {
    color: #555;
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

.commitment {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    margin-top: 2rem;
    text-align: center;
}

.commitment p {
    font-size: 18px;
    color: #2a5861;
}

/* Services Styles */
.services-container {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    padding: 25px 2rem 0 2rem;
    background: #f8f9fa;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
}

.services-content {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
    margin-bottom: 3rem;
}

.services-content h1 {
    color: #35707e;
    margin-bottom: 1.5rem;
    font-size: 28px;
    text-align: center;
}

.services-content h2 {
    color: #35707e;
    margin-bottom: 1.5rem;
    font-size: 28px;
    text-align: center;
}

.services-content p {
    line-height: 1.6;
    margin-bottom: 2rem;
    color: #666;
    font-size: 1.1rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Contact Container - matching Services styling */
.contact-container {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    padding: 3rem 2rem;
    padding-top: 25px;
    background: #f8f9fa;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
}

.contact-content {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
    margin-bottom: 3rem;
}

.contact-content h1 {
    color: #35707e;
    margin-bottom: 1.5rem;
    font-size: 28px;
    text-align: center;
}

.contact-content h2 {
    color: #35707e;
    margin-bottom: 1.5rem;
    font-size: 28px;
    text-align: center;
}

.contact-content p {
    line-height: 1.6;
    margin-bottom: 2rem;
    color: #666;
    font-size: 1.1rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    clear: both;
    position: relative;
    z-index: 1;
    align-items: stretch;
}

.service-category {
    background: white;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    z-index: 1;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.service-category:hover {
    box-shadow: 0 8px 25px rgba(53, 112, 126, 0.15);
    transform: translateY(-2px);
}

.service-header {
    background: linear-gradient(135deg, #35707e 0%, #2a5861 100%);
    color: white;
    padding: 2rem;
    text-align: center;
}

.service-header h4 {
    color: white;
    margin: 0 0 0.75rem 0;
    font-size: 18px;
    font-weight: 600;
}

.service-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    margin: 0;
    line-height: 1.4;
}

.service-list {
    list-style: none;
    padding: 1.5rem 2rem;
    margin: 0;
    flex-grow: 1;
}

.service-list li {
    padding: 0.4rem 0;
    font-size: 14px;
    color: #555;
    position: relative;
    padding-left: 1.25rem;
    line-height: 1.4;
}

.service-list li:before {
    content: '✓';
    color: #35707e;
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0.4rem;
    font-size: 12px;
}

.service-btn {
    display: block;
    background: #e5e7eb;
    color: #374151;
    text-decoration: none;
    padding: 1rem 2rem;
    text-align: center;
    font-weight: 600;
    font-size: 14px;
    transition: background-color 0.2s ease;
    margin-top: auto;
}

.service-btn:hover {
    background: #d1d5db;
    color: #1f2937;
    text-decoration: none;
}

/* FAQ Section */
.faq-section {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-top: 4rem;
    margin-bottom: 0;
    padding: 3rem 2rem 2rem 2rem;
    background: #f0f4f5;
    border-top: 1px solid #e0e0e0;
}

.faq-section h3 {
    color: #2a5861;
    text-align: center;
    margin-bottom: 2rem;
    font-size: 24px;
    font-weight: 600;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    background: #f8f9fa;
    transition: background-color 0.2s ease;
}

.faq-question:hover {
    background: #f0f1f2;
}

.faq-question span {
    font-weight: 600;
    color: #2a5861;
    font-size: 16px;
}

.faq-icon {
    font-size: 20px;
    font-weight: bold;
    color: #35707e;
    transition: transform 0.3s ease;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.faq-answer {
    display: none;
    padding: 1.5rem;
    background: white;
    border-top: 1px solid #e0e0e0;
}

.faq-answer p {
    margin: 0;
    color: #555;
    line-height: 1.6;
    font-size: 15px;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

/* Services Reel on Homepage */
.services-reel-section {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-top: 0;
    margin-bottom: 0;
}

.services-reel-container {
    overflow-x: auto;
    overflow-y: hidden;
    background: #f8f9fa;
    padding: 1rem 0;
    position: relative;
    width: 100%;
    scrollbar-width: none;
    -ms-overflow-style: none;
    cursor: grab;
}

.services-reel-container::-webkit-scrollbar {
    display: none;
}

.services-reel-container:active {
    cursor: grabbing;
}

.services-reel {
    display: flex;
    gap: 2rem;
    white-space: nowrap;
    width: max-content;
    animation: scroll-reel 25s linear infinite;
    will-change: transform;
}

@media (max-width: 768px) {
    .services-reel {
        animation: scroll-reel 18s linear infinite;
    }
}

.service-reel-item {
    color: #35707e;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    background: white;
    transition: all 0.3s ease;
    flex-shrink: 0;
    border: 1px solid #e0e0e0;
}

.service-reel-item:hover {
    background: #35707e;
    color: white;
    text-decoration: none;
    transform: scale(1.05);
    border-color: #35707e;
}

@keyframes scroll-reel {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Announcements Section - ASEP Style */
.announcements-section {
    margin: 3rem 0;
    background: #f8f9fa;
    border-radius: 8px;
    padding: 2rem;
}

.announcements-header {
    margin-bottom: 1.5rem;
}

.announcements-header h3 {
    color: #2a5861;
    font-size: 20px;
    font-weight: 600;
    margin: 0;
}

.announcements-list {
    background: white;
    border-radius: 4px;
    overflow: hidden;
}

.announcement-item {
    border-bottom: 1px solid #e5e5e5;
    transition: background-color 0.2s ease;
}

.announcement-item:last-child {
    border-bottom: none;
}

.announcement-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.announcement-header:hover {
    background-color: #f8f9fa;
}

.announcement-item.expanded .announcement-header {
    background-color: #f0f8ff;
    border-bottom: 1px solid #e0e8f0;
}

.announcement-date {
    color: #666;
    font-size: 14px;
    font-weight: 500;
    min-width: 80px;
    flex-shrink: 0;
}

.announcement-title {
    color: #1e4a66;
    font-size: 15px;
    line-height: 1.4;
    font-weight: 400;
    flex: 1;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
}

.announcement-toggle {
    color: #666;
    font-size: 12px;
    transition: transform 0.3s ease, color 0.2s ease;
    margin-left: 10px;
}

.announcement-header:hover .announcement-title {
    color: #35707e;
}

.announcement-header:hover .announcement-toggle {
    color: #35707e;
}

.announcement-category {
    color: #888;
    font-size: 13px;
    font-weight: 500;
    text-align: right;
    min-width: 120px;
    flex-shrink: 0;
}

/* Accordion content styles */
.announcement-content {
    background-color: #fafbfc;
    border-top: 1px solid #e0e8f0;
    transition: max-height 0.3s ease-out;
    overflow: hidden;
}

.announcement-text {
    padding: 1.5rem;
    color: #444;
    font-size: 14px;
    line-height: 1.6;
    border-left: 3px solid #35707e;
    margin-left: 1.5rem;
    margin-right: 1.5rem;
    background: white;
    border-radius: 0 4px 4px 0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.no-announcements {
    background: white;
    border-radius: 4px;
    padding: 2rem;
    text-align: center;
    color: #666;
}

/* See More Button on Homepage */
.see-more-announcements {
    text-align: right;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e5e5e5;
}

.see-more-btn {
    display: inline-block;
    background: linear-gradient(135deg, #35707e 0%, #4a8a97 100%);
    color: white;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(53, 112, 126, 0.2);
}

.see-more-btn:hover {
    background: linear-gradient(135deg, #2a5861 0%, #3a747e 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(53, 112, 126, 0.3);
}

.announcements-footer {
    margin-top: 1.5rem;
    text-align: center;
}

.view-all-announcements {
    display: inline-block;
    background: #4a5568;
    color: white;
    text-decoration: none;
    padding: 0.75rem 2rem;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: background-color 0.2s ease;
}

.view-all-announcements:hover {
    background: #2d3748;
    color: white;
    text-decoration: none;
}

/* Social Links */
.social-links {
    display: flex;
    justify-content: flex-start;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    background: #35707e;
    border: 2px solid #35707e;
    border-radius: 5px;
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
    font-size: 16px;
}

.social-link:hover {
    background: #2a5861;
    border-color: #2a5861;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(53, 112, 126, 0.3);
}

.social-icon {
    width: 20px;
    height: 20px;
}

/* Newsletter */
.email-signup {
    background: #35707e;
    color: white;
    padding: 2rem;
    border-radius: 5px;
    margin: 3rem 0;
}

.email-signup h3 {
    font-size: 20px;
    margin-bottom: 1rem;
    text-align: center;
}

.email-form {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-width: 400px;
    margin: 0 auto;
}

.email-input {
    flex: 1;
    padding: 0.75rem;
    border: none;
    border-radius: 5px;
    font-size: 16px;
}

.email-submit {
    padding: 0.75rem 1.5rem;
    background: white;
    color: #35707e;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.email-submit:hover {
    background: #f0f0f0;
    transform: translateY(-1px);
}

.success-message, .error-message {
    padding: 1rem;
    border-radius: 5px;
    margin-top: 1rem;
    text-align: center;
}

.success-message {
    background: #d4edda !important;
    color: #155724 !important;
}

.error-message {
    background: #f8d7da !important;
    color: #721c24 !important;
}

/* Hero Section */
.hero-section {
    background: url('img/hero-busy-walking.webp');
    background-size: cover;
    background-position: center;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    color: #2a5861;
    padding: 2rem 0;
    margin-top: 0;
    margin-bottom: 0;
    text-align: center;
    position: relative;
    height: 480px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #2a5861;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.8);
}

.hero-section p {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 1rem auto;
    line-height: 1.6;
    color: white;
    font-weight: 500;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
    background: rgba(0, 0, 0, 0.4);
    padding: 1rem 2rem;
    border-radius: 8px;
    backdrop-filter: blur(5px);
}

/* Logo and Tagline in Hero Section */
.hero-section .logo {
    margin-bottom: 1rem;
}

.hero-section .logo img {
    max-width: 200px;
    height: auto;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.3));
}

.hero-section .tagline {
    font-size: 1.4rem;
    color: white;
    font-weight: 600;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    background: rgba(0, 0, 0, 0.4);
    padding: 0.8rem 2rem;
    border-radius: 8px;
    backdrop-filter: blur(5px);
    margin: 0;
}


/* Contact Us Section */
.contact-us-section {
    background: white;
    color: #333;
    padding: 2rem;
    text-align: center;
    margin: 2rem 0;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.contact-us-content {
    max-width: 600px;
    margin: 0 auto;
}

.contact-us-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
    color: #35707e;
}

.contact-us-content p {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    color: #666;
}

.contact-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.contact-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: #35707e;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid #35707e;
}

.contact-btn:hover {
    background: #2a5861;
    border-color: #2a5861;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(53, 112, 126, 0.3);
}

.contact-btn .contact-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: white;
}

.phone-btn:hover {
    background: rgba(76, 175, 80, 0.2);
    border-color: rgba(76, 175, 80, 0.4);
}

.email-btn:hover {
    background: rgba(33, 150, 243, 0.2);
    border-color: rgba(33, 150, 243, 0.4);
}

/* Contact Form Styles */
.contact-form-section {
    background: transparent;
    padding: 0;
    max-width: 1400px;
    margin: 0 auto;
}

.contact-form {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    margin-bottom: 0;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #35707e;
    font-weight: 600;
    font-size: 14px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #35707e;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-submit-btn {
    background: #35707e;
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    display: block;
}

.form-submit-btn:hover {
    background: #2a5861;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(53, 112, 126, 0.3);
}

/* Service Checkboxes */
.checkbox-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    border-radius: 5px;
    transition: background-color 0.2s ease;
}

.checkbox-item:hover {
    background-color: #f8f9fa;
}

.checkbox-item input[type="checkbox"] {
    width: auto;
    margin: 0;
    padding: 0;
    flex-shrink: 0;
}

.checkbox-item label {
    margin: 0;
    cursor: pointer;
    font-size: 14px;
    color: #333;
    line-height: 1.3;
}

@media (max-width: 768px) {
    .checkbox-container {
        grid-template-columns: 1fr;
    }
}


.contact-map-section {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    margin: 2rem 0;
}

.contact-map-full {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    height: 400px;
    overflow: hidden;
    margin-bottom: 0;
}

/* Services Info Styles */
.services-info {
    max-width: 1400px;
    margin: 1rem auto 3rem auto;
    padding: 0 2rem;
}

.services-info h3 {
    color: #35707e;
    font-size: 28px;
    text-align: center;
    margin-bottom: 2rem;
    font-weight: 600;
}

.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.info-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(53, 112, 126, 0.15);
    border-color: #35707e;
}

.info-number {
    width: 50px;
    height: 50px;
    background: #35707e;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    margin: 0 auto 1.5rem auto;
}

.info-card h4 {
    color: #2a5861;
    font-size: 20px;
    margin-bottom: 1rem;
    font-weight: 600;
}

.info-card p {
    color: #666;
    line-height: 1.6;
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 1024px) and (min-width: 769px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
}

/* Mobile Navigation Styles */
.mobile-nav {
    display: none;
    align-items: center;
    gap: 1rem;
}

.current-page {
    font-weight: 600;
    color: #35707e;
    font-size: 16px;
}

.burger-menu {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    padding: 8px;
    gap: 4px;
}

.burger-menu span {
    width: 24px;
    height: 3px;
    background: #35707e;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.burger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.burger-menu.active span:nth-child(2) {
    opacity: 0;
}

.burger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.mobile-menu-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(53, 112, 126, 0.2);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    z-index: 999;
}

.mobile-menu-dropdown.active {
    display: block;
}

.mobile-nav-item {
    padding: 1rem 2rem;
    color: #35707e;
    font-weight: 500;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(224, 224, 224, 0.5);
}

.mobile-nav-item:hover {
    background: rgba(53, 112, 126, 0.05);
    color: #2a5861;
}

.mobile-nav-item.active {
    background: rgba(53, 112, 126, 0.1);
    color: #2a5861;
    font-weight: 600;
}

/* Mobile Platform Buttons Base Styling */
.mobile-nav-item.platform-login,
.mobile-nav-item.platform-portal,
.mobile-nav-item.platform-logout {
    color: white !important;
    font-weight: 600;
    border-bottom: none;
    margin: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

/* Mobile Portal Button */
.mobile-nav-item.platform-portal {
    background: linear-gradient(135deg, #35707e, #2a5861);
}

.mobile-nav-item.platform-portal:hover {
    background: linear-gradient(135deg, #2a5861, #1e444c) !important;
}

.mobile-nav-item.platform-portal.active {
    background: linear-gradient(135deg, #1e444c, #16383f) !important;
}

/* Mobile Login Button */
.mobile-nav-item.platform-login {
    background: linear-gradient(135deg, #35707e, #2a5861);
}

.mobile-nav-item.platform-login:hover {
    background: linear-gradient(135deg, #2a5861, #1e444c) !important;
}

.mobile-nav-item.platform-login.active {
    background: linear-gradient(135deg, #1e444c, #16383f) !important;
}

/* Mobile Logout Button */
.mobile-nav-item.platform-logout {
    background: linear-gradient(135deg, #dc3545, #c82333);
}

.mobile-nav-item.platform-logout:hover {
    background: linear-gradient(135deg, #c82333, #a71e2a) !important;
}

@media (max-width: 768px) {
    .logo img {
        max-width: 120px;
    }

    .nav-container {
        padding: 0 1rem;
    }

    .nav-logo img {
        height: 32px;
    }

    .desktop-nav {
        display: none;
    }

    .mobile-nav {
        display: flex;
    }


    .container {
        padding: 1rem;
    }

    .about-container {
        padding: 2rem 1rem;
    }

    .vision-mission {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin: 1.5rem 0;
    }

    .benefit-item {
        padding: 1.25rem;
    }

    .vision-item, .about-intro, .commitment {
        padding: 1.5rem;
    }

    .services-container {
        padding: 2rem 1rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .service-header {
        padding: 1.5rem;
    }

    .service-header h4 {
        font-size: 16px;
    }

    .service-list {
        padding: 1.25rem 1.5rem;
    }

    .service-list li {
        font-size: 13px;
    }

    .service-btn {
        padding: 0.875rem 1.5rem;
        font-size: 13px;
    }

    .services-reel-section h3 {
        font-size: 18px;
    }

    .service-reel-item {
        font-size: 14px;
        padding: 0.4rem 0.8rem;
    }

    .announcements-section {
        margin: 2rem 0;
        padding: 1.5rem;
    }

    .announcements-header h3 {
        font-size: 18px;
    }

    .announcement-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        padding: 1rem;
    }

    .announcement-date {
        font-size: 13px;
        min-width: auto;
        order: 1;
    }

    .announcement-title {
        font-size: 14px;
        order: 2;
        width: 100%;
    }

    .announcement-category {
        font-size: 12px;
        min-width: auto;
        text-align: left;
        order: 3;
    }

    .announcement-text {
        margin-left: 1rem;
        margin-right: 1rem;
        padding: 1rem;
    }

    .view-all-announcements {
        padding: 0.625rem 1.5rem;
        font-size: 12px;
    }


    .hero-section {
        margin-left: calc(-50vw + 50%);
        width: 100vw;
        padding: 1rem;
        margin-top: 60px;
        margin-bottom: 0;
        height: 300px;
    }

    .hero-section h2 {
        font-size: 2rem;
    }

    .hero-section p {
        font-size: 1rem;
    }

    .content-image {
        margin-top: 60px;
        margin-bottom: 0;
        width: 100vw;
        margin-left: calc(-50vw + 50%);
    }

    .content-image img {
        height: 300px;
        object-fit: cover;
    }

    .services-image {
        margin-top: 2rem;
        margin-bottom: 2rem;
        width: 100vw;
        margin-left: calc(-50vw + 50%);
    }

    .services-image img {
        height: 240px;
        object-fit: cover;
    }

    .services-container {
        padding: 2rem 1rem;
    }

    .services-content {
        margin-bottom: 2rem;
    }

    .services-content h1,
    .services-content h2,
    .about-content h1,
    .about-content h2,
    .contact-content h1,
    .contact-content h2,
    .hero-description h1 {
        font-size: 24px;
    }

    .services-content p,
    .about-content p,
    .contact-content p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .social-links {
        flex-direction: column;
        align-items: flex-start;
    }

    .social-link {
        width: auto;
        justify-content: flex-start;
    }

    .email-form {
        flex-direction: column;
    }

    .email-submit {
        padding: 1rem;
    }

    .section h2 {
        font-size: 24px;
    }

    .section h3 {
        font-size: 18px;
    }

    .contact-us-section {
        padding: 1.5rem 1rem;
        margin: 1rem 0;
    }

    .contact-us-content h3 {
        font-size: 1.5rem;
    }

    .contact-us-content p {
        font-size: 1rem;
    }

    .contact-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .contact-btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

/* Payment Page Styles */
.payment-container {
    padding: 20px;
    margin-top: 100px;
}

.payment-content {
    max-width: 1000px;
    margin: 0 auto;
}

.payment-page-header {
    text-align: center;
    margin-bottom: 30px;
}

.payment-page-header h1 {
    color: #35707e;
    margin-bottom: 10px;
}

.payment-page-header p {
    color: #666;
    font-size: 16px;
}

/* Payment Methods Section Styles */
.payment-methods-section {
    margin-top: 20px;
}

.payment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 15px;
}

.payment-subtitle {
    color: #666;
    margin: 0;
    font-size: 14px;
}

.btn-add-payment, .btn-add-payment-primary {
    background: #35707e;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s;
}

.btn-add-payment:hover, .btn-add-payment-primary:hover {
    background: #2a5a66;
}

.payment-methods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.payment-method-card {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    background: white;
    position: relative;
    transition: box-shadow 0.3s;
}

.payment-method-card:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.payment-method-card.primary {
    border-color: #35707e;
    border-width: 2px;
}

.payment-type-icon {
    font-size: 24px;
    margin-bottom: 10px;
}

.payment-details h3 {
    color: #333;
    margin-bottom: 5px;
    font-size: 16px;
}

.payment-details p {
    color: #666;
    margin-bottom: 3px;
    font-size: 14px;
}

.payment-details .iban {
    font-family: monospace;
    font-size: 12px;
}

.primary-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #35707e;
    color: white;
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 3px;
}

.payment-actions {
    margin-top: 15px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.payment-actions button {
    padding: 6px 12px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    transition: background-color 0.3s;
}

.btn-edit {
    background: #f8f9fa;
    color: #333;
    border: 1px solid #ddd;
}

.btn-edit:hover {
    background: #e9ecef;
}

.btn-delete {
    background: #dc3545;
    color: white;
}

.btn-delete:hover {
    background: #c82333;
}

.btn-primary {
    background: #28a745;
    color: white;
}

.btn-primary:hover {
    background: #218838;
}

.empty-payment-state {
    text-align: center;
    padding: 40px 20px;
    background: #f8f9fa;
    border-radius: 8px;
    margin: 20px 0;
}

.payment-icon {
    font-size: 48px;
    margin-bottom: 20px;
    opacity: 0.5;
}

.empty-payment-state h3 {
    color: #333;
    margin-bottom: 10px;
}

.empty-payment-state p {
    color: #666;
    margin-bottom: 20px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

/* Modal Styles */
.modal {
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
}

.modal-content {
    background: white;
    border-radius: 8px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    margin: 0 auto;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 20px 15px;
    border-bottom: 1px solid #e0e0e0;
}

.modal-header h2 {
    color: #333;
    margin: 0;
}

.close {
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
}

.close:hover {
    color: #333;
}

.payment-type-selection {
    display: flex;
    gap: 10px;
    padding: 20px;
    border-bottom: 1px solid #e0e0e0;
}

.payment-type-btn {
    flex: 1;
    padding: 15px 10px;
    border: 2px solid #e0e0e0;
    background: white;
    border-radius: 8px;
    cursor: pointer;
    text-align: center;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.payment-type-btn.active {
    border-color: #35707e;
    background: #f0f8ff;
}

.payment-type-btn:hover {
    border-color: #35707e;
}

.payment-type-btn .icon {
    font-size: 20px;
}

.payment-form {
    display: none;
    padding: 20px;
}

.payment-form.active {
    display: block;
}

.form-group {
    margin-bottom: 15px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #333;
    font-weight: 500;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #35707e;
    box-shadow: 0 0 0 2px rgba(53, 112, 126, 0.1);
}

.billing-address-section {
    border: 1px solid #e0e0e0;
    padding: 20px;
    margin-top: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
}

.billing-address-section h3 {
    color: #35707e;
    margin-bottom: 15px;
    font-size: 16px;
    font-weight: 600;
    margin-top: 0;
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 20px;
    border-top: 1px solid #e0e0e0;
    background: #f8f9fa;
}

.btn-cancel {
    padding: 10px 20px;
    border: 1px solid #ddd;
    background: white;
    color: #333;
    border-radius: 4px;
    cursor: pointer;
}

.btn-cancel:hover {
    background: #f8f9fa;
}

.btn-save {
    padding: 10px 20px;
    border: none;
    background: #35707e;
    color: white;
    border-radius: 4px;
    cursor: pointer;
}

.btn-save:hover {
    background: #2a5a66;
}

/* Responsive Design for Payment Methods */
@media (max-width: 768px) {
    .payment-methods-grid {
        grid-template-columns: 1fr;
    }
    
    .payment-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .payment-type-selection {
        flex-direction: column;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .modal-content {
        width: 95%;
        margin: 10px;
    }
    
    .form-actions {
        flex-direction: column-reverse;
    }
    
    .form-actions button {
        width: 100%;
    }
}

/* =================================
   TURNSTILE WIDGET CENTERING
   ================================= */
.cf-turnstile {
    display: flex !important;
    justify-content: center !important;
    margin: 1rem 0 !important;
}
