@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@500;600;700;800&family=Nunito:wght@400;500;600;700&display=swap');

/* ===================== Variables ===================== */
:root {
  --primary: #1A3A5C;
  --accent: #4FC3C3;
  --accent-dark: #3aa8a8;
  --bg-light: #F4F9F9;
  --text: #1A1A1A;
  --white: #FFFFFF;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
  --radius-card: 8px;
  --radius-btn: 6px;
  --transition: 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Nunito', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}

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

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

ul { list-style: none; }

h1, h2, h3, h4 {
  font-family: 'Poppins', sans-serif;
  color: var(--primary);
  line-height: 1.25;
}

h1 { font-size: 56px; font-weight: 700; }
h2 { font-size: 40px; font-weight: 700; }
h3 { font-size: 26px; font-weight: 600; }

p { font-size: 17px; }

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

/* ===================== Section Utilities ===================== */
section {
  padding: 90px 0;
}

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

.section-title {
  text-align: center;
  margin-bottom: 20px;
}

.section-title h2 { margin-bottom: 14px; }

.section-underline {
  width: 70px;
  height: 4px;
  background: var(--accent);
  border-radius: 4px;
  margin: 0 auto 50px auto;
}

.section-intro {
  max-width: 720px;
  margin: 0 auto 20px auto;
  text-align: center;
  font-size: 18px;
  color: var(--text);
}

/* ===================== Buttons ===================== */
.btn {
  display: inline-block;
  border-radius: var(--radius-btn);
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  padding: 13px 32px;
  transition: all var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  font-size: 16px;
  text-align: center;
}

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

.btn-primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn-secondary:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
}

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

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

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

.btn-block { display: block; width: 100%; }

/* ===================== Navbar ===================== */
.navbar {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--primary);
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.18);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}

.nav-logo img {
  height: 60px;
  width: auto;
}

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

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

.nav-links a {
  color: var(--white);
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 15px;
  padding-bottom: 6px;
  border-bottom: 2px solid transparent;
  transition: color var(--transition), border-color var(--transition);
}

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

.nav-links a.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-cta .btn-primary {
  padding: 11px 24px;
  font-size: 14px;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1100;
}

.hamburger span {
  display: block;
  height: 3px;
  width: 100%;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}

.hamburger.open span:nth-child(1) { transform: translateY(8.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-8.5px) rotate(-45deg); }

/* ===================== Hero ===================== */
.hero {
  position: relative;
  width: 100%;
  min-height: 640px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(26, 58, 92, 0.65);
}

.page-hero {
  min-height: 360px;
}

.page-hero::before {
  background: rgba(26, 58, 92, 0.7);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  padding: 0 24px;
  color: var(--white);
}

.hero-content h1 {
  color: var(--white);
  margin-bottom: 20px;
}

.page-hero .hero-content h1 {
  margin-bottom: 0;
}

.hero-content p {
  color: var(--white);
  font-size: 19px;
  margin-bottom: 34px;
}

.hero-btns {
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
}

.breadcrumb {
  color: var(--accent);
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 14px;
  margin-bottom: 14px;
  display: block;
}

/* ===================== Feature / Why Choose Us Cards ===================== */
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

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

.feature-card {
  background: var(--white);
  border-top: 4px solid var(--accent);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
  padding: 36px 26px;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.feature-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-light);
  border-radius: 50%;
  color: var(--accent);
}

.feature-icon svg { width: 30px; height: 30px; stroke: var(--accent); }

.feature-card h3 { margin-bottom: 12px; font-size: 21px; }
.feature-card p { font-size: 15.5px; }

/* ===================== Service Snapshot / Cards with Image ===================== */
.service-card {
  background: var(--white);
  border-radius: 10px;
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.service-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 0;
}

