/*======================================
   Variables & Reset
======================================*/
:root {
    --primary: #2563eb; /* Professional blue to match the logo */
    --secondary: #3b82f6; /* Lighter accent blue */
    --accent: #ef4444; /* Red accent */
    --dark: #1e293b; 
    --light: #f8fafc;
    --white: #ffffff;
    --gray: #334155; /* Darkened from #64748b for higher contrast */
    --border: rgba(0, 0, 0, 0.1);
    --glass-bg: rgba(255, 255, 255, 0.95);
    --new-theme: linear-gradient(135deg, #F3FFF7, #FFE08A);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --focus-color: #2563eb;
    --focus-offset: 2px;
    --delay: 0s;
}

/* Accessibility: Reduce motion support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

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

/* Skip to Main Content Link - Accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary);
    color: white;
    padding: 8px 16px;
    border-radius: 0 0 4px 0;
    z-index: 2000;
    font-weight: 600;
    text-decoration: none;
}

.skip-link:focus {
    top: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 125%; /* Globally increased for bigger text content and better readability, respects user scaling */
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--dark);
    background-color: var(--light);
    line-height: 1.6;
    overflow-x: hidden;
}

ul {
    list-style: none;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

.section {
    padding: 100px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary);
}

.highlight {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--secondary);
}

.bg-light {
    background-color: #f1f5f9;
}

/*======================================
   Buttons
======================================*/
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    min-height: 44px;
    min-width: 44px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn:focus,
.btn:focus-visible {
    outline: 2px solid var(--focus-color);
    outline-offset: var(--focus-offset);
}

.btn-primary {
    background: linear-gradient(135deg, #93C572, #7CA166); /* Pista Green Gradient */
    color: var(--white);
    box-shadow: 0 4px 15px rgba(147, 197, 114, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(147, 197, 114, 0.6);
}

.btn-primary:focus,
.btn-primary:focus-visible {
    outline: 2px solid var(--focus-color);
    outline-offset: var(--focus-offset);
}
}

.btn-outline {
    background: transparent;
    border-color: var(--dark);
    color: var(--dark);
}

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

.btn-outline:focus,
.btn-outline:focus-visible {
    outline: 2px solid var(--focus-color);
    outline-offset: var(--focus-offset);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-glow {
    background: var(--white);
    color: var(--primary);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

.btn-glow:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.8);
}

.btn-glow:focus,
.btn-glow:focus-visible {
    outline: 2px solid var(--focus-color);
    outline-offset: var(--focus-offset);
}

.btn-block {
    width: 100%;
    padding: 1rem;
}

/*======================================
   Navigation Bar
======================================*/

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;

    padding: 18px 0;

    background: transparent;
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);

    transition: all 0.35s ease;
}

/* Navbar when page is scrolled */
.navbar.scrolled{
    background: rgba(255,255,255,0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom:1px solid rgba(255,255,255,0.3);
    box-shadow:0 8px 32px rgba(0,0,0,0.08);
}

/* container alignment */
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1600px; /* Even wider to push it to screen corners */
    margin: 0 auto;
    padding: 0 50px; /* Proper corner spacing */
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 60px;
    transition: all 0.35s ease;
}

/* logo shrink on scroll */
.navbar.scrolled .logo-img {
    height: 50px;
}

/* NAV LINKS */

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.8rem;
}

/* default links (on hero) */
.navbar .nav-links a {
    color: white;
    font-weight: 600;
    font-size: 1.02rem; /* Adjusted to maintain previous approved size (was 1.15rem @ 16px) */
    position: relative;
    padding: 10px 8px 6px 8px;
    min-height: 44px;
    display: flex;
    align-items: center;

    text-shadow: 0 2px 10px rgba(0,0,0,0.5);

    transition: all 0.3s ease;
}

.navbar .nav-links a:focus,
.navbar .nav-links a:focus-visible {
    outline: 2px solid white;
    outline-offset: 2px;
    border-radius: 4px;
}

/* when navbar becomes white */
.navbar.scrolled .nav-links a {
    color: #1e3a8a;
    text-shadow: none;
}

/* hover underline animation */

.navbar .nav-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;

    width: 0%;
    height: 3px;

    background: #dc2626;
    border-radius: 2px;

    transition: width 0.3s ease;
}

.navbar .nav-links a:hover::after,
.navbar .nav-links a.active::after {
    width: 100%;
}

.navbar .nav-links a:hover {
    color: #dc2626;
}

