/* =========================
   Global Styles
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    transition: background 0.3s ease,
                transform .3s ease,
                color 0.3s ease,
                border-color 0.3s ease,
                box-shadow .3s ease;
                
                
}

html, body {
    overflow-x: hidden;
}

html{
    scroll-behavior:smooth;
}
body {
    padding-top: 50px;
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: var(--bg-color);
    transition: background 0.3s ease, color 0.3s ease;
}
body::after{
  content:"";
  position:fixed;
  inset:0;
  background:
  radial-gradient(circle at 10% 20%, rgba(37,99,235,0.12), transparent 40%),
  radial-gradient(circle at 90% 80%, rgba(99,102,241,0.10), transparent 40%);
  z-index:-2;
  pointer-events:none;
}
.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}
h1,h2,h3{
  line-height:1.25;
}
section{
  opacity:0;
  transform:translateY(40px);
  animation:fadeUp 0.9s ease forwards;
}

@keyframes fadeUp{
  to{
    opacity:1;
    transform:translateY(0);
  }
}
/* =========================
   THEME VARIABLES
========================= */

:root {
 
  --logo-primary: #3B82F6;               
  --logo-secondary: #60A5FA;  

  --bg-color: #f4f7fb;                 
  --text-color: #1e293b;                
  --card-bg: #ffffff;                     
  --border-color: #e2e8f0;
  --section-bg: #edf2f7;                 
  
  --accent-color: #3B82F6;              
  --header-bg: rgba(10, 31, 68, 0.95);   
  --nav-text: #ffffff;

  /* --cursor-size: 20px;           
  --cursor-color: #1e293b;    
  --cursor-accent: #3B82F6; */

  --cursor-size: 20px;           
  --cursor-color: #1e293b;
  --cursor-accent: #D4AF37;
  --cursor-trail-color: #3B82F6;
  
  --glass-bg: rgba(255,255,255,0.6);     
  --gradient-light: linear-gradient(to bottom, #ffffff, #e9eef5);

  --input-bg: #ffffff;
  --input-border: #cbd5e1;
  --banner-bg: #e3f2fd;                  
  --footer-bg: #0a1f44;                 
  --cta-bg: #0a1f44;                     
  
  --footer-text: #1e293b; 
  --footer-subtext: #1e293b; 
  --footer-border: rgba(0,0,0,0.08);
  --footer-icon-bg: rgba(0,0,0,0.05);
}

body.dark {
  --logo-primary: #D4AF37;               
  --logo-secondary: #ffffff;             

  --bg-color: #0f172a;                   
  --text-color: #e5e7eb;                
  --card-bg: #1e293b;                    
  --border-color: #334155;
  --section-bg: #020617;                  
  
  --accent-color: #D4AF37;               
  --header-bg: rgba(5, 15, 35, 0.95);    
  --nav-text: #ffffff;

  --cursor-size: 20px;           
  --cursor-color: #e5e7eb;
  --cursor-accent: #D4AF37; 
  --cursor-trail-color: #D4AF37;
 
  
  --glass-bg: rgba(30,41,59,0.6);     
  --gradient-light: linear-gradient(to bottom, #0f172a, #020617);
  
  --input-bg: #1e293b;
  --input-border: #334155;
  --banner-bg: #0f172a;
  --cta-bg: #0f172a;
  --footer-bg: #0f172a;
  
  --footer-text:  #e5e7eb; 
  --footer-subtext:  #e5e7eb; 
  --footer-border: rgba(255,255,255,0.1);
  --footer-icon-bg: rgba(255,255,255,0.08);
}
body.dark .service-card {
    box-shadow:
        0 10px 30px rgba(0,0,0,0.6),
        inset 0 0 0 1px rgba(255,255,255,0.03);
}
body.dark .cta {
    background: linear-gradient(
        135deg,
        var(--accent-color),
        #111827
    );
}

/* =========================
   Premium Corporate Header
========================= */

.main-header {
    position: fixed;   
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--header-bg);
    color: var(--nav-text);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    padding: 18px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
    transition: background 0.4s ease,
                padding 0.4s ease,
                box-shadow 0.4s ease;
}

.main-header.scrolled {
    background: var(--header-bg);
    padding: 5px 0;
    box-shadow: 0 8px 30px rgba(0,0,0,0.35);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo */
.logo {
    text-decoration: none;
    display: flex;
    align-items: center;
    font-family: 'Poppins', sans-serif;
}

.logo-main {
    font-size: 32px;
    font-weight: 800;
    color: var(--logo-primary);
    margin-right: 6px;
    transition: 0.3s ease;
}

.logo-text {
    font-size: 20px;
    font-weight: 600;
    color: var(--logo-secondary);
    letter-spacing: 1px;
}

.logo:hover .logo-main {
    transform: scale(1.08);
    color: var(--logo-primary);
}

.logo:hover .logo-text {
    color: #BFDBFE;
}

/* Navigation Links */

.nav-links {
    list-style: none;
    display: flex;
    gap: 35px;
}

.nav-links li {
    opacity: 0;
    transform: translateY(-10px);
    animation: fadeSlideDown 0.6s forwards;
}

#navbar.active .nav-links li {
   animation: slideIn 0.5s forwards;
}

.nav-links li:nth-child(1) { animation-delay: 0.1s; }
.nav-links li:nth-child(2) { animation-delay: 0.2s; }
.nav-links li:nth-child(3) { animation-delay: 0.3s; }
.nav-links li:nth-child(4) { animation-delay: 0.4s; }

@keyframes fadeSlideDown {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.nav-links li a {
    text-decoration: none;
    color: var(--nav-text);
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.5px;
    transition: 0.3s ease;
    position: relative;
}

/* Underline Animation */

.nav-links li a::after {
    content: "";
    width: 0%;
    height: 2px;
    background: var(--accent-color);
    position: absolute;
    left: 0;
    bottom: -6px;
    transition: 0.4s ease;
}

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

.nav-links li a.active {
    color: var(--accent-color);
}

/* Contact Button */

.nav-links li a.btn {
    background: var(--accent-color);
    padding: 9px 22px;
    border-radius: 30px;
    color: #000;
    font-weight: 600;
    transition: 0.3s ease;
}

.nav-links li a.btn:hover {
    background: #ffffff;
    color: #000;
    transform: translateY(-2px);
}
/* Overlay */

#overlay {
    position: fixed;
    inset: 0;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(3px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease;
    z-index: 900;
}

#overlay.active {
    opacity: 1;
    visibility: visible;
}

/* =========================
   Mobile Slide-In Menu
========================= */

.menu-toggle {
    display: none;
    font-size: 28px;
    cursor: pointer;
    color: var(--nav-text);
    z-index: 1100;
    transition: 0.3s ease;
}

.menu-toggle:hover {
    color: var(--accent-color);
    transform: scale(1.1);
}

.mobile-cta .btn-cta {
    display: inline-block;
}

.mobile-cta {
    display: none;
    margin-top: 40px;
    padding-left: 35px;
    
}


/* =========================
   Hero Section
========================= */

.hero {
    background: none !important;
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #FFFFFF;
    font-family: 'Poppins', sans-serif;
}
.section-light {
    background: var(--section-bg);
}

/* Background Video */
.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    object-fit: cover;
    filter:brightness(0.6) blur(1px);
    z-index: -2;
    transition: filter 0.5s ease;
    animation: slowZoom 60s linear infinite;
}
/* Dark mode tweaks */
@media (prefers-color-scheme: dark) {
    .hero-video {
        filter: brightness(0.45) blur(1px);  
    }
}

