/* ----------------RESET STYLES---------------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

* {
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 85px;
}

html,
body {
    min-height: 100%;
    overflow-x: hidden;
}

body {
    font-family: "Raleway", sans-serif;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    background-color: var(--bg-primary);
    color: var(--text-body);
}

img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
}

input,
button,
textarea,
select {
    font: inherit;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
    overflow-wrap: break-word;
}

#root,
#__next {
    isolation: isolate;
}

/* --------- RESET ---------- */

/* === Theme Variables === */
:root {
    /* Page Backgrounds */
    --bg-primary: #ffffff;
    --bg-secondary: #f0f6fa;
    --bg-tertiary: #eafcfc;
    --bg-partners: #ede7f6;

    /* Text Colors */
    --text-heading: #1a1a1a;
    --text-body: #555;
    --text-body-alt: #333;
    --text-muted: #666;
    --text-dark: #000;
    --text-on-dark: #e0e0e0;
    --text-on-dark-hover: #ffffff;

    /* Brand / Accent */
    --brand-blue: #00376F;
    --brand-teal: #00b4db;
    --brand-green: #3BBC8C;
    --accent-sky: #0BB8F5;

    /* Navigation */
    --nav-dropdown-bg: #01274d;
    --nav-dropdown-border: rgba(255, 255, 255, 0.1);
    --nav-dropdown-hover: rgba(0, 180, 219, 0.4);
    --hamburger-color: #ffffff;

    /* Cards & Panels */
    --card-bg: #ffffff;
    --card-shadow: rgba(0, 0, 0, 0.03);
    --card-hover-shadow: rgba(0, 0, 0, 0.08);
    --panel-bg: rgba(255, 255, 255, 0.7);
    --panel-hover-bg: rgba(255, 255, 255, 0.95);
    --panel-border: rgba(255, 255, 255, 0.6);
    --panel-list-color: #444;
    --panel-list-border: rgba(0, 0, 0, 0.05);

    /* Certificates */
    --cert-card-text: #1a1a1a;
    --cert-odd-bg: #e0f7fa;
    --cert-odd-border: #26c6da;
    --cert-even-bg: #ede7f6;
    --cert-even-border: #9575cd;
    --pdf-btn-bg: white;
    --pdf-btn-color: #00376F;
    --pdf-btn-border: rgba(0, 55, 111, 0.2);

    /* Form */
    --input-text: #333;
    --input-border: #26a69a;
    --input-focus-border: #006064;
    --label-color: #1a1a1a;
    --contact-heading: #0e5b66;
    --req-star: #ff0000;

    /* Glass Card */
    --glass-bg: rgba(255, 255, 255, 0.90);
    --glass-border: rgba(255, 255, 255, 0.95);
    --glass-shadow: rgba(0, 39, 77, 0.12);

    /* Footer */
    --footer-bg: #020b1c;
    --footer-overlay: rgba(2, 11, 28, 0.5);
    --footer-text: #ffffff;
    --footer-icon: #00b4db;
    --copyright-bg: rgba(0, 0, 0, 0.3);
    --copyright-text: #8892b0;
    --copyright-border: rgba(255, 255, 255, 0.1);

    /* Process Steps */
    --step-dot-bg: #00376F;
    --step-dot-border: #fff;
    --step-dot-shadow: white;
    --step-dot-hover: #00b4db;
    --step-num-color: rgba(59, 188, 141, 0.3);

    /* Mobile Timeline */
    --m-step-bg: #f8f9fa;
    --m-step-border: #00b4db;
    --m-number-color: #3BBC8D;
}

