/* =========================================
   1. Variables & Reset
   ========================================= */
:root {
    --primary-color: #0d6efd; /* Vibrant Blue */
    --primary-dark: #0a58ca;
    --secondary-color: #ff6b35; /* Punchy Orange */
    --secondary-dark: #e8590c;
    --accent-color: #00d2d3; /* Teal Accent */
    --text-color: #2b2d42;
    --light-text: #6c757d;
    --bg-light: #f8f9fa;
    --bg-gradient: linear-gradient(135deg, #f0f4f8 0%, #ffffff 100%);
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: 1px solid rgba(255, 255, 255, 0.6);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
    --white: #ffffff;
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.12);
    --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    --font-main: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--text-color);
    line-height: 1.7;
    background-color: #fcfcfc;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 100px 0;
}

.text-center {
    text-align: center;
}

/* =========================================
   2. Typography & Buttons
   ========================================= */
h1, h2, h3, h4 {
    font-weight: 800;
    margin-bottom: 25px;
    color: var(--text-color);
    letter-spacing: -0.02em;
}

h1 { font-size: 3.8rem; line-height: 1.15; background: linear-gradient(120deg, var(--primary-color), var(--primary-dark)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
h2 { font-size: 2.8rem; position: relative; display: inline-block; }
h3 { font-size: 1.8rem; }

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    box-shadow: 0 10px 25px rgba(13, 110, 253, 0.25);
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(13, 110, 253, 0.35);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
    color: var(--white);
    box-shadow: 0 10px 25px rgba(255, 107, 53, 0.25);
}

.btn-secondary:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(255, 107, 53, 0.35);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(13, 110, 253, 0.2);
}

/* =========================================
   3. Header & Navbar
   ========================================= */
.header {
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255,255,255,0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 1.4rem;
    box-shadow: var(--shadow-sm);
}

