/* Sri B.R.K Sastry Memorial Rural Pvt ITI CSS Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
  /* Color Palette */
  --primary-color: #1e3a8a;       /* Deep Slate Blue */
  --primary-dark: #0f172a;        /* Midnight Blue/Slate-900 */
  --primary-light: #2563eb;       /* Royal Blue */
  --accent-color: #d97706;        /* Warm Gold/Amber-600 */
  --accent-hover: #b45309;        /* Deep Gold/Amber-700 */
  --accent-light: #fef3c7;        /* Soft Amber Background */
  --text-dark: #1e293b;           /* Slate-800 for body text */
  --text-muted: #64748b;          /* Slate-500 for descriptive text */
  --bg-light: #f1f5f9;            /* Slate-gray neutral background */
  --bg-white: #faf9f6;            /* Soft warm alabaster white background */
  --bg-card: #ffffff;             /* Pure white for card contrast */
  --success-color: #10b981;       /* Emerald Green */
  --error-color: #ef4444;         /* Red */
  
  /* Fonts */
  --font-headings: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* Shadow & Radii */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
  --shadow-premium: 0 20px 25px -5px rgba(0,0,0,0.08), 0 10px 10px -5px rgba(0,0,0,0.04);
  --border-radius-sm: 6px;
  --border-radius-md: 12px;
  --border-radius-lg: 20px;
  
  /* Layout */
  --max-width: 1200px;
  --header-height: 80px;
  --preheader-height: 40px;
}

html {
  scroll-padding-top: calc(var(--header-height) + var(--preheader-height));
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background-color: var(--bg-light);
  background-image: radial-gradient(circle at top left, rgba(37, 99, 235, 0.015) 0%, transparent 40%),
                    radial-gradient(circle at bottom right, rgba(217, 119, 6, 0.01) 0%, transparent 40%);
  line-height: 1.7;
  overflow-x: hidden;
}


h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-headings);
  font-weight: 700;
  color: var(--primary-dark);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
.filter-btn:focus-visible,
.btn:focus-visible {
  outline: 3px solid var(--accent-color);
  outline-offset: 3px;
}

li {
  list-style: none;
}

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

/* Scrollbar Customization */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-light);
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Layout Utilities */
.container {
  width: 90%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 15px;
}

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

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

.section-title-wrapper {
  margin-bottom: 50px;
  text-align: center;
}

.section-subtitle {
  color: var(--accent-color);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 8px;
  display: block;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background-color: var(--accent-color);
  border-radius: 2px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  outline: none;
  gap: 8px;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.btn:hover::after {
  width: 300px;
  height: 300px;
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
  color: var(--bg-white);
  box-shadow: 0 4px 15px rgba(30, 58, 138, 0.25);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.35);
}

.btn-accent {
  background: linear-gradient(135deg, var(--accent-color) 0%, #f59e0b 100%);
  color: var(--bg-white);
  box-shadow: 0 4px 15px rgba(217, 119, 6, 0.25);
  animation: accent-pulse 2s infinite;
}

@keyframes accent-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(217, 119, 6, 0.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(217, 119, 6, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(217, 119, 6, 0);
  }
}

.btn-accent:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(180, 83, 9, 0.35);
  animation: none; /* Pause pulsing on hover */
}

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

.btn-outline:hover {
  background-color: var(--primary-color);
  color: var(--bg-white);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(30, 58, 138, 0.2);
}

.btn svg {
  transition: transform 0.3s ease;
}

.btn:hover svg {
  transform: translateX(4px);
}

/* Header & Navigation */
/* Pre-header Ticker */
.pre-header {
  height: var(--preheader-height);
  background-color: var(--primary-dark);
  color: #ffffff;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.pre-logo-area {
  width: 300px; /* Width corresponding to main navigation logo area */
  flex-shrink: 0;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-color);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.pre-contact-area {
  flex-shrink: 0;
  font-size: 0.82rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.pre-contact-area a {
  color: #ffffff;
}

.pre-contact-area a:hover {
  color: var(--accent-color);
}

header.scrolled .pre-header {
  height: 0;
  border-bottom: none;
  opacity: 0;
  pointer-events: none;
}

.ticker-wrap {
  flex-grow: 1;
  overflow: hidden;
  margin: 0 20px 0 0;
}

.ticker {
  display: inline-flex;
  white-space: nowrap;
  animation: ticker-anim 25s linear infinite;
}

.ticker:hover {
  animation-play-state: paused;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  padding: 0 45px;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.ticker-item span {
  margin-right: 8px;
  font-size: 1rem;
}

@keyframes ticker-anim {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: calc(var(--header-height) + var(--preheader-height));
  background-color: rgba(255, 255, 255, 0.85);
  box-shadow: none;
  z-index: 1000;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.3);
}

header.scrolled {
  height: 70px;
  background-color: rgba(255, 255, 255, 0.97);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
  border-bottom: 1px solid rgba(217, 119, 6, 0.15);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: var(--header-height);
  transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

header.scrolled .container {
  height: 70px;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-img {
  height: 64px; /* Increased logo size */
  width: auto;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  object-fit: contain;
  transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

header.scrolled .logo-img {
  height: 52px;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-size: 1.4rem; /* Increased name size */
  font-weight: 800;
  color: #ea580c; /* Logo orange color */
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.1;
}

.logo-subtitle {
  font-size: 0.8rem; /* Increased size */
  color: var(--text-muted); /* Dark gray/slate like the reference image */
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 2px;
}

.logo-txt-green {
  color: #16a34a; /* Logo green color */
}

.logo-txt-black {
  color: #171717; /* Logo black/charcoal color */
}

/* Nav Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-item {
  position: relative;
}

.nav-link {
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--primary-dark);
  padding: 8px 0;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-color) 0%, #fbbf24 100%);
  border-radius: 2px;
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Dropdown Menu */
.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--bg-white);
  min-width: 220px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  border-radius: var(--border-radius-md);
  border: 1px solid rgba(226, 232, 240, 0.8);
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 100;
  padding: 10px 0;
  margin-top: 5px;
}

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

.dropdown-item a {
  display: block;
  padding: 10px 20px;
  font-size: 0.9rem;
  color: var(--text-dark);
  font-weight: 500;
}

.dropdown-item a:hover {
  background-color: var(--bg-light);
  color: var(--accent-color);
  padding-left: 25px;
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  cursor: pointer;
  z-index: 1100;
}

.hamburger span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: var(--primary-dark);
  border-radius: 3px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hero Slideshow / Banner */
.hero-slider {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  background-color: var(--primary-dark);
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.1s ease-in-out, visibility 1.1s ease-in-out;
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-height) + var(--preheader-height) + 50px);
  padding-bottom: 140px;
  z-index: 1;
}

.slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.slide-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: 1;
  transform: scale(1);
}

.slide.active .slide-bg {
  animation: kenburns 7.5s ease-out forwards;
}

@keyframes kenburns {
  0% {
    transform: scale(1.02);
  }
  100% {
    transform: scale(1.15);
  }
}


.slide-bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(30, 58, 138, 0.6) 100%);
  z-index: 2;
}

.slide-content {
  position: relative;
  z-index: 3;
  color: var(--bg-white);
  width: 90%;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  transform: translateY(30px);
  transition: transform 0.8s ease;
}

.slide.active .slide-content {
  transform: translateY(0);
}

.slide-badge {
  background-color: var(--accent-color);
  color: var(--bg-white);
  padding: 6px 16px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border-radius: 50px;
  display: inline-block;
  margin-bottom: 20px;
}

.slide-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--bg-white);
}

.slide-desc {
  font-size: 1.2rem;
  margin-bottom: 35px;
  opacity: 0.9;
  font-weight: 300;
}

.slide-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
}

/* Slider Controls */
.slider-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--bg-white);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(4px);
}

.slider-control:hover {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  color: var(--bg-white);
}

.slider-prev {
  left: 30px;
}

.slider-next {
  right: 30px;
}

/* Banner overlay indicators */
.slider-dots {
  position: absolute;
  bottom: 85px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}

/* Scroll down indicator arrow */
.scroll-down-arrow {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 15;
  color: var(--bg-white);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background-color: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  animation: bounce-arrow 2s infinite;
}

