:root {
  --navy: #0a1628;
  --blue: #1a3c6e;
  --accent: #e8a020;
  --gold: #f5c842;
  --light: #f4f7fb;
  --white: #ffffff;
  --text: #2d3748;
  --muted: #718096;
}



html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

/* ═══════════════════════════════════════
       NAVBAR
    ═══════════════════════════════════════ */
#mainNav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all .4s ease;
  background: transparent;
  color: black;
  padding: 18px 0;
}

#mainNav.scrolled {
  background: var(--navy);
  color: var(--white);
  padding: 10px 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, .3);
}

#mainNav .navbar-brand img {
  height: 105px;
}

#mainNav .nav-link {
  color: rgba(3, 3, 3, 0.9);
  font-weight: 500;
  font-size: .92rem;
  letter-spacing: .5px;
  padding: 8px 14px !important;
  border-radius: 6px;
  transition: all .25s;
}

#mainNav.scrolled .nav-link {
  color: rgba(255, 255, 255, 0.9);
}

#mainNav .nav-link:hover,
#mainNav .nav-link.active {
  color: var(--gold);
  /* background: --accent; */
}

#mainNav .dropdown-menu {
  border: none;
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, .18);
  background: var(--navy);
  padding: 10px 6px;
  margin-top: 6px;
  animation: dropIn .25s ease;
}

@keyframes dropIn {
  from {
    opacity: 0;
    transform: translateY(-8px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

#mainNav .dropdown-item {
  color: rgba(255, 255, 255, .8);
  font-size: .88rem;
  border-radius: 8px;
  padding: 8px 16px;
  transition: all .2s;
}

#mainNav .dropdown-item:hover {
  background: rgba(255, 255, 255, .1);
  color: var(--gold);
}

.navbar-toggler {
  border: none;
  padding: 6px 10px;
  background: rgba(255, 255, 255, .12);
  border-radius: 8px;
}

@media (max-width:576px){
    .navbar-toggler {
  border: none;
  padding: 6px 10px;
  background: rgb(0 0 0);
  border-radius: 8px;
}
}



.navbar-toggler-icon {
  filter: invert(1);
}

.nav-cta {
  background: var(--accent) !important;
  color: var(--navy) !important;
  border-radius: 30px !important;
  padding: 8px 20px !important;
  font-weight: 600 !important;
  margin-left: 8px;
}

.nav-cta:hover {
  background: var(--gold) !important;
  color: var(--navy);
  transform: translateY(-1px);
}



/* ===== ABOUT SECTION ===== */
#about {
  padding: 140px 0 100px;
  background: var(--white);
}

/* Image wrapper */
.about-img-wrap {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
}

.about-img-wrap img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: 20px;
}

/* Badge */
.about-badge {
  position: absolute;
  bottom: 30px;
  left: -20px;
  background: var(--navy);
  color: var(--white);
  border-radius: 16px;
  padding: 20px 28px;
  text-align: center;
  box-shadow: 0 12px 40px rgba(10, 22, 40, .4);
}

.about-badge .big {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--gold);
}

.about-badge small {
  font-size: .78rem;
  color: rgba(255, 255, 255, .65);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Section text */
.sec-label {
  display: inline-block;
  color: var(--accent);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.sec-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
  margin-bottom: 16px;
}

.sec-divider {
  width: 56px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--gold));
  border-radius: 4px;
  margin-bottom: 20px;
}

.sec-divider.left {
  margin-left: 0;
}

/* Button */
.hero-btn-primary {
  background: var(--accent);
  color: var(--navy);
  font-weight: 700;
  font-size: .95rem;
  padding: 12px 28px;
  border-radius: 50px;
  text-decoration: none;
  display: inline-block;
  transition: all .3s;
}

.hero-btn-primary:hover {
  background: var(--gold);
  transform: translateY(-2px);
  color: var(--navy);
}

/* ===== RESPONSIVE ===== */

