/* ============================================================
   VERMILLION ACADEMY — Premium Education Website
   ============================================================ */

/* ---- CSS VARIABLES ---- */
:root {
  --accent: #691524;
  --accent-dark: #691524;
  --accent-light: #691524;
  --white: #ffffff;
  --silver: #f8f8f8;
  --border: #ebebeb;
  --text: #0f0f0f;
  --text-mid: #4a4a4a;
  --text-light: #4e4e4e;
  --shadow-sm: 0 2px 12px rgba(0,0,0,0.06);
  --shadow-md: 0 8px 32px rgba(0,0,0,0.10);
  --shadow-lg: 0 16px 60px rgba(0,0,0,0.14);
  --radius: 16px;
  --transition: 0.38s cubic-bezier(.4,0,.2,1);
  --font-display: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-body: 'DM Sans', sans-serif;
  
  --transition-cinematic: cubic-bezier(0.25, 1, 0.5, 1);
    --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    --primary-burgundy: #a30320;
    --primary-burgundy-rgb: 163, 3, 32;
}

/* =========================
   BANNER MAIN STYLING CONTAINER   //////////////////
========================= */

/* --- ROOT VARIABLES FALLBACK (For Safety) --- */

/* --- BANNER MAIN STYLING CONTAINER --- */
.premium-inner-banner {
    margin-top: 78px;
    position: relative;
    width: 100%;
    min-height: 495px;
    height: 55vh;
    max-height: 700px;
    background-color: #0c0507; /* Dark fallback */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-body);
}

@media (max-width: 991.98px) {
    .premium-inner-banner {
        height: auto;
        min-height: 620px;
        padding: 100px 0 140px 0;
    }
}

/* --- MEDIA & IMAGE ENVIRONMENT LAYERS --- */
.banner-bg-media {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
}

.banner-bg-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    transform: scale(1.08);
    filter: brightness(0.7) contrast(1.02);
    /* animation: slowCinematicZoom 20s var(--transition-cinematic) forwards; */
}

@keyframes slowCinematicZoom {
    0% { transform: scale(1.08) translateY(0); }
    100% { transform: scale(1.02) translateY(-10px); }
}

/* --- CINEMATIC GRADIENT LIGHTING & OVERLAYS --- */
.banner-overlay-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    background: linear-gradient(75deg, 
                rgba(12, 5, 7, 0.92) 0%, 
                rgba(12, 5, 7, 0.65) 45%, 
                rgba(110, 22, 38, 0.2) 100%);
}

.banner-ambient-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(130px);
    z-index: 3;
    pointer-events: none;
    opacity: 0.5;
    mix-blend-mode: screen;
}

.glow-1 {
    width: 400px;
    height: 400px;
    background: rgba(var(--primary-burgundy-rgb), 0.4);
    bottom: -100px;
    left: -50px;
    animation: pulseAmbientGlow 8s infinite alternate ease-in-out;
}

.glow-2 {
    width: 350px;
    height: 350px;
    background: rgba(235, 94, 85, 0.2);
    top: -50px;
    right: 10%;
    animation: pulseAmbientGlow 12s infinite alternate-reverse ease-in-out;
}

@keyframes pulseAmbientGlow {
    0% { transform: translateY(0) scale(1); opacity: 0.4; }
    100% { transform: translateY(-30px) scale(1.15); opacity: 0.6; }
}

/* --- INTERACTIVE FLOATING ARCHITECTURAL ELEMENTS --- */
.floating-architect-shape {
    position: absolute;
    z-index: 3;
    background: rgb(255 255 255 / 15%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(5px);
    pointer-events: none;
}

.shape-orb {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    top: 20%;
    right: 15%;
    animation: smoothFloatMotion 6s infinite alternate ease-in-out;
}

.shape-pill {
    width: 60px;
    height: 140px;
    border-radius: 100px;
    bottom: 15%;
    right: 5%;
    transform: rotate(35deg);
    animation: smoothFloatMotion 9s infinite alternate-reverse ease-in-out;
}

@keyframes smoothFloatMotion {
    0% { transform: translateY(0) rotate(0deg); }
    100% { transform: translateY(-25px) rotate(15deg); }
}

/* --- MAIN FLEX LAYOUT STRUCTURING --- */
.banner-flex-wrapper {
    position: relative;
    z-index: 4;
    display: flex;
    align-items: center;
}

/* --- GLASSMORPHISM CONTAINER PANEL --- */
.glass-content-panel {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-radius: 32px;
    padding: 55px;
    opacity: 0;
    transform: translateY(40px);
    animation: revealPanelBox 1.2s var(--transition-cinematic) 0.2s forwards;
    transition: border-color 0.5s var(--transition-smooth), box-shadow 0.5s var(--transition-smooth);
}

.glass-content-panel:hover {
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 40px 110px rgba(110, 22, 38, 0.15), 
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

@keyframes revealPanelBox {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 575.98px) {
    .glass-content-panel {
        padding: 35px 25px;
        border-radius: 24px;
        background: rgba(12, 5, 7, 0.5); /* Slightly darker backing on small screens */
    }
}

/* --- PREMIUM INTERIOR PANEL COMPONENT TYPOGRAPHY --- */
.premium-banner-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    margin-bottom: 25px;
}

.badge-pulse-dot {
    width: 6px;
    height: 6px;
    background-color: #eb5e55;
    border-radius: 50%;
    box-shadow: 0 0 12px #eb5e55;
    position: relative;
    animation: continuousPulse 2s infinite ease-in-out;
}

@keyframes continuousPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.6); opacity: 0.5; }
}

.premium-banner-badge .badge-text {
    font-family: var(--font-display);
    color: #f1f3f5;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.premium-banner-title {
    font-family: var(--font-display);
    color: #ffffff;
    /*font-weight: 700;*/
    font-size: calc(1.4rem + 1.6vw);
    line-height: 1.15;
    letter-spacing: -0.02em;
}

/* Modern text gradient fill clip effect */
.accent-text-clip {
    background: linear-gradient(135deg, #ffffff 30%, rgba(255,255,255,0.6) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #ffffff;
    position: relative;
}

.accent-text-clip::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #a30320 0%, transparent 100%);
}

.premium-banner-lead {
    color: rgba(241, 243, 245, 0.8);
    font-size: 1.1rem;
    line-height: 1.7;
    font-weight: 300;
    margin-bottom: 40px;
    max-width: 650px;
}

/* --- BANNER INTERACTIVE FOOTER ROW (FLEX ARCHITECTURE) --- */
.banner-interactive-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 30px;
}

@media (max-width: 575.98px) {
    .banner-interactive-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 25px;
    }
}

/* --- STYLISH BREADCRUMB SYSTEM --- */
.custom-premium-breadcrumb .breadcrumb-item,
.custom-premium-breadcrumb .breadcrumb-item a {
    color: rgba(241, 243, 245, 0.5);
    font-size: 0.95rem;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.custom-premium-breadcrumb .breadcrumb-item a:hover {
    color: #ffffff;
}

.custom-premium-breadcrumb .breadcrumb-item.active {
    color: #ffffff;
    font-weight: 600;
}

/* Custom premium arrow separator alternative to standard slashes */
.custom-premium-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    content: "\f105";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: rgba(255, 255, 255, 0.2);
    padding-right: 12px;
    padding-left: 10px;
}

/* --- PREMIUM ACTION TRIGGER BUTTON --- */
.banner-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: #ffffff;
    color: #0c0507;
    padding: 14px 30px;
    border-radius: 100px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    transition: all 0.4s var(--transition-smooth);
}

.banner-action-btn .btn-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: rgba(var(--primary-burgundy-rgb), 0.08);
    color: var(--primary-burgundy);
    border-radius: 50%;
    font-size: 0.8rem;
    transition: transform 0.4s var(--transition-smooth);
}

