/*
 * Res4Dev Institute — Modern Redesign
 * Design System: Editorial/Refined | Crimson + Dark Navy + Gold
 */

/* ============================================================
   CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  /* Brand Colors */
  --primary:        #c41e3a;
  --primary-dark:   #8b1425;
  --primary-light:  #e84560;
  --primary-glow:   rgba(196, 30, 58, 0.15);

  /* Dark Palette */
  --dark:           #0d0d1a;
  --dark-2:         #13131f;
  --dark-3:         #1a1a2e;
  --dark-card:      #1e1e30;

  /* Accent */
  --gold:           #d4a843;
  --gold-light:     #f0c96a;

  /* Neutrals */
  --text:           #2a2a3a;
  --text-mid:       #5a5a72;
  --text-light:     #8888a0;
  --white:          #ffffff;
  --off-white:      #f9f8f6;
  --surface:        #f3f1ee;
  --border:         rgba(0,0,0,0.08);
  --border-light:   rgba(255,255,255,0.12);

  /* Typography */
  --font-heading:   'Playfair Display', Georgia, serif;
  --font-body:      'Source Sans 3', 'Open Sans', sans-serif;
  --font-display:   'Bebas Neue', 'Impact', sans-serif;

  /* Transitions */
  --ease:           cubic-bezier(0.4, 0, 0.2, 1);
  --transition:     all 0.4s var(--ease);
  --transition-slow: all 0.7s var(--ease);

  /* Shadows */
  --shadow-sm:   0 2px 10px rgba(13,13,26,0.08);
  --shadow-md:   0 6px 24px rgba(13,13,26,0.12);
  --shadow-lg:   0 12px 48px rgba(13,13,26,0.16);
  --shadow-xl:   0 24px 72px rgba(13,13,26,0.22);
  --shadow-red:  0 8px 30px rgba(196,30,58,0.3);

  /* Spacing */
  --section-pad: 90px;
}

/* ============================================================
   BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary-light);

}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--dark);
  line-height: 1.2;
}

img {
  max-width: 100%;


















}

p {
  margin-bottom: 1rem;
}

section {
  overflow: hidden;
}

/* ============================================================
   PRELOADER
   ============================================================ */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;

}

#preloader::before {
  content: '';
  width: 52px;
  height: 52px;
  border: 3px solid var(--border-light);
  border-top-color: var(--primary);

  border-radius: 50%;
  animation: spin 0.85s linear infinite;



}

#preloader::after {
  content: '';
  position: absolute;
  width: 36px;
  height: 36px;
  border: 3px solid transparent;
  border-bottom-color: var(--gold);
  border-radius: 50%;
  animation: spin 0.6s linear infinite reverse;
}

@keyframes spin {
  to { transform: rotate(360deg); }





}

/* ============================================================
   BACK TO TOP
   ============================================================ */
.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 996;
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  font-size: 22px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-red);
}

.back-to-top:hover {
  background: var(--primary-dark);
  color: var(--white);
  transform: translateY(-3px);
}

.back-to-top.active {
  opacity: 1;
  visibility: visible;
}

/* ============================================================
   HEADER
   ============================================================ */
#header {

  z-index: 997;
  padding: 18px 0;
  transition: var(--transition-slow);
  background: transparent;
}

#header.header-scrolled,
#header.header-inner-pages {
  background: var(--dark);
  padding: 12px 0;
  box-shadow: 0 2px 30px rgba(0,0,0,0.3);
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-img {
  height: 85px;
  width: auto;
  object-fit: contain;
  filter: none;
}

.logo-wordmark {
  font-family: var(--font-body);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.1;
}

.logo-wordmark em {
  font-style: normal;
  font-weight: 300;
  display: block;
  font-size: 24px;
  letter-spacing: 4px;
  color: rgba(255,255,255,0.6);

  position: relative;
  width: fit-content;
}

.logo-wordmark em::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 1px;
  background: var(--gold);
}

/* Navbar Desktop */





.navbar {
  padding: 0;
}

