/* =========================================================
   Jacar Enterprises — Shared Stylesheet
   ========================================================= */

:root {
  --navy: #0d2a4a;
  --navy-dark: #081b30;
  --navy-950: #081b30;
  --navy-700: #123b63;
  --gold: #f5a623;
  --gold-500: #f5a623;
  --gold-dark: #e08e00;
  --gold-400: #f3ba56;
  --text-dark: #1c2b3a;
  --text-muted: #5c6b7a;
  --bg-light: #f6f8fb;
  --white: #ffffff;
  --ivory-2: #f8fbfd;
  --border: #e3e8ef;
  --page-bg: #ffffff;
  --surface: #ffffff;
  --surface-soft: #f6f8fb;
  --radius: 10px;
  --shadow: 0 6px 20px rgba(13, 42, 74, 0.08);
  --shadow-hover: 0 10px 28px rgba(13, 42, 74, 0.14);
  --max-width: 1180px;
}

body.dark-theme {
  --navy: #f4f8fc;
  --navy-dark: #081b30;
  --navy-950: #07111d;
  --navy-700: #a9c0d7;
  --gold: #f5a623;
  --gold-500: #f5a623;
  --gold-dark: #ffc35b;
  --gold-400: #f3ba56;
  --text-dark: #f3f7fb;
  --text-muted: #a4b3c3;
  --bg-light: #08121d;
  --white: #0f1c2e;
  --ivory-2: #0b1627;
  --border: #203246;
  --page-bg: #07111d;
  --surface: #0d1a2b;
  --surface-soft: #112236;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
  color: var(--text-dark);
  background: var(--page-bg);
  line-height: 1.6;
  transition: background 0.25s ease, color 0.25s ease;
}

.reveal-element {
  --scroll-progress: 0;
  opacity: 0;
  transform: translate3d(0, 24px, 0) scale(0.96);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-element.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.scroll-linked {
  opacity: calc(var(--scroll-progress));
  transform: translate3d(0, calc(24px * (1 - var(--scroll-progress))), 0) scale(calc(0.96 + (var(--scroll-progress) * 0.04)));
  will-change: opacity, transform;
}

[data-parallax] {
  will-change: transform;
}

body.dark-theme .site-header {
  background: rgba(9, 19, 32, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

body.dark-theme .site-footer,
body.dark-theme .contact-form-card,
body.dark-theme .contact-info-card,
body.dark-theme .card,
body.dark-theme .news-card,
body.dark-theme .service-card,
body.dark-theme .team-card,
body.dark-theme .why-list .item,
body.dark-theme .testimonial-card,
body.dark-theme .info-box,
body.dark-theme .faq-item {
  background: var(--surface);
  border-color: var(--border);
}

body.dark-theme .card p,
body.dark-theme .news-card p,
body.dark-theme .service-card p,
body.dark-theme .team-card p,
body.dark-theme .why-list .item p,
body.dark-theme .testimonial-card p,
body.dark-theme .contact-info-card p,
body.dark-theme .business-hours p,
body.dark-theme .footer-brand p,
body.dark-theme .site-footer li,
body.dark-theme .contact-form-card label,
body.dark-theme .contact-form-card input,
body.dark-theme .contact-form-card textarea {
  color: var(--text-dark);
}

body.dark-theme .main-nav a,
body.dark-theme .topbar-links span,
body.dark-theme .topbar-social a,
body.dark-theme .footer-contact li,
body.dark-theme .footer-grid h4,
body.dark-theme .section-heading p,
body.dark-theme .hero-copy p,
body.dark-theme .our-story p,
body.dark-theme .why-choose-us p,
body.dark-theme .feature p,
body.dark-theme .partner-logo,
body.dark-theme .news-meta,
body.dark-theme .service-meta,
body.dark-theme .testimonial-card small,
body.dark-theme .contact-form-card input::placeholder,
body.dark-theme .contact-form-card textarea::placeholder {
  color: var(--text-muted);
}

body.dark-theme .page-hero h1,
body.dark-theme .page-hero p,
body.dark-theme .page-hero .breadcrumb,
body.dark-theme .page-hero .breadcrumb a,
body.dark-theme .page-hero .breadcrumb i,
body.dark-theme .section-head p,
body.dark-theme .team-card h5,
body.dark-theme .team-card span,
body.dark-theme .newsletter-box h3,
body.dark-theme .newsletter-box p,
body.dark-theme .cta-banner h3,
body.dark-theme .cta-banner p,
body.dark-theme .svc-list-grid h5,
body.dark-theme .why-list h5,
body.dark-theme #ourstory-title,
body.dark-theme #hero-title{
  color: #f4f8fc;
}

body.dark-theme .why-choose-us h2 {
  color: #ffffff;
}

body.dark-theme .partners-marquee .section-head h2 {
  color: #1c2b3a;
}

body.dark-theme .page-hero .highlight,
body.dark-theme .section-head .eyebrow,
body.dark-theme .read-more,
body.dark-theme .eyebrow {
  color: var(--gold);
}

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

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 72px 0;
}

h1, h2, h3, h4 {
  font-weight: 700;
  color: var(--navy);
  line-height: 1.25;
}

.eyebrow {
  color: var(--gold-dark);
}

.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
  text-align: center;
}

