/* ============================================
   UK Education & Student Visa Consultancy
   Brand: Red, White, Blue | Mobile-first
   ============================================ */

:root {
  --primary-red: #c41e3a;
  --primary-red-dark: #9e1830;
  --primary-blue: #012169;
  --primary-blue-light: #1e3a8a;
  --white: #ffffff;
  --off-white: #f8fafc;
  --section-bg: #f1f5f9;
  --text-dark: #0f172a;
  --text-muted: #64748b;
  --border-light: #e2e8f0;
  --success: #059669;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
  --radius: 0.75rem;
  --radius-lg: 1rem;
}

* {
  box-sizing: border-box;
}

body {
  font-family: 'Plus Jakarta Sans', 'Segoe UI', system-ui, sans-serif;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}

/* ----- Typography ----- */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  color: var(--text-dark);
}

.text-primary-red { color: var(--primary-red) !important; }
.text-primary-blue { color: var(--primary-blue) !important; }
.bg-primary-red { background-color: var(--primary-red) !important; }
.bg-primary-blue { background-color: var(--primary-blue) !important; }
.bg-off-white { background-color: var(--off-white) !important; }

/* ----- Navbar ----- */
.navbar-custom {
  background: var(--white) !important;
  box-shadow: var(--shadow);
  padding: 0.75rem 0;
}

.navbar-custom .navbar-brand {
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--primary-blue) !important;
}

.navbar-custom .nav-link {
  font-weight: 600;
  color: var(--text-dark) !important;
  padding: 0.5rem 1rem !important;
  border-radius: 0.375rem;
}

.navbar-custom .nav-link:hover,
.navbar-custom .nav-link.active {
  color: var(--primary-red) !important;
  background: rgba(196, 30, 58, 0.08);
}

.navbar-custom .btn-cta {
  background: var(--primary-red);
  color: var(--white) !important;
  font-weight: 600;
  padding: 0.5rem 1.25rem;
  border-radius: 0.5rem;
  border: none;
}

.navbar-custom .btn-cta:hover {
  background: var(--primary-red-dark);
  color: var(--white);
}

/* ----- Top bar (Times Consultant style) ----- */
.top-bar {
  background: var(--primary-blue);
  color: var(--white);
  padding: 0.5rem 0;
  font-size: 0.9rem;
}

.top-bar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.top-bar-text { opacity: 0.9; }

.top-bar-phone {
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
}

.top-bar-phone:hover { color: var(--white); opacity: 0.9; }

.btn-top-cta {
  background: var(--primary-red);
  color: var(--white) !important;
  font-weight: 600;
  padding: 0.4rem 1rem;
  border-radius: 0.375rem;
  border: none;
  font-size: 0.875rem;
  text-decoration: none;
}

.btn-top-cta:hover { background: var(--primary-red-dark); color: var(--white) !important; }

/* ----- Top bar (dark bar) ----- */
.top-bar-ea {
  background: #1e293b;
  color: var(--white);
  padding: 0.5rem 0;
  font-size: 0.875rem;
}

.top-bar-ea-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
}

.top-bar-ea .top-bar-left,
.top-bar-ea .top-bar-center,
.top-bar-ea .top-bar-right {
  display: flex;
  align-items: center;
}

.top-bar-ea .top-bar-phone {
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
}

.top-bar-ea .top-bar-phone:hover { color: var(--white); opacity: 0.9; }

.top-bar-sticky-icon {
  color: #fbbf24;
  font-size: 1rem;
  margin-right: 0.35rem;
}

.top-bar-socials {
  display: flex;
  gap: 1rem;
}

.top-bar-social {
  color: var(--white);
  font-size: 1.1rem;
  opacity: 0.9;
}

.top-bar-social:hover { color: var(--white); opacity: 1; }

/* ----- Navbar EA Consultancy style (white bar + logo + gradient CTA) ----- */
.navbar-ea {
  background: var(--white) !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  padding: 0.6rem 0;
}

.navbar-brand-ea {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.2;
  padding: 0.25rem 0;
}

.navbar-brand-ea .brand-logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-red);
  letter-spacing: -0.02em;
}