[data-theme="dark"] {
    /* Page Backgrounds */
    --bg-primary: #1a1a2e;
    --bg-secondary: #121929;
    --bg-tertiary: #0f3460;
    --bg-partners: #221b36;

    /* Text Colors */
    --text-heading: #f5f7fa;
    --text-body: #d8e0ea;
    --text-body-alt: #e2e8f0;
    --text-muted: #b8c4d4;
    --text-dark: #ffffff;
    --text-on-dark: #e8eef6;
    --text-on-dark-hover: #ffffff;

    /* Brand / Accent */
    --brand-blue: #1a5fa8;
    --brand-teal: #00d4ff;
    --brand-green: #4cd9a5;
    --accent-sky: #29c5f6;

    /* Navigation */
    --nav-dropdown-bg: #0d1b2a;
    --nav-dropdown-border: rgba(255, 255, 255, 0.08);
    --nav-dropdown-hover: rgba(0, 212, 255, 0.25);
    --hamburger-color: #e0e0e0;

    /* Cards & Panels */
    --card-bg: #1e2a3a;
    --card-shadow: rgba(0, 0, 0, 0.2);
    --card-hover-shadow: rgba(0, 0, 0, 0.4);
    --panel-bg: rgba(30, 42, 58, 0.8);
    --panel-hover-bg: rgba(30, 42, 58, 0.95);
    --panel-border: rgba(255, 255, 255, 0.1);
    --panel-list-color: #d0dbe6;
    --panel-list-border: rgba(255, 255, 255, 0.06);

    /* Certificates */
    --cert-card-text: #f0f4f8;
    --cert-odd-bg: #1a2f3a;
    --cert-odd-border: #26c6da;
    --cert-even-bg: #2a1f3a;
    --cert-even-border: #9575cd;
    --pdf-btn-bg: #1e2a3a;
    --pdf-btn-color: #29c5f6;
    --pdf-btn-border: rgba(41, 197, 246, 0.3);

    /* Form */
    --input-text: #e0e0e0;
    --input-border: #2a8a80;
    --input-focus-border: #00d4ff;
    --label-color: #d0d0d0;
    --contact-heading: #4cd9a5;
    --req-star: #ff6b6b;

    /* Glass Card */
    --glass-bg: rgba(20, 30, 48, 0.90);
    --glass-border: rgba(255, 255, 255, 0.16);
    --glass-shadow: rgba(0, 0, 0, 0.45);

    /* Footer */
    --footer-bg: #0a0a14;
    --footer-overlay: rgba(0, 0, 0, 0.6);
    --footer-text: #e0e0e0;
    --footer-icon: #00d4ff;
    --copyright-bg: rgba(0, 0, 0, 0.5);
    --copyright-text: #6a7490;
    --copyright-border: rgba(255, 255, 255, 0.06);

    /* Process Steps */
    --step-dot-bg: #1a5fa8;
    --step-dot-border: #1a1a2e;
    --step-dot-shadow: #1a1a2e;
    --step-dot-hover: #00d4ff;
    --step-num-color: rgba(76, 217, 165, 0.2);

    /* Mobile Timeline */
    --m-step-bg: #1e2a3a;
    --m-step-border: #00d4ff;
    --m-number-color: #4cd9a5;
}



/* --- HEADER & NAVIGATION --- */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 16px 0;
    background: rgba(0, 39, 77, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

[data-theme="dark"] .main-header {
    background: rgba(13, 27, 42, 0.88);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

/* Logo */
.logo img {
    height: 50px;
    width: auto;
}

.logo {
    text-decoration: none;
}

/* Desktop Menu */
.desktop-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: clamp(12px, 1.8vw, 28px);
    white-space: nowrap;
    align-items: center;
}

.nav-links li a {
    text-decoration: none;
    color: var(--text-on-dark);
    font-weight: 500;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s;
}

.nav-links li a:hover {
    color: var(--brand-teal);
}

.nav-btn-wrapper {
    display: flex;
    align-items: center;
}

/* Nav Button (Reuse CTA style) */
.nav-cta {
    padding: 10px 25px;
    font-size: 0.9rem;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Hamburger Icon (Hidden on Desktop) */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 30px;
    height: 3px;
    background-color: var(--hamburger-color);
    border-radius: 2px;
}

/* Mobile Dropdown (Hidden by default) */
.mobile-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(0, 39, 77, 0.94);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.25);
    flex-direction: column;
    align-items: center;
    padding: 20px 0 25px;
    animation: mobileMenuSlideDown 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

[data-theme="dark"] .mobile-dropdown {
    background: rgba(13, 27, 42, 0.94);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.45);
}