.btn-primary {
  background: var(--gold);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(245, 166, 35, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.6);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--navy);
  transform: translateY(-2px);
}

.btn-call {
  background: #0f6cbd;
  color: var(--white);
  border-color: #0f6cbd;
  padding: 12px 22px;
}

.btn-call:hover {
  background: #0b568d;
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(15, 108, 189, 0.32);
}

.btn-whatsapp {
  background: #25d366;
  color: var(--white);
  border-color: #25d366;
}

.btn-whatsapp:hover {
  background: #1ebc56;
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(37, 211, 102, 0.32);
}

.btn-outline-navy {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}

.btn-outline-navy:hover {
  background: var(--navy);
  color: var(--white);
}

.theme-toggle {
  margin-left: 14px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface-soft);
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.theme-toggle:hover {
  transform: translateY(-2px);
}

.theme-toggle i {
  font-size: 1rem;
}

.section-heading {
  text-align: center;
  margin-bottom: 44px;
}

.section-heading .eyebrow {
  display: block;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.section-heading h2 {
  font-size: 2rem;
}

.section-heading p {
  color: var(--text-muted);
  max-width: 560px;
  margin: 12px auto 0;
}


/* ---- Top bar ---- */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1100;
  background: linear-gradient(180deg, #071b33 0%, #0b2340 100%);
  color: var(--ivory-2);
  font-size: 13px;
  width: 100%;
  box-shadow: 0 4px 14px rgba(8, 27, 48, 0.28);
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 38px;
}

.topbar-links {
  display: flex;
  gap: 22px;
}

.topbar-links span {
  opacity: 0.85;
}

.topbar-links i {
  color: var(--gold-400);
  margin-right: 6px;
  width: 14px;
  text-align: center;
}

.topbar-social {
  display: flex;
  gap: 14px;
}

.topbar-social a {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: var(--ivory-2);
}

/* ---------------- Header ---------------- */
.site-header {
  position: fixed;
  top: 38px;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  margin-bottom: 0px;
  border-bottom: 1px solid rgba(8, 27, 48, 0.14);
  box-shadow: 0 10px 28px rgba(8, 27, 48, 0.14);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

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

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

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  position: relative;
  width: 38px;
  height: 30px;
  justify-content: center;
}

.nav-toggle span {
  width: 26px;
  height: 3px;
  background: var(--navy);
  border-radius: 2px;
  display: block;
  transition: transform 0.22s ease, opacity 0.22s ease, top 0.22s ease;
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

.main-nav ul {
  display: flex;
  gap: 30px;
}

.main-nav a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-dark);
  position: relative;
  padding: 6px 0;
  transition: color 0.15s ease;
}

.main-nav .btn-call {
  padding: 12px 18px;
  border-radius: 999px;
  white-space: nowrap;
  color: var(--white);
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--gold-dark);
}

.main-nav a.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gold);
}

body {
  padding-top: 96px;
}

@media (max-width: 980px) {
  body {
    padding-top: 138px;
  }

  .topbar .container {
    height: auto;
    padding: 8px 0;
    flex-direction: column;
    gap: 8px;
  }

  .topbar-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .site-header {
    top: 82px;
  }
}

@media (max-width: 760px) {
  body {
    padding-top: 152px;
  }

  .topbar .container {
    padding: 10px 0;
  }

  .site-header {
    top: 94px;
  }
}

@media (max-width: 540px) {
  body {
    padding-top: 142px;
  }

  .topbar .container {
    padding: 10px 0;
  }

  .site-header {
    top: 88px;
  }
}