.navbar ul {
  margin: 0;
  padding: 0;

  list-style: none;
  display: flex;
  align-items: center;
  gap: 0;
}



.navbar > ul > li {
  padding: 8px 14px;

}

.navbar a,
.navbar a:focus {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;



  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  white-space: nowrap;
  transition: var(--transition);
  position: relative;
  padding: 4px 0;



}

.navbar > ul > li > a::after {
  content: '';
  position: absolute;
  bottom: -2px;


  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
}

.navbar > ul > li > a:hover::after,
.navbar > ul > li > a.active::after {
  width: 100%;
}

.navbar a:hover,
.navbar .active,
.navbar li:hover > a {
  color: var(--white);









}

.navbar a i {
  font-size: 11px;
  line-height: 0;
}

/* Dropdown */
.navbar .dropdown ul {
  position: absolute;
  top: calc(100% + 20px);
  left: 0;
  min-width: 320px;
  background: var(--white);
  border-radius: 8px;
  box-shadow: var(--shadow-xl);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  padding: 8px 0;
  z-index: 9999;
  border-top: 3px solid var(--primary);

  max-height: 500px;
  overflow-y: auto;
}

.navbar .dropdown:hover > ul {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.navbar .dropdown ul li {
  min-width: 200px;
}

.navbar .dropdown ul a {
  padding: 10px 20px;
  font-size: 13px;
  text-transform: none;
  color: var(--text);
  font-weight: 400;
  letter-spacing: 0;
  display: block;
}

.navbar .dropdown ul a:hover {
  color: var(--primary);
  background: rgba(196,30,58,0.05);
  padding-left: 26px;
















}

.navbar .dropdown ul a::after {
  display: none;




}

/* Mobile nav toggle */


.mobile-nav-toggle {
  color: var(--white);
  font-size: 26px;
  cursor: pointer;
  display: none;
  line-height: 0;
  transition: var(--transition);
}

@media (max-width: 991px) {
  .mobile-nav-toggle {
    display: block;
  }

  .navbar ul {
    display: none;
  }
}

.navbar-mobile {
  position: fixed;
  inset: 0;
  background: rgba(10,10,20,0.95);
  backdrop-filter: blur(10px);




  z-index: 999;
}

.navbar-mobile .mobile-nav-toggle {
  position: absolute;
  top: 18px;
  right: 18px;
}

.navbar-mobile ul {
  display: block;
  position: absolute;
  top: 60px;
  left: 16px;
  right: 16px;
  bottom: 16px;
  background: var(--dark-card);
  border-radius: 12px;

  overflow-y: auto;
  padding: 16px 0;
}

.navbar-mobile a,
.navbar-mobile a:focus {
  padding: 12px 24px;
  font-size: 15px;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.5px;
}

.navbar-mobile a:hover,
.navbar-mobile .active,
.navbar-mobile li:hover > a {
  color: var(--primary-light);
}

.navbar-mobile a::after {
  display: none;
}

.navbar-mobile .dropdown ul {
  position: static;
  display: none;
  box-shadow: none;
  background: rgba(255,255,255,0.05);
  border-radius: 0;
  border-top: none;
  opacity: 1;
  visibility: visible;
  transform: none;
  margin: 0 16px;
  padding: 6px 0;


}

.navbar-mobile .dropdown ul a {
  color: rgba(255,255,255,0.7);
  font-size: 13px;
  padding: 8px 24px;

}

.navbar-mobile .dropdown ul a:hover {
  color: var(--primary-light);
  background: transparent;
  padding-left: 30px;
}

.navbar-mobile .dropdown > .dropdown-active {
  display: block;
}

/* Disable AOS delay on mobile */
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/* ============================================================
   HERO SECTION — SWIPER SLIDER
   ============================================================ */
#hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
}

.hero-slider {
  width: 100%;
  height: 100%;
}

/* Slide */
.hero-slider .swiper-slide {
  position: relative;
  overflow: hidden;
}

/* Background with Ken Burns */
.slide-bg {
  position: absolute;
  inset: -5%;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  transition: transform 8s ease;
  will-change: transform;
}

