/* =============================================
   MODIFORM - MAIN STYLESHEET
   Colors: #10614D | #2F7E6B | #0C4E3D
   ============================================= */

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { overflow-x: hidden; }

/* =============================================
   NAVBAR
   ============================================= */
#navbar {
  background: transparent;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
#navbar.scrolled {
  background: rgba(12, 78, 61, 0.97);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 30px rgba(0,0,0,0.2);
}
.nav-link {
  color: rgba(255,255,255,0.85);
  font-size: 0.9375rem;
  font-weight: 500;
  position: relative;
  padding-bottom: 4px;
  transition: color 0.2s;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: #86efac;
  border-radius: 2px;
  transition: width 0.3s ease;
}
.nav-link:hover, .nav-link.active { color: #fff; }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav-logo-text { transition: opacity 0.2s; }

.btn-nav-cta {
  background: #fff;
  color: #10614D;
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.5rem 1.25rem;
  border-radius: 9999px;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.btn-nav-cta:hover {
  background: #ddf4ec;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(16,97,77,0.3);
}

.mobile-nav-link {
  color: rgba(255,255,255,0.85);
  font-weight: 500;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  display: block;
  transition: color 0.2s, padding-left 0.2s;
}
.mobile-nav-link:hover, .mobile-nav-link.active {
  color: #fff;
  padding-left: 8px;
}

/* =============================================
   HERO SECTION
   ============================================= */
.hero-pattern {
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.text-gradient-hero {
  background: linear-gradient(135deg, #86efac, #4ade80);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-illustration-wrapper {
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-16px); }
}

.stat-card {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.stat-number {
  font-size: 1.75rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}
.stat-label {
  font-size: 0.8rem;
  color: rgba(204, 240, 228, 0.8);
}

.btn-primary-white {
  display: inline-flex;
  align-items: center;
  background: #fff;
  color: #10614D;
  font-weight: 700;
  padding: 0.75rem 1.75rem;
  border-radius: 9999px;
  font-size: 0.9375rem;
  transition: all 0.25s ease;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.btn-primary-white:hover {
  background: #e8f5f1;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.2);
}

.btn-secondary-outline {
  display: inline-flex;
  align-items: center;
  background: transparent;
  color: #fff;
  font-weight: 600;
  padding: 0.75rem 1.75rem;
  border-radius: 9999px;
  border: 2px solid rgba(255,255,255,0.5);
  font-size: 0.9375rem;
  transition: all 0.25s ease;
}
.btn-secondary-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.8);
  transform: translateY(-2px);
}

/* =============================================
   SECTION COMMONS
   ============================================= */
.section-badge {
  display: inline-block;
  background: #e8f5f1;
  color: #10614D;
  font-weight: 600;
  font-size: 0.8125rem;
  padding: 0.375rem 1rem;
  border-radius: 9999px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.section-badge-white {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  color: #86efac;
  font-weight: 600;
  font-size: 0.8125rem;
  padding: 0.375rem 1rem;
  border-radius: 9999px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.section-title {
  font-size: 2rem;
  font-weight: 800;
  color: #0C4E3D;
  line-height: 1.2;
}
@media (min-width: 640px) {
  .section-title { font-size: 2.25rem; }
}
.section-desc {
  color: #6b7280;
  margin-top: 0.75rem;
  font-size: 1.0625rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* =============================================
   SERVICE CARDS
   ============================================= */
.service-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 1.25rem;
  padding: 1.75rem;
  transition: all 0.3s ease;
  cursor: default;
}
.service-card:hover {
  border-color: #10614D;
  box-shadow: 0 10px 40px rgba(16, 97, 77, 0.12);
  transform: translateY(-4px);
}
.service-icon-wrap {
  width: 56px;
  height: 56px;
  background: #e8f5f1;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  transition: background 0.3s, transform 0.3s;
}
.service-card:hover .service-icon-wrap {
  background: #10614D;
  transform: scale(1.05);
}
.service-card:hover .service-icon-wrap svg {
  color: #fff !important;
}
.service-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #0C4E3D;
  margin-bottom: 0.5rem;
}
.service-desc {
  color: #6b7280;
  font-size: 0.9rem;
  line-height: 1.65;
}

/* =============================================
   PRODUCT THUMBNAILS
   ============================================= */
.product-thumb-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: #fff;
  border: 1.5px solid #e5e7eb;
  border-radius: 1.125rem;
  padding: 1.5rem 1rem;
  transition: all 0.28s ease;
}
.product-thumb-card:hover {
  border-color: #10614D;
  box-shadow: 0 8px 32px rgba(16, 97, 77, 0.12);
  transform: translateY(-4px);
}
.product-thumb-icon {
  width: 80px;
  height: 80px;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.875rem;
  transition: transform 0.28s;
}
.product-thumb-card:hover .product-thumb-icon {
  transform: scale(1.08);
}
.product-name {
  font-weight: 700;
  font-size: 0.9375rem;
  color: #0C4E3D;
  margin-bottom: 0.25rem;
}
.product-type {
  font-size: 0.8rem;
  color: #6b7280;
}

/* =============================================
   BUTTONS
   ============================================= */
.btn-primary {
  background: #10614D;
  color: #fff;
  font-weight: 700;
  padding: 0.75rem 1.75rem;
  border-radius: 9999px;
  font-size: 0.9375rem;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(16, 97, 77, 0.3);
}
.btn-primary:hover {
  background: #0C4E3D;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(16, 97, 77, 0.4);
}
.btn-outline {
  background: transparent;
  color: #10614D;
  font-weight: 700;
  padding: 0.75rem 1.75rem;
  border-radius: 9999px;
  border: 2px solid #10614D;
  font-size: 0.9375rem;
  transition: all 0.25s ease;
}
.btn-outline:hover {
  background: #10614D;
  color: #fff;
  transform: translateY(-2px);
}

/* =============================================
   WHY US SECTION
   ============================================= */
.why-item {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  color: rgba(220, 252, 231, 0.9);
  font-size: 0.9375rem;
  line-height: 1.6;
}
.why-icon {
  width: 24px;
  height: 24px;
  background: rgba(134, 239, 172, 0.25);
  color: #86efac;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}
.feature-glass-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 1.125rem;
  padding: 1.5rem;
  backdrop-filter: blur(4px);
  transition: all 0.3s ease;
}
.feature-glass-card:hover {
  background: rgba(255,255,255,0.13);
  transform: translateY(-3px);
  border-color: rgba(255,255,255,0.22);
}

/* =============================================
   TESTIMONIALS
   ============================================= */
.testi-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 1.25rem;
  padding: 1.75rem;
  transition: all 0.28s ease;
}
.testi-card:hover {
  box-shadow: 0 10px 40px rgba(16, 97, 77, 0.1);
  transform: translateY(-3px);
  border-color: #10614D;
}
.stars {
  color: #f59e0b;
  font-size: 1.1rem;
  margin-bottom: 0.875rem;
}
.testi-text {
  color: #374151;
  font-size: 0.9375rem;
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 1.25rem;
}
.testi-author {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}
.testi-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}

