
/* =========================================
   SARFCO | Main Design System
========================================= */

:root {
  --navy: #102C3A;
  --navy-dark: #0A202B;
  --navy-soft: #1A3D4B;
  --teal: #16B8A6;
  --teal-dark: #0D9488;
  --teal-light: #E7F8F5;
  --white: #FFFFFF;
  --surface: #F5F9FA;
  --text: #18313B;
  --muted: #71838A;
  --border: #E1EAED;
  --shadow: 0 18px 50px rgba(16, 44, 58, 0.08);
  --shadow-hover: 0 25px 55px rgba(16, 44, 58, 0.14);
  --radius: 20px;
  --transition: 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  font-family: "Cairo", sans-serif;
  background: var(--white);
  color: var(--text);
  line-height: 1.8;
  overflow-x: hidden;
}

body,
button,
input,
textarea {
  font-family: "Cairo", sans-serif;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
}

img,
svg {
  max-width: 100%;
}

.container {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.section {
  padding: 100px 0;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--teal-dark);
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 12px;
}

.section-label::before {
  content: "";
  width: 24px;
  height: 3px;
  border-radius: 10px;
  background: var(--teal);
}

.section-heading {
  max-width: 700px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-heading h2,
.about-content h2 {
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.5;
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 14px;
}

.section-heading h2 span,
.about-content h2 span {
  color: var(--teal-dark);
}

.section-heading p,
.about-content p {
  color: var(--muted);
  font-size: 15px;
}

/* Top bar */

.topbar {
  background: var(--navy-dark);
  color: #D8E7EA;
  font-size: 12px;
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 38px;
  gap: 16px;
}

.topbar p {
  display: flex;
  align-items: center;
  gap: 8px;
}

.topbar i {
  color: var(--teal);
}

/* Header and navigation */

.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(225, 234, 237, 0.8);
  backdrop-filter: blur(16px);
  transition: box-shadow var(--transition);
}

.header.scrolled {
  box-shadow: 0 8px 30px rgba(16, 44, 58, 0.09);
}

.nav-wrapper {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}

.brand-icon {
  width: 47px;
  height: 47px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  color: var(--white);
  font-size: 23px;
  background: linear-gradient(140deg, var(--teal), var(--teal-dark));
  box-shadow: 0 8px 18px rgba(22, 184, 166, 0.22);
  transform: rotate(-4deg);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.35;
}

.brand-text strong {
  color: var(--navy);
  font-size: 25px;
  font-weight: 900;
}

.brand-text small {
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.4px;
  direction: ltr;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 21px;
}

.nav-link {
  position: relative;
  color: #50646D;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  transition: color var(--transition);
}

.nav-link::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -9px;
  width: 0;
  height: 2px;
  border-radius: 5px;
  background: var(--teal);
  transition: width var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--teal-dark);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--navy);
  color: var(--white);
  padding: 12px 17px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
  transition: background var(--transition), transform var(--transition);
}

.nav-cta:hover {
  background: var(--teal-dark);
  transform: translateY(-2px);
}

.nav-cta i {
  font-size: 11px;
  color: var(--teal);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--navy);
  border-radius: 12px;
  font-size: 19px;
}

/* Hero */

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 72px 0 88px;
  background:
    radial-gradient(ellipse at 8% 10%, rgba(22, 184, 166, 0.1), transparent 32%),
    linear-gradient(135deg, #FFFFFF 0%, #F3FAFA 100%);
}

.hero-shape {
  position: absolute;
  z-index: -1;
  border: 1px solid rgba(22, 184, 166, 0.12);
  border-radius: 50%;
  pointer-events: none;
}

.hero-shape-one {
  width: 440px;
  height: 440px;
  top: -230px;
  left: -80px;
}

.hero-shape-two {
  width: 280px;
  height: 280px;
  bottom: -180px;
  right: 38%;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  align-items: center;
  gap: 55px;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--teal-dark);
  background: var(--teal-light);
  border: 1px solid #D1F0EA;
  border-radius: 100px;
  padding: 7px 14px;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 22px;
}