.hero-slider .swiper-slide-active .slide-bg {
  animation: kenBurns 10s ease forwards;








}

@keyframes kenBurns {
  from { transform: scale(1.05); }
  to   { transform: scale(1.15); }



}

/* Overlays */
.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10,10,20,0.82) 0%,
    rgba(196,30,58,0.25) 50%,
    rgba(10,10,20,0.75) 100%
  );
  z-index: 1;
}

.slide-overlay--navy {
  background: linear-gradient(
    135deg,
    rgba(13,13,26,0.88) 0%,
    rgba(26,26,46,0.45) 60%,
    rgba(13,13,26,0.8) 100%
  );




}

.slide-overlay--deep {
  background: linear-gradient(
    to right,
    rgba(10,10,20,0.92) 0%,
    rgba(10,10,20,0.55) 100%
  );
}

.slide-overlay--warm {
  background: linear-gradient(
    135deg,
    rgba(139,20,37,0.8) 0%,
    rgba(10,10,20,0.6) 50%,
    rgba(10,10,20,0.85) 100%
  );
}

/* Slide Content */
.slide-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 40px 80px;
  max-width: 900px;
  margin: 0 auto;
  right: 0;
  left: 0;
}

.slide-eyebrow {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease 0.2s, transform 0.7s ease 0.2s;
}

.swiper-slide-active .slide-eyebrow {
  opacity: 1;
  transform: translateY(0);
}

.slide-title {
  font-family: var(--font-heading);
  font-size: clamp(38px, 6vw, 72px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  margin: 0 0 20px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease 0.35s, transform 0.7s ease 0.35s;
}

.swiper-slide-active .slide-title {
  opacity: 1;
  transform: translateY(0);






}

.slide-accent {
  color: var(--primary-light);
  font-style: italic;
  display: block;


}

.slide-sub {
  font-size: clamp(15px, 2vw, 18px);
  color: rgba(255,255,255,0.78);
  max-width: 640px;
  margin: 0 auto 36px;
  line-height: 1.65;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease 0.5s, transform 0.7s ease 0.5s;
}

.swiper-slide-active .slide-sub {
  opacity: 1;
  transform: translateY(0);
}

.slide-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease 0.65s, transform 0.7s ease 0.65s;
}

.swiper-slide-active .slide-ctas {
  opacity: 1;
  transform: translateY(0);
}

.cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 34px;
  background: var(--primary);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: 4px;
  border: 2px solid var(--primary);
  transition: var(--transition);
}

.cta-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-red);
}

.cta-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 34px;
  background: transparent;
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: 4px;
  border: 2px solid rgba(255,255,255,0.5);
  transition: var(--transition);
}

.cta-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
  color: var(--white);
  transform: translateY(-2px);

}

/* Slide Counter */
.slide-counter {
  position: absolute;
  bottom: 40px;
  left: 50px;
  z-index: 10;
  display: flex;
  align-items: baseline;
  gap: 4px;
  color: var(--white);
}

.slide-current {
  font-family: var(--font-display);
  font-size: 42px;
  line-height: 1;
  color: var(--gold);
}

.slide-sep {
  font-size: 18px;
  color: rgba(255,255,255,0.4);
  margin: 0 2px;


}

.slide-total {
  font-size: 18px;
  color: rgba(255,255,255,0.5);
  font-family: var(--font-body);
  font-weight: 600;


}

/* Navigation Arrows */
.hero-prev,
.hero-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 52px;
  height: 52px;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.hero-prev {
  left: 24px;
}

.hero-next {
  right: 24px;
}

.hero-prev:hover,
.hero-next:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-50%) scale(1.08);
}

.hero-prev i,
.hero-next i {
  font-size: 26px;
  line-height: 0;
}

.swiper-button-prev::after,
.swiper-button-next::after {
  display: none;
}

