/* 
  =========================================
  Madan Sharma | Personal Brand Website
  Design System & Stylesheet (Vanilla CSS)
  =========================================
*/

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

/* --- Custom Variables & Tokens --- */
:root {
  /* Colors */
  --bg-primary: #0B1220;
  --bg-secondary: #050912;
  --bg-tertiary: #0e1729;
  
  --accent-cyan: #00E5FF;
  --accent-cyan-glow: rgba(0, 229, 255, 0.4);
  --accent-purple: #7C3AED;
  --accent-purple-glow: rgba(124, 58, 237, 0.4);
  
  --text-primary: #F8FAFC;
  --text-secondary: #CBD5E1;
  --text-muted: #64748B;
  --text-accent: #00E5FF;
  
  /* Gradients */
  --grad-primary: linear-gradient(135deg, #00E5FF 0%, #7C3AED 100%);
  --grad-dark: linear-gradient(180deg, #0B1220 0%, #050912 100%);
  --grad-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
  --grad-cyan: linear-gradient(135deg, #00E5FF 0%, #00B0FF 100%);
  
  /* Glassmorphism Defaults */
  --glass-bg: rgba(15, 22, 38, 0.7);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-border-hover: rgba(0, 229, 255, 0.3);
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  
  /* Layout & Spacing */
  --max-width: 1200px;
  --header-height: 80px;
  
  /* Fonts */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
}

/* --- Base Resets --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: var(--bg-primary);
  background-image: radial-gradient(circle at 50% 0%, rgba(124, 58, 237, 0.15) 0%, transparent 50%),
                    radial-gradient(circle at 10% 40%, rgba(0, 229, 255, 0.08) 0%, transparent 40%),
                    radial-gradient(circle at 90% 80%, rgba(124, 58, 237, 0.08) 0%, transparent 40%);
  background-attachment: fixed;
  overflow-x: hidden;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
}

p {
  color: var(--text-secondary);
  font-weight: 400;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Scrollbar --- */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-secondary);
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 5px;
  border: 2px solid var(--bg-secondary);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--grad-primary);
}

/* --- Layout Utilities --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 8rem 0;
  position: relative;
  z-index: 10;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  align-items: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

/* --- Glassmorphism Card Utility --- */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  box-shadow: var(--glass-shadow);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.glass-card:hover {
  transform: translateY(-5px);
  border-color: var(--glass-border-hover);
  box-shadow: 0 12px 40px 0 rgba(0, 229, 255, 0.1);
}

/* --- Section Headers --- */
.section-title-wrap {
  text-align: center;
  margin-bottom: 4rem;
}

.section-tag {
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-cyan);
  display: inline-block;
  margin-bottom: 0.75rem;
  padding: 0.25rem 0.75rem;
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid rgba(0, 229, 255, 0.2);
  border-radius: 20px;
}

.section-title {
  font-size: 2.75rem;
  font-weight: 800;
  background: linear-gradient(135deg, #ffffff 30%, #a5b4fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* --- Button Styling --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 2rem;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--grad-cyan);
  color: #050912;
  border: none;
  box-shadow: 0 0 15px var(--accent-cyan-glow);
}

.btn-primary:hover {
  box-shadow: 0 0 25px var(--accent-cyan), 0 0 10px var(--accent-cyan-glow);
  transform: translateY(-2px);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--accent-cyan);
  box-shadow: 0 0 15px rgba(0, 229, 255, 0.15);
  transform: translateY(-2px);
}

.btn-accent {
  background: linear-gradient(135deg, #7C3AED 0%, #C084FC 100%);
  color: #ffffff;
  border: none;
  box-shadow: 0 0 15px var(--accent-purple-glow);
}

.btn-accent:hover {
  box-shadow: 0 0 25px #C084FC, 0 0 10px var(--accent-purple-glow);
  transform: translateY(-2px);
}

/* --- Sticky Header --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 999;
  background: rgba(11, 18, 32, 0.4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: all 0.3s ease;
}

.header.scrolled {
  background: rgba(5, 9, 18, 0.85);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
  height: 70px;
}

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

.logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo span {
  font-weight: 300;
  color: var(--text-primary);
  -webkit-text-fill-color: var(--text-primary);
}

.nav-menu {
  display: flex;
  gap: 2.2rem;
  list-style: none;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--grad-primary);
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover {
  color: var(--text-primary);
}

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

.nav-link.active {
  color: var(--accent-cyan);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Mobile Hamburger Menu */
.hamburger {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0.5rem;
  z-index: 1000;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--text-primary);
  margin: 5px 0;
  transition: all 0.3s ease;
}