.navbar-brand-ea .brand-name {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.navbar-ea .nav-link {
  font-weight: 600;
  color: var(--text-dark) !important;
  padding: 0.5rem 0.75rem !important;
  border-radius: 0.375rem;
}

.navbar-ea .nav-link:hover,
.navbar-ea .nav-link.active {
  color: var(--primary-red) !important;
  background: rgba(196, 30, 58, 0.08);
}

.navbar-ea .dropdown-menu {
  border-radius: 0.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
}

.btn-nav-apply-now {
  background: transparent;
  color: #7c3aed;
  font-weight: 700;
  padding: 0.5rem 1.25rem;
  border-radius: 0.5rem;
  border: 2px solid transparent;
  background: linear-gradient(var(--white), var(--white)) padding-box,
    linear-gradient(135deg, #a855f7, #ec4899) border-box;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-nav-apply-now:hover {
  color: #6d28d9;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(168, 85, 247, 0.3);
}

/* ----- Hero (Times Consultant style) ----- */
.hero.hero-times {
  background: linear-gradient(145deg, var(--primary-blue) 0%, #0a2a5c 100%);
  color: var(--white);
  padding: 4rem 0 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-tagline {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 0.5rem;
  opacity: 0.95;
}

.hero-headline {
  font-size: clamp(1.75rem, 4.5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--white);
}

.hero-subline {
  font-size: 1.1rem;
  max-width: 640px;
  margin: 0 auto 1.75rem;
  opacity: 0.92;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.btn-hero-primary {
  background: var(--primary-red);
  color: var(--white) !important;
  font-weight: 700;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  border: none;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}

.btn-hero-primary:hover {
  background: var(--primary-red-dark);
  color: var(--white) !important;
  transform: translateY(-2px);
}

.btn-hero-secondary {
  background: var(--white);
  color: var(--primary-blue) !important;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  border: none;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.2s;
}

.btn-hero-secondary:hover {
  color: var(--primary-blue) !important;
  opacity: 0.95;
  transform: translateY(-2px);
}

/* ----- Hero (clean light bg + globe + flags) ----- */
.hero-ea {
  background: #f8fafc;
  color: var(--text-dark);
  padding: 2.5rem 0 3.5rem;
  position: relative;
  overflow: hidden;
  min-height: 75vh;
  display: flex;
  align-items: center;
}

.hero-ea-bg-shapes {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(ellipse 80% 50% at 80% 20%, rgba(148, 163, 184, 0.06) 0%, transparent 50%);
  pointer-events: none;
}

.min-vh-70 { min-height: 70vh; }

.hero-ea-content {
  text-align: left;
}

.hero-ea-tagline {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary-blue);
  margin-bottom: 0.5rem;
  opacity: 1;
}

.hero-ea-headline {
  font-size: clamp(1.6rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.hero-ea-subline {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  max-width: 28em;
  line-height: 1.55;
}

.btn-hero-apply {
  background: linear-gradient(90deg, #c41e3a 0%, #1e293b 100%);
  color: var(--white) !important;
  font-weight: 700;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  border: none;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-hero-apply:hover {
  color: var(--white) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(196, 30, 58, 0.35);
}

/* Globe wrap: orbit ring + flags + 3D globe (chota circle) */
.hero-globe-wrap {
  position: relative;
  width: 320px;
  height: 320px;
  margin: 0 auto;
}

/* Dotted circular orbit path (faint light gray) – chota */
.hero-orbit-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 310px;
  height: 310px;
  margin-left: -155px;
  margin-top: -155px;
  border-radius: 50%;
  border: 1px dashed rgba(148, 163, 184, 0.45);
  pointer-events: none;
}

/* Globe: bara size, circle ke andar */
.hero-globe {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 250px;
  height: 250px;
  margin-left: -125px;
  margin-top: -125px;
  border-radius: 50%;
  overflow: hidden;
  background: #e2e8f0;
  border: 4px solid rgba(148, 163, 184, 0.35);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.4),
    0 0 0 1px rgba(148, 163, 184, 0.2),
    0 8px 32px rgba(0, 0, 0, 0.08);
}

.hero-globe-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 50%;
}

.hero-globe-orbit {
  position: absolute;
  inset: 0;
  animation: orbit-rotate 24s linear infinite;
}

/* Circular flag icons (splash images): white border/glow, soft shadow (3D pop) */
.hero-flag-icon {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 52px;
  height: 52px;
  margin-left: -26px;
  margin-top: -26px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  overflow: hidden;
  background: #ffffff;
  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.08),
    0 4px 14px rgba(0, 0, 0, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  border: 2px solid rgba(255, 255, 255, 0.9);
  transform: rotate(calc(var(--i) * 36deg)) translateY(-155px) rotate(calc(var(--i) * -36deg));
}

.hero-flag-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ----- Section headings (Times style) ----- */
.section-heading {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--text-dark);
  text-align: center;
  margin-bottom: 0.5rem;
}

.section-subheading {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1rem;
  line-height: 1.5;
}

/* ----- Why Choose Us ----- */
.section-why {
  padding: 4rem 0;
  background: var(--off-white);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

@media (max-width: 991.98px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}

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

.why-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  border: 1px solid var(--border-light);
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.why-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
  border-color: rgba(1, 33, 105, 0.12);
}

.why-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary-red), var(--primary-red-dark));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1rem;
  flex-shrink: 0;
}

.why-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.why-card-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}