.scroll-down-arrow:hover {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  color: var(--bg-white);
  transform: translateX(-50%) translateY(3px);
  animation-play-state: paused;
}

@keyframes bounce-arrow {
  0%, 20%, 50%, 80%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

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

.dot.active {
  background-color: var(--accent-color);
  width: 30px;
  border-radius: 6px;
}

/* Quick Info Cards */
.quick-info-section {
  padding-top: 80px;
  position: relative;
  z-index: 20;
  padding-bottom: 40px;
}

.quick-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.info-card {
  background-color: var(--bg-white);
  padding: 35px 30px;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-premium);
  border-bottom: 4px solid transparent;
  border-left: 0px solid transparent;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.info-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: linear-gradient(180deg, var(--accent-color) 0%, var(--primary-light) 100%);
  transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 0 2px 2px 0;
}

.info-card:hover {
  transform: translateY(-10px);
  border-color: var(--accent-color);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.12);
}

.info-card:hover::before {
  height: 100%;
}

.info-card-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--border-radius-sm);
  background: linear-gradient(135deg, var(--accent-light) 0%, rgba(254, 243, 199, 0.5) 100%);
  color: var(--accent-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 22px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-card:hover .info-card-icon {
  transform: scale(1.1);
  box-shadow: 0 4px 15px rgba(217, 119, 6, 0.2);
}

.info-card-title {
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.info-card-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  flex-grow: 1;
  margin-bottom: 20px;
}

.info-card-link {
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--primary-color);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.info-card-link:hover {
  color: var(--accent-color);
  gap: 10px;
}

.stats-section {
  background-color: var(--primary-dark);
  color: var(--bg-white);
  position: relative;
  background-image: radial-gradient(circle at 20% 30%, rgba(37, 99, 235, 0.15) 0%, transparent 60%),
                    radial-gradient(circle at 80% 70%, rgba(217, 119, 6, 0.1) 0%, transparent 60%),
                    linear-gradient(135deg, var(--primary-dark) 0%, #1e293b 50%, #0f172a 100%);
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events: none;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  position: relative;
  z-index: 1;
}

.stat-item {
  text-align: center;
  padding: 20px;
  border-radius: var(--border-radius-md);
  transition: all 0.3s ease;
}

.stat-item:hover {
  background-color: rgba(255, 255, 255, 0.05);
  transform: translateY(-5px);
}

.stat-number {
  font-family: var(--font-headings);
  font-size: 3.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent-color) 0%, #fbbf24 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
  display: block;
}

.stat-title {
  font-size: 1rem;
  font-weight: 500;
  opacity: 0.85;
  letter-spacing: 0.5px;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 20px;
}

.feature-box {
  background-color: var(--bg-white);
  padding: 30px;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  border: 1px solid rgba(226, 232, 240, 0.8);
}

.feature-box:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.feature-box-icon {
  font-size: 2rem;
  color: var(--accent-color);
  margin-bottom: 15px;
}

.feature-box-title {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.feature-box-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Grid Layouts for About & Programs */
.about-home-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 50px;
  align-items: center;
}

.about-home-img-wrapper {
  position: relative;
}

.about-home-img {
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  height: 520px;
  object-fit: cover;
}

.about-experience-badge {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background-color: var(--accent-color);
  color: var(--bg-white);
  padding: 20px 30px;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 15px;
  max-width: 250px;
}

.exp-num {
  font-family: var(--font-headings);
  font-size: 2.5rem;
  font-weight: 800;
}

.exp-txt {
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.3;
  text-transform: uppercase;
}

.about-home-content p {
  color: var(--text-muted);
  margin-bottom: 20px;
}

.feature-list {
  margin-bottom: 30px;
}

.feature-list-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-weight: 500;
}

.feature-list-item svg {
  color: var(--success-color);
  flex-shrink: 0;
}

/* Call To Action Banner */
.cta-banner {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: var(--bg-white);
  border-radius: var(--border-radius-lg);
  padding: 60px;
  box-shadow: var(--shadow-premium);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.cta-content {
  max-width: 600px;
}

.cta-title {
  color: var(--bg-white);
  font-size: 2.2rem;
  margin-bottom: 15px;
}

.cta-desc {
  font-size: 1.1rem;
  opacity: 0.9;
}

.cta-btn-wrapper {
  flex-shrink: 0;
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

/* Testimonials / Student Stories */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.testimonial-card {
  background-color: var(--bg-white);
  padding: 35px;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-sm);
  position: relative;
  border-top: 3px solid transparent;
  background-image: linear-gradient(var(--bg-white), var(--bg-white)), linear-gradient(135deg, var(--accent-color) 0%, var(--primary-light) 100%);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.testimonial-quote {
  font-size: 3.5rem;
  background: linear-gradient(135deg, var(--accent-color) 0%, rgba(217, 119, 6, 0.2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  position: absolute;
  top: 20px;
  left: 25px;
  font-family: Georgia, serif;
}

.testimonial-text {
  color: var(--text-dark);
  font-style: normal;
  font-size: 0.95rem;
  position: relative;
  z-index: 2;
  margin-bottom: 25px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
}

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
  color: var(--bg-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 1.1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover .author-avatar {
  transform: scale(1.1);
  box-shadow: 0 4px 15px rgba(30, 58, 138, 0.3);
}

.author-name {
  font-weight: 700;
  font-size: 0.95rem;
  display: block;
}

.author-title {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: block;
}

/* Alumni Slider / Testimonials Carousel (Coverflow style) */
.testimonials-slider-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 120px 0 20px 0; /* Add top padding to accommodate overlapping avatars */
  background-color: #f8fafc; /* Light gray background like the screenshot */
  border-radius: var(--border-radius-lg);
}

.testimonials-track-wrapper {
  width: 100%;
  overflow: visible; /* Let side cards bleed out to container boundaries */
}

.testimonials-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

.testimonials-track .testimonial-card {
  flex: 0 0 85%; /* Mostly fill the screen on mobile */
  margin: 0 7.5%;
  box-sizing: border-box;
  padding: 45px 25px 35px 25px; /* In-flow layout padding */
  background-color: var(--bg-white);
  border-radius: var(--border-radius-md);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  position: relative;
  text-align: center;
  border-top: none;
  background-image: none;
  opacity: 1; /* Clearly visible, no opacity reduction */
  transform: scale(1); /* Full size, no scale reduction */
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.5s ease, opacity 0.5s ease;
  height: auto;
}

/* Highlight center card (active card) */
.testimonials-track .testimonial-card.center-card {
  opacity: 1;
  transform: scale(1); /* Uniform scale */
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08); /* Unified shadow style */
  z-index: 5;
}

/* Quote Icons Styling */
.testimonial-card .quote-icon {
  font-size: 2.8rem;
  font-family: Georgia, serif;
  color: #38bdf8; /* Vibrant light blue/cyan color */
  position: absolute;
  line-height: 1;
  opacity: 0.7;
}

.testimonial-card .quote-left {
  top: 20px;
  left: 20px;
}

.testimonial-card .quote-right {
  bottom: 10px;
  right: 20px;
}

/* Avatar overlaps top edge */
.testimonial-card .author-avatar {
  width: 110px;
  height: 160px;
  position: relative;
  margin: -95px auto 20px auto;
  overflow: hidden;
  background: var(--bg-white);
  border: 4px solid var(--bg-white);
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.1);
  transition: transform 0.6s ease;
  z-index: 10;
}

/* Center card avatar scales up even more */
.testimonials-track .testimonial-card.center-card .author-avatar {
  transform: scale(1);
  box-shadow: none;
}

.testimonial-card .author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background-color: #f8fafc;
}

/* Content wrapper inside card */
.testimonial-card-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.testimonial-card .author-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-top: 10px;
  margin-bottom: 4px;
}

.testimonial-card .author-trade {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-color);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: block;
}

.testimonial-card .author-company-job {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: block;
  margin-top: 2px;
  margin-bottom: 20px;
}

.testimonial-card .testimonial-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-dark);
  font-style: normal;
  margin: 0;
  padding: 0 10px;
}