/* --- Hero Section --- */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: var(--header-height);
  position: relative;
  overflow: hidden;
  z-index: 5;
}

#neural-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: all;
  opacity: 0.65;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  background: rgba(124, 58, 237, 0.1);
  border: 1px solid rgba(124, 58, 237, 0.3);
  border-radius: 30px;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 500;
  color: #C084FC;
  margin-bottom: 2rem;
  backdrop-filter: blur(10px);
  animation: pulseGlow 3s infinite ease-in-out;
}

.hero-badge span {
  width: 8px;
  height: 8px;
  background-color: var(--accent-cyan);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-cyan);
}

.hero-title {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #ffffff 40%, #a5b4fc 70%, #00e5ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--text-secondary);
  max-width: 750px;
  margin-bottom: 1.5rem;
  line-height: 1.4;
}

.hero-supporting {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin-bottom: 3rem;
  font-weight: 350;
  border-left: 2px solid var(--accent-cyan-glow);
  padding-left: 1.2rem;
  text-align: left;
}

.hero-actions {
  display: flex;
  gap: 1.5rem;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0.6;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-scroll-indicator span {
  width: 2px;
  height: 40px;
  background: linear-gradient(180deg, var(--accent-cyan) 0%, transparent 100%);
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 1px;
}

.hero-scroll-indicator span::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background: #fff;
  animation: scrollDown 2s infinite ease-in-out;
}

/* --- About Section --- */
.about-section {
  background-color: var(--bg-secondary);
}

.about-intro-card {
  padding: 3rem;
  margin-bottom: 4rem;
}

.about-intro-title {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.about-intro-title::before {
  content: '';
  display: block;
  width: 30px;
  height: 3px;
  background: var(--grad-primary);
}

.about-text {
  font-size: 1.25rem;
  line-height: 1.6;
  color: var(--text-secondary);
  font-weight: 300;
}

.focus-areas-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.focus-card {
  padding: 2rem;
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.focus-icon-wrap {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: rgba(124, 58, 237, 0.1);
  border: 1px solid rgba(124, 58, 237, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent-purple);
  transition: all 0.3s ease;
}

.focus-card:hover .focus-icon-wrap {
  background: rgba(0, 229, 255, 0.1);
  border-color: rgba(0, 229, 255, 0.3);
  color: var(--accent-cyan);
  box-shadow: 0 0 15px rgba(0, 229, 255, 0.2);
}

.focus-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  transition: color 0.3s ease;
}

.focus-card:hover h3 {
  color: var(--accent-cyan);
}

.focus-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* --- Experience Section --- */
.experience-section {
  background-color: var(--bg-primary);
}

.timeline-layout {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 0;
}

.timeline-layout::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: linear-gradient(180deg, var(--accent-purple) 0%, var(--accent-cyan) 50%, var(--accent-purple) 100%);
  transform: translateX(-50%);
  opacity: 0.25;
}

.timeline-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
  margin-bottom: 5rem;
  position: relative;
}

.timeline-item:last-child {
  margin-bottom: 2rem;
}

.timeline-dot {
  position: absolute;
  left: 50%;
  top: 25px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--bg-primary);
  border: 3px solid var(--accent-purple);
  transform: translateX(-50%);
  z-index: 5;
  transition: all 0.3s ease;
  box-shadow: 0 0 10px rgba(124, 58, 237, 0.5);
}

.timeline-item:nth-child(even) .timeline-dot {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.5);
}

.timeline-item:hover .timeline-dot {
  transform: translateX(-50%) scale(1.3);
  background: #fff;
}

.timeline-content {
  width: 44%;
  padding: 2rem;
  position: relative;
}

.timeline-item:nth-child(odd) .timeline-content {
  text-align: right;
  order: 1;
}

.timeline-item:nth-child(even) .timeline-content {
  text-align: left;
  order: 3;
}

.timeline-empty {
  width: 44%;
  order: 2;
}

.timeline-date {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent-purple);
  margin-bottom: 0.5rem;
}