.logo-text h1 {
    font-size: 1.6rem;
    margin: 0;
    background: linear-gradient(to right, #4facfe 0%, #00f2fe 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-text p {
    font-size: 0.85rem;
    color: var(--light-text);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    font-weight: 700;
}

.navbar {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-links {
    display: flex;
    gap: 35px;
    align-items: center; /* Align items vertically */
}

/* ... existing nav-links a rules ... */

/* Button inside nav */
.nav-links .btn {
    padding: 12px 25px;
    font-size: 0.95rem;
}

.mobile-cta {
    display: block; /* Visible by default (desktop) */
}

@media screen and (max-width: 768px) {
    .mobile-cta {
        margin-top: 20px;
    }
}

.nav-links a {
    font-weight: 600;
    color: var(--text-color);
    position: relative;
    font-size: 1rem;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: -6px;
    left: 0;
    background: var(--primary-color);
    border-radius: 2px;
    transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.hamburger {
    display: none; /* Mobile Only */
    cursor: pointer;
}

.bar {
    display: block;
    width: 30px;
    height: 3px;
    margin: 6px auto;
    background-color: var(--text-color);
    border-radius: 4px;
    transition: var(--transition);
}

/* =========================================
   4. Hero Section Modern
   ========================================= */
.hero {
    position: relative;
    overflow: hidden;
    padding: 60px 0 180px; /* Increased bottom padding to fix overlap */
    background: radial-gradient(circle at 5% 10%, #f6f9fc 0%, #ffffff 80%);
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    /* CSS Pattern replacing missing image */
    background-image: radial-gradient(var(--primary-color) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.03;
    pointer-events: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 70px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.badge {
    display: inline-block;
    background: rgba(13, 110, 253, 0.08);
    color: var(--primary-color);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border: 1px solid rgba(13, 110, 253, 0.1);
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--light-text);
    margin-bottom: 50px;
    max-width: 90%;
    font-weight: 400;
}

.hero-visual {
    position: relative;
    perspective: 1000px;
}

.main-img-card {
    border-radius: 24px;
    padding: 0;
    box-shadow: 0 25px 60px rgba(0,0,0,0.15), 0 0 0 1px rgba(255,255,255,0.1);
    background-size: cover;
    background-position: center;
    height: 520px;
    width: 100%;
    transform: rotateY(-5deg) rotateX(2deg);
    transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
    overflow: hidden;
}

.main-img-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    background: linear-gradient(180deg, transparent 40%, rgba(10, 20, 40, 0.5) 100%);
    z-index: 1;
    transition: opacity 0.4s ease;
}

.main-img-card::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 26px;
    background: linear-gradient(135deg, rgba(79, 172, 254, 0.4), rgba(0, 242, 254, 0.2), transparent 60%);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.hero-visual:hover .main-img-card {
    transform: rotateY(0deg) rotateX(0deg);
    box-shadow: 0 30px 70px rgba(13, 110, 253, 0.2), 0 0 0 1px rgba(255,255,255,0.15);
}

.hero-visual:hover .main-img-card::after {
    opacity: 1;
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 18px 24px;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 15px;
    border: 1px solid rgba(255,255,255,0.7);
    animation: float 5s ease-in-out infinite;
    z-index: 3;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.floating-card:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 40px rgba(13, 110, 253, 0.15);
}

.floating-card strong {
    font-size: 0.95rem;
    color: var(--text-color);
}

.floating-card small {
    font-size: 0.8rem;
}

.card-1 {
    bottom: 60px;
    left: -50px;
}

.card-2 {
    top: 60px;
    right: -30px;
    animation-delay: 2.5s;
}

.float-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 10px rgba(13, 110, 253, 0.3);
}

/* =========================================
   5. Stats Section
   ========================================= */
.stats-section {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 80px 0;
    margin-top: -120px; /* Pull up more for wave overlap */
    position: relative;
    z-index: 5;
    border-radius: 20px;
    max-width: 1140px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 20px 50px rgba(13, 110, 253, 0.3);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    text-align: center;
    gap: 30px;
    border-radius: 20px;
}

.stat-item {
    position: relative;
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: rgba(255,255,255,0.2);
}

.stat-item h3 {
    font-size: 3.5rem;
    color: white;
    margin-bottom: 5px;
    font-weight: 800;
}

.stat-item p {
    font-size: 1rem;
    opacity: 0.9;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* =========================================
   6. Services Section Modern
   ========================================= */
.section-header {
    margin-bottom: 70px;
    position: relative;
}

.section-header h2 {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    padding-bottom: 20px;
}

.section-header h2::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: 60px;
    height: 6px;
    background: linear-gradient(to right, var(--secondary-color), var(--accent-color));
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(255, 107, 53, 0.3);
}

.section-header p {
    color: var(--light-text);
    font-size: 1.2rem;
    max-width: 650px;
    margin: 20px auto 0;
    font-weight: 500;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.service-card {
    background: var(--white);
    padding: 50px 35px;
    border-radius: 24px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.03);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    z-index: -1;
    transition: var(--transition);
    opacity: 0;
    transform: translateY(100%);
}

.service-card:hover::before {
    opacity: 1;
    transform: translateY(0);
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-lg);
}

.service-card:hover h3, 
.service-card:hover p, 
.service-card:hover .link-btn {
    color: white;
}

.icon-box {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.08), rgba(13, 110, 253, 0.02));
    border-radius: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
    color: var(--primary-color);
    font-size: 2rem;
    transition: var(--transition);
}

.service-card:hover .icon-box {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    transform: scale(1.1);
}

.link-btn {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
}

.link-btn:hover {
    gap: 12px;
}

.center-btn {
    text-align: center;
    margin-top: 60px;
}

/* =========================================
   Why Choose Us Section
   ========================================= */
.why-choose-us {
    background: linear-gradient(180deg, #f0f4ff 0%, #fff 100%);
    position: relative;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.why-card {
    background: #fff;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    border: 1px solid rgba(0,0,0,0.03);
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
    overflow: hidden;
}

.why-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 4px 4px 0 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.why-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 16px 40px rgba(13, 110, 253, 0.1);
}

.why-card:hover::before {
    opacity: 1;
}

.why-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: #fff;
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.why-card:hover .why-icon {
    transform: scale(1.1) rotate(-5deg);
}

.why-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-color);
}