@media (max-width: 245px) {
  body {
    padding-top: 158px;
  }

  .site-header {
    top: 102px;
  }
}

/* ---------------- Hero (generic, used across inner pages) --------- */
.hero {
  width: 90%;
  margin-left: 5%;
  border-radius: 50px;
  background: linear-gradient(180deg, rgba(8, 27, 48, 0.82), rgba(8, 27, 48, 0.9));
  background-size: cover;
  background-position: center;
  color: var(--white);
  padding: 56px 0 42px;
  transition: background-image 0.8s ease-in-out;
  margin-bottom: 20px;
  margin-top: 50px;
}

.page-hero {
  background: linear-gradient(180deg, rgba(8, 27, 48, 0.88), rgba(8, 27, 48, 0.88));
  background-size: cover;
  background-position: center;
  color: var(--white);
  padding: 64px 0;
  transition: background-image 0.8s ease-in-out;
  margin-bottom: 20px;
  width: 90%;
  margin-left: 5%;
  border-radius: 50px;
  margin-top: 50px;
}

.page-hero h1 {
  color: var(--white);
  font-size: 2.4rem;
  margin-bottom: 10px;
}

.page-hero .highlight {
  color: var(--gold);
}

.page-hero p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.05rem;
  max-width: 560px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  align-items: center;
}

.hero-copy {
  max-width: 620px;
}

.hero h1 {
  color: var(--white);
  font-size: 2.7rem;
  line-height: 1.2;
  margin-bottom: 18px;
  min-height: 3.3em;
}

.hero h1::after {
  content: '';
  display: inline-block;
  width: 2px;
  height: 1em;
  background: var(--gold);
  margin-left: 4px;
  vertical-align: -0.08em;
  animation: hero-caret 0.8s steps(1) infinite;
}

@keyframes hero-caret {
  50% {
    opacity: 0;
  }
}

.hero h1 .accent {
  color: var(--gold);
}

.hero p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.08rem;
  margin-bottom: 30px;
  max-width: 520px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
  margin-top: 22px;
  max-width: 760px;
}

.hero-stats div {
  background: none;
  border: none;
  border-radius: 0;
  padding: 0;
  text-align: left;
}

.hero-stats strong {
  display: block;
  color: var(--gold-dark);
  font-size: 0.95rem;
  line-height: 1.1;
  margin-bottom: 2px;
}

.hero-stats span {
  color: var(--gold-dark);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

@media (max-width: 900px) {
  .hero-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.hero-image-card {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  backdrop-filter: none;
  overflow: hidden;
}

.hero-image-placeholder {
  min-height: 280px;
  border-radius: 16px;
  background: none;
  border: none;
  display: block;
  overflow: hidden;
}

.hero-image-placeholder img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 16px;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-image-placeholder {
    min-height: 260px;
  }
}

@media (max-width: 760px) {
  .hero-stats {
    display: none;
  }
}

/* ---------------- Service / feature cards ---------------- */
.services-highlight {
  margin-bottom: 20px;
}
.section-head {
  margin-bottom: 40px;
}

.section-head.center {
  text-align: center;
  max-width: 760px;
  margin: -40px auto 40px;
}

.section-head h2 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.section-head p {
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 26px;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.card .icon-badge {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--navy);
}

.card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.card .learn-more {
  color: var(--gold-dark);
  font-weight: 700;
  font-size: 0.9rem;
}

.services-highlight {
  background: var(--bg-light);
}

/* ---------------- Why Choose Us ---------------- */

.why-choose-us {
  background: linear-gradient(180deg, rgba(8, 27, 48, 0.82), rgba(8, 27, 48, 0.9)),
    url('../images/hero-imgs/heroimg1.jpeg');
  background-size: cover;
  background-position: center;
  color: var(--white);
  padding: 72px 0;
  transition: background-image 0.8s ease-in-out;
  width: 90%;
  margin-left: 5%;
  border-radius: 50px;
  margin-bottom: 20px;
}

.why-choose-inner {
  max-width: 1040px;
  text-align: center;
  margin: -40px auto;
}

.why-choose-us .eyebrow {
  color: var(--gold);
  margin-bottom: 6px;
}

.why-choose-us h2 {
  color: var(--white);
  font-size: 2rem;
  margin-top: 12px;
}

.why-choose-us p {
  color: #aebbd1;
  margin: 14px auto 0;
  font-size: 0.95rem;
  max-width: 520px;
}

.why-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 28px;
  text-align: left;
}