.timeline-item:nth-child(even) .timeline-date {
  color: var(--accent-cyan);
}

.timeline-content h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.timeline-content p {
  color: var(--text-secondary);
  font-size: 1rem;
  margin-bottom: 1rem;
}

/* Brands Logo Grid */
.brands-wrap {
  margin-top: 6rem;
  text-align: center;
}

.brands-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}

.brands-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
}

.brand-badge {
  padding: 1rem 2rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-secondary);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  cursor: default;
}

.brand-badge:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(0, 229, 255, 0.2);
  color: var(--accent-cyan);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 229, 255, 0.05);
}

/* Timeline Industries Grid */
.industries-wrap {
  margin-top: 5rem;
  text-align: center;
}

.industries-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  max-width: 800px;
  margin: 0 auto;
}

.industry-tag {
  padding: 0.6rem 1.4rem;
  background: rgba(124, 58, 237, 0.05);
  border: 1px solid rgba(124, 58, 237, 0.15);
  border-radius: 30px;
  font-size: 0.95rem;
  color: var(--text-secondary);
  transition: all 0.3s ease;
  cursor: default;
}

.industry-tag:hover {
  background: rgba(124, 58, 237, 0.12);
  border-color: var(--accent-purple);
  color: #fff;
  transform: scale(1.05);
}

/* --- Services Section --- */
.services-section {
  background-color: var(--bg-secondary);
}

.service-card {
  padding: 3rem 2rem;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-icon-wrap {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.15) 0%, rgba(124, 58, 237, 0.05) 100%);
  border: 1px solid rgba(0, 229, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  margin-bottom: 2rem;
  font-size: 1.5rem;
  transition: all 0.3s ease;
}

.service-card:hover .service-icon-wrap {
  background: var(--grad-primary);
  color: #050912;
  border-color: transparent;
  transform: rotate(5deg) scale(1.05);
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.3);
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.service-card p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.6;
}

/* --- Case Studies Section (Impact Metrics) --- */
.case-studies-section {
  background-color: var(--bg-primary);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.metric-card {
  padding: 3.5rem 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.metric-number-wrap {
  position: relative;
  display: inline-block;
  margin-bottom: 1rem;
}

.metric-number {
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 800;
  line-height: 1;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.metric-desc {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.metric-subdesc {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* --- Thought Leadership Section --- */
.thought-leadership-section {
  background-color: var(--bg-secondary);
}

.categories-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 3.5rem;
}

.category-tab {
  padding: 0.7rem 1.5rem;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--font-heading);
  color: var(--text-secondary);
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.category-tab:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(0, 229, 255, 0.3);
  color: #fff;
}

.category-tab.active {
  background: var(--grad-cyan);
  color: #050912;
  border-color: transparent;
  box-shadow: 0 0 15px var(--accent-cyan-glow);
  font-weight: 600;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  min-height: 380px;
  transition: opacity 0.3s ease;
}

.article-card {
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.article-category {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--accent-purple);
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.article-card h3 {
  font-size: 1.35rem;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.article-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  flex-grow: 1;
}

.article-link {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--accent-cyan);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.3s ease;
}

.article-link svg {
  transition: transform 0.3s ease;
}

.article-card:hover .article-link svg {
  transform: translateX(5px);
}

/* --- Testimonials Section --- */
.testimonials-section {
  background-color: var(--bg-primary);
}

.testimonials-carousel-container {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  padding: 0 3rem;
}

.carousel-viewport {
  overflow: hidden;
  position: relative;
  width: 100%;
  min-height: 320px;
}

.carousel-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  width: 100%;
}

.testimonial-slide {
  min-width: 100%;
  padding: 1rem;
  box-sizing: border-box;
  opacity: 0.3;
  transform: scale(0.95);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.testimonial-slide.active {
  opacity: 1;
  transform: scale(1);
}

.testimonial-content-card {
  padding: 3rem;
  text-align: center;
  position: relative;
}

.quote-icon {
  font-size: 4rem;
  color: rgba(124, 58, 237, 0.15);
  line-height: 1;
  position: absolute;
  top: 1rem;
  left: 2rem;
  font-family: serif;
}

.testimonial-text {
  font-size: 1.35rem;
  font-style: italic;
  font-weight: 300;
  color: var(--text-primary);
  line-height: 1.6;
  margin-bottom: 2rem;
  position: relative;
  z-index: 2;
}

.testimonial-author-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.author-name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--accent-cyan);
}

.author-role {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

/* Carousel Nav Controls */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.carousel-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}

.carousel-btn-prev {
  left: -1rem;
}

.carousel-btn-next {
  right: -1rem;
}

.carousel-indicators {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 2rem;
}

.indicator-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  cursor: pointer;
  transition: all 0.3s ease;
}

