/* ============================================================
   DESIGN TOKENS
============================================================ */
:root {
  --primary: #022154;
  /* Deep Navy */
  --secondary: #207C3B;
  /* Emerald Green */
  --sec-light: #d4f0e3;
  /* Soft green tint */
  --sec-dark: #165c2b;
  --white: #FEFEFE;
  --off-white: #f4f8f6;
  --text: #1e2d3d;
  --muted: #556070;
  --border: #dde6df;
  --shadow-soft: 0 10px 30px rgba(2, 33, 84, 0.09);
  --shadow-hover: 0 22px 48px rgba(2, 33, 84, 0.16);
  --radius: 18px;
  --transition: all 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ============================================================
   BASE
============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Lato', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.75;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 700;
  color: var(--primary);
}

section {
  padding: 90px 0;
}

/* ============================================================
   NAVBAR
============================================================ */
.modern-navbar {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  box-shadow: 0 5px 24px rgba(2, 33, 84, 0.07);
  padding: 12px 0;
  transition: var(--transition);
  position: sticky;
  top: 0;
  z-index: 1030;
}

.navbar-logo {
  height: 40px;
  width: auto;
  margin-right: 8px;
}

.brand-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.02em;
}

.nav-link {
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--primary) !important;
  padding: 0.5rem 1rem !important;
  position: relative;
  transition: var(--transition);
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -3px;
  width: 0;
  height: 2px;
  background: var(--secondary);
  border-radius: 2px;
  transition: var(--transition);
  transform: translateX(-50%);
}

.nav-link:hover {
  color: var(--secondary) !important;
}

.nav-link:hover::after {
  width: 60%;
}

.nav-link.active {
  color: var(--secondary) !important;
}

.nav-link.active::after {
  width: 60%;
  background: var(--secondary);
}

.apply-btn {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white !important;
  border-radius: 30px;
  padding: 9px 22px !important;
  font-weight: 700;
  transition: var(--transition);
  box-shadow: 0 6px 18px rgba(2, 33, 84, 0.15);
}

.apply-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(2, 33, 84, 0.22);
  color: white !important;
}

.apply-btn::after {
  display: none !important;
}

/* ============================================================
   HERO
============================================================ */
.modern-hero {
  padding: 90px 0 60px;
  background: var(--white);
}

.hero-text h1 {
  font-size: 54px;
  font-weight: 700;
  line-height: 1.15;
  color: var(--primary);
  margin-bottom: 20px;
}

.gradient-text {
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 17px;
  color: var(--muted);
  margin-bottom: 30px;
  max-width: 500px;
  font-weight: 400;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.hero-btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  padding: 14px 30px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  transition: var(--transition);
  box-shadow: 0 8px 22px rgba(2, 33, 84, 0.18);
  text-decoration: none;
}

.hero-btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(2, 33, 84, 0.24);
  color: white;
}

.hero-btn-outline {
  border: 2px solid var(--primary);
  color: var(--primary);
  padding: 12px 28px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  transition: var(--transition);
  text-decoration: none;
}


.hero-btn-outline:hover {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(2, 33, 84, 0.24);
}

.trust-badges {
  display: flex;
  gap: 20px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.badge-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.badge-item i {
  color: var(--secondary);
  font-size: 15px;
}

.hero-img-card {
  border-radius: 5px;
  display: inline-block;
}

.hero-img {
  max-width: 580px;           
  width: 100%;
  border-radius: 20px;
  animation: floatHero 6s ease-in-out infinite;
}


.form-message {
  padding: 14px 18px;
  border-radius: 12px;
  margin-bottom: 1.6rem;
  font-weight: 500;
  display: none;
}

.form-message.success {
  background: #ecfdf5;
  border: 1px solid #10b981;
  color: #065f46;
}

.form-message.error {
  background: #fef2f2;
  border: 1px solid #ef4444;
  color: #7f1d1d;
}

@keyframes floatHero {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-14px);
  }

  100% {
    transform: translateY(0);
  }
}

/* ============================================================
   SECTION HEADINGS
============================================================ */
.section-title {
  font-size: 2.6rem;
  font-weight: 700;
  font-style: italic;
  color: var(--primary);
  margin-bottom: 1rem;
}

.section-divider {
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 3px;
  margin: 0 auto 1.2rem;
}

.section-subtitle {
  max-width: 600px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 16px;
}

/* ============================================================
   ABOUT
============================================================ */
.about-section {
  background: var(--off-white);
}

.about-img-wrapper {
  display: inline-block;
  padding: 10px;
  background: white;
  border-radius: 22px;
  box-shadow: 0 20px 50px rgba(2, 33, 84, 0.09);
}

.about-img {
  width: 100%;
  max-width: 580px;
  height: 480px;
  object-fit: cover;
  border-radius: 16px;
}

