:root {
    --primary-blue: #002B4E;
    --secondary-blue: #0059A3;
    --gold: #D4AF37;
    --gold-light: #F3E5AB;
    --text-dark: #1F2937;
    --text-light: #F9FAFB;
    --text-muted: #9CA3AF;
    --white: #FFFFFF;

    --font-main: 'Inter', sans-serif;

    --transition: all 0.3s ease;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Typography & Utilities */
.text-gold {
    color: var(--gold);
}

.text-gradient {
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-muted {
    color: var(--text-muted);
    font-size: 1.125rem;
}

.text-center {
    text-align: center;
}

.mt-4 {
    margin-top: 4rem;
}

.mb-2 {
    margin-bottom: 1rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    font-weight: 600;
    font-size: 0.875rem;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
    border-radius: 0.75rem;
}

.btn-primary {
    background-color: #25D366;
    color: white;
}

.btn-primary:hover {
    background-color: #20BD5A;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.btn-whatsapp {
    background-color: #25D366;
    color: white;
    box-shadow: 0 4px 14px 0 rgba(37, 211, 102, 0.39);
}

.btn-whatsapp:hover {
    background-color: #20BD5A;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px 0 rgba(37, 211, 102, 0.23);
}

.btn-outline {
    border: 2px solid var(--white);
    color: var(--white);
    background: transparent;
}

.btn-outline:hover,
.btn-outline-light:hover {
    background: var(--white);
    color: var(--secondary-blue);
}

.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
}

/* Animations */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-up {
    animation: fadeUp 0.8s ease-out forwards;
    opacity: 0;
}

.delay-1 {
    animation-delay: 0.1s;
}

.delay-2 {
    animation-delay: 0.2s;
}

.delay-3 {
    animation-delay: 0.3s;
}

.delay-4 {
    animation-delay: 0.4s;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.5);
        opacity: 0.7;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 1rem 0;
    transition: var(--transition);
}