/* ----- How We Support (red icon cards) ----- */
.section-support {
  padding: 4rem 0;
  background: var(--white);
}

.support-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.2s;
}

.support-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(196, 30, 58, 0.1);
  border-color: rgba(196, 30, 58, 0.2);
}

.support-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary-red), var(--primary-red-dark));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 1rem;
  flex-shrink: 0;
}

.support-card-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.support-card-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  flex-grow: 0;
  line-height: 1.5;
}

.support-card-offer {
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.support-card-offer strong { display: block; margin-bottom: 0.35rem; color: var(--primary-red); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.03em; }

.support-card-offer ul {
  margin: 0;
  padding-left: 1.25rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.btn-support-cta {
  background: linear-gradient(135deg, var(--primary-red), var(--primary-red-dark));
  color: var(--white) !important;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.65rem 1.25rem;
  border-radius: 0.5rem;
  border: none;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.btn-support-cta:hover { background: var(--primary-red-dark); color: var(--white) !important; transform: translateY(-1px); box-shadow: 0 4px 14px rgba(196, 30, 58, 0.35); }

/* ----- Requirements to Apply (country cards) ----- */
.section-requirements {
  padding: 4rem 0;
  background: var(--off-white);
}

.requirements-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s, border-color 0.2s;
}

.requirements-card:hover {
  box-shadow: 0 12px 28px rgba(196, 30, 58, 0.08);
  border-color: rgba(196, 30, 58, 0.15);
}

.requirements-card .card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary-red), var(--primary-red-dark));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

.requirements-card-country {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary-red);
  margin-bottom: 0.35rem;
  letter-spacing: 0.02em;
}

.requirements-card-tagline {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.requirements-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  flex-grow: 1;
}

.requirements-list li {
  margin-bottom: 0.4rem;
  padding-left: 0;
  line-height: 1.4;
}

.requirements-list strong {
  color: var(--text-dark);
  font-weight: 600;
}

.btn-requirements-cta {
  background: linear-gradient(135deg, var(--primary-red), var(--primary-red-dark));
  color: var(--white) !important;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.65rem 1.25rem;
  border-radius: 0.5rem;
  border: none;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  width: 100%;
}

.btn-requirements-cta:hover {
  background: var(--primary-red-dark);
  color: var(--white) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(196, 30, 58, 0.35);
}

/* ----- Contact form (red & white) ----- */
.section-contact-form {
  background: linear-gradient(180deg, var(--primary-red) 0%, var(--primary-red-dark) 100%);
  color: var(--white);
  padding: 3.5rem 0;
  position: relative;
  overflow: hidden;
}

.section-contact-form::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
  opacity: 0.6;
}

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

.section-heading-light {
  color: var(--white) !important;
  margin-bottom: 0.5rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.section-contact-sub {
  color: rgba(255, 255, 255, 0.9);
  text-align: center;
  margin-bottom: 1.75rem;
  font-size: 1rem;
}

.contact-form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  max-width: 720px;
  margin: 0 auto;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.contact-form-inline .form-control {
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-light);
  background: var(--white);
}