/* Tablet */
@media (max-width: 992px) {
  .about-img-wrap img {
    height: 380px;
  }

  .about-badge {
    left: 10px;
    bottom: 20px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  #about {
    padding: 80px 0;
  }

  .about-img-wrap img {
    height: 300px;
  }

  .about-badge {
    position: static;
    margin-top: 15px;
    width: 100%;
  }
}

/* Small mobile */
@media (max-width: 480px) {
  .about-img-wrap img {
    height: 250px;
  }

  .about-badge .big {
    font-size: 1.6rem;
  }
}








/* ═══════════════════════════════════════
       FOOTER
    ═══════════════════════════════════════ */
footer {
  margin-top: 100px;
  background: var(--navy);
  color: rgba(255, 255, 255, .7);
  padding: 80px 0 0;
}

/*   */
.footer-brand p {
  font-size: .88rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, .55);
  max-width: 280px;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, .65);
  font-size: 1rem;
  transition: all .3s;
  text-decoration: none;
}

.footer-social a:hover {
  background: var(--accent);
  color: var(--navy);
  transform: translateY(-3px);
}

.footer-heading {
  font-family: 'DM Sans', sans-serif;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 22px;
  position: relative;
  padding-bottom: 12px;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, .55);
  text-decoration: none;
  font-size: .88rem;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all .25s;
}

.footer-links a::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  transition: transform .25s;
}

.footer-links a:hover {
  color: var(--white);
  transform: translateX(4px);
}

.footer-links a:hover::before {
  transform: scale(1.5);
}

.footer-contact-item {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  align-items: flex-start;
}

.footer-contact-item i {
  color: var(--accent);
  font-size: 1rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.footer-contact-item span {
  font-size: .86rem;
  color: rgba(255, 255, 255, .55);
  line-height: 1.5;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .08);
  margin-top: 60px;
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  margin: 0;
  font-size: .83rem;
  color: rgba(255, 255, 255, .4);
}

.footer-bottom a {
  color: var(--gold);
  text-decoration: none;
}

/* .director-section {
  padding: 56px 24px;
}

.director-section .sec-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #e8a020;
  background: rgba(232, 160, 32, 0.12);
  padding: 5px 14px;
  border-radius: 20px;
  border: 1px solid rgba(232, 160, 32, 0.3);
  margin-bottom: 14px;
}

.director-section .sec-title {
  font-size: 32px;
  font-weight: 500;
  color: #0a1628;
  margin-bottom: 12px;
}

.director-section .sec-divider {
  width: 52px;
  height: 3px;
  background: linear-gradient(90deg, #e8a020, #f5c842);
  border-radius: 2px;
  margin: 0 auto;
}

.director-section .text-center {
  text-align: center;
  margin-bottom: 44px;
}

.directors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.director-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(10, 22, 40, 0.09);
  transition: transform .22s, box-shadow .22s;
}

.director-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 48px rgba(10, 22, 40, 0.13);
}

/* Gold accent bar at top */
/* .director-card .accent-bar {
  height: 3px;
  background: linear-gradient(90deg, #e8a020, #f5c842);
  width: 100%;
}

/* ===== CARD TOP — large image banner ===== */
/* .director-card .card-top {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: linear-gradient(135deg, #0a1628 0%, #1a3c6e 100%);
} */  

/* Full-width photo */
.director-photo {
  width: 100%;
  height: 420px;
  object-position: top center;
  display: block;
  transition: transform .4s ease;
}

.direc{
  width: 100%;
  height: 129%;
  margin-top: -18px;
  object-position: top center;
  display: block;
  transition: transform .4s ease;
}

.direct{
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: top center 10%;
  display: block;
  transition: transform .4s ease;
}

.director-card:hover .director-photo {
  transform: scale(1.04);
}

