
/* ========================================
   1. ROOT VARIABLES & GLOBAL RESET
======================================== */

:root {
  --r: #c80000;
  --d: #8e0000;
  --s: #fff3f3;
  --i: #1f2937;
  --g: #6b7280;
}

* {
  box-sizing: border-box;
  margin: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Poppins, Inter, sans-serif;
  color: var(--i);
  animation: pf 0.6s ease;
}

a {
  text-decoration: none;
  color: inherit;
}

.c {
  max-width: 1150px;
  margin: auto;
  padding: 0 20px;
}

/* ========================================
   2. ANIMATIONS
======================================== */

@keyframes pf {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
}

@keyframes pu {
  50% {
    transform: scale(1.08);
    opacity: 0.7;
  }
}

@keyframes fl {
  50% {
    transform: translateY(-30px);
  }
}

/* ========================================
   3. URDU LANGUAGE STYLING
======================================== */

.ur [data-i] {
  font-family: 'Noto Nastaliq Urdu', serif;
  line-height: 2.1;
}

/* ========================================
   4. LOADING SCREEN
======================================== */

#ld {
  position: fixed;
  inset: 0;
  background: var(--r);
  display: grid;
  place-items: center;
  z-index: 99;
  transition: 0.5s;
}

#ld img {
  width: 220px;
  animation: pu 1.2s infinite;
}

/* ========================================
   5. NAVIGATION BAR
======================================== */

nav {
  position: sticky;
  top: 0;
  background: #fff;
  box-shadow: 0 2px 14px #0001;
  z-index: 50;
}

nav .c {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 90px;
}

nav img {
  height: 80px;
}

#m {
  display: flex;
  gap: 4px;
  align-items: center;
}

#m a {
  padding: 8px 11px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  transition: 0.2s;
}

#m a:hover,
#m a.on {
  background: var(--r);
  color: #fff;
}

#bg {
  display: none;
  background: 0;
  border: 0;
  font-size: 28px;
  color: var(--r);
}

/* ========================================
   6. BUTTONS
======================================== */

.bt {
  display: inline-block;
  background: var(--r);
  color: #fff;
  padding: 12px 26px;
  border-radius: 30px;
  border: 0;
  font: 600 15px Poppins, sans-serif;
  cursor: pointer;
  transition: 0.25s;
}

.bt:hover {
  background: var(--d);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px #c8000040;
}

.bt.w {
  background: #fff;
  color: var(--r);
}

.sm {
  padding: 8px 16px !important;
  font-size: 13px !important;
}

/* ========================================
   7. HERO SECTION
======================================== */
.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  padding: 140px 0;
}

.hero video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);   /* aapka wala 0.5 overlay */
  z-index: 1;
}

.hero .c {
  position: relative;
  z-index: 2;
}
.hero h1 {
  font-size: clamp(30px, 5vw, 52px);
  max-width: 680px;
  margin-bottom: 16px;
}

.hero p {
  max-width: 560px;
  margin-bottom: 26px;
  opacity: 0.9;
}


/* Hero Text: Slide In From Left */

.hero .c h1,
.hero .c p,
.hero .c .bt {
  opacity: 0;
  animation: heroSlideIn 0.9s ease-out forwards;
}

.hero .c h1 {
  animation-delay: 0.2s;
}

.hero .c p {
  animation-delay: 0.45s;
}

.hero .c .bt {
  animation-delay: 0.7s;
}

