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

/* --- DESIGN VARIABLES --- */
:root {
  --primary: #34316E;
  --primary-rgb: 52, 49, 110;
  --secondary: #F58634;
  --secondary-rgb: 245, 134, 52;
  --dark: #121020;
  --light: #F8F9FC;
  --white: #FFFFFF;
  --text: #2B2F3A;
  --text-muted: #64748B;
  
  --font-heading: 'Sora', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-button: 'Manrope', sans-serif;
  --font-number: 'Space Grotesk', sans-serif;
  
  --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.25s ease;
  
  --shadow-sm: 0 4px 12px rgba(52, 49, 110, 0.03);
  --shadow-md: 0 16px 32px rgba(52, 49, 110, 0.06);
  --shadow-lg: 0 24px 48px rgba(52, 49, 110, 0.08);
  --shadow-premium: 0 30px 60px rgba(52, 49, 110, 0.04), 0 2px 8px rgba(245, 134, 52, 0.02);
  
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  
  --border-glass: rgba(255, 255, 255, 0.4);
  --border-light: rgba(52, 49, 110, 0.08);
  
  --container-width: 1280px;
}

/* --- RESET & BASICS --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background-color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

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

h1 {
  font-size: 3.5rem;
  letter-spacing: -0.03em;
}

h2 {
  font-size: 2.5rem;
  letter-spacing: -0.02em;
  position: relative;
}

h3 {
  font-size: 1.75rem;
  letter-spacing: -0.01em;
}

h4 {
  font-size: 1.25rem;
}

p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

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

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

.section-padding {
  padding: 8rem 0;
}

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

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

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

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-6 { margin-bottom: 3.5rem; }
.mt-4 { margin-top: 2rem; }

/* Section Header styling */
.section-header {
  max-width: 700px;
  margin: 0 auto 5rem auto;
  text-align: center;
}

.section-tag {
  font-family: var(--font-button);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--secondary);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.section-tag::before, .section-tag::after {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background-color: var(--secondary);
  border-radius: 50%;
}

/* --- BUTTONS --- */
.btn {
  font-family: var(--font-button);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 1rem 2.25rem;
  border-radius: 50px;
  border: 1px solid transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  transition: var(--transition-smooth);
}

.btn-primary {
  background-color: var(--primary);
  color: var(--white);
  box-shadow: 0 10px 25px rgba(52, 49, 110, 0.15);
}

.btn-primary:hover {
  background-color: var(--secondary);
  box-shadow: 0 15px 30px rgba(245, 134, 52, 0.25);
  transform: translateY(-3px);
}

.btn-secondary {
  background-color: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-secondary:hover {
  background-color: var(--primary);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(52, 49, 110, 0.15);
}

.btn-orange {
  background-color: var(--secondary);
  color: var(--white);
  box-shadow: 0 10px 25px rgba(245, 134, 52, 0.2);
}

.btn-orange:hover {
  background-color: var(--primary);
  box-shadow: 0 15px 30px rgba(52, 49, 110, 0.2);
  transform: translateY(-3px);
}

/* --- HEADER & NAVIGATION --- */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition-smooth);
  padding: 1.5rem 0;
  border-bottom: 1px solid transparent;
}

header.scrolled {
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 1rem 0;
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid var(--border-light);
}

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

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-img {
  height: 48px;
  width: auto;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary);
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-text span {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--secondary);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}

.nav-item {
  position: relative;
}

.nav-link {
  font-family: var(--font-button);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary);
  padding: 0.5rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--secondary);
  transition: var(--transition-fast);
}

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

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

/* Mega Menu for Departments */
.has-mega-menu {
  position: static;
}

.mega-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background-color: var(--white);
  border-bottom: 1px solid var(--border-light);
  box-shadow: var(--shadow-lg);
  padding: 3rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: var(--transition-smooth);
  z-index: 999;
}

.has-mega-menu:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mega-menu-content {
  display: grid;
  grid-template-columns: 1fr 2.5fr;
  gap: 4rem;
}

