/* --- Floating WhatsApp and Call Back Buttons (Mobile Only) --- */
.wa-block-btn,
.call-block-btn {
  position: fixed;
  bottom: 24px;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: none;
  background: none;
  text-decoration: none;
  font-family: inherit;
}

.wa-block-btn {
  left: 16px;
}

.call-block-btn {
  right: 16px;
}

.wa-block-label,
.call-block-label {
  display: flex;
  align-items: center;
  gap: 0.5em;
  background: #25d366;
  color: #fff;
  font-weight: 700;
  font-size: 0.7em;
  border-radius: 2em;
  padding: 0.7em 1.5em;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.13);
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
}

.call-block-label {
  background: #df2d2d;
}

.wa-block-btn:active .wa-block-label,
.wa-block-btn:focus .wa-block-label,
.wa-block-btn:hover .wa-block-label {
  background: #128c7e;
  color: #fff;
}

.call-block-btn:active .call-block-label,
.call-block-btn:focus .call-block-label,
.call-block-btn:hover .call-block-label {
  background: #a30000;
  color: #fff;
}

@media (max-width: 700px) {

  .wa-block-btn,
  .call-block-btn {
    display: flex;
  }
}

:root {
  --primary: #df2d2d;
  --accent: #10100f;
  --bg: #f5f6fa;
  --text: #222;
  --radius: 12px;
  --btn-bg: #f77e7e;
  --btn-hover: #000000;
  --btn-text: #080808;
}

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

body {
  font-family: "Segoe UI", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
}

/* --- Navbar Layout --- */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7em 1.2em;
  background: #fff;
  gap: 1em;
  border-radius: 0 0 1.2em 1.2em;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  z-index: 1001;
  position: sticky;
  top: 0;
}

.logo.left {
  height: 48px;
  width: auto;
  flex-shrink: 0;
}

.navbar-title {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  text-align: center;
}

.main-title {
  font-size: 2.1rem;
  font-weight: bold;
  color: #222;
  white-space: nowrap;
}

.main-title .red {
  color: #c11010;
}

.subtitle {
  font-size: 1.9rem;
  color: #222;
  font-weight: 400;
  white-space: nowrap;
  margin-top: 0.1em;
}

.navbar-call-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #df2d2d;
  color: #fff;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  min-width: 48px;
  min-height: 48px;
  font-size: 1.6rem;
  text-decoration: none;
  border: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.13);
  transition: background 0.18s, color 0.18s, transform 0.15s;
  cursor: pointer;
  padding: 0;
}

.navbar-call-btn:active,
.navbar-call-btn:focus,
.navbar-call-btn:hover {
  background: #a30000;
  color: #fff;
  transform: scale(1.08);
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .main-title {
    font-size: 1.4rem;
  }

  .subtitle {
    font-size: 0.95rem;
  }

  .logo.left {
    height: 38px;
  }

  .navbar-call-btn {
    width: 38px;
    height: 38px;
    min-width: 38px;
    min-height: 38px;
    font-size: 1.2rem;
  }
}

@media (max-width: 600px) {
  .navbar {
    flex-wrap: wrap;
    padding: 0.5em 0.5em;
    gap: 0.5em;
  }

  .navbar-title {
    align-items: center;
  }

  .main-title {
    font-size: 1.1rem;
  }

  .subtitle {
    font-size: 1.4rem;
  }

  .logo.left {
    height: 30px;
  }

  .navbar-call-btn {
    width: 30px;
    height: 30px;
    min-width: 30px;
    min-height: 30px;
    font-size: 1rem;
  }
}

/* Hero */
.hero {
  background: none;
  /* Optional: ensures no background */
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  width: 1100px;
  max-width: 100vw;
  display: flex;
  flex-direction: column;
  /* Stack banners/content vertically */
  align-items: center;
  justify-content: flex-start;
  position: relative;
  color: #fff;
  margin: 0 auto 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
  padding: 0;
}

.hero::after {
  /* Remove the dark overlay to prevent image fading */
  content: none;
}

.hero h1 {
  position: relative;
  z-index: 2;
  font-size: 3rem;
  font-weight: 800;
  text-align: center;
  letter-spacing: 2px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

@media (max-width: 1200px) {
  .hero {
    width: 98vw;
    min-width: 0;
  }
  .subtitle {
    font-size: 1.4rem;
  }
}

@media (max-width: 600px) {
  .hero {
    height: 180px;
    width: 100vw;
    border-radius: 0;
    margin: 1rem 0 0 0;
  }

  .hero h1 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }
}

/* Desktop banner: wide aspect ratio */
.banner-desktop {
  display: block;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  aspect-ratio: 16 / 5;
  border-radius: 1.2rem;
  overflow: hidden;
}

.banner-desktop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 1.2rem;
}

/* Mobile banner: square aspect ratio */
.banner-mobile {
  display: none;
}

@media (max-width: 700px) {
  .banner-desktop {
    display: none;
  }

  .banner-mobile {
    display: flex;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    margin: 0 auto;
    border-radius: 1.2rem;
    overflow: hidden;
    background: #fff;
  }

  .hero {
    width: 100%;
    margin: 0 auto 0 auto;
    padding: 0;
    height: auto;
  }
}

/* Split Section */
.split-section {
  display: flex;
  gap: 2rem;
  padding: 3rem 2rem;
  background: #fff;
  border-radius: var(--radius);
  margin: 2rem auto;
  max-width: 1100px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.split-left,
.split-right {
  flex: 1;
}

.split-left h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: black;
  
}