.banner-action-btn:hover {
    background: var(--primary-burgundy);
    color: #ffffff;
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(110, 22, 38, 0.3);
}

.banner-action-btn:hover .btn-icon-wrapper {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    transform: translateX(5px);
}

/* --- ARCHITECTURAL SVG BOTTOM SECTION DIVIDER --- */
.banner-bottom-divider {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 5;
    pointer-events: none;
}

.banner-bottom-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 45px;
}

/* Matches page background block content directly underneath */
.banner-bottom-divider .shape-fill {
    fill: #ffffff; 
}

/* ============================= */
/* Mobile Responsive Media Query Overrides */
/* ============================= */
@media (max-width: 576px) {
    .premium-inner-banner {
        height: auto;
        min-height: 470px;
        padding: 60px 0; /* padding properly set for standard touch viewport centering */
    }
}

/* ---- RESET & BASE ---- */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; width: 100%; object-fit: cover; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ---- LAYOUT ---- */
.container {
  width: min(1240px, 92%);
  margin-inline: auto;
}
.p.about__para {
    text-align: justify;
}
.section { padding: 96px 0; }
.section--silver { background: var(--white); }

/* ---- TYPOGRAPHY ---- */
.section-eyebrow {
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.section-heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.7rem);
  font-weight: 700;
  line-height: 1.18;
  color: var(--text);
  margin-bottom: 20px;
}
.section-heading em {
  font-style: italic;
  color: var(--accent);
}
.text-gradient {
    background: linear-gradient(135deg, #691524 0%, #a41e38 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.section-sub {
  font-size: 1.05rem;
  color: var(--text-mid);
  max-width: 650px;
  line-height: 1.75;
  margin-top: 8px;
}
.section-header {
  text-align: center;
  margin-bottom: 60px;
}
.section-header .section-sub {
  margin-inline: auto;
}

/* ---- IMAGES ---- */


/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .02em;
  border-radius: 10px;
  transition: var(--transition);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.col-md-4.connect-btn {
    text-align: end;
}
.whatsapp {
    position: fixed !important;
    left: 20px;
    bottom: 30px;
    z-index: 999;
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,.12);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}
.btn:hover::before { transform: scaleX(1); }
.btn--primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(133,11,11,.3);
}
.btn--primary:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(133,11,11,.4);
  color: var(--white) !important;
}
.btn--hero {
  background: var(--accent);
  color: var(--white);
  font-size: 1rem;
  padding: 16px 40px;
  box-shadow: 0 4px 24px rgba(133,11,11,.4);
}
.btn--hero:hover {
  background: var(--accent-dark);
  transform: translateY(-3px);
  box-shadow: 0 10px 36px rgba(133,11,11,.5);
}
.btn--full { width: 100%; justify-content: center; }

/* ---- SCROLL REVEAL ---- */
.reveal-up, .reveal-left, .reveal-right, .reveal-hero {
  opacity: 0;
  transition: opacity .7s cubic-bezier(.4,0,.2,1), transform .7s cubic-bezier(.4,0,.2,1);
}
.reveal-up { transform: translateY(40px); }
.reveal-left { transform: translateX(-50px); }
.reveal-right { transform: translateX(50px); }
.reveal-hero { transform: translateY(30px); }
.revealed {
  opacity: 1 !important;
  transform: none !important;
}
[style*='--delay'] .reveal-up,
[style*='--delay'] .reveal-right,
[style*='--delay'] .reveal-left {
  transition-delay: var(--delay, 0s);
}

/* ---- HEADER ---- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 999;
  background: var(--white);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.header.scrolled {
  border-color: var(--border);
  box-shadow: 0 2px 24px rgba(0,0,0,.07);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  width: min(1240px, 92%);
  margin-inline: auto;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.logo__mark {
  width: 40px; height: 40px;
  background: var(--accent);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  flex-shrink: 0;
}

/* Nav */

.nav__list {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}
.nav__link {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-mid);
  padding: 8px 16px;
  border-radius: 100px;
  transition: var(--transition);
  position: relative;
}
.nav__link::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 16px; right: 16px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform .3s ease;
  border-radius: 2px;
}
.nav__link:hover { color: var(--accent); }
.nav__link:hover::after { transform: scaleX(1); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---- HERO ---- */
/*.hero {*/
/*  position: relative;*/
/*  height: 99vh;*/
/*  min-height: 600px;*/
/*  display: flex;*/
/*  align-items: center;*/
/*  justify-content: center;*/
/*  overflow: hidden;*/
/*}*/
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,.72) 0%, rgba(133,11,11,.35) 100%);
  z-index: 1;
}
.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  max-width: 800px;
  padding: 0 20px;
}
.hero__eyebrow {
  font-size: .8rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
  margin-bottom: 20px;
}
.hero__heading {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 7vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 24px;
}
.hero__heading em {
  font-style: italic;
  color: #610000;
}
.hero__sub {
  font-size: clamp(.95rem, 2vw, 1.2rem);
  color: rgba(255,255,255,.82);
  line-height: 1.75;
  max-width: 580px;
  margin: 0 auto 40px;
}
.hero__scroll-hint {
  position: absolute;
  bottom: 5px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.5);
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.hero__scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(255,255,255,.5), transparent);
  animation: scrollHint 2s ease-in-out infinite;
}
@keyframes scrollHint {
  0%, 100% { opacity: .5; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(.6); }
}

/* ---- ABOUT ---- */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about__img-wrap {
  position: relative;
  height: 540px;
}
.about__img-frame {
  position: absolute;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.about__img-frame--top {
  width: 78%;
  height: 360px;
  top: 0; left: 0;
  border: 5px solid var(--white);
}
.about__img-frame--bottom {
  box-shadow: 0 10px 50px rgba(0, 0, 0, 0.2);
  width: 52%;
  height: 220px;
  bottom: 0; right: 0;
  border: 5px solid var(--white);
}

.about__img-frame img {
width: 100%;
height: 100%;
object-fit: cover;
object-position: center;
display: block;
}
.about__img-badge {
  position: absolute;
  top: 50%; right: -20px;
  transform: translateY(-50%);
  background: var(--accent);
  color: var(--white);
  width: 130px; height: 130px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 0 8px 30px rgba(133,11,11,.4);
  z-index: 2;
}
.about__img-badge-num {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1;
}
.about__img-badge-text {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: .05em;
  opacity: .85;
}
.about__para {
  text-align: justify;
  color: var(--text-mid);
  line-height: 1.8;
  font-size: 1.02rem;
  margin-bottom: 5px;
}
.about__list {
  margin-bottom: 36px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.about__list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: .95rem;
  color: var(--text-mid);
  line-height: 1.5;
}
.about__list-icon {
  color: var(--accent);
  font-size: .7rem;
  flex-shrink: 0;
  margin-top: 4px;
}

/* ---- BRANCHES ---- */

.branches__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* Ye 3 cards ko center karega */
  gap: 25px;
}

.branch-card {
  /* 4 columns calculate karne ke liye (gap ko minus karke) */
  flex: 0 1 calc(25% - 20px); 
  width: 240px;
  height: 280px;
  border-radius: 50%;
  cursor: pointer;
  position: relative;
}

.branch-card__inner {
  width: 100%;
  height: 100%;
  position: relative;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: box-shadow .45s ease, transform .45s ease, border-color .45s ease;
}

.branch-card:hover .branch-card__inner {
  box-shadow: 0 20px 60px rgba(133,11,11,.22);
  transform: translateY(-10px) scale(1.04);
  border-color: var(--accent);
}

/* Background image — always visible */
.branch-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.4,0,.2,1);
}

.branch-card:hover .branch-card__img {
  transform: scale(1.1);
}

