/* ===== CSS Variables ===== */
:root {
  --blue: #1B3A6B;
  --green: #2EBD59;
  --white: #FFFFFF;
  --gray-bg: #F5F7FA;
  --gray-text: #6B7280;
  --dark: #111827;
  --green-hover: #25a34b;
  --blue-hover: #152d54;
  --shadow: 0 4px 24px rgba(27, 58, 107, 0.10);
  --shadow-hover: 0 8px 32px rgba(27, 58, 107, 0.18);
  --radius: 12px;
  --transition: 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

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

ul {
  list-style: none;
}

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

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  outline: none;
}

input, textarea {
  font-family: inherit;
  font-size: inherit;
}

/* ===== Utility ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

.section-title {
  font-size: 2.25rem;
  color: var(--blue);
  text-align: center;
  margin-bottom: 16px;
}

.section-subtitle {
  text-align: center;
  color: var(--gray-text);
  font-size: 1.1rem;
  max-width: 640px;
  margin: 0 auto 48px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  transition: all var(--transition);
}

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

.btn-primary:hover {
  background: var(--green-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(46, 189, 89, 0.35);
}

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

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

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

.btn-blue:hover {
  background: var(--blue-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(27, 58, 107, 0.35);
}

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

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

/* ===== Header / Navbar ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.06);
  transition: box-shadow var(--transition);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

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

.logo img {
  height: 48px;
  width: auto;
}

.logo span {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--blue);
  line-height: 1.2;
}

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

.nav-links {
  display: flex;
  gap: 28px;
}

.nav-links a {
  font-weight: 500;
  color: var(--dark);
  position: relative;
  padding: 4px 0;
  transition: color var(--transition);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--green);
  transition: width var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--green);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.lang-switch {
  display: flex;
  align-items: center;
  background: var(--gray-bg);
  border-radius: 20px;
  overflow: hidden;
}

.lang-switch a {
  padding: 6px 14px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-text);
  transition: all var(--transition);
}

.lang-switch a.active {
  background: var(--blue);
  color: var(--white);
  border-radius: 20px;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  padding: 4px;
}

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

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* ===== Hero Section ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--blue) 0%, #0f2347 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(46, 189, 89, 0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(46, 189, 89, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 700px;
}

.hero-badge {
  display: inline-block;
  background: rgba(46, 189, 89, 0.15);
  color: var(--green);
  padding: 8px 20px;
  border-radius: 24px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: 3.25rem;
  color: var(--white);
  margin-bottom: 20px;
  line-height: 1.15;
}

.hero h1 .highlight {
  color: var(--green);
}

.hero p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 36px;
  max-width: 560px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ===== Services Section ===== */
.services {
  background: var(--gray-bg);
}

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

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 28px;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.service-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--blue), #2a5298);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.5rem;
  color: var(--white);
}

.service-card h3 {
  font-size: 1.2rem;
  color: var(--blue);
  margin-bottom: 12px;
}

.service-card p {
  color: var(--gray-text);
  font-size: 0.95rem;
  margin-bottom: 20px;
  flex-grow: 1;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--green);
  font-weight: 600;
  font-size: 0.95rem;
  transition: gap var(--transition);
}

.service-link:hover {
  gap: 12px;
}

.service-link svg {
  width: 18px;
  height: 18px;
  transition: transform var(--transition);
}

.service-link:hover svg {
  transform: translateX(4px);
}

/* Bottom row centering for 5 cards (2 in last row) */
.services-grid .service-card:nth-child(4) {
  grid-column: 1 / 2;
}

.services-grid .service-card:nth-child(5) {
  grid-column: 2 / 3;
}

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