.mega-menu-featured {
  background-color: var(--light);
  border-radius: var(--radius-md);
  padding: 2rem;
  border-left: 4px solid var(--secondary);
}

.mega-menu-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  list-style: none;
}

.mega-menu-item a {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  border-radius: var(--radius-md);
}

.mega-menu-item a:hover {
  background-color: var(--light);
  transform: translateX(5px);
}

.mega-menu-icon {
  width: 40px;
  height: 40px;
  background-color: rgba(52, 49, 110, 0.05);
  border-radius: 50%;
  color: var(--primary);
  font-size: 1.25rem;
  transition: var(--transition-fast);
}

.mega-menu-item a:hover .mega-menu-icon {
  background-color: var(--secondary);
  color: var(--white);
}

.mega-menu-item h4 {
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
  color: var(--primary);
  transition: var(--transition-fast);
}

.mega-menu-item a:hover h4 {
  color: var(--secondary);
}

.mega-menu-item p {
  font-size: 0.85rem;
}

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

/* Mobile Nav Toggle */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 20px;
  position: relative;
  z-index: 1001;
}

.mobile-nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--primary);
  position: absolute;
  transition: var(--transition-fast);
}

.mobile-nav-toggle span:nth-child(1) { top: 0; }
.mobile-nav-toggle span:nth-child(2) { top: 9px; }
.mobile-nav-toggle span:nth-child(3) { top: 18px; }

.mobile-nav-toggle.open span:nth-child(1) {
  transform: rotate(45deg);
  top: 9px;
}
.mobile-nav-toggle.open span:nth-child(2) {
  opacity: 0;
}
.mobile-nav-toggle.open span:nth-child(3) {
  transform: rotate(-45deg);
  top: 9px;
}

/* --- PREMIUM HERO SECTION --- */
.hero-section {
  position: relative;
  min-height: 100vh;
  background-color: var(--light);
  overflow: hidden;
  display: flex;
  align-items: center;
  padding-top: 8rem;
}

.hero-bg-graphic {
  position: absolute;
  top: 0;
  right: -10%;
  width: 60%;
  height: 100%;
  opacity: 0.15;
  z-index: 1;
}

.hero-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.hero-shape-node {
  position: absolute;
  width: 12px;
  height: 12px;
  background-color: var(--secondary);
  border-radius: 50%;
  box-shadow: 0 0 20px var(--secondary);
  animation: floatNode 6s ease-in-out infinite;
}

.hero-shape-node::after {
  content: '';
  position: absolute;
  top: -6px;
  left: -6px;
  right: -6px;
  bottom: -6px;
  border: 2px solid rgba(245, 134, 52, 0.4);
  border-radius: 50%;
  animation: pulseNode 3s linear infinite;
}

.hero-shape-node:nth-child(1) { top: 25%; left: 10%; animation-delay: 0s; }
.hero-shape-node:nth-child(2) { top: 65%; left: 45%; animation-delay: 2s; }
.hero-shape-node:nth-child(3) { top: 40%; right: 15%; animation-delay: 4s; }

.hero-content-wrap {
  position: relative;
  z-index: 2;
  max-width: 650px;
}

.hero-title {
  margin-bottom: 2rem;
  line-height: 1.1;
}

.hero-title span {
  display: block;
  color: var(--secondary);
  font-weight: 800;
}

.hero-desc {
  font-size: 1.25rem;
  line-height: 1.6;
  margin-bottom: 3rem;
  color: var(--text-muted);
}

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

.hero-visual {
  position: relative;
  z-index: 2;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Abstract Canvas Animation Container */
.interactive-canvas-container {
  position: relative;
  width: 100%;
  height: 100%;
  max-width: 480px;
  max-height: 480px;
  background: radial-gradient(circle, rgba(52, 49, 110, 0.03) 0%, rgba(255, 255, 255, 0) 70%);
  border-radius: 50%;
  border: 1px dashed rgba(52, 49, 110, 0.1);
  padding: 20px;
}

#motionCanvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
}