.split-left ul {
  list-style: none;
  padding-left: 0;
}

.split-left li {
  margin-bottom: 0.8rem;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
}

.split-left li i {
  color: var(--accent);
  margin-right: 0.7em;
  font-size: 1.2em;
}

.split-right form {
  background: linear-gradient(135deg, #ffeeeee3 0%, #ffffff 100%);
  padding: 0.8rem 1.5rem;
  border-radius: 1.2rem;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
  max-width: 400px;
  margin: 0 auto;
  border: #d7d5d5 1px solid;
}

.form-title {
  font-size: 1.5rem;
  color: black;
  margin-bottom: 1.2rem;
  text-align: center;
  font-weight: 600;
}

.form-group {
  margin-bottom: 1.3rem;
}

.form-group label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.3rem;
  color: #222;
}

.form-group input[type="text"],
.form-group input[type="tel"],
.form-group input[type="email"] {
  width: 100%;
  font-size: 1em;
  margin-top: 0.2em;
  background: transparent;
  border: none;
  border-bottom: 1px solid #000000;
}

/* Remove border change on focus for form inputs */
.form-group input[type="text"]:focus,
.form-group input[type="tel"]:focus,
.form-group input[type="email"]:focus {
  outline: none;
  border-bottom: 1px solid #000 !important;
  box-shadow: none;
}

.radio-group {
  display: flex;
  gap: 1.5rem;
  margin-top: 0.3em;
}

.radio-group label {
  display: flex;
  align-items: center;
  font-weight: 400;
  gap: 0.4em;
  margin-bottom: 0;
}

