/* =========================================================
   THE CLASSIC CREAATION — Corporate Redesign
   Modern, creative, corporate visual system
   ========================================================= */

:root {
  --ink: #10141c;
  --ink-2: #1a2130;
  --ink-soft: #2a3244;
  --paper: #f7f5f1;
  --paper-2: #ffffff;
  --brand-red: #c8272c;
  --brand-red-dark: #8f1c21;
  --brand-red-light: #e94b4f;
  --brand-gold: #e8a53a;
  --brand-gold-dark: #c98722;
  --brand-yellow: #FFED29;
  --muted: #6b7280;
  --line: #e9e6e0;
  --radius-lg: 22px;
  --radius-md: 14px;
  --shadow-soft: 0 10px 34px rgba(16, 20, 28, .08);
  --shadow-strong: 0 20px 50px rgba(16, 20, 28, .18);
  --grad-brand: linear-gradient(120deg, var(--brand-red) 0%, var(--brand-red-dark) 100%);
  --grad-gold: linear-gradient(120deg, var(--brand-gold) 0%, var(--brand-gold-dark) 100%);
  --grad-ink: linear-gradient(135deg, var(--ink) 0%, var(--ink-soft) 100%);
}

* { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: #333;
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 100vw;
}
img { max-width: 100%; }

h1, h2, h3, h4, h5, .fw-brand, .navbar-brand-text {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--ink);
}

a { transition: color .2s ease, background .2s ease, transform .2s ease; }

::selection { background: var(--brand-red); color: #fff; }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--brand-yellow);
  color: #000 !important;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  letter-spacing: .01em;
  border-bottom: 3px solid #000;
}
.topbar,
.topbar .small { color: #000; }
.topbar a { color: #000 !important; }
.topbar a:hover { color: #fff !important; }
.topbar i { color: #000; }

/* ---------- Navbar ---------- */
.navbar {
  padding-top: .85rem;
  padding-bottom: .85rem;
  background: rgba(255,255,255,.92) !important;
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s ease, padding .25s ease;
}
.navbar.is-scrolled {
  box-shadow: var(--shadow-soft);
  padding-top: .5rem;
  padding-bottom: .5rem;
}
.navbar-brand { gap: .7rem; }
.navbar-brand img { transition: transform .25s ease; border-radius: 8px; }
.navbar-brand:hover img { transform: scale(1.04) rotate(-1deg); }
.navbar-brand-text {
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: 1.28rem;
  line-height: 1.05;
  color: var(--ink);
  display: flex;
  flex-direction: column;
}
.navbar-brand-text small {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: .62rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--brand-red);
  margin-top: 2px;
}
.brand-fallback {
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--brand-red);
}

.navbar .nav-link {
  color: var(--ink);
  font-weight: 600;
  font-size: .95rem;
  position: relative;
  padding: .5rem .9rem !important;
}
.navbar .nav-link::after {
  content: "";
  position: absolute;
  left: .9rem; right: .9rem; bottom: .15rem;
  height: 2px;
  background: var(--grad-brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.navbar .nav-link.active::after,
.navbar .nav-link:hover::after { transform: scaleX(1); }
.navbar .nav-link.active,
.navbar .nav-link:hover { color: var(--brand-red); }

/* ---------- Buttons ---------- */
.btn-brand {
  background: var(--grad-brand);
  color: #fff;
  border: none;
  font-weight: 600;
  box-shadow: 0 8px 20px rgba(200,39,44,.28);
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.btn-brand:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(200,39,44,.36);
  filter: brightness(1.03);
}

.btn-outline-brand {
  border: 2px solid var(--brand-red);
  color: var(--brand-red);
  font-weight: 600;
  background: transparent;
  transition: all .2s ease;
}
.btn-outline-brand:hover {
  background: var(--brand-red);
  color: #fff;
  transform: translateY(-2px);
}

.btn-ghost-light {
  border: 1.5px solid rgba(255,255,255,.35);
  color: #fff;
  font-weight: 600;
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(6px);
}
.btn-ghost-light:hover { background: rgba(255,255,255,.16); color: #fff; }

/* ---------- Hero ---------- */
.hero-wrap {
  position: relative;
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% 94%, 0 100%);
}
.hero-slide {
  height: 86vh;
  min-height: 520px;
  background-size: cover;
  background-position: center;
  position: relative;
}
.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(16,20,28,.55) 0%, rgba(16,20,28,.35) 40%, rgba(16,20,28,.82) 100%);
}
.hero-caption {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 0; right: 0;
  transform: translateY(-50%);
  text-align: center;
  color: #fff;
  padding: 0 1rem;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.3);
  backdrop-filter: blur(8px);
  color: #fff;
  font-weight: 600;
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: .45rem 1.1rem;
  border-radius: 50px;
  margin-bottom: 1.2rem;
}
.hero-caption h1 {
  color: #fff;
  font-size: clamp(2rem, 5vw, 3.6rem);
  text-shadow: 0 4px 20px rgba(0,0,0,.25);
}
.hero-caption .lead { color: rgba(255,255,255,.88); font-size: clamp(1rem, 2vw, 1.25rem); }

.hero-video-wrap {
  position: relative;
  height: 86vh;
  min-height: 520px;
  overflow: hidden;
}
.hero-video-wrap video {
  position: absolute;
  top: 50%; left: 50%;
  min-width: 100%; min-height: 100%;
  width: auto; height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
}
.hero-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16,20,28,.55) 0%, rgba(16,20,28,.35) 40%, rgba(16,20,28,.82) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  padding: 0 1rem;
}