/* Light mode tweaks */
@media (prefers-color-scheme: light) {
    .hero-video {
        filter: brightness(0.7) blur(1px);  
    }
}

@keyframes slowZoom {
    0% { transform: translate(-50%, -50%) scale(1); }
    100% { transform: translate(-50%, -50%) scale(1.05); }
}

/* Content */

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-content h1 {
    font-size: 3.4rem;
    font-weight: 700;
    line-height: 1.2;
    color: #FFFFFF;
}

.hero-content h1 span {
    color: #00c6ff;
}

.hero-tagline {
    color: #00c6ff;
    font-size: 1.2rem;
    font-weight: 500;
    margin-top: 15px;
    letter-spacing: 1px;
}

.hero-content p {
    margin: 20px auto;
    max-width: 700px;
    font-size: 1.2rem;
    color: #E5E7EB;
}

.hero-content h1,
.hero-content p {
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

/* =========================
   Premium Button System
========================= */

.hero-buttons {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

/* Base Button */
.btn-primary,
.btn-secondary,
.btn-cta {
    padding: 12px 28px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: background 0.4s ease,
                padding 0.4s ease,
                box-shadow 0.4s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
}

/* =========================
   Primary Button (Royal Blue)
========================= */

.btn-primary {
    background: linear-gradient(45deg, #0A1F44, #0072ff);
    color: #fff;
    box-shadow: 0 5px 18px rgba(0, 114, 255, 0.35);
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(0, 114, 255, 0.5);
}

/* Glow effect */
.btn-primary::before {
    content: "";
    position: absolute;
    width: 0%;
    height: 100%;
    left: 0;
    top: 0;
    background: rgba(255,255,255,0.15);
    transition: 0.4s;
}

.btn-primary:hover::before {
    width: 100%;
}


/* =========================
   Secondary Button (Glass Outline)
========================= */

.btn-secondary {
    border: 2px solid rgba(255,255,255,0.8);
    color: #fff;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(6px);
    border-radius: 40px;
    transition: background 0.4s ease,
                padding 0.4s ease,
                box-shadow 0.4s ease;
}

.btn-secondary:hover {
    background: #fff;
    color: #0A1F44;
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(255,255,255,0.3);
}
/* =========================
   Nav Actions Alignment Fix
========================= */

.nav-actions {
    display: flex;
    align-items: center;   /* VERY IMPORTANT */
    justify-content: center;
    gap: 18px;
}

/* Make both same height */
.btn-cta,
.theme-toggle {
    height: 44px;
}

/* =========================
   CTA Button (Luxury Gold)
========================= */

.btn-cta {
    background: linear-gradient(135deg, #D4AF37, #f5d76e);
    color: #0A1F44;
    font-weight: 600;
    border-radius: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        0 6px 20px rgba(212,175,55,0.45),
        inset 0 0 8px rgba(255,255,255,0.3);
    transition: background 0.4s ease,
                padding 0.4s ease,
                box-shadow 0.4s ease;
    position: relative;
    overflow: hidden;
}

/* Shine sweep effect */
.btn-cta::before {
    content: "";
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: rgba(255,255,255,0.4);
    transform: skewX(-20deg);
    transition: 0.7s;
}

.btn-cta:hover::before {
    left: 130%;
}

.btn-cta i {
    transition: transform 0.3s ease;
}

.btn-cta:hover {
    transform: translateY(-5px);
    box-shadow:
        0 12px 35px rgba(212,175,55,0.6),
        inset 0 0 10px rgba(255,255,255,0.4);
}

.btn-cta:hover i {
    transform: rotate(-8deg) scale(1.15);
}


/* =========================
   Premium Theme Toggle (Glass + Glow)
========================= */

.theme-toggle {
    padding: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    position: relative;

    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(10px);

    display: flex;
    align-items: center;
    justify-content: center;

    box-shadow:
        0 5px 15px rgba(0,114,255,0.3),
        inset 0 0 6px rgba(255,255,255,0.2);

    transition: background 0.4s ease,
                padding 0.4s ease,
                box-shadow 0.4s ease;
}

.theme-toggle:hover {
    transform: translateY(-4px) scale(1.08);
    box-shadow:
        0 12px 28px rgba(0,114,255,0.5),
        inset 0 0 8px rgba(255,255,255,0.3);
}

.theme-toggle .icon {
    color: #fff;
    font-size: 18px;
    transition: transform .6s cubic-bezier(.4,0,.2,1);
}
.theme-toggle:focus-visible{
  transform: translateY(-3px);
}
/* Rotate effect */
.theme-toggle.active .icon {
    transform: rotate(360deg);
}



/* =========================
   Animations
========================= */

.slide-up {
    opacity: 0;
    transform: translateY(40px);
    animation: slideUp 1s ease forwards;
    animation-delay: 0.4s;
}

.fade-in-delay {
    opacity: 0;
    animation: fadeIn 1.2s ease forwards;
    animation-delay: 0.8s;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
button:focus{
  outline:2px solid var(--accent-color);
  outline-offset:3px;
}

/* =========================
   Hero Bottom Blur Effect
========================= */
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom, 
        rgba(10,31,68,0.7), 
        rgba(10,31,68,0.3) 50%, 
        rgba(10,31,68,0.7)
    );
    z-index: 1;
    pointer-events: none;
}
.hero::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 180px;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    background: linear-gradient(to top, rgba(10,31,68,0.6), transparent);
    pointer-events: none;
    z-index: 1;
}


/* =========================
   Sections
========================= */

section:not(.hero):not(.page-banner) {
    padding: 70px 0;
    background: var(--section-bg);
}

h2 {
    text-align: center;
    margin-bottom: 35px;
    font-size: 34px;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: var(--text-color);
}
.slide-up {
    will-change: transform, opacity;
}


/* =========================
   Grid Layouts
========================= */

.service-boxes,
.services-grid,
.values-grid {      
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.box
{
    background: var(--card-bg);
    padding: 25px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
    transition: 0.3s;
    opacity: 0;
    transform: translateY(20px);
}
/* Services should be visible */
.service-card {
    opacity: 1;
    transform: translateY(0);
    background: var(--card-bg);
    backdrop-filter: blur(8px);
}

.box:hover,
.service-card:hover,
.value-box:hover {
    transform: translateY(-5px);
}


/* =========================
   Why Choose Us - Premium
========================= */

.why-choose {
    min-height: 100vh;
    padding: 100px 0;
    background: var(--gradient-light);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.why-choose::after {
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    background: var(--accent-color);
    opacity: 0.05;
    border-radius: 50%;
    top: -150px;
    right: -150px;
    filter: blur(120px);
}
.why-choose::after {
    z-index: 0;
}

.why-grid,
.section-title,
.section-description {
    position: relative;
    z-index: 1;
}

.why-grid {
    margin-top: 60px;
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(260px,1fr));
    gap: 35px;
}

/* Card */
.why-card {
    position: relative;
    background: linear-gradient(
        145deg,
        var(--glass-bg),
        transparent
    );
    backdrop-filter: blur(12px);
    border-radius: 18px;
    padding: 40px 25px;
    border: 1px solid var(--border-color);
    transition: 0.4s;
    overflow: hidden;
}

/* Top Accent Line */
.why-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--accent-color);
}

/* Icon Circle */
.icon-box {
    width: 70px;
    height: 70px;
    margin: auto;
    border-radius: 50%;
    background: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.icon-box i {
    color: #fff;
    font-size: 28px;
    transition: 0.4s;
}

/* Hover Effect */
.why-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow:
        0 25px 50px rgba(0,0,0,0.12),
        0 0 25px var(--accent-color);
}
.why-card {
    transition-delay: calc(var(--i) * 0.15s);
}

.why-card:hover .icon-box {
    transform: rotate(8deg) scale(1.1);
}

/* Text */
.why-card h3 {
    margin-bottom: 12px;
    color: var(--text-color);
}

.why-card p {
    color: var(--text-color);
    opacity: 0.8;
}

/* =========================
   Scroll Reveal Animation
========================= */

.reveal {
    opacity: 0;
    transform: translateY(60px);
    transition:
        opacity 0.8s ease,
        transform 0.8s ease;
    will-change: transform, opacity;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Slight zoom variation */
.reveal-zoom {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-zoom.active {
  opacity: 1;
  transform: scale(1);
}

/* Stagger delay helpers */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }
.delay-6 { transition-delay: 0.6s; }
.delay-7 { transition-delay: 0.7s; }
.delay-8 { transition-delay: 0.8s; }
.delay-9 { transition-delay: 0.9s; }
.delay-10 { transition-delay: 1s; }

@media (hover: hover) {
    .why-card:hover {
        transform: translateY(-12px) scale(1.02);
        box-shadow:
            0 25px 50px rgba(0,0,0,0.12),
            0 0 25px var(--accent-color);
    }
}
/* =========================
   About Preview Section
========================= */

.about-preview {
    position: relative;
    margin-top: -80px;
    padding: 140px 20px 120px;
    overflow: hidden;
    background: var(--glass-bg);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

/* Background Glow */
.about-preview::before {
    content: "";
    position: absolute;
    width: 600px;
    height: 600px;
    background: var(--logo-primary);
    opacity: 0.06;
    border-radius: 50%;
    bottom: -200px;
    left: -200px;
    filter: blur(140px);
    z-index: 0;
}

/* Wrapper Layout */
.about-wrapper {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(350px,1fr));
    align-items: center;
    gap: 60px;
}

/* LEFT CONTENT */
.about-content {
    text-align: left;
}

/* Title */
.about-preview .section-title {
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-color);
}

.section-title span {
    color: var(--logo-primary);
}

/* Description */
.about-preview .section-description {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 30px;
    color: var(--text-color);
    opacity: 0.9;
}

/* Highlights */
.about-highlights {
    margin-bottom: 35px;
}

.highlight {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    color: var(--text-color);
}

.highlight i {
    color: var(--logo-primary);
    font-size: 18px;
}

/* RIGHT CARD */
.about-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    padding: 45px;
    border-radius: 18px;
    border: 1px solid var(--border-color);
    transition: 0.4s;
}

