/* ==========================================================================
   AI EDUCATION PAGE STYLESHEET (education.css)
   Target route: /education (education.html)
   ========================================================================== */

/* --- Design Tokens --- */
:root {
  --bg:            #0B0909;
  --bg-hero:       #0F0D0D;
  --bg-card:       rgba(255, 255, 255, 0.02);
  --bg-card-hover: rgba(255, 255, 255, 0.04);
  --primary:       #FCD535;
  --primary-hover: #E5BE20;
  --secondary:     #FF4D4D;
  --secondary-glow:rgba(255, 77, 77, 0.15);
  --border:        rgba(255, 255, 255, 0.1);
  --border-light:  rgba(255, 255, 255, 0.18);
  --border-yellow: rgba(252, 213, 53, 0.3);
  --text-white:    #FFFFFF;
  --text-dim:      rgba(255, 255, 255, 0.65);
  --text-dimmer:   rgba(255, 255, 255, 0.42);
  --text-nav:      rgba(255, 255, 255, 0.75);
  --font-head:     'Sora', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono:     'JetBrains Mono', monospace;
  --font-body:     'DM Sans', sans-serif;
  --max-w:         1376px;
  --px:            64px;
  --radius-card:   0px; /* Sharp corners for all cards */
  --radius-sm:     0px;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}

body {
  background: var(--bg);
  color: var(--text-white);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s ease;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font: inherit;
}

/* --- Ambient Effects & Page Margins --- */
.global-glow {
  width: 540px;
  height: 540px;
  position: fixed;
  left: -100px;
  bottom: -100px;
  pointer-events: none;
  z-index: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(252, 213, 53, 0.08) 0%, rgba(255, 77, 77, 0.04) 50%, transparent 70%);
  filter: blur(120px);
}

.page-margins {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - calc(var(--px) * 2));
  max-width: var(--max-w);
  border-left: 1px solid rgba(255, 255, 255, 0.05);
  border-right: 1px solid rgba(255, 255, 255, 0.05);
  pointer-events: none;
  z-index: 10;
}

/* --- Utilities --- */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--px);
  position: relative;
  z-index: 1;
}

.text-yellow { color: var(--primary) !important; }
.text-red    { color: var(--secondary) !important; }

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 36px;
  padding: 0 16px;
  background: var(--primary);
  border-radius: 4px;
  color: #000000;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1;
  transition: opacity 0.18s, transform 0.18s, background 0.2s ease;
  white-space: nowrap;
}

.btn-primary:hover {
  background: var(--primary-hover);
  opacity: 0.88;
  transform: translateY(-1px);
}

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

.btn-primary svg {
  transition: transform 0.2s ease;
}

.btn-primary:hover svg {
  transform: translateX(4px);
}

/* Chip Badge */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 32px;
  padding: 0 20px;
  border-radius: 4px;
  border: 1px solid var(--border-light);
  background: rgba(18, 15, 15, 0.6);
  backdrop-filter: blur(8px);
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 400;
  text-transform: uppercase;
  color: var(--text-white);
  line-height: 1;
}

.chip-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.chip-dot--red {
  background: var(--secondary);
  box-shadow: 0 0 8px var(--secondary);
}

/* --- Section Dividers --- */
.section-divider {
  width: 100%;
  height: 1px;
  background: var(--border);
  margin: 0;
}



.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo img {
  height: 36px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-dropdown-wrapper {
  position: relative;
  display: inline-block;
}

.nav-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 16px;
  color: var(--text-nav);
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 300;
  text-transform: uppercase;
  line-height: 1.4;
  border-radius: 4px;
  transition: color 0.18s, background 0.18s;
  background: transparent;
  border: none;
  cursor: pointer;
}

.nav-item:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.nav-chevron {
  flex-shrink: 0;
  transition: transform 0.2s;
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: rgba(10, 10, 10, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 6px;
  padding: 8px 0;
  margin-top: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  z-index: 1000;
  display: flex;
  flex-direction: column;
}

@media (min-width: 1101px) {
  .nav-dropdown-wrapper:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  .nav-dropdown-wrapper:hover .nav-chevron {
    transform: rotate(180deg);
  }
}

.nav-dropdown-menu a {
  display: block;
  padding: 10px 20px;
  color: rgba(255, 255, 255, 0.7);
  font-family: var(--font-mono), monospace;
  font-size: 13px;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.18s, background 0.18s;
  text-align: left;
}

.nav-dropdown-menu a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
  padding-left: 20px;
}