.why-card p {
    color: var(--light-text);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* =========================================
   7. Testimonials & Features
   ========================================= */
.features {
    background-color: var(--white);
    position: relative;
    overflow: hidden;
    padding: 100px 0;
    /* Dot Pattern Background */
    background-image: radial-gradient(#dee2e6 1px, transparent 1px);
    background-size: 20px 20px;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%; /* Equal height */
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(13, 110, 253, 0.15);
    border-color: rgba(13, 110, 253, 0.2);
}

.testimonial-card img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 20px;
    object-fit: cover;
    border: 3px solid var(--white);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.stars {
    color: #ffc107;
    margin-bottom: 20px;
    font-size: 1rem;
}

.quote {
    font-size: 1rem;
    font-style: italic;
    margin-bottom: 25px;
    color: var(--text-color);
    font-weight: 400;
    line-height: 1.6;
}

.author {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* =========================================
   8. CTA Section (Ready to Get Started)
   ========================================= */
.cta-section {
    padding-bottom: 120px;
    background: transparent; /* Clean background */
}

.cta-container {
    background: linear-gradient(120deg, var(--primary-color), var(--primary-dark), var(--secondary-color));
    background-size: 200% 200%;
    animation: gradientBG 8s ease infinite;
    padding: 80px 40px;
    border-radius: 40px;
    text-align: center;
    color: white;
    box-shadow: 0 30px 60px rgba(13, 110, 253, 0.3);
    position: relative;
    overflow: hidden;
}

.cta-container h2 {
    color: white;
    font-size: 3rem;
    margin-bottom: 20px;
}

.cta-container p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 40px;
}

.cta-container::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
    pointer-events: none;
}

/* CTA Specific Buttons */
.btn-white {
    background: white;
    color: var(--primary-dark);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.btn-white:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.25);
    background: #f8f9fa;
}

.btn-outline-white {
    border: 2px solid rgba(255,255,255,0.8);
    color: white;
    background: transparent;
}

.btn-outline-white:hover {
    background: white;
    color: var(--primary-dark);
    border-color: white;
    transform: translateY(-5px);
}


/* =========================================
   8. Footer Modern
   ========================================= */
