/* 
   taskinahmed.com - Premium Personal Brand Stylesheet
   Designed & Developed for Taskin Ahmed Robin
   Aesthetics: Deep Navy Dark theme, high-contrast light blocks, Cyan glow accents, glassmorphism.
*/

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

/* ==========================================================================
   1. Design System & CSS Custom Properties
   ========================================================================== */
:root {
  /* Color Palette (Tailored HSL for harmonized branding) */
  --bg-dark-base: #060913;        /* Pitch Navy Base */
  --bg-dark-card: #0d1527;        /* Deep Space Glass Card */
  --bg-dark-card-border: rgba(6, 182, 212, 0.12); /* Subtle Cyan Border */
  
  --bg-light-base: #f8fafc;       /* Premium Soft White */
  --bg-light-card: #ffffff;
  --bg-light-card-border: rgba(15, 23, 42, 0.08);

  --color-primary: #f8fafc;       /* Crisp White text on dark */
  --color-primary-inverse: #0f172a; /* Dark Navy text on light */
  --color-secondary: #94a3b8;     /* Elegant Muted Slate */
  --color-secondary-inverse: #475569;

  --accent-blue: #2563eb;         /* Electric Blue - trust */
  --accent-cyan: #06b6d4;         /* Action Cyan - growth & lead generation */
  --accent-cyan-rgb: 6, 182, 212;

  --gradient-dark: linear-gradient(135deg, #090e1a 0%, #030712 100%);
  --gradient-accent: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
  --gradient-glow: radial-gradient(circle, rgba(6, 182, 212, 0.15) 0%, rgba(37, 99, 235, 0.05) 50%, transparent 100%);

  /* Typography */
  --font-heading: 'Poppins', 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Layout and Shapes */
  --border-radius-sm: 8px;
  --border-radius-md: 16px;
  --border-radius-lg: 24px;
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-premium: 0 10px 30px -10px rgba(2, 6, 23, 0.3);
  --shadow-glow: 0 0 20px rgba(6, 182, 212, 0.25);
}

/* ==========================================================================
   2. Reset & Global Styles
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark-base);
  color: var(--color-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.light-theme {
  background-color: var(--bg-light-base);
  color: var(--color-primary-inverse);
}

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

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

/* Custom Premium Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-dark-base);
}
::-webkit-scrollbar-thumb {
  background: #1e293b;
  border-radius: 5px;
  border: 2px solid var(--bg-dark-base);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-cyan);
}

/* ==========================================================================
   3. Typography & Layout Base
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

h1 { font-size: 2.75rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.75rem; }

@media (max-width: 768px) {
  h1 { font-size: 2.25rem; }
  h2 { font-size: 1.85rem; }
  h3 { font-size: 1.5rem; }
}

.text-gradient {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

.text-secondary {
  color: var(--color-secondary);
}

body.light-theme .text-secondary {
  color: var(--color-secondary-inverse);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

.section-padding {
  padding: 100px 0;
}

@media (max-width: 768px) {
  .section-padding {
    padding: 70px 0;
  }
}

/* Base Light Section Wrapper */
.light-section {
  background-color: var(--bg-light-base);
  color: var(--color-primary-inverse);
  position: relative;
}

.light-section .text-gradient {
  background: linear-gradient(135deg, #1d4ed8 0%, #0891b2 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

/* ==========================================================================
   4. Glassmorphism & UI Building Blocks
   ========================================================================== */
.glass-card {
  background: var(--bg-dark-card);
  border: 1px solid var(--bg-dark-card-border);
  border-radius: var(--border-radius-md);
  padding: 32px;
  box-shadow: var(--shadow-premium);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at top right, rgba(6, 182, 212, 0.08) 0%, transparent 60%);
  z-index: 1;
  pointer-events: none;
}

.glass-card:hover {
  transform: translateY(-6px);
  border-color: rgba(6, 182, 212, 0.3);
  box-shadow: 0 20px 40px -20px rgba(6, 182, 212, 0.15);
}

/* Light Mode Card alternative */
.light-section .glass-card {
  background: var(--bg-light-card);
  border: 1px solid var(--bg-light-card-border);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.03);
}

.light-section .glass-card:hover {
  transform: translateY(-6px);
  border-color: rgba(37, 99, 235, 0.2);
  box-shadow: 0 20px 40px -20px rgba(37, 99, 235, 0.12);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--border-radius-sm);
  border: none;
  cursor: pointer;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  gap: 8px;
}

.btn-primary {
  background: var(--gradient-accent);
  color: #ffffff;
  box-shadow: var(--shadow-glow);
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.15);
  transform: translateX(-100%);
  transition: transform 0.4s ease;
}

