/* ==== BASE RESET ==== */
body, h1, h2, h3, h4, h5, p, ul {
    margin: 0;
    padding: 0;
}
body {
    font-family: 'Segoe UI', Arial, sans-serif;
    min-height: 100vh;
    background: linear-gradient(180deg, #eaf6fa 0%, #bfe9f7 100%);
    color: #232c33;
    line-height: 1.6;
    position: relative;
    overflow-x: hidden;
}
/* Decorative bubbles */
body::before, body::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    z-index: 0;
    opacity: 0.13;
    pointer-events: none;
}
body::before {
    width: 220px; height: 220px;
    top: 60px; left: -90px;
    background: #55bde6;
    filter: blur(2px);
}
body::after {
    width: 140px; height: 140px;
    right: -80px; bottom: 30px;
    background: #1e8fa2;
    filter: blur(4px);
}
a { text-decoration: none; color: inherit; }

/* ==== NAVBAR ==== */
.main-nav {
    width: 100%;
    background: #1e8fa2;
    color: #fff;
    padding: 0.6em 2em;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
    position: relative;
    z-index: 10;
    min-height: 56px;
    padding: 0.6em 3em 0.6em 2em; /* Gawing mas malaki ang right padding! */
}
.logo {
    font-size: 1.6em;
    font-weight: bold;
    letter-spacing: 2px;
    color: #fff;
    text-decoration: none;
    margin-right: 1em;
}

.nav-links {
    display: flex;
    gap: 1.7em;
    align-items: center;
    gap: 1.7em;
    padding-right: 0.5em; /* or adjust as needed */
      margin-right: 5em; /* Optional dagdag, pwede mo taasan pa */
}
.nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 1.04em;
    font-weight: 500;
    transition: color 0.2s, background 0.2s;
    padding: 7px 17px;
    border-radius: 24px;
}
.nav-links a:hover,
.nav-links .btn-primary {
    background: #126782;
    color: #fff;
}
.btn-primary {
    background: #16798e;
    color: #fff;
    font-weight: bold;
}
.burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    cursor: pointer;
    width: 36px;
    height: 36px;
    margin-left: 0.7em;
    padding-right: 20px;
}
.burger span {
    height: 4px;
    width: 100%;
    background: #fff;
    border-radius: 2px;
    margin: 4px 0;
    transition: all 0.23s;
}
.footer {
    text-align: center;
    padding: 1.2em 0;
    background: #1e8fa2;
    color: #fff;
    margin-top: 3em;
    position: relative;
    z-index: 2;
}