.contact-form-inline .form-control:focus {
  border-color: var(--primary-red);
  box-shadow: 0 0 0 3px rgba(196, 30, 58, 0.15);
}

.btn-form-submit {
  background: linear-gradient(135deg, var(--primary-red), var(--primary-red-dark));
  color: var(--white) !important;
  font-weight: 700;
  border: none;
  padding: 0.75rem 1.25rem;
  border-radius: 0.5rem;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-form-submit:hover {
  background: var(--primary-red-dark);
  color: var(--white) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(196, 30, 58, 0.4);
}

/* ----- Cost preview (homepage) ----- */
.section-costs-preview {
  padding: 4rem 0;
  background: var(--section-bg);
}

.cost-preview-card {
  display: block;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  text-align: center;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s, box-shadow 0.2s;
}

.cost-preview-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: var(--primary-blue);
}

.cost-preview-label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.cost-preview-value {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
}

/* ----- Universities (cards with icons) ----- */
.section-universities {
  padding: 4rem 0;
  background: var(--off-white);
}

.universities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
  max-width: 1200px;
  margin: 0 auto;
}

.university-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.2s ease;
}

.university-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(196, 30, 58, 0.1);
  border-color: rgba(196, 30, 58, 0.2);
  color: var(--primary-red);
}

.university-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary-red), var(--primary-red-dark));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}

.university-card-name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.35;
}

.university-card:hover .university-card-name {
  color: var(--primary-red);
}

/* ----- Testimonials ----- */
.section-testimonials {
  padding: 4rem 0;
  background: var(--section-bg);
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 1px solid var(--border-light);
  height: 100%;
}

.testimonial-text {
  font-style: italic;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.testimonial-author {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
}

/* ----- Study steps (cards with red icons) ----- */
.section-steps {
  padding: 4rem 0;
  background: var(--white);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  max-width: 1100px;
  margin: 0 auto;
}

@media (max-width: 991.98px) {
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.step-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.2s ease;
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(196, 30, 58, 0.1);
  border-color: rgba(196, 30, 58, 0.2);
}

.step-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary-red), var(--primary-red-dark));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin: 0 auto 1rem;
}

.step-num {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary-red);
  margin-bottom: 0.4rem;
  letter-spacing: 0.03em;
}

.step-title {
  font-size: 1rem !important;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0 !important;
  line-height: 1.35;
}

/* ----- Footer (Times style) ----- */
.footer-brand {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.footer-tagline {
  font-size: 0.9rem;
  opacity: 0.85;
  margin: 0;
}

.footer-heading {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li { margin-bottom: 0.35rem; }

.footer-links a { opacity: 0.85; }

.footer-contact { margin: 0; }

.footer-contact a { color: var(--white); }

/* ----- Sections ----- */
.section-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary-red);
  margin-bottom: 0.5rem;
}

.section-title {
  position: relative;
  display: inline-block;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text-dark);
}

.section-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 48px;
  height: 4px;
  background: var(--primary-red);
  border-radius: 2px;
}

.section-title-center {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--text-dark);
  margin: 0;
}

/* ----- Mission section ----- */
.section-mission {
  padding: 4rem 0;
}

.mission-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}

/* ----- Journey section ----- */
.section-journey {
  padding: 4rem 0;
  background: var(--section-bg);
}

.journey-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
  max-width: 1100px;
  margin: 0 auto;
}

.journey-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 1px solid var(--border-light);
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
}

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

.journey-card .journey-number {
  width: 36px;
  height: 36px;
  background: var(--primary-blue);
  color: var(--white);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  margin-bottom: 0.75rem;
}

.journey-card h5 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

/* ----- Cost cards (homepage) ----- */
.section-costs {
  padding: 4rem 0;
}

.cost-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  height: 100%;
  border: 1px solid var(--border-light);
  transition: transform 0.2s, box-shadow 0.2s;
}

.cost-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.cost-card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--white);
}