/* Styles for the original pillars-section (exist elsewhere) */
.pillars-section {
  background: #fff;
  max-width: 1100px;
  margin: 2rem auto;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.pillars-title {
  text-align: center;
  font-size: 1.6rem;
  margin-bottom: 1.2rem;
  color: var(--accent);
}

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

.pillar-card {
  background: linear-gradient(180deg, #fff 0%, #fbfbfb 100%);
  padding: 1rem;
  border-radius: 10px;
  border: 1px solid #eee;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.pillar-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.pillar-card p {
  color: #333;
  line-height: 1.25;
}

/* New alternate pillars styles (for duplicated section) */
.pillars-section-alt {
  background: linear-gradient(180deg, #fff 0%, #fffaf8 100%);
  max-width: 1100px;
  margin: 2rem auto;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(209, 45, 45, 0.06);
}

.pillars-title-alt {
  text-align: center;
  font-size: 1.6rem;
  margin-bottom: 1.2rem;
  color: var(--primary);
}

.pillars-grid-alt {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.pillar-card-alt {
  background: #fff;
  padding: 1rem;
  border-radius: 10px;
  border-left: 4px solid var(--primary);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.pillar-card-alt h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.pillar-card-alt p {
  color: #333;
  line-height: 1.25;
}

/* Responsive adjustments for both pillars variations */
@media (max-width: 1000px) {

  .pillars-grid,
  .pillars-grid-alt {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 700px) {

  .pillars-grid,
  .pillars-grid-alt {
    grid-template-columns: 1fr;
  }

  .pillars-section,
  .pillars-section-alt {
    padding: 1rem;
    margin: 1rem;
  }
}

/* Schedule table styles */
.schedule-section {
  max-width: 1100px;
  margin: 2rem auto;
  background: #fff;
  padding: 1.2rem;
  border-radius: 12px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
}

.schedule-title {
  text-align: center;
  font-size: 1.4rem;
  color: var(--accent);
  margin-bottom: 0.8rem;
}

.schedule-wrapper {
  overflow-x: auto;
}

.schedule-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 700px;
}

.schedule-table th,
.schedule-table td {
  border: 1px solid #e8e8e8;
  padding: 0.8rem 1rem;
  text-align: left;
  vertical-align: top;
}

.schedule-table thead th {
  background: linear-gradient(90deg, #f8f8f8, #fff);
  color: var(--primary);
  font-weight: 700;
}

.schedule-table tbody tr:nth-child(even) td {
  background: #fbfbfb;
}

@media (max-width: 900px) {
  .schedule-table {
    min-width: 0;
  }

  .schedule-table th,
  .schedule-table td {
    padding: 0.6rem 0.7rem;
    font-size: 0.95rem;
  }
}

button[type="submit"] {
  width: 100%;
  padding: 0.9em 0;
  background: #bb0303;
  color: #fff;
  border: none;
  border-radius: 0.5em;
  font-size: 1.1em;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

button[type="submit"]:hover {
  background: #000000;
}

@media (max-width: 900px) {
  .split-section {
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem;
    margin: 0;
  }

  .split-left {
    order: 2;
    max-width: 100%;
    align-self: center;
  }

  .split-right {
    order: 1;
    max-width: 100%;
    padding: auto;
    margin: auto;
  }
}

/* Mobile: reorder split-section content */
@media (max-width: 700px) {
  .split-section {
    display: flex;
    flex-direction: column;
  }

  .split-left,
  .split-right {
    width: 100%;
    max-width: 100%;
    display: contents;
    /* allow direct children to be flex items */
  }

  /* .split-h2-top {
    order: 1;
  } */

  .split-right {
    order: 2;
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .form-title {
    order: 2;
  }

  #infoForm {
    order: 3;
  }

  .split-h2-bottom {
    /* order: 4; */
    margin-top: 0.2em;
  }
}

/* What Makes Us Different */
.different-section {
  background: #fff;
  margin: 2rem auto;
  border-radius: var(--radius);
  max-width: 1100px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  padding: 2.5rem 2rem;
  width: -webkit-fill-available;
}

.different-section h2 {
  text-align: center;
  color: var(--primary);
  margin-bottom: 2rem;
  font-size: 2rem;
}

/* --- What Makes Us Different: Icon Cards --- */
.different-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  justify-content: center;
  margin: 2rem 0 1.5rem 0;
}

.different-icon {
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 2px 12px rgba(45, 108, 223, 0.08);
  padding: 1.3rem 1.2rem 1.1rem 1.2rem;
  width: 220px;
  min-width: 180px;
  max-width: 100%;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  transition: box-shadow 0.18s, transform 0.18s;
  gap: 0.7rem;
}

.different-icon:hover {
  box-shadow: 0 6px 24px rgba(223, 45, 45, 0.13);
  transform: translateY(-4px) scale(1.03);
}

.different-icon i {
  font-size: 2.2rem;
  color: var(--primary);
  margin-bottom: 0.3rem;
}

.different-icon span {
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--accent);
}

.feature-desc {
  font-size: 0.98rem;
  color: #333;
  margin-top: 0.2rem;
  flex: 1;
  display: flex;
  align-items: center;
  text-align: center;
}

/* Responsive for icon cards */
@media (max-width: 900px) {
  .different-icons {
    gap: 0.7rem;
  }

  .different-icon {
    width: 45vw;
    min-width: 150px;
    padding: 1rem 0.7rem;
    min-height: 120px;
  }
}

@media (max-width: 600px) {
  .different-icons {
    flex-direction: column;
    align-items: center;
    gap: 0.7rem;
  }

  .different-icon {
    width: 95vw;
    min-width: 0;
    padding: 1rem 0.7rem;
    min-height: 100px;
  }
}

/* --- Pillars Section: Card Grid --- */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem 2.5rem;
  max-width: 1100px;
  margin: 2rem auto 2.5rem auto;
  justify-items: center;
}

.pillar-card {
  background: #fff;
  border-radius: 1em;
  box-shadow: 0 2px 12px rgba(45, 108, 223, 0.1);
  padding: 1.2rem 1rem 1rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 320px;
  transition: box-shadow 0.18s, transform 0.18s;
  text-align: center;
}

.pillar-card:hover {
  box-shadow: 0 6px 24px rgba(223, 45, 45, 0.13);
  transform: translateY(-4px) scale(1.03);
}

@media (max-width: 900px) {
  .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem 1.2rem;
  }

  .pillar-card {
    max-width: 95vw;
    padding: 1rem 0.5rem;
  }
}

@media (max-width: 600px) {
  .pillars-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .pillar-card {
    max-width: 98vw;
    padding: 0.8rem 0.3rem;
  }
}

/* Star Achievers */
.achievers-section {
  background: #fff;
  margin: 2rem auto;
  border-radius: var(--radius);
  max-width: 1100px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  padding: 2.5rem 2rem;
  text-align: center;
}

.achievers-section h2 {
  color: var(--primary);
  margin-bottom: 1.5rem;
  font-size: 2rem;
}

.achievers-gallery {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  align-items: flex-end;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.achiever-img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 2, 0.6, 1);
  opacity: 0.7;
  border: 3px solid transparent;
  background: #fff;
  filter: grayscale(0.3) brightness(0.95);
}

.achiever-img.active,
.achiever-img:hover {
  width: 170px;
  height: 170px;
  opacity: 1;
  border: 3px solid var(--primary);
  z-index: 2;
  box-shadow: 0 8px 24px rgba(0, 108, 223, 0.12);
  filter: grayscale(0) brightness(1.05) drop-shadow(0 0 12px #f7b73155);
  transform: scale(1.08);
}

.achievers-btn {
  background: black;
  color: white;
  border: none;
  padding: 0.8em 2em;
  border-radius: 6px;
  font-size: 1.1em;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  text-decoration: none;
  margin-top: 1.5rem;
  box-shadow: 0 2px 8px rgba(45, 108, 223, 0.07);
  display: inline-block;
}

.achievers-btn:hover {
  background: var(--btn-bg);
  color: rgb(0, 0, 0);
  box-shadow: 0 4px 16px rgba(45, 108, 223, 0.13);
}

@media (max-width: 700px) {
  .achievers-gallery {
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
  }

  .achiever-img,
  .achiever-img.active {
    width: 48vw;
    max-width: 150px;
    height: 48vw;
    max-height: 150px;
  }

  .achievers-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
}

.achiever-desc {
  font-size: 1.1rem;
  margin-top: 0.5rem;
  color: #444;
  min-height: 2.2em;
  transition: color 0.3s;
}

/* Batch Details */
.batch-section {
  background: #fff;
  margin: 2rem auto;
  border-radius: var(--radius);
  max-width: 700px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  padding: 2rem 1.5rem;
  text-align: center;
}

.batch-section h2 {
  color: var(--primary);
  margin-bottom: 1rem;
  font-size: 1.7rem;
}

.batch-details {
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.batch-section .cta-btn {
  background: black;
  color: white;
  border: none;
  padding: 0.8em 2em;
  border-radius: 6px;
  font-size: 1.1em;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.batch-section .cta-btn:hover {
  background: var(--btn-bg);
  color: black;
}

/* Paragraph + Lottie (now Paragraph Only, stylized with 2-column cards) */
.lottie-section {
  background: #fff;
  margin: 2rem auto;
  border-radius: var(--radius);
  max-width: 900px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lottie-section p {
  text-align: center;
  font-size: 1.25rem;
  line-height: 1.7;
  margin-bottom: 1.2em;
}

.lottie-section p span {
  font-style: italic;
  color: var(--primary);
  font-size: 1.3em;
  display: block;
  margin-bottom: 0.7em;
}

.lottie-cards-row {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
  margin: 0 auto;
}

.lottie-card {
  background: linear-gradient(90deg, #fbeaea 0%, #ffffff 100%);
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(45, 108, 223, 0.07);
  padding: 1.1em 1.7em;
  font-size: 1.08rem;
  color: #222;
  font-weight: 600;
  min-width: 180px;
  text-align: center;
  margin-bottom: 0.7em;
  transition: transform 0.2s, box-shadow 0.2s;
  border: #c2c0c0 1px solid;
}

.lottie-card:hover {
  transform: translateY(-6px) scale(1.04);
  box-shadow: 0 8px 24px rgba(45, 108, 223, 0.13);
}

.lottie-cards-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem 1.2rem;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

@media (max-width: 700px) {
  .lottie-cards-2col {
    grid-template-columns: 1fr;
    max-width: 95vw;
  }
}

/* FAQ */
.faq-section {
  background: #fff;
  margin: 2rem auto 3rem auto;
  border-radius: var(--radius);
  max-width: 900px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  padding: 2.5rem 2rem;
}

.faq-section h2 {
  text-align: center;
  color: var(--primary);
  margin-bottom: 2rem;
  font-size: 2rem;
}

.faq-list {
  max-width: 700px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid #eee;
  padding: 1rem 0;
  cursor: pointer;
  transition: background 0.2s;
}

.faq-item:hover {
  background: #f7faff;
}

.faq-question {
  font-weight: 600;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s;
  font-size: 1rem;
  color: #444;
  margin-top: 0.5rem;
}

.faq-item.active .faq-answer {
  max-height: 200px;
}

.faq-item .fa-chevron-down {
  transition: transform 0.3s;
}

.faq-item.active .fa-chevron-down {
  transform: rotate(180deg);
}

/* Footer Animation */
.footer-anim {
  width: 100%;
  max-width: 320px;
  margin: 2rem auto 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* New Styles for About GS Foundation Section */
.about-gs-section {
  background: linear-gradient(90deg, #ffffff 0%, #f53c3c11 100%);
  margin: 2.5rem auto 2.5rem auto;
  border-radius: 18px;
  max-width: 1100px;
  box-shadow: 0 4px 24px rgba(45, 108, 223, 0.07);
  padding: 2.5rem 2rem 2rem 2rem;
  text-align: center;
}

.about-gs-title {
  color: var(--primary);
  margin-bottom: 1.5rem;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.about-gs-list {
  text-align: left;
  display: inline-block;
  margin: 0 auto 1.5rem auto;
  padding-left: 1.2rem;
  font-size: 1.08rem;
  color: #333;
  line-height: 1.7;
  list-style: none;
  /* Add this to remove default bullets */
}

.about-gs-list li {
  margin-bottom: 0.7rem;
  position: relative;
  padding-left: 1.2em;
}

.about-gs-list li::before {
  content: "\2022";
  color: var(--accent);
  font-weight: bold;
  display: inline-block;
  width: 1em;
  margin-left: -1em;
}

.about-gs-highlight {
  background: linear-gradient(90deg, #f7313122 0%, #ffffff 100%);
  color: #222;
  font-size: 1.5rem;
  font-weight: 700;
  border-radius: 10px;
  padding: 1.1em 1.5em;
  margin: 1.5rem auto 0 auto;
  display: inline-block;
  box-shadow: 0 2px 12px rgba(45, 108, 223, 0.09);
  letter-spacing: 0.2px;
}

@media (max-width: 700px) {
  .about-gs-section {
    padding: 1.2rem 0.5rem;
  }

  .about-gs-title {
    font-size: 1.2rem;
  }

  .about-gs-highlight {
    font-size: 1rem;
    padding: 0.8em 0.7em;
  }
}

/* Custom Styles for Batch Table */
.batch-table {
  width: 100%;
  border-collapse: collapse;
  /* Changed from separate to collapse for full lines */
  border: 2px solid #000000;
  /* Outer border */
  margin: 0 auto 1.5rem auto;
  background: #f7faff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(45, 108, 223, 0.07);
  border: 1px solid #000000;
  /* Outer border for the table */
}

.batch-table th,
.batch-table td {
  padding: 1em 0.7em;
  text-align: center;
  font-size: 1.08rem;
  border: 1px solid #030303;
  /* Add inner lines */
  background: #f7faff;
}

.batch-table th {
  background: rgb(235, 135, 135);
  color: #000000;
  font-weight: 500;
  font-size: 1rem;
  border-top: none;
  border: 1px solid #000000;
  /* Top border for header */
}

.batch-table tr:last-child td {
  border-bottom: 2px solid #000000;
}

.batch-table td {
  color: #222;
  background: #f5f2f2;
  border: 1px solid #000000;
  /* Inner lines */
}

/* Keep rounded corners for the table */
.batch-table tr:first-child th:first-child {
  border-top-left-radius: var(--radius);
}

.batch-table tr:first-child th:last-child {
  border-top-right-radius: var(--radius);
}

.batch-table tr:last-child td:first-child {
  border-bottom-left-radius: var(--radius);
}

.batch-table tr:last-child td:last-child {
  border-bottom-right-radius: var(--radius);
}

@media (max-width: 600px) {

  .batch-table th,
  .batch-table td {
    padding: 0.6em 0.2em;
    font-size: 0.95rem;
  }
}

/* Faculty Carousel Styles */
.gallery-title {
  text-align: center;
  color: var(--primary);
  margin-bottom: 1.5rem;
  font-size: 2rem;
}

.faculty-carousel {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  overflow: hidden;
  padding: 0 2.5rem;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 2, 0.6, 1);
  gap: 0.2rem;
  width: 100%;
  will-change: transform;
  touch-action: pan-y;
}

.gallery-item {
  min-width: 320px;
  max-width: 320px;
  height: 350px;
  position: relative;
  overflow: hidden;
  border-radius: 0.5rem;
  transition: all 0.5s ease;
  cursor: pointer;
  flex-shrink: 0;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  /* Ensures full image is visible, not cropped */
  background: #fff;
  transition: transform 0.5s ease;
  display: block;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  padding: 1.5rem;
  color: white;
  opacity: 0;
  transform: translateY(100%);
  transition: all 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
  transform: translateY(0);
}

.gallery-overlay h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.gallery-overlay p {
  font-size: 0.875rem;
  line-height: 1.4;
}

.carousel-btn {
  display: none !important;
}

.prev-btn {
  left: 0.5rem;
}

.next-btn {
  right: 0.5rem;
}

.carousel-btn:hover {
  background: var(--primary);
  color: #fff;
}

/* Tablet */
@media (max-width: 1100px) {

  .gallery-item,
  .gallery-item img {
    min-width: 220px;
    max-width: 220px;
    height: 240px;
  }

  .faculty-carousel {
    padding: 0 1rem;
  }
}

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

  .gallery-item,
  .gallery-item img {
    min-width: 90vw;
    max-width: 90vw;
    height: 150px;
  }

  .faculty-carousel {
    padding: 0 0.2rem;
  }

  .carousel-btn {
    font-size: 2rem;
    width: 2rem;
    height: 2rem;
  }
}

/* Add to your style.css */
#thankyou-popup {
  position: fixed;
  z-index: 9999;
  inset: 0;
  background: rgba(16, 16, 15, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.thankyou-modal {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 6px 32px rgba(45, 108, 223, 0.1),
    0 1.5px 6px rgba(0, 0, 0, 0.03);
  padding: 2.2rem 2.5rem 1.5rem 2.5rem;
  max-width: 340px;
  text-align: center;
  border: 2px solid var(--primary);
  animation: popin 0.3s cubic-bezier(0.4, 2, 0.6, 1);
}

@keyframes popin {
  0% {
    transform: scale(0.85);
    opacity: 0;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.thankyou-icon {
  font-size: 3rem;
  color: var(--primary);
  margin-bottom: 0.7rem;
}

.thankyou-modal h3 {
  color: var(--primary);
  margin-bottom: 0.5rem;
  font-size: 1.5rem;
  font-weight: 700;
}

.thankyou-modal p {
  color: #222;
  font-size: 1.08rem;
  margin-bottom: 1.2rem;
}

#close-thankyou {
  background: black;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 1.08em;
  font-weight: 700;
  padding: 0.7em 2.5em;
  cursor: pointer;
  transition: background 0.18s, box-shadow 0.18s, color 0.18s;
  box-shadow: 0 2px 12px rgba(45, 108, 223, 0.1);
}

#close-thankyou:hover {
  background: rgb(139, 6, 6);
}

.pillars-section {
  margin-top: 3.5rem;
  margin-bottom: 3.5rem;
}

/* Style for Get Started Now button to match Enroll button */
.cvam {
  background: black;
  color: #fff;
  align-self: center;
  border: none;
  border-radius: 0.5em;
  font-size: 0.8em;
  font-weight: 600;
  padding: 0.9em 2em;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  box-shadow: 0 2px 8px rgba(45, 108, 223, 0.07);
  display: inline-block;
}

.cvam:hover {
  background: var(--btn-bg);
  color: #000;
}

/* Center align and add padding to all section titles for responsiveness */
h1,
h2,
.pillars-title,
.gallery-title,
.about-gs-title,
.faq-section h2,
.achievers-section h2,
.batch-section h2 {
  text-align: center;
  padding-top: 1.2rem;
  padding-bottom: 1.2rem;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  margin-left: auto;
  margin-right: auto;
  word-break: break-word;
}

@media (max-width: 700px) {

  h1,
  h2,
  .pillars-title,
  .gallery-title,
  .about-gs-title,
  .faq-section h2,
  .achievers-section h2,
  .batch-section h2 {
    font-size: 1.15em;
    padding-top: 0.7rem;
    padding-bottom: 0.7rem;
    padding-left: 0.2rem;
    padding-right: 0.2rem;
  }

  .gallery-title {
    font-size: 1.5rem;
  }
}

/* --- Infographic Section: Clean, Responsive, Block-Style --- */
.infographic-section {
  display: flex;
  flex-wrap: nowrap;
  /* Prevent wrapping */
  gap: 1.2rem;
  justify-content: center;
  align-items: stretch;
  width: 100%;
  max-width: 1100px;
  /* Increase if you want more space for all cards */
  margin: 2rem auto 0 auto;
  padding-bottom: 1.2rem;
  overflow-x: auto;
  /* Allow horizontal scroll on small screens */
}

.infographic-card {
  flex: 1 1 220px;
  min-width: 180px;
  max-width: 260px;
  background: linear-gradient(90deg, var(--c0), var(--c1));
  border-radius: 1em;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.13);
  padding: 1.2em 0.5em;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  text-align: center;
  font-weight: 700;
  font-size: 1.15em;
  color: #222;
  letter-spacing: 1px;
  transition: box-shadow 0.18s, transform 0.18s;
}

.infographic-card h2 {
  font-size: 1.08em;
  font-weight: 700;
  text-transform: uppercase;
  color: #222;
  margin: 0;
  text-align: center;
}

.infographic-btn-row {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 2rem;
}

@media (max-width: 700px) {
  .infographic-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    width: 98vw;
    max-width: 98vw;
    padding-left: 0.7rem;
    padding-right: 0.7rem;
    margin: 0 auto 0 auto;
    height: 300px;
  }

  .infographic-card {
    min-width: 0;
    width: 50%;
    max-width: 100%;
    height: 50px;
    font-size: 0.7em;
    padding: 0.3em 0.3em;
  }
}

/* Fix radio button fill overflow */
input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  background-color: #fff;
  margin: 0;
  font: inherit;
  width: 1.1em;
  height: 1.1em;
  border: 2px solid #000000;
  border-radius: 50%;
  display: inline-grid;
  place-content: center;
  vertical-align: middle;
  transition: border-color 0.2s;
  outline: none;
}

input[type="radio"]:checked::before {
  content: "";
  display: block;
  width: 0.55em;
  height: 0.55em;
  border-radius: 50%;
  background: #020202;
  margin: auto;
}

input[type="radio"]:focus {
  border-color: #000;
  outline: none;
}

/* Hide banner section on mobile */
@media (max-width: 700px) {

  .hero,
  .banner-desktop,
  .banner-mobile {
    display: none !important;
  }
}

/* Remove hover effect for achievers on mobile */
@media (max-width: 700px) {

  .achiever-img,
  .achiever-img.active,
  .achiever-img:hover {
    transform: none !important;
    filter: grayscale(0.3) brightness(0.95) !important;
    opacity: 1 !important;
    border: 3px solid transparent !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
    z-index: 1 !important;
  }
}

/* Achievers Banner Styles */
.achievers-banner-wrapper {
  width: 100%;
  max-width: 900px;
  margin: 2rem auto 1.5rem auto;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
  /* default, overridden on mobile */
}

.achievers-banner-img {
  width: 100%;
  height: auto;
  max-width: 100%;
  max-height: 1100px;
  object-fit: contain;
  border-radius: 1em;
  box-shadow: 0 2px 12px rgba(45, 108, 223, 0.07);
  /* background: #f7faff; */
  display: block;
}

@media (max-width: 900px) {
  .achievers-banner-wrapper {
    max-width: 98vw;
    margin: 1.2rem auto 1rem auto;
  }

  .achievers-banner-img {
    max-height: 340px;
  }
}

@media (max-width: 600px) {
  .achievers-banner-img {
    max-height: 480px;
    border-radius: 0.7em;
  }
}

/* Faculty Pyramid Styles */
.faculty-pyramid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
  margin: 2rem 0 2.5rem 0;
}

.pyramid-row {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
}

.pyramid-row-1 .faculty-img {
  width: 170px;
  height: 170px;
}

.pyramid-row-2 .faculty-img {
  width: 140px;
  height: 140px;
}

.pyramid-row-3 .faculty-img {
  width: 110px;
  height: 110px;
}

.faculty-img {
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 2px 12px rgba(45, 108, 223, 0.1);
  background: #fff;
  border: 3px solid #fff;
  transition: transform 0.18s, box-shadow 0.18s;
  display: block;
}

.faculty-img:hover {
  transform: scale(1.06);
  box-shadow: 0 6px 24px rgba(223, 45, 45, 0.13);
}

@media (max-width: 900px) {
  .pyramid-row-1 .faculty-img {
    width: 120px;
    height: 120px;
  }

  .pyramid-row-2 .faculty-img {
    width: 95px;
    height: 95px;
  }

  .pyramid-row-3 .faculty-img {
    width: 75px;
    height: 75px;
  }

  .faculty-pyramid {
    gap: 0.7rem;
  }

  .pyramid-row {
    gap: 0.7rem;
  }
}

@media (max-width: 600px) {
  .pyramid-row-1 .faculty-img {
    width: 80px;
    height: 80px;
  }

  .pyramid-row-2 .faculty-img {
    width: 60px;
    height: 60px;
  }

  .pyramid-row-3 .faculty-img {
    width: 45px;
    height: 45px;
  }
}

/* Faculty Grid Styles */
.faculty-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem 2.5rem;
  max-width: 900px;
  margin: 2rem auto 2.5rem auto;
  justify-items: center;
}

.faculty-card {
  background: #fff;
  border-radius: 1em;
  box-shadow: 0 2px 12px rgba(45, 108, 223, 0.1);
  padding: 1.2rem 1rem 1rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 220px;
  transition: box-shadow 0.18s, transform 0.18s;
}

.faculty-card:hover {
  box-shadow: 0 6px 24px rgba(223, 45, 45, 0.13);
  transform: translateY(-4px) scale(1.03);
}

.faculty-img {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
  box-shadow: 0 2px 12px rgba(45, 108, 223, 0.1);
  background: #fff;
  border: 3px solid #fff;
  display: block;
}

.faculty-name {
  font-weight: 600;
  font-size: 1.08rem;
  color: #222;
  text-align: center;
}

@media (max-width: 900px) {
  .faculty-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem 1.2rem;
  }

  .faculty-card {
    max-width: 95vw;
    padding: 1rem 0.5rem;
  }

  .faculty-img {
    width: 150px;
    height: 150px;
  }
}

@media (max-width: 600px) {
  .faculty-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem 0.7rem;
    padding: 0;
    max-width: 100vw;
    justify-items: center;
    margin-left: 0;
    margin-right: 0;
  }

  .faculty-card {
    aspect-ratio: 1 / 1;
    max-width: 240px;
    min-width: 110px;
    width: 100%;
    padding: 0.7rem 0.2rem 0.7rem 0.2rem;
    border-radius: 0.9em;
    box-shadow: 0 1px 6px rgba(45, 108, 223, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
  }

  .faculty-img {
    width: 150px;
    height: 150px;
    margin-bottom: 0.7rem;
  }
}

/* For extra small screens, stack cards in one column */
@media (max-width: 400px) {
  .faculty-grid {
    grid-template-columns: 1fr;
    gap: 0.7rem;
    padding: 0 2vw;
  }

  .faculty-img {
    width: 150px;
    height: 150px;
  }
}

/* Add this CSS for responsive side spaces */
@media (max-width: 900px) {
  .pillars-section {
    padding-left: 5vw;
    padding-right: 5vw;
  }
}

/* WhatsApp Floating Icon */
.wa-block-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  background: #25d366;
  color: #fff;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
  font-size: 2.5rem;
  transition: box-shadow 0.2s, transform 0.2s;
  text-decoration: none;
}

.wa-block-btn:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
  transform: scale(1.08);
  color: #fff;
  background: #20ba5a;
}

/* Move achievers-section after hero on mobile */
@media (max-width: 700px) {
  body {
    display: flex;
    flex-direction: column;
  }

  .split-section {
    order: 0;
  }

  .achievers-section {
    order: 1;
  }

  .different-section,
  .infographic-section,
  .pillars-section,
  .gallery-section,
  .about-gs-section,
  .batch-section,
  .lottie-section,
  .faq-section {
    order: 3;
  }
}

/* Popup Form Styles */
/* Popup Form Styles (Theme Consistent) */
#popup-form-overlay {
  position: fixed;
  z-index: 10001;
  inset: 0;
  background: rgba(16, 16, 15, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
}

.popup-form-modal {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
  padding: 2.5rem 2.5rem 2rem 2.5rem;
  width: 50vw;
  max-width: 480px;
  min-width: 320px;
  margin: 0 auto;
  position: relative;
  font-family: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.popup-close-btn {
  position: absolute;
  top: 12px;
  right: 18px;
  background: none;
  border: none;
  font-size: 2rem;
  color: #888;
  cursor: pointer;
  line-height: 1;
  z-index: 2;
}

.popup-close-btn:hover {
  color: #df2d2d;
}

.popup-form-scroll {
  max-height: 340px;
  overflow-y: auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-right: 8px;
  margin-top: 1rem;
  padding-bottom: 70px;
}

.pop-up-form-group {
  margin-bottom: 1.1rem;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.pop-up-form-group label {
  font-weight: 500;
  margin-bottom: 0.3rem;
  color: #c00;
  font-size: 1rem;
}

.popup-input,
.pop-up-form-group select,
.pop-up-form-group input[type="text"] {
  padding: 0.5rem 0.7rem;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1rem;
  background: #fafafa;
  transition: border 0.2s;
  width: 100%;
  margin-top: 0.2em;
  box-sizing: border-box;
}

.pop-up-form-group input[type="text"]:focus,
.pop-up-form-group select:focus {
  border: 1.5px solid #fc9c9e;
  outline: none;
}

.pop-up-form-group select {
  appearance: none;
  background: #fafafa url('data:image/svg+xml;utf8,<svg fill="%23c00" height="20" viewBox="0 0 20 20" width="20" xmlns="http://www.w3.org/2000/svg"><path d="M7 7l3 3 3-3"/></svg>') no-repeat right 0.7em center/1em 1em;
  color: #222;
  font-size: 1rem;
  border: 1px solid #ddd;
  border-radius: 5px;
  padding-right: 2em;
}

.pop-up-form-group select option {
  color: #222;
  background: #fff;
  font-size: 1rem;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.popup-submit-btn {
  background: linear-gradient(90deg, #fc9c9e 0%, #f90505 100%);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 0.7rem 1.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  margin-bottom: 0.2rem;
  width: 100%;
  position: absolute;
  left: 0;
  bottom: 0;
}

.popup-submit-btn:hover {
  background: linear-gradient(90deg, #f90505 0%, #fc9c9e 100%);
}

@media (max-width: 600px) {
  .popup-form-modal {
    padding: 1rem 0.5rem;
    min-width: 90vw;
  }
}

#popup-form-overlay {
  position: fixed;
  z-index: 10001;
  inset: 0;
  background: rgba(16, 16, 15, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
}

.popup-form-modal {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
  padding: 2.5rem 2.5rem 2rem 2.5rem;
  width: 50vw;
  max-width: 480px;
  min-width: 320px;
  margin: 0 auto;
  position: relative;
  font-family: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.popup-form-scroll {
  max-height: 60vh;
  overflow-y: auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-right: 8px;
  margin-top: 1rem;
}

.pop-up-form-group {
  margin-bottom: 1.2rem;
  display: flex;
  flex-direction: column;
}

.popup-form-close {
  position: absolute;
  top: 12px;
  right: 18px;
  background: none;
  border: none;
  font-size: 2rem;
  color: #888;
  cursor: pointer;
}

.popup-form-close:hover {
  color: #df2d2d;
}

#popupForm .form-group {
  margin-bottom: 1.3rem;
  text-align: left;
}

#popupForm label {
  font-weight: 500;
  margin-bottom: 0.3rem;
  color: #222;
  display: block;
}

#popupForm textarea {
  width: 100%;
  font-size: 1em;
  margin-top: 0.2em;
  background: transparent;
  border: 1px solid #000000;
  border-radius: 0.5em;
  padding: 0.5em;
  resize: vertical;
}

#popupForm button[type="submit"] {
  width: 100%;
  padding: 0.9em 0;
  background: #bb0303;
  color: #fff;
  border: none;
  border-radius: 0.5em;
  font-size: 1.1em;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

#popupForm button[type="submit"]:hover {
  background: #000000;
}

/* Add this to your <style> section or style.css */
#status-popup {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(30, 30, 30, 0.25);
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s;
}

#status-popup-content {
  background: #fff;
  padding: 2rem 2.5rem;
  border-radius: 14px;
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.18);
  font-size: 1.2rem;
  min-width: 260px;
  text-align: center;
  position: relative;
  animation: popupScale 0.25s;
}

#status-popup-message {
  display: block;
  font-weight: 500;
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  padding: 0.5rem 0;
}