/* floating stat chips over hero (desktop) */
.hero-chip-row {
  position: relative;
  z-index: 3;
}
.hero-chip {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.25);
  backdrop-filter: blur(10px);
  color: #fff;
  border-radius: var(--radius-md);
  padding: .9rem 1.1rem;
}
.hero-chip .num { font-family:'Sora',sans-serif; font-weight:800; font-size:1.4rem; }
.hero-chip .lbl { font-size:.72rem; letter-spacing:.05em; color:rgba(255,255,255,.75); text-transform:uppercase; }

/* ---------- Section headers ---------- */
.eyebrow {
  display: inline-block;
  font-weight: 700;
  font-size: .74rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--brand-red);
  background: rgba(200,39,44,.08);
  padding: .35rem .9rem;
  border-radius: 50px;
  margin-bottom: .9rem;
}
.section-title {
  color: var(--ink);
  font-weight: 800;
  letter-spacing: -.02em;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
}
.section-title .accent { color: var(--brand-red); }
.section-underline {
  width: 64px;
  height: 4px;
  background: var(--grad-brand);
  border-radius: 3px;
}
.section-sub { color: var(--muted); max-width: 640px; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- Stat / Info cards ---------- */
.stat-card {
  background: var(--paper-2);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 2.1rem 1.4rem;
  text-align: center;
  height: 100%;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  transition: transform .3s ease, box-shadow .3s ease;
}
.stat-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--grad-brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s ease;
}
.stat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-strong); }
.stat-card:hover::before { transform: scaleX(1); }
.stat-card .num {
  font-family: 'Sora', sans-serif;
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--brand-red);
}
.stat-card.text-start { text-align: left; }
.stat-card .icon-badge {
  width: 56px; height: 56px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(200,39,44,.09);
  color: var(--brand-red);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.brand-logo-box {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.2rem;
  box-shadow: 0 2px 10px rgba(0,0,0,.04);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 150px;
  font-weight: 700;
  color: #555;
  font-size: .85rem;
  text-align: center;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.brand-logo-box:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); border-color: var(--brand-red); color: var(--brand-red); }
.brand-logo-box img {
  min-width: 0;     
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(35%);
  opacity: .88;
  transition: filter .25s ease, opacity .25s ease, transform .25s ease;
}
.brand-logo-box:hover img {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.04);
}

/* ---------- Directors / Leadership ---------- */
.director-card {
  background: var(--paper-2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform .25s ease, box-shadow .25s ease;
  height: 100%;
}
.director-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-strong);
}
.director-photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
  background: var(--ink);
}
.director-info {
  padding: 1.1rem 1.2rem 1.3rem;
  text-align: center;
}
.director-info h5 {
  margin-bottom: .15rem;
  font-size: 1.05rem;
}
.director-info .designation {
  color: var(--brand-red);
  font-weight: 600;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  display: block;
  margin-bottom: .5rem;
}
.director-info a.director-phone {
  color: var(--muted);
  font-size: .88rem;
  text-decoration: none;
  font-weight: 600;
}
.director-info a.director-phone:hover { color: var(--brand-red); }

