/* ===================================================================
   BRIHASU EDUTECH PRIVATE LIMITED - MODERN TECH THEME STYLESHEET
   Location: Tirupati, Andhra Pradesh, India
   Pillars: Software Development | AI Solutions | Placement Training | CRT | Workshops
   =================================================================== */

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

:root {
  /* Color Palette */
  --bg-dark: #080c16;
  --bg-card: rgba(18, 24, 40, 0.75);
  --bg-card-hover: rgba(28, 38, 64, 0.85);
  --bg-card-solid: #0f1629;
  --bg-surface: #111a30;
  
  --primary: #6366f1;
  --primary-glow: rgba(99, 102, 241, 0.35);
  --primary-light: #818cf8;
  --secondary: #06b6d4;
  --secondary-glow: rgba(6, 182, 212, 0.35);
  --accent: #ec4899;
  --accent-purple: #a855f7;
  --success: #10b981;
  --warning: #f59e0b;
  
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --border-color: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(99, 102, 241, 0.3);

  /* Gradients */
  --grad-primary: linear-gradient(135deg, #6366f1 0%, #a855f7 50%, #ec4899 100%);
  --grad-cyan: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);
  --grad-accent: linear-gradient(135deg, #f43f5e 0%, #fb923c 100%);
  --grad-emerald: linear-gradient(135deg, #10b981 0%, #06b6d4 100%);
  --grad-dark-card: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);

  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Layout */
  --container-max: 1240px;
  --nav-height: 84px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-card: 0 20px 40px -15px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 35px -5px rgba(99, 102, 241, 0.3);
}

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

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* Background Grids & Ambient Glow */
.bg-mesh {
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image: 
    radial-gradient(circle at 15% 20%, rgba(99, 102, 241, 0.12) 0%, transparent 40%),
    radial-gradient(circle at 85% 30%, rgba(6, 182, 212, 0.1) 0%, transparent 40%),
    radial-gradient(circle at 50% 80%, rgba(168, 85, 247, 0.08) 0%, transparent 50%),
    radial-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: auto, auto, auto, 36px 36px;
  pointer-events: none;
}

#canvas-particles {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

/* Typography Utility */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-main);
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.02em;
}

p {
  color: var(--text-muted);
}

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

ul {
  list-style: none;
}

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

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

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

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

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

/* Section Header Styles */
.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.5rem auto;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary-light);
  margin-bottom: 1.2rem;
}

.section-tag .pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary-light);
  box-shadow: 0 0 10px var(--primary-light);
  animation: pulse-ring 2s infinite ease-out;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.85rem);
  margin-bottom: 1rem;
}

.section-description {
  font-size: 1.1rem;
  color: var(--text-muted);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.85rem 1.75rem;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition-normal);
  border: 1px solid transparent;
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--grad-primary);
  color: #fff;
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(99, 102, 241, 0.6);
  color: #fff;
}

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

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
  color: #fff;
}

.btn-cyan {
  background: var(--grad-cyan);
  color: #080c16;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(6, 182, 212, 0.35);
}

.btn-cyan:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(6, 182, 212, 0.55);
}

.btn-outline {
  background: transparent;
  color: var(--text-main);
  border: 1px solid var(--border-color);
}

.btn-outline:hover {
  border-color: var(--primary);
  background: rgba(99, 102, 241, 0.1);
  color: #fff;
}

.btn-sm {
  padding: 0.55rem 1.2rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 1.05rem 2.2rem;
  font-size: 1.05rem;
}

/* Glassmorphism Cards */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  position: relative;
  transition: var(--transition-normal);
  box-shadow: var(--shadow-card);
}

.glass-card:hover {
  border-color: rgba(99, 102, 241, 0.4);
  transform: translateY(-6px);
  box-shadow: 0 25px 50px -15px rgba(0, 0, 0, 0.7), var(--shadow-glow);
}

/* ===================================================================
   NAVIGATION BAR
   =================================================================== */
.navbar-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 1000;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
}

.navbar-wrapper.scrolled {
  background: rgba(8, 12, 22, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  height: 74px;
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-family: var(--font-heading);
  font-size: 1.55rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}

.brand-logo-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  background: var(--grad-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.25rem;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.5);
  position: relative;
}

.brand-logo-icon::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: calc(var(--radius-md) + 2px);
  background: var(--grad-primary);
  z-index: -1;
  opacity: 0.5;
  filter: blur(4px);
}