/* Dark gradient overlay at bottom so text is readable */
.director-card .card-top::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 55%;
  /* background: linear-gradient(to top, rgba(10, 22, 40, 0.92) 0%, transparent 100%); */
  pointer-events: none;
}

/* Name + title sit on top of the overlay */
.card-info {
  position: absolute;
  bottom: 20px;
  left: 22px;
  right: 22px;
  z-index: 2;
}

.card-info .card-name {
  color: #fff;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.3;
  margin-bottom: 4px;
}

/* .card-info .card-title {
  font-size: 12px;
  color: rgba(245, 200, 66, 0.9);
  font-weight: 400;
  line-height: 1.4;
  margin-bottom: 3px;
} */

/* .card-info .card-company {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.3px;
} */

/* Fallback initials (shown when image fails to load) */
.director-avatar-fallback {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #0a1628, #1a3c6e);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 52px;
  font-weight: 500;
  color: rgba(245, 200, 66, 0.6);
}

/* Card body */
.director-card .card-body {
  padding: 24px 28px 28px;
}

.director-card .card-bio {
  font-size: 17px;
  color: #4a5568;
  line-height: 1.9;
  margin-bottom: 20px;
} */

.expertise-label {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #1a3c6e;
  margin-bottom: 10px;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.tags .tag {
  font-size: 14px;
  color: #1a3c6e;
  background: rgba(26, 60, 110, 0.07);
  border: 1px solid rgba(26, 60, 110, 0.15);
  padding: 8px 15px;
  border-radius: 20px;
}

/* ═══════════════════════════════════════
       BACK TO TOP
    ═══════════════════════════════════════ */
#backTop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--navy);
  border: none;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 999;
  opacity: 0;
  transform: translateY(20px);
  transition: all .35s;
  box-shadow: 0 6px 20px rgba(232, 160, 32, .5);
}

#backTop.show {
  opacity: 1;
  transform: translateY(0);
}

#backTop:hover {
  background: var(--gold);
  transform: translateY(-3px);
}

/* ===== DIRECTOR NEW FLOAT LAYOUT FIX ===== */

.directors-grid {
  display: block !important;
  max-width: 1150px;
  margin: 50px auto 0;
}

.director-card {
  background: #ffffff !important;
  color: var(--text) !important;
  padding: 30px !important;
  border-radius: 24px;
  margin-bottom: 35px;
  overflow: hidden;
}

/* old dark/overlay area remove */
.director-card .card-top {
  display: block !important;
  background: transparent !important;
  padding: 0 !important;
  min-height: auto !important;
  position: static !important;
}

/* image left */
.director-photo,
.direct {
  float: left !important;
  width: 300px !important;
  height: 380px !important;
  object-fit: cover;
  object-position: top center;
  border-radius: 18px;
  margin: 0 30px 18px 0 !important;
  position: static !important;
  display: block !important;
}

/* info right side */
.card-info {
  position: static !important;
  background: transparent !important;
  padding: 0 !important;
  margin: 0 0 15px 0 !important;
  transform: none !important;
  color: var(--text) !important;
}

.card-name {
  color: var(--navy) !important;
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 8px;
}

.card-title {
  color: var(--accent) !important;
  font-size: 15px;
  font-weight: 700;
}

.card-company {
  color: var(--muted) !important;
  font-size: 18px;
}

/* body text right se start hoga, image khatam hone ke baad niche continue hoga */
.card-body {
  display: block !important;
  padding: 0 !important;
  background: transparent !important;
}

.card-bio {
  color: var(--text) !important;
  font-size: 15.5px;
  line-height: 1.8;
}

/* tags image ke niche clean aayenge */
.expertise-label {
  clear: both;
  margin-top: 25px;
}

/* mobile */
@media (max-width: 768px) {
  .director-photo,
  .direct {
    float: none !important;
    width: 100% !important;
    height: 360px !important;
    margin: 0 0 22px 0 !important;
  }

  .card-info {
    text-align: center;
  }
}