.eyebrow-dot,
.status-dot {
  width: 8px;
  height: 8px;
  background: var(--teal);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(22, 184, 166, 0.12);
}

.hero h1 {
  max-width: 620px;
  color: var(--navy);
  font-size: clamp(36px, 4.2vw, 57px);
  line-height: 1.45;
  font-weight: 900;
  letter-spacing: -1px;
}

.hero h1 span {
  display: block;
  color: var(--teal-dark);
}

.hero-description {
  max-width: 590px;
  color: #647780;
  font-size: 15px;
  line-height: 2.1;
  margin-top: 19px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 13px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.btn {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 21px;
  border: 1px solid transparent;
  border-radius: 13px;
  font-size: 13px;
  font-weight: 800;
  transition:
    transform var(--transition),
    background var(--transition),
    box-shadow var(--transition);
}

.btn:hover {
  transform: translateY(-3px);
}

.btn-primary {
  background: var(--teal-dark);
  color: var(--white);
  box-shadow: 0 10px 25px rgba(13, 148, 136, 0.2);
}

.btn-primary:hover {
  background: #087C73;
  box-shadow: 0 15px 30px rgba(13, 148, 136, 0.25);
}

.btn-primary i {
  font-size: 19px;
}

.btn-outline {
  color: var(--navy);
  border-color: #CEDDE1;
  background: rgba(255, 255, 255, 0.8);
}

.btn-outline:hover {
  border-color: var(--teal);
  color: var(--teal-dark);
}

.hero-features {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 32px;
}

.hero-features div {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #526971;
  font-size: 11px;
  font-weight: 700;
}

.hero-features i {
  color: var(--teal-dark);
  font-size: 15px;
}

/* Hero image placeholder */

.hero-visual {
  min-width: 0;
  position: relative;
  padding: 25px;
}

.image-placeholder {
  position: relative;
  min-height: 410px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
  color: var(--muted);
  border: 2px dashed #A8CFCA;
  border-radius: 30px;
  background:
    linear-gradient(145deg, rgba(22, 184, 166, 0.055), transparent 60%),
    #EAF4F4;
  overflow: hidden;
}

.image-placeholder::before,
.image-placeholder::after {
  content: "";
  position: absolute;
  width: 190px;
  height: 190px;
  border: 1px solid rgba(22, 184, 166, 0.14);
  border-radius: 50%;
}

.image-placeholder::before {
  top: -100px;
  right: -65px;
}

.image-placeholder::after {
  bottom: -115px;
  left: -55px;
}

.image-placeholder > * {
  position: relative;
  z-index: 1;
}

.image-placeholder > i {
  font-size: 52px;
  color: #83BEB7;
}

.image-placeholder strong {
  color: var(--navy);
  font-size: 16px;
}

.image-placeholder span {
  max-width: 230px;
  font-size: 12px;
}

.floating-card {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 175px;
  padding: 13px 16px;
  background: var(--white);
  border: 1px solid rgba(225, 234, 237, 0.9);
  border-radius: 16px;
  box-shadow: var(--shadow);
  animation: float-card 4s ease-in-out infinite;
}

.floating-card-top {
  top: 3px;
  right: -4px;
}

.floating-card-bottom {
  bottom: 7px;
  left: -7px;
  animation-delay: -2s;
}

.floating-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--teal-dark);
  background: var(--teal-light);
  border-radius: 12px;
  font-size: 19px;
}

.floating-card > span:last-child {
  display: flex;
  flex-direction: column;
}

.floating-card strong {
  color: var(--navy);
  font-size: 12px;
}

.floating-card small {
  color: var(--muted);
  font-size: 10px;
}

.floating-card .status-dot {
  flex-shrink: 0;
}