.brand-logo span.tag-corp {
  font-size: 0.65rem;
  padding: 0.15rem 0.5rem;
  background: rgba(99, 102, 241, 0.2);
  border: 1px solid rgba(99, 102, 241, 0.4);
  border-radius: var(--radius-full);
  color: var(--secondary);
  font-family: var(--font-body);
  font-weight: 600;
  text-transform: uppercase;
  margin-left: 0.2rem;
  vertical-align: middle;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.2rem;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding: 0.4rem 0;
  transition: var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
  color: #fff;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--grad-primary);
  border-radius: var(--radius-full);
  box-shadow: 0 0 10px var(--primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Mobile Toggle */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.6rem;
  cursor: pointer;
  padding: 0.5rem;
}

/* ===================================================================
   HERO SECTION
   =================================================================== */
.hero-section {
  padding-top: calc(var(--nav-height) + 3.5rem);
  padding-bottom: 5.5rem;
  position: relative;
  overflow: hidden;
}

.hero-content {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 3.5rem;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.45rem 1.1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: #e2e8f0;
  margin-bottom: 1.5rem;
}

.hero-pill .loc-badge {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--secondary);
  font-weight: 700;
}

.hero-title {
  font-size: clamp(2.5rem, 5.2vw, 4.1rem);
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 1.4rem;
}

.hero-lead {
  font-size: 1.18rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2.2rem;
  max-width: 600px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem;
  margin-bottom: 2.8rem;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
}

.metric-item h3 {
  font-size: 2.2rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.2rem;
}

.metric-item p {
  font-size: 0.88rem;
  color: var(--text-dim);
  font-weight: 500;
}

