

/* ---- CSS Variables ---- */
:root {
  --primary: #1a3a7a;
  --secondary: #2d7a22;
  --accent: #2d7a22;
  --accent-lt: #3a9a2a;
  --dark: #ffffff;
  --dark2: #f5f8ff;
  --card-bg: #ffffff;
  --light: #eef6ee;
  --white: #ffffff;
  --text-main: #1a2a3a;
  --text-muted: #5a7a6a;
  --gradient: linear-gradient(135deg, #1a3a7a 0%, #2d7a22 100%);
  --gradient2: linear-gradient(135deg, #2d7a22 0%, #4aaa30 100%);
  --shadow: 0 8px 32px rgba(26, 58, 122, 0.15);
  --shadow-green: 0 8px 32px rgba(45, 122, 34, 0.18);
  --radius: 16px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

html, body {
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: 'Poppins', sans-serif;
  background: #ffffff;
  color: var(--text-main);
  line-height: 1.7;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  line-height: 1.25;
}

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

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

section {
  padding: 90px 0;
}

/* ---- Scroll Progress Bar ---- */
#progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: var(--gradient2);
  z-index: 9999;
  transition: width 0.1s linear;
}

/* ---- Navbar ---- */
.navbar {
  background: rgba(255, 255, 255, 0.97) !important;
  backdrop-filter: blur(14px);
  border-bottom: 2px solid rgba(26, 58, 122, 0.15);
  padding: 10px 0;
  transition: var(--transition);
  box-shadow: 0 2px 20px rgba(26, 58, 122, 0.08);
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.navbar-logo {
  height: 62px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(45, 125, 34, 0.3));
  transition: var(--transition);
}

.navbar-logo:hover {
  filter: drop-shadow(0 4px 16px rgba(45, 125, 34, 0.6));
  transform: scale(1.05);
}

.navbar-brand-text {
  font-family: 'Outfit', sans-serif;
  font-size: 1.3rem;
  font-weight: 900;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

.navbar-brand-sub {
  font-family: 'Poppins', sans-serif;
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--accent-lt);
  -webkit-text-fill-color: var(--accent-lt);
  letter-spacing: 2px;
  text-transform: uppercase;
  display: block;
}

.nav-link {
  color: #1a3a7a !important;
  font-weight: 600;
  padding: 6px 14px !important;
  border-radius: 8px;
  transition: var(--transition);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 14px;
  width: 0;
  height: 2px;
  background: var(--gradient2);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: calc(100% - 28px);
}

.nav-link:hover,
.nav-link.active {
  color: var(--secondary) !important;
}

.navbar-toggler {
  border: 1px solid rgba(45, 125, 34, 0.4);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2845,125,34,0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ---- Buttons ---- */
.btn-gold {
  background: var(--gradient2);
  color: #fff;
  font-weight: 700;
  padding: 12px 32px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(45, 125, 34, 0.35);
  display: inline-block;
}

.btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(45, 125, 34, 0.55);
  color: #fff;
}

.btn-outline-gold {
  background: transparent;
  color: var(--accent-lt);
  font-weight: 700;
  padding: 11px 30px;
  border-radius: 50px;
  border: 2px solid var(--accent);
  cursor: pointer;
  transition: var(--transition);
  display: inline-block;
}

.btn-outline-gold:hover {
  background: var(--gradient2);
  color: #fff;
  border-color: transparent;
  transform: translateY(-3px);
}

/* ---- Section Titles ---- */
.section-label {
  font-size: 0.85rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent-lt);
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  display: block;
  margin-bottom: 10px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  margin-bottom: 16px;
}

.section-subtitle {
  color: #5a7a6a;
  max-width: 600px;
  margin: 0 auto 50px;
}

.divider {
  width: 60px;
  height: 4px;
  background: var(--gradient2);
  border-radius: 4px;
  margin: 16px auto 24px;
}

/* ---- Hero ---- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: #f5f8ff;
}

.hero-bg {
  position: absolute;
  inset: 0;
  /* background: radial-gradient(ellipse at 60% 50%, rgba(26, 58, 122, 0.08) 0%, transparent 70%),
    radial-gradient(ellipse at 10% 80%, rgba(45, 122, 34, 0.07) 0%, transparent 60%),
    #f5f8ff; */
  background-image: url("Assetes/images/herobg.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  /* overlay */
  background-color: rgba(255, 255, 255, 0.9);
  
}

.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.particle {
  position: absolute;
  border-radius: 50%;
  opacity: 0.15;
  animation: float linear infinite;
}

@keyframes float {
  0% {
    transform: translateY(100vh) rotate(0deg);
    opacity: 0;
  }

  10% {
    opacity: 0.15;
  }

  90% {
    opacity: 0.15;
  }

  100% {
    transform: translateY(-100px) rotate(720deg);
    opacity: 0;
  }
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-tag {
  display: inline-block;
  background: rgba(45, 125, 34, 0.15);
  border: 1px solid rgba(45, 125, 34, 0.4);
  color: var(--accent-lt);
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 2px;
  margin-bottom: 24px;
  text-transform: uppercase;
}

.hero-title {
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 24px;
}

.hero-title .highlight {
  background: var(--gradient2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 1.1rem;
  color: #4a6a5a;
  max-width: 520px;
  margin-bottom: 40px;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 50px;
}

.stat-item .stat-num {
  font-family: 'Outfit', sans-serif;
  font-size: 2.2rem;
  font-weight: 900;
  background: var(--gradient2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
}

.stat-item .stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-image-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image-wrap::before {
  content: '';
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(45, 125, 34, 0.3) 0%, transparent 70%);
  animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 0.7;
  }

  50% {
    transform: scale(1.15);
    opacity: 1;
  }
}

/* .hero-img {
  width: 360px;
  height: 480px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow), 0 0 60px rgba(45,125,34,0.25);
  border: 3px solid rgba(45,125,34,0.35);
  position: relative;
  z-index: 2;
} */
.hero-img {
  width: 450px;
  height: 550px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow), 0 0 60px rgba(45, 125, 34, 0.25);
  border: 3px solid rgba(45, 125, 34, 0.35);
  position: relative;
  z-index: 2;
}

.hero-badge {
  position: absolute;
  bottom: 20px;
  left: -20px;
  background: var(--gradient2);
  color: #fff;
  padding: 12px 20px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 8px 24px rgba(45, 125, 34, 0.4);
  z-index: 3;
}

/* ---- Book Cards ---- */
.book-card {
  background: #ffffff;
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  border: 1px solid rgba(26, 58, 122, 0.15);
  height: 100%;
  cursor: pointer;
  position: relative;
  box-shadow: 0 4px 20px rgba(26, 58, 122, 0.07);
}

.book-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient);
  opacity: 0;
  transition: var(--transition);
  border-radius: var(--radius);
  z-index: 0;
}