/* Dark gradient overlay — always present, deepens on hover */
.branch-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,.72) 0%,
    rgba(0,0,0,.28) 50%,
    rgba(0,0,0,.08) 100%
  );
  transition: background .45s ease;
  z-index: 1;
}

.branch-card:hover .branch-card__overlay {
  background: linear-gradient(
    to top,
    rgba(133,11,11,.82) 0%,
    rgba(0,0,0,.45) 55%,
    rgba(0,0,0,.15) 100%
  );
}

/* Content wrapper — name always visible, button slides in on hover */
.branch-card__content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding-bottom: 36px;
  gap: 12px;
}

.branch-card__name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  text-align: center;
  line-height: 1.25;
  padding: 0 16px;
  text-shadow: 0 2px 8px rgba(0,0,0,.4);
  transition: transform .4s ease;
}

.branch-card:hover .branch-card__name {
  transform: translateY(-4px);
}

/* View More button — hidden by default, slides up on hover */
.branch-card__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--white);
  color: var(--accent);
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 8px 20px;
  border-radius: 100px;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(0,0,0,.2);
  /* Hidden state */
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .38s ease, transform .38s ease, background .25s, color .25s;
  pointer-events: none;
}

.branch-card:hover .branch-card__btn {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.branch-card__btn:hover {
  background: var(--accent);
  color: var(--white);
}

/* ---- STATS / COUNTER ---- */
.stats { background: var(--silver); }
.stats__grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 0;
  padding: 20px 0;
}
.stat-item {
  text-align: center;
  padding: 36px 24px;
}
.stat-item__icon {
  font-size: 2.4rem;
  margin-bottom: 16px;
  display: block;
}
.stat-item__num {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 10px;
}
.stat-item__label {
  font-size: .70rem;
  font-weight: 500;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: .08em;
}
.stat-divider {
  width: 1px;
  height: 80px;
  background: var(--border);
  flex-shrink: 0;
}

/* ---- NEWS ---- */

/* ── NEWS SECTION ───────────────────────────────────────── */

ul#newsTabs {
    padding-left: 0px;
}
.section-pad       { padding: 100px 0; }
.news-section { background: var(--bg-light); }

.news-tabs { display: flex; gap: 8px; border: none; flex-wrap: wrap; }
.news-tab-btn {
  font-size: 0.88rem;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: 100px;
  border: 2px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition-fast);
}
.news-tab-btn.active,
.news-tab-btn:hover {
  background: var(--accent);
  border-color: var(--primary);
  color: var(--white);
}

.news-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition);
  height: 100%;
}
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.news-card-img { position: relative; height: 210px; overflow: hidden; }
.news-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.news-card:hover .news-card-img img { transform: scale(1.06); }
.news-category {
  position: absolute;
  top: 14px; left: 14px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 100px;
  background: var(--accent);
  color: #fff;
}
.category-da { background: var(--text-mid); }
.category-sl { background: #9c4bb5; }
.news-card-body { padding: 22px; }
.news-date { font-size: 0.78rem; color: var(--text-muted); display: block; margin-bottom: 10px; }
.news-card-body h5 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
  line-height: 1.4;
}
.news-card-body p { font-size: 0.88rem; color: var(--text-light); margin-bottom: 16px; }
.news-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition-fast);
}
.news-link:hover { gap: 10px; color: var(--accent); }
/*section#news {*/
/*  background-image: url('./assets/images/Group-230.png');*/
/*    background-size: cover;*/
/*    background-position: center;*/
/*    background-repeat: no-repeat;*/
/*    padding: 80px 0;*/
    /* background: var(--silver); */
/*}*/
.apply-now {
    padding: 40px;
    background: #691524;
    text-align: center;
}
.apply-text {
    color: white;
    font-size: 22px;
    text-align: left;
}
/*.connect-btn a.btn-header.btn-header--solid.apply-btn {*/
/*    font-size: 20px;*/
/*}*/
.apply-heading {
    color: white;
    margin-bottom: 20px;
    font-size: 40px;
    text-align: left;
}
.apply-btn {
    background: white !important;
    color: black !important;
    border: 1px solid white !important;
}

.apply-btn:hover {
    border: 1px solid white !important;
}
/*.news__grid {*/
/*  display: grid;*/
/*  grid-template-columns: repeat(3, 1fr);*/
/*  gap: 28px;*/
/*}*/
/*.news-card {*/
/*  background: var(--white);*/
/*  border-radius: var(--radius);*/
/*  overflow: hidden;*/
/*  box-shadow: var(--shadow-sm);*/
/*  transition: box-shadow .4s ease, transform .4s ease;*/
/*}*/
/*.news-card:hover {*/
/*  box-shadow: var(--shadow-md);*/
/*  transform: translateY(-6px);*/
/*}*/
/*.news-card__img-wrap {*/
/*  height: 220px;*/
/*  overflow: hidden;*/
/*}*/
/*.news-card__img-wrap img {*/
/*  height: 100%;*/
/*  transition: transform .6s ease;*/
/*}*/
/*.news-card:hover .news-card__img-wrap img {*/
/*  transform: scale(1.06);*/
/*}*/
/*.news-card__body {*/
/*  padding: 24px 28px 28px;*/
/*}*/
/*.news-card__cat {*/
/*  display: inline-block;*/
/*  font-size: .72rem;*/
/*  font-weight: 700;*/
/*  letter-spacing: .12em;*/
/*  text-transform: uppercase;*/
/*  color: var(--accent);*/
/*  background: rgba(133,11,11,.07);*/
/*  padding: 4px 10px;*/
/*  border-radius: 100px;*/
/*  margin-bottom: 14px;*/
/*}*/
/*.news-card__title {*/
/*  font-family: var(--font-display);*/
/*  font-size: 1.1rem;*/
/*  font-weight: 600;*/
/*  line-height: 1.4;*/
/*  color: var(--text);*/
/*  margin-bottom: 12px;*/
/*  transition: color .3s;*/
/*}*/
/*.news-card:hover .news-card__title { color: var(--accent); }*/
/*.news-card__desc {*/
/*  font-size: .9rem;*/
/*  color: var(--text-light);*/
/*  line-height: 1.7;*/
/*  margin-bottom: 20px;*/
/*}*/
/*.news-card__link {*/
/*  font-size: .88rem;*/
/*  font-weight: 600;*/
/*  color: var(--accent);*/
/*  display: inline-flex;*/
/*  align-items: center;*/
/*  gap: 6px;*/
/*  transition: gap .3s;*/
/*}*/
/*.news-card__link:hover { gap: 12px; }*/



