: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: 8rem 0 4rem;
        /* 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;
    }
}