.indicator-dot:hover {
  background: rgba(255, 255, 255, 0.35);
}

.indicator-dot.active {
  background: var(--accent-cyan);
  width: 25px;
  border-radius: 5px;
  box-shadow: 0 0 8px var(--accent-cyan-glow);
}

/* --- Contact Section --- */
.contact-section {
  background-color: var(--bg-secondary);
}

.contact-layout {
  display: grid;
  grid-template-columns: 4fr 5fr;
  gap: 4rem;
  align-items: flex-start;
}

.contact-info h3 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

.contact-info p {
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
  color: var(--text-secondary);
}

.contact-detail-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-detail-item {
  display: flex;
  gap: 1.2rem;
  align-items: center;
}

.contact-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(124, 58, 237, 0.1);
  color: var(--accent-purple);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(124, 58, 237, 0.2);
}

.contact-detail-item:nth-child(even) .contact-icon-wrap {
  background: rgba(0, 229, 255, 0.1);
  color: var(--accent-cyan);
  border-color: rgba(0, 229, 255, 0.2);
}

.contact-detail-item h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin-bottom: 0.15rem;
}

.contact-detail-item a,
.contact-detail-item span {
  font-size: 1.1rem;
  color: var(--text-primary);
  font-weight: 500;
}

.contact-detail-item a:hover {
  color: var(--accent-cyan);
}