.canvas-overlay-card {
  position: absolute;
  bottom: 10%;
  left: -5%;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-glass);
  box-shadow: var(--shadow-md);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 1rem;
  animation: floatCard 4s ease-in-out infinite;
}

.canvas-overlay-card .badge-icon {
  width: 44px;
  height: 44px;
  background-color: var(--secondary);
  border-radius: 50%;
  color: var(--white);
  font-size: 1.25rem;
}

.canvas-overlay-card h5 {
  font-size: 1rem;
  color: var(--primary);
  margin-bottom: 0.15rem;
}

.canvas-overlay-card p {
  font-size: 0.8rem;
  font-weight: 500;
}

/* --- STATS COUNTERS --- */
.stats-section {
  position: relative;
  z-index: 5;
  margin-top: -5rem;
  padding-bottom: 4rem;
}

.stats-grid {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-premium);
  padding: 4rem 2rem;
  border: 1px solid var(--border-light);
}

.stat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}

.stat-card:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -1.25rem;
  top: 15%;
  height: 70%;
  width: 1px;
  background: linear-gradient(to bottom, rgba(52, 49, 110, 0), rgba(52, 49, 110, 0.1) 50%, rgba(52, 49, 110, 0));
}

.stat-num {
  font-family: var(--font-number);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-num span {
  color: var(--secondary);
}

.stat-label {
  font-family: var(--font-button);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

/* --- CARDS & GENERAL CONTENT --- */
.card {
  background-color: var(--white);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-premium);
  border-color: rgba(245, 134, 52, 0.2);
}

.card-icon {
  width: 64px;
  height: 64px;
  background-color: rgba(52, 49, 110, 0.05);
  border-radius: var(--radius-md);
  color: var(--primary);
  font-size: 1.75rem;
  margin-bottom: 2rem;
  transition: var(--transition-smooth);
}

.card:hover .card-icon {
  background-color: var(--secondary);
  color: var(--white);
}

/* Joint signature dots inside cards */
.card::after {
  content: '';
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 8px;
  height: 8px;
  background-color: rgba(245, 134, 52, 0.2);
  border-radius: 50%;
  transition: var(--transition-smooth);
}

.card:hover::after {
  background-color: var(--secondary);
  box-shadow: 0 0 10px var(--secondary);
}

/* Meet Dr. Sai Dinesh Intro Grid */
.intro-visual-container {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.intro-img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  display: block;
}

/* Floating Qualification Cards */
.floating-info-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
  box-shadow: var(--shadow-md);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  transition: var(--transition-smooth);
}

.floating-info-card:hover {
  transform: scale(1.03) translateY(-3px);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-lg);
}

.floating-info-card-1 {
  bottom: 10%;
  left: -5%;
  max-width: 250px;
}

.floating-info-card-2 {
  top: 15%;
  right: -5%;
  max-width: 280px;
}

.floating-info-card h4 {
  font-size: 1.15rem;
  margin-bottom: 0.25rem;
}

.floating-info-card p {
  font-size: 0.85rem;
}

/* --- TIMELINE COMPONENT --- */
.timeline-container {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  padding: 2rem 0;
}

/* Timeline central line */
.timeline-container::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, rgba(52, 49, 110, 0.1), var(--primary) 10%, var(--primary) 90%, rgba(52, 49, 110, 0.1));
  transform: translateX(-50%);
}

.timeline-item {
  width: 100%;
  margin-bottom: 4rem;
  position: relative;
}

.timeline-item::after {
  content: '';
  display: table;
  clear: both;
}

.timeline-dot {
  position: absolute;
  left: 50%;
  top: 1.5rem;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: var(--white);
  border: 4px solid var(--secondary);
  box-shadow: 0 0 10px rgba(245, 134, 52, 0.4);
  transform: translateX(-50%);
  z-index: 2;
  transition: var(--transition-smooth);
}