.book-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow);
}

.book-card:hover::before {
  opacity: 0.1;
}

.book-cover {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}

.book-cover-placeholder {
  width: 100%;
  height: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  text-align: center;
  padding: 20px;
  position: relative;
  overflow: hidden;
}

.book-body {
  padding: 22px;
  position: relative;
  z-index: 1;
}

.book-body .badge-cat {
  background: rgba(45, 125, 34, 0.15);
  color: var(--accent-lt);
  border: 1px solid rgba(45, 125, 34, 0.35);
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 10px;
  display: inline-block;
}

.book-body h5 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--primary);
}

.book-body p {
  font-size: 0.87rem;
  color: #5a7a6a;
  margin-bottom: 14px;
}

.book-price {
  font-family: 'Outfit', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  background: var(--gradient2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---- Book Rating ---- */
.book-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 12px;
  color: #ffc107;
  font-size: 0.85rem;
}

.book-rating span {
  color: var(--text-muted);
  font-size: 0.75rem;
  margin-left: 4px;
  font-weight: 500;
}

/* ---- Program Cards ---- */
.program-card {
  background: #ffffff;
  border-radius: var(--radius);
  padding: 36px 30px;
  border: 1px solid rgba(26, 58, 122, 0.15);
  transition: var(--transition);
  height: 100%;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(26, 58, 122, 0.07);
}

.program-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient2);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

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

.program-card:hover::after {
  transform: scaleX(1);
}

.program-icon {
  width: 64px;
  height: 64px;
  background: var(--gradient);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.program-card h4 {
  font-size: 1.15rem;
  margin-bottom: 6px;
  color: var(--primary);
}

.program-tamil {
  font-size: 0.9rem;
  color: var(--secondary);
  margin-bottom: 14px;
  font-weight: 500;
}

.program-card ul {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.program-card ul li {
  font-size: 0.87rem;
  color: #4a6a5a;
  padding: 4px 0;
  padding-left: 20px;
  position: relative;
}

.program-card ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent-lt);
  font-weight: 700;
}

/* ---- Testimonials ---- */
.testimonial-section {
  background: #f0f5ff;
}