.scroll-indicator {
  position: absolute;
  bottom: 18px;
  left: 50%;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid #D8E9E7;
  border-radius: 50%;
  color: var(--teal-dark);
  font-size: 12px;
  animation: bounce-down 1.8s infinite;
}

/* Service strip */

.service-strip {
  background: var(--navy);
  color: var(--white);
  padding: 22px 0;
}

.service-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.service-strip-grid > div {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  font-size: 13px;
  font-weight: 700;
}

.service-strip-grid i {
  color: var(--teal);
  font-size: 20px;
}

/* Services */

.services-section {
  background: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 23px;
}

.service-card {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 300px;
  padding: 30px 26px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  overflow: hidden;
  transition:
    transform var(--transition),
    border-color var(--transition),
    box-shadow var(--transition);
}

.service-card::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  right: 0;
  width: 4px;
  height: 0;
  background: var(--teal);
  transition: height var(--transition);
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: #B5E6DF;
  box-shadow: var(--shadow-hover);
}

.service-card:hover::before {
  height: 100%;
}

.service-icon {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  color: var(--teal-dark);
  background: var(--teal-light);
  font-size: 25px;
  transition:
    transform var(--transition),
    background var(--transition),
    color var(--transition);
}

.service-card:hover .service-icon {
  transform: rotate(-7deg) scale(1.05);
  background: var(--teal-dark);
  color: var(--white);
}

.service-number {
  position: absolute;
  top: 27px;
  left: 24px;
  color: #D8E4E7;
  font-size: 23px;
  font-weight: 900;
  direction: ltr;
}

.service-card h3 {
  margin-top: 22px;
  color: var(--navy);
  font-size: 18px;
  font-weight: 900;
}

.service-card p {
  margin-top: 9px;
  color: var(--muted);
  font-size: 13px;
  line-height: 2;
}

.service-link {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: auto;
  padding-top: 20px;
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 900;
}

.service-link i {
  transition: transform var(--transition);
}

.service-card:hover .service-link i {
  transform: translateX(-5px);
}

/* About */

.about-section {
  background: var(--surface);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 75px;
  align-items: center;
}