/* ---- CONTACT ---- */

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.contact__para {
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 28px;
  font-size: 1.02rem;
}
.contact__details {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 36px;
}
.contact__detail {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: .93rem;
  color: var(--text-mid);
  line-height: 1.5;
}
.contact__detail_phone {
  font-size: .93rem;
  color: var(--text-mid);
  line-height: 1.5;
}
.contact__detail span { flex-shrink: 0; }
.contact__map-wrap {
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  line-height: 0;
}
.contact__map {
  display: block;
  width: 100%;
  height: 120px;
  border: 4px solid #ffffff;
  border-radius: var(--radius);
}
.contact__form-wrap {
  background: var(--silver);
  border-radius: var(--radius);
  padding: 44px 40px;
  box-shadow: var(--shadow-sm);
}
.contact__form {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-group label {
  font-size: .85rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: .02em;
}
.form-group input,
.form-group textarea {
  font-family: var(--font-body);
  font-size: .93rem;
  color: var(--text);
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 12px 16px;
  outline: none;
  transition: border-color .25s;
  resize: vertical;
  width: 100%;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(133,11,11,.1);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #b0b0b0;
}

/* CTA section removed */

/* ---- FOOTER ---- */
.footer {
  background: var(--silver);
  border-top: 1px solid var(--border);
  padding: 72px 0 48px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 0px;
}
.footer__about {
  font-size: .9rem;
  color: var(--text-light);
  line-height: 1.75;
  margin: 18px 0 24px;
  max-width: 280px;
}
.footer__social {
  display: flex;
  gap: 10px;
}
ul.footer__links {
    padding-left: 0px;
}
p {
    margin-bottom: 0px;
}
.social-icon {
  background: var(--accent);
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: var(--transition);
  
}
.social-icon svg { width: 21px; height: 16px; }
.social-icon:hover {
  background: var(--text-mid);
  border-color: var(--accent);
  color: var(--white);
  transform: translateY(-3px);
}
.footer__heading {
  font-family: var(--font-display);
  font-size: .95rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 20px;
}
.footer__links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer__links li a {
  font-size: .88rem;
  color: var(--text-light);
  transition: color .25s;
}
.footer__links li a:hover { color: var(--accent); }
.footer__links--contact li {
  font-size: .85rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* Certificate image in footer contact column */
.footer__cert-wrap {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer__cert-img {
  width: 100%;
  max-width: 180px;
  height: 110px;
  object-fit: cover;
  border-radius: 10px;
  /* box-shadow: var(--shadow-sm);
  border: 1px solid var(--border); */
  display: block;
}
.footer__cert-label {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
}
.footer__strip {
  background: var(--accent);
  color: rgba(255,255,255,.85);
  text-align: center;
  padding: 16px 20px;
  font-size: .82rem;
  letter-spacing: .03em;
}

/* ---- PRELOADER ---- */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
.preloader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.preloader__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}
.preloader__logo {
  width: 160px;
  height: auto;
  object-fit: contain;
  animation: preloaderPulse 1.6s ease-in-out infinite;
}
@keyframes preloaderPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.7; transform: scale(1.06); }
}
.preloader__bar {
  width: 140px;
  height: 3px;
  background: var(--border);
  border-radius: 100px;
  overflow: hidden;
}
.preloader__fill {
  height: 100%;
  width: 0%;
  background: var(--accent);
  border-radius: 100px;
  animation: preloaderFill 1.9s cubic-bezier(.4,0,.2,1) forwards;
}
@keyframes preloaderFill {
  0%   { width: 0%; }
  60%  { width: 75%; }
  100% { width: 100%; }
}

/* ---- DROPDOWN NAV ---- */
.nav__item--dropdown {
  position: relative;
}
.nav__link--has-dropdown {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav__chevron {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  transition: transform 0.28s ease;
  stroke: currentColor;
}
.nav__item--dropdown:hover .nav__chevron,
.nav__item--dropdown.open .nav__chevron {
  transform: rotate(180deg);
}
.nav__dropdown {
  position: absolute;
  top: calc(83% + 3px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 220px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s ease, transform 0.28s ease, visibility 0.28s;
  z-index: 100;
}
.nav__dropdown::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 12px; height: 12px;
  background: var(--white);
  border-left: 1px solid var(--border);
  border-top: 1px solid var(--border);
}
.nav__item--dropdown:hover .nav__dropdown,
.nav__item--dropdown.open .nav__dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav__dropdown-link {
  display: block;
  padding: 10px 20px;
  font-size: .88rem;
  font-weight: 500;
  color: var(--text-mid);
  transition: color 0.2s, background 0.2s, padding-left 0.2s;
  white-space: nowrap;
}
.nav__dropdown-link:hover {
  color: var(--accent);
  background: rgba(105, 21, 36, 0.05);
  padding-left: 26px;
}

section#stats {
    padding: 0px;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 1100px) {
  .about__grid { gap: 48px; }
  /* .branches__grid { grid-template-columns: repeat(4, 1fr); gap: 20px; }
  .branch-card { width: 190px; height: 190px; } */
  .branches__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* Ye 3 cards ko center karega */
  gap: 20px;
}

.branch-card {
  /* 4 columns calculate karne ke liye (gap ko minus karke) */
  flex: 0 1 calc(25% - 20px); 
  min-width: 250px; /* Mobile par responsiveness ke liye */
}
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 900px) {
  .section { padding: 72px 0; }
  .about__grid,
  .contact__grid { grid-template-columns: 1fr; gap: 0px; }
  .about__img-wrap { height: 340px; }
  .about__img-badge { right: 8px; width: 80px; height: 80px; }
  .branches__grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .branch-card { width: 210px; height: 210px; }
  .news__grid { grid-template-columns: repeat(2, 1fr); }
  .stats__grid {
    grid-template-columns: 1fr 1fr;
    gap: 0;
  }
  .section-heading {text-align: center;}
  .stat-divider { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .contact__map { height: 220px; }

  .hamburger { display: flex; }
  .nav {
    position: absolute;
    top: 76px; left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s cubic-bezier(.4,0,.2,1);
  }
  /*.nav.open { max-height: 600px; }*/
  .nav__list {
    flex-direction: column;
    gap: 0;
    padding: 12px 0;
  }
  .nav__link {
    display: flex;
    padding: 14px 24px;
    border-radius: 0;
    width: 100%;
  }
  .nav__link::after { display: none; }

  /* Mobile dropdown */
  .nav__item--dropdown { position: relative; }
  .nav__dropdown {
    position: static;
    transform: none !important;
    left: auto;
    min-width: 100%;
    border: none;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
    background: var(--silver);
    max-height: 0;
    overflow: hidden;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: max-height .35s cubic-bezier(.4,0,.2,1);
  }
  .nav__dropdown::before { display: none; }
  .nav__item--dropdown.open .nav__dropdown {
    max-height: 400px;
    opacity: 1;
    visibility: visible;
    padding: 4px 0 8px;
  }
  /* Override hover-based open on mobile */
  .nav__item--dropdown:hover .nav__dropdown {
    opacity: 1;
    visibility: visible;
    transform: none;
    max-height: 0;
    padding: 0;
  }
  .nav__item--dropdown.open:hover .nav__dropdown {
    max-height: 400px;
    padding: 4px 0 8px;
  }
  .nav__dropdown-link {
    padding: 10px 24px 10px 40px;
    font-size: .86rem;
    border-left: 3px solid var(--accent);
    margin: 2px 16px;
    border-radius: 0 8px 8px 0;
  }
  .nav__dropdown-link:hover { padding-left: 46px; }
}

@media (max-width: 640px) {
  .section { padding: 56px 0; }
  .branches__grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  /* .branch-card { width: 160px; height: 160px; } */
  .branch-card__name { font-size: .88rem; }
  .news__grid { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .stat-divider { display: none; }
  .contact__form-wrap { padding: 28px 22px; }
  .contact__map { height: 200px; }
  .footer__grid { grid-template-columns: 1fr; }
  .about__img-wrap { height: 280px; }
  .about__img-frame--bottom { display: none; }
  .about__img-badge { display: none; }
}

@media (max-width: 440px) {
  .branches__grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  /* .branch-card { width: 140px; height: 140px; } */
  .branch-card__name { font-size: .8rem; }
  .hero__heading { font-size: 2.2rem; }
  .branch-card__content { padding-bottom: 24px; gap: 8px; }
  .branch-card__btn { font-size: .7rem; padding: 6px 14px; }
}



/* ============================================================
   ADDITIONS v2: Header Buttons · Services Carousel · Branch Panels
   ============================================================ */

/* ---- HEADER BUTTONS ---- */
.header__btns {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.btn-header {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 14px 22px;
  font-family: var(--font-body);
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .02em;
  border-radius: 10px;
  transition: var(--transition);
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
}
.btn-header--outline {
  border: 2px solid var(--accent);
  color: var(--accent);
  background: white;
}
.btn-header--outline:hover {
  background: var(--accent);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(105,21,36,.25);
}
.btn-header--solid {
  background: var(--accent);
  color: var(--white);
  border: 2px solid var(--accent);
  box-shadow: 0 4px 16px rgba(105,21,36,.3);
}
.btn-slider--solid {
  background: var(--accent);
  color: var(--white);
  border: 2px solid var(--white);
  box-shadow: 0 4px 16px rgba(105,21,36,.3);
  transition: opacity 0.65s ease 0.55s, transform 0.65s ease 0.55s;
}
.btn-header--solid:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(105,21,36,.4);
  color: var(--white);
}
@media (max-width: 900px) {
    /* Menu open hone par styling */
    .nav.open {
        max-height: 891px !important;
        display: flex !important;
        flex-direction: column !important;
    }

    .nav__list { 
        align-items: normal; 
    }

    /* Jab menu band ho, toh buttons hidden rahein */
    .header__btns { 
        display: none; 
    }

    /* YAHAN JADU HAI: Jab menu OPEN hoga (.nav.open), toh buttons show ho jayein ge */
    .nav.open .header__btns { 
        display: flex !important; 
        flex-direction: column !important;
        gap: 15px !important;
        padding: 20px !important;
        margin-top: 15px !important;
        border-top: 1px solid #eaeaea !important; /* Menu ke neeche ek line banaye ga */
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Buttons ko mobile par full width karne ke liye */
    .nav.open .header__btns .btn-header {
        display: block !important;
        width: 100% !important;
        text-align: center !important;
        padding: 12px 0 !important;
        box-sizing: border-box !important;
    }
}


/* ============================================================
   SERVICES — Icon Cards with Hover-Reveal
   ============================================================ */

.services-section {
  /* ---- SECTION BACKGROUND IMAGE PLACEHOLDER ---- */
  background-image: url('#');
  background-size: auto;
  background-position: center;
  background-repeat: repeat;
  background-color: var(--white);
}

/* Grid: 3 columns on desktop */
.svc-icon-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* ---- INDIVIDUAL ICON CARD ---- */
.svc-icon-card {
  position: relative;
  height: 280px;
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
  background: var(--silver);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.42s ease, transform 0.42s ease;
}
.svc-icon-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

/* Background image layer — hidden by default, visible on hover */
.svc-icon-card__bg {
  position: absolute;
  inset: 0;
  background-image: var(--svc-bg);
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 0.5s ease, transform 0.55s cubic-bezier(0.4,0,0.2,1);
  z-index: 0;
}
.svc-icon-card:hover .svc-icon-card__bg {
  opacity: 1;
  transform: scale(1);
}

/* Dark overlay — only appears on hover */
.svc-icon-card__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0,0,0,0);
  transition: background 0.45s ease;
}
.svc-icon-card:hover .svc-icon-card__overlay {
  background: rgba(60, 5, 15, 0.78);
}

/* DEFAULT STATE — icon + title centered, visible normally */
.svc-icon-card__default {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 28px;
  text-align: center;
  transition: opacity 0.38s ease, transform 0.38s ease;
}
.svc-icon-card:hover .svc-icon-card__default {
  opacity: 0;
  transform: scale(0.88);
  pointer-events: none;
}

/* Icon — default */
.svc-icon-card__icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(105,21,36,0.10);
  border: 2px solid rgba(105,21,36,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--accent);
  flex-shrink: 0;
  transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

/* Title — default */
.svc-icon-card__title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
  margin: 0;
}