@keyframes mobileMenuSlideDown {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mobile-dropdown a {
    color: var(--text-on-dark);
    text-decoration: none;
    padding: 14px 24px;
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    width: 100%;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.2s ease;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-dropdown a:hover,
.mobile-dropdown a:active {
    background-color: rgba(0, 180, 219, 0.15);
    color: var(--brand-teal);
}

.mobile-dropdown .mobile-cta {
    background: linear-gradient(90deg, #00376F 0%, #3BBC8C 50%, #0BB8F5 100%);
    background-size: 200% auto;
    color: #ffffff;
    margin-top: 18px;
    margin-bottom: 5px;
    width: calc(100% - 60px);
    max-width: 280px;
    padding: 12px 28px;
    border-radius: 50px;
    border: none;
    font-size: 0.88rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(59, 188, 140, 0.35);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
}

.mobile-dropdown .mobile-cta:hover,
.mobile-dropdown .mobile-cta:active {
    background-position: right center;
    box-shadow: 0 6px 20px rgba(11, 184, 245, 0.5);
    color: #ffffff;
    background-color: transparent;
}

/* --- HERO SECTION --- */
#hero-section {
    position: relative;
    height: 100vh;
    width: 100%;
    background-image: url('images/hero-bg.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}


.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            rgba(0, 15, 35, 0.92) 0%,
            rgba(0, 25, 55, 0.82) 50%,
            rgba(0, 15, 35, 0.90) 100%);
    z-index: 2;
}

/* Hero Content */
#hero-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 700px;
    text-align: center;
}

.hero-content h1 {
    font-size: 3rem;
    color: #ffffff;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 25px;
    letter-spacing: -0.5px;
}

.hero-content p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 600px;
}

/* Hero Button specific tweak */
.hero-btn {
    padding: 15px 40px;
    font-size: 1.1rem;
}


/* --- Section Setup --- */
#process-section {
    position: relative;
    padding: 100px 20px 160px 20px;
    background: var(--bg-primary);
    overflow: hidden;
}

#process-section .container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    height: 700px;
}


.process-text-block {
    position: absolute;
    top: 0;
    left: 0;
    width: 35%;
    z-index: 10;
    text-align: left;
}

.sub-title {
    color: var(--brand-teal);
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.process-text-block h2 {
    font-size: 2rem;
    color: var(--text-heading);
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.process-text-block p {
    color: var(--text-body);
    line-height: 1.6;
    margin-bottom: 30px;
}


.cta-button {
    display: inline-block;
    padding: 12px 35px;
    background: linear-gradient(90deg, #00376F, #00b4db);
    color: white;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
}


.wave-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.wave-background svg {
    width: 100%;
    height: 100%;
}


.step-item {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    z-index: 5;
    width: 200px;
}


.step-txt p {
    font-size: 0.90rem;
    color: var(--text-muted);
    line-height: 1.4;
    margin-top: 5px;
    font-weight: 500;
}


.step-dot {
    width: 40px;
    height: 40px;
    background: var(--step-dot-bg);
    border: 4px solid var(--step-dot-border);
    border-radius: 50%;
    box-shadow: 0 0 0 10px var(--step-dot-shadow);
    margin-bottom: 10px;
    transition: transform 0.3s;
}

.step-item:hover .step-dot {
    transform: scale(1.3);
    background: var(--step-dot-hover);
}


.step-txt h4 {
    font-size: 1rem;
    color: var(--text-dark);
    font-weight: 700;
}

.step-num {
    display: block;
    font-size: 8rem;
    color: var(--step-num-color);
    font-weight: 800;
    line-height: 1;
    position: absolute;
    top: -50px;
    left: 60%;
    transform: translateX(-40%);
    z-index: -1;
}


.pos-1 {
    left: 1%;
    top: 94.5%
}

.pos-2 {
    left: 23%;
    top: 78%;
}


.pos-3 {
    left: 40%;
    top: 49%;
}


.pos-4 {
    left: 59%;
    top: 29%;
}


.pos-5 {
    right: 1%;
    top: 15%;
}

.step-item .step-dot {
    position: relative
}

.pos-1 .step-dot {
    top: -45px;
    left: -45px;
}

.pos-2 .step-dot {
    top: -84px;
    left: 0px;
}

.pos-3 .step-dot {
    top: -75px;
    left: 0px;
}

.pos-4 .step-dot {
    top: -75px;
    left: 0px;
}

.pos-5 .step-dot {
    top: -68px;
    left: 0px;
}


/* --- Responsive (Mobile) --- */
.mobile-only {
    display: none;
}


#values-section {
    padding: 80px 20px;
    background-color: var(--bg-secondary);
    border-top: 1px solid rgba(0, 55, 111, 0.08);
    position: relative;
    overflow: hidden;
}

[data-theme="dark"] #values-section {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

#values-section .container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* --- Header --- */
.values-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 800px;
    margin-bottom: 60px;
    padding: 0 20px;
}

.values-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-heading);
    margin-bottom: 10px;
    /* Gradient Text Effect */
    background: linear-gradient(90deg, #00376F, #00b4db);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.values-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
}