header.scrolled {
    background: rgba(0, 43, 78, 0.95);
    backdrop-filter: blur(10px);
    padding: 0.75rem 0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

.desktop-nav {
    display: none;
}

.desktop-nav a {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
}

.desktop-nav a:hover {
    color: var(--gold);
}

.header-actions {
    display: none;
}

.mobile-menu-btn {
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: var(--primary-blue);
    z-index: 200;
    display: flex;
    flex-direction: column;
    padding: 2rem;
    transition: var(--transition);
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
}

.close-menu-btn {
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}

.mobile-menu nav {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mobile-menu nav a {
    color: var(--white);
    font-size: 1.25rem;
    font-weight: 600;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at center, #004e8f 0%, #002b4e 100%);
    overflow: hidden;
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.hero-bg .orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 1;
    opacity: 0.4;
    animation: float 6s ease-in-out infinite;
}

.orb-1 {
    width: 300px;
    height: 300px;
    background: var(--gold);
    top: -50px;
    left: -50px;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: var(--secondary-blue);
    bottom: -100px;
    right: -100px;
    animation-delay: 2s;
}

.orb-3 {
    width: 200px;
    height: 200px;
    background: var(--gold-light);
    top: 40%;
    left: 60%;
    opacity: 0.2;
    animation-delay: 4s;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 900px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 999px;
    color: var(--white);
    font-size: 0.875rem;
    margin-bottom: 2rem;
}

.dot-pulse {
    width: 8px;
    height: 8px;
    background-color: var(--gold);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.hero h1 {
    font-size: 2.5rem;
    line-height: 1.2;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.hero-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 4rem;
}

.stat-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: var(--transition);
}

.stat-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.stat-card strong {
    font-size: 2rem;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.stat-card span {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
}

.scroll-down {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.5);
    font-size: 2rem;
    animation: float 2s infinite;
}

/* Sections General */
.section {
    padding: 6rem 0;
}

.bg-light {
    background-color: #F8F9FA;
}

.bg-dark {
    background: radial-gradient(circle at center, #004e8f 0%, #002b4e 100%);
    color: var(--white);
}

.section-header {
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.eyebrow {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    display: block;
    margin-bottom: 1rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.icon-box {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.bg-gradient-gold {
    background: linear-gradient(135deg, var(--gold), #B8860B);
}

.bg-gradient-blue {
    background: linear-gradient(135deg, var(--secondary-blue), var(--primary-blue));
}

.card-badge {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    margin-bottom: 1rem;
    display: inline-block;
}

.bg-gold-light {
    background-color: rgba(212, 175, 55, 0.1);
    color: #997B20;
}

.bg-blue-light {
    background-color: rgba(0, 89, 163, 0.1);
    color: var(--secondary-blue);
}

.service-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
    transition: var(--transition);
}

.service-card:hover h3 {
    color: var(--gold);
}

.service-card p {
    color: #4B5563;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
    line-height: 1.5;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--gold);
    transition: var(--transition);
}

.service-link i {
    transition: var(--transition);
}

.service-card:hover .service-link {
    gap: 0.75rem;
}

/* How It Works */
.steps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    position: relative;
    padding-top: 2rem;
    /* Vertical line for mobile */
}

/* Mobile Vertical Line */
.steps-grid::before {
    content: '';
    position: absolute;
    top: 2rem;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: linear-gradient(to bottom, var(--gold), var(--gold-light));
    transform: translateX(-50%);
    z-index: 0;
}

.step-item {
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-icon-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 1.5rem;
    background: #F8F9FA;
    /* Matches section bg to hide line behind icon */
    padding: 10px;
    border-radius: 50%;
}

.step-number {
    position: absolute;
    top: -0.5rem;
    right: -0.5rem;
    width: 2rem;
    height: 2rem;
    background: var(--secondary-blue);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
    border: 2px solid var(--white);
}

.step-icon {
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), #B8860B);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--white);
    box-shadow: 0 10px 15px -3px rgba(212, 175, 55, 0.3);
}

.step-item h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.step-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* About Section */
.grid-about {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.about-feature-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 1rem;
    transition: var(--transition);
}

.about-feature-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.about-feature-card i {
    font-size: 1.5rem;
    color: var(--white);
    background: linear-gradient(135deg, var(--gold), #B8860B);
    padding: 0.75rem;
    border-radius: 0.75rem;
    margin-bottom: 1rem;
    display: inline-block;
}

/* Footer */
footer {
    background: #002340;
    color: var(--white);
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: grid;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col h3 {
    color: var(--gold);
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

.footer-links a,
.contact-list a,
.contact-list div {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1rem;
    transition: var(--transition);
}

.footer-links a:hover,
.contact-list a:hover {
    color: var(--gold);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
}

.floating-whatsapp {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: #25D366;
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 999px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    z-index: 90;
    font-weight: 600;
    transition: var(--transition);
    animation: fadeUp 1s ease-out 1s backwards;
}

.floating-whatsapp:hover {
    transform: translateY(-5px) scale(1.05);
    background: #20BD5A;
}


/* =========================================
   MEDIA QUERIES (At the end for correct override)
   ========================================= */

@media (min-width: 640px) {
    .about-features {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 768px) {
    .desktop-nav {
        display: flex;
        gap: 2rem;
    }

    .header-actions {
        display: flex;
        gap: 1rem;
    }

    .mobile-menu-btn {
        display: none;
    }

    .hero h1 {
        font-size: 3.5rem;
    }

    .hero-buttons {
        flex-direction: row;
        justify-content: center;
    }

    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

@media (min-width: 1024px) {
    .hero h1 {
        font-size: 4.5rem;
    }

    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-content {
        grid-template-columns: repeat(3, 1fr);
    }

    .grid-about {
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }

    .section-header h2 {
        font-size: 3rem;
    }

    /* Steps Grid Horizontal Fix */
    .steps-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }

    /* Remove vertical line */
    .steps-grid::before {
        display: none;
    }

    /* Add Horizontal Line */
    .steps-grid .step-item::after {
        content: '';
        position: absolute;
        top: 2.5rem;
        right: -50%;
        width: 100%;
        height: 2px;
        background: linear-gradient(to right, var(--gold), var(--gold-light));
        z-index: 0;
    }

    .steps-grid .step-item:last-child::after {
        display: none;
    }
}