.about-card:hover {
    transform: translateY(-10px);
    box-shadow:
        0 20px 45px rgba(0,0,0,0.12);
}

/* Premium Button */
.premium-btn {
    display: inline-block;
    padding: 14px 38px;
    border-radius: 50px;
    background: linear-gradient(
        45deg,
        var(--logo-primary),
        var(--logo-secondary)
    );
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition:
        transform 0.4s ease,
        box-shadow 0.4s ease;
}

.premium-btn:hover {
    transform: translateY(-6px);
    box-shadow:
        0 15px 35px rgba(0,0,0,0.3),
        0 0 20px var(--logo-primary);
}

/* ======================
   Services Section
====================== */

.services {
    padding: 90px 0;
    background: var(--section-bg);
    text-align: center;
}

/* Heading */

.services-title {
    font-size: 42px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 15px;
}

.services-subtitle {
    max-width: 750px;
    margin: auto;
    color: var(--text-color);
    opacity: 0.75;
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 60px;
}

.services .service-card {
    color: var(--text-color);
}

.service-card,
.service-card:visited,
.service-card:hover {
    text-decoration: none;
    color: inherit;
}

/* Grid */

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(280px,1fr));
    gap: 30px;
}

/* Card */

.service-card {
    background: var(--card-bg);
    color: var(--text-color);
    padding: 35px 25px;
    border-radius: 16px;
    text-decoration: none;
    transition: all 0.35s ease;
    box-shadow: 0 8px 25px rgba(0,0,0,0.06);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

/* Icon */

.service-card i {
    font-size: 42px;
    color: var(--accent-color);
    margin-bottom: 18px;
}

/* Title */

.service-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 10px;
}

