:root {
  --primary: #e31e24;
  --primary-dark: #a31218;
  --secondary: #1e73be;
  --secondary-light: #4bb2ff;
  --accent: #e31e24;
  --green: #25d366;
  --orange: #f59e0b;
  --dark: #1a0808;
  --bg: #fdfaf5;
  --card: rgba(255, 255, 255, 0.85);
  --text: #16243d;
  --muted: #66728a;
  --line: #e2ebf7;
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 10px 25px -3px rgba(227, 30, 36, 0.15), 0 4px 6px -2px rgba(227, 30, 36, 0.05);
  --shadow-lg: 0 20px 40px -5px rgba(227, 30, 36, 0.2);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Outfit', sans-serif;
  background-color: var(--bg);
  background-image:
    radial-gradient(at 0% 0%, hsla(210, 100%, 92%, 1) 0px, transparent 50%),
    radial-gradient(at 100% 0%, hsla(190, 100%, 90%, 1) 0px, transparent 50%),
    radial-gradient(at 100% 100%, hsla(215, 100%, 94%, 1) 0px, transparent 50%),
    radial-gradient(at 0% 100%, hsla(180, 100%, 96%, 1) 0px, transparent 50%);
  background-attachment: fixed;
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

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

.container {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
}

/* Top Strip */
.top-strip {
  background: linear-gradient(135deg, var(--dark), var(--primary-dark));
  color: #cbd5e1;
  font-size: 13px;
  font-weight: 500;
}

.strip-inner {
  min-height: 46px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.strip-inner a {
  color: #fff;
  font-weight: 700;
  transition: color 0.3s;
}

.strip-inner a:hover {
  color: var(--accent);
}

/* Navbar */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

.nav {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--primary);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.5px;
}

.brand-mark {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--primary), #ff6b70);
  color: #fff;
  box-shadow: 0 10px 20px rgba(227, 30, 36, 0.3);
  font-size: 20px;
  font-weight: 900;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  margin-top: -2px;
  letter-spacing: 0;
}

.menu {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
}

.menu a {
  padding: 10px 14px;
  border-radius: 999px;
  transition: all 0.3s ease;
}

.menu a:hover {
  background: rgba(227, 30, 36, 0.08);
  color: var(--primary);
  transform: translateY(-1px);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  padding: 14px 24px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.15);
  z-index: -1;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.btn:hover::before {
  transform: scaleX(1);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn:active {
  transform: translateY(0);
}

    .btn.primary {
        background: #f7545a;
        color: #fff;
        box-shadow: 0 8px 20px rgba(30, 115, 190, 0.3);
    }

.btn.light {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  color: var(--primary);
  border: 1px solid rgba(226, 232, 240, 0.8);
}

    .btn.whatsapp {
        background: #2e6cb2;
        color: white;
        box-shadow: 0 8px 20px rgba(16, 185, 129, 0.25);
    }

/* Hero Section */
.hero {
  padding: 80px 0 50px;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: var(--accent);
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.15;
  z-index: -1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(227, 30, 36, 0.1);
  color: var(--primary);
  border: 1px solid rgba(227, 30, 36, 0.2);
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

h1 {
  margin: 0;
  color: var(--dark);
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.1;
  letter-spacing: -1.5px;
  font-weight: 800;
}

h1 span {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  color: var(--muted);
  font-size: 18px;
  margin: 24px 0 32px;
  max-width: 800px;
  font-weight: 400;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* Admission Card */
.admission-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.admission-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.admission-card h2 {
  margin: 0 0 10px;
  color: var(--primary);
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.admission-card p {
  font-size: 15px;
  margin: 0 0 24px;
  color: var(--muted);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-grid .full {
  grid-column: 1 / -1;
}

input,
select,
textarea {
  width: 100%;
  padding: 16px;
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.9);
  font-family: inherit;
  color: var(--text);
  outline: none;
  transition: all 0.3s ease;
  font-size: 15px;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(227, 30, 36, 0.1);
  background: #fff;
}

textarea {
  min-height: 110px;
  resize: vertical;
}

/* Meta Strip */
.meta-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 60px;
}

.meta-item {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: transform 0.3s ease;
}

.meta-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.meta-item strong {
  display: block;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 40px;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 8px;
}

.meta-item span {
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Sections */
section {
  padding: 40px 0;
  position: relative;
}

.section-head {
  margin-bottom: 40px;
  max-width: 700px;
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.section-head h2 {
  margin: 0;
  color: var(--dark);
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.15;
  letter-spacing: -1px;
  font-weight: 800;
}

.section-head p {
  color: var(--muted);
  margin: 16px 0 0;
  font-size: 18px;
  line-height: 1.6;
}

/* Grids */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* Cards */
.card {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 1);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

.card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-md);
  padding: 2px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.1));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}

.card:hover::after {
  opacity: 1;
}

.icon {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(227, 30, 36, 0.1), rgba(30, 115, 190, 0.05));
  color: var(--primary);
  font-size: 28px;
  margin-bottom: 20px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5), var(--shadow-sm);
  transition: transform 0.3s ease;
}