.about-visual {
  position: relative;
  min-height: 380px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 30px;
  background: linear-gradient(145deg, var(--navy), #1B4A57);
}

.about-pattern {
  position: absolute;
  inset: -30%;
  opacity: 0.65;
  background:
    radial-gradient(circle at 30% 35%, transparent 0 70px, rgba(22,184,166,.24) 71px 72px, transparent 73px),
    radial-gradient(circle at 60% 60%, transparent 0 120px, rgba(22,184,166,.18) 121px 122px, transparent 123px);
  transform: rotate(-18deg);
}

.about-icon-main {
  position: relative;
  z-index: 1;
  width: 130px;
  height: 130px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 35px;
  color: var(--white);
  background: rgba(22,184,166,.2);
  font-size: 65px;
  transform: rotate(-7deg);
}

.about-caption {
  position: absolute;
  bottom: 22px;
  left: 25px;
  color: #9BCBC7;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2px;
  direction: ltr;
}

.about-content h2 {
  margin-bottom: 18px;
}

.about-content p + p {
  margin-top: 14px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 25px;
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 900;
}

.text-link i {
  transition: transform var(--transition);
}

.text-link:hover i {
  transform: translateX(-5px);
}

/* Why us */

.why-section {
  background: var(--white);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.why-card {
  padding: 29px 23px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid transparent;
  transition:
    background var(--transition),
    border-color var(--transition),
    transform var(--transition);
}

.why-card:hover {
  background: var(--white);
  border-color: #BDE9E3;
  transform: translateY(-5px);
}

.why-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: var(--teal-dark);
  background: #DDF5F1;
  font-size: 22px;
  margin-bottom: 18px;
}

.why-card h3 {
  color: var(--navy);
  font-size: 16px;
  font-weight: 900;
  margin-bottom: 8px;
}

.why-card p {
  color: var(--muted);
  font-size: 12px;
  line-height: 2;
}

/* Contact banner */

.contact-banner {
  position: relative;
  overflow: hidden;
  padding: 55px 0;
  color: var(--white);
  background:
    radial-gradient(circle at 5% 10%, rgba(22,184,166,.23), transparent 35%),
    var(--navy);
}

.contact-banner::after {
  content: "";
  position: absolute;
  left: -80px;
  bottom: -160px;
  width: 330px;
  height: 330px;
  border: 1px solid rgba(22,184,166,.2);
  border-radius: 50%;
  pointer-events: none;
}

.contact-banner-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.contact-banner .section-label {
  color: #66DCCF;
}

.contact-banner h2 {
  font-size: clamp(27px, 3vw, 38px);
  font-weight: 900;
  line-height: 1.5;
}

.contact-banner p {
  margin-top: 8px;
  color: #B8CCD1;
  font-size: 13px;
}

.contact-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn-light {
  background: var(--white);
  color: var(--navy);
}

.btn-light:hover {
  background: #E9FAF7;
}

.btn-dark {
  background: #254654;
  border-color: #3B5B67;
  color: var(--white);
}

.btn-dark:hover {
  background: #315B69;
}

/* FAQ */

.faq-section {
  background: var(--surface);
}

.faq-container {
  max-width: 850px;
}

.faq-list {
  display: grid;
  gap: 13px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color var(--transition);
}

.faq-item[open] {
  border-color: #A5DDD5;
}

.faq-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 20px 23px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary i {
  color: var(--teal-dark);
  transition: transform var(--transition);
}

.faq-item[open] summary i {
  transform: rotate(45deg);
}

.faq-item p {
  padding: 0 23px 21px;
  color: var(--muted);
  font-size: 13px;
  line-height: 2;
}

/* Footer */

.footer {
  background: var(--navy-dark);
  color: #B9CDD2;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr 1fr;
  gap: 45px;
  padding-top: 65px;
  padding-bottom: 55px;
}

.brand-footer .brand-text strong {
  color: var(--white);
}

.brand-footer .brand-text small {
  color: #8CAAB2;
}

.footer-brand > p {
  max-width: 310px;
  margin-top: 19px;
  color: #9EB5BC;
  font-size: 12px;
  line-height: 2.2;
}

.footer-links,
.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.footer-links h3,
.footer-contact h3 {
  margin-bottom: 8px;
  color: var(--white);
  font-size: 15px;
  font-weight: 900;
}

.footer-links a,
.footer-contact a,
.footer-contact p {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: #9EB5BC;
  font-size: 12px;
  line-height: 1.9;
  transition: color var(--transition);
}

.footer-links a:hover,
.footer-contact a:hover {
  color: var(--teal);
}

.footer-contact i {
  margin-top: 6px;
  color: var(--teal);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.09);
}