/* DROPDOWN STYLING */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    background: none;
    border: none;
    padding: 10px 8px 6px 8px;
    min-height: 44px;
    cursor: pointer;
    font-size: inherit;
    color: inherit;
    font-weight: inherit;
    font-family: inherit;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dropdown-toggle:focus,
.dropdown-toggle:focus-visible {
    outline: 2px solid white;
    outline-offset: 2px;
    border-radius: 4px;
}

.dropdown-toggle i {
    font-size: 0.8rem;
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-toggle i,
.dropdown-toggle[aria-expanded="true"] i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: var(--white);
    border-radius: 12px;
    padding: 1rem 0;
    box-shadow: 0 10px 40px rgba(0,0,0,0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
    z-index: 100;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    display: block;
    width: 100%;
}

.dropdown-menu a {
    display: block !important;
    padding: 10px 24px !important;
    min-height: 44px;
    display: flex;
    align-items: center;
    color: var(--dark) !important;
    font-size: 0.95rem !important;
    font-weight: 500 !important;
    text-shadow: none !important;
    transition: all 0.2s ease !important;
}

/* remove the default underline effect from dropdown items */
.dropdown-menu a::after {
    display: none !important;
}

.dropdown-menu a:hover {
    background: rgba(37, 99, 235, 0.05); /* very subtle highlight */
    color: var(--primary) !important;
    padding-left: 30px !important;
}

.dropdown-menu a:focus,
.dropdown-menu a:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: -2px;
    background: rgba(37, 99, 235, 0.1);
}

/* Mobile Dropdown adjustment */
@media (max-width: 768px) {
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: transparent;
        padding: 0;
        margin-top: 10px;
        min-width: 100%;
        text-align: center;
        display: none; /* starts hidden on mobile */
    }

    .dropdown.active .dropdown-menu {
        display: block;
    }

    .dropdown-menu a {
        color: rgba(255,255,255,0.8) !important; /* more readable on black mobile menu */
    }
}

/* mobile icon */

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.6rem;
    color: white;
    cursor: pointer;
    min-height: 44px;
    min-width: 44px;
    padding: 8px;
    border-radius: 4px;
}

.mobile-menu-btn:focus,
.mobile-menu-btn:focus-visible {
    outline: 2px solid white;
    outline-offset: 2px;
}

.navbar.scrolled .mobile-menu-btn {
    color: #1e3a8a;
}


/*======================================
   Hero Section
======================================*/
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    background: var(--dark); /* Fallback */
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    z-index: 0;
}

.carousel-slide.active {
    opacity: 1;
    animation: zoomAmbient 20s infinite alternate linear;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.55); /* Darkened slightly for better text contrast */
    z-index: 1;
}

.hero-content {
    color: var(--white);
    max-width: 1000px;
    padding: 2rem 0;
    position: relative;
    z-index: 2;
    text-align: center; 
    margin: 0 auto;
}

.initiative-badge {
    display: none;
}

.hero-title .highlight {
    font-family: 'Big Shoulders Stencil Display', sans-serif;
    font-weight: 750; 
    text-transform: uppercase;
    letter-spacing: 0.15em;
    line-height: 1.0;
    font-size: 1em;
    color: #93C572; /* Pista Green */
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    display: block; 
    margin-top: 15px;
}

.hero-title {
    font-weight: 600; /* Made slightly bolder */
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.7); /* Stronger shadow */
}

.hero-description {
    font-size: 1.25rem; /* Adjusted (was 1.4rem @ 16px) */
    color: var(--white);
    margin-bottom: 2.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.8); /* Extra deep shadow for legibility without glass card */
    font-weight: 400; 
    line-height: 1.5;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center; /* Centering buttons */
    position: relative;
    z-index: 2;
    margin-top: 2rem;
}

.hero-buttons .btn-outline {
    border-color: var(--white);
    color: var(--white);
    background: rgba(0, 0, 0, 0.3); /* Slight dark background to stand out against bright images */
}

.hero-buttons .btn-outline:hover {
    background: var(--white);
    color: var(--dark);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.mouse {
    width: 30px;
    height: 45px;
    border: 2px solid var(--dark);
    border-radius: 20px;
    display: flex;
    justify-content: center;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--dark);
    border-radius: 2px;
    margin-top: 8px;
    animation: scrollWheel 1.5s infinite;
}

@keyframes scrollWheel {
    0% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(15px); opacity: 0; }
}