.timeline-item:hover .timeline-dot {
  background-color: var(--secondary);
  box-shadow: 0 0 18px var(--secondary);
  transform: translateX(-50%) scale(1.2);
}

.timeline-content {
  width: 45%;
  padding: 2rem;
  background-color: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  position: relative;
}

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

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

.timeline-item:hover .timeline-content {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(245, 134, 52, 0.2);
}

.timeline-date {
  font-family: var(--font-number);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.timeline-content h3 {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}

.timeline-content h4 {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 1rem;
}

.timeline-content p {
  font-size: 0.95rem;
}

/* --- DEPARTMENTS PAGE --- */
.dept-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.dept-card {
  height: 480px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 3rem 2.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  background-color: var(--white);
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
  z-index: 1;
}

.dept-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(52, 49, 110, 0.02) 0%, rgba(52, 49, 110, 0.08) 100%);
  z-index: -1;
  transition: var(--transition-smooth);
}

.dept-card:hover {
  transform: translateY(-12px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(245, 134, 52, 0.2);
}

.dept-card:hover::before {
  background: var(--primary);
}

.dept-card-top {
  position: relative;
}

.dept-graphic-wrapper {
  width: 80px;
  height: 80px;
  background-color: rgba(52, 49, 110, 0.05);
  border-radius: 50%;
  margin-bottom: 2rem;
  transition: var(--transition-smooth);
}

.dept-card:hover .dept-graphic-wrapper {
  background-color: rgba(255, 255, 255, 0.15);
  transform: rotate(15deg) scale(1.05);
}

.dept-card:hover .dept-graphic-wrapper svg path {
  stroke: var(--white);
}

.dept-card:hover .dept-graphic-wrapper svg circle {
  fill: var(--secondary);
}

.dept-card h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  transition: var(--transition-smooth);
}

.dept-card:hover h3 {
  color: var(--white);
}

.dept-card p {
  transition: var(--transition-smooth);
}

.dept-card:hover p {
  color: rgba(255, 255, 255, 0.75);
}

.dept-link-btn {
  font-family: var(--font-button);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition-smooth);
  margin-top: 2rem;
}

.dept-card:hover .dept-link-btn {
  color: var(--secondary);
  transform: translateX(5px);
}

.dept-card-bg-mesh {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 150px;
  height: 150px;
  opacity: 0.05;
  pointer-events: none;
  transition: var(--transition-smooth);
}

.dept-card:hover .dept-card-bg-mesh {
  opacity: 0.15;
  transform: scale(1.1) rotate(-10deg);
}

/* --- ACCORDIONS (FAQs & PROCEDURES) --- */
.accordion-wrapper {
  max-width: 900px;
  margin: 0 auto;
}

.accordion-item {
  background-color: var(--white);
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
  border: 1px solid var(--border-light);
  overflow: hidden;
  transition: var(--transition-smooth);
}

.accordion-header {
  width: 100%;
  padding: 1.75rem 2rem;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
}

.accordion-header h3 {
  font-size: 1.2rem;
  font-weight: 600;
  transition: var(--transition-fast);
}

.accordion-icon {
  width: 32px;
  height: 32px;
  background-color: rgba(52, 49, 110, 0.05);
  border-radius: 50%;
  position: relative;
  transition: var(--transition-smooth);
}

.accordion-icon::before,
.accordion-icon::after {
  content: '';
  position: absolute;
  background-color: var(--primary);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: var(--transition-smooth);
}

.accordion-icon::before {
  width: 12px;
  height: 2px;
}

.accordion-icon::after {
  width: 2px;
  height: 12px;
}

.accordion-item.active {
  border-color: rgba(245, 134, 52, 0.2);
  box-shadow: var(--shadow-md);
}

.accordion-item.active .accordion-header h3 {
  color: var(--secondary);
}

.accordion-item.active .accordion-icon {
  background-color: var(--secondary);
  transform: rotate(135deg);
}