.card:hover .icon {
  transform: scale(1.1) rotate(5deg);
}

.card h3 {
  margin: 0 0 12px;
  color: var(--dark);
  font-size: 22px;
  font-weight: 800;
  line-height: 1.3;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

/* Course Cards */
.course-card {
  overflow: hidden;
  padding: 0;
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: all 0.4s ease;
}

.course-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}

.course-top {
  padding: 32px;
  flex: 1;
  position: relative;
  z-index: 1;
  background: linear-gradient(180deg, rgba(243, 249, 255, 0.5) 0%, rgba(255, 255, 255, 1) 100%);
}

.course-top::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--line);
  transition: background 0.3s ease;
}

.course-card:hover .course-top::before {
  background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.course-card h3 {
  margin: 0 0 12px;
  color: var(--primary);
  font-size: 24px;
  font-weight: 800;
}

.course-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.course-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  border-top: 1px solid var(--line);
  padding: 18px 32px;
  background: #fff;
  color: var(--dark);
  font-size: 14px;
  font-weight: 700;
}

.course-meta span:last-child {
  color: var(--primary);
  background: rgba(227, 30, 36, 0.1);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
}

/* Training Section */
.highlight-box {
  background: linear-gradient(135deg, var(--dark), var(--primary-dark), var(--primary));
  color: white;
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.highlight-box::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 60%);
  pointer-events: none;
}

.highlight-box h2 {
  margin: 0 0 20px;
  font-size: clamp(32px, 4vw, 42px);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -1px;
}

.highlight-box p {
  margin: 0;
  color: #e2e8f0;
  font-size: 18px;
  line-height: 1.6;
}

.check-list {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}

.check-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease;
}