.about-text {
  font-size: 16px;
  line-height: 1.75;
  color: var(--muted);
}

.about-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  background: white;
  padding: 13px 16px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 14px;
  color: var(--primary);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.about-feature i {
  color: var(--secondary);
  font-size: 18px;
}

.about-feature:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(2, 33, 84, 0.09);
  border-color: var(--secondary);
}

/* ============================================================
   SERVICES
============================================================ */
.services-section {
  background: white;
}

.service-card {
  background: white;
  padding: 36px 28px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: var(--transition);
  height: 100%;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(32, 124, 59, 0.35);
}

.service-icon {
  width: 66px;
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(2, 33, 84, 0.07), rgba(32, 124, 59, 0.09));
}

.service-icon i {
  font-size: 28px;
  color: var(--primary);
}

.service-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 10px;
}

.service-desc {
  font-size: 14.5px;
  color: var(--muted);
  margin-bottom: 16px;
}

.service-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  text-align: left;
}

.service-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: #444;
  margin-bottom: 8px;
}

.service-list i {
  color: var(--secondary);
  font-size: 15px;
}

.service-btn {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  border-radius: 28px;
  padding: 10px 26px;
  font-weight: 700;
  font-size: 0.83rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: var(--transition);
  text-decoration: none;
  display: inline-block;
}

.service-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(2, 33, 84, 0.18);
  color: white;
}

/* ============================================================
   CALCULATOR
============================================================ */
.calculator-section {
  background: var(--off-white);
}

.calculator-card {
  background: white;
  padding: 36px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border);
}

.calculator-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.calculator-header h5 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary);
  margin: 0;
}

.reset-icon {
  border: none;
  background: var(--off-white);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--primary);
}

.reset-icon:hover {
  background: var(--secondary);
  color: white;
  transform: rotate(180deg);
}

.input-group-custom {
  margin-bottom: 18px;
}

.input-group-custom label {
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 6px;
  display: block;
  color: var(--primary);
}

.input-group-custom input {
  border-radius: 10px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  font-size: 15px;
  transition: var(--transition);
  width: 100%;
}

.input-group-custom input:focus {
  border-color: var(--secondary);
  box-shadow: 0 0 0 0.2rem rgba(32, 124, 59, 0.18);
  outline: none;
}

.calculate-btn {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  border: none;
  border-radius: 30px;
  padding: 13px;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  width: 100%;
  cursor: pointer;
  transition: var(--transition);
}

.calculate-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(2, 33, 84, 0.22);
}

.result-box {
  margin-top: 22px;
  padding: 0 18px;
  border-radius: 12px;
  background: linear-gradient(135deg, #edfaf3, #f4fff9);
  border: 1px solid rgba(32, 124, 59, 0.2);
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.45s ease, opacity 0.35s ease, padding 0.35s ease;
}

.result-box.show {
  max-height: 260px;
  opacity: 1;
  padding: 18px;
}

.result-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  font-size: 15px;
}

.result-item:last-child {
  border-bottom: none;
  font-weight: 700;
  font-size: 16px;
}

.result-item strong {
  color: var(--secondary);
}

.calculator-content h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-style: italic;
  color: var(--primary);
  margin-bottom: 14px;
}

.calculator-content p {
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 13px;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 22px;
}

.benefit {
  display: flex;
  align-items: center;
  gap: 10px;
  background: white;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--primary);
  transition: var(--transition);
}

.benefit i {
  color: var(--secondary);
  font-size: 18px;
}

.benefit:hover {
  border-color: var(--secondary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

/* ============================================================
   TESTIMONIALS
============================================================ */
.testimonials-section {
  background: linear-gradient(135deg, #f4f8f6, #edf5f0);
}

.testimonial {
  background: white;
  padding: 32px 26px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border);
  height: 100%;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.testimonial::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.testimonial:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(32, 124, 59, 0.3);
}

.testimonial .quote-icon {
  font-size: 3rem;
  color: rgba(32, 124, 59, 0.14);
  line-height: 1;
  margin-bottom: 14px;
  display: block;
}

.testimonial .stars {
  color: var(--secondary);
  font-size: 14px;
  margin-bottom: 14px;
}

.testimonial p {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.1rem;
  color: var(--text);
  line-height: 1.65;
  margin-bottom: 18px;
}

.testimonial .client-name {
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
}

.testimonial .client-loc {
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 2px;
}

/* ============================================================
   CTA
============================================================ */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, #0a3a22 100%);
  color: white;
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 25% 75%, rgba(32, 124, 59, 0.22), transparent 65%);
  pointer-events: none;
}

.cta-section h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3.2rem;
  font-style: italic;
  color: white;
  margin-bottom: 16px;
}

.cta-section p {
  font-size: 1.15rem;
  opacity: 0.88;
  margin-bottom: 32px;
  font-weight: 300;
}