.nav-cta {
  flex-shrink: 0;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

/* ==========================================================================
   HERO SECTION - BRIGHT VIVID FULL-SCREEN BACKGROUND
   ========================================================================== */
.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: 100px;
  padding-bottom: 0;
  overflow: hidden;
}

/* Full-bleed Edge to Edge Campus Image Background with BRIGHTER filter */
.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  filter: brightness(1.15) contrast(1.02); /* Brightened per user request */
}

/* Subtle Dark Overlay to keep image bright while ensuring text legibility */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(11, 9, 9, 0.20) 0%,
    rgba(11, 9, 9, 0.40) 50%,
    rgba(11, 9, 9, 0.88) 100%
  );
}

.hero-content-wrap {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  min-height: calc(100vh - 100px);
}

.hero-top-bar {
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  width: 100%;
  margin-bottom: auto;
  padding-top: 20px;
}

.iitg-badge {
  width: 108px;
  height: 108px;
  background: rgba(11, 9, 9, 0.4);
  backdrop-filter: blur(12px);
  border-radius: 50%;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease;
}

.iitg-badge:hover {
  transform: scale(1.05);
}

.iitg-badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hero-body {
  max-width: 960px;
  margin: 30px auto 40px auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-body .chip {
  background: transparent;
  margin-bottom: 8px;
}

.hero-title {
  font-family: 'Sora', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 64px;
  font-weight: 300;
  line-height: 1.15;
  color: var(--text-white);
  margin-top: 16px;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
  text-align: center;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.hero-desc {
  font-family: 'DM Sans', sans-serif;
  font-size: 19px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.95);
  max-width: 860px;
  font-weight: 300;
  text-align: center;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

/* ==========================================================================
   FULL-WIDTH REGISTER BAR (HERO & CTA FEATURE BAR)
   ========================================================================== */
.register-bar {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  position: relative;
  background-color: rgba(0, 0, 0, 0.15);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: none;
  padding: 32px 0;
  box-sizing: border-box;
  margin-top: auto;
  margin-bottom: 0;
}

.register-bar-inner {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  box-sizing: border-box;
}

.register-features {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 1;
  gap: 28px;
}

.register-feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.register-feature-icon {
  width: 32px;
  height: 32px;
  position: relative;
}

.register-icon-wrapper {
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  box-sizing: border-box;
}

.register-vector-icon {
  height: 30px;
  width: 23px;
  position: relative;
  flex-shrink: 0;
}

.register-feature-text {
  position: relative;
  font-family: 'DM Sans', sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 160%;
  color: #ffffff;
  white-space: nowrap;
}

.register-divider-icon {
  height: 60px;
  width: auto;
  align-self: center;
  flex-shrink: 0;
  opacity: 0.6;
}

.btn-register {
  height: 36px;
  border-radius: 4px;
  background-color: #ffce1b;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  box-sizing: border-box;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  color: #000000;
  font-family: 'JetBrains Mono', monospace;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 140%;
  white-space: nowrap;
  flex-shrink: 0;
  transition: opacity 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
}

.btn-register:hover {
  background-color: #e5be20;
  opacity: 0.92;
  transform: translateY(-1px);
}

.btn-arrow-icon {
  height: 24px;
  width: 24px;
  position: relative;
  flex-shrink: 0;
}

/* ==========================================================================
   ABOUT THE INITIATIVE SECTION
   ========================================================================== */
.about-section {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.about-section::before {
  content: '';
  position: absolute;
  top: 40%;
  left: 30%;
  transform: translate(-50%, -50%);
  width: 650px;
  height: 650px;
  border-radius: 50%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(185, 55, 35, 0.40) 0%, rgba(90, 25, 18, 0.20) 50%, transparent 100%);
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
}

.about-section .container {
  position: relative;
  z-index: 1;
}

.about-grid {
  display: flex;
  flex-direction: column;
  gap: 48px;
  align-items: flex-start;
  width: 100%;
  padding: 10px;
  box-sizing: border-box;
}

.about-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  width: 100%;
}

.about-heading {
  font-family: 'Sora', sans-serif;
  font-size: 50px;
  font-weight: 200;
  line-height: 130%;
  color: var(--text-white);
  letter-spacing: -0.01em;
  width: 100%;
  max-width: 1100px;
}

.about-right {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding-top: 0;
  padding-left: 36%;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.about-text {
  font-family: 'DM Sans', sans-serif;
  font-size: 18px;
  line-height: 160%;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 200;
}

/* ==========================================================================
   WHAT THE COURSE COVERS - MONOLITHIC SHARP-EDGED MATRIX GRID (NO GAPS)
   ========================================================================== */
.modules-section {
  padding: 100px 0;
  position: relative;
}

.modules-header {
  margin-bottom: 60px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  width: 100%;
  gap: 20px;
  box-sizing: border-box;
  padding-left: 20px;
}

.modules-title {
  font-family: 'Sora', sans-serif;
  font-size: 50px;
  font-weight: 300;
  line-height: 110%;
  color: #fff5e4;
  width: 384px;
  max-width: 100%;
  flex-shrink: 0;
}

.modules-title .text-yellow {
  color: #ffce1b;
  line-height: 110%;
}

.modules-subtitle {
  font-family: 'DM Sans', sans-serif;
  font-size: 18px;
  font-weight: 200;
  line-height: 160%;
  color: #ffffff;
  width: 517px;
  max-width: 100%;
}

/* Monolithic Matrix Grid Layout: Sharp corners (radius 0), zero gap, thin grid borders */
.modules-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}

.module-card {
  background: var(--bg-card);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  border-radius: 0 !important;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 340px;
  transition: background 0.3s ease;
  position: relative;
}

.module-card:hover {
  background: var(--bg-card-hover);
}

.module-num {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 20px;
  letter-spacing: 0.06em;
}

.module-title {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.35;
  color: var(--text-white);
  margin-bottom: 28px;
}

.module-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
}