/* HOVER STATE — full overlay content, centered */
.svc-icon-card__hover-content {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 28px 24px;
  text-align: center;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.42s ease 0.06s, transform 0.42s ease 0.06s;
  pointer-events: none;
}
.svc-icon-card:hover .svc-icon-card__hover-content {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Icon — hover (smaller, white) */
.svc-icon-card__icon--sm {
  width: 52px;
  height: 52px;
  font-size: 1.3rem;
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.35);
  color: var(--white);
}

/* Title — hover */
.svc-icon-card__title--light {
  color: var(--white);
  font-size: 1.05rem;
}

/* Description — hover only */
.svc-icon-card__desc {
  font-size: .875rem;
  color: rgba(255,255,255,0.88);
  line-height: 1.65;
  margin: 0;
  max-width: 280px;
}

/* Responsive */
@media (max-width: 900px) {
  .svc-icon-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .svc-icon-grid { grid-template-columns: 1fr; gap: 16px; }
  .svc-icon-card { height: 220px; }
}


/* ============================================================
   BRANCHES — Equal-Width Carousel (4 visible, slide 1, infinite)
   ============================================================ */

.branches-panel-section {
  padding: 80px 0 0;
  /* ---- SECTION BACKGROUND IMAGE PLACEHOLDER ---- */
  background-image: url('#');
  background-size: auto;
  background-position: center;
  background-repeat: repeat;
  background-color: var(--silver);
}

/* Header row: heading left, arrows right */
.branches-carousel-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  justify-content: center;
  padding: 0 40px 40px;
  flex-wrap: wrap;
}
.branches-carousel-heading-wrap {
  text-align: center;
  flex: 1;
}
.branches-carousel-heading-wrap .section-sub {
  margin-inline: auto;
}

/* Arrow group — top right */
.branch-nav-arrows {
  display: flex;
  gap: 20px;
  flex-shrink: 0;
  align-self: flex-start;
  padding-top: 40px;
}
ul.branch-slide__desc {
    list-style: inherit !important;
}
.branch-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: var(--accent);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(0,0,0,.08);
  transition: background 0.28s, border-color 0.28s, color 0.28s, box-shadow 0.28s, transform 0.2s;
}
.branch-arrow:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
  box-shadow: 0 6px 20px rgba(105,21,36,.32);
  transform: scale(1.08);
}

/* Viewport clips the track */
.branch-carousel-viewport {
  overflow: hidden;
  width: 100%;
}

/* Track — all 6 slides in a row */
.branch-carousel-track {
  display: flex;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

/* Each slide = exactly 25% of viewport (4 visible) — no gap */
.branch-slide {
  flex: 0 0 25%;
  width: 25%;
  height: 510px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

/* BG image */
.branch-slide__img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.65s cubic-bezier(0.4,0,0.2,1);
}
.branch-slide:hover .branch-slide__img {
  transform: scale(1.06);
}

/* Overlay */
.branch-slide__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgb(0 0 0 / 42%);
  /* background: linear-gradient(
    to top,
    rgba(0,0,0,.75) 0%,
    rgba(0,0,0,.20) 55%,
    rgba(0,0,0,.04) 100%
  ); */
  transition: background 0.45s ease;
}
.branch-slide:hover .branch-slide__overlay {

  background: rgba(97, 0, 0, 0.767)
  /* background: linear-gradient(
    to top,
    rgba(105,21,36,.90) 0%,
    rgba(0,0,0,.65) 50%,
    rgba(0,0,0,.20) 100%
  ); */
}

/* Content: always centered both axes */
.branch-slide__content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  /* align-items: center; */
  justify-content: center;
  padding: 28px 22px;
  /* text-align: center; */
}

/* Title — always visible, centered */
.branch-slide__title {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.3;
  margin: 0;
  text-shadow: 0 2px 10px rgba(0,0,0,.5);
  transition: transform 0.38s ease;
}
.branch-slide:hover .branch-slide__title {
  transform: translateY(-6px);
}

/* Description — hidden until hover */
.branch-slide__desc {
  font-size: .855rem;
  color: rgba(255,255,255,.9);
  line-height: 1.65;
  margin: 0;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.48s ease 0.06s, opacity 0.4s ease 0.06s, margin 0.4s ease 0.06s;
}
.branch-slide:hover .branch-slide__desc {
  max-height: 150px;
  opacity: 1;
  margin: 12px 0 0;
}