.cost-card-1 .cost-card-icon { background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-light)); }
.cost-card-2 .cost-card-icon { background: linear-gradient(135deg, #0d9488, #0f766e); }
.cost-card-3 .cost-card-icon { background: linear-gradient(135deg, var(--primary-red), var(--primary-red-dark)); }

.cost-card h5 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.cost-card-amount {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary-blue);
  margin-bottom: 0.35rem;
}

/* ----- Service cards (homepage) ----- */
.section-services {
  padding: 4rem 0;
  background: var(--section-bg);
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  height: 100%;
  border: 1px solid var(--border-light);
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}

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

.service-card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 1rem;
}

.service-icon-1 { background: rgba(1, 33, 105, 0.1); }
.service-icon-2 { background: rgba(196, 30, 58, 0.1); }
.service-icon-3 { background: rgba(5, 150, 105, 0.1); }
.service-icon-4 { background: rgba(30, 58, 138, 0.1); }

.service-card-title {
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.35rem;
}

/* ----- Cards ----- */
.card-custom {
  border: 1px solid var(--border-light);
  border-radius: 0.75rem;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}

.card-custom:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card-custom .card-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--primary-red), var(--primary-red-dark));
  color: var(--white);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

/* ----- Buttons ----- */
.btn-primary-custom {
  background: var(--primary-red);
  color: var(--white);
  font-weight: 600;
  border: none;
  padding: 0.65rem 1.5rem;
  border-radius: 0.5rem;
}

.btn-primary-custom:hover {
  background: var(--primary-red-dark);
  color: var(--white);
}

.btn-outline-custom {
  border: 2px solid var(--primary-blue);
  color: var(--primary-blue);
  font-weight: 600;
  background: transparent;
  padding: 0.65rem 1.5rem;
  border-radius: 0.5rem;
}

.btn-outline-custom:hover {
  background: var(--primary-blue);
  color: var(--white);
}

/* ----- Process steps ----- */
.process-step {
  position: relative;
  padding-left: 2.5rem;
}

.process-step::before {
  content: attr(data-step);
  position: absolute;
  left: 0;
  top: 0;
  width: 2rem;
  height: 2rem;
  background: var(--primary-blue);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}

/* ----- Cost breakdown ----- */
.cost-box {
  background: var(--off-white);
  border-left: 4px solid var(--primary-red);
  padding: 1rem 1.25rem;
  border-radius: 0 0.5rem 0.5rem 0;
}

.cost-box .amount {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-blue);
}

/* ----- FAQ ----- */
.accordion-custom .accordion-button {
  font-weight: 600;
  color: var(--text-dark);
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 0.5rem !important;
  padding: 1rem 1.25rem;
}

.accordion-custom .accordion-button:not(.collapsed) {
  background: var(--primary-blue);
  color: var(--white);
  border-color: var(--primary-blue);
  box-shadow: none;
}

.accordion-custom .accordion-button::after {
  filter: brightness(0) invert(1);
}

.accordion-custom .accordion-button:not(.collapsed)::after {
  filter: brightness(0) invert(1);
}

.accordion-custom .accordion-body {
  border: 1px solid var(--border-light);
  border-top: none;
  border-radius: 0 0 0.5rem 0.5rem;
  padding: 1rem 1.25rem;
}

/* ----- Forms ----- */
.form-control:focus,
.form-select:focus {
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 0.2rem rgba(1, 33, 105, 0.2);
}

.form-label {
  font-weight: 600;
  color: var(--text-dark);
}

/* ----- Booking calendar ----- */
.booking-slot {
  border: 2px solid var(--border-light);
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
}

.booking-slot:hover {
  border-color: var(--primary-blue);
  background: rgba(1, 33, 105, 0.05);
}

.booking-slot.selected {
  border-color: var(--primary-red);
  background: rgba(196, 30, 58, 0.08);
  color: var(--primary-red);
}

.booking-slot.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ----- Book consultation page ----- */
.page-hero-consultation {
  background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-red-dark) 100%);
  color: var(--white);
  padding: 2.5rem 0;
}

.page-hero-consultation .page-hero-inner {
  text-align: center;
}