/* Pagination Dots */
.hero-pagination {
  position: absolute;
  bottom: 44px;
  right: 50px;
  left: auto;
  z-index: 10;
  display: flex;
  gap: 8px;
  align-items: center;
  width: auto;
}

.hero-pagination .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background: rgba(255,255,255,0.4);
  opacity: 1;
  border-radius: 50%;
  transition: var(--transition);
  cursor: pointer;
}

.hero-pagination .swiper-pagination-bullet-active {
  background: var(--primary);
  width: 28px;
  border-radius: 4px;
}


@keyframes bounceDown {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(5px); }












}

@media (max-width: 768px) {
  .slide-content {
    padding: 80px 24px 120px;
    text-align: center;
  }
  .slide-counter,
  .hero-pagination {
    bottom: 70px;
  }
  .slide-counter {
    left: 24px;




  }
  .hero-pagination {
    right: 24px;

  }
  .hero-prev { left: 10px; }
  .hero-next { right: 10px; }
  .hero-scroll-down { display: none; }
}

/* ============================================================
   SHARED SECTION TYPOGRAPHY
   ============================================================ */
.section-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;








  position: relative;

}

.section-eyebrow.light {
  color: var(--gold);


}

.section-eyebrow.centered {
  display: block;
  text-align: center;

}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  color: var(--dark);
  margin: 0 0 18px;
  line-height: 1.15;





}

.section-title span {
  color: var(--primary);
  font-style: italic;
}

.section-title.light {
  color: var(--white);
}

.section-title.light span {
  color: var(--primary-light);
}

.section-title.centered {
  text-align: center;
}

.section-rule {
  width: 64px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
  margin-bottom: 28px;
}

.section-rule.light {
  background: var(--gold);
}

.section-rule.centered {
  margin: 0 auto 36px;

}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about {
  padding: var(--section-pad) 0 40px;
  background: var(--white);

}

/* Image Wrap */
.about-image-wrap {
  position: relative;
  display: inline-block;
  width: 100%;










}

.about-main-img {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: var(--shadow-lg);
  display: block;
}

.about-badge {
  position: absolute;
  top: 24px;
  right: -16px;
  width: 80px;
  height: 80px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-red);
  color: var(--white);
}

.badge-year {
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1;
  display: block;


}

.badge-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  opacity: 0.85;
}

.about-pill {
  position: absolute;
  bottom: 24px;
  left: 0;
  background: var(--dark);
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 10px 20px;
  border-radius: 0 50px 50px 0;
}

/* About Text */
.about-text-wrap {
  padding-left: 32px;


}

.about-text-wrap p {
  color: var(--text-mid);
  font-size: 15px;



}

/* Values */
.values-block {
  margin-top: 24px;
  padding: 24px;
  background: var(--off-white);
  border-radius: 10px;
  border-left: 4px solid var(--primary);
}

.values-heading {
  font-family: var(--font-heading);
  font-size: 18px;
  color: var(--dark);
  margin-bottom: 16px;
  font-style: italic;
  text-align: center;
}

.values-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.value-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.value-item i {
  color: var(--primary);
  font-size: 16px;
  flex-shrink: 0;
}

/* Stats Strip */
.stats-strip {
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--dark);
  border-radius: 12px;
  margin-top: 60px;
  overflow: hidden;
}

.stat-block {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 32px 28px;


}

.stat-block i {

  font-size: 40px;
  color: var(--primary);
  flex-shrink: 0;
  line-height: 1;








}

.stat-info {
  display: flex;
  flex-direction: column;
}

.stat-info span {
  font-family: var(--font-display);
  font-size: 44px;
  color: var(--gold);
  line-height: 1;
}

.stat-info p {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin: 4px 0 0;
}

.stat-divider {
  width: 1px;
  height: 60px;
  background: rgba(255,255,255,0.1);
  flex-shrink: 0;




}

@media (max-width: 991px) {
  .about-text-wrap {
    padding-left: 0;
  }
  .about-badge {
    right: 16px;
  }
  .stats-strip {
    flex-wrap: wrap;
  }
  .stat-block {
    flex: 1 1 50%;
  }
  .stat-divider:nth-child(4) {
    display: none;
  }
}