@media (min-width: 768px) {
  .testimonials-track .testimonial-card {
    flex: 0 0 calc(50% - 30px);
    margin: 0 15px;
  }
}

@media (min-width: 1024px) {
  .testimonials-track .testimonial-card {
    flex: 0 0 calc(33.333% - 40px);
    margin: 0 20px;
  }
}

/* Floating Navigation Arrows */
.testimonials-controls {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  pointer-events: none; /* Make overlay container pass-through */
  z-index: 15;
}

.testimonials-controls button {
  pointer-events: auto; /* Re-enable pointer events for buttons */
  background-color: var(--bg-white) !important;
  color: var(--text-dark) !important;
  border: none;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
  transition: all 0.3s ease;
}

.testimonials-controls button:hover {
  background-color: var(--primary-color) !important;
  color: var(--bg-white) !important;
  transform: scale(1.1);
  box-shadow: 0 6px 18px rgba(30, 58, 138, 0.25) !important;
}

.testimonials-controls button:active {
  transform: scale(0.95);
}

/* Carousel Indicator Dots placed at the bottom */
.testimonials-dots-container {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 30px;
}

.testimonials-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #cbd5e1;
  cursor: pointer;
  transition: all 0.3s ease;
}

.testimonials-dot.active {
  background-color: var(--primary-color);
  width: 24px;
  border-radius: 5px;
}

/* PAGE SPECIFIC STYLING */

/* Inner Header / Page Banner */
.page-banner {
  position: relative;
  background-image: 
    radial-gradient(rgba(255, 255, 255, 0.05) 1.5px, transparent 1.5px),
    linear-gradient(135deg, rgba(15, 23, 42, 0.96) 0%, rgba(30, 58, 138, 0.85) 100%), 
    url('images/hero_banner.png');
  background-size: 24px 24px, cover, cover;
  background-position: center, center, center;
  color: var(--bg-white);
  padding: calc(var(--header-height) + var(--preheader-height) + 85px) 0 85px 0;
  text-align: center;
  overflow: hidden;
}

.page-banner::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 24px;
  background: linear-gradient(to top, var(--bg-light) 0%, transparent 100%);
  z-index: 2;
  pointer-events: none;
}

@keyframes banner-fade-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.page-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3.2rem;
  color: var(--bg-white);
  margin-bottom: 12px;
  position: relative;
  z-index: 3;
  animation: banner-fade-up 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.breadcrumbs {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  position: relative;
  z-index: 3;
  animation: banner-fade-up 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.15s forwards both;
}

.breadcrumbs a {
  color: rgba(255, 255, 255, 0.7);
}

.breadcrumbs a:hover {
  color: var(--accent-color);
}

.breadcrumbs span {
  color: rgba(255, 255, 255, 0.4);
}

.breadcrumbs .current {
  color: var(--accent-color);
}

/* About Us Inner Page Layout */
.about-intro-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-intro-content h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.about-intro-content p {
  margin-bottom: 20px;
  color: var(--text-muted);
}

.vision-mission-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-top: 60px;
}

.vision-mission-card {
  background: linear-gradient(135deg, var(--bg-white) 0%, rgba(254, 243, 199, 0.25) 100%);
  padding: 40px;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  border-top: 5px solid var(--accent-color);
}

.vm-icon {
  font-size: 2.5rem;
  color: var(--accent-color);
  margin-bottom: 20px;
}

.vm-title {
  font-size: 1.6rem;
  margin-bottom: 15px;
}

.vm-desc {
  color: var(--text-muted);
}

/* Governing Council Board */
.council-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 40px;
}

.member-card {
  flex: 1 1 280px;
  max-width: 320px;
  background-color: var(--bg-white);
  padding: 30px 20px;
  text-align: center;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.member-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.member-avatar {
  width: 150px;
  height: 150px;
  border-radius: 50% !important;
  background-color: var(--accent-light);
  color: var(--accent-color);
  font-size: 3.2rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px auto;
  border: 4px solid var(--accent-light);
}

.member-name {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 5px;
}

.member-role {
  font-size: 0.85rem;
  color: var(--accent-color);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.member-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 10px;
}

/* Principal Message Box */
.principal-message-box {
  background-color: var(--bg-white);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 50px;
  margin-top: 60px;
  display: grid;
  grid-template-columns: 1fr 2.5fr;
  gap: 50px;
  align-items: center;
}

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

.principal-img {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 20px auto;
  border: 5px solid var(--accent-light);
  box-shadow: var(--shadow-md);
}

.principal-name {
  font-size: 1.25rem;
  font-weight: 700;
}

.principal-title {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
}

.principal-quote {
  font-size: 1.15rem;
  color: var(--primary-dark);
  font-style: italic;
  margin-bottom: 20px;
  position: relative;
  padding-left: 30px;
  line-height: 1.6;
}

.principal-quote::before {
  content: '“';
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  font-size: 4rem;
  color: rgba(217, 119, 6, 0.35);
  position: absolute;
  left: -5px;
  top: -20px;
  line-height: 1;
}

.principal-text p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 15px;
}

/* ITI PROGRAM STYLING */
.program-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  margin-bottom: 80px;
}

.trades-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}


.trade-card {
  background-color: var(--bg-white);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  border: 1px solid rgba(226, 232, 240, 0.8);
}

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

.trade-card-banner {
  background-color: var(--primary-color);
  color: var(--bg-white);
  padding: 30px;
  position: relative;
  background-image: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
}

.trade-card-icon {
  font-size: 2.2rem;
  color: var(--accent-color);
  margin-bottom: 15px;
}

.trade-card-title {
  color: var(--bg-white);
  font-size: 1.6rem;
  margin-bottom: 5px;
}

.trade-card-subtitle {
  font-size: 0.85rem;
  opacity: 0.8;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.trade-card-body {
  padding: 35px;
  flex-grow: 1;
}

.trade-details-list {
  margin-bottom: 25px;
}

.trade-details-item {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px dashed #e2e8f0;
}

.trade-details-item:last-child {
  border-bottom: none;
}

.td-label {
  font-weight: 600;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.td-val {
  font-weight: 700;
  color: var(--primary-dark);
  font-size: 0.9rem;
}

.trade-syllabus-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  border-left: 3px solid var(--accent-color);
  padding-left: 12px;
}

.trade-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

/* Workshop grid and campus information */
.workshop-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.workshop-content h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.workshop-content p {
  color: var(--text-muted);
  margin-bottom: 20px;
}

.workshop-img {
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  height: 380px;
  object-fit: cover;
}

/* Career placement guide styling */
.placement-panel {
  background-color: var(--bg-white);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  padding: 50px;
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}

.placement-info h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.placement-info p {
  color: var(--text-muted);
  margin-bottom: 25px;
}

.placement-steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.placement-step {
  display: flex;
  gap: 15px;
}

.step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--accent-light);
  color: var(--accent-color);
  font-family: var(--font-headings);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-title {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 4px;
}

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

.placement-img-wrapper {
  position: relative;
}

.placement-img {
  border-radius: var(--border-radius-md);
  width: 100%;
  height: 350px;
  object-fit: cover;
  box-shadow: var(--shadow-md);
}

/* Student development activities */
.activities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.activity-card {
  background-color: var(--bg-white);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-sm);
  padding: 30px;
  text-align: center;
  transition: all 0.3s ease;
}

.activity-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.activity-icon {
  font-size: 2.2rem;
  color: var(--accent-color);
  margin-bottom: 18px;
}

.activity-title {
  font-size: 1.15rem;
  margin-bottom: 12px;
}

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

/* Admissions Info Block */
.admission-info-block {
  background-color: var(--accent-light);
  border-radius: var(--border-radius-lg);
  padding: 50px;
  border-left: 6px solid var(--accent-color);
  margin-top: 60px;
}

.admission-info-block h3 {
  font-size: 1.6rem;
  margin-bottom: 20px;
  color: var(--accent-hover);
}

.admission-info-block p {
  margin-bottom: 25px;
  font-size: 1.05rem;
}

.requirements-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 40px;
}

.req-item {
  display: flex;
  gap: 12px;
  font-weight: 500;
}

.req-item svg {
  color: var(--accent-color);
  flex-shrink: 0;
  margin-top: 4px;
}