.why-list .item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 16px;
}

.why-list .item i {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(245, 166, 35, 0.14);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.why-list .item h5 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 6px;
}

.why-list .item p {
  margin: 0;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.74);
}

/* ---------------- Partners strip ---------------- */

.partners-marquee {
  background: linear-gradient(180deg, #f8fbfd 0%, #eef4f8 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 20px;
}

.partners-marquee-wrap {
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.partners-track {
  display: flex;
  gap: 18px;
  width: max-content;
  padding: 8px 0 10px;
}

.partner-logo {
  min-width: 150px;
  height: 72px;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid rgba(13, 42, 74, 0.12);
  box-shadow: 0 6px 18px rgba(13, 42, 74, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
}

.partner-logo img {
  max-width: 110px;
  max-height: 46px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.partners {
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.partners .section-heading {
  margin-bottom: 30px;
}

.partner-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
  flex-wrap: wrap;
}

.partner-logos span {
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--navy);
  opacity: 0.75;
  letter-spacing: 0.5px;
}

/* ---- CTA banner ---- */
.cta-banner {
  background: linear-gradient(120deg, var(--gold-500), var(--gold-400));
  position: relative;
  overflow: hidden;
  width: 90%;
  margin-left: 5%;
  border-radius: 50px;
  margin-bottom: 20px;
}

/* Center CTA content on mobile and keep it readable */
.cta-banner .container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 18px 10px;
  gap: 16px;
  margin: 0 auto;
}

.cta-banner .cta-text {
  width: auto;
  max-width: 640px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  text-align: center;
}

.cta-banner .cta-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  flex-shrink: 0;
}

.cta-banner .cta-text > div:last-child {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta-banner > .container > a.btn-call,
.cta-banner > .container > a.btn-cta,
.cta-banner .btn-call {
  flex: 0 0 auto;
}


.cta-banner .btn-cta { 
  flex-shrink: 0;
}

/* ---- original rules continue ---- */
/* (display/align/padding already handled above) */

.cta-banner h3 {
  color: var(--navy-950);
  font-size: 27px;
  max-width: 520px;
}

.cta-banner p {
  color: rgba(7, 27, 51, 0.7);
  margin-top: 8px;
  font-size: 14.5px;
}

.cta-banner .btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 24px;
  border-radius: 8px;
  background: var(--navy-950);
  color: var(--white);
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(8, 27, 48, 0.16);
}

.cta-banner .btn-cta:hover {
  background: var(--navy-700);
  transform: translateY(-2px);
}

/* ---------------- Footer ---------------- */

.site-footer {
  background: var(--navy-dark);
  color: rgba(255, 255, 255, 0.8);
  padding: 56px 0 22px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 34px;
  margin-bottom: 36px;
}

.footer-grid h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 16px;
}

.footer-brand .logo-footer {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.footer-brand .logo-footer img {
  height: 36px;
}

.footer-brand p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.6);
  max-width: 260px;
}

.footer-grid ul li {
  margin-bottom: 10px;
  font-size: 0.9rem;
}

.footer-grid ul li a:hover {
  color: var(--gold);
}

.footer-contact li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.social-row {
  display: flex;
  gap: 12px;
  margin-top: 6px;
}

.social-row a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease;
}

.social-row a:hover {
  background: var(--gold);
  color: var(--navy-dark);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 20px;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ---------------- About page ---------------- */

.our-story {
  background: linear-gradient(135deg, rgba(8, 27, 48, 0.98), rgba(13, 43, 75, 0.96));
  color: var(--white);
  padding: 72px 0;
  width: 90%;
  margin-left: 5%;
  border-radius: 42px;
  margin-bottom: 28px;
}

.story-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 34px;
  align-items: center;
  margin-bottom: 0;
}

.story-copy {
  margin-bottom: 80px;
}
.story-copy h2 {
  color: var(--white);
  font-size: 2rem;
  margin-bottom: 18px;
}

.story-copy p {
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 16px;
  line-height: 1.8;
}

.breadcrumb {
  font-size: 13px;
  color: #9FB0C8;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  font-family: 'IBM Plex Mono', monospace;
}

.story-media img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 20px 38px rgba(8, 27, 48, 0.28);
  min-height: 350px;
  object-fit: cover;
}

