/* ============================================
   Grameen Bharat Skill Development Mission
   Custom Styles — Bootstrap 5 Theme
   ============================================ */

:root {
  --primary-dark: #0b2d5c;
  --primary-blue: #134074;
  --accent-green: #1b7a4e;
  --accent-green-light: #2d9d6a;
  --accent-gold: #c9a227;
  --accent-gold-light: #e8c547;
  --white: #ffffff;
  --off-white: #f4f7fb;
  --text-dark: #1a2b3c;
  --text-muted: #5c6b7a;
  --shadow-sm: 0 4px 15px rgba(11, 45, 92, 0.08);
  --shadow-md: 0 8px 30px rgba(11, 45, 92, 0.12);
  --shadow-lg: 0 15px 45px rgba(11, 45, 92, 0.18);
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --radius: 12px;
  --radius-lg: 20px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  color: var(--text-dark);
  background-color: var(--white);
  overflow-x: hidden;
  line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
  color: var(--primary-dark);
}

a {
  text-decoration: none;
  transition: color var(--transition), background var(--transition);
}

img {
  max-width: 100%;
  height: auto;
}

.section-padding {
  padding: 90px 0;
}

.section-padding-sm {
  padding: 60px 0;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 0.75rem;
  position: relative;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 650px;
  margin: 0 auto 3rem;
}

.section-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent-green), var(--accent-green-light));
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 1rem;
}

.bg-off-white {
  background-color: var(--off-white);
}

.bg-primary-gradient {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-blue) 50%, #1a5f8a 100%);
}

.text-gold {
  color: var(--accent-gold) !important;
}

.text-green {
  color: var(--accent-green) !important;
}

/* ========== Preloader ========== */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-ring {
  width: 60px;
  height: 60px;
  border: 4px solid rgba(255, 255, 255, 0.2);
  border-top-color: var(--accent-gold);
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
}

.loader-text {
  color: var(--white);
  margin-top: 1.25rem;
  font-size: 0.9rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ========== Top Bar ========== */
.top-bar {
  background: var(--primary-dark);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.85rem;
  padding: 8px 0;
}

.top-bar a {
  color: var(--accent-gold-light);
}

.top-bar a:hover {
  color: var(--white);
}

.top-bar i {
  color: var(--accent-gold);
  margin-right: 6px;
}

/* ========== Navbar ========== */
#mainNavbar {
  background: transparent;
  padding: 3rem 0;
  transition: all var(--transition);
}

#mainNavbar.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-md);
  padding: 0.6rem 0;
}

#mainNavbar.scrolled .nav-link {
  color: var(--text-dark) !important;
}

#mainNavbar.scrolled .navbar-brand span {
  color: var(--primary-dark);
}

.navbar-brand {
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.navbar-brand .brand-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--accent-green), var(--accent-gold));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.25rem;
}

.navbar-brand span {
  color: var(--white);
  line-height: 1.2;
  max-width: 220px;
}

.navbar-brand small {
  display: block;
  font-size: 0.65rem;
  font-weight: 500;
  opacity: 0.85;
  letter-spacing: 0.5px;
}

#mainNavbar .nav-link {
  color: rgba(255, 255, 255, 0.95);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.5rem 1rem !important;
  position: relative;
}

#mainNavbar .nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--accent-gold);
  transition: all var(--transition);
  transform: translateX(-50%);
}

#mainNavbar .nav-link:hover::after,
#mainNavbar .nav-link.active::after {
  width: 70%;
}

#mainNavbar .nav-link:hover,
#mainNavbar .nav-link.active {
  color: var(--accent-gold-light) !important;
}

#mainNavbar.scrolled .nav-link:hover,
#mainNavbar.scrolled .nav-link.active {
  color: var(--accent-green) !important;
}