.contact-form-card {
  padding: 3rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.form-input {
  width: 100%;
  background: rgba(5, 9, 18, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 0.9rem 1.2rem;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.form-input:focus {
  outline: none;
  border-color: var(--accent-cyan);
  background: rgba(5, 9, 18, 0.85);
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.15);
}

textarea.form-input {
  resize: vertical;
  min-height: 120px;
}

.submit-btn-wrap {
  margin-top: 2rem;
}

.submit-btn {
  width: 100%;
}

/* --- Call Booking Modal --- */
.booking-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.booking-modal.active {
  opacity: 1;
  pointer-events: all;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(5, 9, 18, 0.85);
  backdrop-filter: blur(8px);
}

.modal-container {
  width: 90%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  z-index: 10;
  padding: 2.2rem 2rem;
  transform: scale(0.9);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.booking-modal.active .modal-container {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
}

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

.modal-header {
  margin-bottom: 2rem;
  text-align: center;
}

.modal-header h3 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.modal-header p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Custom Interactive Date Grid Mockup */
.calendar-mockup {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 1.2rem;
  background: rgba(5, 9, 18, 0.4);
  margin-bottom: 1.5rem;
}

.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.calendar-month {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.4rem;
  text-align: center;
}

.calendar-day-name {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.calendar-day {
  padding: 0.5rem 0;
  border-radius: 6px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.calendar-day.inactive {
  color: rgba(255, 255, 255, 0.15);
  cursor: not-allowed;
}

.calendar-day.active-day {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.calendar-day.active-day:hover {
  background: rgba(0, 229, 255, 0.1);
  color: var(--accent-cyan);
  border-color: var(--accent-cyan);
}

.calendar-day.selected {
  background: var(--grad-cyan) !important;
  color: #050912 !important;
  font-weight: 700;
  box-shadow: 0 0 10px var(--accent-cyan-glow);
}

/* Time Slots Mockup */
.time-slots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
  margin-bottom: 2rem;
}

.time-slot {
  padding: 0.6rem;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(5, 9, 18, 0.4);
  text-align: center;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.time-slot:hover {
  border-color: var(--accent-purple);
  color: #C084FC;
  background: rgba(124, 58, 237, 0.08);
}

.time-slot.selected {
  background: linear-gradient(135deg, #7C3AED 0%, #C084FC 100%);
  color: #fff;
  font-weight: 600;
  border-color: transparent;
  box-shadow: 0 0 10px var(--accent-purple-glow);
}

/* --- Feedback Success Popup --- */
.feedback-popup {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 100001;
  padding: 1.2rem 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transform: translateY(150%);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.feedback-popup.active {
  transform: translateY(0);
}

.feedback-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #050912;
}

.feedback-message {
  font-weight: 500;
  font-size: 0.95rem;
}

/* --- Footer --- */
.footer {
  background-color: var(--bg-secondary);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding: 5rem 0 3rem 0;
  position: relative;
  z-index: 10;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 4rem;
}

.footer-brand {
  max-width: 400px;
}

.footer-logo {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1.2rem;
}

.footer-tagline {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.footer-socials {
  display: flex;
  gap: 1.2rem;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all 0.3s ease;
}

.social-link:hover {
  background: var(--grad-cyan);
  color: #050912;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 0 10px var(--accent-cyan-glow);
}

.footer-links-wrap {
  display: flex;
  gap: 6rem;
}

.footer-links-col h4 {
  font-size: 0.9rem;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  margin-bottom: 1.5rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.footer-link {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.footer-link:hover {
  color: var(--accent-cyan);
  padding-left: 3px;
}

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

.footer-copy {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-back-to-top {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.3s ease;
}

.footer-back-to-top:hover {
  color: var(--accent-cyan);
}

/* --- Scroll Animation Reveals --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Delay modifiers */
.reveal-delay-1 { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.3s; }
.reveal-delay-3 { transition-delay: 0.45s; }

/* --- CSS Keyframe Animations --- */
@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 0 10px rgba(124, 58, 237, 0.2);
  }
  50% {
    box-shadow: 0 0 20px rgba(124, 58, 237, 0.5);
    border-color: rgba(124, 58, 237, 0.5);
  }
}

@keyframes scrollDown {
  0% {
    transform: translateY(-100%);
  }
  50% {
    transform: translateY(100%);
  }
  100% {
    transform: translateY(-100%);
  }
}

/* --- Responsive Media Queries --- */

@media (max-width: 1024px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .hero-title {
    font-size: 3.2rem;
  }
  
  .footer-links-wrap {
    gap: 4rem;
  }
}

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

  .grid-2 {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .grid-3, .grid-4 {
    grid-template-columns: 1fr;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.25rem;
  }
  
  .hero-supporting {
    font-size: 1rem;
    margin-bottom: 2.5rem;
  }
  
  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 1rem;
  }
  
  .hero-actions .btn {
    width: 100%;
  }

  /* Hamburger & Mobile Menu Nav */
  .hamburger {
    display: block;
  }
  
  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: -100%;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background: var(--bg-primary);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    transition: left 0.4s ease;
    z-index: 998;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .header-cta {
    display: none;
  }
  
  .focus-areas-container {
    grid-template-columns: 1fr;
  }
  
  /* Timeline Responsive */
  .timeline-layout::before {
    left: 20px;
  }
  
  .timeline-item {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 3rem;
  }
  
  .timeline-content {
    width: 100%;
    padding-left: 3rem;
    text-align: left !important;
  }
  
  .timeline-dot {
    left: 20px;
    top: 5px;
  }
  
  .timeline-empty {
    display: none;
  }
  
  .metrics-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .articles-grid {
    grid-template-columns: 1fr;
  }
  
  .testimonials-carousel-container {
    padding: 0 1rem;
  }
  
  .carousel-btn {
    display: none;
  }
  
  .footer-top {
    flex-direction: column;
    gap: 3rem;
  }
  
  .footer-links-wrap {
    flex-direction: column;
    gap: 2.5rem;
    width: 100%;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }

  /* Booking & General Modal Mobile Overrides */
  .modal-container {
    padding: 1.5rem 1.2rem;
    width: 95%;
    max-height: 95vh;
  }
  
  .modal-header {
    margin-bottom: 1.2rem;
  }
  
  .modal-header h3 {
    font-size: 1.35rem;
  }
  
  .calendar-mockup {
    padding: 0.8rem;
    margin-bottom: 1rem;
  }
  
  .calendar-grid {
    gap: 0.25rem;
  }
  
  .calendar-day {
    padding: 0.4rem 0;
    font-size: 0.75rem;
  }
  
  .time-slots {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.4rem;
    margin-bottom: 1.2rem;
  }
  
  .time-slot {
    padding: 0.45rem;
    font-size: 0.75rem;
  }
}