.btn-primary:hover {
  box-shadow: 0 0 25px rgba(6, 182, 212, 0.5);
  transform: translateY(-2px);
}

.btn-primary:hover::after {
  transform: translateX(0);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--color-primary);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--accent-cyan);
  transform: translateY(-2px);
}

.light-section .btn-secondary {
  background: rgba(15, 23, 42, 0.03);
  color: var(--color-primary-inverse);
  border: 1px solid rgba(15, 23, 42, 0.1);
}

.light-section .btn-secondary:hover {
  background: rgba(15, 23, 42, 0.06);
  border-color: var(--accent-blue);
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  background: rgba(6, 182, 212, 0.1);
  color: var(--accent-cyan);
  border: 1px solid rgba(6, 182, 212, 0.2);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  gap: 6px;
}

.light-section .badge {
  background: rgba(37, 99, 235, 0.08);
  color: var(--accent-blue);
  border: 1px solid rgba(37, 99, 235, 0.15);
}

/* Glow Background Effects */
.glow-blur {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: var(--gradient-glow);
  filter: blur(80px);
  z-index: 1;
  pointer-events: none;
  opacity: 0.8;
}

/* ==========================================================================
   5. Interactive Navigation Bar
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 0;
  z-index: 1000;
  transition: var(--transition-smooth);
}

.header.scrolled {
  padding: 12px 0;
  background: rgba(6, 9, 19, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.header.scrolled-light {
  background: rgba(248, 250, 252, 0.9);
  border-bottom: 1px solid rgba(15, 23, 42, 0.05);
}

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

.logo {
  font-size: 1.4rem;
  font-weight: 800;
  font-family: var(--font-heading);
  letter-spacing: -0.03em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo span {
  color: var(--accent-cyan);
}

.logo-dot {
  width: 6px;
  height: 6px;
  background: var(--gradient-accent);
  border-radius: 50%;
  display: inline-block;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 32px;
  align-items: center;
}

.nav-link {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.95rem;
  opacity: 0.8;
  position: relative;
}

.nav-link:hover, .nav-link.active {
  opacity: 1;
  color: var(--accent-cyan);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-accent);
  transition: var(--transition-smooth);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

/* Mobile Toggle Hamburger */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  outline: none;
}

.mobile-nav-toggle svg {
  width: 28px;
  height: 28px;
  stroke: var(--color-primary);
  fill: none;
}

body.light-theme .mobile-nav-toggle svg {
  stroke: var(--color-primary-inverse);
}

@media (max-width: 768px) {
  .mobile-nav-toggle {
    display: block;
    z-index: 1001;
  }
  
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(9, 14, 26, 0.98);
    backdrop-filter: blur(20px);
    border-left: 1px solid rgba(255, 255, 255, 0.05);
    flex-direction: column;
    justify-content: center;
    gap: 40px;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
  }

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

  .nav-links .btn {
    width: calc(100% - 48px);
  }
}

/* ==========================================================================
   6. Conversion elements (WhatsApp, Mobile sticky CTA, Exit-intent)
   ========================================================================== */
/* Floating WhatsApp Widget */
.floating-whatsapp {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  display: flex;
  align-items: center;
  background: #25d366;
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
  padding: 6px 12px 6px 6px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.floating-whatsapp:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45);
}

.floating-whatsapp .icon-container {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
}

.floating-whatsapp svg {
  width: 24px;
  height: 24px;
  fill: #25d366;
}

.floating-whatsapp span {
  color: white;
  font-weight: 600;
  font-size: 0.85rem;
  margin-left: 8px;
  font-family: var(--font-heading);
}

@media (max-width: 576px) {
  .floating-whatsapp {
    bottom: 80px; /* Offset to sit above Mobile sticky CTA */
    right: 20px;
    padding: 6px;
  }
  .floating-whatsapp span {
    display: none; /* Icon only on extra small mobile screens */
  }
}

/* Mobile Sticky CTA Bar */
.sticky-mobile-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(9, 14, 26, 0.95);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(6, 182, 212, 0.15);
  padding: 12px 20px;
  z-index: 998;
  display: none;
  justify-content: center;
  align-items: center;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.4);
}

@media (max-width: 768px) {
  .sticky-mobile-cta {
    display: flex;
  }
  
  body {
    padding-bottom: 70px; /* Offset space so content isn't covered */
  }
}

/* Exit-Intent Glassmorphic Popup */
.exit-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(4, 6, 14, 0.85);
  backdrop-filter: blur(8px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  padding: 20px;
}

.exit-popup-overlay.show {
  opacity: 1;
  pointer-events: auto;
}

.exit-popup-card {
  width: 100%;
  max-width: 550px;
  background: #0d1527;
  border: 1px solid var(--accent-cyan);
  border-radius: var(--border-radius-md);
  padding: 40px;
  box-shadow: 0 25px 50px -12px rgba(6, 182, 212, 0.25);
  transform: scale(0.9);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  text-align: center;
}