.module-bullets li {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.55;
  position: relative;
  padding-left: 14px;
}

.module-bullets li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--secondary);
  font-weight: bold;
}

/* ==========================================================================
   TAUGHT BY & COURSE FORMAT SECTION - SHARP EDGES
   ========================================================================== */
.format-section {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.format-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 30%;
  transform: translate(-50%, -50%);
  width: 750px;
  height: 550px;
  background: radial-gradient(ellipse at center, rgba(140, 38, 28, 0.26) 0%, rgba(85, 20, 15, 0.08) 55%, transparent 75%);
  filter: blur(50px);
  pointer-events: none;
  z-index: 0;
}

.format-section .container {
  position: relative;
  z-index: 1;
}

.format-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 60px;
  align-items: stretch;
}

.taught-by-card {
  background: transparent;
  border: none;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.taught-title {
  font-family: 'Sora', sans-serif;
  font-size: 38px;
  font-weight: 300;
  color: var(--text-white);
}

.taught-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.taught-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.taught-icon-img {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.taught-text {
  font-family: 'DM Sans', sans-serif;
  font-size: 17px;
  color: var(--text-dim);
  line-height: 1.5;
  font-weight: 300;
}

.course-format-card {
  /* background: var(--bg-card); */
  border: null;
  border-radius: 12px;
  background-color: rgba(52, 32, 31, 0.4);
  padding: 56px 48px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
}

.format-title {
  font-family: 'Sora', sans-serif;
  font-size: 38px;
  font-weight: 300;
  color: var(--text-white);
}

.format-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.format-list li {
  font-family: 'JetBrains Mono', monospace;
  font-size: 15px;
  color: var(--text-dim);
  line-height: 1.6;
  display: flex;
  align-items: center;
  gap: 12px;
}

.format-list li::before {
  display: none;
}

.format-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: #fb1650;
  flex-shrink: 0;
}

/* ==========================================================================
   WHY THIS MATTERS & CERTIFICATION - SHARP EDGES
   ========================================================================== */
.why-section {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.why-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 722px;
  height: 722px;
  border-radius: 50%;
  background: radial-gradient(50% 50% at 50% 50%, #491c13 0%, #1e1211 100%);
  filter: blur(250px);
  pointer-events: none;
  z-index: 0;
}

.why-section .container {
  position: relative;
  z-index: 1;
}

.why-header {
  margin-bottom: 48px;
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 20px;
}

.why-title {
  font-family: 'Sora', sans-serif;
  font-size: 42px;
  font-weight: 300;
  line-height: 130%;
  color: #ffffff;
}

.why-title .text-yellow {
  color: #ffce1b;
  line-height: 130%;
}

.why-grid {
  display: grid;
  grid-template-columns: 460px 1fr;
  gap: 80px;
  margin-bottom: 24px;
}

.why-heading-statement {
  font-family: 'DM Sans', sans-serif;
  font-size: 24px;
  font-weight: 300;
  line-height: 135%;
  color: #ffffff;
}

.why-desc {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 150%;
  color: #868484;
  font-weight: 300;
}

/* Certification Card */
.cert-card {
  background: rgba(43, 31, 31, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0px !important;
  padding: 52px;
  display: grid;
  grid-template-columns: 1fr 213px;
  gap: 40px;
  align-items: center;
}

.cert-left {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cert-title {
  font-family: 'Sora', sans-serif;
  font-size: 42px;
  font-weight: 300;
  line-height: 130%;
  color: #ffffff;
  margin-bottom: 0;
}

.cert-sub {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 140%;
  color: #fff5e4;
  margin-bottom: 8px;
  font-weight: 300;
}

.cert-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 16px;
}

.cert-bullets li {
  font-family: 'DM Sans', sans-serif;
  font-size: 17px;
  line-height: 140%;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 12px;
}

.cert-bullets li::before {
  display: none;
}

.cert-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: #fb1650;
  flex-shrink: 0;
}

.cert-footnote {
  font-family: 'JetBrains Mono', monospace;
  font-size: 15px;
  line-height: 130%;
  color: #fb1650;
  letter-spacing: 0.02em;
}

.cert-graphic {
  display: flex;
  align-items: center;
  justify-content: center;
}

.yellow-mark-svg {
  width: 213px;
  height: 230px;
}

/* ==========================================================================
   BOTTOM CTA BANNER - SHARP EDGES
   ========================================================================== */
.cta-section {
  padding: 100px 0 120px 0;
  position: relative;
}

.cta-banner {
  /*background: linear-gradient(135deg, rgba(20, 16, 16, 0.9) 0%, rgba(12, 10, 10, 0.95) 100%);
  border: 1px solid var(--border-light);
  border-radius: 0px !important;*/
  background: transparent;
  border: none;
  padding: 64px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 36px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.5);
}

.cta-banner::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 400px;
  height: 100%;
  background: radial-gradient(circle at top right, rgba(252, 213, 53, 0.08), transparent 70%);
  pointer-events: none;
}