.cta-btn-primary {
  background: linear-gradient(135deg, var(--secondary), #2aa84f);
  color: white;
  border-radius: 30px;
  padding: 15px 38px;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  transition: var(--transition);
  text-decoration: none;
  display: inline-block;
  box-shadow: 0 10px 28px rgba(32, 124, 59, 0.35);
}

.cta-btn-primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 42px rgba(32, 124, 59, 0.5);
  color: white;
}

/* ============================================================
   CONTACT
============================================================ */
.contact-section {
  background: var(--off-white);
}

.contact-info-card,
.contact-form-card {
  background: white;
  padding: 36px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border);
  height: 100%;
  transition: var(--transition);
}

.contact-info-card:hover,
.contact-form-card:hover {
  box-shadow: var(--shadow-hover);
}

.contact-info-card h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  font-style: italic;
  color: var(--primary);
  margin-bottom: 8px;
}

.contact-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 12px 10px;
  border-radius: 10px;
  margin-bottom: 4px;
  transition: var(--transition);
  text-decoration: none;
  color: inherit;
}

.contact-item:hover {
  background: var(--sec-light);
}

.contact-item i {
  font-size: 20px;
  color: var(--secondary);
  width: 26px;
  margin-top: 2px;
}

.contact-item strong {
  font-size: 0.78rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--primary);
  display: block;
  margin-bottom: 2px;
}

.contact-item p {
  margin: 0;
  font-size: 14.5px;
  color: var(--muted);
}

.contact-form-card h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  font-style: italic;
  color: var(--primary);
  margin-bottom: 22px;
}

.form-label {
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--primary);
}

.form-control,
.form-select {
  border-radius: 10px;
  padding: 11px 14px;
  border: 1px solid var(--border);
  font-size: 14.5px;
  transition: var(--transition);
}

.form-control:focus,
.form-select:focus {
  border-color: var(--secondary);
  box-shadow: 0 0 0 0.2rem rgba(32, 124, 59, 0.18);
}

.submit-btn {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  border: none;
  border-radius: 30px;
  padding: 14px;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  width: 100%;
  cursor: pointer;
  transition: var(--transition);
}

.submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(2, 33, 84, 0.22);
}

/* ============================================================
   MAP
============================================================ */
.map-section {
  padding: 0 0 80px;
  background: var(--off-white);
}

.map-section .map-wrapper {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border);
}

.map-section iframe {
  width: 100%;
  height: 400px;
  border: 0;
  display: block;
}

/* ============================================================
   FOOTER
============================================================ */
footer {
  background: linear-gradient(135deg, var(--primary), #0a1e3a);
  color: #94b8a8;
  padding: 44px 0 24px;
  text-align: center;
}

footer .brand-name-footer {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  color: #6dd9a8;
  font-style: italic;
  display: block;
  margin-bottom: 8px;
}

footer p {
  font-size: 13.5px;
  opacity: 0.75;
  margin-bottom: 0;
}

footer a {
  color: #7aaa90;
  text-decoration: none;
  transition: 0.3s;
  margin: 0 8px;
  font-size: 13.5px;
}

footer a:hover {
  color: #6dd9a8;
}

.social-icons {
  margin-top: 16px;
}

.social-icons a {
  font-size: 1.35rem;
  margin: 0 7px;
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

/* ============================================================
   WHATSAPP & SCROLL TOP
============================================================ */
#scrollTop {
  position: fixed;
  bottom: 105px;
  right: 28px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  border: none;
  border-radius: 50%;
  width: 52px;
  height: 52px;
  font-size: 18px;
  cursor: pointer;

  display: none;
  align-items: center;
  justify-content: center;

  z-index: 1000;
  transition: var(--transition);
  box-shadow: var(--shadow-soft);
}

#scrollTop:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: var(--shadow-hover);
}

.whatsapp-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: white;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  text-decoration: none;
  transition: var(--transition);
  box-shadow: var(--shadow-soft);
}

.whatsapp-btn:hover {
  transform: translateY(-5px) scale(1.1);
  color: white;
  box-shadow: var(--shadow-hover);
}

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 992px) {
  .hero-text h1 {
    font-size: 42px;
  }
}

@media (max-width: 768px) {
  .hero-text h1 {
    font-size: 34px;
  }

  section {
    padding: 60px 0;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .cta-section h2 {
    font-size: 2.2rem;
  }

  .section-title {
    font-size: 2rem;
  }
}

.trust-tagline {
  margin-top: 12px;
  font-size: 14px;
  color: #556070;
  font-weight: 500;
}

.brand-name-footer {
  color: inherit;
  text-decoration: none;
  font-weight: 600;
}

.brand-name-footer:hover {
  opacity: 0.8;
}