.exit-popup-overlay.show .exit-popup-card {
  transform: scale(1);
}

.exit-popup-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-secondary);
}

.exit-popup-close:hover {
  color: var(--accent-cyan);
}

/* ==========================================================================
   7. Form Inputs & Security States
   ========================================================================== */
.form-group {
  margin-bottom: 20px;
  text-align: left;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

body.light-theme .form-label {
  color: var(--color-primary-inverse);
}

.form-control {
  width: 100%;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius-sm);
  color: var(--color-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}

.form-control:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--accent-cyan);
  box-shadow: 0 0 15px rgba(6, 182, 212, 0.15);
}

body.light-theme .form-control {
  background: rgba(15, 23, 42, 0.01);
  border-color: rgba(15, 23, 42, 0.15);
  color: var(--color-primary-inverse);
}

body.light-theme .form-control:focus {
  background: #ffffff;
  border-color: var(--accent-blue);
  box-shadow: 0 0 15px rgba(37, 99, 235, 0.1);
}

/* Security Deco Honeypot */
.security-decoy {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  width: 0 !important;
  position: absolute !important;
  z-index: -100 !important;
}

/* Form States */
.form-message {
  padding: 14px 20px;
  border-radius: var(--border-radius-sm);
  margin-top: 15px;
  font-size: 0.9rem;
  display: none;
}

.form-message.success {
  display: block;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  color: #34d399;
}

.form-message.error {
  display: block;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.2);
  color: #f87171;
}

/* ==========================================================================
   8. Specific Page Styles & Component Grids
   ========================================================================== */
/* Hero Section Grid */
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 60px;
  min-height: calc(100vh - 80px);
  padding-top: 100px;
}

.hero-avatar {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-avatar::before {
  content: '';
  position: absolute;
  width: 320px;
  height: 320px;
  background: var(--gradient-accent);
  opacity: 0.15;
  filter: blur(40px);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: pulse-slow 8s infinite alternate;
}

.hero-image-wrapper {
  position: relative;
  z-index: 2;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  border: 2px solid rgba(6, 182, 212, 0.2);
  background: var(--bg-dark-card);
  box-shadow: var(--shadow-premium);
  max-width: 350px;
}

.hero-image-wrapper img {
  filter: grayscale(10%) contrast(105%);
}

.hero-badges-container {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 140px;
    gap: 40px;
  }
  .hero-avatar {
    order: -1; /* Image on top on tablets/mobile */
  }
  .hero-badges-container {
    justify-content: center;
  }
  .hero-image-wrapper {
    max-width: 280px;
  }
}

/* Qualifying Problem Cards */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.problem-card {
  background: rgba(239, 68, 68, 0.02);
  border: 1px solid rgba(239, 68, 68, 0.08);
}

.problem-card:hover {
  border-color: rgba(239, 68, 68, 0.25);
  box-shadow: 0 15px 35px -15px rgba(239, 68, 68, 0.1);
}

.problem-icon {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
  width: 48px;
  height: 48px;
  border-radius: var(--border-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

@media (max-width: 992px) {
  .problem-grid {
    grid-template-columns: 1fr;
  }
}

/* Service Grid Styles */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}

@media (max-width: 992px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 576px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

.service-icon {
  background: rgba(6, 182, 212, 0.1);
  color: var(--accent-cyan);
  width: 56px;
  height: 56px;
  border-radius: var(--border-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.light-section .service-icon {
  background: rgba(37, 99, 235, 0.08);
  color: var(--accent-blue);
}

/* Portfolio / Case Studies Grid */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-top: 50px;
}

.project-card {
  padding: 0; /* Clear default padding for structural visual edge-to-edge images */
}

.project-thumb {
  height: 240px;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  border-top-left-radius: inherit;
  border-top-right-radius: inherit;
}

.project-details {
  padding: 32px;
}

.project-meta-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 15px 0 20px 0;
}

.project-pill {
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  font-size: 0.75rem;
  color: var(--color-secondary);
}

.light-section .project-pill {
  background: rgba(15, 23, 42, 0.04);
  color: var(--color-secondary-inverse);
}

.project-add-new-card {
  border: 2px dashed rgba(6, 182, 212, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 480px;
}

.project-add-new-card:hover {
  border-color: var(--accent-cyan);
  background: rgba(6, 182, 212, 0.02);
}

@media (max-width: 768px) {
  .projects-grid {
    grid-template-columns: 1fr;
  }
}

/* Process Timelines */
.process-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-top: 50px;
  position: relative;
}

.process-step {
  position: relative;
  text-align: center;
}

.process-number {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--bg-dark-card);
  border: 2px solid var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--accent-cyan);
  margin: 0 auto 20px auto;
  box-shadow: var(--shadow-glow);
  z-index: 2;
  position: relative;
}