@keyframes zoomAmbient {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

/*======================================
   About Section
======================================*/
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image {
    position: relative;
}

.image-wrapper {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
}

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

.floating-card {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--white);
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    gap: 1rem;
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0); }
}

.icon-box {
    width: 50px;
    height: 50px;
    background: rgba(59, 130, 246, 0.1);
    color: var(--secondary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
}

.floating-card h4 {
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 0.2rem;
}

.floating-card p {
    font-size: 0.85rem;
    color: var(--gray);
    margin: 0;
}

.about-content > p {
    font-size: 1.1rem;
    color: var(--gray);
    margin-bottom: 2rem;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.feature-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.feature-item i {
    font-size: 1.5rem;
    color: var(--secondary);
    margin-top: 3px;
}

.feature-item h4 {
    color: var(--dark);
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
}

.feature-item p {
    color: var(--gray);
    font-size: 0.95rem;
}

.consultant-profile {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8fafc;
    border-left: 4px solid var(--accent);
    border-radius: 0 8px 8px 0;
}

.consultant-profile .avatar {
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
}

.consultant-profile .info {
    display: flex;
    flex-direction: column;
}

.consultant-profile strong {
    font-size: 1.1rem;
    color: var(--primary);
}

.consultant-profile span {
    font-size: 0.85rem;
    color: var(--gray);
}

/*======================================
   Services Section
======================================*/
.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 4rem;
}

.section-header p {
    color: var(--gray);
    font-size: 1.1rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(250px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: var(--new-theme);
    z-index: -1;
    transition: var(--transition);
    border-radius: 20px;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.service-card:hover::before {
    height: 100%;
}

.service-card:hover h3,
.service-card:hover p,
.service-card:hover .service-link i,
.service-card:hover .service-link {
    color: var(--dark);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--new-theme);
    color: var(--dark);
    border-radius: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: rgba(0, 0, 0, 0.05);
    color: var(--dark);
}

.service-card h3 {
    font-size: 1.4rem;
    color: var(--dark);
    margin-bottom: 1rem;
    transition: var(--transition);
}

.service-card p {
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--secondary);
}

.service-card:hover .service-link {
    color: var(--dark);
}

.service-card{
transition:transform .4s ease,
box-shadow .4s ease;
}

.service-card:hover{
transform:translateY(-12px) scale(1.02);
box-shadow:0 20px 45px rgba(0,0,0,0.15);
}

.service-card::after{
content:'';
position:absolute;
inset:0;
background:radial-gradient(circle at top,
rgba(255,255,255,0.35),
transparent 60%);
opacity:0;
transition:.4s;
}

.service-card:hover::after{
opacity:1;
}

/*======================================
   CTA Banner
======================================*/
.cta-banner {
    position: relative;
    background: var(--new-theme);
    padding: 5rem 0;
    text-align: center;
    color: var(--dark);
    overflow: hidden;
}

.cta-container {
    position: relative;
    z-index: 2;
}

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

.cta-banner p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.glass-circles .circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    z-index: 1;
}

.circle-1 {
    width: 300px;
    height: 300px;
    top: -100px;
    left: -50px;
}

.circle-2 {
    width: 400px;
    height: 400px;
    bottom: -150px;
    right: -100px;
}

/*======================================
   Contact Section
======================================*/
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-desc {
    color: var(--gray);
    margin-bottom: 2.5rem;
    font-size: 1.1rem;
}

.info-items {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-item {
    display: flex;
    gap: 1.2rem;
    align-items: flex-start;
}

.info-icon {
    width: 50px;
    height: 50px;
    background: var(--light);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    flex-shrink: 0;
    transition: var(--transition);
}

.info-item:hover .info-icon {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.1);
}

.info-content h4 {
    color: var(--dark);
    margin-bottom: 0.3rem;
    font-size: 1.1rem;
}

.info-content p, .info-content a {
    color: var(--gray);
    font-size: 0.95rem;
    margin: 0;
}

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

.contact-form-wrapper {
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.contact-form h3 {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.2rem;
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--dark);
    font-size: 0.95rem;
}

.form-group .required {
    color: #dc2626;
    margin-left: 4px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.2rem;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    background: #f8fafc;
    min-height: 44px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group input:focus-visible,
.form-group select:focus-visible,
.form-group textarea:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: var(--focus-offset);
}

.form-message {
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    display: none;
    font-size: 0.95rem;
    font-weight: 500;
}

.form-message.error {
    display: block;
    background: #ffebee;
    color: #c62828;
    border: 1px solid #ffcdd2;
}