#status-popup-message.success {
  color: #1a7f37;
}

#status-popup-message.error {
  color: #c00;
}

#status-popup-content::before {
  content: "";
  display: block;
  margin: 0 auto 1rem auto;
  width: 48px;
  height: 48px;
  background-size: contain;
  background-repeat: no-repeat;
}

#status-popup-message.success~#status-popup-content::before,
#status-popup-content.success::before {
  background-image: url('data:image/svg+xml;utf8,<svg fill="none" stroke="green" stroke-width="3" viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg"><circle cx="24" cy="24" r="22" stroke="green" fill="white"/><path d="M14 25l7 7 13-13" stroke="green" stroke-width="3" fill="none" stroke-linecap="round" stroke-linejoin="round"/></svg>');
}

#status-popup-message.error~#status-popup-content::before,
#status-popup-content.error::before {
  background-image: url('data:image/svg+xml;utf8,<svg fill="none" stroke="red" stroke-width="3" viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg"><circle cx="24" cy="24" r="22" stroke="red" fill="white"/><path d="M16 16l16 16M32 16L16 32" stroke="red" stroke-width="3" stroke-linecap="round"/></svg>');
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes popupScale {
  from {
    transform: scale(0.85);
  }

  to {
    transform: scale(1);
  }
}