.cta-heading {
  font-family: var(--font-head);
  font-size: 44px;
  font-weight: 300;
  line-height: 1.25;
  color: var(--text-white);
  max-width: 900px;
  letter-spacing: -0.01em;
}

.cta-subtag {
  font-family: var(--font-mono);
  font-size: 15px;
  color: var(--secondary);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.cta-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 12px;
}

/* ==========================================================================
   BOTTOM REGISTER BAR (MATCHING FIGMA SPEC & SCREENSHOT)
   ========================================================================== */
.bottom-register-bar {
  width: 100%;
  position: relative;
  background: transparent;
  border: none;
  padding: 0;
  box-sizing: border-box;
  margin-top: 12px;
}

.bottom-register-inner {
  width: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  box-sizing: border-box;
}

.bottom-register-features {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.bottom-register-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.bottom-register-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.bottom-medal-icon {
  width: 18px;
  height: 24px;
}

.bottom-register-text {
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 400;
  color: #ffffff;
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.bottom-red-dot {
  width: 4px;
  height: 4px;
  flex-shrink: 0;
  margin: 0 4px;
}

.btn-bottom-register {
  height: 42px;
  padding: 0 28px;
  background-color: #ffce1b;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
  color: #000000;
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: 0.03em;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background-color 0.2s ease, transform 0.18s ease, opacity 0.18s ease;
}

.btn-bottom-register:hover {
  background-color: #e5be20;
  opacity: 0.92;
  transform: translateY(-1px);
}

/* ==========================================================================
   FOOTER - MATCHING SITEWIDE STANDARD
   ========================================================================== */
.footer {
  position: relative;
  z-index: 1;
  background: var(--bg);
  border-top: 0.1px solid rgba(255, 255, 255, 0.15);
}

.footer-inner {
  width: calc(100% - calc(var(--px) * 2));
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 40px 40px;
}

/* Top nav row */
.footer-nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 40px;
  border-bottom: 0.1px solid rgba(255, 255, 255, 0.15);
  margin-bottom: 48px;
}

.footer-nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
}

.footer-nav-link {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.18s;
}