.footer-bottom .container {
  min-height: 65px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.footer-bottom p,
.footer-bottom a {
  font-size: 11px;
  color: #88A4AC;
}

.footer-bottom a {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-bottom a:hover {
  color: var(--teal);
}

/* Floating contact */

.floating-contact {
  position: fixed;
  z-index: 900;
  bottom: 23px;
  left: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.floating-contact a {
  position: relative;
  width: 53px;
  height: 53px;
  display: grid;
  place-items: center;
  color: var(--white);
  border-radius: 18px;
  font-size: 23px;
  box-shadow: 0 8px 25px rgba(0,0,0,.18);
  transition: transform var(--transition);
}

.floating-contact a:hover {
  transform: translateY(-4px) scale(1.05);
}

.floating-whatsapp {
  background: #1EBE70;
}

.floating-call {
  background: var(--navy);
}

/* Animations */

@keyframes float-card {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes bounce-down {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(7px);
  }
}

/* Accessibility */

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid #4DD8C7;
  outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}



/* =========================================
   SARFCO | Responsive Layout
========================================= */

@media (min-width: 1500px) {
  .container {
    width: min(1280px, calc(100% - 80px));
  }
}

@media (max-width: 1100px) {
  .nav-wrapper {
    gap: 15px;
  }

  .nav-menu {
    gap: 13px;
  }

  .nav-link {
    font-size: 12px;
  }

  .nav-cta {
    padding: 11px 13px;
  }

  .hero-grid {
    gap: 28px;
  }

  .hero h1 {
    font-size: 43px;
  }

  .hero-visual {
    padding: 18px;
  }

  .image-placeholder {
    min-height: 360px;
  }

  .services-grid {
    gap: 17px;
  }

  .service-card {
    padding: 25px 21px;
  }

  .about-grid {
    gap: 45px;
  }

  .why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    gap: 28px;
  }
}

@media (max-width: 900px) {
  .section {
    padding: 75px 0;
  }

  .nav-wrapper {
    min-height: 75px;
  }

  .menu-toggle {
    display: grid;
    place-items: center;
    margin-inline-start: auto;
  }

  .nav-cta {
    display: none;
  }

  .nav-menu {
    position: absolute;
    top: calc(100% + 1px);
    right: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 24px 20px;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 18px 30px rgba(16, 44, 58, 0.08);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition:
      opacity 0.25s ease,
      transform 0.25s ease,
      visibility 0.25s ease;
  }

  .nav-menu.mobile-open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .nav-link {
    display: block;
    padding: 13px 0;
    border-bottom: 1px solid #EEF2F3;
    font-size: 14px;
  }

  .nav-link::after {
    display: none;
  }

  .nav-link:last-child {
    border-bottom: 0;
  }

  .hero {
    padding: 55px 0 75px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .hero-content {
    max-width: 720px;
  }

  .hero h1 {
    max-width: 700px;
    font-size: clamp(35px, 6vw, 49px);
  }

  .hero-description {
    max-width: 680px;
  }

  .hero-visual {
    width: min(100%, 650px);
    margin-inline: auto;
  }

  .image-placeholder {
    min-height: 350px;
  }

  .service-strip-grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 20px;
  }

  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .about-visual {
    min-height: 310px;
  }

  .about-content {
    max-width: 720px;
  }

  .contact-banner-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 35px;
  }
}