.light-section .process-number {
  background: var(--bg-light-card);
  border-color: var(--accent-blue);
  color: var(--accent-blue);
  box-shadow: 0 0 15px rgba(37, 99, 235, 0.15);
}

@media (max-width: 992px) {
  .process-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .process-step {
    display: flex;
    text-align: left;
    gap: 20px;
    align-items: flex-start;
  }
  .process-number {
    margin: 0;
    flex-shrink: 0;
  }
}

/* Testimonial Slider Carousel */
.testimonials-section {
  position: relative;
  overflow: hidden;
}

.slider-container {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 50px auto 0 auto;
}

.slides-wrapper {
  overflow: hidden;
  position: relative;
  min-height: 280px;
}

.slide-card {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateX(50px);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.slide-card.active {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.slide-card.prev {
  transform: translateX(-50px);
}

.testimonial-avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--gradient-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  color: white;
  margin-bottom: 24px;
  border: 2px solid var(--accent-cyan);
  box-shadow: var(--shadow-glow);
  font-size: 1.3rem;
}

.testimonial-body {
  font-size: 1.15rem;
  font-style: italic;
  margin-bottom: 24px;
  font-weight: 400;
}

.testimonial-author {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--accent-cyan);
}

.slider-controls {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 30px;
}

.slider-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.slider-btn:hover {
  background: var(--gradient-accent);
  border-color: var(--accent-cyan);
  color: white;
}

/* Stats / Results Counters */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.stat-card {
  text-align: center;
}

.stat-num {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--accent-cyan);
  line-height: 1;
  margin-bottom: 10px;
  font-family: var(--font-heading);
}

.light-section .stat-num {
  color: var(--accent-blue);
}

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Footer Section */
.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 60px 0 30px 0;
  background-color: #03060c;
  font-size: 0.9rem;
  color: var(--color-secondary);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.footer-desc {
  margin-top: 15px;
  line-height: 1.7;
}

.footer-title {
  color: var(--color-primary);
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a:hover {
  color: var(--accent-cyan);
  padding-left: 4px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
}

/* ==========================================================================
   9. Custom Animation Keyframes
   ========================================================================== */
@keyframes pulse-slow {
  0% { transform: translate(-50%, -50%) scale(1); opacity: 0.15; }
  100% { transform: translate(-50%, -50%) scale(1.15); opacity: 0.25; }
}

@keyframes glow-pulsate {
  0% { box-shadow: 0 0 10px rgba(6, 182, 212, 0.2); }
  100% { box-shadow: 0 0 25px rgba(6, 182, 212, 0.5); }
}

/* ==========================================================================
   10. Custom Mobile Responsive Refinements & Stacking Overrides
   ========================================================================== */

/* Fluid typography clamps or safe smaller sizes under 768px */
@media (max-width: 768px) {
  h1 { font-size: 2.0rem !important; }
  h2 { font-size: 1.6rem !important; }
  h3 { font-size: 1.3rem !important; }
  
  .container {
    padding: 0 16px !important; /* Maximizes horizontal real estate */
  }
  
  /* Enforce 16px size on form inputs to prevent iOS Safari auto-zoom layout distortion */
  .form-control, 
  select.form-control,
  textarea.form-control {
    font-size: 16px !important;
  }
}

@media (max-width: 480px) {
  h1 { font-size: 1.75rem !important; }
  h2 { font-size: 1.45rem !important; }
  h3 { font-size: 1.2rem !important; }
  
  .container {
    padding: 0 12px !important;
  }
}

/* Overriding inline grids to stack cleanly on tablets and mobile screens */
@media (max-width: 992px) {
  /* Targets container divs with inline styles matching display: grid */
  div[style*="display: grid"]:not(.process-grid),
  div[style*="display:grid"]:not(.process-grid) {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }
  
  /* Responsive double-column executive contact blocks */
  .contact-grid {
    grid-template-columns: 1fr !important;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  /* Targets form-group inner columns like full name and corporate email grids */
  .form-group[style*="display: grid"],
  .form-group[style*="display:grid"] {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
}

/* Double-Column Contact Layout */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: start;
}

.contact-info-panel {
  color: var(--color-primary-inverse);
}

body:not(.light-theme) .contact-info-panel {
  color: var(--color-primary);
}

.contact-image-wrapper {
  border-radius: var(--border-radius-md);
  overflow: hidden;
  border: 2px solid rgba(6, 182, 212, 0.2);
  box-shadow: var(--shadow-premium);
  margin-bottom: 24px;
}

.contact-image-wrapper img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

