/* =========================
   ROOT VARIABLES
========================= */
:root {
  --blue: #1F4E79;
  --blue-dark: #12304d;
  --teal: #2FA4A9;
  --teal-light: #eafcfc;
  --green: #6BBF59;
  --gray-light: #f4f7f9;
  --text-dark: #1F2937;
  --white: #ffffff;
}

/* =========================
   BASE STYLES
========================= */
body {
  font-family: "Outfit", sans-serif;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.6;
  padding-top: 80px;
}

h1 { font-weight: 800; }
h2, h3 { font-weight: 700; }
h4, h5, h6 { font-weight: 600; }

/* =========================
   NAVBAR
========================= */
.navbar {
  background: linear-gradient(to bottom, #f6f9fc 0%, #ffffff 100%);
  backdrop-filter: saturate(180%) blur(6px);
  border-bottom: 1px solid rgba(31, 78, 121, 0.12);
  box-shadow: 0 4px 14px rgba(31, 78, 121, 0.05);
  padding: 15px 0;
}

.navbar-brand img {
  height: 48px;
}

.navbar-nav .nav-link {
  font-weight: 500;
  color: var(--text-dark);
  padding: 10px 0;
  position: relative;
}

.navbar-nav .nav-link:hover {
  color: var(--teal);
}

.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background-color: var(--teal);
  transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  width: 100%;
}

.btn-nav-cta {
  background-color: var(--green);
  color: #fff !important;
  padding: 10px 22px;
  border-radius: 30px;
  font-weight: 600;
  box-shadow: 0 6px 18px rgba(107, 191, 89, 0.35);
}

/* =========================
   HERO SECTION
========================= */
.hero {
  background: linear-gradient(
    135deg,
    #0e2439 0%,
    #173b5e 30%,
    #1F4E79 60%,
    #2FA4A9 100%
  );
  color: #fff;
  padding: 80px 0 50px;
  position: relative;
  overflow: hidden;
}

.hero h1 {
  font-size: 3.8rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  background: linear-gradient(to right, #ffffff, #e0f7fa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 1.25rem;
  max-width: 900px;
  margin: 0 auto 2.5rem;
  opacity: 0.9;
}

.hero-scroll-hint {
  margin-top: 50px;
  font-size: 0.9rem;
  opacity: 0.6;
  letter-spacing: 0.08em;
}

.hero .col-lg-11 {
  max-width: 980px;
}

/* =========================
   BUTTONS
========================= */
.btn-primary-custom {
  background-color: var(--green);
  color: #fff;
  padding: 15px 40px;
  border-radius: 12px;
  font-weight: 700;
  min-height: 52px;
  box-shadow: 0 10px 25px rgba(107, 191, 89, 0.4);
}

/* =========================
   SECTION COMMONS
========================= */
section {
  padding: 70px 0;
}

.section-title {
  margin-bottom: 55px;
  text-align: center;
}

.section-title h2 {
  color: var(--blue);
  font-size: 2.8rem;
  margin-bottom: 20px;
}

.section-title p {
  max-width: 650px;
  margin: 0 auto;
  font-size: 1.1rem;
  color: #6c757d;
}

/* =========================
   FEATURE CARDS (FIXED)
========================= */
.feature-card {
  background: #fff;
  padding: 45px 35px;
  border-radius: 24px;
  border: 1px solid rgba(31, 78, 121, 0.12);
  box-shadow: 0 18px 40px -12px rgba(31, 78, 121, 0.08);

  height: 100%;
  display: flex;
  flex-direction: column;

  transition: all 0.35s ease;
}

.feature-icon-wrapper {
  width: 70px;
  height: 70px;
  background: var(--teal-light);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  color: var(--teal);
  font-size: 2rem;
}

/* CONTENT WRAPPER — KEY FIX */
.feature-content {
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex-grow: 1;
}

.feature-card h3 {
  color: var(--blue);
  font-size: 1.45rem;
  margin: 0;
}

.feature-card p {
  color: #6c757d;
  font-size: 1.05rem;
  line-height: 1.7;
  margin: 0;
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: rgba(47, 164, 169, 0.45);
}

/* =========================
   CONTACT SECTION
========================= */
#contact {
  background: linear-gradient(180deg, #ffffff 0%, #edf4f9 100%);
}

.contact-container {
  background: #fff;
  border-radius: 30px;
  padding: 40px 30px;
  box-shadow: 0 20px 60px rgba(31, 78, 121, 0.08);
  max-width: 1100px;
  margin: 0 auto;
}

.contact-item {
  text-align: center;
  padding: 30px 20px;
  border-radius: 20px;
}

.contact-item-icon {
  width: 70px;
  height: 70px;
  background: var(--teal-light);
  color: var(--teal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 20px;
}

.contact-item-content h3 {
  font-size: 1.15rem;
  color: var(--blue);
}

.contact-item-content p,
.contact-item-content a {
  font-size: 1rem;
  color: #6c757d;
  text-decoration: none;
}

/* =========================
   FOOTER
========================= */
footer {
  background-color: var(--blue);
  color: rgba(255, 255, 255, 0.8);
  padding: 20px 0;
  text-align: center;
  font-size: 0.9rem;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.6rem;
  }

  .section-title h2 {
    font-size: 2.2rem;
  }

  .hero .col-lg-11 {
    max-width: 100%;
  }
}

/* =========================
   PRODUCT CARD ACTION
========================= */

.product-card {
  position: relative;
  padding-bottom: 70px; /* space for action */
}

.card-action {
  position: absolute;
  bottom: 30px;
  right: 35px;
}

.card-action a {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--teal);
  text-decoration: none;
  transition: all 0.25s ease;
}

.card-action a:hover {
  color: var(--blue);
  transform: translateX(3px);
}

/* Muted state for under development */
.card-action.muted {
  font-size: 0.85rem;
  color: #9aa4af;
  font-weight: 500;
}