/* --- The Grid --- */
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* 3 Equal Columns */
    gap: 40px;
}

/* --- Modern Card Style --- */
.value-card {
    background: var(--card-bg);
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px var(--card-shadow);
    border: 1px solid var(--card-shadow);

    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

/* --- Icon Styling --- */
.icon-box {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: all 0.4s ease;
}

.icon-box svg {
    width: 30px;
    height: 30px;
    stroke-width: 2px;
}

/* Blue Theme */
.theme-blue .icon-box {
    background: rgba(0, 55, 111, 0.05);
    color: #00376F;
}

/* Green Theme */
.theme-green .icon-box {
    background: rgba(67, 160, 71, 0.05);
    color: #43a047;
}

/* Teal Theme */
.theme-teal .icon-box {
    background: rgba(0, 180, 219, 0.05);
    color: #00b4db;
}

/* --- Typography --- */
.value-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 15px;
}

.value-card p {
    font-size: 1rem;
    color: var(--text-body);
    line-height: 1.6;
}

/* --- HOVER ANIMATIONS (The Magic) --- */

.value-card:hover {
    transform: translateY(-10px);
    /* Lift up */
    box-shadow: 0 20px 40px var(--card-hover-shadow);
}


.value-card.theme-blue:hover .icon-box {
    background: linear-gradient(135deg, #00376F, #1565c0);
    color: #ffffff;
    transform: scale(1.1) rotate(-3deg);
    box-shadow: 0 10px 20px rgba(0, 55, 111, 0.3);
}

.value-card.theme-green:hover .icon-box {
    background: linear-gradient(135deg, #43a047, #66bb6a);
    color: #ffffff;
    transform: scale(1.1) rotate(-3deg);
    box-shadow: 0 10px 20px rgba(67, 160, 71, 0.3);
}

.value-card.theme-teal:hover .icon-box {
    background: linear-gradient(135deg, #00b4db, #26c6da);
    color: #ffffff;
    transform: scale(1.1) rotate(-3deg);
    box-shadow: 0 10px 20px rgba(0, 180, 219, 0.3);
}



#about-highlight {
    padding: 80px 20px;
    background-color: var(--bg-tertiary);
    display: flex;
    justify-content: center;
    align-items: center;
}

#about-highlight .container {
    max-width: 1000px;
    width: 100%;
}

/* --- The White Card --- */
.about-card {
    background-color: var(--card-bg);
    padding: 60px;
    border-radius: 4px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    gap: 40px;
}


.about-label {
    color: var(--brand-teal);
    font-size: 1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.about-text-top p {
    color: var(--text-body-alt);
    font-size: 1.05rem;
    line-height: 1.6;
    max-width: 800px;
}


.about-image-wrapper {
    width: 100%;
    overflow: hidden;
    border-radius: 2px;
}

.about-image-wrapper img {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
    transition: transform 0.5s ease;
}


.about-image-wrapper:hover img {
    transform: scale(1.03);
}

/* --- Typography: Bottom (The Goal) --- */
.about-text-bottom {
    text-align: center;
    padding: 0 20px;
}

.about-text-bottom p {
    color: var(--text-heading);
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.5;
    max-width: 700px;
    margin: 0 auto;
}


/* --- Services Section Base --- */
#services-section {
    position: relative;
    padding: 80px 20px;
    min-height: 100vh;
    background-color: var(--bg-tertiary);

    /* Background Image */
    background-image: url('images/contact-bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    /* Parallax effect */

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

[data-theme="dark"] #services-section {
    background-image: linear-gradient(rgba(15, 52, 96, 0.68), rgba(10, 25, 48, 0.74)), url('images/contact-bg.png');
}

#services-section .container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
}


.services-header-center {
    text-align: center;
    max-width: 800px;
    margin-bottom: 50px;
}

.main-title {
    font-size: 2.5rem;
    color: var(--brand-blue);
    font-weight: 800;
    margin-bottom: 15px;
}

[data-theme="dark"] .main-title {
    color: var(--contact-heading);
}

.subtitle {
    font-size: 1.1rem;
    color: var(--text-body);
    font-weight: 500;
}


.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: stretch;
}