.footer {
    background-color: #0b1120;
    color: #94a3b8;
    padding-top: 100px;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo h2 {
    font-size: 2rem;
    margin-bottom: 5px;
    background: linear-gradient(to right, #4facfe 0%, #00f2fe 100%); /* Bright Blue-Cyan Gradient for contrast on dark bg */
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.footer-col h4 {
    color: var(--white);
    margin-bottom: 30px;
    font-size: 1.25rem;
    position: relative;
    display: inline-block;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 40px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.footer-col ul li {
    margin-bottom: 15px;
}

.footer-col ul li a {
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--white);
    padding-left: 8px;
    text-shadow: 0 0 10px rgba(255,255,255,0.3);
}

.footer-col p {
    margin-bottom: 18px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
    color: #94a3b8;
    line-height: 1.6;
}

.footer-bottom {
    padding: 30px 0;
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
    color: #94a3b8;
}

.footer-links a {
    margin-left: 25px;
    transition: color 0.3s;
    color: #b0b8c4;
}

.footer-links a:hover {
    color: var(--white);
}

/* Social Links - Accessible Touch Targets */
.social-links {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    color: #b0b8c4;
    font-size: 1rem;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.social-links a:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(13, 110, 253, 0.3);
}

/* =========================================
   9. Page Specific Header (Inner Pages)
   ========================================= */
.page-header {
    background: linear-gradient(135deg, #0b1120 0%, #1a2336 100%);
    color: white;
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 80% 20%, rgba(13, 110, 253, 0.15) 0%, transparent 60%);
}

.page-header h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: white;
    background: none;
    -webkit-text-fill-color: white;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto;
}

/* =========================================
   10. Assets Utilities & Animations
   ========================================= */
.about-image img {
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    border: 5px solid rgba(255,255,255,0.8);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
    100% { transform: translateY(0px); }
}

.scroll-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s cubic-bezier(0.19, 1, 0.22, 1);
}

.scroll-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================
   11. High-End UI Extras ("Wow" Factor)
   ========================================= */

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(var(--primary-color), var(--primary-dark));
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* Custom Selection */
::selection {
    background: var(--secondary-color);
    color: white;
}

/* Animated Hero Background (Mesh Gradient) */
.hero-bg-animated {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(at 0% 0%, hsla(253,16%,7%,1) 0, transparent 50%), 
                radial-gradient(at 50% 0%, hsla(225,39%,30%,1) 0, transparent 50%), 
                radial-gradient(at 100% 0%, hsla(339,49%,30%,1) 0, transparent 50%);
    background-size: 200% 200%;
    animation: gradientBG 15s ease infinite;
    z-index: -2;
    opacity: 0.1; /* Subtle overlay */
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Shimmer Text Effect */
.shimmer-text {
    background: linear-gradient(
        to right,
        var(--primary-color) 20%,
        var(--secondary-color) 40%,
        var(--secondary-color) 60%,
        var(--primary-color) 80%
    );
    background-size: 200% auto;
    color: #000;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
    to { background-position: 200% center; }
}

/* 3D Card Tilt & Glow Effect */
.service-card {
    /* Existing properties + new 3D props */
    transform-style: preserve-3d;
    perspective: 1000px;
}

.service-card:hover {
    transform: translateY(-10px) rotateX(2deg) rotateY(2deg);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border-color: rgba(13, 110, 253, 0.3);
}

.service-card h3 {
    transition: transform 0.3s;
}

.service-card:hover h3 {
    transform: translateZ(20px);
}

.service-card .icon-box {
    transition: transform 0.3s, background 0.3s;
}

.service-card:hover .icon-box {
    transform: translateZ(30px) scale(1.1);
}

/* SVG Wave Divider */
.custom-shape-divider-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.custom-shape-divider-bottom svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 80px;
}

.custom-shape-divider-bottom .shape-fill {
    fill: #FFFFFF;
}

/* Adjustments for dark sections */
.stats-section {
    /* Ensure it sits above the wave */
    position: relative;
    z-index: 5;
    margin-top: -100px; /* Pull up to overlap SVG if needed */
    box-shadow: 0 20px 60px rgba(0,0,0,0.3); /* Enhanced shadow */
    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(5px);
}

/* Floating Card Pulse */
.float-icon {
    animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
    0% { box-shadow: 0 0 0 0 rgba(13, 110, 253, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(13, 110, 253, 0); }
    100% { box-shadow: 0 0 0 0 rgba(13, 110, 253, 0); }
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background: linear-gradient(45deg, #25d366, #128c7e);
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    animation: pulseGlow 2s infinite; /* Re-using the pulse animation */
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background: linear-gradient(45deg, #128c7e, #25d366);
}

/* =========================================
   12. Contact Page Modern
   ========================================= */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
}

.contact-info-card {
    background: var(--white);
    padding: 40px;
    border-radius: 24px;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0,0,0,0.03);
    height: 100%;
    transition: var(--transition);
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.contact-info-card h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px;
    border-radius: 16px;
    background: #f8f9fa;
    transition: var(--transition);
    border: 1px solid transparent;
}

.info-item:hover {
    background: white;
    box-shadow: var(--shadow-sm);
    transform: translateX(5px);
    border-color: rgba(0,0,0,0.05);
}

.info-item i {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(13, 110, 253, 0.2);
}

.info-item h4 {
    margin: 0 0 5px;
    font-size: 1.1rem;
    color: var(--text-color);
    font-weight: 700;
}

.info-item p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--light-text);
    line-height: 1.6;
}

.contact-form {
    background: var(--white);
    padding: 50px;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(0,0,0,0.03);
}

.contact-form h2 {
    margin-bottom: 30px;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-color);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.form-control {
    width: 100%;
    padding: 16px 20px;
    background: #f8f9fa;
    border: 2px solid #eef2f6;
    border-radius: 14px;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
    color: var(--text-color);
}