/* ---------- Gallery ---------- */
.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  box-shadow: 0 3px 15px rgba(0,0,0,.08);
}
.gallery-item::after {
  content: "\f52a";
  font-family: "bootstrap-icons";
  position: absolute;
  inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
  color: #fff;
  background: rgba(16,20,28,.35);
  opacity: 0;
  transition: opacity .3s ease;
}
.gallery-item:hover::after { opacity: 1; }
.gallery-item img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: transform .5s ease;
  display: block;
}
.gallery-item:hover img { transform: scale(1.08); }

/* ---------- Full-width video section (About page) ---------- */
.fullwidth-video-section {
  position: relative;
  background: var(--ink);
  overflow: hidden;
}
.fullwidth-video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 7;
  min-height: 320px;
  background: #000;
}
.fullwidth-video-frame iframe,
.fullwidth-video-frame video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  border: 0;
}
.fullwidth-video-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 2.2rem 1.5rem;
  background: linear-gradient(0deg, rgba(0,0,0,.75) 0%, transparent 100%);
  color: #fff;
  text-align: center;
}
.fullwidth-video-caption h3 { color: #fff; margin-bottom: .3rem; }
.fullwidth-video-caption p { color: rgba(255,255,255,.8); margin: 0 auto; max-width: 640px; }

/* ---------- Footer ---------- */
.footer-section {
  background: var(--grad-ink);
  position: relative;
}
.footer-wave { display: block; width: 100%; line-height: 0; }
.footer-links li { margin-bottom: .55rem; }
.footer-links a {
  color: rgba(255,255,255,.65);
  text-decoration: none;
}
.footer-links a:hover { color: var(--brand-gold); padding-left: 3px; }
.footer-heading {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  color: #fff;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-size: .82rem;
}
.footer-directors li {
  display: flex;
  justify-content: space-between;
  gap: .5rem;
  margin-bottom: .45rem;
  flex-wrap: wrap;
}
.footer-directors .fd-name { color: rgba(255,255,255,.85); }
.footer-directors .fd-phone { color: rgba(255,255,255,.65); text-decoration: none; white-space: nowrap; }
.footer-directors .fd-phone:hover { color: var(--brand-gold); }
.footer-social a {
  width: 38px; height: 38px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 10px;
  background: rgba(255,255,255,.08);
  color: #fff !important;
  border: 1px solid rgba(255,255,255,.12);
}
.footer-social a:hover { background: var(--grad-brand); transform: translateY(-3px); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
}
.footer-utility-btn {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-size: .8rem;
  font-weight: 600;
  color: rgba(255,255,255,.85) !important;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.18);
  padding: .5rem 1rem;
  border-radius: 50px;
  text-decoration: none;
  transition: all .2s ease;
}
.footer-utility-btn:hover {
  background: rgba(255,255,255,.14);
  color: #fff !important;
  transform: translateY(-2px);
}
.footer-utility-btn i { color: var(--brand-gold); }

.whatsapp-float {
  position: fixed;
  width: 58px;
  height: 58px;
  bottom: 25px;
  right: 25px;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  text-align: center;
  font-size: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0,0,0,.3);
  z-index: 999;
  animation: wa-pulse 2.2s infinite;
}
@keyframes wa-pulse {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,.6); }
  70% { box-shadow: 0 0 0 14px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* ---------- A2HS floating button ---------- */
.a2hs-float {
  position: fixed;
  bottom: 25px;
  left: 25px;
  z-index: 999;
  display: none;
  align-items: center;
  gap: .55rem;
  background: var(--grad-ink);
  color: #fff;
  border: none;
  padding: .7rem 1.15rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: .85rem;
  box-shadow: var(--shadow-strong);
}
.a2hs-float.is-visible { display: inline-flex; }
.a2hs-float img { width: 20px; height: 20px; border-radius: 4px; }

/* ---------- Page header ---------- */
.page-header {
  background: var(--grad-ink);
  color: #fff;
  padding: 6.5rem 0 3.2rem;
  position: relative;
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% 92%, 0 100%);
}
.page-header::before {
  content: "";
  position: absolute;
  top: -60px; right: -60px;
  width: 260px; height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200,39,44,.35), transparent 70%);
}
.page-header h1 { color: #fff; }
.page-header .crumb { color: rgba(255,255,255,.6); }
.page-header .crumb a { color: rgba(255,255,255,.85); text-decoration: none; }

.contact-info-card {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 1.9rem;
  height: 100%;
  transition: transform .25s ease, box-shadow .25s ease;
}
.contact-info-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-strong); }
.contact-info-card i {
  font-size: 1.5rem;
  color: #fff;
  width: 52px; height: 52px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 14px;
  background: var(--grad-brand);
  margin-bottom: .8rem;
}