.page-hero-consultation .page-hero-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.page-hero-consultation h1 {
  color: var(--white);
  margin: 0 0 0.5rem;
  font-size: clamp(1.5rem, 3.5vw, 2rem);
}

.page-hero-sub {
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  font-size: 1.05rem;
}

.consultation-benefits {
  background: var(--white);
  border-bottom: 1px solid var(--border-light);
  padding: 1rem 0;
}

.consultation-benefits-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem 2rem;
}

.consultation-benefit {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
}

.consultation-benefit i {
  color: var(--primary-red);
  font-size: 1.1rem;
}

.section-consultation-form {
  background: var(--off-white);
}

.consultation-form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--border-light);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.consultation-form-header {
  text-align: center;
  margin-bottom: 1.75rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-light);
}

.consultation-form-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary-red), var(--primary-red-dark));
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.consultation-form-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-dark);
  margin: 0 0 0.35rem;
}

.consultation-form-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin: 0;
}

.input-group-icon {
  position: relative;
}

.input-group-icon .input-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 1.1rem;
  pointer-events: none;
  z-index: 1;
}

.input-group-icon .input-icon-top {
  top: 1rem;
  transform: none;
}

.input-group-icon .form-control,
.input-group-icon .form-control:focus {
  padding-left: 2.75rem;
}

.input-group-icon textarea.form-control {
  padding-top: 2.25rem;
}

.booking-slots-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.booking-slots-grid .booking-slot {
  min-width: 100px;
  font-weight: 600;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.booking-slots-grid .booking-slot:hover {
  border-color: var(--primary-red);
  background: rgba(196, 30, 58, 0.06);
}

.btn-consultation-submit {
  background: linear-gradient(135deg, var(--primary-red), var(--primary-red-dark));
  color: var(--white) !important;
  font-weight: 700;
  border: none;
  padding: 0.85rem 1.5rem;
  border-radius: 0.5rem;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-consultation-submit:hover {
  background: var(--primary-red-dark);
  color: var(--white) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(196, 30, 58, 0.4);
}

.consultation-form-note {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.consultation-form-note i {
  color: var(--primary-red);
}

/* ----- Trust bar ----- */
.trust-bar {
  background: var(--white);
  color: var(--text-dark);
  padding: 1.25rem 0;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: var(--shadow);
}

.trust-bar-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .trust-bar-inner { gap: 2rem; }
}

.trust-bar .trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.trust-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: rgba(5, 150, 105, 0.15);
  color: var(--success);
  border-radius: 50%;
  font-size: 0.7rem;
}

/* ----- CTA strip ----- */
.cta-strip {
  background: linear-gradient(145deg, var(--primary-red) 0%, var(--primary-red-dark) 100%);
  color: var(--white);
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}

.cta-strip-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 70% 50%, rgba(255,255,255,0.08) 0%, transparent 50%);
  pointer-events: none;
}

.cta-strip-title {
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.cta-strip-sub {
  margin-bottom: 1.5rem;
  opacity: 0.95;
}

.cta-strip .btn-cta-light,
.cta-strip .btn-light {
  background: var(--white);
  color: var(--primary-red) !important;
  font-weight: 700;
  padding: 0.85rem 2rem;
  border-radius: 0.5rem;
  border: none;
  box-shadow: var(--shadow-md);
  transition: transform 0.2s, box-shadow 0.2s;
}

.cta-strip .btn-cta-light:hover,
.cta-strip .btn-light:hover {
  background: var(--off-white);
  color: var(--primary-red-dark) !important;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* ----- Footer ----- */
.footer-custom {
  background: var(--text-dark);
  color: var(--white);
  padding: 3rem 0 1.5rem;
}

.footer-custom a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
}

.footer-custom a:hover {
  color: var(--white);
}

.footer-custom .footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 2rem;
  padding-top: 1.5rem;
  font-size: 0.875rem;
  opacity: 0.8;
}