/* Text */

.service-card p {
    font-size: 15px;
    color: var(--text-color);
    opacity: 0.8;
    line-height: 1.6;
}

/* Hover Effect */

.service-card:hover {
    transform: translateY(-10px);
    box-shadow:
        0 18px 40px rgba(0,0,0,0.15),
        0 0 20px var(--accent-color);
}

/* Top Accent Line */

.service-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--accent-color);
    transform: scaleX(0);
    transition: 0.4s;
}

.service-card:hover::before {
    transform: scaleX(1);
}


/* ======================
   CTA Section
====================== */

.cta {
    padding: 90px 20px;
    text-align: center;
    background: linear-gradient(
        135deg,
        var(--accent-color),
        #0a58ca
    );
    color: #fff;
    position: relative;
    overflow: hidden;
}

/* Content */

.cta-content h2 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 15px;
}

.cta-content p {
    max-width: 650px;
    color: var(--text-color);
    margin: auto;
    font-size: 17px;
    opacity: 0.9;
    margin-bottom: 35px;
}

/* =========================
   CTA BUTTON – PERFECT CONTRAST
========================= */

.cta-btn {
    display: inline-block;
    padding: 16px 40px;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.4px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
    background-color: var(--accent-color);
    color: #ffffff;   /* Default for light mode */
    border: 2px solid var(--accent-color);
    animation: fadeUp 0.8s ease forwards;
    opacity: 0;
}