/* Hero Right Visual: 3D Animated Card Stack */
.hero-visual-card {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.tech-globe-container {
  width: 100%;
  max-width: 480px;
  position: relative;
}

.main-code-card {
  background: rgba(15, 22, 41, 0.85);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(99, 102, 241, 0.2);
  backdrop-filter: blur(20px);
  position: relative;
  z-index: 2;
}

.card-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.2rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.window-dots {
  display: flex;
  gap: 6px;
}

.window-dots span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.window-dots span:nth-child(1) { background: #ef4444; }
.window-dots span:nth-child(2) { background: #f59e0b; }
.window-dots span:nth-child(3) { background: #10b981; }

.tech-badge-chip {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--secondary);
  background: rgba(6, 182, 212, 0.12);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
}

.code-preview {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  line-height: 1.7;
  color: #cbd5e1;
}

.code-preview .keyword { color: #ec4899; }
.code-preview .fn { color: #60a5fa; }
.code-preview .string { color: #34d399; }
.code-preview .comment { color: #64748b; font-style: italic; }

/* Floating Micro Badges */
.floating-badge {
  position: absolute;
  padding: 0.85rem 1.25rem;
  background: rgba(18, 24, 40, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
  border-radius: var(--radius-md);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  z-index: 3;
}

.floating-badge.badge-1 {
  top: -20px;
  right: -20px;
  animation: float-slow 4s ease-in-out infinite;
}

.floating-badge.badge-2 {
  bottom: -25px;
  left: -20px;
  animation: float-slow 5s ease-in-out infinite reverse;
}

.badge-icon-box {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.badge-icon-box.ai { background: rgba(168, 85, 247, 0.2); color: var(--accent-purple); }
.badge-icon-box.place { background: rgba(16, 185, 129, 0.2); color: var(--success); }

.badge-text-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: #fff;
}

.badge-text-sub {
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* ===================================================================
   TRUST LOGOS / TECH STRIP
   =================================================================== */
.trust-strip {
  padding: 2.5rem 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  background: rgba(15, 22, 41, 0.4);
}

.trust-title {
  text-align: center;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.logos-scroller {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
  opacity: 0.75;
}

.tech-tag-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: var(--transition-fast);
}

.tech-tag-item:hover {
  color: #fff;
  transform: translateY(-2px);
}

.tech-tag-item i {
  font-size: 1.4rem;
  color: var(--primary-light);
}

/* ===================================================================
   SERVICES GRID (HOME / SERVICES PAGE)
   =================================================================== */
.services-section {
  padding: 6.5rem 0;
  position: relative;
}

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

.service-card {
  background: var(--bg-card);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  display: flex;
  flex-direction: column;
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--grad-primary);
  opacity: 0;
  transition: var(--transition-normal);
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(99, 102, 241, 0.4);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6), 0 0 30px rgba(99, 102, 241, 0.2);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card-icon {
  width: 62px;
  height: 62px;
  border-radius: var(--radius-md);
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  color: var(--primary-light);
  margin-bottom: 1.5rem;
  transition: var(--transition-fast);
}

.service-card:hover .service-card-icon {
  background: var(--grad-primary);
  color: #fff;
  transform: scale(1.08) rotate(3deg);
  box-shadow: 0 10px 25px rgba(99, 102, 241, 0.4);
}

.service-card-title {
  font-size: 1.45rem;
  margin-bottom: 0.85rem;
}

.service-card-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.service-features-list {
  margin-bottom: 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.service-features-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: #cbd5e1;
}

.service-features-list li i {
  color: var(--secondary);
  font-size: 0.8rem;
}

.service-card-footer {
  margin-top: auto;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.service-link {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary-light);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.service-link:hover {
  color: #fff;
  gap: 0.75rem;
}

/* ===================================================================
   WHY CHOOSE BRIHASU / FEATURE HIGHLIGHTS
   =================================================================== */
.why-section {
  padding: 6.5rem 0;
  background: rgba(12, 17, 32, 0.6);
  position: relative;
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
}

.why-feature-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

.why-feature-item {
  display: flex;
  gap: 1.2rem;
  background: var(--bg-card);
  padding: 1.35rem 1.6rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  transition: var(--transition-fast);
}

.why-feature-item:hover {
  border-color: rgba(99, 102, 241, 0.35);
  transform: translateX(6px);
  background: var(--bg-card-hover);
}

.why-icon-box {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: var(--radius-sm);
  background: rgba(6, 182, 212, 0.12);
  border: 1px solid rgba(6, 182, 212, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary);
  font-size: 1.3rem;
}

.why-feature-item:nth-child(2) .why-icon-box {
  background: rgba(236, 72, 153, 0.12);
  border-color: rgba(236, 72, 153, 0.3);
  color: var(--accent);
}

.why-feature-item:nth-child(3) .why-icon-box {
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.3);
  color: var(--success);
}

.why-feature-item:nth-child(4) .why-icon-box {
  background: rgba(168, 85, 247, 0.12);
  border-color: rgba(168, 85, 247, 0.3);
  color: var(--accent-purple);
}

.why-feature-text h4 {
  font-size: 1.15rem;
  margin-bottom: 0.3rem;
}

.why-feature-text p {
  font-size: 0.9rem;
}

/* TIRUPATI CITY HIGHLIGHT CARD */
.tirupati-card {
  position: relative;
  background: linear-gradient(145deg, rgba(20, 28, 50, 0.8) 0%, rgba(13, 19, 36, 0.95) 100%);
  border: 1px solid rgba(99, 102, 241, 0.25);
  border-radius: var(--radius-lg);
  padding: 2.8rem;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
  overflow: hidden;
}

.tirupati-card::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.25) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.tirupati-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  background: rgba(6, 182, 212, 0.12);
  border: 1px solid rgba(6, 182, 212, 0.3);
  border-radius: var(--radius-full);
  color: var(--secondary);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.tirupati-title {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.tirupati-lead {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.68;
  margin-bottom: 2rem;
}

.tirupati-stats-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.tirupati-stat-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 1.2rem;
}

.tirupati-stat-box .num {
  font-size: 1.8rem;
  font-weight: 800;
  color: #fff;
  font-family: var(--font-heading);
}

.tirupati-stat-box .lbl {
  font-size: 0.82rem;
  color: var(--text-dim);
}

/* ===================================================================
   TESTIMONIALS SECTION & CARDS
   =================================================================== */
.testimonials-section {
  padding: 6.5rem 0;
  position: relative;
}

.testimonials-filter-tabs {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 0.65rem 1.4rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
}

.tab-btn.active,
.tab-btn:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

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

.testimonial-card {
  background: var(--bg-card);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  display: flex;
  flex-direction: column;
  transition: var(--transition-normal);
  position: relative;
}

.testimonial-card:hover {
  transform: translateY(-6px);
  border-color: rgba(99, 102, 241, 0.35);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6);
}

.stars-rating {
  display: flex;
  gap: 0.25rem;
  color: #fbbf24;
  font-size: 0.95rem;
  margin-bottom: 1.2rem;
}

.testimonial-quote {
  font-size: 0.98rem;
  line-height: 1.7;
  color: #cbd5e1;
  font-style: italic;
  margin-bottom: 1.8rem;
  flex-grow: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--grad-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #fff;
  font-size: 1.1rem;
  flex-shrink: 0;
  border: 2px solid rgba(255, 255, 255, 0.15);
}

.author-info h5 {
  font-size: 1.05rem;
  margin-bottom: 0.15rem;
}

.author-info p {
  font-size: 0.8rem;
  color: var(--secondary);
  font-weight: 600;
}

.author-info .company-tag {
  font-size: 0.72rem;
  color: var(--text-dim);
}

/* ===================================================================
   CTA CALLOUT BANNER
   =================================================================== */
.cta-section {
  padding: 5rem 0;
  position: relative;
}

.cta-banner {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.2) 0%, rgba(168, 85, 247, 0.15) 50%, rgba(6, 182, 212, 0.2) 100%),
              radial-gradient(ellipse at 50% 50%, rgba(15, 22, 41, 0.9) 0%, rgba(8, 12, 22, 0.98) 100%);
  border: 1px solid rgba(99, 102, 241, 0.35);
  border-radius: var(--radius-lg);
  padding: 4.5rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), 0 0 50px rgba(99, 102, 241, 0.25);
}

.cta-banner h2 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  margin-bottom: 1.2rem;
}

.cta-banner p {
  font-size: 1.15rem;
  max-width: 680px;
  margin: 0 auto 2.4rem auto;
  color: #cbd5e1;
}

.cta-banner .cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}

/* ===================================================================
   FOOTER
   =================================================================== */
.site-footer {
  background: #050811;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 5rem 0 2rem 0;
  position: relative;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: 3.5rem;
  margin-bottom: 4rem;
}

.footer-about p {
  font-size: 0.92rem;
  line-height: 1.7;
  margin-top: 1.2rem;
  margin-bottom: 1.8rem;
  max-width: 340px;
}

.social-links {
  display: flex;
  gap: 0.8rem;
}

.social-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: var(--transition-fast);
}