@keyframes heroSlideIn {
  from {
    opacity: 0;
    transform: translateX(-60px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Accessibility: respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .hero .c h1,
  .hero .c p,
  .hero .c .bt {
    animation: none;
    opacity: 1;
    transform: none;
  }
}




/* ========================================
   8. CEO Message
======================================== */
.ceo-sec {
  padding: 80px 0;
  background: #f8f5f5;
  overflow: hidden;
}

.ceo-card {
  position: relative;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
  max-width: 900px;
  margin: 0 auto;

  /* slide animation start state */
  opacity: 0;
  transform: translateX(-120px);
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.9s ease;
}

.ceo-card.show {
  opacity: 1;
  transform: translateX(0);
}

/* left red strip */
.ceo-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 10px;
  background: linear-gradient(180deg, var(--r, #9a0c18), var(--d, #5c0610));
}

.ceo-body {
  padding: 48px 56px 44px 62px;
  position: relative;
}

/* bara quote mark */
.ceo-body::before {
  content: "\201C";
  position: absolute;
  top: 10px;
  right: 34px;
  font-size: 140px;
  line-height: 1;
  font-family: Georgia, serif;
  color: var(--r, #9a0c18);
  opacity: 0.1;
}

.ceo-tag {
  display: inline-block;
  background: rgba(154, 12, 24, 0.08);
  color: var(--r, #9a0c18);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 14px;
}

.ceo-body h2 {
  font-size: clamp(24px, 3vw, 32px);
  margin-bottom: 14px;
  color: #1f1f1f;
}

.ceo-text {
  color: #555;
  line-height: 1.85;
  font-size: 16.5px;
  margin-bottom: 28px;
  max-width: 720px;
}

.ceo-sign {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 22px;
  border-top: 1px solid #eee;
}

.ceo-sign strong {
  display: block;
  font-size: 18px;
  color: #1f1f1f;
}

.ceo-sign span {
  font-size: 14px;
  color: #777;
}

/* Mobile */
@media (max-width: 768px) {
  .ceo-sec { padding: 56px 0; }
  .ceo-card { transform: translateX(-60px); }
  .ceo-body { padding: 34px 24px 30px 30px; }
  .ceo-text { font-size: 15.5px; }
}

@media (prefers-reduced-motion: reduce) {
  .ceo-card { transition: none; transform: none; opacity: 1; }
}

/* ========================================
   8. PAGE BANNER
======================================== */

.ban {
  background: linear-gradient(135deg, var(--r), var(--d));
  color: #fff;
  padding: 50px 0;
  text-align: center;
}

.ban small {
  opacity: 0.85;
}

/* ========================================
   9. SECTIONS & HEADINGS
======================================== */

section {
  padding: 70px 0;
}

section.alt {
  background: var(--s);
}

h2 {
  font-size: 30px;
  text-align: center;
  margin-bottom: 8px;
}

.sub {
  text-align: center;
  color: var(--g);
  margin-bottom: 38px;
}

/* ========================================
   10. GRID LAYOUT
======================================== */

.gr {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
}


/* ===== Premium Unique Course Cards ===== */

.gr {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 26px;
}

.gr .cd {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 34px 26px 30px;
  background: linear-gradient(145deg, #ffffff 65%, #fff3f4);
  border: 1px solid #f0dadd;
  border-radius: 26px 8px 26px 8px;
  box-shadow: 0 8px 24px rgba(80, 0, 10, 0.06);
  transition:
    transform 0.4s ease,
    border-radius 0.4s ease,
    box-shadow 0.4s ease,
    border-color 0.4s ease;
}

/* Unique corner accent */
.gr .cd::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 75px;
  height: 75px;
  background: #b90018;
  clip-path: polygon(100% 0, 100% 100%, 0 0);
  opacity: 0.9;
  transition: width 0.4s ease, height 0.4s ease;
  z-index: -1;
}

/* Soft decorative circle */
.gr .cd::after {
  content: "";
  position: absolute;
  right: -35px;
  bottom: -45px;
  width: 130px;
  height: 130px;
  border: 1px solid rgba(185, 0, 24, 0.13);
  border-radius: 50%;
  box-shadow: 0 0 0 14px rgba(185, 0, 24, 0.025);
  z-index: -1;
  transition: transform 0.45s ease;
  display: none;
}

/* Hover shape transformation */
.gr .cd:hover {
  transform: translateY(-9px);
  border-radius: 8px 26px 8px 26px;
  border-color: #e8a5ad;
  box-shadow: 0 18px 38px rgba(125, 0, 18, 0.13);
}

.gr .cd:hover::before {
  width: 95px;
  height: 95px;
}

.gr .cd:hover::after {
  transform: scale(1.2);
}

/* Number-like icon container */
.gr .cd .ic {
  width: 66px;
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  background: #fff0f2;
  border: 1px solid #f7d8dd;
  border-radius: 18px 6px 18px 6px;
  font-size: 32px;
  transition: transform 0.35s ease, border-radius 0.35s ease;
}

.gr .cd:hover .ic {
  transform: translateY(-3px) rotate(-4deg);
  border-radius: 8px 20px 8px 20px;
}

.gr .cd h3 {
  position: relative;
  color: #a90018;
  font-size: 21px;
  line-height: 1.4;
  margin: 0 0 12px;
}

.gr .cd p {
  position: relative;
  color: #626262;
  font-size: 15px;
  line-height: 1.8;
  margin: 0;
}

/* Mobile adjustments */
@media (max-width: 600px) {
  .gr {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .gr .cd {
    padding: 28px 23px;
  }

  .gr .cd:hover {
    transform: translateY(-4px);
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  .gr .cd,
  .gr .cd::before,
  .gr .cd::after,
  .gr .cd .ic {
    transition: none;
  }
}

/* Course card images */

.gr .cd .ic {
  width: 100%;
  height: 180px;
  margin-bottom: 22px;
  padding: 0;
  overflow: hidden;
  border-radius: 18px 6px 18px 6px;
  background: #fff0f2;
  border: none;
}

.gr .cd .ic img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.4s ease;
}

.gr .cd:hover .ic img {
  transform: scale(1.06);
}

/* ========================================
   11. WHY choose sivaan?
======================================== */


/* ===== Why Choose SIVAAN: Premium Trust Card ===== */

.why-sivaan-section {
  padding: 65px 0;
  background: linear-gradient(180deg, #fffafa, #ffffff);
}

.why-sivaan-card {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
  padding: 48px 50px 32px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #f0dddd;
  border-radius: 24px;
  box-shadow: 0 16px 45px rgba(92, 15, 25, 0.07);
  isolation: isolate;
}

/* Elegant red top accent */
.why-sivaan-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(
    90deg,
    #a90018,
    #e52b43,
    #f3b5bd
  );
}

/* Small label */
.why-sivaan-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-bottom: 16px;
  color: #a90018;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
}

.why-sivaan-dot {
  width: 7px;
  height: 7px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #c20b27;
  box-shadow: 0 0 0 4px #fff0f2;
}

/* Heading */
.why-sivaan-card h2 {
  margin: 0;
  color: #242424;
  font-size: clamp(29px, 4vw, 39px);
  font-weight: 750;
  line-height: 1.25;
  text-align: center;
  letter-spacing: -0.8px;
}

.why-sivaan-card h2 span {
  color: #b90020;
}

/* Heading separator */
.why-sivaan-line {
  width: 58px;
  height: 4px;
  margin: 19px auto 23px;
  border-radius: 5px;
  background: linear-gradient(90deg, #a90018, #f07887);
}

/* Main paragraph */
.why-sivaan-description {
  max-width: 790px;
  margin: 0 auto;
  color: #5d5d5d;
  font-size: 16px;
  line-height: 1.95;
  text-align: center;
}

/* Trust features */
.why-sivaan-features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px;
  margin-top: 32px;
}

.why-sivaan-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
  padding: 17px 13px;
  background: #fffafa;
  border: 1px solid #f4e6e8;
  border-radius: 13px;
  transition: transform 0.25s ease,
              border-color 0.25s ease,
              box-shadow 0.25s ease;
}

.why-sivaan-feature:hover {
  transform: translateY(-4px);
  border-color: #e7b4bb;
  box-shadow: 0 8px 20px rgba(120, 0, 20, 0.06);
}

.why-sivaan-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  flex-shrink: 0;
  color: #b90020;
  background: #fdebed;
  border-radius: 10px;
  font-size: 22px;
}

.why-sivaan-feature h3 {
  margin: 1px 0 5px;
  color: #292929;
  font-size: 13px;
  line-height: 1.45;
}

.why-sivaan-feature p {
  margin: 0;
  color: #777;
  font-size: 12px;
  line-height: 1.6;
}

/* Closing brand statement */
.why-sivaan-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  margin-top: 29px;
  padding-top: 23px;
  border-top: 1px solid #f1e5e6;
}

.why-sivaan-footer-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 29px;
  height: 29px;
  color: #ffffff;
  border-radius: 9px 4px 9px 4px;
  font-size: 15px;
  font-weight: 700;
}

.why-sivaan-footer p {
  margin: 0;
  color: #555;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2px;
}

/* Tablet */
@media (max-width: 768px) {
  .why-sivaan-section {
    padding: 45px 0;
  }

  .why-sivaan-card {
    padding: 38px 25px 26px;
  }

  .why-sivaan-features {
    grid-template-columns: 1fr;
    gap: 11px;
  }

  .why-sivaan-feature {
    align-items: center;
    padding: 14px;
  }
}

/* Mobile */
@media (max-width: 480px) {
  .why-sivaan-card {
    padding: 34px 18px 23px;
    border-radius: 18px;
  }

  .why-sivaan-label {
    font-size: 9px;
    letter-spacing: 1.5px;
  }

  .why-sivaan-card h2 {
    font-size: 28px;
  }

  .why-sivaan-description {
    font-size: 14px;
    line-height: 1.85;
    text-align: left;
  }

.why-sivaan-footer-mark {
  display: block !important;
  width: 29px !important;
  height: 29px !important;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  object-fit: contain;
}
}

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  .why-sivaan-feature {
    transition: none;
  }
}