.testimonial-slider {
  position: relative;
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  transition: transform 0.5s ease;
}

.testimonial-slide {
  min-width: 100%;
  padding: 0 16px;
}

.testimonial-card {
  background: #ffffff;
  border-radius: var(--radius);
  padding: 40px;
  border: 1px solid rgba(26, 58, 122, 0.15);
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  box-shadow: 0 4px 24px rgba(26, 58, 122, 0.1);
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 30px;
  font-size: 8rem;
  font-family: 'Outfit', sans-serif;
  color: rgba(45, 125, 34, 0.12);
  line-height: 1;
}

.testimonial-text {
  font-size: 1.05rem;
  color: #3a5a4a;
  font-style: italic;
  margin-bottom: 24px;
}

.testimonial-img {
  width: 80px;
  height: 80px;
  border-radius: 100%;
  object-fit: cover;
  margin: 0 auto 20px;
  border: 3px solid var(--accent);
  box-shadow: 0 4px 12px rgba(45, 125, 34, 0.25);
  position: relative;
  z-index: 2;
}

.testimonial-author {
  font-weight: 700;
  color: var(--primary);
}

.testimonial-role {
  font-size: 0.85rem;
  color: #5a7a6a;
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

.t-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(45, 125, 34, 0.3);
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.t-dot.active {
  background: var(--accent-lt);
  transform: scale(1.3);
}

/* ---- About Page ---- */
.timeline {
  position: relative;
  padding: 20px 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: 2px;
  height: 100%;
  background: linear-gradient(to bottom, var(--primary), var(--secondary));
}

.timeline-item {
  display: flex;
  justify-content: flex-end;
  padding-right: calc(50% + 40px);
  margin-bottom: 50px;
  position: relative;
}

.timeline-item:nth-child(even) {
  justify-content: flex-start;
  padding-right: 0;
  padding-left: calc(50% + 40px);
}

.timeline-dot {
  position: absolute;
  left: 50%;
  top: 20px;
  transform: translateX(-50%);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--gradient2);
  border: 3px solid var(--dark);
  z-index: 2;
  box-shadow: 0 0 0 4px rgba(45, 125, 34, 0.25);
}

.timeline-content {
  background: #ffffff;
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid rgba(26, 58, 122, 0.15);
  max-width: 380px;
  box-shadow: 0 4px 16px rgba(26, 58, 122, 0.08);
}