@media (max-width: 560px) {
  .container {
    width: calc(100% - 32px);
  }

  .section {
    padding: 58px 0;
  }

  .topbar-inner {
    min-height: 35px;
    justify-content: center;
  }

  .topbar-inner p {
    font-size: 10px;
  }

  .topbar-inner p:last-child {
    display: none;
  }

  .nav-wrapper {
    min-height: 69px;
  }

  .brand-icon {
    width: 42px;
    height: 42px;
    border-radius: 13px;
    font-size: 20px;
  }

  .brand-text strong {
    font-size: 22px;
  }

  .brand-text small {
    font-size: 8px;
  }

  .hero {
    padding: 43px 0 64px;
  }

  .eyebrow {
    font-size: 10px;
    margin-bottom: 17px;
  }

  .hero h1 {
    font-size: clamp(30px, 8.5vw, 39px);
    letter-spacing: 0;
    line-height: 1.55;
  }

  .hero-description {
    font-size: 13px;
    line-height: 2.05;
    margin-top: 14px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 11px;
    margin-top: 24px;
  }

  .btn {
    width: 100%;
    min-height: 49px;
    font-size: 12px;
  }

  .hero-features {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px 8px;
    margin-top: 25px;
  }

  .hero-features div {
    font-size: 10px;
  }

  .hero-visual {
    padding: 12px 8px;
    margin-top: 5px;
  }

  .image-placeholder {
    min-height: 260px;
    border-radius: 23px;
  }

  .image-placeholder > i {
    font-size: 40px;
  }

  .image-placeholder strong {
    font-size: 13px;
  }

  .image-placeholder span {
    font-size: 10px;
  }

  .floating-card {
    min-width: 145px;
    gap: 9px;
    padding: 10px;
    border-radius: 13px;
  }

  .floating-card-top {
    top: 0;
    right: -1px;
  }

  .floating-card-bottom {
    bottom: 0;
    left: -1px;
  }

  .floating-icon {
    width: 35px;
    height: 35px;
    font-size: 16px;
  }

  .floating-card strong {
    font-size: 10px;
  }

  .floating-card small {
    font-size: 9px;
  }

  .scroll-indicator {
    display: none;
  }

  .service-strip {
    padding: 21px 0;
  }

  .service-strip-grid {
    gap: 17px 8px;
  }

  .service-strip-grid > div {
    justify-content: flex-start;
    gap: 9px;
    font-size: 10px;
  }

  .service-strip-grid i {
    font-size: 16px;
  }

  .section-heading {
    margin-bottom: 30px;
  }

  .section-heading h2,
  .about-content h2 {
    font-size: 27px;
    line-height: 1.6;
  }

  .section-heading p,
  .about-content p {
    font-size: 12px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .service-card {
    min-height: 265px;
    padding: 23px;
    border-radius: 17px;
  }

  .service-icon {
    width: 54px;
    height: 54px;
    font-size: 22px;
    border-radius: 15px;
  }

  .service-card h3 {
    margin-top: 17px;
    font-size: 16px;
  }

  .service-card p {
    font-size: 12px;
  }

  .service-number {
    top: 22px;
    left: 20px;
    font-size: 19px;
  }

  .about-visual {
    min-height: 245px;
    border-radius: 22px;
  }

  .about-icon-main {
    width: 100px;
    height: 100px;
    border-radius: 28px;
    font-size: 49px;
  }

  .about-content h2 {
    margin-bottom: 12px;
  }

  .about-content p + p {
    margin-top: 10px;
  }

  .why-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .why-card {
    display: grid;
    grid-template-columns: 50px 1fr;
    column-gap: 14px;
    padding: 20px;
  }

  .why-icon {
    grid-row: span 2;
    width: 48px;
    height: 48px;
    margin-bottom: 0;
    font-size: 19px;
  }

  .why-card h3 {
    align-self: end;
    font-size: 14px;
  }

  .why-card p {
    font-size: 11px;
  }

  .contact-banner {
    padding: 42px 0;
  }

  .contact-banner h2 {
    font-size: 27px;
  }

  .contact-banner p {
    font-size: 12px;
  }

  .contact-banner-actions {
    width: 100%;
    flex-direction: column;
  }

  .faq-item summary {
    padding: 16px;
    font-size: 12px;
  }

  .faq-item p {
    padding: 0 16px 17px;
    font-size: 12px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-top: 45px;
    padding-bottom: 35px;
  }

  .footer-brand > p {
    max-width: 100%;
  }

  .footer-bottom .container {
    padding-top: 15px;
    padding-bottom: 15px;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    text-align: center;
  }

  .floating-contact {
    bottom: 15px;
    left: 13px;
    gap: 9px;
  }

  .floating-contact a {
    width: 47px;
    height: 47px;
    border-radius: 15px;
    font-size: 20px;
  }
}


/* Reveal cards */
.reveal-ready {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.55s ease,
    transform 0.55s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.reveal-ready.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal-ready,
  .reveal-ready.is-visible {
    opacity: 1;
    transform: none;
  }
}

.developer-credit {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 16px 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    color: #cbd5e1;
    font-family: "Cairo", sans-serif;
    font-size: 13px;
    text-align: center;
}

.developer-credit a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #20b8a6;
    font-weight: 800;
    text-decoration: none;
    transition: color 0.3s ease;
}

.developer-credit a:hover {
    color: #ffffff;
}

.developer-role {
    color: #94a3b8;
    font-size: 12px;
}

@media (max-width: 480px) {
    .developer-credit {
        gap: 5px;
        font-size: 12px;
    }

    .developer-role {
        flex-basis: 100%;
    }
}
