:root {
    --primary-color: #004080;
    --primary-dark: #002D5A;
    --secondary-color: #60c19f;
    /* Preserved from original theme for continuity */
    --accent-color: #ff8500;
    --text-color: #333333;
    --text-lead: #555555;
    --bg-light: #f5f7fa;
    --white: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.95);
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.1);
    --radius-lg: 16px;
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--bg-light);
    overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4 {
    color: var(--primary-color);
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

p {
    font-size: 1.125rem;
    color: var(--text-lead);
    margin-bottom: 1.5rem;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Components */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.125rem;
    text-align: center;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    box-shadow: 0 4px 15px rgba(0, 64, 128, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 64, 128, 0.4);
}

.btn-secondary {
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--bg-light);
    transform: translateY(-2px);
}

/* Navigation */
.main-nav {
    padding: 1.5rem 0;
    position: absolute;
    width: 100%;
    top: 0;
    z-index: 100;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-weight: 700;
    font-size: 1.5rem;
    color: white;
    display: flex;
    align-items: center;
}

.logo-icon {
    margin-right: 10px;
    color: var(--secondary-color);
}

.logo-dot {
    color: var(--secondary-color);
}

.nav-buttons {
    display: flex;
    gap: 1rem;
}

.nav-btn-portal {
    padding: 0.8rem 1.8rem;
    font-size: 1rem;
}

.nav-btn-start {
    padding: 0.8rem 1.8rem;
    font-size: 1rem;
}


/* Sections */

/* Hero */
.hero {
    position: relative;
    padding: 8rem 0 6rem;
    background: linear-gradient(rgba(19, 23, 48, 0.85), rgba(19, 23, 48, 0.75)), url('../Graphics/City_of_Gold.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    color: white;
    /* Ensure text is white against the dark background */
}



.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hero h1 {
    color: white;
}

.hero p {
    color: rgba(255, 255, 255, 0.9);
}

.hero-tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    /* Lighter glass effect */
    color: #ff8500;
    /* Accent color for the tag */
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Features Grid */
.features {
    padding: 6rem 0;
    background: var(--white);
}

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

.card {
    background: var(--white);
    padding: 0;
    /* Removed padding for image to sit flush */
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    /* Ensure image corners respect border radius */
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.card-image {
    width: 100%;
    height: 200px;
    /* Fixed height for consistency */
    object-fit: cover;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.card-content {
    padding: 2rem;
    flex-grow: 1;
}

/* Legacy Icon Box - Removed or kept for reference if needed elsewhere */
/* .icon-box { ... } */

/* CTA Section */
.cta-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    text-align: center;
    position: relative;
}

.cta-section h2 {
    color: var(--white);
}

.cta-section p {
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto 2.5rem;
}

.cta-btn {
    background: var(--secondary-color);
    color: var(--white);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.25rem;
}

.cta-btn:hover {
    background: #4ab38e;
    transform: scale(1.05);
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: #888;
    padding: 4rem 0 2rem;
    font-size: 0.9rem;
}

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

.footer h4 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer ul {
    list-style: none;
}

.footer li {
    margin-bottom: 0.8rem;
}

.footer a {
    color: #888;
}

.footer a:hover {
    color: var(--secondary-color);
}

.copyright {
    border-top: 1px solid #333;
    padding-top: 2rem;
    text-align: center;
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .hero {
        padding: 13rem 1rem 4rem !important;
        /* Adjusted for stacking nav */
    }

    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-buttons {
        width: 100%;
        justify-content: center;
        flex-direction: column;
    }

    .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }

    .nav-btn-start {
        margin-top: 0.5rem;
    }

    .container {
        padding: 0 1.5rem;
    }
}

/* 3D Icon Effect */
.icon-box svg,
nav svg,
.footer svg,
.btn svg,
li svg {
    filter: drop-shadow(3px 3px 1px rgba(0, 0, 0, 0.3));
    transition: filter 0.3s ease, transform 0.3s ease;
}

.icon-box:hover svg {
    filter: drop-shadow(5px 5px 2px rgba(0, 0, 0, 0.4));
    transform: scale(1.05);
}

/* Utility Classes for Responsive Display */
@media (min-width: 769px) {
    .mobile-only {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .desktop-only {
        display: none !important;
    }
}
/* --- UI/UX Pro Max v2.5.0 Upgrade (v.2023.03) --- */

:root {
    --navbar-height: 80px;
    --shadow-premium: 0 20px 40px -15px rgba(0, 0, 0, 0.1);
    --transition-standard: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --glass-blur: blur(12px);
    --glass-border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Sticky Navbar with Glassmorphism */
.main-nav {
    position: fixed !important;
    top: 0;
    left: 0;
    padding: 1rem 0 !important;
    background: rgba(19, 23, 48, 0.8) !important;
    backdrop-filter: var(--glass-blur);
    border-bottom: var(--glass-border);
    transition: var(--transition-standard);
}

.main-nav.scrolled {
    padding: 0.75rem 0 !important;
    background: rgba(19, 23, 48, 0.95) !important;
    box-shadow: var(--shadow-soft);
}

/* Premium Card Interactions */
.card {
    transition: var(--transition-standard);
    border: 1px solid transparent;
}

.card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-premium);
    border-color: rgba(96, 193, 159, 0.2); /* secondary color tint */
}

/* Accessibility Focus States (P1 Checklist) */
a:focus-visible, 
button:focus-visible, 
.btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(96, 193, 159, 0.5); /* secondary-color focus ring */
}

/* Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Gradient Text for Headings */
.gradient-text {
    background: linear-gradient(135deg, var(--white), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Fix Hero Spacing for Sticky Nav */
.hero {
    padding-top: calc(var(--navbar-height) + 4rem) !important;
}

/* --- Standardization & Utility Classes --- */

.nav-logo-link {
    display: flex;
    align-items: center;
    color: white;
    text-decoration: none;
}

.logo-img {
    height: 80px;
    width: auto;
    border-radius: 5px;
    margin-right: 15px;
}

.inline-icon {
    margin-left: 10px;
}

.btn-ghost {
    border-color: transparent;
    background: transparent;
    color: white;
}

.flex-center-wrap {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.section-padding-light {
    padding: 6rem 0;
    background: var(--bg-light);
    border-top: 1px solid rgba(0,0,0,0.05);
}

.flex-between-wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
}

.flex-item-grow {
    flex: 1;
    min-width: 300px;
}

.list-clean {
    list-style: none;
    margin-top: 2rem;
}

.list-item-flex {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.icon-secondary {
    color: var(--secondary-color);
    margin-right: 15px;
}

.stat-box {
    flex: 1;
    min-width: 300px;
    background: white;
    padding: 3rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}

.stat-row {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    align-items: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
}

.stat-label {
    color: var(--text-lead);
    font-size: 0.9rem;
}

.progress-container {
    width: 100%;
    height: 6px;
    background: var(--bg-light);
    border-radius: 10px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
}

.text-small-muted {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #888;
}

.section-about {
    padding: 6rem 0;
    background: white;
}

.about-img-box {
    width: 100%;
    max-width: 400px;
    text-align: center;
}

.about-img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    margin-bottom: 1.5rem;
}

.footer-icon-box {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.footer-icon {
    margin-right: 10px;
    margin-top: 4px;
    flex-shrink: 0;
}


.text-primary { color: var(--primary-color) !important; }
.text-secondary { color: var(--secondary-color) !important; }
.bg-primary { background: var(--primary-color) !important; }
.bg-secondary { background: var(--secondary-color) !important; }
.mb-15 { margin-bottom: 1.5rem !important; }
.mt-20 { margin-top: 2rem !important; }
.mb-0 { margin-bottom: 0 !important; }
.fs-12 { font-size: 1.2rem !important; }