@media (max-width: 576px) {
  .stats-strip {
    flex-direction: column;
  }
  .stat-block {
    width: 100%;
    padding: 24px;
  }
  .stat-divider {
    width: 80%;
    height: 1px;
  }
  .values-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   DIRECTOR SECTION
   ============================================================ */
.director {
  padding: var(--section-pad) 0;
  background: var(--dark-2);
  position: relative;
  overflow: hidden;
}

.director-decoration {
  position: absolute;
  top: -60px;
  right: -60px;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: 50%;
  pointer-events: none;
}

.director-decoration::before {
  content: '';
  position: absolute;
  inset: 40px;
  border: 1px solid rgba(196,30,58,0.12);
  border-radius: 50%;


}

/* Photo */
.director-photo-wrap {
  position: relative;

}

.director-photo {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
  display: block;
}

.director-nameplate {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(10,10,20,0.95), transparent);
  padding: 40px 24px 24px;
  border-radius: 0 0 12px 12px;
  color: var(--white);
}

.director-nameplate strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 4px;
}

.director-nameplate span {
  font-size: 13px;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* Director Text */
.director-text-wrap {
  padding-left: 32px;
}

.director-text-wrap p {
  color: rgba(255,255,255,0.72);
  font-size: 15px;
}

.director-footer-note {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  font-style: italic;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 16px;
  margin-top: 8px;
}

/* Qualifications Timeline */
.qualifications-timeline {
  margin: 28px 0 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.qual-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 16px 20px;
  background: rgba(255,255,255,0.04);
  border-radius: 8px;
  border-left: 3px solid var(--primary);
  transition: var(--transition);
}

.qual-item:hover {
  background: rgba(255,255,255,0.08);
  border-left-color: var(--gold);

}

.qual-year {
  font-family: var(--font-display);
  font-size: 26px;
  color: var(--gold);
  line-height: 1;
  flex-shrink: 0;
  min-width: 60px;
}

.qual-body {
  display: flex;
  flex-direction: column;
  gap: 2px;





}

.qual-body strong {
  display: block;

  font-size: 14px;
  font-weight: 700;
  color: var(--white);





}

.qual-body span {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
}

@media (max-width: 991px) {
  .director-text-wrap {
    padding-left: 0;
  }
}

/* ============================================================
   MISSION & VISION
   ============================================================ */
.mission-vision {
  padding: var(--section-pad) 0;
  background: var(--off-white);
}

.mv-card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  min-height: 440px;
  display: flex;
  align-items: flex-end;
  cursor: default;
}

.mv-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.8s var(--ease);








}

.mv-card:hover .mv-card-bg {
  transform: scale(1.06);

}

.mv-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10,10,20,0.95) 0%,
    rgba(10,10,20,0.6) 50%,
    rgba(10,10,20,0.3) 100%
  );
  transition: var(--transition-slow);










}

.mv-overlay--warm {
  background: linear-gradient(
    to top,
    rgba(139,20,37,0.9) 0%,
    rgba(10,10,20,0.6) 50%,
    rgba(10,10,20,0.3) 100%
  );

}

.mv-content {
  position: relative;
  z-index: 2;
  padding: 36px;
  color: var(--white);
  width: 100%;
}

.mv-number {
  font-family: var(--font-display);
  font-size: 80px;
  line-height: 0.8;
  color: rgba(255,255,255,0.08);
  position: absolute;
  top: 28px;
  right: 28px;
  pointer-events: none;
}

.mv-icon-wrap {
  width: 52px;
  height: 52px;
  background: var(--primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 22px;
  transition: var(--transition);
}

.mv-card:hover .mv-icon-wrap {
  background: var(--gold);
  transform: rotate(-8deg);
}

.mv-icon-wrap i {
  color: var(--white);
  font-size: 22px;
  line-height: 0;








}

.mv-content h3 {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
}

.mv-content p {
  font-size: 15px;
  color: rgba(255,255,255,0.75);
  line-height: 1.65;
  margin: 0;
}

/* ============================================================
   ACCREDITATIONS
   ============================================================ */
.accreditations {
  padding: var(--section-pad) 0;
  background: var(--white);
}

.accr-frame {
  padding: 32px;
  background: var(--off-white);
  border-radius: 14px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.accr-frame:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);


}