.btn-nav-apply {
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-light));
  color: var(--primary-dark) !important;
  font-weight: 600;
  border-radius: 50px;
  padding: 0.5rem 1.25rem !important;
  border: none;
  box-shadow: 0 4px 15px rgba(201, 162, 39, 0.4);
}

.btn-nav-apply:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201, 162, 39, 0.5);
  color: var(--primary-dark) !important;
}

.navbar-toggler {
  border-color: rgba(255, 255, 255, 0.5);
}

#mainNavbar .navbar-toggler-icon {
  filter: brightness(0) invert(1);
}

#mainNavbar.scrolled .navbar-toggler-icon,
body.inner-page #mainNavbar .navbar-toggler-icon {
  filter: none;
}

#mainNavbar.scrolled .navbar-toggler,
body.inner-page #mainNavbar .navbar-toggler {
  border-color: var(--primary-dark);
}

/* ========== Hero ========== */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, rgba(11, 45, 92, 0.92) 0%, rgba(19, 64, 116, 0.88) 50%, rgba(27, 122, 78, 0.85) 100%),
    url("https://images.unsplash.com/photo-1560493676-04071c5f467b?w=1920&q=80") center/cover no-repeat;
  padding-top: 140px;
  padding-bottom: 80px;
}

.hero-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.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--accent-gold-light);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.8s ease;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.25rem);
  color: var(--white);
  font-weight: 800;
  margin-bottom: 1.25rem;
  animation: fadeInUp 0.8s ease 0.1s both;
}

.hero-title .highlight {
  color: var(--accent-gold-light);
  display: block;
}

.hero-desc {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  max-width: 560px;
  margin-bottom: 2rem;
  animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-buttons {
  animation: fadeInUp 0.8s ease 0.3s both;
}

.btn-hero-primary {
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-light));
  color: var(--primary-dark);
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 50px;
  border: none;
  box-shadow: 0 8px 25px rgba(201, 162, 39, 0.45);
  transition: all var(--transition);
}

.btn-hero-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(201, 162, 39, 0.55);
  color: var(--primary-dark);
}

.btn-hero-outline {
  background: transparent;
  color: var(--white);
  font-weight: 600;
  padding: 14px 32px;
  border-radius: 50px;
  border: 2px solid rgba(255, 255, 255, 0.8);
  transition: all var(--transition);
}

.btn-hero-outline:hover {
  background: var(--white);
  color: var(--primary-dark);
  border-color: var(--white);
}

.hero-stats-row {
  margin-top: 3rem;
  animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-stat-item {
  text-align: center;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-stat-item h3 {
  color: var(--accent-gold-light);
  font-size: 1.75rem;
  margin-bottom: 0.25rem;
}

.hero-stat-item p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.85rem;
  margin: 0;
}

.hero-image-wrap {
  position: relative;
  animation: fadeInRight 1s ease 0.3s both;
}

.hero-image-wrap img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 4px solid rgba(255, 255, 255, 0.2);
}

.hero-float-card {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: var(--white);
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: float 3s ease-in-out infinite;
}

.hero-float-card .icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--accent-green), var(--accent-green-light));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.25rem;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ========== Intro / About Preview ========== */
.intro-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.intro-image::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--accent-green), var(--accent-gold));
}

.intro-features {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}

.intro-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.intro-features li i {
  color: var(--accent-green);
  font-size: 1.1rem;
  margin-top: 4px;
  flex-shrink: 0;
}

/* ========== Course Cards ========== */
.course-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  height: 100%;
  border: 1px solid rgba(11, 45, 92, 0.08);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.course-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-green), var(--accent-gold));
  transform: scaleX(0);
  transition: transform var(--transition);
}

.course-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.course-card:hover::before {
  transform: scaleX(1);
}

.course-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, rgba(27, 122, 78, 0.12), rgba(201, 162, 39, 0.12));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: var(--accent-green);
  margin-bottom: 1.25rem;
  transition: all var(--transition);
}