/* ========================================
   11. about
======================================== */

/* WHO WE ARE SECTION */
.who-section {
  padding: 85px 0;
  background: linear-gradient(180deg, #fffafa 0%, #ffffff 100%);
  overflow: hidden;
}

.who-title {
  text-align: center;
  color: #9e0015;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  margin-bottom: 12px;
}

.who-section .sub {
  text-align: center;
  color: #777;
  margin-bottom: 48px;
}

/* CARD GRID */
.who-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
  align-items: stretch;
}

/* UNIQUE CARDS */
.who-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 35px 28px 32px;
  min-height: 290px;
  background: #fff;
  border: 1px solid #f0d9dd;
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(120, 0, 20, 0.06);
  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease,
    border-color 0.4s ease;
}

/* Soft decorative background */
.who-card::before {
  content: "";
  position: absolute;
  width: 170px;
  height: 170px;
  right: -65px;
  top: -70px;
  border-radius: 50%;
  background: rgba(200, 0, 25, 0.045);
  z-index: -1;
  transition: transform 0.5s ease;
}

.who-card:hover::before {
  transform: scale(1.6);
}

.who-card:hover {
  transform: translateY(-10px);
  border-color: #d99aa5;
  box-shadow: 0 20px 40px rgba(120, 0, 20, 0.13);
}

