/* Global styles */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Open Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: #333;
  background-color: #f7f9fc;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

section {
  padding: 60px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 40px;
}

.section-title h2 {
  font-size: 2.2rem;
  margin-bottom: 10px;
  color: #123b7a;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.section-title p {
  max-width: 600px;
  margin: 0 auto;
  color: #555;
}

/* Layout helpers */
.container-custom {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Navbar */
.navbar-sp {
  position: sticky;
  top: 0;
  z-index: 999;
  background: #ffffffee;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.3rem;
  color: #123b7a;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.brand img {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  object-fit: cover;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 0.95rem;
  text-transform: uppercase;
}

.nav-links a {
  color: #333;
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
}

.nav-links a:hover,
.nav-links a.active {
  color: #123b7a;
  border-color: #ff7d2a;
}

.nav-cta {
  padding: 8px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff7d2a, #ffb347);
  color: #fff !important;
  font-weight: 600;
  border: none;
}

.nav-cta:hover {
  opacity: 0.9;
}

/* Dropdown */
.dropdown {
  position: relative;
}

.dropdown-toggle::after {
  content: "▾";
  font-size: 0.7rem;
  margin-left: 4px;
}

.dropdown-menu {
  position: absolute;
  right: 0;
  top: 110%;
  min-width: 230px;
  padding: 10px 0;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.18s ease-out;
}

.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 8px 18px;
  font-size: 0.9rem;
  color: #444;
  white-space: nowrap;
}

.dropdown-menu a span {
  display: block;
  font-size: 0.78rem;
  color: #777;
}

.dropdown-menu a:hover {
  background: #f5f7fb;
  color: #123b7a;
}

/* Mobile nav */
.nav-toggle {
  display: none;
  border: none;
  background: none;
  font-size: 1.5rem;
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    inset: 64px 0 auto 0;
    padding: 16px;
    background: #ffffff;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: all 0.2s ease-out;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .dropdown-menu {
    position: static;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    padding: 4px 0 0;
  }

  .nav-toggle {
    display: block;
  }
}

/* Hero / banner */
.hero {
  position: relative;
  overflow: hidden;
}

.hero-slider {
  position: relative;
  height: min(520px, 80vh);
  border-radius: 0 0 32px 32px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.2);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    rgba(6, 33, 75, 0.85),
    rgba(6, 33, 75, 0.35),
    rgba(255, 125, 42, 0.8)
  );
  mix-blend-mode: multiply;
}

.hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  color: #fff;
}

.hero-text {
  max-width: 720px;
}

.hero-kicker {
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 14px;
  opacity: 0.9;
}

.hero-title {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 1.1;
  margin-bottom: 16px;
}

.hero-subtitle {
  font-size: 1rem;
  max-width: 520px;
  margin-bottom: 24px;
  opacity: 0.95;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn-primary-sp,
.btn-outline-sp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
}

.btn-primary-sp {
  background: linear-gradient(135deg, #ff7d2a, #ffb347);
  color: #fff;
}

.btn-primary-sp:hover {
  opacity: 0.9;
}

.btn-outline-sp {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.7);
  color: #fff;
}

.btn-outline-sp:hover {
  background: rgba(255, 255, 255, 0.08);
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
  font-size: 0.8rem;
}

.hero-badge {
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-dots {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.hero-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  border: none;
  cursor: pointer;
}

.hero-dot.active {
  width: 22px;
  background: #ffb347;
}

@media (max-width: 768px) {
  .hero-slider {
    height: 420px;
    border-radius: 0 0 24px 24px;
  }

  .hero-content {
    align-items: flex-end;
    padding-bottom: 40px;
  }
}

/* About section */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 32px;
  align-items: center;
}

.about-highlight {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(18, 59, 122, 0.08);
  color: #123b7a;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.about-text h3 {
  font-size: 1.7rem;
  margin-bottom: 10px;
  color: #111827;
}

.about-text p {
  color: #555;
  margin-bottom: 10px;
}

.about-why {
  margin-top: 14px;
}

.about-why h4 {
  font-size: 1.05rem;
  margin-bottom: 8px;
  color: #123b7a;
}

.about-why ul {
  padding-left: 18px;
  margin: 0;
  color: #444;
}

.about-why li {
  margin-bottom: 4px;
}

.about-card {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.25);
}

.about-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-card-tag {
  position: absolute;
  bottom: 18px;
  left: 18px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.8);
  color: #fff;
  font-size: 0.8rem;
}

@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Services cards */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

@media (max-width: 1024px) {
  .cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .cards-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.card-service {
  background: #ffffff;
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 14px 35px rgba(15, 23, 42, 0.1);
  transition: transform 0.18s ease-out, box-shadow 0.18s ease-out;
}

.card-service:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.18);
}

.card-service-img {
  height: 190px;
  overflow: hidden;
}

.card-service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-service-body {
  padding: 18px 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.card-service-body h3 {
  font-size: 1.15rem;
  margin: 0;
  color: #111827;
}

.card-service-body p {
  font-size: 0.9rem;
  color: #555;
  flex: 1;
}

.card-service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}

.card-tag {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  background: #f3f4ff;
  color: #374151;
}

.card-service-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
}