.social-btn:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(99, 102, 241, 0.4);
}

.footer-col h4 {
  font-size: 1.15rem;
  margin-bottom: 1.4rem;
  color: #fff;
  position: relative;
  display: inline-block;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 28px;
  height: 2px;
  background: var(--primary);
  border-radius: var(--radius-full);
}

.footer-links-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links-list a {
  color: var(--text-muted);
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition-fast);
}

.footer-links-list a:hover {
  color: #fff;
  transform: translateX(4px);
}

.footer-links-list a i {
  font-size: 0.75rem;
  color: var(--primary-light);
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.contact-item {
  display: flex;
  gap: 0.85rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.contact-item i {
  color: var(--secondary);
  font-size: 1.1rem;
  margin-top: 0.2rem;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--text-dim);
}

/* ===================================================================
   INNER PAGE HERO HEADERS (ABOUT, SERVICES, TESTIMONIALS, CONTACT)
   =================================================================== */
.page-header-section {
  padding-top: calc(var(--nav-height) + 4rem);
  padding-bottom: 4.5rem;
  text-align: center;
  position: relative;
  background: radial-gradient(circle at 50% 30%, rgba(99, 102, 241, 0.15) 0%, transparent 60%);
  border-bottom: 1px solid var(--border-color);
}

.page-header-section .page-title {
  font-size: clamp(2.5rem, 4.5vw, 3.8rem);
  margin-bottom: 1rem;
}

.page-header-section .page-subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 1.5rem auto;
}

.breadcrumbs {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.04);
  padding: 0.4rem 1.1rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-color);
}

.breadcrumbs a {
  color: var(--primary-light);
}

/* ===================================================================
   CONTACT PAGE SPECIFIC STYLES
   =================================================================== */
.contact-section {
  padding: 5.5rem 0;
}

.contact-layout-grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 3.5rem;
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.contact-card {
  display: flex;
  gap: 1.2rem;
  background: var(--bg-card);
  padding: 1.6rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  backdrop-filter: blur(14px);
  transition: var(--transition-fast);
}

.contact-card:hover {
  border-color: rgba(99, 102, 241, 0.4);
  transform: translateY(-3px);
}

.contact-icon-bubble {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid rgba(99, 102, 241, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-light);
  font-size: 1.4rem;
  flex-shrink: 0;
}