#status-popup-icon svg {
  display: block;
  margin: 0 auto 0.5rem auto;
  animation: popupScale 0.25s;
}

@keyframes popupScale {
  from {
    transform: scale(0.85);
  }

  to {
    transform: scale(1);
  }
}

.improve-warning {
  color: #d32f2f;
  border-radius: 8px;
  margin: 2rem auto 2rem auto;
  padding: 1.2rem 1rem;
  max-width: 700px;
  text-align: center;
  box-sizing: border-box;
}

.improve-warning h1 {
  font-size: 1.5rem;
  margin: 0;
  font-weight: 700;
  line-height: 1.3;
}

@media (max-width: 700px) {
  .improve-warning {
    margin: 1.2rem 4vw 1.2rem 4vw;
    padding: 1rem 0.5rem;
    order: 3;
  }

  .improve-warning h1 {
    font-size: 1.1rem;
  }

  .infographic-btn-row {
    order: 3;
  }
}

.pop-up-form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 1rem;
}

/* Pop-up overlay */
#popup-form-overlay {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(30, 30, 30, 0.25);
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

/* Pop-up modal */
.popup-form-modal {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.18);
  padding: 2rem 2.5rem 1.5rem 2.5rem;
  min-width: 340px;
  max-width: 95vw;
  max-height: 90vh;
  position: relative;
  font-family: inherit;
}

