/* ---------------------------------------------
   Olympiad Gurukul: Final Integrated CSS
   Matches Design Thinker School layout
--------------------------------------------- */

/* ------------------------------
   BASE SETUP
------------------------------ */
body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background-color: #f5f5ff;
  color: #1a1a1a;
}

/* ------------------------------
   NAVBAR
------------------------------ */
.navbar {
  background-color: #ffffff;
  padding: 20px 40px;
}

.navbar-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Left: Logo + Brand Text */
.logo-text {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo-text img {
  height: 50px;
}

.brand-title {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-title strong {
  font-size: 17px;
  font-weight: 700;
  color: #000;
}

.brand-title span {
  font-size: 13px;
  color: #4070f4;
  font-weight: 500;
}

/* Right: Nav links + Call Button */
.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-links a {
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  color: #000;
}

.nav-links .call-button {
  background-color: #4338ca;
  color: white !important;
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  transition: background 0.3s ease;
}

.nav-links .call-button:hover {
  background-color: #2e26a8;
}

/* ------------------------------
   HERO SECTION
------------------------------ */
.hero {
  background-color: #f5f5ff;
  padding: 80px 40px;
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  flex-wrap: wrap;
}

.text-section {
  max-width: 600px;
  flex: 1;
}

.image-section {
  flex: 1;
  text-align: center;
}

.image-section img {
  max-width: 400px;
  width: 100%;
}

/* ------------------------------
   BLINKING BADGE
------------------------------ */
.badge {
  display: inline-flex;
  align-items: center;
  background-color: #ff4949;
  color: white;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 20px;
  gap: 8px;
}

.badge .dot {
  width: 10px;
  height: 10px;
  background-color: white;
  border-radius: 50%;
  animation: blink 1s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* ------------------------------
   HERO TEXT
------------------------------ */
.text-section h1 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.3;
}

.text-section p {
  font-size: 16px;
  color: #555;
  line-height: 1.6;
  margin-bottom: 30px;
}

/* ------------------------------
   BUTTONS
------------------------------ */
.buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  padding: 14px 24px;
  font-weight: 600;
  font-size: 15px;
  border-radius: 8px;
  text-decoration: none;
  transition: 0.3s ease;
}

.btn.primary {
  background-color: #4338ca;
  color: white;
}

.btn.primary:hover {
  background-color: #372fc7;
}

.btn.secondary {
  border: 2px solid #4338ca;
  color: #4338ca;
  background-color: white;
}

.btn.secondary:hover {
  background-color: #eaeaff;
}





/* ----------------------------------
   GUIDANCE COURSE + FORM SECTION
---------------------------------- */
/* ----------------------------
   Guidance Course Section
---------------------------- */
.guidance-section {
  background-color: #f9f9fb;
  padding: 80px 40px;
  font-family: 'Poppins', sans-serif;
}

.guidance-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 60px;
  justify-content: space-between;
  align-items: flex-start;
}

.guidance-left {
  flex: 1;
  min-width: 300px;
}

.badges {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  align-items: center;
}

.badge {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.badge.red {
  background-color: #ff2d2d;
  color: white;
}

.badge.soft-red {
  background-color: #ffe7e7;
  color: #ff2d2d;
}

.blinking-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #fff;
  border: 2px solid black;
  animation: blink 1s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.2; }
}


.guidance-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #111;
}

.guidance-subheading {
  font-size: 18px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 16px;
}

.guidance-desc {
  font-size: 16px;
  color: #555;
  line-height: 1.6;
  margin-bottom: 20px;
}

.guidance-features {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.guidance-features li {
  margin-bottom: 10px;
  font-size: 15px;
  color: #333;
}

/* Right: Registration Form Card */
.guidance-form-card {
  background-color: white;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  flex: 1;
  min-width: 320px;
  max-width: 400px;
}

.guidance-form-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;
}

.guidance-form-card form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.guidance-form-card input,
.guidance-form-card select {
  padding: 12px 16px;
  font-size: 15px;
  border-radius: 8px;
  border: 1px solid #ccc;
  outline: none;
  transition: border-color 0.3s;
}

.guidance-form-card input:focus,
.guidance-form-card select:focus {
  border-color: #4338ca;
}

