/* Global Styles */
:root {
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --accent-color: #3b82f6;
    --text-light: #333;
    --text-dark: #f8fafc;
    --bg-light: #e3f2fd;
    --bg-dark: #0a192f;
    --card-bg-light: rgba(255, 255, 255, 0.9);
    --card-bg-dark: rgba(15, 40, 80, 0.8);
    --glass-light: linear-gradient(135deg, #196df5, #60a5fa);
    --glass-dark: rgba(15, 40, 80, 0.8);
    --transition: all 0.4s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

img.logo {
    width: 100px;
}

body {
  
    color: var(--text-light);
    transition: var(--transition);
    overflow-x: hidden;
}

body.dark-mode {
    background: var(--bg-dark);
    color: var(--text-dark);
}

/* Header Styles */
header {
    width: 90%;
    max-width: 1400px;
    margin: 20px auto;
    background: var(--glass-light);
    backdrop-filter: blur(10px);
    padding: 15px 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-radius: 15px;
    position: sticky;
    top: 20px;
    z-index: 1000;
    transition: var(--transition);
}

body.dark-mode header {
    background: var(--glass-dark);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

/* align navigation items centrally when enough space */
nav ul {
    justify-content: center;
}

/* Dropdown parent positioning */
nav ul li {
    position: relative;
}
nav ul li .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--glass-light);
    backdrop-filter: blur(8px);
    display: none;
    flex-direction: column;
    padding: 5px 0;
    border-radius: 8px;
    min-width: 180px;
    z-index: 1000;
}
nav ul li:hover .dropdown-menu {
    display: flex;
}
nav ul li .dropdown-menu li a {
    padding: 8px 20px;
    white-space: nowrap;
}

/* footer gradient matching menu colors */
footer {
    background: linear-gradient(135deg, #196df5, #60a5fa);
    color: #fff;
}
body.dark-mode footer {
    background: #002155;
    backdrop-filter: blur(10px);
}


.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-img {
    width: 100px;
    height: 60px;
    background: linear-gradient(135deg, #cfcfcf, #ffffff);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.logo-text {
    font-size: 22px;
    font-weight: bold;
    color: var(--primary-color);
    transition: var(--transition);
}

nav ul {
    list-style: none;
    display: flex;
    gap: 10px;
}

nav ul li a {
    text-decoration: none;
    color: white;
    font-size: 16px;
    font-weight: 500;
    padding: 10px 20px;
    border-radius: 30px;
    transition: var(--transition);
    position: relative;
}

nav ul li a.active {
    background: rgba(255, 255, 255, 0.2);
    font-weight: 600;
}

nav ul li a:hover {
    background: rgba(255, 255, 255, 0.2);
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 20px;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

nav ul li a:hover::after {
    width: calc(100% - 40px);
}
/* Dark Mode Toggle */
.dark-mode-toggle {
    cursor: pointer;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.dark-mode-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(30deg);
}
/* Hamburger Menu Styles */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    margin-right: 10px;
    z-index: 1100;
}

.menu-toggle .bar {
    width: 28px;
    height: 3px;
    background: var(--primary-color);
    margin: 4px 0;
    border-radius: 2px;
    transition: 0.3s;
}

/* X icon animation */
.menu-toggle.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Responsive Navigation */
@media (max-width: 900px) {
    .menu-toggle {
        display: flex
;
        color: white;
        background: white;
        padding-right: 8px;
        border-radius: 5px;
        padding-left: 8px;
    }

      nav {
        position: relative;
    }
    nav ul {
        position: fixed;
        color: white;
        top: 0;
        right: -100%;
        width: 250px;
        height: 100vh;
        background: #2563eb;
        flex-direction: column;
        padding: 80px 20px 20px;
        transition: 0.3s ease-in-out;
        z-index: 1000;
        display: block;
        border-radius: 20px;
    }
        body.dark-mode nav ul {
        background:#0a192f;
    }
    nav ul.open {
        right: 0;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    }
    
    nav ul li {
        margin: 15px 0;
        text-align: right;
    }
        .logo-container {
        flex: 1;
    }
    
    .logo-text {
        font-size: 18px;
    }
}
@media (max-width: 576px) {
    header {
        width: 95%;
        padding: 10px 15px;
    }
    
    
    .logo-text {
        font-size: 16px;
    }
    
    .dark-mode-toggle {
        width: 35px;
        height: 35px;
    }
}
/* Hero Section */
.hero {
    text-align: center;
    padding: 100px 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    position: relative;
    overflow: hidden;
}

body.dark-mode .hero {
    background: linear-gradient(135deg, #0f172a, #1e3a8a);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiPjxkZWZzPjxwYXR0ZXJuIGlkPSJwYXR0ZXJuIiB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIHBhdHRlcm5Vbml0cz0idXNlclNwYWNlT25Vc2UiIHBhdHRlcm5UcmFuc2Zvcm09InJvdGF0ZSg0NSkiPjxyZWN0IHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCIgZmlsbD0icmdiYSgyNTUsMjU1LDI1NSwwLjA1KSIvPjwvcGF0dGVybj48L2RlZnM+PHJlY3QgZmlsbD0idXJsKCNwYXR0ZXJuKSIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIvPjwvc3ZnPg==');
    opacity: 0.3;
}

.hero-content {
    max-width: 800px;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: 800;
    background: linear-gradient(to right, #fff, #e0e7ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn-container {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    border: none;
    padding: 15px 30px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.btn-primary {
    background: white;
    color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
    background: #f0f4ff;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

/* Section Title */
.section-title {
    text-align: center;
    margin: 60px 0;
    position: relative;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.section-title p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

        /* --- Events & Programs Section --- */
.info-section {
    max-width: 1000px;
    margin: 40px auto;
    padding: 20px;
}

/* disabled nav link style */
nav ul li a.disabled {
    color: rgba(255,255,255,0.6);
    cursor: default;
    text-decoration: none;
}
nav ul li a.disabled:hover {
    background: none;
}

.feature-list {
    list-style: none;
    margin: 20px 0;
    padding-left: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.feature-list li {
    margin-bottom: 0;
    background: var(--card-bg-light);
    padding: 20px 20px 20px 40px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    position: relative;
    transition: transform 0.3s;
}

.feature-list li::before {
    content: '\f0da';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-color);
}

.feature-list li:hover {
    transform: translateY(-3px);
}

body.dark-mode .feature-list li {
    background: var(--card-bg-dark);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.events-section {
    padding: 60px 20px 40px 20px;
    background: linear-gradient(135deg, #f0f6ff 60%, #e3f2fd 100%);
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(37, 99, 235, 0.07), 0 1.5px 8px rgba(30, 64, 175, 0.04);
    margin: 40px auto 60px auto;
    max-width: 1200px;
    position: relative;
    overflow: hidden;
}

body.dark-mode .events-section {
    background: linear-gradient(135deg, #0a192f 60%, #1e293b 100%);
    box-shadow: 0 8px 32px rgba(30, 64, 175, 0.13), 0 1.5px 8px rgba(37, 99, 235, 0.09);
}

.events-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: flex-start;
    justify-content: space-between;
}

.events-intro {
    flex: 2 1 340px;
    min-width: 280px;
    max-width: 700px;
}

.events-intro h2 {
    font-size: 2.3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 18px;
    letter-spacing: -1px;
}

body.dark-mode .events-intro h2 {
    color: #60a5fa;
}

.events-intro p {
    font-size: 1.15rem;
    color: #444;
    line-height: 1.8;
    margin-bottom: 24px;
}

body.dark-mode .events-intro p {
    color: #e0e7ef;
}

.upcoming-card {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 18px rgba(37,99,235,0.07);
    padding: 28px 24px;
    min-width: 240px;
    max-width: 340px;
    flex: 1 1 240px;
    margin-top: 12px;
    margin-bottom: 12px;
    transition: box-shadow 0.3s;
}

body.dark-mode .upcoming-card {
    background: #1e293b;
    box-shadow: 0 4px 18px rgba(59,130,246,0.13);
}

.upcoming-card h3 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 16px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

body.dark-mode .upcoming-card h3 {
    color: #60a5fa;
}

.upcoming-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.upcoming-card li {
    font-size: 1rem;
    color: #333;
    margin-bottom: 10px;
    padding-left: 0;
    border-left: 3px solid var(--primary-color);
    padding-left: 10px;
    background: rgba(37,99,235,0.03);
    border-radius: 4px;
}

body.dark-mode .upcoming-card li {
    color: #e0e7ef;
    background: rgba(59,130,246,0.07);
    border-left: 3px solid #60a5fa;
}

.events-section::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, #2563eb33 0%, transparent 70%);
    z-index: 0;
}

.events-section::after {
    content: '';
    position: absolute;
    bottom: -40px;
    left: -40px;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, #3b82f633 0%, transparent 70%);
    z-index: 0;
}

/* Programs & Sponsorships Section */
.programs-container {
    max-width: 1200px;
    margin: 60px auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.program-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    padding: 30px;
    transition: transform 0.3s, box-shadow 0.3s;
    border-top: 4px solid var(--primary-color);
    height: 100%;
    display: flex;
    flex-direction: column;
}

body.dark-mode .program-card {
    background: #1e293b;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
    border-top: 4px solid #60a5fa;
}

.program-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 32px rgba(37, 99, 235, 0.15);
}

body.dark-mode .program-card:hover {
    box-shadow: 0 8px 32px rgba(59, 130, 246, 0.25);
}

.program-card h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

body.dark-mode .program-card h3 {
    color: #60a5fa;
}

.program-card .program-type {
    display: inline-block;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary-color);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 15px;
}

body.dark-mode .program-card .program-type {
    background: rgba(59, 130, 246, 0.2);
    color: #60a5fa;
}

.program-card p {
    color: #444;
    line-height: 1.7;
    margin-bottom: 20px;
    flex-grow: 1;
}

body.dark-mode .program-card p {
    color: #e0e7ef;
}

.program-card .program-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
}

.program-meta-item {
    display: flex;
    align-items: center;
    color: #555;
    font-size: 0.9rem;
}

body.dark-mode .program-meta-item {
    color: #cbd5e1;
}

.program-meta-item i {
    margin-right: 8px;
    color: var(--primary-color);
}

.learn-more-btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 10px;
    transition: background-color 0.3s;
    align-self: flex-start;
}

.learn-more-btn:hover {
    background-color: #1e40af;
}

/* Event Gallery Section */
.event-gallery {
    max-width: 1200px;
    margin: 60px auto;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    aspect-ratio: 16/9;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    padding: 20px;
}

.gallery-caption h4 {
    margin: 0;
    font-size: 1.1rem;
}

.gallery-caption p {
    margin: 5px 0 0;
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Sponsorship Form Section */
.sponsorship-section {
    max-width: 800px;
    margin: 60px auto;
    padding: 40px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

body.dark-mode .sponsorship-section {
    background: #1e293b;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
}

.sponsorship-section h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 30px;
    text-align: center;
}

body.dark-mode .sponsorship-section h2 {
    color: #60a5fa;
}

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

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

body.dark-mode .form-group label {
    color: #e0e7ef;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

body.dark-mode .form-group input,
body.dark-mode .form-group textarea,
body.dark-mode .form-group select {
    background: #0f172a;
    border-color: #334155;
    color: #e0e7ef;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--primary-color);
    outline: none;
}

/* Contact page styles */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.contact-form-container {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

body.dark-mode .contact-form-container {
    background: #1a2332;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.contact-form-container h2 {
    color: var(--primary-color);
    margin-bottom: 25px;
    font-size: 1.8rem;
}

.contact-info-container {
    background: #f0f7ff;
    padding: 30px;
    border-radius: 12px;
    border-left: 5px solid var(--primary-color);
}

body.dark-mode .contact-info-container {
    background: #0a3d5c;
    border-left-color: #60a5fa;
}

.contact-info-container h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.contact-details {
    line-height: 1.8;
}

.contact-details p {
    margin-bottom: 15px;
    color: #555;
}

body.dark-mode .contact-details p {
    color: #cbd5e1;
}

.contact-details ul {
    margin-left: 20px;
    margin-bottom: 15px;
}

.contact-details li {
    margin-bottom: 8px;
    color: #555;
}

body.dark-mode .contact-details li {
    color: #cbd5e1;
}

.contact-details strong {
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contact-form-container,
    .contact-info-container {
        padding: 20px;
    }
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-row .form-group {
    flex: 1;
}

.submit-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.3s;
}

.submit-btn:hover {
    background-color: #1e40af;
}

@media (max-width: 900px) {
    .events-container {
        flex-direction: column;
        gap: 30px;
    }
    .events-intro, .upcoming-card {
        max-width: 100%;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
}

@media (max-width: 576px) {
    .events-section {
        padding: 30px 8px 20px 8px;
        border-radius: 12px;
    }
    .events-intro h2 {
        font-size: 1.5rem;
    }
    .upcoming-card {
        padding: 18px 10px;
        border-radius: 10px;
    }
    
    .programs-container {
        grid-template-columns: 1fr;
    }
    
    .sponsorship-section {
        padding: 20px;
    }
}

/* ===== Partners Page Styles ===== */
.partners-hero {
    background: linear-gradient(135deg, var(--primary-600), var(--primary-800));
    color: white;
    padding: 5rem 1rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.partners-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiPjxkZWZzPjxwYXR0ZXJuIGlkPSJwYXR0ZXJuIiB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIHBhdHRlcm5Vbml0cz0idXNlclNwYWNlT25Vc2UiIHBhdHRlcm5UcmFuc2Zvcm09InJvdGF0ZSg0NSkiPjxyZWN0IHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCIgZmlsbD0icmdiYSgyNTUsMjU1LDI1NSwwLjA1KSIvPjwvcGF0dGVybj48L2RlZnM+PHJlY3QgZmlsbD0idXJsKCNwYXR0ZXJuKSIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIvPjwvc3ZnPg==');
    opacity: 0.3;
}

.partners-hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 1rem;
    line-height: 1.2;
    position: relative;
}

.partners-hero p {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 2rem;
    opacity: 0.9;
}
.clients-carousel {
    overflow: hidden;
    width: 100%;
    padding: 30px 0;
    /* border-radius: 20px; */
    /* box-shadow: 0 8px 32px rgba(0, 0, 0, 0.10), 0 1.5px 8px rgba(0, 0, 0, 0.08); */
    margin: 32px 0;
    /* background: none; */
}
        .clients-slider {
            display: flex;
            align-items: center;
            gap: 80px;
            animation: clients-slide 30s linear infinite;
            will-change: transform;
        }
        .client-logo-container {
            flex: 0 0 auto;
            width: 240px;
            height: 150px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: #fff;
            border-radius: 24px;
            box-shadow:
                0 8px 32px rgba(0,0,0,0.18),
                0 1.5px 8px rgba(0,0,0,0.10),
                0 0.5px 2px rgba(0,0,0,0.08);
            transition: transform 0.3s, box-shadow 0.3s;
            perspective: 600px;
            margin: 0 8px;
        }
        .client-logo-container:hover {
            transform: scale(1.12) rotateY(-8deg) rotateX(4deg);
            box-shadow:
                0 16px 48px rgba(0,0,0,0.22),
                0 4px 16px rgba(0,0,0,0.13);
            z-index: 2;
        }

        .client-logo-container:hover .client-logo {
            filter: none;
            transform: scale(1.06) rotateY(2deg);
        }
        @keyframes clients-slide {
            0% { transform: translateX(0); }
            100% { transform: translateX(-50%); }
        }
/* Strategic Partners Section */
.strategic-partners {
    padding: 4rem 1rem;
    max-width: 1400px;
    margin: 0 auto;
}

/* ===== CTA Section Styles ===== */
.cta-section {
    padding: 5rem 1rem;
    text-align: center;
    background: linear-gradient(135deg, 
        rgba(37, 99, 235, 0.9) 0%, 
        rgba(30, 64, 175, 0.95) 100%);
    color: white;
    position: relative;
    overflow: hidden;
    margin: 4rem 0;
}

body.dark-mode .cta-section {
    background: linear-gradient(135deg, 
        rgba(15, 40, 80, 0.95) 0%,
        rgba(30, 58, 138, 0.9) 100%);
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiPjxkZWZzPjxwYXR0ZXJuIGlkPSJwYXR0ZXJuIiB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIHBhdHRlcm5Vbml0cz0idXNlclNwYWNlT25Vc2UiIHBhdHRlcm5UcmFuc2Zvcm09InJvdGF0ZSg0NSkiPjxyZWN0IHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCIgZmlsbD0icmdiYSgyNTUsMjU1LDI1NSwwLjA1KSIvPjwvcGF0dGVybj48L2RlZnM+PHJlY3QgZmlsbD0idXJsKCNwYXR0ZXJuKSIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIvPjwvc3ZnPg==');
    opacity: 0.15;
}

.cta-section h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin-bottom: 1.5rem;
    position: relative;
    line-height: 1.3;
}

.cta-section p {
    font-size: clamp(1rem, 2vw, 1.25rem);
    max-width: 700px;
    margin: 0 auto 2rem;
    opacity: 0.9;
    line-height: 1.6;
}

.cta-section .btn {
    font-size: 1.1rem;
    color: #1056c2 !important;
    padding: 0.85rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.4s ease;
    border: 2px solid white;
}

.cta-section .btn-primary {
    background: white;
    color: var(--primary-700);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.cta-section .btn-primary:hover {
    background: transparent;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Animated circles in background */
.cta-section .circles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.cta-section .circles li {
    position: absolute;
    display: block;
    list-style: none;
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.15);
    animation: float-up 15s linear infinite;
    bottom: -150px;
    border-radius: 50%;
}

.cta-section .circles li:nth-child(1) {
    left: 25%;
    width: 80px;
    height: 80px;
    animation-delay: 0s;
    animation-duration: 20s;
}

.cta-section .circles li:nth-child(2) {
    left: 10%;
    width: 20px;
    height: 20px;
    animation-delay: 2s;
    animation-duration: 12s;
}

.cta-section .circles li:nth-child(3) {
    left: 70%;
    width: 60px;
    height: 60px;
    animation-delay: 4s;
    animation-duration: 18s;
}

.cta-section .circles li:nth-child(4) {
    left: 40%;
    width: 40px;
    height: 40px;
    animation-delay: 0s;
    animation-duration: 15s;
}

.cta-section .circles li:nth-child(5) {
    left: 65%;
    width: 30px;
    height: 30px;
    animation-delay: 0s;
}

.cta-section .circles li:nth-child(6) {
    left: 75%;
    width: 50px;
    height: 50px;
    animation-delay: 3s;
}

.cta-section .circles li:nth-child(7) {
    left: 90%;
    width: 35px;
    height: 35px;
    animation-delay: 7s;
    animation-duration: 20s;
}

@keyframes float-up {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(-1000px) rotate(720deg);
        opacity: 0;
    }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .cta-section {
        padding: 3.5rem 1rem;
        margin: 3rem 0;
    }
    
    .cta-section h2 {
        margin-bottom: 1rem;
    }
    
    .cta-section p {
        margin-bottom: 1.5rem;
    }
    
    .cta-section .btn {
        padding: 0.75rem 2rem;
    }
}

.service-features {
    justify-content: start;
    align-self: self-start;
    align-content: start;
}
.strategic-partners h2 {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.strategic-partners h2::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary-500);
}

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

.partner-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
}

body.dark-mode .partner-card {
    background: var(--card-bg-dark);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.partner-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.partner-logo {
    width: 160px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 1.5rem;
    background-color: white;
    padding: 1rem;
    border-radius: 0.5rem;
}

body.dark-mode .partner-logo {
    background-color: var(--neutral-800);
}

.partner-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-700);
}

body.dark-mode .partner-card h3 {
    color: var(--primary-400);
}

.partner-card p {
    margin-bottom: 1.5rem;
    color: var(--neutral-600);
    flex-grow: 1;
}

body.dark-mode .partner-card p {
    color: var(--neutral-400);
}

.partner-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-600);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

body.dark-mode .partner-link {
    color: var(--primary-400);
}

.partner-link:hover {
    color: var(--primary-800);
    gap: 0.75rem;
}

body.dark-mode .partner-link:hover {
    color: var(--primary-300);
}

/* Industry Collaborations Section */
.industry-collaborations {
    padding: 4rem 1rem;
    background: rgba(235, 245, 255, 0.5);
    margin-top: 3rem;
}

body.dark-mode .industry-collaborations {
    background: rgba(5, 25, 55, 0.5);
}

.industry-collaborations h2 {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.industry-collaborations h2::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary-500);
}

.collaborations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.collaboration-item {
    background: white;
    border-radius: 0.75rem;
    padding: 1.5rem 1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    text-align: center;
    font-weight: 500;
}

body.dark-mode .collaboration-item {
    background: var(--neutral-800);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.collaboration-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Become Partner CTA */
.become-partner {
    padding: 4rem 1rem;
    text-align: center;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(37, 99, 235, 0.1));
}

.become-partner h2 {
    margin-bottom: 1.5rem;
    color: var(--primary-700);
}

body.dark-mode .become-partner h2 {
    color: var(--primary-400);
}

.become-partner p {
    max-width: 600px;
    margin: 0 auto 2rem;
    color: var(--neutral-700);
}

body.dark-mode .become-partner p {
    color: var(--neutral-300);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .partners-hero {
        padding: 3rem 1rem;
    }
    
    .strategic-partners,
    .industry-collaborations {
        padding: 3rem 1rem;
    }
    
    .partners-grid {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    }
    
    .collaborations-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
}

@media (max-width: 480px) {
    .partners-hero h1 {
        font-size: 2rem;
    }
    
    .partners-hero p {
        font-size: 1.1rem;
    }
    
    .partner-card {
        padding: 1.5rem;
    }
    
    .partner-logo {
        width: 120px;
        height: 80px;
    }
}

/* ===== Client Showcase Styles ===== */
.client-showcase {
    padding: 4rem 1rem;
    max-width: 1400px;
    margin: 0 auto;
}

.client-showcase h2 {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    color: var(--primary-700);
}

body.dark-mode .client-showcase h2 {
    color: var(--primary-400);
}

.client-showcase h2::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary-500);
}

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