.btn-link {
  font-size: 0.9rem;
  color: #123b7a;
  font-weight: 600;
}

.btn-link span {
  margin-left: 4px;
}

.btn-ghost {
  padding: 7px 14px;
  font-size: 0.85rem;
  border-radius: 999px;
  border: 1px solid #ffb347;
  color: #b45309;
  background: #fff7ed;
  font-weight: 600;
}

.btn-ghost:hover {
  background: #ffedd5;
}

/* Feature list / mission */
.feature-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 26px;
}

.feature-pill {
  background: #ffffff;
  border-radius: 16px;
  padding: 14px 16px;
  font-size: 0.9rem;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
}

.feature-pill-icon {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: #e0ecff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #123b7a;
  font-size: 0.85rem;
}

.feature-pill strong {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 3px;
}

@media (max-width: 900px) {
  .feature-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .feature-list {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Generic content pages */
.page-hero {
  padding: 80px 0 40px;
  background: radial-gradient(circle at top left, #e0ecff 0, #f7f9fc 55%);
}

.page-hero h1 {
  font-size: 2.2rem;
  color: #123b7a;
  margin-bottom: 8px;
}

.page-hero p {
  color: #555;
  max-width: 640px;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.4fr);
  gap: 28px;
  align-items: flex-start;
}

@media (max-width: 900px) {
  .two-column {
    grid-template-columns: minmax(0, 1fr);
  }
}

.content-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 20px 22px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.content-card h3 {
  margin-top: 0;
  font-size: 1.2rem;
  color: #123b7a;
}

.content-card p {
  color: #555;
}

.content-card ul {
  padding-left: 20px;
  margin: 8px 0 0;
  color: #444;
}

.content-card li {
  margin-bottom: 4px;
}

/* Subservice cards */
.subservice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

@media (max-width: 1024px) {
  .subservice-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .subservice-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.subservice-card {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.08);
  display: flex;
  flex-direction: column;
}

.subservice-img {
  height: 150px;
  overflow: hidden;
}

.subservice-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.subservice-body {
  padding: 14px 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.subservice-body h3 {
  font-size: 1rem;
  margin: 0;
  color: #111827;
}

.subservice-body p {
  font-size: 0.88rem;
  color: #555;
  flex: 1;
}

.subservice-body .btn-ghost {
  align-self: flex-start;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.6fr);
  gap: 28px;
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 0.95rem;
}

.contact-info-label {
  font-weight: 600;
  min-width: 70px;
}

.contact-form {
  background: #ffffff;
  border-radius: 18px;
  padding: 20px 22px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.1);
}

.contact-form-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.contact-form-group {
  flex: 1;
  min-width: 180px;
  margin-bottom: 14px;
}

.contact-form-group label {
  display: block;
  font-size: 0.86rem;
  font-weight: 600;
  margin-bottom: 4px;
  color: #374151;
}

.contact-form-group input,
.contact-form-group textarea {
  width: 100%;
  padding: 9px 10px;
  border-radius: 10px;
  border: 1px solid #d1d5db;
  font-size: 0.9rem;
  font-family: inherit;
}

.contact-form-group textarea {
  min-height: 110px;
  resize: vertical;
}

.contact-form-group input:focus,
.contact-form-group textarea:focus {
  outline: none;
  border-color: #123b7a;
  box-shadow: 0 0 0 1px rgba(18, 59, 122, 0.16);
}

.form-helper {
  font-size: 0.8rem;
  color: #6b7280;
}

/* Footer (no pure black background) */
.footer-main {
  background: linear-gradient(135deg, #123b7a, #0b2447);
  color: #e5e7eb;
  padding: 40px 0 22px;
  margin-top: 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) repeat(2, minmax(0, 1fr));
  gap: 26px;
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.footer-title {
  font-size: 1.1rem;
  margin-bottom: 10px;
  font-weight: 600;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 6px;
}

.footer-links a {
  color: #e5e7eb;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: #ffb347;
}

.footer-bottom {
  margin-top: 26px;
  padding-top: 16px;
  border-top: 1px solid rgba(148, 163, 184, 0.5);
  font-size: 0.82rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px;
}

.footer-bottom a {
  color: #ffddb0;
}

.footer-social {
  display: flex;
  gap: 8px;
}

.footer-social a {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.45);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #e5e7eb;
  font-size: 0.9rem;
}

.footer-social a:hover {
  background: rgba(248, 250, 252, 0.18);
}

/* Floating action buttons */
.fab-wrapper {
  position: fixed;
  bottom: 20px;
  right: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 999;
}

.fab-btn {
  width: 50px;
  height: 50px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.4);
  font-size: 1.4rem;
}

.fab-whatsapp {
  background: #25d366;
}

.fab-call {
  background: #0ea5e9;
}

.fab-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.5);
}

/* Utility classes */
.mt-0 {
  margin-top: 0;
}

.mt-2 {
  margin-top: 8px;
}

.mt-3 {
  margin-top: 12px;
}

.mt-4 {
  margin-top: 16px;
}

.mt-5 {
  margin-top: 20px;
}

.text-center {
  text-align: center;
}

.text-muted {
  color: #6b7280;
}

.badge-soft {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 0.75rem;
  background: #eef2ff;
  color: #3730a3;
}