.course-card:hover .course-icon {
  background: linear-gradient(135deg, var(--accent-green), var(--accent-green-light));
  color: var(--white);
  transform: scale(1.05);
}

.course-card h4 {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
}

.course-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.course-duration {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--accent-gold);
  font-weight: 600;
  background: rgba(201, 162, 39, 0.12);
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 1rem;
}

.btn-read-more {
  color: var(--accent-green);
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-read-more:hover {
  color: var(--primary-dark);
  gap: 10px;
}

/* ========== Why Choose Us ========== */
.why-card {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  height: 100%;
  transition: all var(--transition);
  border-bottom: 3px solid transparent;
}

.why-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-bottom-color: var(--accent-gold);
}

.why-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.25rem;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-blue));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--accent-gold-light);
  transition: all var(--transition);
}

.why-card:hover .why-icon {
  background: linear-gradient(135deg, var(--accent-green), var(--accent-green-light));
  transform: rotateY(180deg);
}

/* ========== Benefits ========== */
.benefit-item {
  display: flex;
  gap: 1.25rem;
  padding: 1.5rem;
  background: var(--white);
  border-radius: var(--radius);
  margin-bottom: 1rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

.benefit-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateX(8px);
}

.benefit-num {
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-light));
  color: var(--primary-dark);
  font-weight: 800;
  font-size: 1.1rem;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ========== Carousel ========== */
.custom-carousel .carousel-item {
  height: 450px;
}

.custom-carousel .carousel-item img {
  object-fit: cover;
  height: 100%;
  filter: brightness(0.75);
}

.custom-carousel .carousel-caption {
  bottom: 30%;
  text-align: left;
  max-width: 600px;
  padding: 2rem;
  background: linear-gradient(90deg, rgba(11, 45, 92, 0.9), transparent);
  border-radius: var(--radius);
  left: 5%;
  right: auto;
}

.custom-carousel .carousel-caption h3 {
  color: var(--white);
  font-size: 1.75rem;
}

.custom-carousel .carousel-indicators button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--accent-gold);
}

/* ========== Gallery ========== */
.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item .gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11, 45, 92, 0.9), transparent);
  display: flex;
  align-items: flex-end;
  padding: 1.25rem;
  opacity: 0;
  transition: opacity var(--transition);
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay span {
  color: var(--white);
  font-weight: 600;
  font-size: 0.95rem;
}

/* ========== Statistics ========== */
.stats-section {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-blue) 60%, var(--accent-green) 100%);
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  background: rgba(201, 162, 39, 0.1);
  border-radius: 50%;
  top: -100px;
  right: -100px;
}

.stat-box {
  text-align: center;
  padding: 2rem 1rem;
  position: relative;
  z-index: 1;
}

.stat-box .counter {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--accent-gold-light);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-box p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  margin: 0;
  font-weight: 500;
}

.stat-box i {
  font-size: 2.5rem;
  color: rgba(255, 255, 255, 0.3);
  margin-bottom: 1rem;
}

/* ========== Testimonials ========== */
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  height: 100%;
  position: relative;
  border-left: 4px solid var(--accent-gold);
  transition: all var(--transition);
}

.testimonial-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.testimonial-card .quote-icon {
  font-size: 2.5rem;
  color: rgba(201, 162, 39, 0.3);
  margin-bottom: 1rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.testimonial-author img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-author h6 {
  margin: 0;
  font-size: 0.95rem;
}

.testimonial-author small {
  color: var(--text-muted);
}

.stars {
  color: var(--accent-gold);
  margin-bottom: 0.75rem;
}

/* ========== CTA ========== */
.cta-section {
  background: linear-gradient(135deg, var(--accent-green) 0%, #1a6b45 50%, var(--primary-dark) 100%);
  border-radius: var(--radius-lg);
  padding: 4rem 3rem;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  right: -50px;
  top: -50px;
  width: 200px;
  height: 200px;
  border: 30px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}

.cta-section h2,
.cta-section p {
  color: var(--white);
}

/* ========== News / Announcements ========== */
.news-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  height: 100%;
  transition: all var(--transition);
}

.news-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
}

