/* ==========================================================================
   AGENCY PREMIUM CSS OVERHAUL - PURECHARIS TECHNOLOGIES
   V3 - Added Swiper, Advanced Hovers, and Dynamic Elements
   ========================================================================== */

   @import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800;900&display=swap');

   :root {
       /* Vibrant Agency Colors */
       --bg-main: #020308;
       --bg-secondary: #0a0b10;
       --bg-card: rgba(15, 18, 30, 0.6);
       --border-glass: rgba(255, 255, 255, 0.08);
       --border-glass-hover: rgba(255, 255, 255, 0.2);
       
       /* Accents */
       --primary: #00F0FF; /* Cyan */
       --secondary: #90F100; /* Neon Green (Prime Depth Labs style) */
       --accent-gradient: linear-gradient(135deg, var(--primary), var(--secondary));
       
       /* Text */
       --text-primary: #ffffff;
       --text-secondary: #a0a5b5;
       --text-muted: #6b7280;
       
       /* Typography */
       --font-main: 'Inter', sans-serif;
       --font-display: 'Outfit', sans-serif;
       
       /* Metrics */
       --nav-height: 80px;
       --radius-sm: 8px;
       --radius-md: 16px;
       --radius-lg: 24px;
       
       /* Transitions */
       --transition-fast: 0.2s ease;
       --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
       --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
       
       /* Shadows */
       --glow-primary: 0 0 20px rgba(0, 240, 255, 0.3);
       --glow-secondary: 0 0 20px rgba(144, 241, 0, 0.3);
       --shadow-card: 0 20px 40px rgba(0,0,0,0.4);
   }
   
   /* ==========================================================================
      RESET & BASE
      ========================================================================== */
   * { margin: 0; padding: 0; box-sizing: border-box; }
   html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }
   
   body {
       font-family: var(--font-main);
       background-color: var(--bg-main);
       color: var(--text-primary);
       line-height: 1.6;
       overflow-x: hidden;
       position: relative;
   }
   
   /* Dynamic Animated Background */
   body::before {
       content: '';
       position: fixed;
       top: -50%; left: -50%;
       width: 200%; height: 200%;
       background: radial-gradient(circle at 50% 50%, rgba(0, 240, 255, 0.03) 0%, transparent 40%),
                   radial-gradient(circle at 80% 20%, rgba(144, 241, 0, 0.03) 0%, transparent 30%);
       animation: ambientBg 30s linear infinite;
       z-index: -1;
       pointer-events: none;
   }
   
   @keyframes ambientBg {
       0% { transform: rotate(0deg); }
       100% { transform: rotate(360deg); }
   }
   
   h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); line-height: 1.2; font-weight: 700; letter-spacing: -0.02em; }
   a { text-decoration: none; color: inherit; transition: var(--transition-normal); }
   ul { list-style: none; }
   img { max-width: 100%; height: auto; display: block; }
   
   /* Gradient Text */
   .gradient-text {
       background: var(--accent-gradient);
       -webkit-background-clip: text;
       background-clip: text;
       color: transparent;
       display: inline-block;
   }
   
   .highlight-badge {
       background: var(--secondary);
       color: #020308;
       padding: 2px 10px;
       border-radius: 6px;
       font-weight: 800;
       display: inline-block;
       transform: skewX(-10deg);
   }
   
   .highlight-badge-cyan {
       background: var(--primary);
       color: #020308;
       padding: 2px 10px;
       border-radius: 6px;
       font-weight: 800;
       display: inline-block;
       transform: skewX(-10deg);
   }
   
   /* ==========================================================================
      BUTTONS
      ========================================================================== */
   .btn {
       display: inline-flex; align-items: center; justify-content: center;
       padding: 14px 28px; font-weight: 600; font-family: var(--font-display);
       border-radius: 50px; cursor: pointer; transition: var(--transition-normal);
       border: none; outline: none; font-size: 1rem; position: relative; overflow: hidden;
       text-transform: capitalize; letter-spacing: 0.5px;
   }
   
   .btn-primary {
       background: var(--primary); color: #020308;
       box-shadow: 0 4px 15px rgba(0, 240, 255, 0.2);
   }
   .btn-primary:hover {
       transform: translateY(-2px); box-shadow: var(--glow-primary);
       background: #fff;
   }
   
   .btn-secondary {
       background: var(--secondary); color: #020308;
       box-shadow: 0 4px 15px rgba(144, 241, 0, 0.2);
   }
   .btn-secondary:hover {
       transform: translateY(-2px); box-shadow: var(--glow-secondary);
       background: #fff;
   }
   
   .btn-outline {
       background: transparent; color: var(--text-primary);
       border: 1px solid var(--border-glass);
       backdrop-filter: blur(10px);
   }
   .btn-outline:hover {
       border-color: var(--primary); color: var(--primary);
       background: rgba(0, 240, 255, 0.05);
   }
   
   /* ==========================================================================
      NAVIGATION
      ========================================================================== */
   .glass-nav {
       position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
       background: rgba(2, 3, 8, 0.8); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
       border-bottom: 1px solid var(--border-glass); height: var(--nav-height);
       transition: var(--transition-normal);
   }
   
   .nav-container {
       max-width: 1300px; margin: 0 auto; padding: 0 24px; height: 100%;
       display: flex; justify-content: space-between; align-items: center;
   }
   
   .logo {
       font-family: var(--font-display); font-size: 1.6rem; font-weight: 800;
       display: flex; align-items: center; gap: 8px; letter-spacing: -0.5px;
   }
   .logo-accent { color: var(--primary); }
   
   .nav-links { display: flex; gap: 32px; align-items: center; }
   .nav-links a {
       font-size: 0.95rem; font-weight: 500; color: var(--text-secondary);
       position: relative; padding: 8px 0; text-transform: capitalize;
   }
   .nav-links a:hover, .nav-links a.active { color: var(--text-primary); }
   
   .nav-links a::after {
       content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px;
       background: var(--accent-gradient); transition: var(--transition-normal);
   }
   .nav-links a:not(.btn):hover::after, .nav-links a.active:not(.btn):after { width: 100%; }
   
   .menu-toggle {
       display: none; flex-direction: column; gap: 6px; background: none; border: none; cursor: pointer; padding: 10px;
   }
   .menu-toggle .bar {
       width: 24px; height: 2px; background: var(--text-primary); transition: var(--transition-normal);
   }
   
   /* ==========================================================================
      LAYOUT & SECTIONS
      ========================================================================== */
   .section { padding: 100px 24px; position: relative; }
   .alt-bg { background: var(--bg-secondary); border-top: 1px solid var(--border-glass); border-bottom: 1px solid var(--border-glass); }
   .container { max-width: 1300px; margin: 0 auto; }
   
   .section-header { text-align: center; max-width: 700px; margin: 0 auto 60px; }
   .badge {
       display: inline-block; padding: 6px 16px; background: rgba(0, 240, 255, 0.1);
       border: 1px solid rgba(0, 240, 255, 0.2); border-radius: 50px;
       color: var(--primary); font-size: 0.85rem; font-weight: 600; font-family: var(--font-display);
       letter-spacing: 1px; text-transform: uppercase; margin-bottom: 16px;
   }
   .section-header h2 { font-size: 3rem; margin-bottom: 16px; }
   .section-header p { color: var(--text-secondary); font-size: 1.1rem; }
   
   /* ==========================================================================
      HERO SECTION
      ========================================================================== */
   .hero {
       min-height: 100vh; display: flex; align-items: center; justify-content: center;
       position: relative; padding: 120px 24px 80px; text-align: center; overflow: hidden;
   }
   
   .hero-bg-image {
       position: absolute; top: 0; left: 0; width: 100%; height: 100%;
       object-fit: cover; z-index: -2; opacity: 0.4;
   }
   
   .hero-overlay {
       position: absolute; top: 0; left: 0; width: 100%; height: 100%;
       background: linear-gradient(180deg, rgba(2,3,8,0.7) 0%, rgba(2,3,8,1) 100%);
       z-index: -1;
   }
   
   .hero-content { max-width: 900px; position: relative; z-index: 2; }
   .hero h1 { font-size: 4.5rem; line-height: 1.1; margin-bottom: 24px; }
   .hero-subtitle { font-size: 1.25rem; color: var(--text-secondary); margin-bottom: 40px; font-weight: 400; max-width: 700px; margin-left: auto; margin-right: auto; }
   .hero-cta { display: flex; gap: 20px; justify-content: center; }
   
   /* ==========================================================================
      SWIPER SLIDERS
      ========================================================================== */
   .swiper { width: 100%; padding-bottom: 60px !important; }
   .swiper-slide { height: auto; display: flex; }
   .swiper-pagination-bullet { background: var(--text-secondary) !important; transition: 0.3s; }
   .swiper-pagination-bullet-active { background: var(--primary) !important; width: 24px !important; border-radius: 10px !important; }
   
   /* ==========================================================================
      GLASS CARDS & IMAGE HOVER EFFECTS
      ========================================================================== */
   .glass-card {
       background: var(--bg-card);
       border: 1px solid var(--border-glass);
       border-radius: var(--radius-lg);
       padding: 40px;
       backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
       transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
       position: relative; overflow: hidden;
       display: flex; flex-direction: column; width: 100%;
   }
   
   .glass-card::before {
       content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
       background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, transparent 100%);
       z-index: 0; pointer-events: none;
   }
   
   .glass-card:hover {
       transform: translateY(-10px);
       border-color: var(--border-glass-hover);
       box-shadow: var(--shadow-card);
   }
   
   .glass-card > * { position: relative; z-index: 1; }
   
   /* Image Box Overlays */
   .image-box {
       border-radius: var(--radius-md);
       overflow: hidden;
       position: relative;
       margin-bottom: 24px;
       aspect-ratio: 16/9;
   }
   
   .image-box img {
       width: 100%; height: 100%; object-fit: cover;
       transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
   }
   
   .image-box::after {
       content: ''; position: absolute; inset: 0;
       background: linear-gradient(0deg, rgba(2,3,8,0.8) 0%, transparent 50%);
       opacity: 0.6; transition: 0.4s ease;
   }
   
   .glass-card:hover .image-box img { transform: scale(1.08); }
   .glass-card:hover .image-box::after { opacity: 0.2; }
   
   .card-icon {
       width: 60px; height: 60px; border-radius: var(--radius-sm);
       background: rgba(0, 240, 255, 0.1); border: 1px solid rgba(0, 240, 255, 0.2);
       display: flex; align-items: center; justify-content: center;
       font-size: 1.8rem; margin-bottom: 24px; transition: var(--transition-normal);
   }
   
   .glass-card:hover .card-icon {
       background: var(--primary); color: #000; transform: scale(1.1) rotate(5deg);
   }
   
   .glass-card h3 { font-size: 1.5rem; margin-bottom: 16px; }
   .glass-card p { color: var(--text-secondary); margin-bottom: 24px; flex-grow: 1; }
   
   /* ==========================================================================
      TECH STACK MARQUEE
      ========================================================================== */
   .marquee-container {
       width: 100%; overflow: hidden; padding: 40px 0; background: rgba(0,0,0,0.3);
       border-top: 1px solid var(--border-glass); border-bottom: 1px solid var(--border-glass);
   }
   
   .marquee-track {
       display: flex; width: max-content; gap: 60px;
       animation: marqueeScroll 25s linear infinite;
   }
   
   .marquee-track:hover { animation-play-state: paused; }
   
   .tech-logo {
       display: flex; align-items: center; gap: 12px;
       font-family: var(--font-display); font-weight: 600; font-size: 1.2rem;
       color: var(--text-secondary); opacity: 0.7; transition: var(--transition-normal);
   }
   .tech-logo:hover { opacity: 1; color: var(--primary); transform: scale(1.05); }
   
   @keyframes marqueeScroll {
       0% { transform: translateX(0); }
       100% { transform: translateX(-33.3333%); }
   }
   
   /* ==========================================================================
      FAQ ACCORDION
      ========================================================================== */
   .faq-grid { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }
   
   .faq-item {
       background: var(--bg-card); border: 1px solid var(--border-glass);
       border-radius: var(--radius-md); overflow: hidden; transition: var(--transition-normal);
   }
   
   .faq-item:hover { border-color: var(--border-glass-hover); }
   
   .faq-question {
       padding: 24px; display: flex; justify-content: space-between; align-items: center;
       cursor: pointer; font-family: var(--font-display); font-weight: 600; font-size: 1.1rem;
   }
   
   .faq-icon {
       width: 30px; height: 30px; border-radius: 50%; background: rgba(255,255,255,0.05);
       display: flex; align-items: center; justify-content: center; transition: 0.3s ease;
   }
   
   .faq-item.active .faq-icon { background: var(--primary); color: #000; transform: rotate(45deg); }
   .faq-item.active { border-color: var(--primary); box-shadow: 0 0 15px rgba(0, 240, 255, 0.1); }
   
   .faq-answer {
       padding: 0 24px; max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.4s ease;
       color: var(--text-secondary);
   }
   
   .faq-item.active .faq-answer { padding: 0 24px 24px; max-height: 500px; }
   
   /* ==========================================================================
      CONTACT FORM
      ========================================================================== */
   .contact-wrapper { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; max-width: 1100px; margin: 0 auto; align-items: center; }
   .contact-info h3 { font-size: 2.2rem; margin-bottom: 16px; }
   .contact-info p { color: var(--text-secondary); margin-bottom: 40px; font-size: 1.1rem; }
   
   .contact-details-list { display: flex; flex-direction: column; gap: 24px; }
   .detail-item { display: flex; gap: 16px; align-items: flex-start; }
   .detail-icon { font-size: 1.5rem; width: 48px; height: 48px; background: rgba(255,255,255,0.05); border-radius: 12px; display: flex; align-items: center; justify-content: center; }
   .detail-item label { display: block; font-size: 0.85rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 4px; font-weight: 600; }
   .detail-item span:not(.detail-icon) { font-family: var(--font-display); font-size: 1.1rem; font-weight: 500; }
   
   .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
   .form-group { position: relative; margin-bottom: 24px; }
   
   .form-group input, .form-group textarea, .form-group select {
       width: 100%; background: rgba(0,0,0,0.3); border: 1px solid var(--border-glass);
       border-radius: var(--radius-sm); padding: 16px; color: var(--text-primary);
       font-family: var(--font-main); font-size: 1rem; transition: var(--transition-normal);
       outline: none;
   }
   
   .form-group select { appearance: none; cursor: pointer; }
   .form-group input:focus, .form-group textarea:focus, .form-group select:focus {
       border-color: var(--primary); background: rgba(0, 240, 255, 0.05);
       box-shadow: 0 0 0 4px rgba(0, 240, 255, 0.1);
   }
   
   .form-group label {
       position: absolute; left: 16px; top: 16px; color: var(--text-muted);
       transition: var(--transition-normal); pointer-events: none; font-size: 1rem;
   }
   
   .form-group input:focus ~ label, .form-group input:not(:placeholder-shown) ~ label,
   .form-group textarea:focus ~ label, .form-group textarea:not(:placeholder-shown) ~ label {
       top: -10px; left: 12px; font-size: 0.8rem; background: var(--bg-card);
       padding: 0 6px; color: var(--primary); border-radius: 4px;
   }
   
   .error-msg { color: #ff4757; font-size: 0.85rem; position: absolute; bottom: -20px; left: 0; opacity: 0; transition: var(--transition-fast); }
   .form-group.invalid input, .form-group.invalid textarea, .form-group.invalid select { border-color: #ff4757; background: rgba(255, 71, 87, 0.05); }
   .form-group.invalid .error-msg { opacity: 1; }
   
   /* ==========================================================================
      FOOTER
      ========================================================================== */
   .footer { background: #010103; padding: 80px 24px 24px; border-top: 1px solid var(--border-glass); }
   .footer-container { max-width: 1300px; margin: 0 auto; display: grid; grid-template-columns: 2fr 3fr; gap: 60px; margin-bottom: 60px; }
   .footer-brand p { color: var(--text-secondary); margin: 20px 0; font-size: 0.95rem; }
   .footer-india-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.05); padding: 8px 16px; border-radius: 50px; font-size: 0.9rem; border: 1px solid rgba(255,255,255,0.1); }
   
   .footer-links-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
   .footer-links-grid h6 { font-size: 1.1rem; margin-bottom: 24px; color: #fff; }
   .footer-links-grid a { display: block; color: var(--text-secondary); margin-bottom: 12px; font-size: 0.95rem; }
   .footer-links-grid a:hover { color: var(--primary); padding-left: 8px; }
   
   .footer-bottom { border-top: 1px solid var(--border-glass); padding-top: 24px; text-align: center; color: var(--text-muted); font-size: 0.9rem; }
   
   /* ==========================================================================
      ANIMATIONS (SCROLL FADE)
      ========================================================================== */
   .fade-in { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease, transform 0.8s ease; }
   .fade-in.appear { opacity: 1; transform: translateY(0); }
   
   /* ==========================================================================
      RESPONSIVE DESIGN
      ========================================================================== */
   @media (max-width: 992px) {
       .hero h1 { font-size: 3.5rem; }
       .contact-wrapper, .footer-container { grid-template-columns: 1fr; }
       .footer-links-grid { grid-template-columns: repeat(2, 1fr); }
   }
   
   @media (max-width: 768px) {
       .menu-toggle { display: flex; }
       .nav-links {
           position: absolute; top: var(--nav-height); left: 0; width: 100%;
           background: rgba(2, 3, 8, 0.98); flex-direction: column; padding: 40px 24px;
           gap: 24px; clip-path: polygon(0 0, 100% 0, 100% 0, 0 0); transition: 0.4s ease-in-out;
           border-bottom: 1px solid var(--border-glass);
       }
       .nav-links.active { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
       .hero h1 { font-size: 2.8rem; }
       .section { padding: 80px 24px; }
       .form-row { grid-template-columns: 1fr; }
   }
/* DROPDOWN MENU */
.dropdown { position: relative; }
.dropdown-content {
    display: none; position: absolute; top: 100%; left: -20px; min-width: 220px;
    background: rgba(2, 3, 8, 0.95); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-glass); border-radius: var(--radius-sm);
    padding: 10px 0; z-index: 1000; box-shadow: var(--shadow-card);
    opacity: 0; transform: translateY(10px); transition: all 0.3s ease;
}
.dropdown:hover .dropdown-content { display: block; opacity: 1; transform: translateY(0); }
.dropdown-content a {
    padding: 12px 20px !important; display: block; white-space: nowrap; font-size: 0.9rem !important; border-bottom: 1px solid rgba(255,255,255,0.05);
}
.dropdown-content a:last-child { border-bottom: none; }
.dropdown-content a::after { display: none !important; }
.dropdown-content a:hover { background: rgba(0,240,255,0.1); color: var(--primary) !important; padding-left: 28px !important; }

/* Mobile Dropdown Fix */
@media (max-width: 768px) {
    .dropdown { position: static; width: 100%; }
    .dropdown .dropdown-content { 
        display: flex !important; 
        flex-direction: column; 
        position: static; 
        opacity: 1 !important; 
        transform: none !important; 
        box-shadow: none; 
        border: none; 
        background: transparent; 
        padding: 8px 0 8px 16px; 
        border-left: 2px solid var(--primary);
        margin-top: 8px;
        gap: 8px;
    }
    .dropdown-content a {
        padding: 8px 12px !important;
        font-size: 0.95rem !important;
        border-bottom: none !important;
    }
}

/* Lucide Icons Overrides */
.card-icon svg { width: 48px; height: 48px; stroke-width: 1.5; color: var(--primary); display: block; margin: 0 auto; }
.tech-logo svg { width: 24px; height: 24px; stroke-width: 2; color: var(--primary); }
.footer-india-badge svg { display: inline-block; vertical-align: text-bottom; margin: 0 4px; }