.accordion-item.active .accordion-icon::before,
.accordion-item.active .accordion-icon::after {
  background-color: var(--white);
}

.accordion-collapse {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.accordion-body {
  padding: 0 2rem 2rem 2rem;
}

/* Within Accordion Content Layouts */
.procedure-detail-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
}

.procedure-quick-stats {
  background-color: var(--light);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  border-left: 3px solid var(--secondary);
}

.procedure-stat-item {
  margin-bottom: 1rem;
}

.procedure-stat-item:last-child {
  margin-bottom: 0;
}

.procedure-stat-item h5 {
  font-family: var(--font-button);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.15rem;
}

.procedure-stat-item p {
  font-size: 0.95rem;
  color: var(--primary);
  font-weight: 600;
}

/* --- PREMIUM VIDEO PLAYER & TESTIMONIALS --- */
.testimonial-section {
  position: relative;
  background-color: var(--light);
}

.video-player-container {
  position: relative;
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16 / 9;
  background-color: var(--dark);
}

.video-element {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-overlay-play {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(18, 16, 32, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 5;
  transition: var(--transition-smooth);
}

.video-play-btn {
  width: 90px;
  height: 90px;
  background-color: var(--white);
  border-radius: 50%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border: none;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.video-play-btn svg {
  fill: var(--primary);
  width: 24px;
  height: 24px;
  margin-left: 6px;
  transition: var(--transition-smooth);
}

.video-play-btn:hover {
  transform: scale(1.1);
  background-color: var(--secondary);
}

.video-play-btn:hover svg {
  fill: var(--white);
}

.video-player-container:hover .video-overlay-play {
  background-color: rgba(18, 16, 32, 0.4);
}

.video-player-container.playing .video-overlay-play {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.testimonial-text-overlay {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  right: 2rem;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 2rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-glass);
  box-shadow: var(--shadow-lg);
  max-width: 500px;
  transition: var(--transition-smooth);
  z-index: 6;
}

.video-player-container.playing:hover .testimonial-text-overlay {
  opacity: 0.1;
}

.video-player-container.playing:hover:hover .testimonial-text-overlay {
  opacity: 1;
}

.testimonial-rating {
  color: var(--secondary);
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.testimonial-text-overlay h4 {
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.testimonial-text-overlay p {
  font-size: 0.9rem;
  font-style: italic;
}

/* Floating Testimonial Cards Layout */
.floating-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 6rem;
}

.testimonial-card {
  padding: 2.5rem;
  background-color: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition-smooth);
}

.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-premium);
}

.testimonial-quote {
  font-size: 1rem;
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 2rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  width: 48px;
  height: 48px;
  background-color: var(--primary);
  color: var(--white);
  border-radius: 50%;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
}

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

.author-info p {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* --- GALLERY SECTION --- */
.gallery-filter-bar {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3.5rem;
}

.gallery-filter-btn {
  font-family: var(--font-button);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.75rem 1.75rem;
  border-radius: 30px;
  background-color: var(--light);
  border: 1px solid var(--border-light);
  cursor: pointer;
  transition: var(--transition-fast);
  color: var(--text-muted);
}

.gallery-filter-btn:hover,
.gallery-filter-btn.active {
  background-color: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

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

.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: var(--transition-smooth);
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(18, 16, 32, 0.8) 0%, rgba(18, 16, 32, 0) 80%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  opacity: 0;
  transition: var(--transition-smooth);
}

.gallery-item:hover .gallery-item-overlay {
  opacity: 1;
}

.gallery-item-overlay h4 {
  color: var(--white);
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.gallery-item-overlay p {
  color: var(--secondary);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* --- CONTACT SPLIT LAYOUT --- */
.contact-split {
  display: grid;
  grid-template-columns: 1.2fr 1.8fr;
  gap: 5rem;
  align-items: flex-start;
}

.contact-info-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 2rem;
  background-color: var(--light);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  transition: var(--transition-smooth);
}

.contact-info-card:hover {
  transform: translateY(-3px);
  border-color: rgba(245, 134, 52, 0.2);
  background-color: var(--white);
  box-shadow: var(--shadow-md);
}

.contact-info-icon {
  width: 52px;
  height: 52px;
  background-color: rgba(52, 49, 110, 0.05);
  border-radius: 50%;
  color: var(--primary);
  font-size: 1.35rem;
  transition: var(--transition-smooth);
}

.contact-info-card:hover .contact-info-icon {
  background-color: var(--secondary);
  color: var(--white);
}

.contact-info-text h4 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

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

.contact-whatsapp-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #25D366;
  font-weight: 700;
  margin-top: 0.5rem;
}

.contact-whatsapp-cta:hover {
  text-decoration: underline;
}

/* Booking Form Container */
.booking-form-container {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  padding: 4rem;
  box-shadow: var(--shadow-premium);
  border: 1px solid var(--border-light);
}

.form-title {
  margin-bottom: 2.5rem;
}

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

.form-group-full {
  grid-column: span 2;
}

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

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  background-color: var(--light);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text);
  transition: var(--transition-fast);
  outline: none;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--secondary);
  background-color: var(--white);
  box-shadow: 0 0 0 3px rgba(245, 134, 52, 0.1);
}

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