.news-card .news-img {
  height: 180px;
  overflow: hidden;
}

.news-card .news-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.news-card:hover .news-img img {
  transform: scale(1.08);
}

.news-card .news-body {
  padding: 1.5rem;
}

.news-date {
  font-size: 0.8rem;
  color: var(--accent-green);
  font-weight: 600;
}

.news-card h5 {
  font-size: 1.05rem;
  margin: 0.5rem 0 0.75rem;
}

/* ========== Contact Summary ========== */
.contact-info-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  height: 100%;
  text-align: center;
  transition: all var(--transition);
}

.contact-info-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
}

.contact-info-card .icon-wrap {
  width: 70px;
  height: 70px;
  margin: 0 auto 1.25rem;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-blue));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-gold-light);
  font-size: 1.5rem;
}

/* ========== Footer ========== */
.site-footer {
  background: var(--primary-dark);
  color: rgba(255, 255, 255, 0.85);
  padding-top: 70px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 1.25rem;
}

.footer-brand .brand-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--accent-green), var(--accent-gold));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}

.footer-brand h5 {
  color: var(--white);
  margin: 0;
  font-size: 1rem;
}

.site-footer h6 {
  color: var(--accent-gold-light);
  font-size: 1rem;
  margin-bottom: 1.25rem;
  font-weight: 600;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.6rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-links a:hover {
  color: var(--accent-gold-light);
  padding-left: 5px;
}

.footer-contact li {
  display: flex;
  gap: 12px;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.footer-contact li i {
  color: var(--accent-gold);
  margin-top: 4px;
  flex-shrink: 0;
}

.social-links a {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--white);
  margin-right: 8px;
  transition: all var(--transition);
}

.social-links a:hover {
  background: var(--accent-gold);
  color: var(--primary-dark);
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem 0;
  margin-top: 3rem;
  font-size: 0.85rem;
  text-align: center;
}

/* ========== Page Header (Inner Pages) ========== */
.page-header {
  background: linear-gradient(135deg, rgba(11, 45, 92, 0.95), rgba(27, 122, 78, 0.9)),
    url("https://images.unsplash.com/photo-1500595046743-cd271d694d30?w=1920&q=80") center/cover no-repeat;
  padding: 160px 0 80px;
  text-align: center;
}

.page-header h1 {
  color: var(--white);
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: 0.75rem;
}

.breadcrumb-custom {
  display: flex;
  justify-content: center;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.breadcrumb-custom li {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.breadcrumb-custom li a {
  color: var(--accent-gold-light);
}

.breadcrumb-custom li.active {
  color: var(--white);
}

/* ========== About Page ========== */
.mission-vision-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
  height: 100%;
  border-top: 4px solid var(--accent-green);
  transition: all var(--transition);
}

.mission-vision-card.gold-border {
  border-top-color: var(--accent-gold);
}

.mission-vision-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
}

.mission-vision-card .card-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--accent-green), var(--accent-green-light));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.mission-vision-card.gold-border .card-icon {
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-light));
  color: var(--primary-dark);
}

.timeline-item {
  position: relative;
  padding-left: 2.5rem;
  padding-bottom: 2rem;
  border-left: 2px solid var(--accent-gold);
  margin-left: 1rem;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -9px;
  top: 0;
  width: 16px;
  height: 16px;
  background: var(--accent-green);
  border-radius: 50%;
  border: 3px solid var(--white);
  box-shadow: 0 0 0 3px var(--accent-gold);
}

/* ========== Director Message ========== */
.director-section {
  background: linear-gradient(180deg, var(--off-white) 0%, var(--white) 100%);
}

.director-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  max-width: 900px;
  margin: 0 auto;
}