/* ----- WhatsApp & Contact float ----- */
.float-contact {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 1050;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.float-contact .btn-whatsapp {
  background: #25d366;
  color: var(--white);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  box-shadow: var(--shadow-lg);
  border: none;
  text-decoration: none;
}

.float-contact .btn-whatsapp:hover {
  color: var(--white);
  transform: scale(1.05);
}

.float-contact .btn-call {
  background: var(--primary-blue);
  color: var(--white);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: var(--shadow-lg);
  border: none;
  text-decoration: none;
}

.float-contact .btn-call:hover {
  color: var(--white);
  transform: scale(1.05);
}

/* ----- Utilities ----- */
.rounded-custom { border-radius: 0.75rem; }
.mb-section { margin-bottom: 4rem; }
@media (min-width: 768px) {
  .mb-section { margin-bottom: 5rem; }
}

/* ----- Page headers ----- */
.page-hero {
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-light));
  color: var(--white);
  padding: 2.5rem 0;
}

.page-hero h1 {
  color: var(--white);
  margin: 0;
}

/* ----- Table (costs) ----- */
.table-custom thead th {
  background: var(--primary-blue);
  color: var(--white);
  font-weight: 600;
  border: none;
  padding: 0.75rem 1rem;
}

.table-custom tbody tr:hover {
  background: var(--off-white);
}

/* ============================================
   Responsive – public site (all screens)
   ============================================ */

/* Tablet and below */
@media (max-width: 991.98px) {
  .top-bar-ea-inner { justify-content: center; gap: 0.5rem; }
  .top-bar-ea .top-bar-center { order: -1; width: 100%; justify-content: center; text-align: center; }
  .hero-ea { min-height: auto; padding: 2rem 0 2.5rem; }
  .hero-ea-globe-col { display: none !important; }
  .hero.hero-times { padding: 3rem 0 4rem; }
  .hero-headline { font-size: clamp(1.5rem, 4vw, 2rem); }
  .hero-subline { font-size: 1rem; }
  .hero-buttons { gap: 0.5rem; }
  .section-why,
  .section-support,
  .section-requirements,
  .section-contact-form,
  .section-costs-preview,
  .section-universities,
  .section-testimonials,
  .section-steps,
  .section-mission,
  .section-journey,
  .section-costs,
  .section-services { padding: 2.5rem 0; }
  .section-heading { font-size: clamp(1.35rem, 2.5vw, 1.75rem); }
  .section-subheading { margin-bottom: 1.5rem; font-size: 0.95rem; }
  .why-grid { gap: 1rem; }
  .support-card { padding: 1.25rem; }
  .support-card-title { font-size: 1.1rem; }
  .section-contact-form { padding: 2.5rem 0; }
  .contact-form-card { padding: 1.5rem; }
  .contact-form-inline .row > * { margin-bottom: 0.75rem; }
  .footer-custom { padding: 2rem 0 1rem; }
  .footer-custom .row > [class*="col-"] { margin-bottom: 1.5rem; }
  .page-hero { padding: 2rem 0; }
  .page-hero h1 { font-size: 1.5rem; }
  .mb-section { margin-bottom: 3rem; }
}