.form-submit-btn {
  grid-column: span 2;
  margin-top: 1rem;
  width: 100%;
}

/* Custom Interactive Map Block */
.map-container {
  margin-top: 6rem;
  width: 100%;
  height: 450px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
}

/* --- FOOTER COMPONENT --- */
footer {
  background-color: var(--dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 8rem 0 3rem 0;
  font-size: 0.95rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 4rem;
  margin-bottom: 6rem;
}

.footer-logo-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
}

.footer-logo-text {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
}

.footer-logo-text span {
  font-size: 0.85rem;
  color: var(--secondary);
  letter-spacing: 0.1em;
  font-weight: 600;
}

.footer-about-text {
  font-size: 0.95rem;
  line-height: 1.7;
}

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

.footer-social-icon {
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  color: var(--white);
  font-size: 1.1rem;
  transition: var(--transition-fast);
}

.footer-social-icon:hover {
  background-color: var(--secondary);
  transform: translateY(-3px);
}

.footer-heading {
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: 2rem;
  position: relative;
  display: inline-block;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--secondary);
}

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

.footer-links li {
  margin-bottom: 1rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.65);
}

.footer-links a:hover {
  color: var(--secondary);
  padding-left: 5px;
}

.footer-contact-info p {
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 1rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

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

.footer-bottom-links {
  display: flex;
  gap: 2rem;
}

.footer-bottom-links a:hover {
  color: var(--secondary);
}

/* --- ANIMATION KEYFRAMES & UTILS --- */
@keyframes floatNode {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-20px) scale(1.1); }
}

@keyframes pulseNode {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(2.2); opacity: 0; }
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Scroll reveal initial states */
.reveal-fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-fade-up.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-fade-in {
  opacity: 0;
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-fade-in.revealed {
  opacity: 1;
}

.reveal-scale-in {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-scale-in.revealed {
  opacity: 1;
  transform: scale(1);
}

/* Stagger list item animation helper delays */
.reveal-stagger > *:nth-child(1) { transition-delay: 0.1s; }
.reveal-stagger > *:nth-child(2) { transition-delay: 0.2s; }
.reveal-stagger > *:nth-child(3) { transition-delay: 0.3s; }
.reveal-stagger > *:nth-child(4) { transition-delay: 0.4s; }
.reveal-stagger > *:nth-child(5) { transition-delay: 0.5s; }
.reveal-stagger > *:nth-child(6) { transition-delay: 0.6s; }

/* Page Load Overlay Transition */
.page-transition-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--primary);
  z-index: 9999;
  transform: translateY(0);
  transition: transform 0.6s cubic-bezier(0.85, 0, 0.15, 1);
  pointer-events: none;
}