.check-item:hover {
  transform: translateX(10px);
}

    .check-item span {
        width: 48px;
        height: 48px;
        border-radius: 14px;
        background: linear-gradient(135deg, #1e74b7, #34d399);
        color: #fff;
        display: grid;
        place-items: center;
        font-weight: 900;
        font-size: 20px;
        box-shadow: 0 4px 10px rgba(16, 185, 129, 0.3);
    }

.check-item b {
  color: var(--dark);
  font-size: 18px;
  font-weight: 800;
  display: block;
}

.check-item p {
  color: var(--muted);
  margin: 6px 0 0;
  font-size: 15px;
}

/* FAQ Section */
.faq {
  display: grid;
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
}

details {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

details[open] {
  box-shadow: var(--shadow-md);
  border-color: rgba(227, 30, 36, 0.3);
}

summary {
  color: var(--dark);
  font-weight: 700;
  font-size: 18px;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  outline: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: '+';
  font-size: 24px;
  color: var(--secondary);
  transition: transform 0.3s;
  font-weight: 400;
}

details[open] summary::after {
  transform: rotate(45deg);
}

details p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

/* CTA Section */
.cta {
  margin: 40px auto 80px;
  background: linear-gradient(135deg, var(--dark), var(--primary-dark));
  color: white;
  border-radius: var(--radius-lg);
  padding: 60px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 32px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.cta::before,
.cta::after {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  filter: blur(80px);
  opacity: 0.3;
  z-index: 0;
}

.cta::before {
  top: -100px;
  left: -100px;
}

.cta::after {
  bottom: -100px;
  right: -100px;
}

.cta > * {
  position: relative;
  z-index: 1;
}

.cta h2 {
  margin: 0 0 16px;
  font-size: clamp(36px, 5vw, 48px);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -1px;
}

.cta p {
  margin: 0;
  color: #cbd5e1;
  max-width: 600px;
  font-size: 18px;
}

.cta-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

/* Footer */
/*footer {
  border-top: 1px solid var(--line);
  padding: 60px 0 40px;
  color: var(--muted);
  font-size: 15px;
  background: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
}

.footer-grid h3 {
  color: var(--dark);
  font-size: 20px;
  font-weight: 800;
  margin: 0 0 20px;
}

.footer-grid p {
  margin: 0 0 12px;
  line-height: 1.6;
}

@media(max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 60px;
  }

  .hero p {
    margin-inline: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .grid-4,
  .meta-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }
}
*/
@media(max-width: 768px) {
  .hero {
    padding: 40px 0;
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .meta-strip,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .menu {
    display: none;
  }

  .container {
    width: min(100% - 32px, 1200px);
  }

  .form-grid .full {
    grid-column: auto;
  }

  .check-item {
    grid-template-columns: 40px 1fr;
    padding: 20px;
  }

  .check-item span {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  .highlight-box,
  .cta,
  .admission-card,
  .card {
    padding: 24px;
    border-radius: var(--radius-md);
  }
}

/* Thank You Modal */
.thankyou-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  visibility: visible;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.thankyou-overlay.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}



/* Brand Section */
.brand {
    display: flex;
    align-items: center;
    gap: 18px;
    text-decoration: none;
}

/* Logo Image */
.brand-logo {
    width: 335px; /* Increase width */
    height: 90px; /* Fixed height like sample */
    object-fit: contain;
    display: block;
}

/* Text Section */
.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    margin-top: 4px;
}

.brand-text {
    font-size: 30px;
    font-weight: 700;
    color: #d32f2f;
}

    .brand-text small {
        font-size: 16px;
        color: #666;
        font-weight: 600;
        margin-top: 4px;
    }


.card .icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    border-radius: 20px;
    background: linear-gradient(135deg, #ff4d4d, #b30000);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: #fff;
    box-shadow: 0 10px 25px rgba(255, 77, 77, 0.25);
    transition: 0.4s ease;
}

.card:hover .icon {
    transform: translateY(-8px) scale(1.08);
}


/* =========================
   FOOTER
========================= */

footer {
    background: linear-gradient(135deg, #3b0000, #8b0000);
    padding: 30px 0 30px;
    color: rgba(255,255,255,0.85);
    position: relative;
    overflow: hidden;
}

/* Footer Grid */
.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr;
    gap: 50px;
    align-items: flex-start;
}

/* Footer Logo */
.footer-logo {
    width: 320px;
    max-width: 100%;
    object-fit: contain;
/*    margin-bottom: 20px;*/
    background: #fff;
    padding: 10px 18px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* Heading */
.footer-grid h3 {
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 22px;
}

/* Text */
.footer-grid p {
    font-size: 16px;
   margin-bottom: 14px;
    color: white;
}

    /* Icons inside text */
    .footer-grid p i {
        color: #ffb3b3;
        margin-right: 10px;
        width: 18px;
    }

/* Social Icons */
.social-icons {
    display: flex;
    gap: 14px;
    margin-top: 25px;
    flex-wrap: wrap;
}

    .social-icons a {
        width: 48px;
        height: 48px;
        border-radius: 14px;
        background: rgba(255,255,255,0.12);
        color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        font-size: 18px;
        transition: all 0.35s ease;
        backdrop-filter: blur(10px);
    }

        .social-icons a:hover {
            background: #fff;
            color: #b30000;
            transform: translateY(-6px);
        }

/* Responsive */
@media(max-width:1024px) {

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .social-icons {
        justify-content: center;
    }

    .footer-logo {
        margin-inline: auto;
    }
}


/* =========================================
   HERO RESPONSIVE DESIGN
========================================= */

/* Large Tablets */
@media (max-width: 1024px) {

    .hero {
        padding: 70px 0 50px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 50px;
        align-items: center;
    }

    .hero-content {
        text-align: center;
    }

    .hero p {
        max-width: 100%;
        margin-inline: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .admission-card {
        width: 100%;
        max-width: 700px;
        margin: auto;
    }
}

/* Mobile Devices */
@media (max-width: 768px) {

    .hero {
        padding: 50px 0 40px;
    }

    .hero-grid {
        display: flex;
        flex-direction: column;
        gap: 35px;
    }

/*       .hero-grid > div:first-child {
            order: 1;
            text-align: left;
        }

        .hero-grid > aside {
            order: 2;
            width: 100%;
        }*/


    /* Mobile Devices */
    @media (max-width: 768px) {

        .hero {
            padding: 50px 0 40px;
        }

        .hero-grid {
            display: flex;
            flex-direction: column;
            gap: 35px;
        }

            /* FORM FIRST */
            .hero-grid > aside {
                order: 1;
                width: 100%;
            }

            /* CONTENT SECOND */
            .hero-grid > div:first-child {
                order: 2;
                text-align: left;
            }

        .eyebrow {
            font-size: 11px;
            padding: 10px 14px;
            line-height: 1.5;
        }

        h1 {
            font-size: 42px;
            line-height: 1.15;
            letter-spacing: -1px;
        }

        .hero p {
            font-size: 17px;
            line-height: 1.8;
            margin: 20px 0 28px;
        }

        .hero-actions {
            flex-direction: column;
            width: 100%;
            gap: 14px;
        }

            .hero-actions .btn {
                width: 100%;
                justify-content: center;
                text-align: center;
            }

        .admission-card {
            padding: 28px 22px;
            border-radius: 24px;
        }
    }

    .eyebrow {
        font-size: 11px;
        padding: 10px 14px;
        line-height: 1.5;
    }

    h1 {
        font-size: 42px;
        line-height: 1.15;
        letter-spacing: -1px;
    }

    .hero p {
        font-size: 17px;
        line-height: 1.8;
        margin: 20px 0 28px;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
        gap: 14px;
    }

        .hero-actions .btn {
            width: 100%;
            justify-content: center;
            text-align: center;
        }

    /* Form Card */
    .admission-card {
        padding: 28px 22px;
        border-radius: 24px;
    }

        .admission-card h2 {
            font-size: 32px;
            margin-bottom: 10px;
        }

        .admission-card p {
            font-size: 15px;
            margin-bottom: 24px;
        }

    /* Form Fields */
    .form-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

        .form-grid .full {
            grid-column: auto;
        }

        .form-grid input,
        .form-grid select,
        .form-grid textarea {
            width: 100%;
            font-size: 15px;
            padding: 15px 16px;
            border-radius: 14px;
        }

    textarea {
        min-height: 120px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {

    .container {
        width: min(100% - 24px, 1200px);
    }

    .hero {
        padding-top: 35px;
    }

    h1 {
        font-size: 36px;
    }

    .hero p {
        font-size: 16px;
    }

    .admission-card {
        padding: 24px 18px;
    }

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

    .btn {
        padding: 14px 18px;
        font-size: 15px;
    }
}



/* =====================================
   MOBILE OVERFLOW FIX
===================================== */

html,
body {
    overflow-x: hidden;
    width: 100%;
}

/* Prevent all elements from exceeding width */
* {
    max-width: 100%;
}

/* Container Fix */
.container {
    width: min(100% - 24px, 1200px);
    overflow: hidden;
}

/* Hero Grid */
.hero-grid {
    overflow: hidden;
}

/* Meta Cards */
.meta-strip {
    overflow: hidden;
}

.meta-item {
    width: 100%;
    min-width: 0;
}

/* Footer */
.footer-grid {
    overflow: hidden;
}

/* Buttons */
.btn {
    max-width: 100%;
    white-space: normal;
    text-align: center;
}

/* Brand Logo Mobile */
@media (max-width:768px) {

    .brand-logo {
        width: 220px;
        height: auto;
    }

    .nav {
        min-height: auto;
        padding: 14px 0;
    }

    .brand {
        width: 100%;
        justify-content: center;
    }

    /* Prevent cards overflow */
    .card,
    .meta-item,
    .admission-card,
    .check-item {
        width: 100%;
        min-width: 0;
    }

    /* Footer Logo */
    .footer-logo {
        width: 240px;
    }

    /* Long text fix */
    p,
    h1,
    h2,
    h3,
    h4,
    span,
    a {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
}

/* Small Mobile */
@media (max-width:480px) {

    .brand-logo {
        width: 180px;
    }

    h1 {
        font-size: 34px;
    }

    .meta-item strong {
        font-size: 34px;
    }

    .footer-logo {
        width: 200px;
    }
}


/* =========================
   FIXED HEADER
========================= */

.topbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255,255,255,0.4);
    box-shadow: 0 4px 25px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
}

/* Navbar Layout */
.nav {
    min-height: 90px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

/* Prevent content hiding behind fixed header */
body {
    padding-top: 95px;
}

/* Logo */
.brand-logo {
    width: 320px;
    height: auto;
    object-fit: contain;
    display: block;
}

/* =========================
   TABLET
========================= */

@media (max-width: 1024px) {

    .nav {
/*        flex-direction: column;*/
        justify-content: center;
        gap: 16px;
        padding: 14px 0;
        min-height: auto;
    }

    body {
        padding-top: 150px;
    }

    .brand-logo {
        width: 250px;
    }

    .menu {
        justify-content: center;
        flex-wrap: wrap;
    }
}

/* =========================
   MOBILE
========================= */

@media (max-width: 768px) {

    .topbar {
        padding: 8px 0;
    }

    .nav {
/*        flex-direction: column;*/
        gap: 12px;
    }

    .brand {
        width: 100%;
        justify-content: center;
    }

    .brand-logo {
        width: 200px;
    }

    body {
        padding-top: 135px;
    }

    .menu {
        display: flex;
        justify-content: center;
        gap: 8px;
        flex-wrap: wrap;
    }

        .menu a {
            font-size: 13px;
            padding: 8px 12px;
        }

        .menu .btn {
            padding: 10px 16px;
        }
}

/* =========================
   SMALL MOBILE
========================= */

@media (max-width: 480px) {

    .brand-logo {
        width: 170px;
    }

    body {
        padding-top: 125px;
    }

    .menu {
        gap: 6px;
    }

        .menu a {
            font-size: 12px;
            padding: 7px 10px;
        }
}


/* =========================
   MOBILE SIDEBAR MENU
========================= */

.topbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(14px);
    z-index: 9999;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

body {
    padding-top: 95px;
}

/* Navbar */
.nav {
    min-height: 90px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.brand-logo {
    width: 300px;
    height: auto;
    object-fit: contain;
}

/* Desktop Menu */
.menu {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Mobile Menu Button */
.menu-toggle {
    display: none;
    width: 48px;
    height: 48px;
    border: none;
    background: #f7545a;
    color: #fff;
    border-radius: 12px;
    font-size: 20px;
    cursor: pointer;
}

/* Sidebar */
.mobile-sidebar {
    position: fixed;
    top: 0;
    right: -320px;
    width: 300px;
    height: 100vh;
    background: #fff;
    z-index: 10001;
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 90px 24px 30px;
    transition: right 0.4s ease;
    box-shadow: -10px 0 30px rgba(0,0,0,0.08);
}

    .mobile-sidebar.active {
        right: 0;
    }

    /* Sidebar Links */
    .mobile-sidebar a {
        padding: 14px 18px;
        border-radius: 14px;
        color: #222;
        font-weight: 600;
        background: #f8f8f8;
        transition: 0.3s;
    }

        .mobile-sidebar a:hover {
            background: #f7545a;
            color: #fff;
        }

/* Close Button */
.close-menu {
    position: absolute;
    top: 22px;
    right: 20px;
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 12px;
    background: #f7545a;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
}

/* Overlay */
.menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    z-index: 10000;
}

    .menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }

/* =========================
   MOBILE
========================= */

@media (max-width: 768px) {

    body {
        padding-top: 85px;
    }

    .nav {
        min-height: 80px;
    }

    .brand-logo {
        width: 290px;
    }

    /* Hide Desktop Menu */
    .menu {
        display: none;
    }

    /* Show Menu Button */
    .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }
}


/* =====================================
   MOBILE BOTTOM NAVBAR
===================================== */

.mobile-bottom-nav {
    display: none;
}

/* MOBILE ONLY */
@media (max-width: 768px) {

    .mobile-bottom-nav {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 72px;
        background: #e31e24;
        display: flex;
        align-items: center;
        justify-content: space-around;
        z-index: 99999;
        box-shadow: 0 -5px 20px rgba(0,0,0,0.15);
        border-top-left-radius: 18px;
        border-top-right-radius: 18px;
    }

    .bottom-nav-item span {
        color: #fff !important;
    }

    .bottom-nav-item {
        flex: 1;
        height: 100%;
        border: none;
        background: transparent;
        color: #fff;
        text-decoration: none;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 4px;
        font-size: 12px;
        font-weight: 600;
        cursor: pointer;
    }

        .bottom-nav-item i {
            font-size: 20px;
            color : white;
        }

        .bottom-nav-item:hover {
            background: rgba(255,255,255,0.08);
        }

    /* Extra space because navbar fixed bottom */
    body {
        padding-bottom: 85px;
    }

    /* Hide top menu button */
    .menu-toggle {
        display: none !important;
    }
}