.service-card-body {
  padding: 26px 24px 30px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.service-card-body h3 { margin-bottom: 12px; }
.service-card-body p { margin-bottom: 22px; flex: 1; font-size: 15.5px; }

/* ===================== Stats ===================== */
.stats-section {
  background: var(--primary);
  text-align: center;
}

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

.stat-item h3 {
  color: var(--accent);
  font-size: 46px;
  margin-bottom: 8px;
}

.stat-item p {
  color: var(--white);
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 16px;
}

/* ===================== Testimonials ===================== */
.testimonial-card {
  background: var(--white);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
  padding: 30px 28px;
}

.stars { color: var(--accent); font-size: 18px; margin-bottom: 14px; letter-spacing: 2px; }

.testimonial-card p.quote {
  font-style: italic;
  margin-bottom: 20px;
  font-size: 15.5px;
}

.testimonial-name {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  color: var(--primary);
}

.testimonial-role {
  font-size: 13.5px;
  color: rgba(26, 26, 26, 0.6);
}

/* ===================== How It Works ===================== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}

.step-number {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px auto;
}

.step-item h3 { font-size: 19px; margin-bottom: 10px; }
.step-item p { font-size: 15px; }

/* ===================== CTA Section ===================== */
.cta-section {
  background: var(--accent);
  text-align: center;
}

.cta-section h2, .cta-section p { color: var(--white); }
.cta-section h2 { margin-bottom: 16px; }
.cta-section p { margin-bottom: 30px; font-size: 18px; }

.cta-section.cta-dark {
  background: var(--primary);
}

/* ===================== About Page ===================== */
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.story-grid img {
  border-radius: 8px;
  box-shadow: var(--shadow);
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.story-text h2 { margin-bottom: 18px; }
.story-text p { margin-bottom: 16px; }

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

.value-item { text-align: center; padding: 10px; }

.value-icon {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px auto;
}

.value-icon svg { width: 32px; height: 32px; stroke: var(--accent); }

.value-item h3 { margin-bottom: 12px; }

.founder-card {
  max-width: 780px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
  padding: 50px;
  display: flex;
  gap: 40px;
  align-items: center;
}

.founder-photo {
  width: 170px;
  height: 170px;
  min-width: 170px;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.founder-photo svg { width: 90px; height: 90px; stroke: var(--accent); }

.founder-info h3 { margin-bottom: 4px; font-size: 24px; }
.founder-title { color: var(--accent); font-weight: 700; font-family: 'Poppins', sans-serif; margin-bottom: 14px; font-size: 15px; }

/* ===================== Areas Page ===================== */
.areas-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

.area-card {
  background: var(--white);
  border-top: 4px solid var(--accent);
  border-radius: 10px;
  box-shadow: var(--shadow);
  padding: 30px 22px;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}

.area-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.area-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px auto;
}

.area-icon svg { width: 26px; height: 26px; stroke: var(--accent); }

.area-card h3 { font-size: 20px; margin-bottom: 10px; }
.area-card p { font-size: 14.5px; }

.coverage-box {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  background: var(--bg-light);
  border-radius: var(--radius-card);
  padding: 40px;
}

/* ===================== Contact Page ===================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 50px;
  align-items: flex-start;
}

.contact-form-card {
  background: var(--white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
  padding: 40px;
}

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

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 14.5px;
  margin-bottom: 8px;
  color: var(--primary);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid rgba(26, 58, 92, 0.2);
  border-radius: var(--radius-btn);
  font-family: 'Nunito', sans-serif;
  font-size: 15px;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition);
}

.form-group textarea { resize: vertical; min-height: 110px; }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(79, 195, 195, 0.2);
}

.contact-info-card {
  background: var(--white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
  overflow: hidden;
  margin-bottom: 30px;
}

.contact-info-header {
  background: var(--primary);
  color: var(--white);
  padding: 26px 30px;
}

.contact-info-header h3 { color: var(--white); }

.contact-info-body { padding: 30px; }

.contact-info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 22px;
  align-items: flex-start;
}

.contact-info-item:last-child { margin-bottom: 0; }

.contact-info-item .info-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 50%;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-info-item .info-icon svg { width: 20px; height: 20px; stroke: var(--accent); }

.contact-info-item a {
  color: var(--accent);
  font-weight: 700;
}

.contact-info-item a:hover { text-decoration: underline; }

.contact-info-item .info-label {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  color: var(--primary);
  font-size: 14px;
  margin-bottom: 4px;
}

.map-frame {
  border: 4px solid var(--primary);
  border-radius: var(--radius-card);
  overflow: hidden;
  line-height: 0;
}

.map-frame iframe {
  width: 100%;
  height: 280px;
  border: 0;
}

/* ===================== Modal ===================== */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(26, 58, 92, 0.75);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.active { display: flex; }

.modal-box {
  background: var(--white);
  border-radius: 10px;
  max-width: 480px;
  width: 100%;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: modalPop 0.3s ease;
}

@keyframes modalPop {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1); }
}

