:root {
    /* Color Palette - Professional & Trustworthy */
    --primary: #0056b3;
    --primary-dark: #003d7a;
    --secondary: #6c757d;
    --accent: #00d084;
    --dark: #1a1a1a;
    --light: #f8f9fa;
    --white: #ffffff;
    --gray-100: #f1f3f5;
    --gray-200: #e9ecef;
    --gray-800: #343a40;
    
    /* Typography */
    --font-main: 'Inter', system-ui, -apple-system, sans-serif;
    --font-heading: 'Outfit', sans-serif;
    
    /* Spacing & Borders */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    --border-radius: 12px;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 15px -3px rgba(0,0,0,0.1);
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: var(--font-main);
    color: var(--dark);
    background-color: var(--white);
    line-height: 1.7; /* Increased for better readability */
    font-size: 1.125rem; /* ~18px base */
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

@media (min-width: 1024px) {
    body {
        font-size: 1.25rem; /* ~20px base on desktop */
    }
}

h1, h2, h3, h4, .brand-font {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em; /* Modern tight spacing for headings */
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: 1300px; /* Slightly wider for the larger fonts */
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
    
    :root {
        --spacing-lg: 2.5rem;
        --spacing-xl: 3.5rem;
    }
}


/* Glassmorphism effects */
.glass {
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    /* Force hardware acceleration to prevent flickering on scroll */
    transform: translateZ(0);
    will-change: transform, opacity;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

/* Status Modal Styles */
.status-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.status-overlay.active {
    opacity: 1;
    visibility: visible;
}

.status-modal {
    background: var(--white);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius);
    max-width: 450px;
    width: 90%;
    text-align: center;
    box-shadow: 0 30px 60px rgba(0,0,0,0.2);
    transform: scale(0.9) translateY(20px);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.status-overlay.active .status-modal {
    transform: scale(1) translateY(0);
}

.status-icon {
    width: 80px;
    height: 80px;
    background: var(--gray-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-md);
    font-size: 2.5rem;
}

.status-icon.success { background: rgba(0, 208, 132, 0.1); color: var(--accent); }
.status-icon.error { background: rgba(220, 53, 69, 0.1); color: #dc3545; }

.status-title {
    font-size: 1.8rem;
    font-family: 'Outfit', sans-serif;
    color: var(--dark);
    margin-bottom: var(--spacing-xs);
}

.status-message {
    color: var(--secondary);
    line-height: 1.6;
    margin-bottom: var(--spacing-md);
}

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2rem; /* Larger buttons for larger fonts */
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--white);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-up {
    opacity: 0; /* Hidden by default */
}

.animate-fade-up.is-visible {
    animation: fadeInUp 0.8s ease-out forwards;
}

/* Responsive Typography & Layout Enhancement */
/* Floating Navigation Button */
.btn-floating {
    position: fixed;
    top: 5.5rem; /* Pushed down slightly to clear the header */
    left: 1.5rem;
    z-index: 2000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    color: var(--primary);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    border: 1px solid rgba(0, 86, 179, 0.2);
    transition: var(--transition);
}

.btn-floating:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
    background: var(--white);
    color: var(--primary-dark);
}

@media (max-width: 768px) {
    .btn-floating {
        top: auto;
        bottom: 1.5rem;
        left: 50%;
        transform: translateX(-50%);
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
    }
    .btn-floating:hover {
        transform: translateX(-50%) translateY(-3px);
    }
}

/* WhatsApp Floating Button */
.btn-whatsapp {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 2000;
    background-color: #25d366;
    color: white;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: var(--transition);
}

.btn-whatsapp:hover {
    transform: scale(1.1) rotate(5deg);
    background-color: #128c7e;
    color: white;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

@media (max-width: 768px) {
    .btn-whatsapp {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 55px;
        height: 55px;
        font-size: 1.7rem;
    }
}

.hover-up:hover {
    transform: translateY(-8px);
}

/* Navigation Links - Desktop and Global */
.nav-links {
    display: flex;
    gap: var(--spacing-md);
    align-items: center;
}

/* Mobile Menu Specifics */
@media (max-width: 992px) {
    /* Hide desktop nav */
    .nav-links {
        display: none !important;
    }
    
    /* Mobile Menu Active State */
    header.menu-open .nav-links {
        display: flex !important;
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: var(--spacing-md);
        gap: 1.5rem;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        border-top: 1px solid var(--gray-200);
        z-index: 999;
        text-align: center;
    }

    .menu-toggle {
        display: block !important;
        cursor: pointer;
        padding: 0.5rem;
    }

    .hamburger {
        width: 30px;
        height: 20px;
        position: relative;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .hamburger span {
        display: block;
        height: 3px;
        width: 100%;
        background-color: var(--primary);
        border-radius: 3px;
        transition: var(--transition);
        transform-origin: left center;
    }

    header.menu-open .hamburger span:nth-child(1) {
        transform: rotate(45deg);
    }

    header.menu-open .hamburger span:nth-child(2) {
        width: 0%;
        opacity: 0;
    }

    header.menu-open .hamburger span:nth-child(3) {
        transform: rotate(-45deg);
    }
}

/* Mobile Friendly Grid Adjustments */
@media (max-width: 600px) {
    .glass {
        padding: 1.5rem !important;
    }
    
    h1 {
        font-size: 2.2rem !important;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
}