/* ICON */
.who-icon {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin-bottom: 25px;
  border-radius: 20px;
  background: #fff0f2;
  font-size: 34px;
  box-shadow: 0 5px 15px rgba(180, 0, 25, 0.08);
  transition: transform 0.4s ease, border-radius 0.4s ease;
}

.who-card:hover .who-icon {
  transform: rotate(-8deg) scale(1.1);
  border-radius: 50%;
}

/* CARD NUMBER */
.who-number {
  position: absolute;
  top: 35px;
  right: 27px;
  color: #e8c8ce;
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
}

/* CARD TEXT */
.who-card h3 {
  color: #970019;
  font-size: 22px;
  font-weight: 750;
  margin: 0 0 13px;
}

.who-card p {
  color: #666;
  font-size: 14px;
  line-height: 1.9;
  margin: 0;
}

/* BOTTOM ACCENT LINE */
.who-line {
  width: 45px;
  height: 4px;
  margin-top: 25px;
  border-radius: 10px;
  background: #c80020;
  transition: width 0.4s ease;
}

.who-card:hover .who-line {
  width: 90px;
}

/* INDIVIDUAL CARD ACCENTS */
.mission-card {
  border-top: 4px solid #c80020;
}

.vision-card {
  border-top: 4px solid #e05b70;
}