/*
.mission-vision-wrapper {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 28px;
  margin-bottom: 64px;
  box-shadow: 0 18px 40px rgba(8, 27, 48, 0.24);
}
*/
.mission-vision {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.mv-card {
  position: relative;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 250, 253, 0.98));
  border-radius: 18px;
  padding: 26px 26px 26px 22px;
  display: flex;
  gap: 18px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 12px 28px rgba(8, 27, 48, 0.1);
  overflow: hidden;
}

.mv-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--gold), var(--gold-dark));
}

.mv-card .icon-badge {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(245, 166, 35, 0.2), rgba(255, 255, 255, 0.95));
  box-shadow: inset 0 0 0 1px rgba(13, 42, 74, 0.06), 0 10px 22px rgba(8, 27, 48, 0.1);
  color: var(--navy);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mv-card h4 {
  margin-bottom: 8px;
  font-size: 1.1rem;
  color: var(--navy);
}

.mv-card p {
  color: var(--text-muted);
  font-size: 0.94rem;
  line-height: 1.75;
}

.why-choose-us{
  margin-bottom: 20px;
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  text-align: center;
  margin-bottom: 64px;
}

.why-item .icon-badge {
  margin: 0 auto 14px;
}

.why-item h4 {
  font-size: 0.95rem;
}

.team-section {
  padding: 72px 0;
  margin-bottom: 20px;
}

.team-marquee-wrap {
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  display: flex;
  justify-content: center;
}

.team-track {
  display: flex;
  gap: 18px;
  width: max-content;
  padding: 8px 0 10px;
  will-change: transform;
  transform: translateX(0);
  align-items: stretch;
  justify-content: center;
}

.team-card {
  width: 200px;
  min-width: 200px;
  height: 320px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

@media (max-width: 1024px) {
  .team-card {
    width: 180px;
    min-width: 180px;
    height: 305px;
  }

  .team-photo {
    width: 132px;
    height: 132px;
  }
}

@media (max-width: 820px) {
  .team-track {
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
  }

  .team-card {
    width: calc(50% - 10px);
    min-width: 0;
    max-width: 320px;
    height: auto;
  }
}

@media (max-width: 760px) {
  .team-card {
    width: 82vw;
    min-width: 82vw;
    max-width: 320px;
    height: auto;
  }

  .team-photo {
    width: 140px;
    height: 140px;
    margin-top: 14px;
  }
}

@media (max-width: 480px) {
  .team-card {
    width: 86vw;
    min-width: 86vw;
    height: auto;
  }

  .team-photo {
    width: 128px;
    height: 128px;
  }
}

.team-photo {
  width: 150px;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(245, 166, 35, 0.18), rgba(13, 42, 74, 0.05));
  font-size: 2.5rem;
  color: var(--navy);
  overflow: hidden;
  padding: 6px;
  border-radius: 50%;
  aspect-ratio: 1 / 1;
  margin: 16px auto 0;
  flex-shrink: 0;
}

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

.team-card .info {
  padding: 18px 18px 20px;
  align-items: center;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
}

.team-card h5 {
  color: var(--navy);
  font-size: 1rem;
  margin-bottom: 6px;
  text-align: center;
}

.team-card span {
  display: block;
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-bottom: 12px;
  text-align: center;
  line-height: 1.45;
}

.team-card .social {
  display: flex;
  gap: 10px;
}

.team-card .social a {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
}

.team-card .social a:hover {
  background: var(--gold);
  color: var(--navy-dark);
}

/* ---------------- Services page ---------------- */

.service-filters-bar {
  background: var(--white);
  position: sticky;
  top: 82px;
  z-index: 40;
}
#kra{
  margin-top: -50px;
}
#digital{
  margin-top: -180px;
}
#cyber{
  margin-top: -180px;
}

.service-filters {
  display: flex;
  gap: 14px;
  padding: 18px 0;
  flex-wrap: wrap;
}

.service-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: var(--white);
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.service-filter-btn:hover {
  background: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(245, 166, 35, 0.28);
}

.service-filter-btn.active {
  background: var(--navy-950);
  color: var(--white);
}

.service-filter-btn i {
  color: var(--white);
}

.svc-category {
  margin-bottom: 26px;
  scroll-margin-top: 142px;
}

.svc-category-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 30px;
}

.svc-category-head .icon-big {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #fff;
  flex-shrink: 0;
}