.req-text {
  font-size: 0.95rem;
}

/* GALLERY PAGE STYLING */
.gallery-layout-wrapper {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  align-items: start;
  margin-top: 20px;
}

.gallery-sidebar-container {
  position: sticky;
  top: calc(var(--header-height) + 20px);
}

.gallery-sidebar-card {
  background-color: var(--bg-white);
  padding: 25px 20px;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(226, 232, 240, 0.8);
}

.gallery-sidebar-title {
  font-family: var(--font-headings);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--accent-light);
}

.gallery-sidebar-filters {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.gallery-sidebar-filters .filter-btn {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  text-align: left;
  padding: 12px 18px;
  border-radius: var(--border-radius-md);
  border: 1px solid #cbd5e1;
  background-color: var(--bg-white);
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.gallery-sidebar-filters .filter-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
  z-index: -1;
  transition: width 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: var(--border-radius-md);
}

.gallery-sidebar-filters .filter-btn:hover::before,
.gallery-sidebar-filters .filter-btn.active::before {
  width: 100%;
}

.gallery-sidebar-filters .filter-btn:hover,
.gallery-sidebar-filters .filter-btn.active {
  color: var(--bg-white);
  border-color: transparent;
  box-shadow: 0 6px 16px rgba(30, 58, 138, 0.2);
  transform: translateX(5px);
}

.gallery-sidebar-filters .filter-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(30, 58, 138, 0.08);
  color: var(--primary-color);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.gallery-sidebar-filters .filter-btn:hover .filter-badge,
.gallery-sidebar-filters .filter-btn.active .filter-badge {
  background-color: rgba(255, 255, 255, 0.25);
  color: var(--bg-white);
}

.gallery-filters {
  display: none;
}

@media (max-width: 991.98px) {
  .gallery-layout-wrapper {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .gallery-sidebar-container {
    position: relative;
    top: 0;
  }
  
  .gallery-sidebar-filters {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }
  
  .gallery-sidebar-filters .filter-btn {
    width: auto;
    justify-content: center;
    padding: 8px 18px;
    font-size: 0.85rem;
  }
  
  .gallery-sidebar-filters .filter-btn:hover,
  .gallery-sidebar-filters .filter-btn.active {
    transform: none;
  }
  
  .gallery-sidebar-filters .filter-badge {
    margin-left: 8px;
  }
}


.filter-btn {
  background-color: var(--bg-white);
  border: 1px solid #cbd5e1;
  color: var(--text-dark);
  padding: 8px 22px;
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 30px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.filter-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
  z-index: -1;
  transition: width 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 30px;
}

.filter-btn:hover::before, .filter-btn.active::before {
  width: 100%;
}

.filter-btn:hover, .filter-btn.active {
  color: var(--bg-white);
  border-color: transparent;
  box-shadow: 0 6px 16px rgba(30, 58, 138, 0.2);
}

.filter-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(30, 58, 138, 0.08);
  color: var(--primary-color);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 10px;
  margin-left: 6px;
  transition: all 0.3s ease;
}

.filter-btn:hover .filter-badge,
.filter-btn.active .filter-badge {
  background-color: rgba(255, 255, 255, 0.2);
  color: var(--bg-white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 280px;
  grid-auto-flow: dense;
  gap: 30px;
}

.gallery-item {
  position: relative;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  height: 100%;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background-color: var(--bg-light);
}

.gallery-item:nth-child(5n + 1) {
  grid-row: span 2;
}

.gallery-item:nth-child(4n + 3) {
  grid-row: span 2;
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.gallery-item-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.2) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 25px;
}

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

.gallery-item-title {
  color: var(--bg-white);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 8px;
}

.gallery-item-tag {
  color: var(--accent-color);
  font-size: 0.75rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1px;
}

/* Lightbox Modal */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(15, 23, 42, 0.95);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  max-width: 80%;
  max-height: 80%;
  position: relative;
}

.lightbox-img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: var(--border-radius-sm);
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--bg-white);
}

.lightbox-caption {
  color: var(--bg-white);
  text-align: center;
  margin-top: 15px;
  font-family: var(--font-headings);
  font-size: 1.1rem;
  font-weight: 600;
}

.lightbox-close {
  position: absolute;
  top: 30px;
  right: 30px;
  color: var(--bg-white);
  font-size: 2rem;
  cursor: pointer;
  background: transparent;
  border: none;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.lightbox-close:hover {
  background-color: var(--accent-color);
}

/* CONTACT PAGE STYLING */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 50px;
}

.contact-info-panel {
  background-color: var(--primary-dark);
  color: var(--bg-white);
  border-radius: var(--border-radius-lg);
  padding: 50px;
  background-image: 
    radial-gradient(rgba(255, 255, 255, 0.05) 1.5px, transparent 1.5px),
    linear-gradient(135deg, var(--primary-dark) 0%, #1c2b4e 100%);
  background-size: 24px 24px, cover;
  background-position: center, center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.contact-info-top h3 {
  color: var(--bg-white);
  font-size: 1.8rem;
  margin-bottom: 15px;
}

.contact-info-top p {
  opacity: 0.8;
  font-size: 0.95rem;
  margin-bottom: 40px;
}

.contact-details-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact-detail-item {
  display: flex;
  gap: 20px;
}

.cd-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--border-radius-sm);
  background-color: rgba(255, 255, 255, 0.08);
  color: var(--accent-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.cd-title {
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent-color);
  margin-bottom: 4px;
}

.cd-value {
  font-size: 0.95rem;
  opacity: 0.9;
}

.cd-value a:hover {
  color: var(--accent-color);
}

.contact-socials {
  margin-top: 40px;
}

.social-title {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.6;
  margin-bottom: 15px;
  display: block;
}

.social-links {
  display: flex;
  gap: 15px;
}

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

.social-link:hover {
  background-color: var(--accent-color);
  color: var(--bg-white);
  transform: translateY(-3px);
}

/* Enquiry Form Styling */
.form-panel {
  background-color: var(--bg-white);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  padding: 50px;
  border: 1px solid rgba(226, 232, 240, 0.8);
}

.form-panel h3 {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.form-panel p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 35px;
}

.enquiry-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
}

.form-label {
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text-dark);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: left center;
}

.form-group:focus-within .form-label {
  color: var(--primary-light);
  transform: translateY(-2px);
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #cbd5e1;
  border-radius: var(--border-radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-dark);
  transition: all 0.3s ease;
}

.form-input:focus {
  border-color: var(--primary-light);
  outline: none;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

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

.form-feedback {
  font-size: 0.85rem;
  margin-top: 4px;
}

.form-feedback.error {
  color: var(--error-color);
}

/* Map Section */
.map-section {
  padding-top: 0;
}

.map-container {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.1) !important;
  height: 450px;
  border: 8px solid var(--bg-white) !important;
  outline: 1px solid rgba(226, 232, 240, 0.8);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Dialog Modal for Success/Error feedback */
.custom-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(15, 23, 42, 0.6);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  backdrop-filter: blur(4px);
}

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

.modal-box {
  background-color: var(--bg-white);
  border-radius: var(--border-radius-md);
  padding: 40px;
  max-width: 450px;
  width: 90%;
  text-align: center;
  box-shadow: var(--shadow-premium);
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.custom-modal.active .modal-box {
  transform: scale(1);
}

.modal-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 20px auto;
}

.modal-icon.success {
  background-color: rgba(16, 185, 129, 0.1);
  color: var(--success-color);
}

.modal-icon.error {
  background-color: rgba(239, 68, 68, 0.1);
  color: var(--error-color);
}