.values-card {
  border-top: 4px solid #9e0015;
}

/* ENTRANCE ANIMATION */
.who-card.rv {
  opacity: 0;
  transform: translateY(35px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease,
    box-shadow 0.4s ease,
    border-color 0.4s ease;
}

.who-card.rv.show {
  opacity: 1;
  transform: translateY(0);
}

.who-card.rv.show:hover {
  transform: translateY(-10px);
}

.who-card:nth-child(2) {
  transition-delay: 0.12s;
}

.who-card:nth-child(3) {
  transition-delay: 0.24s;
}

/* TABLET */
@media (max-width: 850px) {
  .who-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }
}

/* MOBILE */
@media (max-width: 580px) {
  .who-section {
    padding: 55px 0;
  }

  .who-section .sub {
    margin-bottom: 30px;
  }

  .who-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .who-card {
    min-height: auto;
    padding: 28px 24px;
  }

  .who-icon {
    width: 62px;
    height: 62px;
    font-size: 30px;
    margin-bottom: 20px;
  }

  .who-card h3 {
    font-size: 20px;
  }

  .who-card p {
    font-size: 14px;
  }
}

/* ACCESSIBILITY */
@media (prefers-reduced-motion: reduce) {
  .who-card,
  .who-card::before,
  .who-icon,
  .who-line {
    transition: none !important;
  }
}

/* ========================================
   11. CARDS
======================================== */

.cd {
  background: #fff;
  border-radius: 18px;
  padding: 26px;
  box-shadow: 0 6px 24px #0000000f;
  transition: 0.3s;
}

.cd:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 34px #c8000026;
}

.cd h3 {
  margin: 8px 0;
  color: var(--r);
}

.cd p,
li {
  color: var(--g);
  font-size: 14px;
  line-height: 1.7;
}

/* ========================================
   12. ICONS, NUMBERS & ALIGNMENT
======================================== */

.ic {
  font-size: 34px;
}

.num {
  font-size: 40px;
  font-weight: 700;
  color: var(--r);
}

.ct {
  text-align: center;
}

/* ========================================
   13. SCROLL REVEAL ANIMATION
======================================== */

.rv {
  opacity: 0;
  transform: translateY(34px);
  transition: 0.7s;
}

.rv.in {
  opacity: 1;
  transform: none;
}
/* ========================================
   14. Club
======================================== */

/* SPORTS & CLUB FACILITY */
.club-section {
  padding: 75px 0;
  background: linear-gradient(135deg, #fff5f5, #ffffff);
}

.club-content {
  max-width: 1050px;
  margin: auto;
  text-align: center;
}

.club-label {
  display: inline-block;
  color: #c80000;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 14px;
}

.club-content h2 {
  color: #8e0000;
  margin-bottom: 12px;
}

.club-intro {
  color: #c80000;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 18px;
}

.club-desc {
  max-width: 780px;
  margin: 0 auto 32px;
  color: #555;
  line-height: 1.9;
}

/* Image gallery */
.club-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin: 35px 0;
  text-align: left;
}

.club-card {
  background: #fff;
  border: 1px solid #f0dadd;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 22px rgba(80, 0, 10, .06);
  transition: transform .3s ease, box-shadow .3s ease;
}

.club-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(80, 0, 10, .12);
}

.club-card img {
  display: block;
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.club-card h3 {
  color: #a90018;
  font-size: 17px;
  padding: 18px 18px 6px;
}

.club-card p {
  color: #666;
  font-size: 13px;
  line-height: 1.8;
  padding: 0 18px 20px;
}

.club-note {
  color: #777;
  font-size: 12px;
  line-height: 1.8;
  margin-bottom: 22px;
}

/* WhatsApp CTA */
.club-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #c80000;
  color: #fff;
  padding: 14px 28px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 7px 18px rgba(200, 0, 0, .18);
  transition: .25s ease;
}