.form-message.success {
    display: block;
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #c8e6c9;
}

/*======================================
   Footer
======================================*/
.footer {
    background: var(--dark);
    color: var(--white);
    padding-top: 5rem;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-logo {
    margin-bottom: 1rem;
    display: inline-block;
}

.footer-brand p {
    color: rgba(255,255,255,0.7);
    margin: 1.5rem 0;
    font-size: 0.95rem;
    max-width: 400px;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--white);
}

.social-links a:hover {
    background: var(--secondary);
    transform: translateY(-3px);
}

.footer-links h3 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-links h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--accent);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-bottom {
    background: rgba(0,0,0,0.2);
    padding: 1.5rem 0;
    text-align: center;
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
}

/*======================================
   Animations (Reveal)
======================================*/
.reveal-up {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
    transition-delay: var(--delay, 0s);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease-out;
    transition-delay: var(--delay, 0s);
}

.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease-out;
    transition-delay: var(--delay, 0s);
}

.fade-in-up {
    animation: fadeInUp 1s ease-out forwards;
}

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

.active.reveal-up,
.active.reveal-left,
.active.reveal-right {
    opacity: 1;
    transform: translate(0);
}

/*======================================
   Responsive Design
======================================*/

/* Small Mobile Devices (320px and up) */
@media (max-width: 480px) {
    html {
        font-size: 100%;
    }

    .container {
        padding: 0 16px;
    }

    .section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 1.75rem;
    }

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

    .btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-buttons .btn {
        width: 100%;
    }
}

/* Tablet and Medium Devices (481px to 768px) */
@media (min-width: 481px) and (max-width: 768px) {
    .container {
        padding: 0 24px;
    }

    .section {
        padding: 80px 0;
    }

    .section-title {
        font-size: 2rem;
    }
}

/* Large Tablet and Small Desktop (769px to 992px) */
@media (max-width: 992px) {
    .about-container,.contact-grid,.footer-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .floating-card {
        right: 0;
        bottom: -20px;
        width: 90%;
        left: 5%;
    }
}

@media (max-width:768px){

/* MOBILE NAVBAR */

.nav-container{
    padding:0 18px;
}

.logo-img{
    height:38px;
}

.mobile-menu-btn{
    display:block;
    z-index:1001;
    font-size:1.4rem;
}

/* MOBILE SIDEBAR */

.nav-links{
    position:fixed;
    top:0;
    right:-100%;
    width:65%;
    height:100vh;
    background:black;

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

    gap:28px;

    transition:var(--transition);

    box-shadow:-10px 0 30px rgba(0,0,0,0.1);
}

.nav-links.active{
    right:0;
}

.nav-links a{
    color:#1e3a8a;
    font-size:1.1rem;
    font-weight:600;
}

.navbar{
padding:15px 20px;
}

/* HIDE WHATSAPP BUTTON */

.nav-cta{
    display:none;
}

/* HERO SECTION */

.hero{
padding:120px 20px 60px;
text-align:center;
}

.hero h1{
font-size:32px;
}

/* HERO CONTENT */

.hero-content{
    padding:0 18px;
}

/* HERO TITLE */

.hero-title{
    font-size:clamp(1.7rem,5vw,2.2rem);
    line-height:1.25;
}

/* HERO DESCRIPTION */

.hero-description{
    font-size:0.95rem;
    margin-bottom:20px;
}

/* HERO BUTTONS */

.hero-buttons{
    flex-direction:column;
    gap:12px;
    align-items:center;
}

/* BUTTON SIZE */

.hero-buttons .btn{
    font-size:0.9rem;
    padding:10px 20px;
    width:90%;
    max-width:280px;
}

/* SCROLL INDICATOR */

.scroll-indicator{
    transform:scale(0.7);
    bottom:20px;
}

}


.cta-banner{
background:linear-gradient(
135deg,
#f3fff7,
#ffe08a,
#e7f9ff
);

background-size:300% 300%;

animation:gradientMove 10s ease infinite;
}

@keyframes gradientMove{

0%{background-position:0% 50%;}
50%{background-position:100% 50%;}
100%{background-position:0% 50%;}

}

.floating-card{
animation:float 5s ease-in-out infinite;
}

@keyframes float{

0%{transform:translateY(0);}
50%{transform:translateY(-12px);}
100%{transform:translateY(0);}

}