.footer-nav-link:hover {
  color: var(--text-white);
}

.footer-nav-link--active {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 20px;
}

.social-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 0.5px solid rgba(255, 255, 255, 0.20);
  transition: border-color 0.18s, background 0.18s;
}

.social-icon:hover {
  border-color: rgba(255, 255, 255, 0.60);
  background: rgba(255, 255, 255, 0.06);
}

/* Bottom row: big K + addresses + ZIROHLabs */
.footer-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

/* Big yellow K square */
.footer-big-logo {
  flex-shrink: 0;
}

.big-k-square {
  width: 120px;
  height: 120px;
  background: var(--primary);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 56px;
  font-weight: 700;
  color: #000;
  line-height: 1;
  letter-spacing: -0.03em;
}

/* Addresses */
.footer-addresses {
  display: flex;
  gap: 60px;
  flex: 1;
  padding: 0 60px;
}

.footer-address {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-city {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.80);
  letter-spacing: 0.02em;
}

.footer-addr-text {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.45);
  line-height: 20px;
}

/* ZIROHLabs */
.footer-ziroh {
  flex-shrink: 0;
}

.ziroh-logo {
  height: 28px;
  width: auto;
  filter: brightness(0.8);
  transition: filter 0.18s;
}

.ziroh-logo:hover {
  filter: brightness(1);
}

/* Legal section */
.footer-legal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 40px;
  margin-top: 40px;
  border-top: 0.1px solid rgba(255, 255, 255, 0.15);
}

.footer-legal-links {
  display: flex;
  gap: 32px;
}

.footer-legal-links a {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: color 0.18s;
}

.footer-legal-links a:hover {
  color: #fff;
}

.footer-copyright {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.3);
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES - MATCHING SITEWIDE STANDARD
   ========================================================================== */

/* Tablet & Smaller Laptops (<= 1100px) */
@media (max-width: 1100px) {
  :root {
    --px: 32px;
  }



  .footer-bottom-row {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    row-gap: 40px;
    align-items: start;
  }

  .footer-addresses {
    grid-column: 1 / 3;
    padding: 0;
  }

  .footer-address {
    margin-left: 0 !important;
    flex: 1;
  }

  .footer-big-logo {
    grid-column: 1;
    grid-row: 2;
  }

  .footer-ziroh {
    grid-column: 3;
    grid-row: 1;
    align-self: center;
  }

  .modules-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero-title {
    font-size: 48px;
  }

  .about-grid,
  .format-grid,
  .why-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .about-right {
    padding-top: 0;
  }

  .cert-card {
    grid-template-columns: 1fr;
    padding: 36px;
  }

  .cert-graphic {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
  }
}

/* Mobile (<= 768px) */
@media (max-width: 768px) {
  :root {
    --px: 20px;
  }

  .navbar {
    height: 64px;
  }

  .nav-links.open {
    top: 64px;
  }

  .nav-cta {
    display: none;
  }

  .about-right {
    padding-left: 0;
  }

  .footer-legal {
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: 16px;
  }
}

/* Tablet (<= 1024px) */
@media (max-width: 1024px) {
  .about-right {
    padding-left: 0;
  }

  .hero {
    position: relative;
    width: 100%;
    min-height: auto;
    padding-top: 90px;
    padding-bottom: 0;
    overflow: hidden;
  }

  .hero-content-wrap {
    min-height: auto;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
  }

  .hero-body {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 16px;
  }

  .hero-title {
    font-size: 40px;
    word-break: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
  }

  .hero-desc {
    font-size: 16px;
    word-break: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
  }

  .chip {
    max-width: 100%;
    box-sizing: border-box;
  }

  .register-bar {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding: 28px 0;
    margin-top: auto;
    margin-bottom: 0;
    background-color: rgba(0, 0, 0, 0.15);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-sizing: border-box;
  }

  .register-bar-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 32px;
    gap: 20px;
    text-align: center;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
  }

  .register-features {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 16px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .register-feature-text {
    font-size: 15px;
  }

  .register-divider-icon {
    display: block;
    height: 40px;
    width: auto;
    align-self: center;
    flex-shrink: 0;
    opacity: 0.6;
  }

  .btn-register {
    margin: 0 auto;
  }

  .bottom-register-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    text-align: center;
  }

  .bottom-register-features {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px;
    width: 100%;
  }

  .btn-bottom-register {
    margin: 0 auto;
  }
}