.about-text h3 {
  font-size: 1.1rem;
  color: var(--green);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.about-text h2 {
  font-size: 2rem;
  color: var(--blue);
  margin-bottom: 20px;
}

.about-text p {
  color: var(--gray-text);
  margin-bottom: 16px;
  line-height: 1.7;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.stat-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  box-shadow: var(--shadow);
  border-top: 3px solid var(--green);
}

.stat-card .stat-value {
  font-family: 'Poppins', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 4px;
}

.stat-card .stat-label {
  font-size: 0.9rem;
  color: var(--gray-text);
}

/* ===== Why Us Section ===== */
.why-us {
  background: var(--gray-bg);
}

.why-us-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.why-card {
  text-align: center;
  padding: 32px 20px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: all var(--transition);
}

.why-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.why-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, rgba(46, 189, 89, 0.1), rgba(27, 58, 107, 0.1));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--green);
}

.why-card h3 {
  font-size: 1.05rem;
  color: var(--blue);
  margin-bottom: 10px;
}

.why-card p {
  font-size: 0.9rem;
  color: var(--gray-text);
  line-height: 1.6;
}

/* ===== Contact Section ===== */
.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

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

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

.form-group label {
  display: block;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 6px;
  font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #E5E7EB;
  border-radius: 8px;
  transition: border-color var(--transition);
  background: var(--gray-bg);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--green);
  background: var(--white);
}

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

.form-group .error-message {
  color: #EF4444;
  font-size: 0.8rem;
  margin-top: 4px;
  display: none;
}

.form-group.error input,
.form-group.error textarea {
  border-color: #EF4444;
}

.form-group.error .error-message {
  display: block;
}

.form-success {
  display: none;
  background: rgba(46, 189, 89, 0.1);
  color: var(--green);
  padding: 16px;
  border-radius: 8px;
  text-align: center;
  font-weight: 600;
  margin-top: 16px;
}

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

.contact-info h3 {
  font-size: 1.3rem;
  color: var(--blue);
  margin-bottom: 24px;
  margin-top: 20px;
}

.contact-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-item-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: linear-gradient(135deg, var(--blue), #2a5298);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.2rem;
}

.contact-item-text h4 {
  font-size: 0.95rem;
  color: var(--dark);
  margin-bottom: 2px;
}

.contact-item-text p {
  color: var(--gray-text);
  font-size: 0.9rem;
}

.contact-item-text a {
  color: var(--green);
  transition: color var(--transition);
}

.contact-item-text a:hover {
  color: var(--green-hover);
}

/* ===== Footer ===== */
.footer {
  background: var(--blue);
  color: rgba(255, 255, 255, 0.8);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .logo {
  margin-bottom: 16px;
}

.footer-brand .logo span {
  color: var(--white);
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

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

.footer-social a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: all var(--transition);
}

.footer-social a:hover {
  background: var(--green);
  transform: translateY(-2px);
}

.footer-col h4 {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 20px;
}

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

.footer-col ul li a {
  font-size: 0.9rem;
  transition: color var(--transition);
}

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

.footer-bottom {
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
}

.footer-bottom a {
  color: var(--green);
  transition: color var(--transition);
}

.footer-bottom a:hover {
  color: var(--white);
}

/* ===== Service Detail Page ===== */
.service-hero {
  padding: 140px 0 60px;
  background: linear-gradient(135deg, var(--blue) 0%, #0f2347 100%);
  position: relative;
  overflow: hidden;
}

.service-hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -15%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(46, 189, 89, 0.12) 0%, transparent 70%);
  border-radius: 50%;
}

.service-hero .container {
  position: relative;
  z-index: 1;
}

.service-hero .breadcrumb {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 20px;
  font-size: 0.9rem;
}

.service-hero .breadcrumb a {
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition);
}

.service-hero .breadcrumb a:hover {
  color: var(--white);
}

.service-hero .breadcrumb .separator {
  color: rgba(255, 255, 255, 0.4);
}

.service-hero .breadcrumb .current {
  color: var(--green);
}

.service-hero h1 {
  font-size: 2.75rem;
  color: var(--white);
  margin-bottom: 16px;
}