.client-logo-container {
    background: white;
    border-radius: 0.75rem;
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 120px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

body.dark-mode .client-logo-container {
    background: var(--neutral-800);
    border-color: rgba(255, 255, 255, 0.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.client-logo-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.client-logo {
    max-width: 100%;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%) contrast(0.5);
    transition: filter 0.3s ease;
}

.client-logo-container:hover .client-logo {
    filter: grayscale(0%) contrast(1);
}

/* Individual Client Logo Adjustments */
.client-logo[alt="Gauteng Agriculture"] {
    max-height: 70px; /* Slightly smaller for text-heavy logos */
}

.client-logo[alt="Airports Company SA"] {
    max-height: 65px; /* ACSA logo often needs adjustment */
}

.client-logo[alt="PRASA"] {
    max-height: 75px; /* PRASA logo sizing */
}

.client-logo[alt="Nando's"] {
    max-height: 90px; /* Nando's logo can be larger */
}

.client-logo[alt="Sun International"] {
    max-height: 60px; /* Sun International text-heavy */
}

.client-logo[alt="City of Tshwane"] {
    max-height: 85px; /* CoT logo sizing */
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .client-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1.5rem;
    }
    
    .client-logo-container {
        padding: 1rem;
        height: 100px;
    }
    
    .client-logo {
        max-height: 60px;
    }
}

@media (max-width: 480px) {
    .client-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .client-showcase h2 {
        margin-bottom: 2rem;
    }
}

body.dark-mode .section-title p {
    color: var(--text-dark);
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    margin: 20px auto 0;
    border-radius: 2px;
}

/* Services Section */
.services-section {
    padding: 60px 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background: var(--card-bg-light);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

body.dark-mode .service-card {
    background: var(--card-bg-dark);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

body.dark-mode .service-card:hover {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: white;
    font-size: 28px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.service-card p {
    margin-bottom: 20px;
    line-height: 1.6;
}

.values-list {
    text-align: left;
    list-style-position: inside;
    margin-bottom: 20px;
    padding-left: 20px;
}

.values-list li {
    margin-bottom: 10px;
    font-size: 1rem;
}

.read-more {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition);
}

.read-more:hover {
    gap: 10px;
}

/* Team Section */
.team-section {
    padding: 60px 20px;
    background: rgba(235, 245, 255, 0.5);
    width: 100%;
    text-align: center;
}

body.dark-mode .team-section {
    background: rgba(5, 25, 55, 0.5);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1400px;
    margin: 40px auto 0;
}

.team-card {
    background: var(--card-bg-light);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

body.dark-mode .team-card {
    background: var(--card-bg-dark);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.team-card:hover {
    transform: translateY(-5px);
}

.team-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: white;
    font-size: 32px;
}

.team-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.team-card p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

body.dark-mode .team-card p {
    color: #aaa;
}

/* Footer */
footer {
        background: linear-gradient(135deg, #196df5, #60a5fa);
    color: white;
    padding: 60px 20px 30px;
    text-align: center;
    position: relative;
}

/* keep dark-mode version in case earlier rule was overridden */
body.dark-mode footer {
    background: linear-gradient(135deg, #081933  0%, #162d50  100%);
}


.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    text-align: left;
}

.footer-column h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: white;
}

.footer-column p, .footer-column a {
    margin-bottom: 15px;
    display: block;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-column a:hover {
    color: white;
    transform: translateX(5px);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.copyright {
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Dark Mode Toggle */
.dark-mode-toggle {
    cursor: pointer;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    margin-left: 20px;
}

.dark-mode-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(30deg);
}

/* Animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate {
    animation: fadeIn 0.8s ease forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }
.delay-4 { animation-delay: 0.8s; }

/* Responsive Design */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        padding: 15px;
        gap: 15px;
        width: 95%;
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero {
        padding: 80px 20px;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .btn-container {
        flex-direction: column;
        align-items: center;
    }

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

@media (max-width: 576px) {
    .hero h1 {
        font-size: 1.8rem;
    }

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

    .service-card, .team-card {
        padding: 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-column h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .social-links {
        justify-content: center;
    }
}
/* ===== Glass Morphism Hero ===== */
.page-hero {
    text-align: center;
    padding: 20px 20px;
    min-height: 30vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(59, 130, 246, 0.8) 0%, 
        rgba(37, 99, 235, 0.9) 100%);
    z-index: -2;
}

/* Glass Morphism Effect */
.page-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg, 
        rgba(255, 255, 255, 0.2) 0%, 
        rgba(255, 255, 255, 0.05) 100%);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: -1;
    border-radius: 0 0 30px 30px;
    box-shadow: 0 25px 45px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Dark Mode Adjustments */
body.dark-mode .page-hero::before {
    background: linear-gradient(135deg, 
        rgba(10, 30, 70, 0.9) 0%, 
        rgba(5, 25, 55, 0.95) 100%);
}

body.dark-mode .page-hero::after {
    background: linear-gradient(
        135deg, 
        rgba(0, 0, 0, 0.2) 0%, 
        rgba(0, 0, 0, 0.1) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Hero Content */
.page-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: 800;
    background: linear-gradient(to right, #fff, #e0e7ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

body.dark-mode .page-hero h1 {
    background: linear-gradient(to right, #fff, #c7d2fe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.page-hero p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

/* Floating Bubbles Background */
.page-hero .bubbles {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -3;
}

.page-hero .bubbles li {
    position: absolute;
    display: block;
    list-style: none;
    background: rgba(255, 255, 255, 0.2);
    animation: float 15s linear infinite;
    bottom: -100px;
    border-radius: 50%;
}

.page-hero .bubbles li:nth-child(1) {
    width: 40px;
    height: 40px;
    left: 10%;
    animation-delay: 0s;
}

.page-hero .bubbles li:nth-child(2) {
    width: 20px;
    height: 20px;
    left: 20%;
    animation-delay: 2s;
    animation-duration: 12s;
}

.page-hero .bubbles li:nth-child(3) {
    width: 50px;
    height: 50px;
    left: 35%;
    animation-delay: 4s;
}

.page-hero .bubbles li:nth-child(4) {
    width: 30px;
    height: 30px;
    left: 50%;
    animation-delay: 0s;
    animation-duration: 18s;
}

.page-hero .bubbles li:nth-child(5) {
    width: 25px;
    height: 25px;
    left: 65%;
    animation-delay: 0s;
}

.page-hero .bubbles li:nth-child(6) {
    width: 45px;
    height: 45px;
    left: 75%;
    animation-delay: 3s;
}

.page-hero .bubbles li:nth-child(7) {
    width: 35px;
    height: 35px;
    left: 90%;
    animation-delay: 7s;
    animation-duration: 20s;
}


/* About Page Styles */
.about-section {
    padding: 30px 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.about-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.about-card {
    background: var(--card-bg-light);
    border-radius: 15px;
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

body.dark-mode .about-card {
    background: var(--card-bg-dark);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.about-card:hover {
    transform: translateY(-5px);
}

.about-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: white;
    font-size: 32px;
}

.about-card h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

/* Mission & Vision grid wrapper */
.mission-vision {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 60px 0;
}

/* Card icon color in dark mode should use cadmium green gradient */
body.dark-mode .about-icon {
    background: linear-gradient(135deg, #006B3C, #0a534b);
}

/* Values cards: ensure icon and text alignment */
.values-container .value-card h3 {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* dark mode accent color for headings and icons */
body.dark-mode .value-card h3 i,
body.dark-mode .about-card h2 {
    color: #006B3C;
}

/* safety: ensure values-section headings stand out */
.values-section h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 40px;
}

body.dark-mode .values-section h2 {
    color: #006B3C;
}

.about-card p {
    line-height: 1.8;
    margin-bottom: 20px;
}

/* Values Section */
.values-section {
    padding: 60px 20px;
    background: rgba(235, 245, 255, 0.5);
    margin: 60px 0;
}

body.dark-mode .values-section {
    background: rgba(5, 25, 55, 0.5);
}

.values-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1400px;
    margin: 40px auto 0;
}

.value-card {
    background: var(--card-bg-light);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

body.dark-mode .value-card {
    background: var(--card-bg-dark);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.value-card:hover {
    transform: translateY(-5px);
}

.value-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-color);
}

.value-card h3 i {
    font-size: 1.5rem;
}

.value-card p {
    line-height: 1.8;
    color: #666;
}

body.dark-mode .value-card p {
    color: #aaa;
}

/* History/Timeline Section */
.history-section {
    padding: 60px 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.timeline {
    position: relative;
    max-width: 1000px;
    margin: 40px auto 0;
}

.timeline::before {
    content: '';
    position: absolute;
    width: 4px;
    background: var(--primary-color);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
}

.timeline-event {
    padding: 10px 40px;
    position: relative;
    width: 50%;
    box-sizing: border-box;
    margin-bottom: 30px;
}

.timeline-event:nth-child(odd) {
    left: 0;
}

.timeline-event:nth-child(even) {
    left: 50%;
}

.event-date {
    position: absolute;
    width: 100px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background: var(--primary-color);
    color: white;
    border-radius: 20px;
    font-weight: bold;
    top: 0;
}

.timeline-event:nth-child(odd) .event-date {
    right: -120px;
}

.timeline-event:nth-child(even) .event-date {
    left: -120px;
}

.event-content {
    padding: 20px;
    background: var(--card-bg-light);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

body.dark-mode .event-content {
    background: var(--card-bg-dark);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.event-content h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.event-content p {
    line-height: 1.6;
}

/* Team Page Styles */
.team-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1400px;
    margin: 40px auto 0;
}

.team-category {
    background: var(--card-bg-light);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

body.dark-mode .team-category {
    background: var(--card-bg-dark);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.team-category:hover {
    transform: translateY(-5px);
}

.team-category-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: white;
    font-size: 28px;
}

.team-category h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    text-align: center;
    color: var(--primary-color);
}

.team-category p {
    text-align: center;
    margin-bottom: 25px;
    line-height: 1.6;
}

.team-members {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.team-member {
    text-align: center;
    flex: 1;
    min-width: 120px;
}

.member-photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.5rem;
    margin: 0 auto 15px;
}

.team-member h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.team-member p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0;
}

body.dark-mode .team-member p {
    color: #aaa;
}

.join-team {
    text-align: center;
    padding: 30px 20px;
    margin-top: 60px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(37, 99, 235, 0.1));
}

.join-team h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.join-team p {
    max-width: 600px;
    margin: 0 auto 30px;
    line-height: 1.6;
}

/* Contact Page Styles */
.contact-section {
    padding: 30px 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.contact-info {
    background: var(--card-bg-light);
    border-radius: 15px;
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

body.dark-mode .contact-info {
    background: var(--card-bg-dark);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-info h2 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: var(--primary-color);
}

.info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    align-items: flex-start;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 5px;
}

.info-item h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.info-item p {
    line-height: 1.6;
    color: #666;
}

body.dark-mode .info-item p {
    color: #aaa;
}

.contact-form {
    background: var(--card-bg-light);
    border-radius: 15px;
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

body.dark-mode .contact-form {
    background: var(--card-bg-dark);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-form h2 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: var(--primary-color);
}

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

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

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: var(--transition);
    background: var(--card-bg-light);
    color: var(--text-light);
}

body.dark-mode .form-group input,
body.dark-mode .form-group textarea,
body.dark-mode .form-group select {
    border-color: rgba(255, 255, 255, 0.1);
    background: var(--card-bg-dark);
    color: var(--text-dark);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

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

.map-section {
    margin-top: 30px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

body.dark-mode .map-section {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .timeline::before {
        left: 31px;
    }
    
    .timeline-event {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }
    
    .timeline-event:nth-child(even) {
        left: 0;
    }
    
    .event-date {
        width: 60px;
        height: 60px;
        line-height: 60px;
        left: 0;
        right: auto;
        border-radius: 50%;
    }
    
    .about-card, .team-category, .contact-info, .contact-form {
        padding: 30px 20px;
    }
    
    .info-item {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 576px) {
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .join-team h2 {
        font-size: 1.6rem;
    }
    
    .contact-form h2, .contact-info h2 {
        font-size: 1.5rem;
    }
    
    .team-member {
        min-width: 100px;
    }
}


@keyframes float {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(-1000px) rotate(720deg);
        opacity: 0;
    }
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .page-hero h1 {
        font-size: 2.8rem;
    }
    .page-hero p {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .page-hero {
        padding: 100px 20px;
    }
    .page-hero h1 {
        font-size: 2.2rem;
    }
    .page-hero p {
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .page-hero h1 {
        font-size: 1.8rem;
    }
    .page-hero p {
        font-size: 1rem;
    }
}
        /* --- Careers Section --- */
.careers-section {
    padding: 60px 20px 40px 20px;
    background: linear-gradient(135deg, #f0f6ff 60%, #e3f2fd 100%);
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(37, 99, 235, 0.07), 0 1.5px 8px rgba(30, 64, 175, 0.04);
    margin: 40px auto 60px auto;
    max-width: 1200px;
    position: relative;
    overflow: hidden;
}

body.dark-mode .careers-section {
    background: linear-gradient(135deg, #0a192f 60%, #1e293b 100%);
    box-shadow: 0 8px 32px rgba(30, 64, 175, 0.13), 0 1.5px 8px rgba(37, 99, 235, 0.09);
}

.careers-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: flex-start;
    justify-content: space-between;
}

.careers-intro {
    flex: 2 1 340px;
    min-width: 280px;
    max-width: 700px;
}

.careers-intro h2 {
    font-size: 2.3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 18px;
    letter-spacing: -1px;
}

body.dark-mode .careers-intro h2 {
    color: #60a5fa;
}

.careers-intro p {
    font-size: 1.15rem;
    color: #444;
    line-height: 1.8;
    margin-bottom: 24px;
}

body.dark-mode .careers-intro p {
    color: #e0e7ef;
}

.benefits-card {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 18px rgba(37,99,235,0.07);
    padding: 28px 24px;
    min-width: 240px;
    max-width: 340px;
    flex: 1 1 240px;
    margin-top: 12px;
    margin-bottom: 12px;
    transition: box-shadow 0.3s;
}

body.dark-mode .benefits-card {
    background: #1e293b;
    box-shadow: 0 4px 18px rgba(59,130,246,0.13);
}

.benefits-card h3 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 16px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

body.dark-mode .benefits-card h3 {
    color: #60a5fa;
}

.benefits-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.benefits-card li {
    font-size: 1rem;
    color: #333;
    margin-bottom: 10px;
    padding-left: 0;
    border-left: 3px solid var(--primary-color);
    padding-left: 10px;
    background: rgba(37,99,235,0.03);
    border-radius: 4px;
}

body.dark-mode .benefits-card li {
    color: #e0e7ef;
    background: rgba(59,130,246,0.07);
    border-left: 3px solid #60a5fa;
}

.careers-section::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, #2563eb33 0%, transparent 70%);
    z-index: 0;
}

.careers-section::after {
    content: '';
    position: absolute;
    bottom: -40px;
    left: -40px;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, #3b82f633 0%, transparent 70%);
    z-index: 0;
}

.logo-text img.tagline {
  max-width: 100%;
  height: auto;
  width: 230px;       /* default desktop size */
  display: block;
  margin: 0 auto;
}

.logo-img,
.logo-text {
  margin: 10px auto;
  text-align: center;
}

/* Mobile responsiveness */
@media (max-width: 200px) {
  .logo-img img.logo,
  .logo-text img.tagline {
    width: 100px;     /* smaller logo on small screens */
  }
}

/* Job Openings Section */
.job-openings {
    margin: 60px auto;
    max-width: 1200px;
    padding: 20px;
}

.job-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    padding: 30px;
    margin-bottom: 30px;
    transition: transform 0.3s, box-shadow 0.3s;
    border-left: 4px solid var(--primary-color);
}

body.dark-mode .job-card {
    background: #1e293b;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
    border-left: 4px solid #60a5fa;
}

.job-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 32px rgba(37, 99, 235, 0.15);
}

body.dark-mode .job-card:hover {
    box-shadow: 0 8px 32px rgba(59, 130, 246, 0.25);
}

.job-card h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

body.dark-mode .job-card h3 {
    color: #60a5fa;
}

.job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}

.job-meta-item {
    display: flex;
    align-items: center;
    color: #555;
    font-size: 0.95rem;
}

body.dark-mode .job-meta-item {
    color: #cbd5e1;
}

.job-meta-item i {
    margin-right: 8px;
    color: var(--primary-color);
}

.job-description {
    margin-bottom: 20px;
    line-height: 1.7;
    color: #444;
}

body.dark-mode .job-description {
    color: #e0e7ef;
}

.job-requirements h4 {
    font-size: 1.1rem;
    margin: 20px 0 10px 0;
    color: var(--primary-color);
}

body.dark-mode .job-requirements h4 {
    color: #60a5fa;
}

.job-requirements ul {
    padding-left: 20px;
    color: #555;
    line-height: 1.7;
}

body.dark-mode .job-requirements ul {
    color: #cbd5e1;
}

.apply-btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 15px;
    transition: background-color 0.3s;
}

.apply-btn:hover {
    background-color: #1e40af;
}

/* Application Form Section */
.application-section {
    max-width: 800px;
    margin: 60px auto;
    padding: 40px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

body.dark-mode .application-section {
    background: #1e293b;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
}

.application-section h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 30px;
    text-align: center;
}

body.dark-mode .application-section h2 {
    color: #60a5fa;
}

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

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

body.dark-mode .form-group label {
    color: #e0e7ef;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

body.dark-mode .form-group input,
body.dark-mode .form-group textarea,
body.dark-mode .form-group select {
    background: #0f172a;
    border-color: #334155;
    color: #e0e7ef;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--primary-color);
    outline: none;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-row .form-group {
    flex: 1;
}

.submit-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.3s;
}

.submit-btn:hover {
    background-color: #1e40af;
}

@media (max-width: 900px) {
    .careers-container {
        flex-direction: column;
        gap: 30px;
    }
    .careers-intro, .benefits-card {
        max-width: 100%;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
}

@media (max-width: 576px) {
    .careers-section {
        padding: 30px 8px 20px 8px;
        border-radius: 12px;
    }
    .careers-intro h2 {
        font-size: 1.5rem;
    }
    .benefits-card {
        padding: 18px 10px;
        border-radius: 10px;
    }
    
    .job-card {
        padding: 20px;
    }
    
    .application-section {
        padding: 20px;
    }
}
/* --- Company Overview Section --- */
.company-overview-section {
    padding: 60px 20px 40px 20px;
    background: linear-gradient(135deg, #f0f6ff 60%, #e3f2fd 100%);
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(37, 99, 235, 0.07), 0 1.5px 8px rgba(30, 64, 175, 0.04);
    margin: 40px auto 60px auto;
    max-width: 1200px;
    position: relative;
    overflow: hidden;
}

body.dark-mode .company-overview-section {
    background: linear-gradient(135deg, #0a192f 60%, #1e293b 100%);
    box-shadow: 0 8px 32px rgba(30, 64, 175, 0.13), 0 1.5px 8px rgba(37, 99, 235, 0.09);
}

.company-overview-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: flex-start;
    justify-content: space-between;
}

.company-overview-text {
    flex: 2 1 340px;
    min-width: 280px;
    max-width: 700px;
}

.company-overview-text h2 {
    font-size: 2.3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 18px;
    letter-spacing: -1px;
}

body.dark-mode .company-overview-text h2 {
    color: #60a5fa;
}

.company-overview-text p {
    font-size: 1.15rem;
    color: #444;
    line-height: 1.8;
    margin-bottom: 24px;
}

body.dark-mode .company-overview-text p {
    color: #e0e7ef;
}

.company-credentials {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 18px rgba(37,99,235,0.07);
    padding: 28px 24px;
    min-width: 240px;
    max-width: 340px;
    flex: 1 1 240px;
    margin-top: 12px;
    margin-bottom: 12px;
    transition: box-shadow 0.3s;
}

body.dark-mode .company-credentials {
    background: #1e293b;
    box-shadow: 0 4px 18px rgba(59,130,246,0.13);
}

.company-credentials h3 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 16px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

body.dark-mode .company-credentials h3 {
    color: #60a5fa;
}

.company-credentials ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.company-credentials li {
    font-size: 1rem;
    color: #333;
    margin-bottom: 10px;
    padding-left: 0;
    border-left: 3px solid var(--primary-color);
    padding-left: 10px;
    background: rgba(37,99,235,0.03);
    border-radius: 4px;
}

body.dark-mode .company-credentials li {
    color: #e0e7ef;
    background: rgba(59,130,246,0.07);
    border-left: 3px solid #60a5fa;
}

.company-overview-section::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, #2563eb33 0%, transparent 70%);
    z-index: 0;
}

.company-overview-section::after {
    content: '';
    position: absolute;
    bottom: -40px;
    left: -40px;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, #3b82f633 0%, transparent 70%);
    z-index: 0;
}

@media (max-width: 900px) {
    .company-overview-container {
        flex-direction: column;
        gap: 30px;
    }
    .company-overview-text, .company-credentials {
        max-width: 100%;
    }
}

@media (max-width: 576px) {
    .company-overview-section {
        padding: 30px 8px 20px 8px;
        border-radius: 12px;
    }
    .company-overview-text h2 {
        font-size: 1.5rem;
    }
    .company-credentials {
        padding: 18px 10px;
        border-radius: 10px;
    }
}

.main-container {
    margin: 0px 20px;
}

/* About page specific text formatting */
.about-text {
    max-width: 800px;
    margin: 40px auto;
}
.about-text h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 20px;
}
.about-text p {
    line-height: 1.7;
    margin-bottom: 1.2rem;
    color: #333;
    font-size: 1.1rem;
}

/* keep dropdown opened when parent has open class */
nav ul li.open .dropdown-menu {
    display: flex;
}

nav ul li.open > a {
    background: rgba(255, 255, 255, 0.2);
    font-weight: 600;
}

    /* Contact Section */
    .contact-container {
      display: flex;
      max-width: 1200px;
      margin: 2rem auto;
      padding: 0 1rem;
      flex-direction: column;
    }
    

    .contact-intro {
      text-align: center;
      margin-bottom: 3rem;
    }

    .contact-intro h2 {
      color: #3b82f6;
      font-size: 2rem;
      margin-bottom: 1rem;
    }

    .contact-intro p {
      max-width: 800px;
      margin: 0 auto 2rem;
      font-size: 1.1rem;
      line-height: 1.6;
    }

    .contact-methods {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 2rem;
      margin: 2rem 0;
    }

    .contact-card {
      background: inherit;
      padding: 2rem;
      border-radius: 1.2rem;
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
      text-align: center;
      width: 280px;
      transition: transform 0.3s ease;
    }

    .contact-card:hover {
      transform: translateY(-5px);
    }

    .contact-card i {
      font-size: 2.5rem;
      margin-bottom: 1rem;
      color: #3b82f6;
    }

    .contact-card h3 {
      margin-top: 0;
      color: #111827;
    }

    .contact-card p {
      color: #6b7280;
      margin-bottom: 1.5rem;
    }

    .contact-card button {
      margin-top: 1rem;
      padding: 0.8rem 1.5rem;
      border: none;
      background: #3b82f6;
      color: white;
      border-radius: 0.6rem;
      cursor: pointer;
      transition: background 0.3s ease;
      font-weight: 500;
      font-size: 1rem;
    }

    .contact-card button:hover {
      background: #2563eb;
    }

/* Modal Styles */
    .modal {
      display: none;
      position: fixed;
      inset: 0;
      background: rgba(0,0,0,0.5);
      backdrop-filter: blur(4px);
      justify-content: center;
      align-items: center;
      z-index: 1000;
    }

    .modal.active {
      display: flex;
      animation: fadeIn 0.3s ease-in-out;
    }

    @keyframes fadeIn {
      from { opacity: 0; transform: scale(0.95); }
      to { opacity: 1; transform: scale(1); }
    }

    .modal-content {
      background: white;
      border-radius: 1rem;
      padding: 2rem;
      width: 90%;
      max-width: 400px;
      position: relative;
      box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    }

    .modal-content h3 {
      margin-top: 0;
      color: #111827;
    }

    .modal-content input, .modal-content textarea {
      width: 100%;
      padding: 0.8rem;
      margin-top: 1rem;
      border: 1px solid #ddd;
      border-radius: 0.5rem;
      font-size: 1rem;
    }

    .modal-content textarea {
      min-height: 120px;
    }

    .modal-content .btn-group {
      margin-top: 1.5rem;
      display: flex;
      justify-content: space-between;
      gap: 1rem;
    }

    .modal-content .btn-group button {
      flex: 1;
      padding: 0.8rem;
      border: none;
      border-radius: 0.5rem;
      font-weight: 500;
      cursor: pointer;
      transition: background 0.3s;
    }

    .modal-content .btn-group button:first-child {
      background: #3b82f6;
      color: white;
    }

    .modal-content .btn-group button:first-child:hover {
      background: #2563eb;
    }

    .modal-content .btn-group button:last-child {
      background: #f3f4f6;
      color: #333;
    }

    .modal-content .btn-group button:last-child:hover {
      background: #e5e7eb;
    }

    .close-modal {
      position: absolute;
      top: 1rem;
      right: 1rem;
      font-size: 1.5rem;
      cursor: pointer;
      color: #333;
      background: none;
      border: none;
    }

    .phone-numbers {
      display: flex;
      flex-direction: column;
      gap: 1rem;
      margin-top: 1.5rem;
    }

    .phone-number-card {
      background: inherit;
      padding: 1rem;
      border-radius: 0.6rem;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .phone-number-card a {
      color: #3b82f6;
      font-weight: bold;
      text-decoration: none;
    }