/* Button — slides up on hover */
.branch-slide__btn {
  width: 125px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--white);
  color: var(--accent);
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 14px 18px;
  border-radius: 10px;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(0,0,0,.2);
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition: opacity 0.4s ease 0.12s, transform 0.4s ease 0.12s, background 0.25s, color 0.25s;
  margin-top: 16px;
  white-space: nowrap;
}
.branch-slide:hover .branch-slide__btn {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.branch-slide__btn:hover {
    background : var(--white);
  color: var(--accent);
}

/* Responsive */
@media (max-width: 1024px) {
  .branch-slide { flex: 0 0 33.333%; width: 33.333%; height: 420px; }
}
@media (max-width: 768px) {
  .branch-slide { flex: 0 0 50%; width: 50%; height: 340px; }
  .branches-carousel-header { padding: 0 20px 32px; }
}
@media (max-width: 480px) {
  .branch-slide { flex: 0 0 100%; width: 100%; height: 300px; }
  .branches-panel-section { padding-top: 56px; }
}


/* =========================
   SECTION BACKGROUND IMAGES
   Replace URL in each rule to swap the image for that section.
========================= */

/* --- ABOUT section --- */
.about {
  background-image: url('#');
  background-size: 170px;
  background-position: right;
  background-repeat: no-repeat;
  background-color: var(--white);
}

/* count section */

.stat-item.reveal-up.revealed {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.stat-item__icon {
    color: #6c6c6c;
}

/* --- STATS / COUNTER section --- */
.stats {
  background-image: url('https://www.transparenttextures.com/patterns/light-gray.png');
  background-size: auto;
  background-position: center;
  background-repeat: repeat;
  background-color: var(--silver);
}

/* --- NEWS section --- */

.news {
  background-image: url('./Group-230.png');
  background-size: auto;
  background-position: center;
  background-repeat: repeat;
  background-color: var(--silver);
}

/* --- CONTACT section --- */
.contact {
  background-image: url('#');
  background-size: auto;
  background-position: right;
  background-repeat: no-repeat;
  background-color: var(--white);
}

/* --- footer section --- */
.footer {
  background-image: url('');
  background-size: auto;
  background-position: center;
  background-repeat: repeat;
  
  
}

/* =========================
   MESH BACKGROUND WORKING
========================= */

.mesh-bg-left,
.mesh-bg-right {
  position: relative;
  overflow: hidden;
  isolation: isolate; /* important */
}

/* section content should stay above blobs */
.mesh-bg-left > *,
.mesh-bg-right > * {
  position: relative;
  z-index: 1;
}

/* Common blob styles */
.mesh-bg-left::before,
.mesh-bg-left::after,
.mesh-bg-right::before,
.mesh-bg-right::after {
  content: "";
  position: absolute;
  width: 620px;
  height: 620px;
  border-radius: 10%;
  filter: blur(180px);
  z-index: 0;
  pointer-events: none;
}

/* LEFT pattern */
.mesh-bg-left::before {
  top: -100px;
  left: -100px;
  background: radial-gradient(circle,
    rgba(75, 0, 0, 0.733) 0%,
    transparent 50%);
}

/* LEFT side center blob */
.mesh-bg-left::before {
  top: 50%;
  left: -140px;
  transform: translateY(-50%);
  background: radial-gradient(circle,
    rgba(75, 0, 0, 0.733) 0%,
    transparent 50%);
}

.mesh-bg-left::after {
  display: none;
}

/* RIGHT side center blob */
.mesh-bg-right::before {
  top: 50%;
  right: -140px;
  transform: translateY(-50%);
  background: radial-gradient(circle,
    rgba(75, 0, 0, 0.733) 0%,
    transparent 50%);
}

.mesh-bg-right::after {
  display: none;
}

/*///////////////// about css ////////////*/

/* Typography & Headers */
.section-title {
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    font-size: 2.5rem;
    color: #000;
    margin-bottom: 10px;
}

.section-subtitle {
    font-family: 'DM Sans', sans-serif;
    color: #333;
    font-size: 1.1rem;
    line-height: 1.4;
}

/*///////////    Team Card Base     ////////////*/
 
/* 1. Base Styles (Sub screens ke liye common) */
/* 1. Base Styles */
/* 1. Base Styles */
.team-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 1 / 1.25;
    background-color: #000;
}

.team-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.team-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    background: linear-gradient(to top, rgb(91, 14, 28) 0%, rgba(105, 21, 36, 1.54) 2%, rgba(0, 0, 0, 0.04) 55%);
    z-index: 2;
}