.timeline-year {
  font-size: 0.8rem;
  color: var(--accent-lt);
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.timeline-content h5 {
  font-size: 1.05rem;
  margin-bottom: 8px;
  color: var(--primary);
}

.timeline-content p {
  font-size: 0.87rem;
  color: #5a7a6a;
  margin: 0;
}

/* ---- Achievement Cards ---- */
.achievement-card {
  background: #ffffff;
  border-radius: var(--radius);
  padding: 30px;
  text-align: center;
  border: 1px solid rgba(26, 58, 122, 0.15);
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(26, 58, 122, 0.07);
}

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

.achievement-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.achievement-num {
  font-family: 'Outfit', sans-serif;
  font-size: 2.5rem;
  font-weight: 900;
  background: var(--gradient2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---- Book Detail Page ---- */
.book-detail-cover {
  width: 100%;
  max-width: 340px;
  height: 440px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 3px solid rgba(45, 125, 34, 0.35);
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px;
  background: #f5f8ff;
  border-radius: 12px;
  border: 1px solid rgba(26, 58, 122, 0.12);
  margin-bottom: 12px;
  transition: var(--transition);
}

.benefit-item:hover {
  border-color: rgba(45, 122, 34, 0.4);
  background: #eef6ee;
}

.benefit-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
}

.benefit-text h6 {
  font-size: 0.95rem;
  margin-bottom: 4px;
  color: var(--primary);
}

.benefit-text p {
  font-size: 0.84rem;
  color: #5a7a6a;
  margin: 0;
}

/* ---- Footer ---- */
footer {
  background: #1a3a7a;
  padding: 70px 0 30px;
  border-top: 3px solid #2d7a22;
}

.footer-brand {
  font-family: 'Outfit', sans-serif;
  font-size: 1.8rem;
  font-weight: 900;
  background: var(--gradient2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
}

.footer-logo {
  height: 150px;
  width: auto;
  object-fit: contain;
  margin-bottom: 14px;
  filter: drop-shadow(0 2px 8px rgba(45, 125, 34, 0.3));
  /* background-color: white; */
  border-radius: 5px;
}

.footer-desc {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
  max-width: 300px;
}

.footer-heading {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #6ee66e;
}

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

.footer-links li {
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.7);
}

.footer-links a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-links a:hover {
  color: #6ee66e;
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.social-link {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: #fff;
  transition: var(--transition);
}

.social-link:hover {
  background: var(--gradient2);
  color: #fff;
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 28px;
  margin-top: 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

/* ---- Light Section ---- */
.section-light {
  background: #eef6ee;
}

/* ---- CTA Section ---- */
.cta-section {
  background: var(--gradient);
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 80px 0;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C%2Fg%3E%3C%2Fg%3E%3C%2Fsvg%3E");
}

.cta-section h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  position: relative;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 550px;
  margin: 0 auto 30px;
  position: relative;
}

.btn-white {
  background: #fff;
  color: var(--primary);
  font-weight: 700;
  padding: 14px 36px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  display: inline-block;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.btn-white:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
  color: var(--secondary);
}

/* ---- Page Hero ---- */
.page-hero {
  padding: 160px 0 80px;
  background: linear-gradient(135deg, #f0f5ff 0%, #eef6ee 100%);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 100%, rgba(26, 58, 122, 0.08) 0%, transparent 70%);
}

.page-hero h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  position: relative;
  color: var(--primary);
}

.page-hero p {
  color: #5a7a6a;
  max-width: 550px;
  margin: 0 auto;
  position: relative;
}

/* ---- Reveal animation base ---- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-50px);
}

.reveal-right {
  opacity: 0;
  transform: translateX(50px);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.85);
}

/* ---- Responsive ---- */
@media (max-width: 991px) {
  .timeline::before {
    left: 20px;
  }

  .timeline-item {
    padding-right: 0;
    padding-left: 60px;
    justify-content: flex-start;
  }

  .timeline-item:nth-child(even) {
    padding-left: 60px;
  }

  .timeline-dot {
    left: 20px;
  }

  .timeline-content {
    max-width: 100%;
  }

  .hero-stats {
    gap: 24px;
  }
}

@media (max-width: 767px) {
  section {
    padding: 60px 0;
  }

  .hero-img {
    width: 260px;
    height: 320px;
  }

  .hero-stats {
    flex-wrap: wrap;
    gap: 20px;
  }

  .footer-bottom {
    justify-content: center;
    text-align: center;
  }

  .navbar-logo {
    height: 60px;
  }

  .navbar-brand-text {
    font-size: 1.15rem;
  }

  .navbar-brand-sub {
    font-size: 0.55rem;
    letter-spacing: 1px;
  }

  .navbar-brand {
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .navbar-logo {
    height: 36px;
  }

  .navbar-brand-text {
    font-size: 1rem;
  }

  .navbar-brand-sub {
    font-size: 0.5rem;
    letter-spacing: 0.5px;
  }

  .navbar-brand {
    gap: 8px;
    max-width: 75%;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .navbar-toggler {
    padding: 4px 8px;
  }
}

/* ==================== SPLASH SCREEN ==================== */
#splash-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.6s;
}

#splash-screen.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.splash-content {
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.splash-logo {
  height: 420px;
  width: auto;
  object-fit: contain;
  animation: splashPulse 2s ease-in-out infinite;
  filter: drop-shadow(0 4px 12px rgba(45, 122, 34, 0.2));
}

@keyframes splashPulse {
  0%, 100% {
    transform: scale(1);
    filter: drop-shadow(0 4px 12px rgba(45, 122, 34, 0.2));
  }
  50% {
    transform: scale(1.05);
    filter: drop-shadow(0 8px 24px rgba(45, 122, 34, 0.4));
  }
}

/* ==================== GALLERY ==================== */
.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 24px;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(26, 58, 122, 0.1);
  transition: var(--transition);
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(26, 58, 122, 0.2);
}

.gallery-img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13, 13, 26, 0.8), transparent);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  opacity: 0;
  transition: var(--transition);
}

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

.gallery-info h5 {
  color: #fff;
  margin: 0;
  font-size: 1.1rem;
}

.gallery-info p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.85rem;
  margin: 4px 0 0;
}

/* Lightbox Modal Customization */
.modal-content.gallery-modal {
  background: transparent;
  border: none;
}

.modal-header.gallery-modal-header {
  border: none;
  padding: 0;
  position: absolute;
  top: -40px;
  right: 0;
  z-index: 1056;
}

.modal-header.gallery-modal-header .btn-close {
  filter: invert(1) grayscale(100%) brightness(200%);
  opacity: 1;
}

.lightbox-img {
  width: 100%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 8px;
}