.accr-img {
  max-width: 100%;
  display: block;
  transition: var(--transition);
  filter: grayscale(40%);
}

.accr-frame:hover .accr-img {
  filter: none;
}

/* ============================================================
   CONTACT SECTION
   ============================================================ */
.contact {
  padding: var(--section-pad) 0;
  background: var(--off-white);
}

/* Contact Info */
.contact-info-block {
  display: flex;
  flex-direction: column;
  gap: 8px;





}

.ci-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 20px 24px;
  background: var(--white);
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.ci-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateX(4px);





}

.ci-icon {
  width: 46px;
  height: 46px;
  background: var(--primary-glow);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ci-icon i {
  font-size: 22px;
  color: var(--primary);
  line-height: 0;
}

.ci-text h4 {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--dark);
  margin: 0 0 4px;
}

.ci-text p {
  font-size: 14px;
  color: var(--text-mid);
  margin: 0;
  line-height: 1.6;
}

/* Social Row */
.contact-social-row {
  padding: 20px 24px;
  background: var(--white);
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
  margin-top: 8px;
}

.contact-social-row h4 {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--dark);
  margin-bottom: 14px;
}

.cs-links {
  display: flex;
  gap: 10px;





}

.cs-link {
  width: 38px;
  height: 38px;
  background: var(--off-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-mid);
  font-size: 18px;
  transition: var(--transition);
}

.cs-link:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-3px);
}

/* Contact Form */
.contact-form {
  background: var(--white);
  padding: 36px;
  border-radius: 14px;
  box-shadow: var(--shadow-md);
}

.form-floating > .form-control {
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text);
  background: var(--off-white);
  transition: var(--transition);
}

.form-floating > .form-control:focus {
  border-color: var(--primary);
  background: var(--white);
  box-shadow: 0 0 0 3px var(--primary-glow);


}

.form-floating > label {
  color: var(--text-light);
  font-size: 14px;
}

.form-status {
  margin-bottom: 16px;
}

.loading,
.error-message,
.sent-message {
  display: none;
  padding: 12px 16px;
  border-radius: 6px;
  font-size: 14px;

  font-weight: 600;
  margin-bottom: 8px;
}

.loading {
  background: var(--off-white);
  color: var(--text-mid);
  text-align: center;

}

.loading::before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid var(--primary);
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  margin-right: 8px;
  vertical-align: middle;










}

.error-message {
  background: #ffeaea;
  color: #c41e3a;
  border-left: 3px solid var(--primary);
}

.sent-message {
  background: #e8f5e9;
  color: #2e7d32;
  border-left: 3px solid #4caf50;
  text-align: center;
}

.btn-send {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 36px;
  background: var(--primary);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: var(--transition);
}

.btn-send:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-red);


}

.btn-send i {
  font-size: 16px;
}

/* ============================================================
   FOOTER
   ============================================================ */
#footer {
  background: var(--dark);
  color: rgba(255,255,255,0.75);
}

.footer-top {
  padding: 72px 0 48px;
  border-bottom: 1px solid rgba(255,255,255,0.06);



}

.footer-logo {
  height: 65px;
  width: auto;
  object-fit: contain;
  filter: none;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255,255,255,0.55);
  margin-bottom: 20px;
}

.footer-contact-list {

  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;




















}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: rgba(255,255,255,0.55);










}

.footer-contact-list i {
  color: var(--primary);
  font-size: 16px;
  flex-shrink: 0;
  margin-top: 1px;
  line-height: 1;

}

.footer-socials {
  display: flex;
  gap: 8px;


}

.fs-link {








  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.07);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  font-size: 18px;
  transition: var(--transition);
}

.fs-link:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-3px);
}