.team-info {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.member-bio {
    color: #ffffff;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.85rem;
    line-height: 1.4;
}

/* 2. Desktop Screens (992px+) - Only Hover Logic Here */
@media (min-width: 992px) {
    .member-bio {
        max-height: 0;
        opacity: 0;
        transition: all 0.4s ease;
        overflow: hidden;
    }

    .linkedin-link {
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        transition: all 0.4s ease;
    }

    .team-card:hover .team-overlay {
        background: #691524;
        background: linear-gradient(0deg, rgb(105 21 36) 20%, rgb(75 0 0 / 40%) 100%);
    
    }

    .team-card:hover .member-bio {
        max-height: 210px;
        opacity: 1;
        margin-top: 10px;
    }

    .team-card:hover .linkedin-link {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}

/* 3. Mobile & Tablet (Strict Fix) - No Hover Needed */
@media (max-width: 991px) {
    .team-card {
        aspect-ratio: 1 / 1.4; /* Height increased for bio */
    }

    .team-overlay {
        /* Mobile par background dark rahega taake bio aur logo nazar aaye */
            .team-overlay {
        background: linear-gradient(to top, rgb(91, 14, 28) 0%, rgba(105, 21, 36, 1.54) 4%, rgba(0, 0, 0, 0.04) 90%) !important;
    }
    }

    /* Force Icon to be visible */
    .linkedin-link {
        opacity: 1 !important;
        visibility: visible !important;
        display: inline-block !important;
        transform: none !important;
        color: #ffffff !important;
        font-size: 2.8rem !important;
    }

    /* Force Bio to be visible */
    .member-bio {
        max-height: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        margin-top: 10px !important;
    }
    
    .col-lg-9 {
    padding-top: 0px;
    }
    
    .about__img-frame--top {
    width: 100%;
    height: auto;
    top: 0px;
    left: 0px;
    border: 5px solid var(--white);
    }
    section#about {
    padding: 40px 0px 40px 0px !important;
    }
}

/* 4. Small Mobile Screens (Below 576px) */
@media (max-width: 576px) {
    .team-card {
        aspect-ratio: 1 / 1.25;
    }
    .member-bio {
        font-size: 0.75rem; /* Choti screen par text thora chota */
    }
}

/* Responsiveness */
@media (max-width: 991px) {
    .section-title { font-size: 2rem; }
}

@media (max-width: 576px) {
    .team-card { aspect-ratio: 1 / 1.1; }
}

/*//////////////    leadership       /////////// */

/* General Styling */
body {
    background-color: #ffffff;
    font-family: 'DM Sans', sans-serif;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #1a1a1a;
}

/* Team Card Design */
.team-card {
    position: relative;
    border-radius: 18px; /* Smooth rounded corners as per image */
    overflow: hidden;
    aspect-ratio: 1 / 1.15;
    transition: all 0.3s ease-in-out;
    background-color: #f4f4f4;
    cursor: pointer;
}

.team-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.team-info {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    color: #ffffff;
}

.member-name {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 2px;
}

.member-role {
    font-size: 0.85rem;
    margin: 0;
    opacity: 0.9;
}

/* LinkedIn Link (Hidden by Default) */
.linkedin-link {
    color: #ffffff;
    font-size: 1.8rem;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

/* HOVER EFFECTS */
.team-card:hover {
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.team-card:hover .linkedin-link {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.linkedin-link:hover {
    color: #e0e0e0;
}

/* Responsiveness adjustments */
@media (max-width: 768px) {
    .section-title { font-size: 1.8rem; }
    .team-overlay { padding: 15px; }
}

/*//////////////      ABOUT BANNER CSS     //////////////*/

.about-banner {
    margin-top: 75px;
    position: relative;
    height: 250px;
    width: 100%;
    /* Aap yahan apni image ka path lagayein */
    /*background-image: url('https://images.unsplash.com/photo-1497366216548-37526070297c?auto=format&fit=crop&q=80&w=1600');*/
    /*background: #691524;*/
    /*background: linear-gradient(90deg, rgba(105, 21, 36, 1) 0%, rgba(105, 21, 36, 1) 0%, rgba(105, 105, 105, 1) 100%);*/
    background: #6C6C6C;
    background: linear-gradient(90deg, rgba(108, 108, 108, 1) 0%, rgba(105, 21, 36, 1) 60%, rgba(84, 12, 26, 1) 100%);
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Optional: Parallax effect ke liye */
    overflow: hidden;
}

/* Background Overlay */
.about-banner .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /*background-color: rgba(0, 0, 0, 0.6); */
    z-index: 1;
}

/* Content ko overlay ke upar rakhne ke liye */
.about-banner .container {
    z-index: 2;
}

.about-banner h1 {
    font-family: var(--font-display);
    font-size: 60px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5); /* Text ko mazeed clear karne ke liye */
    letter-spacing: 2px;
    text-transform: uppercase;
}

.breadcrumb-item+.breadcrumb-item::before {
    float: left;
    padding-right: var(--bs-breadcrumb-item-padding-x);
    color: rgb(171 171 171 / 75%);
    content: var(--bs-breadcrumb-divider, "/");
}

/* Responsive adjustment */
@media (max-width: 768px) {
    .about-banner {
        height: 300px;
    }
}

.founder__content {
    height: 400px;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    padding-right: 20px;
    text-align: justify;
}
.founder__content::-webkit-scrollbar{
    width: 6px;
}

.founder__content::-webkit-scrollbar-thumb{
    background: #691524;
    border-radius: 10px;
}

.partner-logos {
    height: 80px;
    display: flex;
    width: 31%;
    gap: 35px;
}

img.partner-logo {
    box-shadow: 0 0.5rem 1rem rgb(70 70 70 / 35%);
    border-radius: 12px;
}

/* =========================
   ABOUT BANNER
========================= */

/*.about-banner {*/
/*    position: relative;*/
/*    min-height: 420px;*/
/*    background: url('../images/banner.jpg') center center/cover no-repeat;*/
/*    overflow: hidden;*/
/*    padding: 80px 15px;*/
/*}*/

/*.about-banner .overlay {*/
/*    position: absolute;*/
/*    inset: 0;*/
/*    background: rgba(0, 0, 0, 0.55);*/
/*    z-index: 1;*/
/*}*/

/*.about-banner .container {*/
/*    position: relative;*/
/*    z-index: 2;*/
/*}*/

/*.about-banner h1 {*/
/*    font-size: 4rem;*/
/*    line-height: 1.2;*/
/*    letter-spacing: 1px;*/
/*}*/

/*.about-banner .breadcrumb {*/
/*    margin-top: 15px;*/
/*}*/

/*.about-banner .breadcrumb-item,*/
/*.about-banner .breadcrumb-item a {*/
/*    font-size: 1rem;*/
/*    font-weight: 500;*/
/*}*/

/*.about-banner .breadcrumb-item + .breadcrumb-item::before {*/
/*    color: rgba(255, 255, 255, 0.7);*/
/*}*/

/* =========================
   LARGE DEVICES
========================= */

@media (max-width: 1199px) {
    .about-banner {
        min-height: 380px;
    }

    .about-banner h1 {
        font-size: 3.3rem;
    }
}

/* =========================
   TABLETS
========================= */

@media (max-width: 991px) {
    .about-banner {
        min-height: 320px;
        padding: 70px 20px;
    }

    .about-banner h1 {
        font-size: 2.8rem;
    }

    .about-banner .breadcrumb-item,
    .about-banner .breadcrumb-item a {
        font-size: 0.95rem;
    }
    .branch-slide__content {
    text-align: center;
}
.branch-slide__btn {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 10px auto;
    text-align: center;
    width: fit-content;
}
.btn {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: fit-content;
    margin: 0px auto;
}
}

/* =========================
   MOBILE DEVICES
========================= */

@media (max-width: 767px) {
    .about-banner {
        min-height: 280px;
        padding: 60px 15px;
    }

    .about-banner h1 {
        font-size: 2.1rem;
    }

    .about-banner .breadcrumb {
        margin-top: 10px;
    }

    .about-banner .breadcrumb-item,
    .about-banner .breadcrumb-item a {
        font-size: 0.85rem;
    }
    .branch-slide__content {
    text-align: center;
}
.branch-slide__btn {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 10px auto;
    text-align: center;
    width: fit-content;
}
.btn {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: fit-content;
    margin: 0px auto;
}
.apply-now {
    text-align: center;
    padding: 40px 15px;
  }

  .apply-now .row {
    flex-direction: column;
    gap: 15px;
  }

  .apply-heading {
    font-weight: 800;
    font-size: 30px;
    text-align: center;
    margin-bottom: 10px;
  }

  .apply-text {
    text-align: center;
    font-size: 15px;
    margin-bottom: 20px;
  }

  .connect-btn {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .apply-btn {
    display: inline-block;
    text-align: center;
    padding: 12px 22px;
  }
  
  
   .branches-panel-section {
    padding: 60px 0 0;
  }

  .branches-carousel-header {
    padding: 0 20px 30px;
  }

  /* 1 slide per view */
  .branch-slide {
    flex: 0 0 100%;
    width: 100%;
    height: 420px;
  }

  /* Dark overlay always visible */
  .branch-slide__overlay {
    background: linear-gradient(to top, rgb(75 0 0 / 91%) 0%, rgba(0, 0, 0, 0.55) 73%, rgba(0, 0, 0, 0.25) 100%) !important;
  }

  /* Disable hover effects */
  .branch-slide:hover .branch-slide__img {
    transform: none;
  }

  .branch-slide:hover .branch-slide__title {
    transform: none;
  }

  /* Content at bottom */
  .branch-slide__content {
    justify-content: flex-end;
    padding: 20px;
  }

  .branch-slide__title {
    font-size: 1.4rem;
    margin-bottom: 10px;
  }

  /* Description always visible */
  .branch-slide__desc {
    max-height: unset !important;
    opacity: 1 !important;
    margin-top: 10px !important;
    font-size: 0.9rem;
    line-height: 1.6;
    display: block;
  }
  ul.branch-slide__desc {
    list-style: none !important;
}

  /* Button always visible */
  .branch-slide__btn {
    opacity: 1 !important;
    transform: none !important;
    pointer-events: auto !important;
    margin-top: 15px;
    display: inline-flex;
  }

  /* Smaller arrows */
  .branch-nav-arrows {
    gap: 12px;
    padding-top: 20px;
  }

  .branch-arrow {
    width: 40px;
    height: 40px;
  }
}

/* =========================
   SMALL MOBILE DEVICES
========================= */

@media (max-width: 480px) {
    .about-banner {
        min-height: 240px;
        padding: 50px 12px;
    }

    .about-banner h1 {
        font-size: 1.7rem;
    }

    .about-banner .breadcrumb-item,
    .about-banner .breadcrumb-item a {
        font-size: 0.8rem;
    }
    .branch-slide__content {
    text-align: center;
}
.branch-slide__btn {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 10px auto;
    text-align: center;
    width: fit-content;
}
.btn {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: fit-content;
    margin: 0px auto;
}
}

/*/////////////           NEW DETAILS PAGE        //////////////*/

/* Decorative Background Elements for Glassmorphism Context */
        .bg-shape-1 {
            position: absolute;
            top: 20%;
            left: -10%;
            width: 40vw;
            height: 40vw;
            background: var(--primary-light);
            filter: blur(150px);
            opacity: 0.08;
            border-radius: 50%;
            z-index: -1;
        }
        
        .bg-shape-2 {
            position: absolute;
            top: 50%;
            right: -10%;
            width: 30vw;
            height: 30vw;
            background: var(--primary);
            filter: blur(120px);
            opacity: 0.05;
            border-radius: 50%;
            z-index: -1;
        }

        /* Hero Banner */
        .page-hero {
            background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
            padding: 4rem 0 8rem;
            position: relative;
            color: var(--bg-white);
            text-align: center;
        }

        /* Breadcrumbs */
        /*.breadcrumb {*/
        /*    background: rgba(255, 255, 255, 0.1);*/
        /*    backdrop-filter: blur(8px);*/
        /*    -webkit-backdrop-filter: blur(8px);*/
        /*    padding: 0.75rem 1.5rem;*/
        /*    border-radius: var(--radius-xl);*/
        /*    display: inline-flex;*/
        /*    margin-bottom: 2rem;*/
        /*    border: 1px solid rgba(255, 255, 255, 0.2);*/
        /*}*/

        /*.breadcrumb-item a {*/
        /*    color: rgba(255, 255, 255, 0.8);*/
        /*    text-decoration: none;*/
        /*    transition: var(--transition-fast);*/
        /*}*/

        /*.breadcrumb-item a:hover {*/
        /*    color: var(--bg-white);*/
        /*}*/

        /*.breadcrumb-item.active {*/
        /*    color: var(--bg-white);*/
        /*    font-weight: 500;*/
        /*}*/
        
        /*.breadcrumb-item + .breadcrumb-item::before {*/
        /*    color: rgba(255, 255, 255, 0.6);*/
             /* Bootstrap Icon Chevron Right */
        /*    font-family: "bootstrap-icons";*/
        /*    vertical-align: middle;*/
        /*    font-size: 0.8em;*/
        /*    margin-top: 2px;*/
        /*}*/

        /* Main Content Wrapper */
        .news-detail-wrapper {
            max-width: 1220px;
            margin: 50px auto 4rem;
            position: relative;
            z-index: 10;
        }

        /* Article Card (Glassmorphism) */
        .article-card {
            background: var(--glass-bg);
            backdrop-filter: blur(16px);
            -webkit-backdrop-filter: blur(16px);
            border: 1px solid var(--glass-border);
            border-radius: 20px;
            box-shadow: var(--shadow-lg);
            padding: 1.5rem;
            transition: var(--transition);
        }

        /* Featured Image Container */
        .featured-image-container {
            border-radius: var(--radius-lg);
            overflow: hidden;
            position: relative;
            margin-bottom: 2.5rem;
            box-shadow: var(--shadow-sm);
        }

        .featured-image-container img {
            width: 100%;
            height: auto;
            aspect-ratio: 16/9;
            object-fit: cover;
            transition: var(--transition);
            display: block;
        }

        .featured-image-container:hover img {
            transform: scale(1.04);
        }

        /* Content Area */
        .article-content {
            padding: 0 2.5rem 2.5rem;
        }

        /* Meta Information */
        .article-meta {
            display: flex;
            align-items: center;
            flex-wrap: wrap;
            gap: 1.25rem;
            margin-bottom: 1.5rem;
        }

        .category-badge {
            background-color: var(--primary-light);
            color: var(--bg-white);
            padding: 0.5rem 1.25rem;
            border-radius: var(--radius-xl);
            font-size: 0.85rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            box-shadow: var(--shadow-sm);
        }

        .date-badge {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            color: var(--text-muted);
            font-weight: 500;
            font-size: 0.95rem;
        }

        .date-badge i {
            color: var(--primary);
            font-size: 1.1rem;
        }

        /* Title */
        .article-title {
            font-size: 2.5rem;
            font-weight: 700;
            color: var(--primary-dark);
            margin-bottom: 2rem;
            line-height: 1.3;
            letter-spacing: -0.5px;
        }

        /* Body Typography */
        .article-body p {
            font-size: 1.125rem;
            color: var(--text);
            margin-bottom: 1.5rem;
        }

        .article-body p:last-child {
            margin-bottom: 0;
        }

        /* Responsive Design */
        @media (max-width: 991.98px) {
            .news-detail-wrapper {
                padding: 0 15px;
            }
        }

        @media (max-width: 767.98px) {
            .page-hero {
                padding: 3rem 15px 6rem;
            }

            .breadcrumb {
                font-size: 0.85rem;
                padding: 0.5rem 1rem;
            }

            .news-detail-wrapper {
                margin-top: -50px;
                padding: 0 10px;
            }

            .article-card {
                border-radius: var(--radius-lg);
                padding: 1rem;
            }

            .featured-image-container {
                border-radius: var(--radius-md);
                margin-bottom: 1.5rem;
            }

            .article-content {
                padding: 0 0.5rem 1.5rem;
            }

            .article-meta {
                justify-content: center;
                flex-direction: column;
                gap: 0.75rem;
            }

            .article-title {
                font-size: 1.75rem;
                text-align: center;
                margin-bottom: 1.5rem;
            }

            .article-body p {
                font-size: 1.05rem;
            }
        }

/*       HEADER NEW CSS     */

/* ---- Mobile View Media Query ---- */
@media screen and (max-width: 768px) {
  
  /* Buttons ke container ko style karein */
  .header__btns {
    display: flex;
    flex-direction: column; /* Buttons ko oopar neeche (stack) karne ke liye */
    gap: 15px; /* Dono buttons ke darmiyan fasla */
    padding: 20px; 
    margin-top: 15px;
    border-top: 1px solid #eaeaea; /* Menu links aur buttons ko separate dikhane ke liye line */
    width: 100%; 
  }

  /* Har individual button ki styling */
  .header__btns .btn-header {
    display: block;
    width: 100%; /* Buttons ko full width karne ke liye */
    text-align: center;
    padding: 12px 0;
  }
}

/* ---- Desktop View (Optional - in case you need it) ---- */
@media screen and (min-width: 769px) {
  /* Desktop par buttons aur menu ko ek line mein laane ke liye */
  #nav {
    display: flex;
    align-items: center;
    gap: 30px; /* Menu aur buttons ke darmiyan space */
  }
  
  .header__btns {
    display: flex;
    flex-direction: row;
    gap: 15px;
  }
}

@media (min-width: 901px) {
    /* 1. Main Nav ko flexbox banana takay links aur buttons ek line mein aa jayein */
    .nav {
        display: flex !important;
        align-items: center !important;
        gap: 40px !important; /* Links aur buttons ke darmiyan ka gap */
    }

    /* 2. Links ki list ko line mein rakhna */
    .nav__list {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    /* 3. Buttons ke container ko sidha (horizontal) karna */
    .header__btns {
        display: flex !important;
        flex-direction: row !important;
        gap: 15px !important;
        padding: 0 !important;
        margin-top: 0 !important;
        border-top: none !important; /* Mobile wali line desktop par khatam */
        width: auto !important;
    }

    /* 4. Individual buttons ko desktop ke mutabiq auto width dena */
    .header__btns .btn-header {
        display: inline-block !important;
        width: auto !important;
        padding: 10px 22px !important;
        white-space: nowrap !important; /* Text ko break hone se roknay ke liye */
    }
}