.svc-category-head h2 {
  font-size: 26px;
}

.svc-category-head p {
  color: var(--text-muted);
  font-size: 13.5px;
  margin-top: 4px;
}

.svc-list-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

/* Ensure service cards never overflow narrow viewports */
.svc-item {
  min-width: 0;
}

.svc-item > div {
  min-width: 0;
}

.svc-item h5 {
  line-height: 1.25;
}

.svc-item p {
  line-height: 1.6;
}

.svc-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px 22px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  transition: 0.2s;
}

.svc-item:hover {
  border-color: var(--gold-400);
  box-shadow: 0 10px 24px rgba(11, 37, 69, 0.08);
}

.svc-item i {
  color: var(--gold-500);
  font-size: 16px;
  margin-top: 2px;
}

.svc-item h5 {
  font-size: 14.5px;
  margin-bottom: 4px;
  color: var(--navy-950);
}

.svc-item p {
  font-size: 12.5px;
  color: var(--text-muted);
}

.category-divider {
  height: 1px;
  background: var(--border);
  margin: 60px 0;
}

.services-list-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.services-list-grid .card ul {
  margin-top: 6px;
}

.services-list-grid .card li {
  font-size: 0.92rem;
  color: var(--text-dark);
  padding: 8px 0;
  border-bottom: 1px dashed var(--border);
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.services-list-grid .card li:last-child {
  border-bottom: none;
}

.services-list-grid .card li::before {
  content: "✓";
  color: var(--gold-dark);
  font-weight: 700;
}

.services-list-grid .card h3 {
  border-bottom: 2px solid var(--gold);
  padding-bottom: 12px;
  margin-bottom: 4px;
}

/* ---------------- News page ---------------- */

.news-hero-card {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  margin-bottom: 20px;
  box-shadow: var(--shadow);
  margin-top: -60px;
}

.news-hero-media {
  background: linear-gradient(135deg, var(--navy-700), var(--navy-950));
  position: relative;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

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

.news-hero-media i {
  font-size: 70px;
  color: rgba(255, 255, 255, 0.85);
}

.news-hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(115deg, rgba(245, 166, 35, 0.12) 0 2px, transparent 2px 26px);
}

.news-hero-body {
  padding: 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.news-hero-body h2 {
  font-size: 1.9rem;
  margin-bottom: 14px;
}

.news-hero-body p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 22px;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.news-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.news-media {
  height: 180px;
  background: linear-gradient(135deg, var(--navy-700), var(--navy-950));
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

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

.news-media i {
  font-size: 42px;
  color: rgba(255, 255, 255, 0.85);
}

.news-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(115deg, rgba(245, 166, 35, 0.12) 0 2px, transparent 2px 26px);
}

.news-media .cat-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--gold-500);
  color: var(--navy-950);
  font-size: 11px;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: 20px;
  z-index: 1;
}

.news-body {
  padding: 24px;
}

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

  .news-hero-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .news-grid {
    grid-template-columns: 1fr;
  }

  .news-media {
    height: 220px;
  }
}

.news-body h4 {
  font-size: 1.05rem;
  margin: 10px 0 10px;
  line-height: 1.35;
}

.news-body p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 18px;
}

.read-more {
  font-weight: 700;
  font-size: 13px;
  color: var(--navy-950);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--gold-500);
  color: var(--navy-950);
  font-weight: 700;
  text-decoration: none;
}

.newsletter-box {
  background: var(--navy-950);
  border-radius: 16px;
  padding: 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: 60px;
}

.newsletter-box h3 {
  color: #fff;
  font-size: 22px;
  max-width: 400px;
}

.newsletter-box p {
  color: #AEBBD1;
  font-size: 13.5px;
  margin-top: 8px;
}

.newsletter-form {
  display: flex;
  gap: 10px;
}

.newsletter-form input {
  padding: 13px 16px;
  border-radius: 6px;
  border: none;
  width: 240px;
  font-family: 'Inter', sans-serif;
  font-size: 13.5px;
}

.newsletter-form button {
  background: var(--gold-500);
  color: var(--navy-950);
  border: none;
  padding: 13px 22px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 13.5px;
  cursor: pointer;
}

@media (max-width: 680px) {
  .newsletter-box {
    padding: 28px 20px;
    gap: 18px;
  }

  .newsletter-form {
    width: 100%;
    flex-direction: column;
  }

  .newsletter-form input {
    width: 100%;
  }

  .newsletter-form button {
    width: 100%;
  }
}