.hero-title{
font-size:clamp(2.2rem,5vw,3.8rem);
line-height:1.2;
}

.hero-description{
font-size:clamp(1rem,2vw,1.3rem);
}

.mobile-overlay{

position:fixed;
inset:0;

background:rgba(0,0,0,.45);

opacity:0;
visibility:hidden;

transition:.3s;
z-index:999;

}

.mobile-overlay.active{

opacity:1;
visibility:visible;

}

/*======================================
   Utility Classes
======================================*/

/* Font sizes */
.text-sm { font-size: 0.95rem; }
.text-base { font-size: 1.05rem; }
.text-lg { font-size: 1.1rem; }
.text-xl { font-size: 1.15rem; }
.text-2xl { font-size: 1.2rem; }
.text-3xl { font-size: 1.5rem; }
.text-5xl { font-size: 3rem; }

/* Colors */
.text-primary { color: var(--primary); }
.text-secondary { color: var(--secondary); }
.text-gray { color: var(--gray); }
.icon-secondary { color: var(--secondary); }

/* Spacing */
.mt-1 { margin-top: 1rem; }
.mb-1\.5 { margin-bottom: 1.5rem; }
.mb-2 { margin-bottom: 2rem; }
.p-1 { padding: 1.5rem; }
.p-2 { padding: 2rem; }
.p-3 { padding: 3rem; }
.px-1\.5 { padding: 0 1.5rem; }

/* Layout */
.max-w-800 { max-width: 800px; }
.mx-auto { margin: 0 auto; }
.text-left { text-align: left; }
.text-center { text-align: center; }
.gap-1\.5 { gap: 1.5rem; }
.gap-2 { gap: 2rem; }

/* Line height */
.leading-8 { line-height: 1.8; }

/* Grid */
.grid-auto-fit { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.grid-2col { grid-template-columns: 1fr 1fr; }
.grid-1col { grid-template-columns: 1fr; }

/* Transitions */
.delay-0 { transition-delay: 0s; }
.delay-0\.1 { transition-delay: 0.1s; }
.delay-0\.2 { transition-delay: 0.2s; }
.delay-0\.3 { transition-delay: 0.3s; }
.delay-0\.4 { transition-delay: 0.4s; }

/* Box shadow and border */
.rounded-2xl { border-radius: 20px; }
.rounded-lg { border-radius: 15px; }
.shadow-lg { box-shadow: 0 15px 40px rgba(0,0,0, 0.1); }
.border-top-primary { border-top: 4px solid var(--primary); }
.border-top-secondary { border-top: 4px solid var(--secondary); }
.border-top-accent { border-top: 4px solid var(--accent); }
.border-top-green { border-top: 4px solid #10b981; }

/* Background */
.bg-light-gray { background: #f8fafc; }

/* Additional margins */
.mt-0\.5 { margin-top: 0.5rem; }
.mt-1\.5 { margin-top: 1.5rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }

/* Additional padding */
.px-2 { padding: 0 2rem; }
.p-1\.5 { padding: 1.5rem; }

/* Additional font sizes */
.text-0\.9 { font-size: 0.9rem; }

/* Grid */
.grid-auto-fit { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.grid-2col { grid-template-columns: 1fr 1fr; }
.grid-3col { grid-template-columns: repeat(3, 1fr); }
.grid-1col { grid-template-columns: 1fr; }
.grid-4col { grid-template-columns: repeat(4, 1fr); }

/* Emphasis */
.strong { font-weight: bold; }
.italic { font-style: italic; }
.em { font-style: italic; }

/* Column layout */
.col-2 { column-count: 2; }
.col-3 { column-count: 3; }
.gap-1 { column-gap: 1rem; }

/* Border */
.border-left-secondary { border-left: 5px solid var(--secondary); }

/* Gradient background */
.bg-gradient { background: linear-gradient(135deg, var(--light), #e0f2fe); }

/* Hero specific */
.hero-minimal { min-height: 50vh; padding-top: 120px; }
.hero-content-container { max-width: 800px; padding: 4rem 0; }

/* Service cards */
.service-card-center { text-align: center; padding: 2rem 1.5rem; }
.icon-container { margin: 0 auto 1.5rem; }

/* Contact grid */
.contact-grid-single { 
    grid-template-columns: 1fr; 
    max-width: 800px; 
    margin: 0 auto; 
    background: var(--white); 
    padding: 3rem; 
    border-radius: 20px; 
    box-shadow: 0 15px 40px rgba(0,0,0, 0.1);
}