.service-hero p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 600px;
  line-height: 1.7;
}

.service-detail {
  padding: 80px 0;
}

.service-detail-content {
  max-width: 800px;
  margin: 0 auto;
}

.service-detail-content h2 {
  font-size: 1.75rem;
  color: var(--blue);
  margin-bottom: 20px;
  margin-top: 40px;
}

.service-detail-content h2:first-child {
  margin-top: 0;
}

.service-detail-content p {
  color: var(--gray-text);
  line-height: 1.8;
  margin-bottom: 16px;
}

.service-detail-content ul {
  margin-bottom: 24px;
  padding-left: 0;
}

.service-detail-content ul li {
  padding: 8px 0 8px 28px;
  position: relative;
  color: var(--gray-text);
  line-height: 1.6;
}

.service-detail-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 16px;
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 50%;
}

.service-cta {
  background: var(--gray-bg);
  padding: 60px 0;
  text-align: center;
}

.service-cta h2 {
  font-size: 1.75rem;
  color: var(--blue);
  margin-bottom: 12px;
}

.service-cta p {
  color: var(--gray-text);
  margin-bottom: 28px;
  font-size: 1.05rem;
}

.service-cta .btn {
  font-size: 1.05rem;
}

/* ===== Page Hero (About, Contact) ===== */
.page-hero {
  padding: 140px 0 60px;
  background: linear-gradient(135deg, var(--blue) 0%, #0f2347 100%);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(46, 189, 89, 0.12) 0%, transparent 70%);
  border-radius: 50%;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  font-size: 2.75rem;
  color: var(--white);
  margin-bottom: 16px;
}

.page-hero p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ===== Team Section ===== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.team-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px 20px;
  text-align: center;
  transition: all var(--transition);
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.team-avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), #2a5298);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: var(--white);
  font-family: 'Poppins', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
}

.team-card h3 {
  font-size: 1.05rem;
  color: var(--blue);
  margin-bottom: 4px;
}

.team-card .team-role {
  font-size: 0.85rem;
  color: var(--green);
  font-weight: 600;
  margin-bottom: 10px;
}

.team-card p:last-child {
  font-size: 0.85rem;
  color: var(--gray-text);
  line-height: 1.5;
}

/* ===== Contact Page Standalone ===== */
.contact-page-section {
  padding-top: 0;
}

.contact-map {
  margin-top: 48px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.contact-map iframe {
  width: 100%;
  height: 350px;
  border: none;
  display: block;
}

/* ===== WhatsApp Floating Button ===== */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  transition: all 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.55);
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
  fill: #fff;
}

/* ===== Responsive ===== */

/* Tablet */
@media (max-width: 1023px) {
  .hero h1 {
    font-size: 2.5rem;
  }

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

  .services-grid .service-card:nth-child(4),
  .services-grid .service-card:nth-child(5) {
    grid-column: auto;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  .contact-content {
    grid-template-columns: 1fr;
  }

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

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

/* Mobile */
@media (max-width: 767px) {
  .section {
    padding: 60px 0;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .hamburger {
    display: flex;
  }

  .nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    flex-direction: column;
    padding: 32px 24px;
    gap: 24px;
    transform: translateX(100%);
    transition: transform var(--transition);
    z-index: 999;
  }

  .nav.open {
    transform: translateX(0);
  }

  .nav-links {
    flex-direction: column;
    gap: 20px;
    width: 100%;
    background: #ffffff;
    padding-left: 20px;
  }

  .nav-links a {
    font-size: 1.1rem;
    padding: 8px 0;
  }

  .hero {
    min-height: auto;
    padding: 120px 0 80px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: flex-start;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .about-stats {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .why-us-grid {
    grid-template-columns: 1fr;
  }

  .team-grid {
    grid-template-columns: repeat(1, 1fr);
  }
  .page-hero h1 {
    font-size: 2rem;
  }

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

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .service-hero h1 {
    font-size: 2rem;
  }
}