.page-transition-overlay.loaded {
  transform: translateY(-100%);
}

/* --- RESPONSIVE BREAKPOINTS --- */
@media (max-width: 1200px) {
  h1 { font-size: 3rem; }
  h2 { font-size: 2.2rem; }
  .grid-2 { gap: 3rem; }
  .dept-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 992px) {
  .section-padding { padding: 6rem 0; }
  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .dept-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }
  .nav-menu { display: none; } /* Handle mobile hamburger */
  .mobile-nav-toggle { display: block; }
  
  .hero-section {
    padding-top: 6rem;
    text-align: center;
  }
  .hero-content-wrap {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .hero-buttons { justify-content: center; }
  .interactive-canvas-container { margin: 2rem auto 0 auto; }
  
  .stats-section { margin-top: 0; padding-top: 2rem; }
  .stats-grid { padding: 3rem 1.5rem; }
  .stat-card:not(:last-child)::after { display: none; }
  .stat-card { padding: 1.5rem 0; border-bottom: 1px solid var(--border-light); }
  .stat-card:last-child { border-bottom: none; }
  
  .timeline-container::before { left: 2rem; }
  .timeline-dot { left: 2rem; }
  .timeline-content {
    width: calc(100% - 4rem);
    float: right !important;
    text-align: left !important;
  }
  
  .floating-info-card-1 { left: 5%; }
  .floating-info-card-2 { right: 5%; }
  
  .contact-split { grid-template-columns: 1fr; gap: 4rem; }
  .booking-form-container { padding: 2.5rem; }
  
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 3rem; }
  .footer-bottom { flex-direction: column; gap: 1.5rem; text-align: center; }
}

@media (max-width: 576px) {
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.8rem; }
  .container { padding: 0 1.25rem; }
  .hero-buttons { flex-direction: column; width: 100%; }
  .hero-buttons .btn { width: 100%; }
  .floating-info-card { position: static; max-width: 100%; margin-top: 1rem; }
  .booking-form { grid-template-columns: 1fr; }
  .form-group-full { grid-column: span 1; }
  .form-submit-btn { grid-column: span 1; }
  .floating-testimonials-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .procedure-detail-grid { grid-template-columns: 1fr; gap: 2rem; }
}

/* Mobile Nav Styles */
.mobile-menu-active .nav-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: var(--white);
  z-index: 1000;
  padding: 8rem 2rem 4rem 2rem;
  justify-content: flex-start;
  align-items: flex-start;
  overflow-y: auto;
  gap: 2rem;
}

.mobile-menu-active .nav-menu .nav-item {
  width: 100%;
}

.mobile-menu-active .nav-menu .nav-link {
  font-size: 1.5rem;
  display: block;
}

.mobile-menu-active .has-mega-menu:hover .mega-menu {
  display: none; /* Disable hover mega menu on mobile */
}

.mobile-menu-active .nav-cta {
  display: flex;
  width: 100%;
  flex-direction: column;
  margin-top: auto;
}

.mobile-menu-active .nav-cta .btn {
  width: 100%;
}

/* --- FLOATING CONTACT BUTTONS --- */
.floating-contact-wrap,
.sticky-action-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  z-index: 9999999 !important;
  pointer-events: auto !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.floating-btn,
.action-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  transition: var(--transition-smooth);
  color: var(--white) !important;
  font-size: 1.5rem;
  pointer-events: auto !important;
  cursor: pointer !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.floating-btn:hover,
.action-circle:hover {
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
}

.floating-btn-whatsapp,
.circle-green {
  background-color: #25D366 !important;
}

.floating-btn-phone,
.circle-orange {
  background-color: var(--secondary) !important;
}

@media (max-width: 768px) {
  .floating-contact-wrap,
  .sticky-action-container {
    bottom: 1.5rem;
    right: 1.5rem;
    gap: 0.75rem;
  }
  .floating-btn,
  .action-circle {
    width: 48px;
    height: 48px;
    font-size: 1.25rem;
  }
}