.form-control, .form-select {
  border-radius: 10px;
  border: 1.5px solid var(--line);
  padding: .65rem .9rem;
}
.form-control:focus, .form-select:focus {
  border-color: var(--brand-red);
  box-shadow: 0 0 0 .2rem rgba(200,39,44,.15);
}

/* ---------- CTA strip ---------- */
.cta-strip {
  background: var(--grad-brand);
  position: relative;
  overflow: hidden;
}
.cta-strip::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% 20%, rgba(255,255,255,.18), transparent 55%);
}

/* ---------- Admin ---------- */
.admin-sidebar {
  min-height: 100vh;
  background: var(--grad-ink);
}
.admin-sidebar .nav-link {
  color: rgba(255,255,255,.7);
  padding: .65rem 1rem;
  border-radius: 8px;
}
.admin-sidebar .nav-link.active, .admin-sidebar .nav-link:hover {
  background: rgba(255,255,255,.1);
  color: #fff;
}

/* ---------- A2HS instructions modal ---------- */
.a2hs-steps li { margin-bottom: .6rem; }
.a2hs-steps .badge { background: var(--grad-brand); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 991.98px) {
  .hero-slide, .hero-video-wrap { height: 74vh; min-height: 460px; }
  .navbar-collapse { background:#fff; margin-top:.75rem; padding:1rem; border-radius: var(--radius-md); box-shadow: var(--shadow-soft); }
  .navbar .nav-link::after { display:none; }

  /* Mobile top header: logo centered, tagline below */
  #mainNavbar > .container {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: flex-start;
    column-gap: .5rem;
  }
  #mainNavbar .navbar-brand {
    grid-column: 1;
    justify-self: center;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 100%;
    margin: 0;
  }
  #mainNavbar .navbar-brand img { max-width: 100%; height: 60px; margin: 0 0 .4rem 0 !important; }
  #mainNavbar .navbar-brand-text { align-items: center; max-width: 100%; }
  #mainNavbar .brand-company-name { font-size: 1rem; line-height: 1.2; word-break: break-word; }
  #mainNavbar .navbar-brand-text small { font-size: .66rem; margin-top: 2px; white-space: normal; }
  #mainNavbar .navbar-toggler {
    grid-column: 2;
    justify-self: end;
    align-self: center;
    margin-left: 0;
  }
  #mainNavbar .navbar-collapse { width: 100%; }
}

@media (max-width: 767.98px) {
  .topbar .container { row-gap: .35rem; }
  .topbar .small { font-size: .74rem; overflow-wrap: anywhere; word-break: break-word; }
  .topbar a { overflow-wrap: anywhere; word-break: break-word; }
}

@media (max-width: 767.98px) {
  .hero-slide, .hero-video-wrap { height: 66vh; min-height: 420px; }
  .hero-wrap, .page-header { clip-path: polygon(0 0, 100% 0, 100% 97%, 0 100%); }
  .page-header { padding: 5.2rem 0 2.4rem; }
  .section-title { font-size: 1.5rem; }
  .stat-card { padding: 1.6rem 1rem; }
  .fullwidth-video-frame { aspect-ratio: 4 / 5; min-height: 280px; }
  .a2hs-float, .whatsapp-float { width: 52px; height: 52px; font-size: 24px; }
  .a2hs-float { padding:.6rem .9rem; font-size: .8rem; }
  .footer-utility-btn { font-size: .75rem; padding: .45rem .85rem; }
}

@media (max-width: 575.98px) {
  .hero-caption h1 { font-size: 1.7rem; }
  .hero-eyebrow { font-size: .68rem; padding: .35rem .8rem; }
  .gallery-item img { height: 180px; }
  .whatsapp-float { right: 16px; bottom: 16px; }
  .a2hs-float { left: 16px; bottom: 16px; }
  .brand-logo-box { height: 100px; padding: .8rem; }
  .brand-logo-box img { max-height: 60px; }
}