.btn.form-btn {
  background-color: #4338ca;
  color: white;
  padding: 14px 20px;
  font-weight: 600;
  font-size: 15px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.btn.form-btn:hover {
  background-color: #372fc7;
}

.whatsapp-info {
  margin-top: 16px;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  color: #222;
}

.whatsapp-info img {
  width: 20px;
  height: 20px;
}

/* LIVE NOW Blinking Badge */
.live-now-badge {
  display: inline-flex;
  align-items: center;
  background-color: #ff2d2d;
  color: white;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  gap: 8px;
}

.blinking-dot {
  width: 10px;
  height: 10px;
  background-color: white;
  border-radius: 50%;
  animation: blink 1s infinite;
  border: 2px solid #000;
}

@keyframes blink {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}

.whatsapp-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 16px;
}

.whatsapp-info {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: #222;
  text-decoration: none;
}

.whatsapp-info:hover {
  text-decoration: underline;
}

.whatsapp-info img {
  width: 18px;
  height: 18px;
}






/* SECTION WRAPPER */
.why-section {
  padding: 80px 40px;
  background-color: #ffffff;
  font-family: 'Poppins', sans-serif;
}

/* LAYOUT */
.why-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 60px;
  justify-content: space-between;
  align-items: flex-start;
}

/* LEFT CONTENT */
.why-content {
  flex: 1;
  min-width: 300px;
}

.why-content h2 {
  font-size: 36px;
  font-weight: 700;
  color: #1f1f8b;
  margin-bottom: 16px;
}

.why-content .subtitle {
  font-size: 22px;
  font-weight: 500;
  color: #444;
  margin-bottom: 20px;
}

.why-content .description {
  font-size: 16px;
  color: #555;
  line-height: 1.8;
  margin-bottom: 40px;
}

.why-content .btn.primary {
  background-color: #4338ca;
  color: #fff;
  padding: 14px 30px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.why-content .btn.primary:hover {
  background-color: #372fc7;
}

/* RIGHT CARDS */
.why-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: 1;
  min-width: 280px;
  max-width: 400px;
}

.why-card {
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.05);
  background-color: #f0f0f0;
}

.why-card.green {
  background-color: #e8fdf4;
}

.why-card.purple {
  background-color: #f1efff;
}

.why-card .icon {
  font-size: 32px;
  margin-bottom: 12px;
}

.why-card h4 {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 8px;
}

.why-card p {
  font-size: 15px;
  color: #444;
  line-height: 1.6;
}







body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background: #f9f9fc;
}

.stay-in-touch {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 80px 10%;
  gap: 40px;
  flex-wrap: wrap;
}

.left-content {
  flex: 1;
  min-width: 300px;
}

.left-content h2 {
  font-size: 40px;
  font-weight: 700;
  color: #0d0d2b;
  margin-bottom: 20px;
}

.left-content p {
  font-size: 17px;
  color: #444;
  line-height: 1.6;
  max-width: 550px;
}

.right-content {
  flex: 0 0 420px; /* wider now */
}

.instagram-card {
  position: relative;
  border-radius: 20px;
  padding: 30px 25px;
  color: white;
  background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 240px;
  width: 100%;
  box-shadow: 0 5px 25px rgba(0,0,0,0.1);
}

.badge-top {
  position: absolute;
  top: 15px;
  right: 15px;
  text-align: right;
}

.badge-top span {
  display: block;
  background-color: rgba(255, 255, 255, 0.15);
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 12px;
  margin-bottom: 5px;
}

.followers {
  background-color: rgba(255,255,255,0.2);
}

.icon-box {
  position: absolute;
  top: 25px;
  left: 25px;
}

.icon-box img {
  width: 36px;
  height: 36px;
  filter: drop-shadow(0 1px 1px rgba(0,0,0,0.2));
}

.social-details {
  margin-top: auto;
}

.platform {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 5px;
}

.handle {
  font-size: 14px;
  opacity: 0.95;
}

.extra-text {
  font-size: 13px;
  margin-top: 5px;
  opacity: 0.85;
}














body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background-color: #fff;
}

.footer {
  background-color: #1b1b1d;
  color: #fff;
  padding: 60px 40px 30px;
}