/* ==== HERO SPLIT SECTION ==== */
.hero {
    min-height: calc(100vh - 90px); /* 90px = navbar + footer, adjust as needed */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    position: relative;
    background: linear-gradient(180deg, #b1e7fa 0%, #eaf6fa 70%, #bfe9f7 100%);
    overflow: hidden;
}
.hero-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 1100px;
    gap: 3.2em;
    padding: 0 2em;
    margin: 0 auto;
    z-index: 2;
    min-height: 72vh;
}
.hero-text {
    flex: 1 1 470px;
    max-width: 520px;
    text-align: center;          /* center text horizontally */
    display: flex;
    flex-direction: column;
    justify-content: center;     /* center vertically */
    align-items: center;         /* center children horizontally */
    height: 100%;
}
.badge-popular {
    display: inline-block;
    background: linear-gradient(90deg, #1e8fa2 60%, #55bde6 100%);
    color: #fff;
    font-weight: bold;
    font-size: 1.05em;
    letter-spacing: 0.05em;
    padding: 0.35em 1.3em;
    border-radius: 30px;
    margin-bottom: 1.1em;
    align-self: center;          /* center badge */
    box-shadow: 0 2px 10px rgba(30,143,162,0.14);
    text-shadow: 0 1px 6px rgba(0,0,0,0.08);
}
.hero-text h1 {
    font-size: 2.9em;
    color: #16798e;
    font-weight: 900;
    margin-bottom: 0.35em;
    letter-spacing: 0.5px;
}
.hero-text .tagline {
    font-size: 1.16em;
    color: #232c33;
    margin-bottom: 1.1em;
    line-height: 1.5;
}
.hero-benefits {
    list-style: none;
    margin: 1.4em 0 1.7em 0;
    padding: 0;
    color: #1e8fa2;
    font-weight: 500;
    font-size: 1.17em;
}
.hero-benefits li {
    margin: 0.39em 0;
    padding-left: 0.5em;
}
.btn-book {
    background: linear-gradient(90deg, #1e8fa2 60%, #55bde6 100%);
    color: #fff;
    border-radius: 45px;
    font-size: 1.19em;
    padding: 1em 2.7em;
    font-weight: bold;
    border: none;
    display: inline-block;
    margin-top: 1.1em;
    text-shadow: 0 2px 8px rgba(30,143,162,0.13);
    box-shadow: 0 6px 24px rgba(30,143,162,0.12);
    transition: background 0.2s, transform 0.13s;
    cursor: pointer;
}
.btn-book:hover, .btn-book:focus {
    background: linear-gradient(90deg, #16798e 80%, #2dc5f7 100%);
    transform: scale(1.06) translateY(-3px);
}

/* Hero Art (image) */
.hero-art {
    flex: 1 1 480px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}
.hero-art img {
    width: auto;
    height: 420px;         /* mas mataas */
    max-height: 62vh;
    border-radius: 33px;
    display: block;
    box-shadow: 0 8px 38px rgba(30,143,162,0.11);
    background: #eaf6fa;
    object-fit: cover;
}

/* ==== RESPONSIVE ==== */
@media (max-width: 1100px) {
    .hero-inner {
        gap: 1.5em;
        padding: 0 0.5em;
    }
    .hero-art img {
        height: 320px;
        max-width: 80vw;
    }
}
@media (max-width: 900px) {
    .hero-inner {
        flex-direction: column-reverse;
        gap: 1.3em;
        min-height: 70vh;
        padding: 0;
    }
    .hero-text {
        max-width: 97vw;
        padding: 0;
        text-align: center;
        align-items: center;
    }
    .badge-popular {
        align-self: center;
    }
    .hero-art img {
        height: 220px;
        max-width: 98vw;
        margin-bottom: 0.8em;
    }
}
@media (max-width: 600px) {
    .hero-inner { min-height: 62vh; }
    .hero-text h1 { font-size: 1.3em; }
    .hero-art img { height: 130px; max-width: 99vw; border-radius: 18px; }
    .features {
        padding: 1.2em 0.7em 1.7em 0.7em; /* mas maliit na padding sa mobile */
    }
}

/* ==== ABOUT, FEATURES, STEPS, CTA ==== */
.about, .features, .steps {
    background: rgba(255,255,255,0.95);
    box-shadow: 0 4px 20px rgba(30,143,162,0.07);
    border-radius: 18px;
    margin: 2.5em auto;
    max-width: 900px;
    padding: 2.2em 1.5em;
    z-index: 2;
    position: relative;
}
.about h2, .features h2, .steps h2, .cta h2 {
    color: #1e8fa2;
    margin-bottom: 0.7em;
    font-size: 2em;
    font-weight: 700;
    letter-spacing: 1px;
}
/* Features cards */
.features {
    max-width: 1400px;
    margin: 2em auto;
    padding: 1.5em 3vw 2em 3vw; /* VW units = % ng window width, mas flexible! */
    text-align: center;
}
.feature-grid {
    display: flex;
    flex-wrap: wrap;      /* DAPAT wrap para di magdikit! */
    gap: 2em;
    justify-content: center;
    align-items: stretch;
}
.feature-card {
    background: #fff;
    border-radius: 22px;
    box-shadow: 0 8px 32px rgba(30,143,162,0.17), 0 1.5px 5px rgba(30,143,162,0.05);
    flex: 1 1 0px;         /* Equal size, mas maliit na base width */
    min-width: 0;
    max-width: 290px;      /* limit size ng bawat card, adjust mo as needed */
    margin: 0;
    padding: 2.1em 1em 2.1em 1em; /* adjust as needed */
    text-align: center;
    transition: transform 0.14s, box-shadow 0.18s;
    border: 1.5px solid #bfe9f7;
    position: relative;
    z-index: 1;
}
.feature-card:hover {
    transform: translateY(-6px) scale(1.04);
    box-shadow: 0 14px 38px rgba(30,143,162,0.19), 0 2px 10px rgba(30,143,162,0.08);
    border: 1.5px solid #55bde6;
}
.icon {
    font-size: 2.7em;
    margin-bottom: 0.7em;
    display: block;
    color: #1e8fa2;
}
.feature-card h3 {
    font-size: 1.23em;
    margin-bottom: 0.52em;
    color: #155a67;
    font-weight: 700;
    letter-spacing: 0.02em;
}
.feature-card p {
    color: #232c33;
    font-size: 1em;
    margin: 0 auto;
    line-height: 1.46;
    max-width: 95%;
}
/* Steps */
.steps {
    background: #eaf6fa;
    padding: 2.2em 3vw 1.5em 3vw;    /* may padding left/right (vw for responsive!) */
    text-align: center;
    max-width: 1400px;   /* optional, para hindi sobrang lapad */
    margin: 2em auto;
    border-radius: 18px;
       max-width: 1200px;
    margin: 2em auto;
    padding: 2em 1em;
    background: #eaf6fa;
    border-radius: 18px;
    text-align: center;
}

.steps-grid {
    display: flex;
    flex-wrap: nowrap; /* Hindi na magwa-wrap sa desktop */
    gap: 1.3em;
    justify-content: center;
    align-items: stretch;
}

.step-card {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 2px 10px rgba(30,143,162, 0.08);
    width: 220px;          /* Fixed width, para 4 lang kasya */
    min-width: 0;
    max-width: 230px;
    margin: 0;
    padding: 1.3em 0.6em;
    text-align: center;
    position: relative;
    transition: transform 0.14s;
    box-sizing: border-box;
}

.step-card:hover {
    transform: scale(1.04);
    box-shadow: 0 8px 24px rgba(30,143,162,0.13);
}
.step-number {
    display: inline-block;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #1e8fa2;
    color: #fff;
    font-size: 1.2em;
    font-weight: bold;
    margin-bottom: 0.8em;
    line-height: 36px;
}
.step-card h4 {
    color: #155a67;
    margin-bottom: 0.3em;
}
/* CTA section */
.cta {
    text-align: center;
    margin: 3em 0 2.5em 0;
}
.cta-actions .btn {
    margin: 0.4em 0.5em;
}


/* --- Responsive styles --- */
@media (max-width: 900px) {
    .main-nav {
        padding: 0.6em 1em;
    }
    .nav-links {
        gap: 1em;
    }

        .feature-grid {
        flex-direction: column;
        gap: 1.2em;
        align-items: center;
    }
    .feature-card {
        max-width: 98vw;
        width: 100%;
        min-width: 0;
    }
}
@media (max-width: 720px) {
    .main-nav {
        padding: 0.6em 0.5em;
    }
    .nav-links {
        position: absolute;
        top: 56px;
        left: 0;
        right: 0;
        width: 100vw;
        background: #1e8fa2;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        display: none;
        box-shadow: 0 8px 16px rgba(20,45,56,0.07);
        z-index: 99;
        padding-bottom: 1em;
        box-sizing: border-box;
        overflow-x: hidden; /* Important */
    }
    .nav-links.open {
        display: flex;
    }
    .nav-links a {
        padding: 14px 1.3em;
        width: 100%;
        font-size: 1.12em;
        border-radius: 0;
    }
    .burger {
        display: flex;
    }
    body {
        overflow-x: hidden; /* Extra insurance */
    }
       .nav-links a {
        padding: 14px 1.3em 14px 2em;
    }
}
@media (max-width: 900px) {
    .steps-grid {
        flex-wrap: wrap;
    }
    .step-card {
        width: 98vw;
        max-width: 100%;
        margin-bottom: 1em;
    }
}
.step-arrow {
    display: flex;
    align-items: center;
    font-size: 2.5em;
    color: #1e8fa2;
    margin: 0 0.25em;
    font-weight: bold;
    user-select: none;
}

/* Hide arrow on mobile (optional) */
@media (max-width: 900px) {
    .steps-grid {
        flex-wrap: wrap;
    }
    .step-arrow {
        display: none;
    }
    .step-card {
        width: 98vw;
        max-width: 100%;
        margin-bottom: 1em;
    }
}

/* NAV base */
.main-nav .nav-links a{
  color:#ffffffcc;
  padding:10px 14px;
  border-radius:999px;
  text-decoration:none;
  transition:background .15s ease, color .15s ease, transform .1s ease;
}

/* Hover (lahat ng links) */
.main-nav .nav-links a:hover{
  background:rgba(255,255,255,.14);
  color:#fff;
  transform:translateY(-1px);
}

/* ACTIVE state (permanent highlight) */
.main-nav .nav-links a.active,
.main-nav .nav-links a.active-hash{
  background:#0f6f7f;   /* darker teal bubble */
  color:#fff;
  font-weight:700;
}

/* Hover kapag ACTIVE pa rin (mas dark ng kaunti) */
.main-nav .nav-links a.active:hover,
.main-nav .nav-links a.active-hash:hover{
  background:#0d6371;
  color:#fff;
}

/* Login button look (optional polish) */
.main-nav .nav-links a.btn-primary{
  background:#0e5f71;
  color:#fff;
  padding:10px 18px;
  border-radius:999px;
}
.main-nav .nav-links a.btn-primary:hover{
  background:#0b5160;
}

/* When the mobile menu opens, keep spacing nice */
.nav-links.open a{ margin:2px 0; }