.modal-title {
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.modal-msg {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 25px;
}

footer {
  background-color: var(--primary-dark);
  color: var(--bg-white);
  padding: 75px 0 20px 0;
  background-image: radial-gradient(circle at 15% 25%, rgba(37, 99, 235, 0.12) 0%, transparent 50%),
                    radial-gradient(circle at 85% 75%, rgba(217, 119, 6, 0.08) 0%, transparent 50%),
                    linear-gradient(135deg, var(--primary-dark) 0%, #0f172a 40%, #020617 100%);
  position: relative;
  overflow: hidden;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(rgba(217, 119, 6, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

footer::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #ea580c 0%, var(--primary-light) 50%, #16a34a 100%);
  z-index: 5;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.footer-logo-img {
  height: 48px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.35)) drop-shadow(0 0 15px rgba(217, 119, 6, 0.55));
}

.footer-logo-title {
  color: var(--bg-white);
  font-size: 1.1rem;
  font-weight: 800;
  text-transform: uppercase;
}

.footer-logo-subtitle {
  color: var(--accent-color);
  font-size: 0.7rem;
  font-weight: 600;
}

.footer-desc {
  opacity: 0.7;
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.footer-links-title {
  color: var(--bg-white);
  font-size: 1.1rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 8px;
}

.footer-links-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 35px;
  height: 2px;
  background-color: var(--accent-color);
}

.footer-links-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link a {
  opacity: 0.7;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-link a:hover {
  opacity: 1;
  color: var(--accent-color);
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  gap: 12px;
  margin-bottom: 15px;
  opacity: 0.7;
  font-size: 0.9rem;
}

.footer-contact-item svg {
  color: var(--accent-color);
  flex-shrink: 0;
  margin-top: 4px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 25px;
  opacity: 0.6;
  font-size: 0.85rem;
}

.footer-bottom-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
}

.footer-bottom-links span {
  margin-right: 0 !important;
  white-space: nowrap;
}

.footer-bottom-links a {
  margin-right: 0 !important;
}

/* Floating WhatsApp Widget */
.whatsapp-widget {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
  display: flex;
  align-items: center;
  background-color: #25d366;
  color: var(--bg-white);
  padding: 10px 18px;
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 0.85rem;
  gap: 8px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  animation: pulse-wa 2s infinite;
}

.whatsapp-widget:hover {
  background-color: #128c7e;
  transform: scale(1.05) translateY(-3px);
  box-shadow: 0 6px 20px rgba(18, 140, 126, 0.4);
}

.whatsapp-widget svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

@keyframes pulse-wa {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* ==========================================
   SCROLL REVEAL ANIMATION SYSTEM
   ========================================== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-left.active,
.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}

/* ==========================================
   TRADE CARD SHIMMER HOVER EFFECT
   ========================================== */
.trade-card {
  position: relative;
  overflow: hidden;
}

.trade-card::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.03) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: rotate(30deg);
  transition: transform 0.8s ease;
  pointer-events: none;
}

.trade-card:hover::after {
  transform: rotate(30deg) translateX(50%);
}

/* ==========================================
   MEMBER CARD AVATAR RING EFFECT
   ========================================== */
.member-avatar {
  position: relative;
  transition: transform 0.4s ease;
}

.member-card:hover .member-avatar {
  transform: scale(1.08);
  box-shadow: 0 8px 24px rgba(217, 119, 6, 0.35);
}

.member-card::after {
  content: '';
  position: absolute;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: 162px;
  height: 162px;
  border-radius: 50%;
  border: 2px solid transparent;
  transition: border-color 0.4s ease;
  pointer-events: none;
}

.member-card:hover::after {
  border-color: var(--accent-color);
}

.member-card {
  position: relative;
  overflow: visible;
}

/* ==========================================
   FORM INPUT FOCUS GRADIENT BORDER
   ========================================== */
.form-input {
  transition: all 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-input:focus {
  border-color: var(--primary-light);
  outline: none;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1), 0 2px 8px rgba(37, 99, 235, 0.08);
}

/* ==========================================
   CTA BANNER UPGRADE
   ========================================== */
.cta-banner {
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(217, 119, 6, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

/* ==========================================
   SECTION WAVE DIVIDERS (REMOVED due to rendering gaps and content overlaps)
   ========================================== */

/* ==========================================
   ACTIVITY CARD ICON GLOW
   ========================================== */
.activity-card:hover .activity-icon {
  text-shadow: 0 0 20px rgba(217, 119, 6, 0.3);
}

/* ==========================================
   SOCIAL ICON BRAND HOVER
   ========================================== */
.social-link {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-link:hover {
  background-color: var(--accent-color);
  color: var(--bg-white);
  transform: translateY(-4px) scale(1.1);
  box-shadow: 0 6px 15px rgba(217, 119, 6, 0.3);
}

/* ==========================================
   FOOTER LINK HOVER POLISH
   ========================================== */
.footer-link a {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  padding-left: 0;
}

.footer-link a::before {
  content: '→';
  position: absolute;
  left: -15px;
  opacity: 0;
  transform: translateX(-6px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  color: var(--accent-color);
}

.footer-link a:hover::before {
  opacity: 1;
  transform: translateX(0);
}

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

/* Mobile Responsiveness Rules */
@media (max-width: 1024px) {
  .quick-info-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .quick-info-section {
    padding-top: 40px;
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 20px;
  }
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
  .about-home-grid, .about-intro-grid, .program-intro-grid, .principal-message-box, .placement-panel, .vision-mission-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-home-img-wrapper {
    order: 2;
  }
  .about-home-img, .workshop-img, .placement-img {
    height: 400px;
  }
  .principal-message-box {
    text-align: center;
  }
  .principal-quote {
    padding-left: 0;
    border-left: none;
  }
  .requirements-list {
    grid-template-columns: 1fr;
  }
  .council-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .cta-banner {
    flex-direction: column;
    text-align: center;
    padding: 40px 30px;
    gap: 30px;
  }
  .cta-content {
    max-width: 100%;
  }
  .cta-btn-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 70px;
    --preheader-height: 36px;
  }
  .pre-header {
    display: block !important;
    height: var(--preheader-height);
  }
  .pre-contact-area {
    display: none !important;
  }
  .ticker-wrap {
    margin: 0 !important;
    width: 100%;
  }
  .ticker-item {
    padding: 0 25px;
    font-size: 0.72rem;
  }
  .logo-img {
    height: 48px;
  }
  header.scrolled .logo-img {
    height: 48px;
  }
  .logo-title {
    font-size: 1.1rem;
  }
  .logo-subtitle {
    font-size: 0.7rem;
  }
  .hero-slider {
    height: 80vh;
    min-height: 520px;
  }
  .slide {
    align-items: flex-start;
    padding-top: calc(var(--header-height) + var(--preheader-height) + 30px);
    padding-bottom: 60px;
  }
  .slide-badge {
    font-size: 0.75rem;
    padding: 4px 12px;
    margin-bottom: 15px;
  }
  .slide-title {
    font-size: 1.7rem;
    line-height: 1.2;
    margin-bottom: 15px;
  }
  .slide-desc {
    font-size: 0.9rem;
    margin-bottom: 25px;
  }
  .section-title {
    font-size: 2rem;
  }
  .slide-actions {
    display: flex;
    flex-direction: row !important;
    justify-content: center;
    gap: 12px;
    width: 100%;
  }
  .slide-actions .btn {
    width: auto !important;
    flex: 1;
    max-width: 160px;
    padding: 10px 16px;
    font-size: 0.85rem;
  }
  .gallery-filters {
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
  }
  .filter-btn {
    padding: 6px 16px;
    font-size: 0.8rem;
  }
  .quick-info-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .testimonials-grid, .trades-grid, .activities-grid, .gallery-grid, .contact-grid, .council-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .slider-control {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  
  /* Mobile Navigation Menu */
  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: -100%;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background-color: var(--bg-white);
    flex-direction: column;
    align-items: flex-start;
    padding: 40px 30px;
    gap: 20px;
    transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 15px rgba(0,0,0,0.05);
    overflow-y: auto;
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .nav-item {
    width: 100%;
  }
  
  .nav-link {
    font-size: 1.1rem;
    display: block;
    width: 100%;
    padding: 10px 0;
    border-bottom: 1px solid #f1f5f9;
    color: var(--primary-dark);
  }
  
  /* Ensure correct contrast in transparent header context (like home page) */
  .home-page header:not(.scrolled) .nav-menu .nav-link {
    color: var(--primary-dark);
  }
  .home-page header:not(.scrolled) .nav-menu .nav-link.active {
    color: var(--accent-color);
  }
  .home-page header:not(.scrolled) .nav-menu .nav-link:hover {
    color: var(--accent-color);
  }
  
  .nav-link::after {
    display: none;
  }
  
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border-top: none;
    background-color: var(--bg-light);
    border-radius: var(--border-radius-sm);
    padding: 5px 0;
    margin-top: 5px;
    display: none;
  }
  
  .dropdown.active .dropdown-menu {
    display: block;
  }
  
  .dropdown-item a {
    padding: 8px 15px;
  }

  /* Hamburger transform when menu is active */
  .hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  .hamburger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .form-panel, .contact-info-panel {
    padding: 30px 20px;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }
  .footer-bottom-links {
    justify-content: center;
  }
  .whatsapp-widget {
    bottom: 20px;
    right: 20px;
    padding: 8px 14px;
    font-size: 0.8rem;
  }
  .whatsapp-widget span {
    display: none; /* Show only icon on small mobile screens */
  }
  
  /* Mobile Experience Badge Scale-Down */
  .about-experience-badge {
    padding: 12px 20px;
    gap: 10px;
    bottom: 15px;
    right: 15px;
    max-width: 220px;
  }
  .exp-num {
    font-size: 1.8rem;
  }
  .exp-txt {
    font-size: 0.75rem;
  }
}

/* ==========================================
   PREMIUM VISUAL OVERHAUL STYLES
   ========================================== */
section[style*="background-color: var(--bg-white)"],
section[style*="background-color: var(--bg-white);"] {
  background: radial-gradient(circle at 10% 20%, rgba(37, 99, 235, 0.025) 0%, transparent 50%),
              radial-gradient(circle at 90% 80%, rgba(217, 119, 6, 0.015) 0%, transparent 50%),
              var(--bg-white) !important;
}

section:not([style*="background-color: var(--bg-white)"]):not([style*="background-color: var(--bg-white);"]):not(.stats-section):not(.page-banner):not(.hero-slider):not(.map-section) {
  background: radial-gradient(circle at 10% 20%, rgba(37, 99, 235, 0.02) 0%, transparent 50%),
              radial-gradient(circle at 90% 80%, rgba(217, 119, 6, 0.01) 0%, transparent 50%),
              var(--bg-light);
}

.map-section {
  background: radial-gradient(circle at 10% 20%, rgba(37, 99, 235, 0.02) 0%, transparent 50%),
              radial-gradient(circle at 90% 80%, rgba(217, 119, 6, 0.01) 0%, transparent 50%),
              var(--bg-light);
}

/* Apple/Stripe-style card styling overlays */
.info-card, .trade-card, .testimonial-card, .member-card, .activity-card, .form-panel, .placement-panel, .admission-info-block, .principal-message-box {
  border: 1px solid rgba(226, 232, 240, 0.8) !important;
  box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.04), 
              0 1px 3px rgba(15, 23, 42, 0.02), 
              inset 0 1px 0 0 rgba(255, 255, 255, 0.7) !important;
  transition: all 0.45s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.info-card:hover, .trade-card:hover, .testimonial-card:hover, .member-card:hover, .activity-card:hover {
  transform: translateY(-8px) !important;
  box-shadow: 0 20px 45px -12px rgba(15, 23, 42, 0.12), 
              0 4px 16px rgba(15, 23, 42, 0.06), 
              inset 0 1px 0 0 rgba(255, 255, 255, 0.9) !important;
  background-color: rgba(255, 255, 255, 0.96) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
}

.admission-info-block {
  border-left: 6px solid var(--accent-color) !important;
}

/* ==========================================
   PROGRAM SIDEBAR STYLES (Premium)
   ========================================== */
.program-layout-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 50px;
  align-items: start;
}

.program-main-content {
  min-width: 0;
}

.program-sidebar {
  position: sticky;
  top: calc(var(--header-height) + 30px);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sidebar-box {
  background: linear-gradient(135deg, #fefefe 0%, #f8fafc 100%);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 8px 30px -8px rgba(15, 23, 42, 0.06),
              0 2px 6px rgba(15, 23, 42, 0.03),
              inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.sidebar-title {
  font-family: var(--font-headings);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 22px;
  padding-bottom: 14px;
  border-bottom: none;
  position: relative;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.sidebar-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  border-radius: 3px;
}

.sidebar-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-radius: 12px;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
}

.sidebar-link::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 0;
  background: linear-gradient(180deg, var(--primary-color), var(--accent-color));
  border-radius: 0 3px 3px 0;
  transition: height 0.3s ease;
}

.sidebar-link:hover {
  background-color: rgba(37, 99, 235, 0.04);
  color: var(--primary-color);
  transform: translateX(6px);
  border-color: rgba(37, 99, 235, 0.08);
}

.sidebar-link:hover::before {
  height: 60%;
}

.sidebar-link.active {
  background: linear-gradient(135deg, var(--primary-color) 0%, #1e40af 100%);
  color: #ffffff !important;
  border-color: transparent;
  box-shadow: 0 6px 20px -4px rgba(37, 99, 235, 0.35),
              inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.sidebar-link.active::before {
  display: none;
}

.sidebar-link-icon {
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(37, 99, 235, 0.06);
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.sidebar-link.active .sidebar-link-icon {
  background: rgba(255, 255, 255, 0.18);
}

.sidebar-link:hover .sidebar-link-icon {
  background: rgba(37, 99, 235, 0.1);
  transform: scale(1.05);
}

/* Sidebar Quick Contact Card */
.sidebar-quick-contact {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  border-radius: 16px;
  padding: 24px;
  color: #e2e8f0;
  box-shadow: 0 8px 30px -8px rgba(15, 23, 42, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.sidebar-quick-contact h4 {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.sidebar-quick-contact p {
  font-size: 0.82rem;
  color: #94a3b8;
  margin-bottom: 16px;
  line-height: 1.5;
}

.sidebar-quick-contact .contact-line {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 0.88rem;
  color: #cbd5e1;
}

.sidebar-quick-contact .contact-line svg {
  color: var(--accent-color);
  flex-shrink: 0;
}

.sidebar-quick-contact .btn {
  margin-top: 16px;
  width: 100%;
  text-align: center;
  font-size: 0.85rem;
  padding: 12px 18px;
  border-radius: 10px;
}

/* ==========================================
   PROGRAM CONTENT PREMIUM STYLES
   ========================================== */

/* Program directory cards (iti-program.html) */
.program-directory-card {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 28px;
  border-radius: 16px;
  background: var(--bg-white);
  border: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: 0 4px 15px -3px rgba(15, 23, 42, 0.04);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.program-directory-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px -10px rgba(15, 23, 42, 0.1),
              0 4px 12px rgba(15, 23, 42, 0.04);
  border-color: rgba(37, 99, 235, 0.15);
}

.program-directory-card .dir-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.program-directory-card:hover .dir-icon {
  transform: scale(1.1) rotate(-3deg);
}

.program-directory-card .dir-icon.trades-icon {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
}

.program-directory-card .dir-icon.workshops-icon {
  background: linear-gradient(135deg, #dbeafe 0%, #93c5fd 100%);
}

.program-directory-card .dir-icon.placements-icon {
  background: linear-gradient(135deg, #dcfce7 0%, #86efac 100%);
}

.program-directory-card .dir-body {
  flex: 1;
  min-width: 0;
}

.program-directory-card .dir-title {
  font-family: var(--font-headings);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0 0 4px 0;
}

.program-directory-card .dir-subtitle {
  font-size: 0.82rem;
  color: var(--text-muted);
  display: block;
  margin-bottom: 6px;
}

.program-directory-card .dir-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.program-directory-card .dir-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
  color: var(--primary-color);
}

.program-directory-card:hover .dir-arrow {
  background: var(--primary-color);
  color: #ffffff;
  transform: translateX(4px);
}

/* Activity Cards Premium */
.program-main-content .activity-card {
  border-radius: 14px;
}

/* Lab Detail Items Premium */
.lab-details-item h4 {
  font-family: var(--font-headings);
}

/* Placement Steps Premium */
.placement-step {
  transition: all 0.3s ease;
}

.placement-step:hover {
  transform: translateX(4px);
}

.placement-step .step-num {
  transition: all 0.3s ease;
}

.placement-step:hover .step-num {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

/* Program Page Intro Enhancement */
.program-intro-enhanced {
  background: none;
  border-radius: 0;
  padding: 0;
  margin-bottom: 50px;
  border: none;
}

.program-intro-enhanced p {
  margin-bottom: 16px;
}

.program-intro-enhanced p:last-of-type {
  margin-bottom: 0;
}

.program-intro-enhanced .program-intro-grid {
  grid-template-columns: 1fr;
  gap: 35px;
  margin-bottom: 0 !important;
}

.program-intro-enhanced .reveal-right img {
  width: 100%;
  height: auto;
  max-height: 500px;
  display: block;
}

/* Key Info Stats Row */
.program-key-stats {
  display: flex;
  gap: 20px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.program-stat-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 10px;
  background: rgba(37, 99, 235, 0.06);
  border: 1px solid rgba(37, 99, 235, 0.08);
  font-size: 0.85rem;
  color: var(--primary-color);
  font-weight: 600;
}

.program-stat-badge svg {
  flex-shrink: 0;
}

/* Bottom Action Panel Premium */
.program-action-panel {
  margin-top: 60px;
  padding: 40px;
  border-radius: 20px;
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  color: #e2e8f0;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 20px 50px -15px rgba(15, 23, 42, 0.3);
  position: relative;
  overflow: hidden;
}

.program-action-panel::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.program-action-panel::after {
  content: '';
  position: absolute;
  bottom: -40%;
  left: -10%;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(217, 119, 6, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.program-action-panel .section-subtitle {
  color: var(--accent-color);
}

.program-action-panel h3 {
  color: #ffffff;
  font-size: 1.6rem;
  margin-bottom: 12px;
}

.program-action-panel p {
  color: #94a3b8;
  max-width: 650px;
  line-height: 1.7;
}

.program-action-panel .btn-accent {
  box-shadow: 0 4px 15px rgba(217, 119, 6, 0.3);
}

.program-action-panel .btn-outline {
  border-color: rgba(255, 255, 255, 0.2);
  color: #e2e8f0;
}

.admission-details-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-bottom: 35px;
}

.admission-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 25px;
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.admission-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.admission-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 12px;
}

.admission-card-header span {
  font-size: 1.5rem;
}

.admission-card h4 {
  color: #ffffff !important;
  font-size: 1.25rem;
  margin: 0;
}

.admission-card ul, .admission-card ol {
  padding-left: 0;
  margin: 0;
  list-style: none;
}

.admission-card li {
  margin-bottom: 12px;
  font-size: 0.92rem;
  color: #cbd5e1;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  line-height: 1.5;
}

.admission-card li:last-child {
  margin-bottom: 0;
}

.admission-card li .bullet-dot {
  color: var(--accent-color);
  font-weight: bold;
  font-size: 1.2rem;
  line-height: 1;
}

.admission-card li .step-num {
  background: var(--accent-color);
  color: #ffffff;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.admission-card li .check-icon {
  color: var(--accent-color);
  font-weight: bold;
  font-size: 1rem;
  flex-shrink: 0;
}

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

/* Sidebar Responsive rules */
@media (max-width: 1024px) {
  .program-layout-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .program-sidebar {
    position: static;
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .sidebar-menu {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
  }

  .sidebar-link {
    flex: 1;
    min-width: 140px;
    justify-content: center;
    text-align: center;
    padding: 12px 14px;
  }

  .sidebar-link::before {
    display: none;
  }

  .sidebar-link-icon {
    width: 30px;
    height: 30px;
    font-size: 1rem;
    border-radius: 8px;
  }

  .program-intro-enhanced {
    padding: 0;
  }

  .program-action-panel {
    padding: 30px;
  }
}

@media (max-width: 768px) {
  .sidebar-menu {
    flex-direction: column;
  }

  .sidebar-link {
    justify-content: flex-start;
    text-align: left;
  }

  .program-directory-card {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }

  .program-directory-card .dir-arrow {
    display: none;
  }

  .program-key-stats {
    flex-direction: column;
    gap: 10px;
  }

  .program-action-panel {
    padding: 24px;
  }

  .program-action-panel h3 {
    font-size: 1.3rem;
  }
}

/* ==========================================
   SUBPAGE PREMIUM TRADE CARDS
   ========================================== */
.program-main-content .trades-grid {
  grid-template-columns: 1fr;
  gap: 30px;
}

@media (min-width: 769px) {
  .program-main-content .trade-card {
    flex-direction: row;
    align-items: stretch;
    min-height: 240px;
    max-width: 780px;
    margin: 0 auto;
  }
  
  .program-main-content .trade-card-banner {
    width: 200px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
  }
  
  .program-main-content .trade-card-body {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 25px;
    align-items: start;
    padding: 25px 30px;
    flex-grow: 1;
  }
  
  .program-main-content .trade-card-body h4 {
    grid-column: 1;
    margin-top: 0;
  }

  .program-main-content .trade-desc {
    grid-column: 1;
  }
  
  .program-main-content .trade-card-body .feature-list {
    grid-column: 1;
    margin-bottom: 0 !important;
  }
  
  .program-main-content .trade-details-list {
    grid-column: 2;
    grid-row: 1 / span 2;
    margin-bottom: 0;
    border-left: 1px solid rgba(226, 232, 240, 0.8);
    padding-left: 25px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
  }
}

/* ==========================================
   PREMIUM WORKSHOP CARDS
   ========================================== */
.workshop-cards-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-top: 40px;
}

.workshop-card {
  background: var(--bg-white);
  border-radius: var(--border-radius-lg);
  border: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: var(--shadow-sm);
  padding: 30px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.workshop-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  transition: width 0.3s ease;
}

.workshop-card:nth-child(1)::before { background: #d97706; }
.workshop-card:nth-child(2)::before { background: var(--primary-color); }
.workshop-card:nth-child(3)::before { background: #16a34a; }

.workshop-card:hover::before {
  width: 6px;
}

.workshop-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-premium);
  border-color: rgba(37, 99, 235, 0.15);
}

.workshop-card-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}

.workshop-card-icon {
  font-size: 2rem;
  width: 54px;
  height: 54px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.workshop-card:hover .workshop-card-icon {
  transform: scale(1.05);
}

.workshop-card-title {
  font-family: var(--font-headings);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0 0 4px 0;
}

.workshop-badge {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.workshop-card-body p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.equipment-title {
  font-family: var(--font-headings);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.equipment-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.equipment-tag {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: var(--text-muted);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.workshop-card:hover .equipment-tag {
  border-color: rgba(37, 99, 235, 0.12);
  background: rgba(37, 99, 235, 0.01);
}

.equipment-tag:hover {
  background: var(--primary-color) !important;
  color: #ffffff !important;
  border-color: transparent !important;
}

/* ==========================================
   IMAGE-AUGMENTED QUICK INFO CARDS
   ========================================== */
.info-card.with-img {
  padding: 0 0 30px 0;
  overflow: hidden;
}

.info-card-img-wrapper {
  width: 100%;
  height: 285px;
  overflow: hidden;
  position: relative;
  margin-bottom: 25px;
  background-color: #ffffff;
  border-bottom: 1px solid rgba(226, 232, 240, 0.6);
}

.info-card-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.5s ease;
}

.info-card.with-img:hover .info-card-img-wrapper img {
  transform: scale(1.06);
}

.info-card.with-img .info-card-icon {
  position: absolute;
  top: 255px;
  right: 25px;
  margin-bottom: 0;
  z-index: 10;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
  background: var(--bg-white);
  border: 1px solid rgba(226, 232, 240, 0.8);
}

.info-card.with-img .info-card-title,
.info-card.with-img .info-card-desc,
.info-card.with-img .info-card-link {
  padding-left: 30px;
  padding-right: 30px;
}

/* Homepage Trade Cards with Images */
.trade-card.with-img {
  overflow: hidden;
  position: relative;
}

.trade-card-img-wrapper {
  width: 100%;
  height: 285px; /* 4:3 aspect ratio based on card width */
  overflow: hidden;
  position: relative;
  background-color: #ffffff;
  border-bottom: 1px solid rgba(226, 232, 240, 0.6);
}

.trade-card-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.5s ease;
}

.trade-card.with-img:hover .trade-card-img-wrapper img {
  transform: scale(1.06);
}

.trade-card.with-img .trade-card-icon {
  position: absolute;
  top: 255px; /* Overlay on bottom-right edge of 285px height container */
  right: 25px;
  width: 60px;
  height: 60px;
  border-radius: var(--border-radius-sm);
  background: var(--bg-white);
  border: 1px solid rgba(226, 232, 240, 0.8);
  color: var(--accent-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  z-index: 10;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 0;
}

.trade-card.with-img:hover .trade-card-icon {
  transform: scale(1.1);
  box-shadow: 0 4px 15px rgba(217, 119, 6, 0.2);
}

.trade-card.with-img .trade-card-title {
  color: var(--text-dark) !important;
  font-size: 1.4rem;
  margin-top: 0;
  margin-bottom: 6px;
  font-family: var(--font-headings);
  font-weight: 700;
}

.trade-card.with-img .trade-card-subtitle {
  color: var(--text-muted) !important;
  font-size: 0.82rem;
  font-weight: 600;
  display: block;
  margin-bottom: 18px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  opacity: 1;
}

/* Specific styling for the Contact Page section to reduce empty padding gaps */
.contact-section {
  padding-top: 50px !important;
}

@media (max-width: 768px) {
  .contact-section {
    padding-top: 30px !important;
  }
}

/* Specific styling override for the 34+ Years slide title to improve letter forms and data readability */
.slide-title-alt {
  font-family: var(--font-headings) !important;
  font-weight: 700 !important;
  letter-spacing: -0.5px !important;
}

/* Decorative Section Divider */
.section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 10px auto;
  width: 150px;
  position: relative;
}

.section-divider::before,
.section-divider::after {
  content: '';
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(217, 119, 6, 0.3), transparent);
  flex-grow: 1;
}

.section-divider-dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent-color);
  border-radius: 50%;
  margin: 0 10px;
  position: relative;
}

.section-divider-dot::after {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  width: 16px;
  height: 16px;
  border: 1px solid var(--accent-color);
  border-radius: 50%;
  animation: accent-pulse 2s infinite;
  opacity: 0.4;
}

/* ==========================================
   HOMEPAGE TRANSPARENT HEADER OVERRIDES
   ========================================== */
.home-page header:not(.scrolled) {
  background-color: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.home-page header:not(.scrolled) .nav-link {
  color: rgba(255, 255, 255, 0.95);
}

.home-page header:not(.scrolled) .nav-link:hover,
.home-page header:not(.scrolled) .nav-link.active {
  color: var(--accent-color);
}

.home-page header:not(.scrolled) .logo-subtitle {
  color: rgba(255, 255, 255, 0.75);
}

.home-page header:not(.scrolled) .logo-txt-black {
  color: #ffffff;
}

.home-page header:not(.scrolled) .pre-header {
  background-color: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.home-page header:not(.scrolled) .pre-contact-area,
.home-page header:not(.scrolled) .pre-contact-area a {
  color: rgba(255, 255, 255, 0.85);
}

.home-page header:not(.scrolled) .ticker-item {
  color: rgba(255, 255, 255, 0.85);
}

.home-page header:not(.scrolled) .hamburger span {
  background-color: #ffffff;
}
.footer-bottom-links .designer-link {
  color: var(--accent-color) !important;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-bottom-links .designer-link:hover {
  color: #ffffff !important;
  text-decoration: underline;
}

/* Historical Showcase Grid */
.historical-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.historical-item {
  background-color: var(--bg-white);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(226, 232, 240, 0.8);
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.historical-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-light);
}

.historical-img-wrapper {
  position: relative;
  height: 240px;
  overflow: hidden;
  background-color: #0f172a;
}

.historical-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.historical-item:hover .historical-img {
  transform: scale(1.06);
}

.historical-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.historical-tag {
  color: var(--primary-color);
  font-size: 0.75rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1px;
  display: inline-block;
}

.historical-description {
  font-size: 0.95rem;
  color: var(--text-dark);
  line-height: 1.5;
  font-weight: 500;
  margin: 0;
}

/* Workshop Slideshow Styles */
.workshop-slideshow {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  margin-top: 15px;
}

.workshop-slides-container {
  width: 100%;
  height: 100%;
  position: relative;
}

.workshop-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease-in-out, visibility 0.6s ease-in-out;
  z-index: 1;
}

.workshop-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.workshop-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Controls */
.workshop-prev-btn,
.workshop-next-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(30, 41, 59, 0.6);
  color: #fff;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: all 0.3s ease;
}

.workshop-prev-btn {
  left: 15px;
}

.workshop-next-btn {
  right: 15px;
}

.workshop-prev-btn:hover,
.workshop-next-btn:hover {
  background: var(--primary-color);
  transform: translateY(-50%) scale(1.1);
}

/* Dots Indicators */
.workshop-dots {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

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

.workshop-dot.active {
  background: var(--accent-color);
  transform: scale(1.2);
  width: 12px;
  height: 12px;
}

/* Program Slideshow Styles */
.program-slideshow {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9; /* Fit 16:9 images perfectly without white spacing */
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  margin-top: 15px;
}

.program-slides-container {
  width: 100%;
  height: 100%;
  position: relative;
}

.program-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease-in-out, visibility 0.6s ease-in-out;
  z-index: 1;
}

.program-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.program-slide img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

/* Controls */
.program-prev-btn,
.program-next-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(30, 41, 59, 0.6);
  color: #fff;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: all 0.3s ease;
}

.program-prev-btn {
  left: 15px;
}

.program-next-btn {
  right: 15px;
}

.program-prev-btn:hover,
.program-next-btn:hover {
  background: var(--primary-color);
  transform: translateY(-50%) scale(1.1);
}

/* Dots Indicators */
.program-dots {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

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

.program-dot.active {
  background: var(--accent-color);
  transform: scale(1.2);
  width: 12px;
  height: 12px;
}

/* About Us Slideshow Styles */
.about-slideshow {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9; /* Fit 16:9 images perfectly without white spacing */
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  margin-top: 15px;
}

.about-slides-container {
  width: 100%;
  height: 100%;
  position: relative;
}

.about-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease-in-out, visibility 0.6s ease-in-out;
  z-index: 1;
}

.about-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.about-slide img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

/* Controls */
.about-prev-btn,
.about-next-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(30, 41, 59, 0.6);
  color: #fff;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: all 0.3s ease;
}

.about-prev-btn {
  left: 15px;
}

.about-next-btn {
  right: 15px;
}

.about-prev-btn:hover,
.about-next-btn:hover {
  background: var(--primary-color);
  transform: translateY(-50%) scale(1.1);
}

/* Dots Indicators */
.about-dots {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

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

.about-dot.active {
  background: var(--accent-color);
  transform: scale(1.2);
  width: 12px;
  height: 12px;
}

/* ==========================================
   Professional About Page Grid Layout Blocks
   ========================================== */
.about-section-block {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  align-items: center;
  margin-bottom: 50px;
}

.about-section-block:last-child {
  margin-bottom: 0;
}

@media (min-width: 992px) {
  .about-section-block {
    grid-template-columns: 1.2fr 0.8fr;
  }
  /* Alternating layout: text left/photo right, then photo left/text right */
  .about-section-block:nth-child(even) {
    direction: rtl;
  }
  .about-section-block:nth-child(even) .about-section-content {
    direction: ltr;
  }
  .about-section-block:nth-child(even) .about-section-image-wrapper {
    direction: ltr;
  }
}

.about-section-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-section-content h2.highlighted-heading {
  font-size: 2.1rem;
  color: var(--primary-color);
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
  padding-bottom: 8px;
  font-weight: 700;
}

.about-section-content h2.highlighted-heading::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 60px;
  height: 4px;
  background-color: var(--accent-color);
  border-radius: 2px;
}

.about-section-content p {
  color: var(--text-dark);
  line-height: 1.75;
  margin-bottom: 15px;
  font-size: 1.05rem;
}

.about-section-image-wrapper {
  position: relative;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  aspect-ratio: 4 / 3;
  width: 100%;
}

.about-section-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.about-section-image-wrapper:hover img {
  transform: scale(1.05);
}

.text-highlight {
  font-weight: 700;
}