.director-header {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-blue));
  padding: 3rem 2rem 2rem;
  text-align: center;
  position: relative;
}

.director-header::after {
  content: "";
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 60px;
  background: var(--white);
  border-radius: 50%;
}

.director-photo {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  border: 5px solid var(--accent-gold);
  object-fit: cover;
  margin-bottom: 1.25rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.director-header h2 {
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
}

.director-header .designation {
  color: var(--accent-gold-light);
  font-size: 0.95rem;
  font-weight: 500;
}

.director-body {
  padding: 3.5rem 2.5rem 2.5rem;
}

.director-quote {
  font-size: 1.15rem;
  font-style: italic;
  color: var(--primary-blue);
  border-left: 4px solid var(--accent-gold);
  padding-left: 1.5rem;
  margin-bottom: 2rem;
  line-height: 1.8;
}

.director-body p {
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  text-align: justify;
}

.signature-area {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px dashed rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.signature-text {
  font-family: "Georgia", serif;
  font-size: 1.75rem;
  color: var(--primary-dark);
  font-style: italic;
}

.signature-line {
  width: 200px;
  height: 2px;
  background: var(--accent-gold);
  margin-top: 0.5rem;
}

/* ========== Contact Page ========== */
.contact-form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}

.contact-form-card .form-control,
.contact-form-card .form-select {
  border: 2px solid #e8ecf1;
  border-radius: 10px;
  padding: 12px 16px;
  transition: all var(--transition);
}

.contact-form-card .form-control:focus,
.contact-form-card .form-select:focus {
  border-color: var(--accent-green);
  box-shadow: 0 0 0 4px rgba(27, 122, 78, 0.12);
}

.btn-submit {
  background: linear-gradient(135deg, var(--accent-green), var(--accent-green-light));
  color: var(--white);
  font-weight: 600;
  padding: 14px 36px;
  border-radius: 50px;
  border: none;
  transition: all var(--transition);
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(27, 122, 78, 0.35);
  color: var(--white);
}

.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  height: 100%;
  min-height: 350px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  min-height: 350px;
  border: 0;
}

.office-hours-card {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-blue));
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.office-hours-card h5 {
  color: var(--accent-gold-light);
}

.office-hours-card li {
  display: flex;
  justify-content: space-between;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.9rem;
}

/* ========== WhatsApp Float ========== */
.whatsapp-float {
  position: fixed;
  bottom: 90px;
  right: 25px;
  width: 56px;
  height: 56px;
  background: #25d366;
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
  z-index: 999;
  transition: all var(--transition);
  animation: pulse-wa 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  color: var(--white);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
}

@keyframes pulse-wa {
  0%, 100% { box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5); }
  50% { box-shadow: 0 6px 30px rgba(37, 211, 102, 0.8); }
}

/* ========== Scroll to Top ========== */
.scroll-to-top {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-light));
  color: var(--primary-dark);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: var(--shadow-md);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
  cursor: pointer;
}

.scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-to-top:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* ========== Reveal Animation ========== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* ========== Responsive ========== */
/* Inner pages — navbar always solid */
body.inner-page #mainNavbar {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-sm);
  padding: 0.6rem 0;
}

body.inner-page #mainNavbar .nav-link {
  color: var(--text-dark) !important;
}

body.inner-page #mainNavbar .nav-link:hover,
body.inner-page #mainNavbar .nav-link.active {
  color: var(--accent-green) !important;
}

body.inner-page #mainNavbar .navbar-brand span {
  color: var(--primary-dark);
}

body.inner-page .navbar-toggler {
  border-color: var(--primary-dark);
}