.form-control:focus {
    outline: none;
    background: white;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(13, 110, 253, 0.1);
}

.map-container {
    margin-top: 80px;
    height: 450px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 8px solid white;
}

.contact-desc {
    margin-bottom: 30px;
    color: var(--light-text);
    font-size: 1rem;
}

.contact-image {
    margin-bottom: 20px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 4px solid white;
}

.header.scrolled {
    box-shadow: var(--shadow-sm);
    padding: 10px 0;
    background: rgba(255, 255, 255, 0.95);
}

@media(max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .contact-form {
        padding: 30px 20px;
    }
}

/* =========================================
   13. Responsive Design (Media Queries)
   ========================================= */

@media screen and (max-width: 992px) {
    h1 { font-size: 2.8rem; }
    h2 { font-size: 2.2rem; }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 50px;
    }

    .hero-content p {
        margin: 0 auto 30px;
    }

    .hero-btns {
        justify-content: center;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .stat-item:not(:last-child)::after {
        display: none;
    }

    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .nav-links {
        position: fixed;
        right: -100%;
        top: 90px;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        width: 100%;
        height: auto;
        min-height: 50vh;
        border-bottom-left-radius: 30px;
        border-bottom-right-radius: 30px;
        text-align: center;
        padding: 40px 0;
        transition: right 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
        box-shadow: 0 15px 30px rgba(0,0,0,0.1);
        border-bottom: 1px solid rgba(0,0,0,0.05);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        margin: 15px 0;
        opacity: 0;
        transform: translateX(50px);
        transition: all 0.3s ease;
    }

    .nav-links.active li {
        opacity: 1;
        transform: translateX(0);
        transition-delay: 0.2s;
    }
    
    .nav-links a {
        font-size: 1.2rem;
        display: block;
        padding: 10px;
    }
    
    .nav-btn {
        display: inline-flex;
        margin-top: 20px;
    }

    .hamburger {
        display: block;
        z-index: 1001;
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
    
    .footer-top {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .footer-links a {
        margin: 0 12px;
    }

    .floating-card {
        display: none;
    }

    .main-img-card {
        height: 350px;
        transform: none !important;
    }

    .why-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .why-card {
        padding: 30px 24px;
    }
}

@media screen and (max-width: 480px) {
    h1 { font-size: 2rem !important; }
    h2 { font-size: 1.75rem !important; }
    h3 { font-size: 1.35rem !important; }
    p, a, li { font-size: 0.95rem !important; }
    
    .section-padding {
        padding: 50px 0 !important;
    }
    
    .hero {
        padding: 40px 0 120px !important;
    }
    
    .service-card {
        padding: 30px 20px !important;
    }
    
    .icon-box {
        width: 60px !important;
        height: 60px !important;
        font-size: 1.5rem !important;
        margin-bottom: 20px !important;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .stat-item h3 {
        font-size: 2.5rem !important;
    }
    
    .btn {
        padding: 12px 24px !important;
        font-size: 0.9rem !important;
        width: 100%;
        text-align: center;
        justify-content: center;
    }
    
    .hero-btns {
        display: flex;
        flex-direction: column;
        gap: 25px;
    }
    
    .footer-col h4 {
        font-size: 1.2rem !important;
        margin-bottom: 15px !important;
    }
    
    .footer {
        padding-top: 50px !important;
    }
    
    .main-img-card {
        height: 250px !important;
    }
    
    .cta-container {
        padding: 40px 20px !important;
    }
    .cta-container h2 {
        font-size: 1.8rem !important;
    }
    
    .testimonial-grid {
        grid-template-columns: 1fr !important;
    }
    
    .floating-card {
        padding: 10px 15px !important;
        transform: scale(0.8);
    }
    .float-icon {
        width: 35px !important;
        height: 35px !important;
        font-size: 0.9rem !important;
    }

    .why-card {
        padding: 28px 20px !important;
    }

    .why-icon {
        width: 56px !important;
        height: 56px !important;
        font-size: 1.2rem !important;
    }
}
