:root {
  --primary: #0d47a1;
  --primary-dark: #09357a;
  --secondary: #d62828;
  --secondary-dark: #b71c1c;
  --text: #243447;
  --muted: #5f6f82;
  --light: #f4f7fb;
  --white: #ffffff;
  --line: #d9e2ec;
  --shadow: 0 16px 40px rgba(13, 71, 161, 0.12);
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --container: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

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

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

.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

.topbar {
  background: var(--primary);
  color: var(--white);
  font-size: 14px;
}

.topbar-content {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  flex-wrap: wrap;
}

.topbar-content a {
  font-weight: 700;
}

.header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
}

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

.logo-mark {
  width: 150px;
  height:100px;
  /*border-radius: 16px;*/
  /*background: linear-gradient(135deg, var(--primary), var(--secondary));*/
  /*color: var(--white);*/
  /*display: grid;*/
  place-items: center;
  /*font-weight: 700;*/
  /*box-shadow: var(--shadow);*/
}

.logo strong {
  display: block;
  font-size: 20px;
  color: var(--primary);
}

.logo span {
  display: block;
  color: var(--muted);
  font-size: 14px;
}

.menu {
  list-style: none;
  display: flex;
  gap: 26px;
  align-items: center;
  font-weight: 700;
}

.menu a:hover {
  color: var(--secondary);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: var(--primary);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 700;
  transition: 0.25s ease;
}

.btn-primary {
  background: var(--secondary);
  color: var(--white);
  box-shadow: 0 14px 28px rgba(214, 40, 40, 0.2);
}

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

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

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

.hero {
  background: radial-gradient(circle at top left, rgba(13,71,161,0.12), transparent 30%), radial-gradient(circle at bottom right, rgba(214,40,40,0.12), transparent 28%), linear-gradient(180deg, #ffffff 0%, #f6f9fe 100%);
  padding: 72px 0 56px;
}

.hero-grid,
.about-grid,
.certification-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.badge,
.section-heading span,
.contact span,
.certification span,
.about-grid span {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(13, 71, 161, 0.1);
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero h1,
.section-heading h2,
.certification h2,
.about-grid h2,
.contact h2 {
  line-height: 1.08;
  color: #122033;
}

.hero h1 {
  font-size: 52px;
  margin-bottom: 18px;
}

.hero p,
.section-heading p,
.certification p,
.about-grid p,
.contact p,
.faq-item p,
.highlight-card p,
.service-card p {
  color: var(--muted);
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 30px 0;
}

.hero-stats,
.highlight-grid,
.services-grid {
  display: grid;
  gap: 18px;
}

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

.stat-card,
.highlight-card,
.service-card,
.faq-item,
.contact-form,
.cert-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
}

.stat-card {
  padding: 20px;
}

.stat-card strong {
  display: block;
  color: var(--primary);
  font-size: 22px;
  margin-bottom: 6px;
}

.hero-image img,
.about-image img,
.cert-card img,
.service-card img {
  border-radius: var(--radius-lg);
}

.highlights {
  padding: 0 0 30px;
  margin-top: 80px;
}

.highlight-grid {
  grid-template-columns: repeat(4, 1fr);
}

.highlight-card {
  padding: 22px;
}

.highlight-card h3,
.service-card h3,
.faq-item h3 {
  color: #122033;
  margin-bottom: 10px;
}

.section {
  padding: 84px 0;
}

.alt {
  background: var(--light);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 36px;
}

.section-heading h2,
.certification h2,
.about-grid h2,
.contact h2 {
  font-size: 42px;
  margin-bottom: 14px;
}

.section-heading.centered {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.services-grid {
  grid-template-columns: repeat(4, 1fr);
}

.service-card {
  overflow: hidden;
}

.service-card img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}

.service-card h3,
.service-card p {
  padding-left: 20px;
  padding-right: 20px;
}

.service-card h3 {
  padding-top: 18px;
}

.service-card p {
  padding-bottom: 22px;
}

.certification {
  background: linear-gradient(135deg, #eef4ff 0%, #fff4f4 100%);
}

.check-list {
  list-style: none;
  margin-top: 22px;
  display: grid;
  gap: 12px;
}

.check-list li {
  background: rgba(255,255,255,0.7);
  border: 1px solid var(--line);
  padding: 14px 16px;
  border-radius: 14px;
  font-weight: 700;
}

.narrow {
  max-width: 900px;
}

.faq-list {
  display: grid;
  gap: 16px;
}

.faq-item {
  padding: 24px;
}

.contact {
  padding: 0 0 84px;
}

.contact-grid {
  background: linear-gradient(135deg, var(--primary) 0%, #0a2c63 60%, var(--secondary) 100%);
  border-radius: 30px;
  padding: 40px;
  color: var(--white);
}

.contact-grid p,
.contact-grid a {
  color: rgba(255,255,255,0.88);
}

.contact-data {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

.contact-data a {
  font-weight: 700;
}

.contact-form {
  padding: 24px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 14px;
  font: inherit;
}

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

.footer {
  background: #101923;
  color: rgba(255,255,255,0.8);
  padding: 26px 0;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 1000;
  background: #25d366;
  color: white;
  padding: 14px 18px;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: 0 14px 28px rgba(37, 211, 102, 0.25);
}

@media (max-width: 1080px) {
  .hero-grid,
  .about-grid,
  .certification-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

  .hero h1 {
    font-size: 42px;
  }
}

@media (max-width: 820px) {
  .menu-toggle {
    display: block;
  }

  .desktop-btn {
    display: none;
  }

  .menu {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    right: 20px;
    left: 20px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 18px;
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: flex-start;
  }

  .menu.open {
    display: flex;
  }

  .nav {
    position: relative;
  }

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

  .hero h1,
  .section-heading h2,
  .certification h2,
  .about-grid h2,
  .contact h2 {
    font-size: 34px;
  }

  .contact-grid,
  .section,
  .hero {
    padding-left: 0;
    padding-right: 0;
  }
}


.about-placeholder {
  min-height: 340px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(13,71,161,0.12), rgba(214,40,40,0.12));
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
}

.about-badge-card {
  background: rgba(255,255,255,0.92);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow);
  max-width: 420px;
}

.about-badge-card h3 {
  color: var(--primary);
  margin-bottom: 10px;
}

.form-note {
  margin-top: 4px;
  font-size: 14px;
}

.form-status {
  display: none;
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 14px;
  font-weight: 700;
}

.form-status.show {
  display: block;
}

.form-status.success {
  background: rgba(37, 211, 102, 0.14);
  color: #0f5132;
  border: 1px solid rgba(37, 211, 102, 0.35);
}

.form-status.error {
  background: rgba(214, 40, 40, 0.14);
  color: #842029;
  border: 1px solid rgba(214, 40, 40, 0.35);
}

.whatsapp-float {
  width: 64px;
  height: 64px;
  padding: 0;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.whatsapp-float svg {
  width: 34px;
  height: 34px;
}

.whatsapp-float {
  position: fixed;
  right: 25px;
  bottom: 25px;
  width: 72px;
  height: 72px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
  z-index: 999;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

.whatsapp-float img {
  width: 34px;
  height: 34px;
  display: block;
}


body.popup-open {
  overflow: hidden;
}

.popup-overlay[hidden] {
  display: none;
}

.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(16, 25, 35, 0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 2000;
}

.popup-box {
  width: min(92vw, 460px);
  background: #fff;
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
  text-align: center;
}

.popup-box h3 {
  color: #122033;
  margin-bottom: 10px;
}

.popup-box p {
  color: var(--muted);
  margin-bottom: 22px;
}