.service-panel {
    background: var(--panel-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 40px 30px;

    /* Default Shadow */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--panel-border);

    /* Smooth Transition for the card lift */
    transition: all 0.3s ease;

    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}


.service-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
}

.accent-teal::before {
    background: linear-gradient(90deg, #26c6da, #00acc1);
}

.accent-green::before {
    background: linear-gradient(90deg, #66bb6a, #43a047);
}

.accent-blue::before {
    background: linear-gradient(90deg, #00376F, #1565c0);
}

/* --- Typography --- */
.service-panel h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--text-heading);
    transition: color 0.3s ease;
}


.panel-list {
    list-style: none;
    width: 100%;
    padding: 0;
}

.panel-list li {
    padding: 12px 15px;
    font-size: 0.95rem;
    color: var(--panel-list-color);
    border-bottom: 1px solid var(--panel-list-border);
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: default;
}

.panel-list li:last-child {
    border-bottom: none;
}

/* --- INTERACTIVE ANIMATIONS (Pointer / Mouse Only) --- */
@media (hover: hover) and (pointer: fine) {
    .service-panel:hover {
        transform: translateY(-4px);
        background: var(--panel-hover-bg);
        box-shadow: 0 14px 32px rgba(0, 0, 0, 0.1);
    }

    .service-panel:hover .panel-icon svg {
        transform: scale(1.05);
    }

    .service-panel.accent-teal:hover h3 {
        color: #00acc1;
    }

    .service-panel.accent-green:hover h3 {
        color: #43a047;
    }

    .service-panel.accent-blue:hover h3 {
        color: var(--accent-sky);
    }

    .accent-teal .panel-list li:hover {
        transform: translateX(4px);
        background-color: rgba(38, 198, 218, 0.1);
        color: #00838f;
    }

    .accent-green .panel-list li:hover {
        transform: translateX(4px);
        background-color: rgba(67, 160, 71, 0.1);
        color: #2e7d32;
    }

    .accent-blue .panel-list li:hover {
        transform: translateX(4px);
        background-color: rgba(11, 184, 245, 0.12);
        color: var(--accent-sky);
    }

    .value-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 20px 40px var(--card-hover-shadow);
    }

    .cert-card:hover {
        transform: translateX(6px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    }

    .partner-logo:hover {
        filter: grayscale(0%);
        opacity: 1;
        transform: scale(1.08);
    }
}

/* Dark Theme Service Panel Hover Contrast */
[data-theme="dark"] .service-panel.accent-blue:hover h3,
[data-theme="dark"] .accent-blue .panel-list li:hover {
    color: #29c5f6;
}

[data-theme="dark"] .service-panel.accent-teal:hover h3,
[data-theme="dark"] .accent-teal .panel-list li:hover {
    color: #00d4ff;
}

[data-theme="dark"] .service-panel.accent-green:hover h3,
[data-theme="dark"] .accent-green .panel-list li:hover {
    color: #4cd9a5;
}

/* --- Partners Section --- */
#partners-section {
    padding: 80px 20px;
    background-color: var(--bg-partners);
    border-top: 1px solid rgba(0, 55, 111, 0.08);
    text-align: center;
}