/* =============================================
   FOOTER
   ============================================= */
.footer-heading {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #86efac;
  margin-bottom: 1rem;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}
.footer-links a {
  color: rgba(204, 240, 228, 0.8);
  font-size: 0.9rem;
  transition: color 0.2s, padding-left 0.2s;
}
.footer-links a:hover {
  color: #fff;
  padding-left: 4px;
}
.social-link {
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.75);
  transition: all 0.25s;
}
.social-link:hover {
  background: rgba(255,255,255,0.18);
  color: #fff;
  transform: translateY(-2px);
}

/* =============================================
   PAGE HERO (inner pages)
   ============================================= */
.page-hero {
  background: linear-gradient(135deg, #0C4E3D, #10614D, #2F7E6B);
  padding-top: 6rem;
  padding-bottom: 4rem;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* =============================================
   CATALOG PAGE
   ============================================= */
.catalog-card {
  background: #fff;
  border: 1.5px solid #e5e7eb;
  border-radius: 1.25rem;
  overflow: hidden;
  transition: all 0.3s ease;
}
.catalog-card:hover {
  border-color: #10614D;
  box-shadow: 0 12px 40px rgba(16, 97, 77, 0.13);
  transform: translateY(-5px);
}
.catalog-img {
  background: linear-gradient(135deg, #e8f5f1, #f0faf7);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 200px;
  transition: background 0.3s;
}
.catalog-card:hover .catalog-img {
  background: linear-gradient(135deg, #d4eee6, #e8f5f1);
}
.catalog-body {
  padding: 1.25rem;
}
.catalog-tag {
  display: inline-block;
  background: #e8f5f1;
  color: #10614D;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.2rem 0.7rem;
  border-radius: 9999px;
  margin-bottom: 0.5rem;
}
.catalog-name {
  font-size: 1.0625rem;
  font-weight: 700;
  color: #0C4E3D;
  margin-bottom: 0.375rem;
}
.catalog-desc {
  font-size: 0.87rem;
  color: #6b7280;
  line-height: 1.6;
  margin-bottom: 1rem;
}
.catalog-cta {
  font-size: 0.875rem;
  font-weight: 600;
  color: #10614D;
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  transition: gap 0.2s;
}
.catalog-card:hover .catalog-cta { gap: 0.6rem; }

/* Filter Tabs */
.filter-tab {
  padding: 0.5rem 1.25rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  border: 1.5px solid #e5e7eb;
  color: #6b7280;
  background: #fff;
  cursor: pointer;
  transition: all 0.2s ease;
}
.filter-tab:hover {
  border-color: #10614D;
  color: #10614D;
}
.filter-tab.active {
  background: #10614D;
  border-color: #10614D;
  color: #fff;
}

/* =============================================
   ABOUT PAGE
   ============================================= */
.timeline-dot {
  width: 14px;
  height: 14px;
  background: #10614D;
  border-radius: 50%;
  border: 3px solid #e8f5f1;
  flex-shrink: 0;
  margin-top: 4px;
}
.timeline-line {
  width: 2px;
  background: linear-gradient(to bottom, #10614D, #e5e7eb);
  min-height: 40px;
  margin-left: 6px;
}
.team-card {
  text-align: center;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 1.25rem;
  padding: 2rem 1.5rem;
  transition: all 0.28s ease;
}
.team-card:hover {
  box-shadow: 0 10px 32px rgba(16, 97, 77, 0.1);
  transform: translateY(-4px);
  border-color: #10614D;
}
.team-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  margin: 0 auto 1rem;
}

/* =============================================
   CONTACT PAGE
   ============================================= */
.contact-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 1.25rem;
  padding: 1.75rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  transition: all 0.28s;
}
.contact-card:hover {
  border-color: #10614D;
  box-shadow: 0 8px 28px rgba(16, 97, 77, 0.1);
}
.contact-icon-wrap {
  width: 50px;
  height: 50px;
  background: #e8f5f1;
  border-radius: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 0.375rem;
}
.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid #e5e7eb;
  border-radius: 0.75rem;
  font-size: 0.9375rem;
  color: #374151;
  background: #fff;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  font-family: 'Inter', sans-serif;
}
.form-input:focus {
  border-color: #10614D;
  box-shadow: 0 0 0 3px rgba(16, 97, 77, 0.12);
}
.form-input::placeholder { color: #9ca3af; }
textarea.form-input { resize: vertical; min-height: 130px; }

/* =============================================
   AOS ANIMATIONS (Vanilla)
   ============================================= */
[data-aos] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
[data-aos="fade-left"] {
  transform: translateX(24px);
}
[data-aos="fade-right"] {
  transform: translateX(-24px);
}
[data-aos].aos-animate {
  opacity: 1;
  transform: translate(0);
}

/* =============================================
   SCROLL INDICATOR
   ============================================= */
.scroll-indicator { opacity: 0.6; }

/* =============================================
   RESPONSIVE HELPERS
   ============================================= */
@media (max-width:640px) {
  .section-title { font-size: 1.75rem; }
  .stat-number { font-size: 1.4rem; }
}