.footer-links h4 {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--primary-light);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-links ul {


  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.footer-links ul li {






  display: flex;
  align-items: center;
  gap: 4px;
}

.footer-links ul i {
  color: var(--primary);
  font-size: 16px;
  line-height: 1;
  flex-shrink: 0;
}

.footer-links ul a {
  color: rgba(255,255,255,0.55);
  font-size: 13px;
  padding: 5px 0;
  transition: var(--transition);
  display: inline-block;

}

.footer-links ul a:hover {
  color: var(--white);
  padding-left: 4px;
}

.footer-newsletter h4 {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--primary-light);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-newsletter p {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 20px;
}

.nl-input-group {
  display: flex;
  background: rgba(255,255,255,0.07);
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.1);
  overflow: hidden;
  transition: var(--transition);
}

.nl-input-group:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

.nl-input-group input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  padding: 12px 16px;
  font-size: 14px;
  color: var(--white);
  font-family: var(--font-body);
}

.nl-input-group input::placeholder {
  color: rgba(255,255,255,0.35);
}

.nl-input-group button {
  padding: 12px 18px;
  background: var(--primary);
  border: none;
  color: var(--white);
  font-size: 17px;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
}

.nl-input-group button:hover {
  background: var(--primary-dark);
}

/* Footer Bottom */
.footer-bottom {
  padding: 22px 0;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}

.footer-bottom strong {
  color: rgba(255,255,255,0.65);
}

.footer-bottom a {
  color: var(--primary-light);
}

.footer-bottom a:hover {
  color: var(--white);
}

/* ============================================================
   RESPONSIVE ADJUSTMENTS
   ============================================================ */
@media (max-width: 991px) {
  :root {
    --section-pad: 70px;
  }

  .director-text-wrap {
    padding-left: 0;
    margin-top: 16px;
  }

  .mv-card {
    min-height: 380px;
  }
}

@media (max-width: 767px) {
  :root {
    --section-pad: 56px;
  }

  .contact-form {
    padding: 24px;
  }

  .footer-top {
    padding: 48px 0 32px;
  }

  .footer-bottom .row {
    flex-direction: column;
    text-align: center;
  }
}


/* Force Services dropdown to stack vertically */
.navbar .dropdown ul {
    display: block !important;
    flex-direction: column !important;
}

.navbar .dropdown ul li {
    display: block !important;
    width: 100%;
}

.navbar .dropdown ul a {
    display: block !important;
    width: 100%;
}

/* ============================================================
SERVICES OVERVIEW
============================================================ */
.services-overview {
  padding: var(--section-pad) 0;
  background: var(--white);
}

/* Adds space only above the heading */
.services-overview .text-center {
  margin-top: 5px;
}.services-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
gap: 16px;
margin-top: 30px;
}

.service-card {
display: block;
background: var(--off-white);
border-left: 4px solid var(--primary);
border-radius: 10px;
padding: 18px;
text-decoration: none;
box-shadow: var(--shadow-sm);
transition: var(--transition);
}

.service-card:hover {
transform: translateY(-6px);
box-shadow: var(--shadow-lg);
border-left-color: var(--gold);
}

.service-icon {
width: 40px;
height: 40px;
background: var(--primary-glow);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
margin-bottom: 12px;
transition: var(--transition);
}

.service-card:hover .service-icon {
background: var(--primary);
transform: rotate(-8deg);
}

.service-icon i {
font-size: 20px;
color: var(--primary);
transition: var(--transition);
}

.service-card:hover .service-icon i {
color: var(--white);
}

.service-card h3 {
font-family: var(--font-heading);
font-size: 16px;
font-weight: 700;
color: var(--dark);
line-height: 1.3;
margin-bottom: 8px;
}

.service-card p {
font-size: 13px;
color: var(--text-mid);
line-height: 1.5;
margin: 0;
}

@media (max-width: 768px) {
.services-grid {
grid-template-columns: 1fr;
}
}

.about .content ul li i.bi-circle-fill {
    display: none !important;
}