.club-cta:hover {
  background: #8e0000;
  color: #fff;
  transform: translateY(-3px);
}

.club-wa-icon {
  font-size: 21px;
}

/* Responsive */
@media (max-width: 760px) {
  .club-gallery {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .club-card img {
    height: 230px;
  }

  .club-section {
    padding: 50px 0;
  }

  .club-intro {
    font-size: 18px;
  }
}

/* ========================================
   14. TESTIMONIAL SLIDER
======================================== */

.testimonial-slider {
  max-width: 760px;
  margin: 35px auto 0;
  padding: 35px 25px 25px;
  background: #fff;
  border: 1px solid #f1dede;
  border-radius: 22px;
  box-shadow: 0 15px 45px rgba(120, 20, 30, 0.07);
  position: relative;
  overflow: hidden;
}

.testimonial-slider::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #b51225, #f2a0a8, #b51225);
}


.testimonial-slider .sl {
  display: none;
  max-width: 620px;
  margin: auto;
  text-align: center;
  min-height: 175px;
  padding: 8px 12px;
  overflow: hidden;
}

.testimonial-slider .sl.active {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  animation: slideFromLeft .55s ease both;
}

@keyframes slideFromLeft {
  from {
    opacity: 0;
    transform: translateX(-45px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}


.quote-icon {
  font-family: Georgia, serif;
  font-size: 65px;
  line-height: .8;
  color: var(--r, #b51225);
  opacity: .8;
  margin-bottom: 12px;
}

.testimonial-slider .sl q {
  font-size: 19px;
  line-height: 1.8;
  color: #333;
  quotes: none;
}

.testimonial-slider .sl b {
  display: block;
  margin-top: 20px;
  color: var(--r, #b51225);
  font-size: 15px;
}

.parent-city {
  margin-top: 5px;
  color: #888;
  font-size: 12px;
}

.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 18px;
}

.slider-btn {
  width: 36px;
  height: 36px;
  border: 1px solid #ead0d3;
  border-radius: 50%;
  background: #fff;
  color: var(--r, #b51225);
  font-size: 25px;
  line-height: 1;
  cursor: pointer;
  transition: .25s ease;
}

.slider-btn:hover {
  background: var(--r, #b51225);
  color: #fff;
  transform: scale(1.08);
}

.slider-dots {
  display: flex;
  align-items: center;
  gap: 7px;
}

.slider-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: #e6c8cc;
  cursor: pointer;
  transition: width .3s ease, background .3s ease;
}

.slider-dot.active {
  width: 24px;
  background: var(--r, #b51225);
}

@keyframes testimonialFade {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 600px) {
  .testimonial-slider {
    padding: 28px 15px 20px;
    margin-top: 25px;
    border-radius: 16px;
  }

  .testimonial-slider .sl {
    min-height: 190px;
    padding: 8px 5px;
  }

  .testimonial-slider .sl q {
    font-size: 16px;
    line-height: 1.8;
  }

  .quote-icon {
    font-size: 54px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .testimonial-slider .sl.active {
    animation: none;
  }
}



/*.sl {
  max-width: 700px;
  margin: auto;
  text-align: center;
  min-height: 150px;
}

.sl q {
  font-size: 18px;
}

.sl b {
  display: block;
  margin-top: 12px;
  color: var(--r);
}

/* ========================================
   15. CALL-TO-ACTION SECTION
======================================== */

.cta {
  background: var(--r);
  color: #fff;
  text-align: center;
  padding: 60px 20px;
}

.cta h2 {
  margin-bottom: 18px;
}

/* ========================================
   16. TABLES
======================================== */

table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 24px #0000000f;
}

th {
  background: var(--r);
  color: #fff;
}

th,
td {
  padding: 14px;
  text-align: left;
}

tr:nth-child(even) {
  background: var(--s);
}

/* ========================================
   17. FAQ / ACCORDION
======================================== */

details {
  background: #fff;
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 12px;
  box-shadow: 0 4px 14px #0000000d;
}

summary {
  font-weight: 600;
  cursor: pointer;
}

/* ========================================
   18. FORMS & INPUT FIELDS
======================================== */

form {
  display: grid;
  gap: 12px;
}

input,
select,
textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid #e5e7eb;
  border-radius: 12px;
  font: 14px Poppins, sans-serif;
}

input:focus,
select:focus,
textarea:focus {
  outline: 0;
  border-color: var(--r);
}

.er {
  border-color: red !important;
}

.ok {
  color: #15803d;
  font-weight: 600;
  text-align: center;
  padding: 20px;
}

/* ========================================
   19. FOOTER
======================================== */

footer {
  background: #1a0000;
  color: #ddd;
  padding: 50px 0 20px;
}

footer img {
  height: 50px;
  margin-bottom: 12px;
}

footer a {
  display: block;
  padding: 3px 0;
  opacity: 0.8;
}

footer a:hover {
  opacity: 1;
  color: #fff;
}

footer h4 {
  color: #fff;
  margin-bottom: 10px;
}

.cp {
  text-align: center;
  margin-top: 30px;
  font-size: 13px;
  opacity: 0.6;
}

/* ========================================
   20. FLOATING WHATSAPP BUTTON
======================================== */


#wa {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: #fff;
  color: #c80000;
  display: grid;
  place-items: center;
  font-size: 32px;
  z-index: 60;
  border: 2px solid #c80000;
  box-shadow:
    0 0 12px rgba(200, 0, 0, .35),
    0 0 25px rgba(200, 0, 0, .2),
    0 6px 18px #0003;
  animation: waGlow 1.8s infinite;
  transition: all .3s ease;
}

#wa:hover {
  background: #c80000;
  color: #fff;
  border-color: #c80000;
  transform: scale(1.12);
  box-shadow:
    0 0 15px rgba(200, 0, 0, .7),
    0 0 35px rgba(200, 0, 0, .55),
    0 0 55px rgba(200, 0, 0, .3);
}

@keyframes waGlow {
  0%, 100% {
    box-shadow: 0 0 10px rgba(200, 0, 0, .3),
                0 0 20px rgba(200, 0, 0, .15);
  }
  50% {
    box-shadow: 0 0 16px rgba(200, 0, 0, .55),
                0 0 32px rgba(200, 0, 0, .3);
  }
}

@media (prefers-reduced-motion: reduce) {
  #wa {
    animation: none;
  }
}
/* ========================================
   21. Team
======================================== */

/* TEAM SECTION */
.team-section {
  padding: 70px 0;
  background: #fff;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  max-width: 900px;
  margin: 35px auto 0;
}

.team-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px;
  min-width: 0;
  background: #fff;
  border: 1px solid #f0dadd;
  border-radius: 16px;
  box-shadow: 0 6px 22px rgba(80, 0, 10, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card img {
  width: 130px;
  height: 140px;
  flex-shrink: 0;
  object-fit: cover;
  object-position: center;
  border-radius: 12px;
}

.team-info {
  min-width: 0;
}

.team-info h3 {
  color: #a90018;
  font-size: 22px;
  margin: 0 0 7px;
  overflow-wrap: anywhere;
}

.team-info p {
  color: #666;
  font-size: 13px;
  line-height: 1.6;
  margin: 0;
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(80, 0, 10, 0.12);
}

/* Tablet */
@media (max-width: 768px) {
  .team-grid {
    gap: 14px;
  }

  .team-card {
    gap: 12px;
    padding: 12px;
  }

  .team-card img {
    width: 95px;
    height: 110px;
  }

  .team-info h3 {
    font-size: 15px;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .team-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 0 5px;
  }

  .team-card {
    gap: 16px;
    padding: 14px;
    width: 100%;
    box-sizing: border-box;
  }

  .team-card img {
    width: 115px;
    height: 125px;
    flex-shrink: 0;
  }

  .team-info h3 {
    font-size: 16px;
  }

  .team-info p {
    font-size: 13px;
  }
}

/* Very small phones */
@media (max-width: 360px) {
  .team-card {
    gap: 12px;
    padding: 10px;
  }

  .team-card img {
    width: 90px;
    height: 105px;
  }

  .team-info h3 {
    font-size: 14px;
  }

  .team-info p {
    font-size: 12px;
  }
}

/* ========================================
   21. POPUP / MODAL
======================================== */
/* ========== ADMISSION POPUP ========== */
#ov {
  position: fixed; inset: 0;
  background: #000a; backdrop-filter: blur(6px);
  display: none; place-items: center;
  z-index: 90; opacity: 0; transition: .35s;
  padding: 14px; overflow: auto;
}
#ov.sh2 { opacity: 1; }
#ov > div {
  background: #fff; border-radius: 22px; padding: 30px;
  width: 100%; max-width: 480px;
  position: relative; transform: scale(.85); transition: .35s;
}
#ov.sh2 > div { transform: scale(1); }
#x { position: absolute; right: 16px; top: 10px; font-size: 28px; background: 0; border: 0; cursor: pointer; }