.popup-close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 2rem;
  color: #c00;
  cursor: pointer;
  line-height: 1;
  z-index: 2;
}

.popup-form-scroll {
  max-height: 60vh;
  overflow-y: auto;
  padding-right: 8px;
  margin-top: 1rem;
}

.pop-up-form-group {
  margin-bottom: 1.1rem;
  display: flex;
  flex-direction: column;
}

.pop-up-form-group label {
  font-weight: 500;
  margin-bottom: 0.3rem;
  color: #c00;
}

.pop-up-form-group input[type="text"] {
  padding: 0.5rem 0.7rem;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1rem;
  background: #fafafa;
  transition: border 0.2s;
}

.pop-up-form-group input[type="text"]:focus {
  border: 1.5px solid #fc9c9e;
  outline: none;
}

.form-group .radio-group {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 1rem;
}

.form-group .radio-group label {
  margin-bottom: 0;
  color: #222;
  font-weight: 400;
}

.popup-flex-row {
  display: flex;
  align-items: flex-end;
  gap: 1rem;
  margin-top: 1.2rem;
}

.popup-flex-row .pop-up-form-group {
  margin-bottom: 0;
  flex: 1 1 0;
}

.popup-submit-btn {
  background: linear-gradient(90deg, #fc9c9e 0%, #f90505 100%);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 0.7rem 1.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  margin-bottom: 0.2rem;
}

.popup-submit-btn:hover {
  background: linear-gradient(90deg, #f90505 0%, #fc9c9e 100%);
}

@media (max-width: 600px) {
  .popup-form-modal {
    padding: 1rem 0.5rem;
    min-width: 90vw;
  }

  .popup-flex-row {
    flex-direction: column;
    align-items: stretch;
    gap: 0.7rem;
  }
}