/* ------------------------------------------------------
   Base & Typography
-------------------------------------------------------*/
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');

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

html, body { overflow-x: hidden; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background-color: #f9fafb;
  color: #1f2937;
  line-height: 1.5;
}

/* ------------------------------------------------------
   Navbar
-------------------------------------------------------*/
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 0.5rem 7rem;
  background-color: #0953ba;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  height: 80px;
}

.logo img {
  max-height: 300px;
  height: auto;
  width: auto;
  display: block;
  position: absolute;
  top: 50%;
  left: 2rem;
  transform: translateY(-50%);
}

.nav-links { display: flex; gap: 1.5rem; }

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem;
  border-radius: 4px;
  transition: background 0.3s;
}

.nav-links a:hover { background-color: #1e3a8a; }

.cta-btn {
  background-color: #fff;
  color: #0953ba;
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  white-space: nowrap;
}
.cta-btn:hover { background-color: #f3f4f6; color: #1e40af; }

.nav-links .cta-btn {
  color: #0953ba !important;
  background-color: #fff;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  z-index: 1100;
}
.hamburger div { width: 24px; height: 3px; background: #fff; margin: 4px 0; }

/* ========== Navbar dropdown ========== */
.nav-item.has-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

/* The Services link */
.nav-item.has-dropdown > .nav-link {
  padding: 0.5rem;
  border-radius: 4px;
}

/* Caret button (only shown on mobile) */
.dd-caret {
  display: none;
  margin-left: 4px;
  background: transparent;
  border: 0;
  color: #fff;
  cursor: pointer;
  font-size: 0.9rem;
  line-height: 1;
}

/* Dropdown menu (desktop absolute) */
.nav-item .dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 220px;
  background: #fff;
  color: #111;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0,0,0,.12);
  padding: 0.5rem;
  z-index: 1500;
}

.nav-item .dropdown li { list-style: none; }
.nav-item .dropdown a {
  display: block;
  padding: 0.55rem 0.75rem;
  border-radius: 8px;
  color: #111;
  text-decoration: none;
  white-space: nowrap;
}
.nav-item .dropdown a:hover { background: #f3f4f6; }

/* Show on hover/focus (desktop & keyboard users) */
.nav-item.has-dropdown:hover > .dropdown,
.nav-item.has-dropdown:focus-within > .dropdown {
  display: block;
}

/* -------- Mobile / small screens -------- */
@media (max-width: 768px) {
  /* Caret visible on mobile */
  .dd-caret { display: inline-block; }

  /* Dropdown becomes inline, collapsible inside the slide-down menu */
  .nav-item .dropdown {
    position: static;
    box-shadow: none;
    background: transparent;
    padding: 0.25rem 0 0.5rem;
    border-radius: 0;
  }
  .nav-item .dropdown a {
    color: #fff;
    padding: 0.45rem 0.25rem;
  }

  /* Don’t auto-open on hover for touch; rely on .open class toggled by JS */
  .nav-item.has-dropdown:hover > .dropdown { display: none; }

  .nav-item.has-dropdown.open > .dropdown { display: block; }
}


/* ------------------------------------------------------
   HERO v2: full-bleed image + brand overlay + left text
-------------------------------------------------------*/
.hero-slider{
  position: relative;
  overflow: hidden;
  min-height: min(78vh, 720px);
  height: auto;
  background: #0953ba;
  color: #fff;
  display: block;
}

.hero-slider .slides{
  display: flex;                 /* horizontal track for JS translateX */
  width: auto;                   /* override any fixed width */
  transition: transform 0.5s ease;
}

.hero-slider .slide{
  position: relative;
  min-height: inherit;
  display: grid;
  align-items: center;
  padding: 0;
  flex: 0 0 100%;                /* each slide = full viewport width */
}

.hero-slider .slide img{
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 60% center;   /* per-slide tweaks below */
  z-index: 0;
  border-radius: 0;
}

/* Brand overlay for legibility */
.hero-slider .slide::before{
  content:""; position:absolute; inset:0; z-index:1;
  background: linear-gradient(
    90deg,
    rgba(9,83,186,.88) 0%,
    rgba(9,83,186,.72) 34%,
    rgba(9,83,186,.18) 64%,
    rgba(9,83,186,0)   100%
  );
}

.hero-slider .content{
  position: relative; z-index: 2; color: #fff;
  padding: clamp(24px, 6vw, 80px);
  max-width: 720px;
  text-align: left;
}

.hero-slider .content h1{
  margin: 0 0 .5rem;
  line-height: 1.1;
  font-size: clamp(2rem, 5vw, 3.5rem);
  text-shadow: none;
}

.hero-slider .content p{
  margin: 0 0 1.25rem;
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  color: rgba(255,255,255,.92);
}

.cta-main {
  background-color: #fff;
  color: #0953ba;
  padding: 0.75rem 1.5rem;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
  white-space: nowrap;
}
.cta-main:hover { background-color: #f3f4f6; color: #1e40af; }

/* Arrows */
.arrow{
  position:absolute; top:50%; transform:translateY(-50%);
  z-index:3; border:0; width:44px; height:44px; border-radius:999px;
  background:rgba(255,255,255,.9); cursor:pointer; box-shadow:0 2px 5px rgba(0,0,0,.2);
}
.arrow.left{ left:16px; }
.arrow.right{ right:16px; }
.arrow:hover{ background:#fff; }

/* Dots bottom-left */
.dots{
  position:absolute; z-index:3;
  left: clamp(24px, 6vw, 80px);
  bottom: clamp(16px, 3vw, 28px);
  transform:none;
  display:flex; gap:10px;
}
.dot{
  width:10px; height:10px; border-radius:50%;
  background: rgba(255,255,255,.5);
  opacity: 1;
}
.dot.active{ background:#fff; }

/* Optional: adjust focal point per slide */
.hero-slider .slide:nth-child(1) img{ object-position: 55% center; }
.hero-slider .slide:nth-child(2) img{ object-position: 40% center; }
.hero-slider .slide:nth-child(3) img{ object-position: 50% center; }
.hero-slider .slide:nth-child(4) img{ object-position: 60% center; }

/* ------------------------------------------------------
   Trust section
-------------------------------------------------------*/
.rating-badges {
  text-align: center;
  padding: 3rem 1rem;
  background-color: #fff;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
}

.ratings {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-top: 1rem;
}

.rating-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  width: 200px;
  min-height: 220px;
  padding: 1rem 1rem 1.25rem;
  background: #f9fafb;
  border-radius: 14px;
  text-align: center;
  text-decoration: none;
  color: #111827;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  transition: transform .2s ease, box-shadow .2s ease;
}
.rating-link:hover { transform: translateY(-3px); box-shadow: 0 6px 16px rgba(0,0,0,0.10); }

.icon-box {
  height: 110px;
  width: 100%;
  display: grid;
  place-items: center;
  margin-bottom: 12px;
  padding: 6px 0;
}

.platform-icon {
  max-height: 80%;
  max-width: 90%;
  object-fit: contain;
  display: block;
}

.stars {
  color: #fbbf24;
  font-size: 1.1rem;
  line-height: 1;
  margin: .25rem 0 .5rem;
}
.stars--hidden { visibility: hidden; }

.rating-link p {
  margin-top: 6px;
  line-height: 1.3;
  min-height: 2.6em;
  font-size: .95rem;
  font-weight: 600;
  color: #1f2937;
}

/* Per-logo tweaks */
.rating-link img[alt*="Google"],
.rating-link img[alt*="Facebook"],
.rating-link img[alt*="DBS"] { max-height: 70%; }
.rating-link img[alt*="Tutors' Association"] { max-width: 85%; position: relative; top: 25px; }

.rating-link.stars-only { display: flex; flex-direction: column; justify-content: flex-end; }
.rating-link.stars-only .stars { margin-top: auto; margin-bottom: 20px; }

/* ========== How it works — accordion ========== */
.how-accordion{ background:#fff; padding:3rem 1rem; }
.how-grid{
  max-width:1100px; margin:0 auto; display:grid; gap:2rem; align-items:start;
  grid-template-columns: 340px 1fr;
}
.how-visual img{
  width:100%; max-width:340px; border-radius:14px; box-shadow:0 6px 20px rgba(0,0,0,.06);
}
.how-copy h2{ font-size:2rem; margin-bottom:1rem; color:#1f2937; }

/* accordion core */
.accordion{ border-top:1px solid #e5e7eb; }
.acc-item{ border-bottom:1px solid #e5e7eb; }
.acc-header{
  width:100%; display:grid; grid-template-columns: 28px 1fr 18px; align-items:center;
  gap:.75rem; padding:1rem .25rem; background:transparent; border:0; cursor:pointer;
  text-align:left; font-weight:700; color:#0b3a7a;
}
.acc-icon{ font-size:1.1rem; opacity:.9; }
.acc-title{ font-size:1.125rem; }
.acc-caret{
  width:10px; height:10px; border-right:2px solid #0b3a7a; border-bottom:2px solid #0b3a7a;
  transform: rotate(-45deg); transition: transform .2s ease, opacity .2s ease; opacity:.8;
}
.acc-item.open .acc-caret{ transform: rotate(45deg); }

.acc-panel{
  overflow:hidden; max-height:0; transition:max-height .28s ease;
  color:#374151; padding:0 .25rem;
}
.acc-item.open .acc-panel{ /* max-height set in JS for smooth auto height */ }
.acc-panel p{ margin:0 0 1rem 0; }
.acc-panel ul, .acc-panel ol{ margin:.5rem 0 1rem 1.25rem; }
.acc-panel a{ color:#0953ba; font-weight:600; text-decoration:none; }
.acc-panel a:hover{ text-decoration:underline; }

/* mobile */
@media (max-width: 900px){
  .how-grid{ grid-template-columns: 1fr; }
  .how-visual{ order:2; display:flex; justify-content:center; }
  .how-copy{ order:1; }
}

/* ------------------------------------------------------
   Services
-------------------------------------------------------*/
.services { padding: 3rem 1rem; background: #fafafa; }

.services .container { max-width: 1100px; margin: 0 auto; }

.services h2 {
  font-size: clamp(1.5rem, 2vw + 1rem, 2.25rem);
  text-align: center;
  margin-bottom: 0.5rem;
}

.services .services-intro {
  text-align: center;
  max-width: 820px;
  margin: 0.5rem auto 2rem;
  color: #444;
}

.service-cards {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(1, minmax(0, 1fr));
}
@media (min-width: 640px) {
  .service-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 960px) {
  .service-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.service-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 16px;
  padding: 1.1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.service-card:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0,0,0,0.08); border-color: #e5e5e5; }

.service-card h3 { margin: 0 0 .35rem 0; font-size: 1.125rem; }
.service-card p  { margin: 0; color: #333; }
.service-card__actions { margin-top: 0.9rem; }

/* Ghost CTA variant */
.cta-main.cta-main--ghost {
  background: transparent;
  color: #0953ba;
  border: 2px solid #0953ba;
  padding: 0.55rem 0.95rem;
  border-radius: 10px;
  display: inline-block;
  text-decoration: none;
  font-weight: 600;
}
.cta-main.cta-main--ghost:hover { background: #0953ba; color: #fff; }

/* Buttons row inside service cards */
.service-card__actions {
  display: flex;
  gap: .6rem;
  flex-wrap: wrap;
}

@media (max-width: 520px) {
  .service-card__actions a {
    flex: 1 1 48%;
    text-align: center;
  }
}

/* ------------------------------------------------------
   Reviews
-------------------------------------------------------*/
.reviews {
  background-color: #fff;
  text-align: center;
  padding: 3rem 1rem;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
}

.reviews h2 { font-size: 2rem; margin-bottom: 2rem; color: #1f2937; }

.review-cards {
  display: flex; justify-content: center; gap: 2rem; flex-wrap: wrap; margin-bottom: 2rem;
}

.review-card {
  background: #f9fafb;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  max-width: 300px;
  padding: 1.5rem;
  text-align: left;
  font-size: 1rem;
  line-height: 1.5;
  color: #374151;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.review-card:hover { transform: translateY(-4px); box-shadow: 0 6px 16px rgba(0,0,0,0.08); }
.review-card span { display: block; margin-top: 1rem; font-weight: 600; color: #0953ba; }

.external-review-line{
  text-align:center;
  margin: 0.75rem 0 1.25rem;
  color:#1f2937;
}
.external-review-line a{
  color:#0953ba;
  font-weight:600;
  text-decoration:none;
}
.external-review-line a:hover{ text-decoration:underline; }

/* ------------------------------------------------------
   Lead Capture Form (+ Success Banner)
-------------------------------------------------------*/
.lead-capture { max-width: 520px; margin: 2rem auto; padding: 1rem; }
.lead-capture .field { margin: 1rem 0; }

.lead-capture label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.lead-capture input[type="text"],
.lead-capture input[type="email"],
.lead-capture input[type="tel"]{
  width: 100%;
  padding: 0.6rem 0.75rem;
  border: 1px solid #ddd;
  border-radius: 0.5rem;
  font-size: 1rem;
}

.lead-capture textarea{
  width: 100%;
  padding: 0.6rem 0.75rem;
  border: 1px solid #ddd;
  border-radius: 0.5rem;
  font-size: 1rem;
  resize: vertical;
}

.lead-capture button{
  display: inline-block;
  padding: 0.7rem 1.1rem;
  border: 0;
  border-radius: 0.6rem;
  font-weight: 600;
  cursor: pointer;
  background: #0057ff;
  color: #fff;
  transition: background 0.2s ease;
}
.lead-capture button:hover { background: #0040c9; }

.lead-capture .consent { font-size: 0.9rem; margin: 0.75rem 0; }

#lead-form { scroll-margin-top: 80px; }

/* Match select styling to inputs */
.lead-capture select {
  width: 100%;
  padding: 0.6rem 0.75rem;
  padding-right: 2.2rem; /* space for arrow */
  border: 1px solid #ddd;
  border-radius: 0.5rem;
  font-size: 1rem;
  background-color: #fff;

  /* Remove default browser styling */
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;

  /* Custom arrow */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23666'%3E%3Cpath d='M5.25 7.5L10 12.25 14.75 7.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 1rem;
}

/* Success banner */
.lead-success{
  display:none; align-items:flex-start; gap:12px; margin-top:12px;
  padding:14px 16px; border-radius:12px;
  border:1px solid #0953ba; background:#e8f1ff; color:#0b3a7a;
  box-shadow:0 2px 10px rgba(0,0,0,.06);
}
.lead-success__icon{
  width:28px; height:28px; border-radius:999px;
  display:grid; place-items:center; font-weight:800;
  background:#0953ba; color:#fff;
}
.lead-capture.show-success .lead-success{ display:flex; }
.lead-msg{ color:#0953ba; font-weight:600; }

/* ------------------------------------------------------
   Footer
-------------------------------------------------------*/
/* Remove any old trust strip (if still present) */
section.rating-badges, .footer-trust { display: none !important; }

/* New footer top row */
.footer-top{
  max-width: 1100px;
  margin: 0 auto;
  padding: 14px 16px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.footer-badge img{
  height: 42px;                 /* a bit bigger */
  object-fit: contain;
  filter: grayscale(100%);
  opacity: .95;
  transition: opacity .15s ease, filter .15s ease;
}
.footer-badge img:hover{ opacity:1; filter:none; }

.footer-top-right{
  text-align: right;
  display: grid;
  gap: 4px;
}

.footer .contact-info p{
  margin: 0;
}

.footer .contact-info a,
.footer .social-media a{
  color: #d1d5db;
  text-decoration: none;
}
.footer .social-media a:hover{ text-decoration: underline; }

/* Mobile: stack badge over text, center-align */
@media (max-width: 640px){
  .footer-top{
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
  }
  .footer-top-right{ text-align: center; }
}

/* Mobile: stack badge over text, center-align */
@media (max-width: 640px){
  .footer-top{
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
  }
  .footer-top-right{ text-align: center; }
}

/* ------------------------------------------------------
   Responsive
-------------------------------------------------------*/
@media (max-width: 768px) {
  .navbar { height: 60px; padding: 0 1rem; }
  .logo img { max-height: 400px; max-width: 280px; position: static; transform: none; }

  .hamburger { display: flex; margin-left: auto; }

  .nav-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: #0953ba;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    padding: 1rem;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.4s ease;
  }
  .nav-links.active { max-height: 400px; opacity: 1; }

  .nav-links a { width: 100%; padding: 0.75rem 0; }

  /* Full-width Book Now button */
  .cta-btn {
    display: block;
    margin: 0.5rem 0 0 0;
    background-color: #fff;
    color: #0953ba;
    padding: 1rem;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
  }
  .cta-btn:hover { background-color: #f3f4f6; color: #1e40af; }

  /* Reduce vertical spacing between menu links */
  .nav-links a { padding: 0.5rem 0; }
}

@media (max-width: 640px){
  .hero-slider{ min-height: 70vh; }
  .hero-slider .arrow{ display:none; }

  /* Hero content sizes handled by clamp() */
  .slide { text-align: center; }
}

@media (max-width: 480px) {
  .lead-capture { padding: 0.5rem; }
  .lead-capture button { width: 100%; } /* full-width button on mobile */
}

/* === HERO height + crop fix === */
:root { --hero-h: clamp(420px, 60vh, 620px); }   /* one clear height */

.hero-slider{
  height: var(--hero-h);        /* use a definite height (not only min-height) */
  min-height: 0;
}

.hero-slider .slides,
.hero-slider .slide{
  height: 100%;                  /* make track and each slide fill the hero */
  min-height: 100%;
}

/* Background image fits the full area */
.hero-slider .slide img{
  object-fit: cover;             /* fill without letterboxing */
  object-position: center center;/* show the middle by default */
}

/* Optional: fine-tune each slide’s focal point (left%→right%) */
.hero-slider .slide:nth-child(1) img{ object-position: 50% 45%; }
.hero-slider .slide:nth-child(2) img{ object-position: 40% 45%; }
.hero-slider .slide:nth-child(3) img{ object-position: 50% 45%; }
.hero-slider .slide:nth-child(4) img{ object-position: 55% 45%; }

/* Keep the dots fixed at the bottom inside the hero area */
.hero-slider .dots{ bottom: 18px; }

/* Photo 2.jpg is used in the FIRST slide in your markup */
.hero-slider .slide:nth-child(1) img{
  object-position: 82% 55%;  /* push focus to the right & slightly up */
}

/* --- HERO height + stretch everything --- */
:root { --hero-h: clamp(440px, 58vh, 620px); } /* adjust to taste */

.hero-slider{ height: var(--hero-h); min-height: 0; }
.hero-slider .slides,
.hero-slider .slide{ height: 100%; min-height: 100%; }

/* image always fills the slide and uses our focal point */
.hero-slider .slide img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center; /* sensible default */
}

/* Slide 1 – keep the student’s head in frame */
.hero-slider .slide:nth-child(1) img{
  /* X% (left→right), Y% (top→bottom) */
  object-position: 85% 38%;  /* was ~52% — smaller Y shows more top */
}

/* --- Restore dark footer + link colours --- */
.footer{
  background-color: #111827 !important;
  color: #d1d5db !important;
}
.footer * { color: inherit; }                 /* inherit light text */
.footer a{ color: #d1d5db !important; }
.footer a:hover{ text-decoration: underline; }

/* --- Footer: bigger + centered contact text --- */
.footer{
  padding: 4rem 1rem !important;   /* was ~2rem; now ~double */
}

.footer-top{
  max-width: 1100px;
  padding: 24px 16px;               /* taller top row */
  justify-content: center;          /* center the whole group horizontally */
  gap: 28px;                        /* space between badge and text block */
}

.footer-top-right{
  text-align: center;               /* center the contact/social text */
}

.footer .contact-info p{
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.6;
}

.footer .social-media{
  font-size: 1.05rem;
  margin-top: 2px;
}

.footer-text{
  margin-top: 18px;                 /* a little breathing room above © line */
}

/* keep mobile stacked & centered */
@media (max-width: 640px){
  .footer-top{
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
  }
  .footer-top-right{ text-align: center; }
}

/* === Footer: bigger, badge left, content centered, © centered === */

/* overall size */
.footer{
  padding: 4.5rem 1rem !important;   /* taller */
}

/* layout: 3-column grid so middle stays truly centered */
.footer-top{
  max-width: 1100px;
  margin: 0 auto;
  padding: 28px 16px 18px;
  display: grid;
  grid-template-columns: 1fr auto 1fr; /* left badge | centered content | spacer */
  align-items: center;
  gap: 24px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: transparent;
}

/* left badge */
.footer-badge{ justify-self: start; }
.footer-badge img{
  height: 56px;                       /* a bit bigger */
  object-fit: contain;
  filter: grayscale(100%);
  opacity: .95;
  transition: opacity .15s ease, filter .15s ease;
}
.footer-badge img:hover{ opacity: 1; filter: none; }

/* centered contact/social */
.footer-top-right{
  justify-self: center;
  text-align: center;
  font-size: 1.1rem;                  /* larger text */
  line-height: 1.6;
}
.footer .contact-info p{ margin: 0; }
.footer .social-media{ margin-top: 6px; font-size: 1.1rem; }
.footer a{ color: #d1d5db !important; font-weight: 500; }

/* copyright centered under the row */
.footer-text{
  text-align: center;
  margin-top: 22px;
  font-size: 1rem;                    /* slightly larger */
}

/* mobile: stack nicely */
@media (max-width: 640px){
  .footer-top{
    grid-template-columns: 1fr;       /* single column */
    gap: 12px;
  }
  .footer-badge{ justify-self: center; }
  .footer-top-right{ justify-self: center; }
}