.modal-header {
  background: var(--primary);
  padding: 22px 28px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.modal-header svg { width: 26px; height: 26px; stroke: var(--accent); }

.modal-header h3 { color: var(--white); margin: 0; font-size: 20px; }

.modal-body {
  padding: 30px 28px;
  text-align: center;
}

.modal-body p { margin-bottom: 26px; font-size: 15.5px; }

/* ===================== Footer ===================== */
.footer {
  background: var(--primary);
  color: var(--white);
  padding: 70px 0 0 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-brand img { height: 50px; margin-bottom: 16px; }

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

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 22px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}

.footer-social a svg {
  width: 18px;
  height: 18px;
  stroke: var(--white);
  transition: stroke var(--transition);
}

.footer-social a:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-3px);
}

.footer-social a:hover svg { stroke: var(--white); }

.footer-col h4 {
  color: var(--accent);
  font-size: 17px;
  margin-bottom: 20px;
}

.footer-col ul li { margin-bottom: 12px; }

.footer-col ul li a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 14.5px;
  transition: color var(--transition);
}

.footer-col ul li a:hover { color: var(--accent); }

.footer-col address { font-style: normal; }

.footer-bottom {
  text-align: center;
  padding: 26px 0;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.7);
}

/* ===================== Scroll to Top ===================== */
.scroll-top-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--primary);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition);
  z-index: 900;
}

.scroll-top-btn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top-btn:hover { background: var(--accent); }

.scroll-top-btn svg { width: 22px; height: 22px; stroke: var(--white); }

/* ===================== Fade-in animation ===================== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===================== Responsive ===================== */
@media (max-width: 1024px) {
  h1 { font-size: 46px; }
  h2 { font-size: 34px; }
  h3 { font-size: 23px; }

  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .areas-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }

  section { padding: 55px 0; }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta .btn-primary { display: none; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 84px;
    left: 0;
    right: 0;
    background: var(--primary);
    padding: 24px;
    gap: 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
  }

  .nav-cta.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: calc(84px + 200px);
    left: 0;
    right: 0;
    background: var(--primary);
    padding: 0 24px 24px 24px;
  }

  .nav-cta.open .btn-primary { display: block; text-align: center; }

  .hamburger { display: flex; }

  .story-grid { grid-template-columns: 1fr; }
  .story-grid img { height: 300px; }
  .values-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .founder-card { flex-direction: column; text-align: center; padding: 36px 26px; }

  .grid-4, .grid-3, .stats-grid, .steps-grid, .areas-grid {
    grid-template-columns: 1fr;
  }

  h1 { font-size: 36px; }
  h2 { font-size: 28px; }
  h3 { font-size: 21px; }

  .hero { min-height: 520px; }
  .page-hero { min-height: 280px; }

  section { padding: 35px 0; }

  .footer-top { grid-template-columns: 1fr; gap: 34px; }
}

@media (max-width: 480px) {
  .hero-btns { flex-direction: column; width: 100%; }
  .hero-btns .btn { width: 100%; }
  .founder-card { padding: 28px 18px; }
}