/* Mobile (<= 768px) */
@media (max-width: 768px) {
  :root {
    --px: 20px;
  }

  .navbar {
    height: 64px;
  }

  .nav-links.open {
    top: 64px;
  }

  .nav-cta {
    display: none;
  }

  .hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-top: 80px;
    padding-bottom: 0;
    overflow: hidden;
  }

  .hero-content-wrap {
    min-height: calc(100vh - 80px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
    overflow-x: hidden;
    max-width: 100%;
  }

  .hero-top-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-bottom: 16px;
  }

  .iitg-badge {
    width: 72px;
    height: 72px;
    margin: 0 auto;
  }

  .hero-body {
    width: 100%;
    max-width: 100%;
    margin: 20px auto 40px auto;
    box-sizing: border-box;
  }

  .chip {
    font-size: 11px;
    height: auto;
    padding: 6px 12px;
    gap: 8px;
    max-width: 100%;
    white-space: normal;
    text-align: center;
    line-height: 1.3;
    box-sizing: border-box;
  }

  .hero-title {
    font-size: 32px;
    line-height: 1.2;
    word-break: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
  }

  .hero-desc {
    font-size: 15px;
    line-height: 1.5;
    word-break: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
  }

  .about-heading,
  .why-title,
  .cta-heading {
    font-size: 30px;
  }
  .why-header {
    padding: 10px;
  }

  .modules-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 36px;
    padding: 10px;
  }

  .modules-title {
    width: 100%;
    font-size: 32px;
    line-height: 1.2;
  }

  .modules-title-br {
    display: none;
  }

  .modules-subtitle {
    width: 100%;
    font-size: 15px;
    line-height: 1.55;
  }

  .modules-grid {
    grid-template-columns: 1fr;
  }

  .course-format-card,
  .cert-card,
  .cta-banner {
    padding: 24px;
  }

  .footer-nav-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .footer-nav-links {
    flex-wrap: wrap;
    gap: 20px;
  }

  .footer-bottom-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
  }

  .footer-addresses {
    flex-direction: column;
    gap: 24px;
    padding: 0;
  }

  .footer-ziroh {
    order: 2;
    align-self: flex-end;
  }

  .footer-big-logo {
    order: 3;
  }

  .footer-legal {
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: 16px;
  }

  /* Register bar mobile responsive adjustments */
  .register-bar {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding: 20px 0;
    margin-top: auto;
    margin-bottom: 0;
    background-color: rgba(0, 0, 0, 0.15);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: none;
    box-sizing: border-box;
  }

  .register-bar-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 20px;
    text-align: center;
    padding: 0 16px;
    box-sizing: border-box;
  }

  .register-features {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    width: max-content;
    max-width: 100%;
    margin: 0 auto;
    align-self: center;
    gap: 12px;
  }

  .register-feature {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    width: 100%;
  }

  .register-feature-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
  }

  .register-icon-wrapper {
    width: 20px;
    height: 20px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }

  .register-vector-icon {
    width: 16px;
    height: 20px;
    flex-shrink: 0;
  }

  .register-divider-icon {
    display: none;
  }

  .register-feature-text {
    font-size: 14px;
    text-align: left;
    white-space: nowrap;
  }

  .btn-register {
    width: auto;
    height: 34px;
    padding: 8px 20px;
    font-size: 13px;
    margin: 0 auto;
    align-self: center;
  }

  /* Bottom register bar mobile adjustments */
  .bottom-register-bar {
    padding: 20px 0;
  }

  .bottom-register-inner {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .bottom-register-features {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    width: max-content;
    margin: 0 auto;
  }

  .bottom-red-dot {
    display: none;
  }

  .btn-bottom-register {
    width: auto;
    height: 36px;
    padding: 0 24px;
    font-size: 13px;
    margin: 0 auto;
    align-self: center;
  }
}



  /* ════════════════════════════════════════════════
     UPPER LINE REMOVAL & FOOTER LOWER LINE RESTORATION (<= 1024px)
  ════════════════════════════════════════════════ */
  /* 1. Restore Footer's own Top Border (Lower Line) */
  body .footer,
  body footer.footer,
  body footer#footer,
  body footer#footer-mobile,
  .footer,
  #footer,
  #footer-mobile {
    border-top: 1px solid rgba(255, 255, 255, 0.15) !important;
  }

  /* 2. Hide horizontal line dividers directly above footer */
  .line-horizontal,
  .line-horizontal:last-of-type,
  main > .line-horizontal:last-child {
    display: none !important;
    border: none !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  /* 3. Hide dummy/glow sections right above footer */
  .why-section[style*="min-height:0"],
  .get-started-section[style*="min-height:0"],
  .why-section:last-of-type,
  .get-started-section:last-of-type {
    border-top: none !important;
    border-bottom: none !important;
    display: none !important;
  }

  /* 4. Remove section bottom borders right above footer on mobile (Upper Line) */
  main > section:last-of-type,
  main > div:last-of-type,
  section:last-of-type,
  .models-section,
  .faq-accordion-list,
  .dev-section,
  .tribute-section,
  .community-section,
  .jobs-grid,
  .dynamic-jd-wrapper,
  .phil2-contact-section,
  .phil-status-contact,
  .related-videos,
  .event-detail-body,
  .gallery-large,
  .event-quote,
  .event-meta,
  .md-code-tablet,
  .session-header-row {
    border-bottom: none !important;
  }


/* ════════════════════════════════════════════════
   MOBILE FOOTER OVERRIDES (<= 1024px)
════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  body .footer,
  body footer.footer,
  body footer#footer,
  body footer#footer-mobile,
  .footer,
  #footer,
  #footer-mobile {
    position: relative !important;
    top: auto !important;
    left: 0 !important;
    right: 0 !important;
    bottom: auto !important;
    width: 100% !important;
    margin: 32px 0 0 0 !important;
    padding: 0 !important;
    background: #1c1414 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.15) !important;
    box-sizing: border-box !important;
    display: block !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    visibility: visible !important;
    opacity: 1 !important;
    transform: none !important;
    z-index: 10 !important;
  }

  
  /* Remove section bottom border right above footer on mobile to eliminate upper line */
  main > section:last-of-type,
  main > div:last-of-type,
  section:last-of-type,
  .phil2-mobile-page-wrapper > main > section:last-of-type,
  .phil-mobile-page-wrapper > main > section:last-of-type,
  .sbox-page section:last-of-type,
  .page-section:last-of-type,
  .faq-section,
  .get-started-section,
  .community-section,
  .related-videos,
  .phil2-contact-section {
    border-bottom: none !important;
  }

  body .footer .footer-inner,
  body footer#footer-mobile .footer-inner,
  .footer-inner {
    width: calc(100% - calc(var(--px, 24px) * 2)) !important;
    max-width: var(--max-w, 1376px) !important;
    margin: 0 auto !important;
    padding: 32px 20px !important;
    box-sizing: border-box !important;
    border-left: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-right: 1px solid rgba(255, 255, 255, 0.15) !important;
    display: block !important;
    position: relative !important;
    top: auto !important;
    left: auto !important;
    height: auto !important;
  }

  /* Top Nav Row */
  body .footer .footer-nav-row,
  body footer#footer-mobile .footer-nav-row,
  .footer-nav-row {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 18px !important;
    padding-bottom: 24px !important;
    margin-bottom: 24px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
    position: relative !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  body .footer .footer-nav-links,
  body footer#footer-mobile .footer-nav-links,
  .footer-nav-links {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    align-items: center !important;
    gap: 16px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  body .footer .footer-nav-link,
  body footer#footer-mobile .footer-nav-link,
  .footer-nav-link {
    font-family: 'DM Sans', sans-serif !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: rgba(255, 255, 255, 0.85) !important;
    text-decoration: none !important;
    white-space: nowrap !important;
  }

  /* Social Icons */
  body .footer .footer-socials,
  body footer#footer-mobile .footer-socials,
  .footer-socials {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 14px !important;
  }

  body .footer .social-icon,
  body footer#footer-mobile .social-icon,
  .social-icon {
    width: 32px !important;
    height: 32px !important;
    background: #ffffff !important;
    border-radius: 6px !important;
    border: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    white-space: nowrap !important;
  }

  body .footer .social-icon svg path,
  body .footer .social-icon svg circle,
  body footer#footer-mobile .social-icon svg path,
  body footer#footer-mobile .social-icon svg circle,
  .social-icon svg path,
  .social-icon svg circle {
    stroke: #000000 !important;
    fill: #000000 !important;
  }

  body .footer .social-icon svg path[fill="none"],
  body footer#footer-mobile .social-icon svg path[fill="none"],
  .social-icon svg path[fill="none"] {
    fill: none !important;
  }

  /* Middle Row: Addresses & Logos */
  body .footer .footer-bottom-row,
  body footer#footer-mobile .footer-bottom-row,
  .footer-bottom-row {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0 !important;
    padding-bottom: 24px !important;
    margin-bottom: 24px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
    position: relative !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Addresses: Left (Bengaluru) & Right (Palo Alto) */
  body .footer .footer-addresses,
  body footer#footer-mobile .footer-addresses,
  .footer-addresses {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    width: 100% !important;
    padding: 0 !important;
    gap: 16px !important;
    margin-bottom: 24px !important;
    order: 1 !important;
    box-sizing: border-box !important;
  }

  body .footer .footer-address:first-child,
  body footer#footer-mobile .footer-address:first-child,
  .footer-address:first-child {
    flex: 1 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    text-align: left !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 4px !important;
  }

  body .footer .footer-address:last-child,
  body .footer .footer-address:nth-child(2),
  body footer#footer-mobile .footer-address:last-child,
  body footer#footer-mobile .footer-address:nth-child(2),
  .footer-address:last-child,
  .footer-address:nth-child(2) {
    flex: 1 !important;
    margin-left: auto !important;
    margin-right: 0 !important;
    text-align: left !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 4px !important;
  }

  body .footer .footer-city,
  body footer#footer-mobile .footer-city,
  .footer-city {
    font-family: 'DM Sans', sans-serif !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    color: #ffffff !important;
    margin: 0 !important;
  }

  body .footer .footer-addr-text,
  body footer#footer-mobile .footer-addr-text,
  .footer-addr-text {
    font-family: 'DM Sans', sans-serif !important;
    font-size: 11px !important;
    font-weight: 300 !important;
    color: rgba(255, 255, 255, 0.6) !important;
    line-height: 1.5 !important;
    margin: 0 !important;
  }

  /* ZIROHLabs Logo: Below Addresses, Left Aligned */
  body .footer .footer-ziroh,
  body footer#footer-mobile .footer-ziroh,
  .footer-ziroh {
    order: 2 !important;
    align-self: flex-start !important;
    margin-left: 0 !important;
    margin-right: auto !important;
    margin-bottom: 24px !important;
    grid-column: auto !important;
    grid-row: auto !important;
    display: block !important;
    text-align: left !important;
  }

  body .footer .ziroh-logo,
  body footer#footer-mobile .ziroh-logo,
  .ziroh-logo {
    height: 28px !important;
    width: auto !important;
    display: block !important;
    margin-left: 0 !important;
    margin-right: auto !important;
  }

  /* Big K. Square Logo: Below ZIROHLabs Logo, Left Aligned */
  body .footer .footer-big-logo,
  body footer#footer-mobile .footer-big-logo,
  .footer-big-logo {
    order: 3 !important;
    align-self: flex-start !important;
    margin-left: 0 !important;
    margin-right: auto !important;
    grid-column: auto !important;
    grid-row: auto !important;
    display: block !important;
  }

  body .footer .big-k-square,
  body footer#footer-mobile .big-k-square,
  .big-k-square {
    width: 72px !important;
    height: 72px !important;
    border-radius: 4px !important;
    display: block !important;
    margin-left: 0 !important;
  }

  /* Bottom Legal Section */
  body .footer .footer-legal,
  body footer#footer-mobile .footer-legal,
  .footer-legal {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px !important;
    padding-top: 0 !important;
    margin-top: 0 !important;
    border-top: none !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  body .footer .footer-legal-links,
  body footer#footer-mobile .footer-legal-links,
  .footer-legal-links {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    gap: 24px !important;
    order: 1 !important;
    width: 100% !important;
  }

  body .footer .footer-legal-links a,
  body footer#footer-mobile .footer-legal-links a,
  .footer-legal-links a {
    font-family: 'DM Sans', sans-serif !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    color: rgba(255, 255, 255, 0.8) !important;
    text-decoration: none !important;
    white-space: nowrap !important;
  }

  body .footer .footer-copyright,
  body footer#footer-mobile .footer-copyright,
  .footer-copyright {
    font-family: 'DM Sans', sans-serif !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    color: rgba(255, 255, 255, 0.6) !important;
    margin: 0 !important;
    order: 2 !important;
    width: 100% !important;
    text-align: left !important;
  }
}