/* ========== MOBILE ========== */
@media (max-width: 860px) {
  #bg { display: block; }
  #m {
    display: none;
    position: absolute; top: 70px; left: 0; right: 0;
    background: #fff; flex-direction: column;
    padding: 14px; box-shadow: 0 10px 20px #0002;
  }
  #m.o { display: flex; }
}
/* ========================================
   22. RESPONSIVE MOBILE NAVIGATION
======================================== */

@media (max-width: 860px) {
  #bg {
    display: block;
  }

  #m {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 14px;
    box-shadow: 0 10px 20px #0002;
  }

  #m.o {
    display: flex;
  }
}


/* Animated Section Separators */

main > section,
main > .hero {
  position: relative;
}

main > section::after,
main > .hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  width: 85%;
  max-width: 1100px;
  height: 2px;
  border-radius: 10px;

  background: linear-gradient(
    to right,
    transparent,
    #eadadd 20%,
    #c8102e 50%,
    #eadadd 80%,
    transparent
  );

  opacity: 0;
  transition:
    transform 1s ease,
    opacity 0.8s ease;
}

/* Animation activates when section is visible */

/* SIVAAN Premium Wave Separator */

main > section,
main > .hero {
  position: relative;
  isolation: isolate;
}

/* Elegant curved separator */
main > section::after,
main > .hero::after {
  content: "";
  position: absolute;
  z-index: 3;
  bottom: 0;
  left: 50%;

  width: min(82%, 950px);
  height: 4px;

  transform: translateX(-50%);
  border-radius: 100%;

  background: linear-gradient(
    90deg,
    transparent,
    #f2c6cd,
    #c8102e,
    #ffcf70,
    #c8102e,
    #f2c6cd,
    transparent
  );

  background-size: 250% 100%;
  animation: sivaanWaveFlow 5s ease-in-out infinite;

  box-shadow:
    0 0 8px rgba(200, 16, 46, 0.18),
    0 0 18px rgba(200, 16, 46, 0.08);
}



/* Smooth moving light */
@keyframes sivaanWaveFlow {
  0% {
    background-position: 100% 50%;
    opacity: 0.7;
  }

  50% {
    background-position: 0% 50%;
    opacity: 1;
  }

  100% {
    background-position: -100% 50%;
    opacity: 0.7;
  }
}

/* Floating jewel effect */
@keyframes sivaanJewelFloat {
  0%, 100% {
    transform: translate(-50%, 0) rotate(45deg) scale(1);
  }

  50% {
    transform: translate(-50%, -3px) rotate(135deg) scale(1.15);
  }
}

/* Mobile responsive */
@media (max-width: 600px) {
  main > section::after,
  main > .hero::after {
    width: 88%;
    height: 2px;
  }

  main > section::before,
  main > .hero::before {
    width: 8px;
    height: 8px;
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  main > section::after,
  main > .hero::after,
  main > section::before,
  main > .hero::before {
    animation: none !important;
  }
}


/* Remove rotating golden center jewel */
main > section::before,
main > .hero::before {
  content: none !important;
  animation: none !important;
  box-shadow: none !important;
}