/* Hover */

.cta-btn:hover {
    background: transparent;
    color: var(--accent-color);
    transform: translateY(-5px) scale(1.03);
}
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.cta::before {
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255,255,255,0.15), transparent 70%);
    border-radius: 50%;
    top: -200px;
    left: -200px;
    z-index: 0;
}

.cta-btn::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50px;
    box-shadow: 0 0 0 0 rgba(255,255,255,0.4);
    animation: pulseGlow 2.5s infinite;
}


@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 0 0 rgba(255,255,255,0.4);
    }
    70% {
        box-shadow: 0 0 0 12px rgba(255,255,255,0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255,255,255,0);
    }
}

/* =========================
   Page Banner
========================= */

.page-banner {
    background: var(--banner-bg);
    text-align: center;
    padding: 60px 20px;
}

.page-banner h1 {
    color: var(--text-color);
    margin-bottom: 10px;
}


/* ======================
   Footer
====================== */

.footer {
    background: var(--card-bg);
    color: var(--text-color);
    padding: 70px 20px 0;
    position: relative;
    transition: 0.4s ease;
    border-top: 1px solid var(--border-color);
    text-decoration: none;
}

/* Grid */

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
    gap: 40px;
    padding-bottom: 40px;
}

/* Columns */

.footer-col h3,
.footer-col h4 {
    color: var(--footer-text);
    margin-bottom: 15px;
}