.footer-container {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.footer-about h2 {
  font-size: 22px;
  margin-bottom: 10px;
}

.footer-about p {
  font-size: 14px;
  color: #bbb;
  max-width: 500px;
  line-height: 1.6;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
}

.footer-col h4 {
  font-size: 16px;
  margin-bottom: 12px;
  color: #fff;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col li {
  margin-bottom: 8px;
  font-size: 14px;
  color: #ccc;
}

.footer-col a {
  color: #ccc;
  text-decoration: none;
}

.footer-col a:hover {
  color: #fff;
  text-decoration: underline;
}

.divider {
  border: none;
  border-top: 1px solid #333;
  margin: 30px 0;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.footer-bottom p {
  font-size: 14px;
  color: #aaa;
  margin: 0;
}

.footer-links a {
  margin: 0 12px;
  font-size: 14px;
  color: #aaa;
  text-decoration: none;
}

.footer-links a:hover {
  color: #fff;
}

.social-icons a {
  margin-left: 12px;
  color: #ccc;
  font-size: 14px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.social-icons a img {
  width: 16px;
  height: 16px;
  filter: brightness(0) invert(1);
  opacity: 0.75;
}

.social-icons a:hover {
  color: #fff;
}

@media screen and (max-width: 768px) {
  .footer-grid {
    flex-direction: column;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .social-icons a {
    margin-left: 0;
    margin-right: 15px;
  }
}




















/* ===========================
   General Styles
=========================== */

body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #f8f8fc;
  margin: 0;
  padding: 0;
}

/* ===========================
   Registration Page Layout
=========================== */

.registration-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 60px 20px;
  min-height: 100vh;
}

.registration-box {
  background-color: #ffffff;
  padding: 40px 30px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  max-width: 480px;
  width: 100%;
}

.registration-box h2 {
  margin-top: 0;
  font-size: 24px;
  color: #0047ab;
}

.registration-box p {
  font-size: 14px;
  color: #444;
  margin-bottom: 24px;
}

/* ===========================
   Form Styling
=========================== */

form input,
form select {
  width: 100%;
  padding: 12px;
  margin: 8px 0;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 14px;
  box-sizing: border-box;
}

form .checkbox {
  display: flex;
  align-items: center;
  font-size: 13px;
  margin: 10px 0;
}

form .checkbox input {
  margin-right: 8px;
}

.submit-btn {
  width: 100%;
  padding: 14px;
  background-color: #4C4CFF;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  margin-top: 16px;
}

.submit-btn:hover {
  background-color: #3636d6;
}
.logo-header {
  display: flex;
  align-items: center;
  gap: 20px;       /* More space between logo and text */
  margin-bottom: 12px;
}


.form-logo {
  width: 160px;   /* Increased further */
  height: auto;
  object-fit: contain;
}


.subheading {
  font-weight: 600;
  font-size: 14px;
  color: #333;
  margin-bottom: 24px;
}

.logo-centered {
  display: flex;
  justify-content: center;
  margin-bottom: 12px;
}

.form-logo {
  width: 240px;     /* Increased size */
  height: auto;
  object-fit: contain;
  margin-bottom: 12px;
}


.form-heading {
  text-align: center;
  color: #0047ab;
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 24px;
}

.checkbox-wrapper {
  display: flex;
  justify-content: center;
  margin: 20px 0 24px;
  font-size: 14px;
  color: #333;
  text-align: center;
}

.checkbox-wrapper label {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 90%;
  flex-wrap: wrap;
  cursor: pointer;
}

.checkbox-wrapper input[type="checkbox"] {
  transform: scale(1.2);
  margin: 0;
  cursor: pointer;
}
















:root{
  --og-bg:#181a1b;
  --og-text:#e8e8e8;
  --og-muted:#b7b7b7;
  --og-line:#2a2d2f;
  --og-link:#f0f0f0;
  --og-link-hover:#ffffff;
}

.og-footer{
  background:var(--og-bg);
  color:var(--og-text);
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Inter,Arial,sans-serif;
}

.og-wrap{
  max-width:1200px;
  margin:0 auto;
  padding:56px 20px 28px;
  display:grid;
  grid-template-columns: 1.2fr repeat(4, 1fr);
  gap:32px;
}

.og-col{min-width:180px}
.og-brand{padding-right:12px}

/* Logo */
.og-logo{height:36px; width:auto; margin-bottom:14px}
.og-logo-text{
  font-size:24px;
  font-weight:700;
  letter-spacing:.2px;
  margin-bottom:10px;
}

.og-tagline{
  color:var(--og-muted);
  line-height:1.6;
  margin:0;
}

.og-heading{
  font-size:14px;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:#cccccc;
  margin:6px 0 16px;
}

.og-list{list-style:none; padding:0; margin:0}
.og-list li{margin:10px 0}
.og-list a{
  color:var(--og-link);
  text-decoration:none;
  font-size:15px;
  opacity:.9;
}
.og-list a:hover{opacity:1; color:var(--og-link-hover)}

.og-social{
  margin-top:18px;
  display:flex; gap:12px;
}
.og-social a{
  width:36px;height:36px;
  display:inline-flex; align-items:center; justify-content:center;
  border:1px solid var(--og-line);
  border-radius:50%;
  color:#fff; text-decoration:none;
}
.og-social a:hover{border-color:#555}

.og-bottom{
  border-top:1px solid var(--og-line);
  margin-top:18px;
}
.og-bottom-wrap{
  max-width:1200px;
  margin:0 auto;
  padding:16px 20px 24px;
  display:flex; align-items:center; justify-content:space-between; gap:16px;
}
.og-copy{
  margin:0; color:var(--og-muted); font-size:14px;
}
.og-legal{display:flex; gap:18px}
.og-legal a{
  color:var(--og-muted); text-decoration:none; font-size:14px;
}
.og-legal a:hover{color:#ffffff}

/* Responsive */
@media (max-width: 1024px){
  .og-wrap{grid-template-columns: 1fr 1fr 1fr; gap:24px}
  .og-brand{grid-column: 1 / -1}
}
@media (max-width: 640px){
  .og-wrap{grid-template-columns: 1fr 1fr}
  .og-bottom-wrap{flex-direction:column; align-items:flex-start}
}
@media (max-width: 420px){
  .og-wrap{grid-template-columns: 1fr}
}


/* put this after your existing card styles */
.social-card.instagram,
.social-card.instagram:link,
.social-card.instagram:visited,
.social-card.instagram:hover,
.social-card.instagram:active{
  color:#fff;
  text-decoration:none;
}

/* ensure inner <p> inherit white */
.social-card.instagram *{ color:inherit; }














/* ==== Footer height overrides (put at the very end of og-footer.css) ==== */
.og-footer{
  min-height: 460px;        /* adjust as needed */
  display: flex;
  flex-direction: column;
}

.og-wrap{
  padding: clamp(90px, 10vw, 140px) 24px clamp(60px, 6vw, 96px);
}

.og-bottom{
  margin-top: auto;         /* keeps the copyright bar at the bottom */
  border-top: 1px solid var(--og-line);
}

/* Mobile tweak */
@media (max-width: 640px){
  .og-footer{ min-height: 0; }
  .og-wrap{ padding: 56px 20px 36px; }
}











/* --- FIX: footer brand logo overflow & alignment --- */
.og-footer .og-brand{
  overflow: hidden;                 /* prevents crossing into next columns */
}

.og-footer .og-brand .og-logo{
  display: block;
  height: clamp(40px, 6vw, 56px);   /* responsive height, max ~56px */
  max-width: min(100%, 360px);      /* never wider than its column */
  width: auto;
  margin-bottom: 12px;
  object-fit: contain;
  filter: brightness(0) invert(1) contrast(110%);  /* keep it white */
}

/* Give the brand column more space on desktop so the wordmark fits */
@media (min-width: 1025px){
  .og-wrap{
    grid-template-columns: 1.6fr repeat(4, 1fr);   /* was 1.2fr … */
  }
}

/* Optional: slightly tighter text width under the logo for better wrap */
.og-footer .og-tagline{ max-width: 42ch; }




/* === Footer brand: restore text next to the icon (CSS-only) === */
.og-footer .og-brand{
  display: grid;
  grid-template-columns: auto 1fr;
  grid-auto-rows: auto;
  column-gap: 14px;
  align-items: center;
  overflow: visible;                 /* ensure the text isn't clipped */
}

/* Icon sizing */
.og-footer .og-brand .og-logo{
  grid-column: 1;
  grid-row: 1;
  height: clamp(40px, 6vw, 56px);
  width: auto;
  display: block;
  filter: none;                      /* keep the hat black */
}

/* Inject the wordmark text */
.og-footer .og-brand::after{
  content: "Olympiad Gurukul";
  grid-column: 2;
  grid-row: 1;
  color: #fff;
  font-weight: 800;
  font-size: clamp(20px, 2.2vw, 32px);
  line-height: 1.05;
  letter-spacing: .2px;
  white-space: nowrap;
}

/* Place the tagline under both items */
.og-footer .og-brand .og-tagline{
  grid-column: 1 / -1;
  grid-row: 2;
  margin-top: 10px;
  max-width: 48ch;
}
/* --- Footer brand: ensure icon shows next to the text --- */
.og-footer .og-brand{
  display: grid;
  grid-template-columns: 56px 1fr;   /* reserve space for the icon */
  column-gap: 14px;
  align-items: center;
}

/* SVG or IMG with class .og-logo */
.og-footer .og-brand .og-logo{
  width: 56px;                       /* explicit size so it can't collapse */
  height: 56px;
  display: block;
  filter: none !important;           /* cancel any earlier invert/brightness */
}

/* keep it tidy on small screens */
@media (max-width: 640px){
  .og-footer .og-brand{
    grid-template-columns: 44px 1fr;
  }
  .og-footer .og-brand .og-logo{
    width: 44px; height: 44px;
  }
}
/* ==== Footer brand alignment fix ==== */

/* Give the brand its own predictable column width */
@media (min-width: 1025px){
  .og-footer .og-wrap{
    /* brand column between 360–520px, then the 4 equal columns */
    grid-template-columns: minmax(360px, 520px) repeat(4, 1fr);
  }
}

/* Layout the logo + wordmark + tagline neatly */
.og-footer .og-brand{
  display: grid;
  grid-template-columns: 56px 1fr;   /* icon, then text */
  grid-template-rows: auto auto;     /* wordmark, then tagline */
  align-items: start;
  column-gap: 14px;
}

/* Make sure the SVG/IMG logo is visible and sized */
.og-footer .og-brand .og-logo{
  width: 56px;
  height: 56px;
  display: block;
  filter: none !important;           /* keep the cap black */
}

/* Wordmark injected via ::after (so you don't touch HTML) */
.og-footer .og-brand::after{
  content: "Olympiad Gurukul";
  grid-column: 2;
  grid-row: 1;
  color: #fff;
  font-weight: 800;
  font-size: clamp(24px, 2.2vw, 36px);  /* slightly restrained to avoid overlap */
  line-height: 1.1;
  letter-spacing: .2px;
  white-space: nowrap;                 /* keep on one line inside brand column */
}

/* Tagline spans under both icon+text */
.og-footer .og-brand .og-tagline{
  grid-column: 1 / -1;
  grid-row: 2;
  margin-top: 12px;
  max-width: 48ch;
}

/* Responsive: stack brand full-width on tablets/phones */
@media (max-width: 1024px){
  .og-footer .og-wrap{ grid-template-columns: 1fr 1fr 1fr; }
  .og-footer .og-brand{ grid-column: 1 / -1; }
}
@media (max-width: 640px){
  .og-footer .og-brand{
    grid-template-columns: 44px 1fr;
  }
  .og-footer .og-brand .og-logo{ width:44px; height:44px; }
}
/* Add extra space after the brand column (before 'Exams') on desktop */
@media (min-width: 1025px){
  .og-footer .og-brand{
    margin-right: clamp(24px, 4vw, 64px);  /* adjust to taste */
  }
}

/* Reduce the gap between the wordmark and the tagline */
.og-footer .og-brand{
  row-gap: 6px;                 /* tighter vertical spacing inside brand */
}
.og-footer .og-brand .og-tagline{
  margin-top: 0;                /* override any earlier margin-top (e.g., 10–12px) */
}

/* Optional: keep mobile compact */
@media (max-width: 640px){
  .og-footer .og-brand{ margin-right: 0; row-gap: 4px; }
}






/* === Footer spacing fix === */
/* 1) Desktop: insert a spacer track between Brand and 'Exams' */
@media (min-width: 1025px){
  .og-footer .og-wrap{
    /* Brand | SPACER | Exams | Top Schools | Courses | About */
    grid-template-columns: minmax(360px, 520px) minmax(48px, 6vw) repeat(4, 1fr) !important;
    column-gap: 28px;     /* keeps normal gaps between the remaining columns */
    gap: 28px;
  }
  /* Ensure items land in the right tracks */
  .og-footer .og-wrap > .og-brand{ grid-column: 1 !important; }
  /* This is your first non-brand column: 'Exams' */
  .og-footer .og-wrap > .og-col:nth-of-type(2){ grid-column: 3 !important; }
  /* The rest will auto-flow to 4,5,6 as usual */
}

/* 2) Tighten space between wordmark and tagline in the Brand block */
.og-footer .og-brand{ row-gap: 4px !important; }
.og-footer .og-brand .og-tagline{ margin-top: 0 !important; }

/* Keep the icon size stable */
.og-footer .og-brand .og-logo{
  width: 56px; height: 56px; display:block; filter:none !important;
}
@media (max-width: 640px){
  .og-footer .og-brand .og-logo{ width:44px; height:44px; }
}




.btn.primary.register-btn{
  width:100%;
  display:flex;
  justify-content:center;
  align-items:center;
  text-align:center;
}


.btn.primary.register-btn{width:100%;display:flex;justify-content:center;align-items:center;text-align:center;}















































/* =========================================================
   RESPONSIVE OVERRIDES — append at the end of style.css
   (No class renames, no HTML changes)


/* =========================================================
   RESPONSIVE OVERRIDES — append at the end of style.css
   (No class renames, no HTML changes)
   ========================================================= */

/* Safe utilities */
img, svg { max-width: 100%; height: auto; }

/* Tighter container paddings on small screens */
@media (max-width: 1280px){
  .navbar, .hero, .guidance-section, .why-section { padding-left: 32px; padding-right: 32px; }
}
@media (max-width: 1024px){
  .navbar, .hero, .guidance-section, .why-section { padding-left: 28px; padding-right: 28px; }
}
@media (max-width: 768px){
  .navbar, .hero, .guidance-section, .why-section { padding-left: 20px; padding-right: 20px; }
}

/* ------------------------------
   NAVBAR: wrap neatly on mobile
------------------------------ */
@media (max-width: 768px){
  .navbar { padding: 14px 20px; }
  .navbar-container{
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .logo-text{ justify-content: space-between; }
  .nav-links{
    flex-wrap: wrap;
    gap: 10px;
  }
  .nav-links a{
    font-size: 14px;
  }
  .nav-links .call-button{
    padding: 10px 14px;
    flex: 1 1 auto;             /* let buttons share the row */
    text-align: center;
  }
}
@media (max-width: 420px){
  .nav-links { gap: 8px; }
  .nav-links .call-button{
    padding: 9px 12px;
    font-size: 13px;
  }
}

/* ------------------------------
   HERO: fluid type & clean stack
------------------------------ */
.text-section h1{
  /* fluid without changing your base feel */
  font-size: clamp(26px, 4.2vw, 36px);
  line-height: 1.25;
}
.text-section p{
  font-size: clamp(14px, 2.2vw, 16px);
}

@media (max-width: 1024px){
  .hero{ padding-top: 64px; padding-bottom: 64px; }
  .hero-content{ gap: 40px; }
}

@media (max-width: 768px){
  .hero{ padding: 48px 20px; }
  .hero-content{
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
  .text-section{ max-width: 100%; }
  .image-section{ width: 100%; text-align: center; }
  .image-section img{ max-width: 420px; margin-inline: auto; }
  .buttons{ width: 100%; }
  .buttons .btn{ flex: 1 1 auto; text-align:center; }
}

@media (max-width: 420px){
  .badge{ font-size: 12px; padding: 5px 12px; }
  .buttons{ gap: 10px; }
  .btn{ padding: 12px 16px; font-size: 14px; }
}

/* ----------------------------------
   GUIDANCE + REGISTRATION responsive
---------------------------------- */
@media (max-width: 1024px){
  .guidance-container{ gap: 40px; }
}

@media (max-width: 820px){
  .guidance-container{
    flex-direction: column;     /* stack text + form */
    align-items: stretch;
  }
  .guidance-left,
  .guidance-form-card{
    max-width: 100%;
  }
  .guidance-form-card{
    margin-top: 4px;
    max-width: 520px;           /* keeps a nice readable width */
    width: 100%;
  }
}

@media (max-width: 480px){
  .guidance-title{ font-size: 28px; }
  .guidance-subheading{ font-size: 16px; }
  .guidance-desc{ font-size: 15px; }
  .guidance-form-card{ padding: 22px; }
  .guidance-form-card input,
  .guidance-form-card select{ font-size: 14px; padding: 11px 14px; }
}

/* Ensure the register button fills width cleanly (you already set this, reinforcing) */
.btn.primary.register-btn{
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

/* ------------------------------
   WHY SECTION: stack then 2-col
------------------------------ */
@media (max-width: 1024px){
  .why-container{ gap: 40px; }
}
@media (max-width: 860px){
  .why-container{
    flex-direction: column;
    align-items: stretch;
  }
  .why-content, .why-cards{
    max-width: 100%;
  }
  .why-cards{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
}
@media (max-width: 520px){
  .why-cards{ grid-template-columns: 1fr; }
  .why-content h2{ font-size: 30px; }
  .why-content .subtitle{ font-size: 18px; }
}

/* -----------------------------------
   STAY IN TOUCH: fluid card behavior
----------------------------------- */
@media (max-width: 1024px){
  .stay-in-touch{ padding: 64px 8%; gap: 28px; }
}

@media (max-width: 820px){
  .stay-in-touch{
    flex-direction: column;
    align-items: stretch;
    padding: 48px 20px;
  }
  .left-content{ min-width: 0; }
  .right-content{ flex: 1 1 auto; width: 100%; }
  .instagram-card{
    width: 100%;
    height: auto;               /* let content define height on mobile */
    min-height: 220px;
  }
}

@media (max-width: 420px){
  .left-content h2{ font-size: 28px; }
  .left-content p{ font-size: 15px; }
  .badge-top span{ font-size: 11px; }
}

/* -----------------------------------
   REGISTRATION BOX (standalone page)
----------------------------------- */
@media (max-width: 768px){
  .registration-container{ padding: 32px 16px; }
  .registration-box{ padding: 28px 22px; }
  .form-heading{ font-size: 22px; }
  .form-logo{ width: 200px; }
}

/* -----------------------------------
   FOOTER (generic .footer variant)
----------------------------------- */
@media (max-width: 900px){
  .footer{ padding: 56px 24px 28px; }
  .footer-grid{
    gap: 24px;
  }
}
@media (max-width: 640px){
  .footer-container{ gap: 28px; }
  .footer-grid{
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-bottom{
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

/* Your .og-footer already has responsive rules.
   This just ensures no overflow from long links on tiny screens. */
@media (max-width: 420px){
  .og-list a{ word-wrap: anywhere; }
}

/* -----------------------------------
   MICRO FIXES for tiny screens
----------------------------------- */
@media (max-width: 360px){
  .brand-title strong{ font-size: 16px; }
  .brand-title span{ font-size: 12px; }
  .text-section h1{ font-size: clamp(22px, 6vw, 28px); }
  .btn{ padding: 11px 14px; font-size: 13.5px; }
}











/* ---- FINAL PATCH: stop horizontal scroll ---- */
html { box-sizing: border-box; }
*,*::before,*::after { box-sizing: inherit; }

:where(section, header, footer,
       .navbar, .hero, .guidance-section, .why-section, .stay-in-touch,
       .footer, .og-footer,
       .navbar-container, .hero-content, .guidance-container, .why-container,
       .footer-container, .og-wrap, [class*="container"]) {
  width: auto !important;         /* avoid 100% + padding overflow */
  max-width: 100% !important;
}

html, body { max-width: 100%; overflow-x: hidden !important; }
@supports (overflow-x: clip) { html, body { overflow-x: clip !important; } }

@media (pointer: coarse) {
  html, body { touch-action: pan-y; overscroll-behavior-x: none; }
}




.btn-email {
  background-color: #4b3ff2;  /* same purple as other buttons */
  color: #fff;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  margin-left: 10px;
  display: inline-block;
}

.btn-email:hover {
  background-color: #372ac8; /* darker shade on hover */
}