[data-theme="dark"] #partners-section {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

#partners-section .container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

/* --- Header Styling --- */
.partners-header {
    margin-bottom: 50px;
}

.partners-header h2 {
    font-size: 2rem;
    color: var(--text-heading);
    margin-bottom: 10px;
    font-weight: 700;
}

.partners-header p {
    font-size: 1.1rem;
    color: var(--text-body);
    max-width: 700px;
    margin: 0 auto;
}

/* --- Logos Wrapper (The Grid) --- */
.logos-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 50px;
    width: 100%;
}

/* --- The Logo Styling (Greyscale Magic) --- */
.partner-logo {
    height: 50px;
    width: auto;
    transition: all 0.3s ease;
    cursor: pointer;
}

/* --- Hover State --- */
.partner-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}


/* --- Features / Certificates Section --- */
#features-info-section {
    padding: 80px 20px;
    background-color: var(--bg-primary);
    border-top: 1px solid rgba(0, 55, 111, 0.08);
}

[data-theme="dark"] #features-info-section {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* Reusing a container max-width globally*/
#features-info-section .container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: stretch;
}

.info-text-group {
    margin-bottom: 20px;
}

/* --- Left Side Content --- */
.info-content-left {
    display: flex;
    flex-direction: column;
    /* gap: 20px; */
    justify-content: space-between;
    height: 100%;
}

.section-title {
    color: var(--accent-sky);
    font-size: 1.1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.section-desc {
    color: var(--text-body-alt);
    line-height: 1.6;
    font-size: 1rem;
    margin-bottom: 20px;
    text-align: justify;
}

.image-wrapper {
    flex-grow: 1;
    display: flex;
    align-items: flex-end;
}

.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    min-height: 250px;
}


/* --- Right Side List (Certificates) --- */
.info-list-right {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cert-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    padding: 25px 30px;
    border-radius: 6px;
    font-size: 0.95rem;
    color: var(--cert-card-text);
    font-weight: 500;
    line-height: 1.4;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: default;
}

.cert-details {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.cert-code {
    font-weight: 800;
    color: var(--text-dark);
    font-size: 1rem;
}

.cert-name {
    font-size: 0.9rem;
    color: var(--text-body);
    font-weight: 500;
}

/* The "View PDF" Button Styling */
.pdf-btn {
    display: flex;
    align-items: center;
    gap: 8px;

    background-color: var(--pdf-btn-bg);
    color: var(--pdf-btn-color);
    border: 1px solid var(--pdf-btn-border);

    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.pdf-btn svg {
    width: 16px;
    height: 16px;
}

/* Button Hover Effect */
.pdf-btn:hover {
    background-color: #00376F;
    color: white;
    border-color: #00376F;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 55, 111, 0.2);
}


.cert-card:nth-child(odd) {
    background-color: var(--cert-odd-bg);
    border-left: 5px solid var(--cert-odd-border);
}


.cert-card:nth-child(even) {
    background-color: var(--cert-even-bg);
    border-left: 5px solid var(--cert-even-border);
}


.cert-card:hover {
    transform: translateX(10px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}


/* --- Contact Section Container --- */
#contact-section {
    position: relative;
    width: 100%;
    min-height: 80vh;
    background-image: url('images/contact-bg.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-color: var(--bg-tertiary);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    overflow: hidden;
}



/* --- The Glass Card --- */
.glass-card {
    position: relative;
    z-index: 10;
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 50px;
    max-width: 1000px;
    width: 100%;
    box-shadow: 0 12px 40px 0 var(--glass-shadow);
    text-align: center;
}

/* --- Header Text --- */
.contact-header {
    margin-bottom: 40px;
}

.contact-header h2 {
    color: var(--contact-heading);
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.2;
}

.contact-header p {
    color: var(--text-body-alt);
    font-size: 1rem;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
}

/* --- Form Layout --- */
#contact-form-container {
    display: flex;
    flex-direction: column;
    gap: 50px;
}


.req-star {
    color: var(--req-star);
    font-size: 1.4rem;
    line-height: 0;
    vertical-align: middle;
    margin-left: 3px;
}


.form-row-three {
    display: flex;
    gap: 40px;
    justify-content: space-between;
}

.input-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    text-align: left;
}


.input-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--label-color);
    margin: 10px 0 8px 0;
}