.footer-col p {
    color: var(--footer-text);
    font-size: 14px;
    opacity: 0.8;
    line-height: 1.6;
}

/* Links */

.footer-col a {
    color: var(--footer-text);
    text-decoration: none;
    transition: 0.3s;
}

.footer-col a:hover {
    color: var(--accent-color);
    padding-left: 6px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    text-decoration: none;
    color: var(--text-color);
    opacity: 0.8;
    transition: 0.3s;
}

.footer-col ul li a:hover {
    color: var(--accent-color);
    opacity: 1;
}
/* Social Icons */
.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;


    width: 38px;
    height: 38px;
    margin-right: 10px;

    border-radius: 50%;
    background: var(--footer-icon-bg);
    color: var(--footer-text);

    transition: 0.3s;
}

.footer-social a:hover {
    background: #0d6efd;
    color: #fff;
    transform: translateY(-4px);
}

/* Bottom */

.footer-bottom {
    margin-top: 50px;
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid var(--border-color);
    font-size: 14px;
}
/* Gradient Line */
.footer::before {
    content: "";
    position: absolute;
    top: 0;
    width: 100%;
    height: 2px;

    background: linear-gradient(
        90deg,
        #0d6efd,
        #6610f2,
        #0dcaf0
    );
}
.footer-legal {
    font-size: 0.85rem;
    margin-top: 5px;
}
.footer-legal a {
    color: var(--footer-text);
    text-decoration: underline;
    margin: 0 5px;
}


/* ======================
   WhatsApp Float Button
====================== */

.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
    z-index: 999;
    transition: 0.3s;
}

/* Hover */

.whatsapp-float:hover {
    transform: scale(1.1);
}

.whatsapp-float::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #25D366;
    animation: whatsappPulse 2s infinite;
    z-index: -1;
}

@keyframes whatsappPulse {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }
    70% {
        transform: scale(1.6);
        opacity: 0;
    }
    100% {
        opacity: 0;
    }
}
.cursor {
    position: fixed;
    width: var(--cursor-size);
    height: var(--cursor-size);
    border-radius: 50%;
    background-color: var(--cursor-color);
    pointer-events: none;
    transform: translate(-50%, -50%) scale(1);
    z-index: 9999;
    mix-blend-mode: difference;
    box-shadow: 0 0 12px var(--cursor-color), 0 0 25px rgba(255,255,255,0.1);
    transition: 
        transform 0.2s cubic-bezier(0.22, 1, 0.36, 1),
        background-color 0.2s,
        box-shadow 0.2s;
    will-change: transform;
}