@media (max-width: 991.98px) {
  #mainNavbar {
    background: var(--white);
    box-shadow: var(--shadow-sm);
    padding: 0.75rem 0;
  }

  #mainNavbar .nav-link {
    color: var(--text-dark) !important;
  }

  #mainNavbar .navbar-brand span {
    color: var(--primary-dark);
  }

  .hero-section {
    padding-top: 120px;
    text-align: center;
  }

  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-image-wrap {
    margin-top: 3rem;
  }

  .hero-float-card {
    left: 50%;
    transform: translateX(-50%);
    bottom: -30px;
  }

  .custom-carousel .carousel-item {
    height: 350px;
  }

  .custom-carousel .carousel-caption {
    bottom: 15%;
    padding: 1rem;
  }

  .cta-section {
    padding: 2.5rem 1.5rem;
    text-align: center;
  }

  .director-body {
    padding: 3rem 1.5rem 2rem;
  }
}

@media (max-width: 575.98px) {
  .section-padding {
    padding: 60px 0;
  }

  .hero-buttons .btn {
    display: block;
    width: 100%;
    margin-bottom: 0.75rem;
  }

  .hero-buttons .btn + .btn {
    margin-left: 0 !important;
  }

  .whatsapp-float {
    bottom: 80px;
    right: 15px;
    width: 50px;
    height: 50px;
  }

  .scroll-to-top {
    right: 15px;
    bottom: 15px;
  }
}


/* ==========================================
   CONTACT PAGE DESIGN FIXES
========================================== */

/* Fix navbar overlap */
.page-header {
    padding-top: 220px !important;
    padding-bottom: 100px !important;
}

/* Contact page spacing */
.contact-form-card,
.contact-info-card,
.office-hours-card {
    height: auto;
    transition: 0.3s ease;
}

    /* Better card hover */
    .contact-info-card:hover,
    .office-hours-card:hover,
    .contact-form-card:hover {
        transform: translateY(-5px);
    }

    /* Contact form improvements */
    .contact-form-card .form-control,
    .contact-form-card .form-select,
    .contact-form-card textarea {
        min-height: 52px;
        border-radius: 12px;
        font-size: 15px;
    }

    .contact-form-card textarea {
        min-height: 140px;
        resize: none;
    }

    /* Label improvements */
    .contact-form-card .form-label {
        font-weight: 600;
        margin-bottom: 8px;
        color: var(--primary-dark);
    }

/* Submit button full width mobile */
.btn-submit {
    min-height: 54px;
    font-size: 16px;
    letter-spacing: 0.5px;
}

/* Contact info cards */
.contact-info-card {
    padding: 30px 25px;
    border: 1px solid rgba(0,0,0,0.05);
}

    .contact-info-card h5 {
        margin-top: 15px;
        margin-bottom: 10px;
    }

    /* Links inside cards */
    .contact-info-card a {
        color: var(--accent-green);
        font-weight: 500;
    }

        .contact-info-card a:hover {
            color: var(--primary-dark);
        }

/* Office hours card */
.office-hours-card li:last-child {
    border-bottom: none;
}

/* Social icons alignment */
.social-links {
    margin-top: 25px;
}

    .social-links a {
        margin: 5px;
    }

/* Map section */
.map-container {
    border-radius: 20px;
    overflow: hidden;
    margin-top: 20px;
}

/* Improve section title spacing */
.section-title {
    margin-bottom: 15px;
}

/* Better mobile spacing */
@media (max-width: 991px) {

    .page-header {
        padding-top: 170px !important;
        padding-bottom: 70px !important;
    }

    .contact-form-card {
        margin-bottom: 30px;
    }

    .contact-info-card,
    .office-hours-card {
        margin-bottom: 20px;
    }
}

/* Mobile design fixes */
@media (max-width: 576px) {

    .page-header h1 {
        font-size: 2rem;
    }

    .contact-form-card,
    .contact-info-card,
    .office-hours-card {
        padding: 20px;
    }

        .contact-form-card .form-control,
        .contact-form-card .form-select {
            min-height: 48px;
        }

    .btn-submit {
        width: 100%;
    }

    .social-links {
        text-align: center;
    }

    .map-container iframe {
        min-height: 280px;
    }
}