/* ── RESET & ROOT ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:   #0a1628;
  --blue:   #1355ff;
  --blue2:  #0e3dcc;
  --sky:    #e8eeff;
  --white:  #ffffff;
  --grey:   #f4f6fb;
  --text:   #1a2340;
  --muted:  #6b7a99;
  --border: #dde3f0;
  --radius: 14px;
}

html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', sans-serif; color: var(--text); background: var(--white); }
h1, h2, h3, h4, nav { font-family: 'Syne', sans-serif; }
a { text-decoration: none; color: inherit; }

/* ── NAV ── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  height: 70px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

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

.nav-logo img {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.nav-logo-text {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.3px;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--blue); }

.nav-cta {
  background: var(--blue);
  color: var(--white);
  padding: 0.55rem 1.3rem;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  transition: background 0.2s, transform 0.15s;
}

.nav-cta:hover {
  background: var(--blue2);
  transform: translateY(-1px);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
}

/* ── HERO ── */
#home {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 88vh;
  align-items: center;
  padding: 6rem 5% 4rem;
  background: linear-gradient(135deg, #f0f4ff 0%, #ffffff 60%);
  gap: 3rem;
}

.hero-label {
  display: inline-block;
  margin-bottom: 1rem;
  background: var(--sky);
  color: var(--blue);
  padding: 0.3rem 0.9rem;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.hero-title {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--navy);
  margin-bottom: 1.2rem;
}

.hero-title span { color: var(--blue); }

.hero-desc {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 2rem;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
  padding: 0.75rem 1.8rem;
  border-radius: 9px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.2s, transform 0.15s;
}

.btn-primary:hover {
  background: var(--blue2);
  transform: translateY(-2px);
}

.btn-outline {
  border: 2px solid var(--border);
  color: var(--text);
  padding: 0.75rem 1.8rem;
  border-radius: 9px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: border-color 0.2s, color 0.2s;
}

.btn-outline:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.hero-img {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: 0 30px 80px rgba(19, 85, 255, 0.15);
}

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

.hero-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: white;
  border-radius: 12px;
  padding: 0.7rem 1rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.hero-badge-icon {
  width: 36px;
  height: 36px;
  background: var(--sky);
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
}

.hero-badge-text {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--navy);
}

.hero-badge-sub {
  font-size: 0.7rem;
  color: var(--muted);
}

/* ── SECTION COMMON ── */
section { padding: 5rem 5%; }

.section-label {
  display: inline-block;
  margin-bottom: 0.8rem;
  background: var(--sky);
  color: var(--blue);
  padding: 0.28rem 0.85rem;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 0.8rem;
}

.section-sub {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 560px;
}

.text-center { text-align: center; }
.text-center .section-sub { margin: 0 auto; }

/* ── SERVICES ── */
#services { background: var(--grey); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.8rem;
  transition: box-shadow 0.25s, transform 0.2s;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}

.service-card:hover::before { transform: scaleX(1); }

.service-card:hover {
  box-shadow: 0 12px 40px rgba(19, 85, 255, 0.10);
  transform: translateY(-4px);
}

.service-num {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: 1px;
  margin-bottom: 0.6rem;
}

.service-icon {
  font-size: 1.8rem;
  margin-bottom: 0.8rem;
}

.service-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--navy);
}

.service-card p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ── ABOUT ── */
#aboutus {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-imgs { position: relative; }

.about-imgs .img-main {
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.about-imgs .img-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-imgs .img-accent {
  position: absolute;
  bottom: -24px;
  right: -24px;
  width: 45%;
  border-radius: 14px;
  overflow: hidden;
  border: 5px solid white;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  aspect-ratio: 1;
}

.about-imgs .img-accent img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-content p {
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 1rem;
}

.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1.5rem 0;
}

.about-tag {
  background: var(--sky);
  color: var(--blue);
  border-radius: 8px;
  padding: 0.4rem 0.9rem;
  font-size: 0.82rem;
  font-weight: 600;
}

.about-content .btn-primary {
  display: inline-block;
}

/* ── CTA BANNER ── */
.cta-banner {
  background: var(--navy);
  border-radius: 20px;
  padding: 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  margin: 0 5% 5rem;
}

.cta-banner h3 {
  font-size: 1.7rem;
  color: white;
  font-weight: 800;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.6);
  margin-top: 0.4rem;
  font-size: 0.95rem;
}

.btn-white {
  background: white;
  color: var(--blue);
  padding: 0.75rem 1.8rem;
  border-radius: 9px;
  font-weight: 700;
  font-size: 0.95rem;
  white-space: nowrap;
  transition: background 0.2s, transform 0.15s;
}

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

/* ── WHY US ── */
#why { background: var(--grey); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.why-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
}

.why-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: var(--sky);
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.why-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.why-card p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ── TESTIMONIALS ── */
#testimonials { background: var(--white); }

.testi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.testi-card {
  background: var(--grey);
  border-radius: var(--radius);
  padding: 2rem;
  border: 1px solid var(--border);
}

.stars {
  color: #f5a623;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.testi-card p {
  font-size: 0.93rem;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.testi-author img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.testi-avatar-fallback {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--blue);
  color: white;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.9rem;
}

.testi-author-name {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--navy);
}

.testi-author-role {
  font-size: 0.78rem;
  color: var(--muted);
}

/* ── FOOTER ── */
footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.7);
  padding: 4rem 5% 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand img {
  height: 48px;
  margin-bottom: 1rem;
}

.footer-brand .brand-name {
  font-size: 1.1rem;
  font-weight: 800;
  color: white;
  margin-bottom: 0.6rem;
}

.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.7;
}

.footer-col h4 {
  color: white;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-col a {
  font-size: 0.87rem;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.2s;
}

.footer-col a:hover { color: white; }

.footer-contact-item {
  display: flex;
  gap: 0.6rem;
  font-size: 0.85rem;
  margin-bottom: 0.7rem;
  line-height: 1.5;
}

.footer-contact-item span:first-child {
  color: var(--blue);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-contact-item a {
  color: rgba(255, 255, 255, 0.6);
}

.footer-contact-item a:hover { color: white; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.5);
}

/* ── RESPONSIVE ── */
@media (max-width: 860px) {
  #home,
  #aboutus {
    grid-template-columns: 1fr;
  }

  .hero-img { max-height: 320px; }

  .about-imgs { margin-bottom: 2rem; }
  .about-imgs .img-accent { display: none; }

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

  .nav-links,
  .nav-cta { display: none; }

  .hamburger { display: flex; }

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

@media (max-width: 540px) {
  section { padding: 3.5rem 5%; }
  .hero-title { font-size: 2rem; }
}