.cursor-trail {
    position: fixed;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--cursor-trail-color);
    opacity: 0.3;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9998;
    
}


.cursor.hover {
    transform: translate(-50%, -50%) scale(4);
    background-color: var(--cursor-accent);
    box-shadow: 0 0 20px var(--cursor-accent), 0 0 40px rgba(255,255,255,0.15);
    opacity: 0.6;
}


.cursor:active {
    transform: translate(-50%, -50%) scale(6);
    box-shadow: 0 0 30px var(--cursor-accent);
}

/* =========================
   Tablet View
========================= */

@media (max-width: 1024px) {

    .nav-links {
        gap: 20px;
    }

    .nav-links li a {
        font-size: 14px;
    }

    .btn-cta {
        padding: 8px 16px;
        font-size: 14px;
    }

    .logo-main {
        font-size: 26px;
    }

    .logo-text {
        font-size: 18px;
    }
}
/* =========================
   MOBILE RESPONSIVE
========================= */

@media (max-width: 768px) {
    .cursor, .cursor-trail {
        display: none;
    }

    .menu-toggle {
        display: block;
        transition: transform 0.5s ease;
    }
    .menu-toggle.active i {
        transform: rotate(90deg);
    }
    .nav-actions {
       display: flex;
       align-items: center;
       gap: 15px;
        
    }
    .nav-actions .btn-cta {
      opacity: 0;
      pointer-events: none; 
      cursor: default;
      color: inherit;
      text-decoration: none;
  }
   
    .theme-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    /* ===== Navbar ===== */

    #navbar {
        position: fixed;
        top: 0;
        right: 0;
        width: 75%;
        max-width: 320px;
        height: 100vh;
        padding-top: 100px;
        transform: translateX(100%);
        background: var(--glass-bg);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        box-shadow: -8px 0 25px rgba(0,0,0,0.25);
        transition: transform 0.6s cubic-bezier(0.77, 0, 0.175, 1);
        z-index: 999;
    }

    #navbar.active {
        transform: translateX(0);
    }

    .nav-links {
        display: flex;
        flex-direction: column;
        gap: 25px;
        padding-left: 35px;
        padding-top: 20px;
    }

    .nav-links li {
        opacity: 0;
        transform: translateX(30px) scale(0.95);
        animation: slideFadeScale 0.6s forwards;
    }
    .nav-links li:nth-child(1) { animation-delay: 0.1s; }
    .nav-links li:nth-child(2) { animation-delay: 0.2s; }
    .nav-links li:nth-child(3) { animation-delay: 0.3s; }
    .nav-links li:nth-child(4) { animation-delay: 0.4s; }
    @keyframes slideFadeScale {
        0% {
            opacity: 0;
            transform: translateX(30px) scale(0.95);
        }
        100% {
            opacity: 1;
            transform: translateX(0) scale(1);
        }
    }

    .nav-links li a {
        font-size: 18px;
        color: var(--text-color);
        font-weight: 600;
    }

    .nav-links li a:hover {
        color: var(--accent-color);
        padding-left: 8px;
    }

    .mobile-cta .btn-cta {
        display: inline-block;
        padding: 12px 25px;
        font-weight: 600;
        background: linear-gradient(135deg, var(--accent-color), var(--logo-primary));
        color: #fff;
        border-radius: 8px;
        transition: transform 0.3s, box-shadow 0.3s;
    }

    .mobile-cta .btn-cta:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    }
    @keyframes slideIn {
        0% {
            opacity: 0;
            transform: translateX(20px);
        }
        100% {
            opacity: 1;
            transform: translateX(0);
        }
        }
    /* ===== Hero Section ===== */

    .hero {
        height: 80vh;
        padding: 40px 20px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-tagline {
        font-size: 1rem;
    }

    .hero-content p {
        font-size: 1rem;
        max-width: 90%;
    }
    .hero-buttons {
        flex-direction: column;
        gap: 12px;
    }

    .btn-primary,
    .btn-secondary {
        display: block;
        margin: 10px auto;
    }
}

/* Animation outside media (better practice) */
@keyframes slideIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}