/* Mobile */
@media (max-width: 767.98px) {
  .top-bar { padding: 0.5rem 0.75rem; font-size: 0.85rem; }
  .top-bar-inner { flex-direction: column; gap: 0.5rem; align-items: stretch; text-align: center; }
  .top-bar-ea { padding: 0.5rem 0.75rem; font-size: 0.8rem; }
  .top-bar-ea-inner { flex-direction: column; text-align: center; gap: 0.35rem; }
  .top-bar-ea .top-bar-left,
  .top-bar-ea .top-bar-right { justify-content: center; }
  .top-bar-ea .top-bar-center { font-size: 0.85rem; }
  .btn-top-cta { display: block; width: 100%; padding: 0.5rem; }
  .navbar-brand-ea .brand-logo { font-size: 1.2rem; }
  .navbar-brand-ea .brand-name { font-size: 0.55rem; letter-spacing: 0.04em; }
  .btn-nav-apply-now { width: 100%; margin-top: 0.5rem; text-align: center; }
  .hero.hero-times { padding: 2.5rem 0 3rem; }
  .hero-tagline { font-size: 0.9rem; }
  .hero-headline { font-size: 1.45rem; margin-bottom: 0.6rem; line-height: 1.25; }
  .hero-subline { font-size: 0.9rem; margin-bottom: 1rem; }
  .hero-buttons { flex-direction: column; width: 100%; max-width: 280px; margin: 0 auto; }
  .hero-buttons .btn { width: 100%; justify-content: center; }
  .section-why,
  .section-support,
  .section-requirements,
  .section-costs-preview,
  .section-universities,
  .section-testimonials,
  .section-steps,
  .section-mission,
  .section-journey,
  .section-costs,
  .section-services { padding: 2rem 0; }
  .section-contact-form { padding: 2rem 0; }
  .contact-form-card { padding: 1.25rem; }
  .section-heading { font-size: 1.35rem; }
  .section-heading-light { font-size: 1.25rem; }
  .section-contact-sub { font-size: 0.95rem; margin-bottom: 1.25rem; }
  .why-grid { grid-template-columns: 1fr; gap: 0.75rem; }
  .why-card { padding: 1.5rem; }
  .why-card-icon { width: 48px; height: 48px; font-size: 1.25rem; }
  .support-card { padding: 1rem; }
  .requirements-card { padding: 1.25rem; }
  .requirements-list { font-size: 0.85rem; }
  .steps-grid { grid-template-columns: 1fr; gap: 0.75rem; }
  .journey-grid { grid-template-columns: 1fr; }
  .cost-preview-card { padding: 1rem 1.25rem; }
  .cost-preview-value { font-size: 1rem; }
  .testimonial-card { padding: 1.25rem; }
  .testimonial-text { font-size: 0.95rem; }
  .navbar-custom .navbar-brand { font-size: 1.1rem; }
  .navbar-custom .nav-link { padding: 0.5rem 0.75rem !important; font-size: 0.9rem; }
  .navbar-custom .btn-cta { width: 100%; text-align: center; margin-top: 0.5rem; margin-left: 0 !important; }
  .page-hero { padding: 1.5rem 0; }
  .page-hero h1 { font-size: 1.35rem; }
  .page-hero-consultation .page-hero-icon { width: 52px; height: 52px; font-size: 1.5rem; }
  .consultation-benefits-inner { gap: 1rem; font-size: 0.9rem; }
  .consultation-form-card { padding: 1.5rem; }
  .consultation-form-header { margin-bottom: 1.25rem; padding-bottom: 1.25rem; }
  .mission-card { padding: 1.5rem; }
  .cost-card { padding: 1.25rem; }
  .cost-card-icon { width: 44px; height: 44px; font-size: 1.25rem; }
  .cost-card-amount { font-size: 1.2rem; }
  .service-card { padding: 1.25rem; }
  .service-card-icon { width: 48px; height: 48px; font-size: 1.25rem; }
  .card-custom .card-icon { width: 48px; height: 48px; font-size: 1.25rem; }
  .mb-section { margin-bottom: 2.5rem; }
}

/* Table horizontal scroll on small screens */
@media (max-width: 767.98px) {
  .table-responsive { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .table-custom { font-size: 0.875rem; }
  .table-custom thead th,
  .table-custom tbody td { padding: 0.5rem 0.4rem; }
}

/* Float contact buttons – avoid overlap on small screens */
@media (max-width: 575.98px) {
  .float-contact { bottom: 1rem; right: 1rem; }
  .float-contact .btn-whatsapp,
  .float-contact .btn-call { width: 48px; height: 48px; font-size: 1.5rem; }
  .top-bar { font-size: 0.8rem; padding: 0.4rem 0.5rem; }
  .section-heading { font-size: 1.25rem; }
  .cta-strip { padding: 2.5rem 0; }
  .cta-strip-title { font-size: 1.2rem; }
  .cta-strip-sub { font-size: 0.9rem; margin-bottom: 1rem; }
  .container { padding-left: 0.75rem; padding-right: 0.75rem; }
}

/* Extra small – typography and spacing */
@media (max-width: 391px) {
  .hero-headline { font-size: 1.35rem; }
  .section-heading { font-size: 1.15rem; }
  .navbar-custom .navbar-brand { font-size: 1rem; }
  .page-hero h1 { font-size: 1.2rem; }
  .btn-hero-primary,
  .btn-hero-secondary { padding: 0.65rem 1rem; font-size: 0.9rem; }
}