.input-group input,
.input-group textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 2px solid var(--input-border);
    padding: 8px 0;
    font-size: 1rem;
    color: var(--input-text);
    outline: none;
    transition: border-color 0.3s ease;
}


.input-group input:focus,
.input-group textarea:focus {
    border-bottom-color: var(--input-focus-border);
}


.input-group textarea {
    resize: vertical;
    min-height: 35px;
    max-height: 150px;
    overflow: hidden;
}

/* --- Submit Button --- */
.form-submit {
    margin-top: 20px;
}

.cta-button {
    background: linear-gradient(90deg, #00376F 0%, #3BBC8C 50%, #0BB8F5 100%);
    color: white;
    border: none;
    padding: 12px 40px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 5px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(59, 188, 140, 0.4);
    background-size: 200% auto;
    transition: 0.5s;
}

.cta-button:hover {
    background-position: right center;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(11, 184, 245, 0.5);
}


/* --- Footer Styles --- */
#main-footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--footer-overlay);
    z-index: 0;
}

#main-footer {
    position: relative;
    background-color: var(--footer-bg);
    background-image: url('images/footer-bg.png');
    background-size: cover;
    background-position: center center;
    color: var(--footer-text);
    overflow: hidden;
}

/* Footer Container */
#main-footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

/* --- Brand & Logo --- */
.footer-brand {
    margin-bottom: 30px;
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    color: #0BB8F5;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

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

/* --- Contact Details --- */
.contact-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    /* Space between address, email, phone */
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    max-width: 350px;
}

.contact-item svg.icon {
    width: 24px;
    height: 24px;
    color: var(--footer-icon);
    flex-shrink: 0;
}

.contact-item p,
.contact-item a {
    color: var(--text-on-dark);
    text-decoration: none;
    font-size: 15px;
    line-height: 1.5;
}

.contact-item a:hover {
    color: var(--text-on-dark-hover);
    text-decoration: underline;
}

/* --- Scroll to Top Button --- */
.scroll-top-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    /* Gradient similar to the button in the image */
    background: linear-gradient(135deg, #00c6ff 0%, #0072ff 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 198, 255, 0.4);
    transition: transform 0.3s ease;
}

.scroll-top-btn:hover {
    transform: translateY(-5px);
}

.scroll-top-btn svg {
    width: 24px;
    height: 24px;
}

/* --- Copyright Bar --- */
.copyright-bar {
    background-color: var(--copyright-bg);
    text-align: center;
    padding: 15px 20px;
    font-size: 13px;
    color: var(--copyright-text);
    border-top: 1px solid var(--copyright-border);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.footer-attribution {
    font-size: 12.5px;
    color: var(--copyright-text);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    opacity: 0.92;
    letter-spacing: 0.3px;
}

.footer-attribution a {
    color: #2ecc71;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
}

.footer-attribution a:hover {
    color: #4cd9a5;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.footer-info,
.copyright-bar {
    position: relative;
    z-index: 1;
}

/* === Theme Toggle Button === */
.theme-toggle-btn {
    background: none;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #ffffff;
    padding: 0;
    margin-left: 20px;
}

[data-theme="dark"] .theme-toggle-btn {
    border-color: rgba(255, 255, 255, 0.25);
    color: #e0e0e0;
}

.theme-toggle-btn:hover {
    border-color: var(--brand-teal);
    color: var(--brand-teal);
    transform: rotate(15deg);
}

.theme-toggle-btn svg {
    width: 20px;
    height: 20px;
}

/* Show sun in dark mode, moon in light mode */
.icon-sun {
    display: none;
}

.icon-moon {
    display: block;
}

[data-theme="dark"] .icon-sun {
    display: block;
}

[data-theme="dark"] .icon-moon {
    display: none;
}