.contact-card-content h4 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.contact-card-content p {
  font-size: 0.9rem;
  line-height: 1.5;
}

.contact-card-content a {
  color: var(--secondary);
  font-weight: 600;
}

/* CONTACT FORM */
.contact-form-box {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.8rem;
  box-shadow: var(--shadow-card);
}

.form-group-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
  margin-bottom: 1.4rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.4rem;
}

.form-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: #e2e8f0;
}

.form-control {
  width: 100%;
  padding: 0.85rem 1.15rem;
  background: rgba(15, 22, 41, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition-fast);
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 15px rgba(99, 102, 241, 0.3);
  background: rgba(15, 22, 41, 0.95);
}

textarea.form-control {
  resize: vertical;
  min-height: 130px;
}

/* ACCORDION (FAQ) */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition-fast);
}

.faq-header {
  padding: 1.25rem 1.6rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
}

.faq-header h4 {
  font-size: 1.05rem;
  font-weight: 600;
}

.faq-icon {
  font-size: 1.1rem;
  color: var(--primary-light);
  transition: transform 0.3s ease;
}

.faq-body {
  padding: 0 1.6rem;
  max-height: 0;
  overflow: hidden;
  transition: all 0.35s ease;
}

.faq-body p {
  padding-bottom: 1.4rem;
  font-size: 0.92rem;
  line-height: 1.7;
}

.faq-item.active {
  border-color: rgba(99, 102, 241, 0.4);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-item.active .faq-body {
  max-height: 400px;
}

/* BACK TO TOP & QUICK ACTION BUTTONS */
.floating-actions {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  z-index: 999;
}

.float-action-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.2rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
  cursor: pointer;
  transition: var(--transition-normal);
  border: none;
}

.float-whatsapp {
  background: #25d366;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
}

.float-whatsapp:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
}

.float-back-top {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  opacity: 0;
  visibility: hidden;
}

.float-back-top.visible {
  opacity: 1;
  visibility: visible;
}

.float-back-top:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  transform: translateY(-3px);
}

/* TOAST NOTIFICATION */
.toast-notification {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: rgba(16, 185, 129, 0.95);
  backdrop-filter: blur(12px);
  color: #fff;
  padding: 1rem 2rem;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-family: var(--font-heading);
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(16, 185, 129, 0.4);
  z-index: 10000;
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.toast-notification.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* ===================================================================
   RESPONSIVE MEDIA QUERIES
   =================================================================== */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-lead {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-buttons {
    justify-content: center;
  }

  .hero-metrics {
    max-width: 550px;
    margin: 0 auto;
  }
  
  .services-grid,
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .why-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-layout-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  .mobile-nav-toggle {
    display: block;
  }
  
  .nav-links {
    position: fixed;
    top: var(--nav-height);
    left: -100%;
    width: 100%;
    height: calc(100vh - var(--nav-height));
    background: rgba(8, 12, 22, 0.98);
    backdrop-filter: blur(25px);
    flex-direction: column;
    justify-content: flex-start;
    padding: 3rem 2rem;
    gap: 1.8rem;
    transition: left 0.35s ease;
    border-top: 1px solid var(--border-color);
  }
  
  .nav-links.active {
    left: 0;
  }
  
  .nav-link {
    font-size: 1.25rem;
  }
  
  .nav-actions .btn {
    display: none;
  }

  .services-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

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

  .metric-item h3 {
    font-size: 1.6rem;
  }

  .form-group-row {
    grid-template-columns: 1fr;
  }
  
  .footer-top {
    grid-template-columns: 1fr;
  }
  
  .tirupati-stats-row {
    grid-template-columns: 1fr;
  }

  .cta-banner {
    padding: 3rem 1.5rem;
  }
}

/* ===================================================================
   MODAL & QUICK INQUIRY POPUP
   =================================================================== */
.site-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.site-modal.active {
  opacity: 1;
  visibility: visible;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 7, 15, 0.82);
  backdrop-filter: blur(8px);
}

.modal-dialog {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 560px;
  background: #0f1629;
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: var(--radius-lg);
  padding: 2.4rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(99, 102, 241, 0.25);
  transform: scale(0.92);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.site-modal.active .modal-dialog {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
}

.modal-close:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

/* Service Detail Modal & Tab Pills */
.badge-pill-cyan {
  background: rgba(6, 182, 212, 0.15);
  color: var(--secondary);
  border: 1px solid rgba(6, 182, 212, 0.3);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
}