/* ---------------- Contact page ---------------- */

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 30px;
  align-items: start;
  margin-bottom: 60px;
}

.contact-info-card,
.contact-form-card,
.business-hours {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.contact-info-card {
  padding: 28px;
  background: linear-gradient(180deg, #f8fbfd 0%, #f3f7fb 100%);
}

.contact-info-card .info-row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(13, 42, 74, 0.08);
}

.contact-info-card .info-row:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.contact-info-card .info-row svg {
  width: 42px;
  height: 42px;
  padding: 9px;
  border-radius: 50%;
  background: rgba(245, 166, 35, 0.13);
  color: var(--navy);
  flex-shrink: 0;
}

.contact-info-card .info-row h4 {
  font-size: 0.98rem;
  margin-bottom: 4px;
}

.contact-info-card .info-row p {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.contact-form-card {
  padding: 32px;
}

.contact-form-card h3 {
  font-size: 1.45rem;
  margin-bottom: 22px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.form-row.single {
  grid-template-columns: 1fr;
}

label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
}

input, textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.94rem;
  color: var(--text-dark);
  background: #fbfdff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

input:focus, textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(245, 166, 35, 0.18);
}

textarea {
  resize: vertical;
  min-height: 130px;
}

.form-status {
  margin-top: 14px;
  font-size: 0.9rem;
  font-weight: 700;
  min-height: 20px;
}

.form-status.success {
  color: #1a7a3c;
}

.form-status.error {
  color: #c0392b;
}

.map-embed {
  margin-top: 24px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
  height: 280px;
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.business-hours {
  margin-top: 24px;
  padding: 24px 28px;
}

.business-hours h4 {
  font-size: 1rem;
  margin-bottom: 10px;
}

.business-hours p {
  color: var(--text-muted);
  font-size: 0.93rem;
}

.business-hours {
  margin-top: 18px;
  background: var(--bg-light);
  border-radius: var(--radius);
  padding: 18px 20px;
  font-size: 0.9rem;
}

.business-hours h4 {
  font-size: 0.95rem;
  margin-bottom: 8px;
}

.business-hours p {
  color: var(--text-muted);
  margin-bottom: 2px;
}

/* ---------------- Back-to-top ---------------- */

.back-to-top {
  position: fixed;
  bottom: 26px;
  right: 26px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-hover);
  border: none;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 999;
  font-size: 1.1rem;
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
}

.back-to-top:hover {
  transform: translateY(-3px);
}

/* ---------------- Responsive ---------------- */

@media (max-width: 1120px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-form-card,
  .contact-info-card,
  .business-hours {
    width: 100%;
  }

  .map-embed {
    height: 260px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .hero-copy {
    max-width: none;
  }

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

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

  .story-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .story-copy {
    margin-bottom: 24px;
  }

  .mission-vision {
    grid-template-columns: 1fr;
  }

  .cta-banner .container {
    gap: 16px;
  }
}

@media (max-width: 980px) {
  .svc-list-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .svc-item {
    padding: 18px 18px;
    min-width: 0;
  }




  .cta-banner .container {
    justify-content: center;
    text-align: center;
  }

  .cta-banner {
    text-align: center;
  }

  .cta-banner a.btn-cta {
    width: auto;
  }

  .topbar .container {

    height: auto;
    padding: 8px 0;
    flex-direction: column;
    gap: 8px;
  }

  .topbar-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero,
  .why-choose-us,
  .cta-banner,
  .our-story {
    width: 100%;
    margin-left: 0;
    border-radius: 32px;
  }

  .hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .why-list {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 760px) {
  .svc-list-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .svc-category-head {
    align-items: flex-start;
  }

  .svc-item {
    padding: 18px 16px;
  }

  .svc-category-head h2 {
    font-size: 24px;
  }

  .svc-item p {
    font-size: 12.8px;
  }

  .cta-banner {
    text-align: center;
  }

  .cta-banner .container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
    padding: 12px 12px;
  }

  .cta-banner .btn-cta {
    width: 100%;
    justify-content: center;
    max-width: 260px;
  }

  .nav-toggle {
    display: flex;
  }

  .contact-grid {
    gap: 24px;
  }

  .contact-form-card,
  .contact-info-card,
  .business-hours {
    padding: 20px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .map-embed {
    height: 220px;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 10px 24px 20px;
    border-bottom: 1px solid var(--border);
    display: none;
    gap: 18px;
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 14px;
  }

  .main-nav .btn {
    width: 100%;
  }

  .hero,
  .why-choose-us,
  .cta-banner,
  .our-story {
    border-radius: 24px;
  }

  .our-story {
    padding: 48px 0;
  }

  .story-grid,
  .mission-vision {
    grid-template-columns: 1fr;
  }

  .mv-card {
    align-items: flex-start;
  }

  .story-media img {
    min-height: 240px;
  }

  .hero h1 {
    font-size: 2.1rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-buttons .btn,
  .btn-gold {
    width: 100%;
    justify-content: center;
  }

  .hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .why-choose-us {
    padding: 56px 0;
  }

  .partners-track {
    gap: 12px;
  }

  .partner-logo {
    min-width: 120px;
    height: 64px;
  }

  .cta-banner .container {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .cta-banner .btn-cta {
    width: 100%;
    justify-content: center;
  }

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

@media (max-width: 540px) {
  .svc-list-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .svc-item {
    padding: 16px 14px;
  }

  .cta-banner .container {
    padding: 10px 10px;
  }

  .cta-banner h3 {
    font-size: 1.35rem;
  }

  .cta-banner p {
    font-size: 0.92rem;
  }

  .header-inner {

    padding: 10px 14px;
  }

  .contact-form-card h3 {
    font-size: 1.2rem;
  }

  .contact-info-card .info-row {
    gap: 12px;
  }

  .contact-info-card .info-row svg {
    width: 36px;
    height: 36px;
    padding: 7px;
  }

  .logo img {
    height: 48px;
  }

  .topbar-links {
    gap: 10px;
  }

  .topbar-links span {
    font-size: 11.5px;
  }

  .hero {
    padding: 36px 0 28px;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .hero-image-placeholder,
  .hero-image-placeholder img {
    min-height: 220px;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .section-head h2,
  .why-choose-us h2 {
    font-size: 1.7rem;
  }

  .why-list .item {
    padding: 14px;
  }

  .partner-logo {
    min-width: 102px;
    height: 58px;
  }

  .cta-banner h3 {
    font-size: 1.45rem;
  }

  .cta-banner p {
    font-size: 0.9rem;
  }

  section {
    padding: 52px 0;
  }
}

@media (max-width: 380px) {
  .container {
    padding-inline: 12px;
  }

  .hero h1 {
    font-size: 1.6rem;
  }

  .hero p,
  .section-head p,
  .why-choose-us p,
  .cta-banner p {
    font-size: 0.9rem;
  }

  .why-list .item {
    flex-direction: column;
    align-items: flex-start;
  }

  .partner-logo {
    min-width: 88px;
    padding: 8px 12px;
  }

  .partner-logo img {
    max-width: 74px;
  }
}

@media (max-width: 320px) {
  .header-inner {
    padding: 8px 10px;
  }

  .logo img {
    height: 40px;
  }

  .hero-buttons .btn,
  .cta-banner .btn-cta,
  .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-stats div {
    padding: 0;
  }

  .hero-stats strong {
    font-size: 0.9rem;
  }

  .hero-stats span {
    font-size: 0.68rem;
  }

  .section-head h2,
  .why-choose-us h2 {
    font-size: 1.45rem;
  }
}

@media (max-width: 245px) {
  .container {
    padding-inline: 8px;
  }

  .contact-form-card,
  .contact-info-card,
  .business-hours {
    padding: 16px;
  }

  .contact-form-card h3 {
    font-size: 1.06rem;
  }

  .form-row {
    gap: 12px;
  }

  textarea {
    min-height: 110px;
  }

  .map-embed {
    height: 180px;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 1.32rem;
    line-height: 1.3;
  }

  .hero-buttons,
  .topbar-links,
  .footer-grid {
    gap: 10px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-buttons .btn,
  .cta-banner .btn-cta {
    width: 100%;
    justify-content: center;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .partner-logo {
    min-width: 76px;
    height: 52px;
  }

  .cta-banner h3 {
    font-size: 1.1rem;
  }

  .cta-banner .container {
    padding-inline: 12px;
  }
}

@media (max-height: 245px) {
  section {
    padding: 28px 0;
  }

  .hero,
  .page-hero,
  .why-choose-us,
  .cta-banner {
    min-height: auto;
  }
}
