:root {
    --primary: #123b63;
    --primary-dark: #0b2640;
    --secondary: #1aa89a;
    --light: #f5f8fc;
    --white: #ffffff;
    --text: #1f2d3d;
    --muted: #6b7b8c;
    --border: rgba(18, 59, 99, 0.12);
    --shadow: 0 18px 45px rgba(18, 59, 99, 0.12);
    --radius-lg: 24px;
    --radius-md: 18px;
    --radius-sm: 12px;
    --transition: all 0.3s ease;
    --max-width: 1200px;
}

/* =========================
   RESET / BASE
========================= */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Segoe UI", Arial, sans-serif;
    background: var(--light);
    color: var(--text);
    line-height: 1.6;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(100% - 32px, var(--max-width));
    margin: 0 auto;
}

/* =========================
   HEADER / NAVBAR
========================= */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(18, 59, 99, 0.08);
}

.nav-container {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

/* =========================
   LOGO
========================= */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.logo-img {
    height: 56px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.logo-text strong {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
}

.logo-text span {
    font-size: 12px;
    color: var(--muted);
}

/* =========================
   NAV
========================= */
.nav {
    display: flex;
    align-items: center;
    gap: 22px;
}

.nav a {
    font-weight: 600;
    transition: var(--transition);
}

.nav a:hover {
    color: var(--primary);
}

.btn-nav {
    background: var(--primary);
    color: #fff !important;
    padding: 12px 18px;
    border-radius: 999px;
}

.menu-btn {
    display: none;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.menu-btn span {
    display: block;
    width: 26px;
    height: 3px;
    margin: 5px 0;
    border-radius: 99px;
    background: var(--primary);
}

/* =========================
   HERO
========================= */
.hero {
    position: relative;
    overflow: hidden;
    min-height: 88vh;
    padding: 100px 0;
    display: flex;
    align-items: center;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image:
        linear-gradient(
            to right,
            rgba(20, 30, 40, 0.85) 0%,
            rgba(20, 30, 40, 0.75) 40%,
            rgba(20, 30, 40, 0.35) 70%,
            rgba(20, 30, 40, 0.15) 100%
        ),
        url('/images/slide1.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
    padding: 0;
}

.hero-content {
    max-width: 650px;
    color: #fff;
}

.hero h1,
.hero-content h1 {
    margin: 0 0 20px;
    font-size: clamp(2.3rem, 4vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    color: #fff;
}

.hero p,
.hero-content p {
    max-width: 720px;
    margin-bottom: 30px;
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.92);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.hero-image {
    display: flex;
    justify-content: flex-end;
}

.image-frame {
    width: 100%;
    max-width: 420px;
    padding: 14px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: var(--shadow);
    backdrop-filter: blur(8px);
}

.image-frame img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    border-radius: 20px;
}

/* =========================
   PAGE BANNER
========================= */
.page-banner {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
}

.small-banner h1 {
    margin: 0 0 12px;
    font-size: clamp(2rem, 3vw, 3rem);
}

/* =========================
   SECTIONS
========================= */
.section {
    padding: 90px 0;
}

.light {
    background: var(--light);
}

.white {
    background: #fff;
}

.section-header {
    max-width: 800px;
    margin-bottom: 38px;
}

.section-header.center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.section-header h2 {
    margin: 0 0 12px;
    font-size: clamp(2rem, 3vw, 3rem);
    line-height: 1.15;
}

.section-header p {
    margin: 0;
    color: var(--muted);
}

/* =========================
   TAGS
========================= */
.tag {
    display: inline-block;
    margin-bottom: 16px;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.hero .tag {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #fff;
}

.tag-light,
.page-banner .tag {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
}

.section-header .tag-light {
    background: rgba(18, 59, 99, 0.08);
    color: var(--primary);
}

/* =========================
   BUTTONS
========================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 14px 26px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-weight: 700;
    transition: var(--transition);
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: #1fc7c1;
    color: #fff;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.28);
    color: #fff;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

.full-width {
    width: 100%;
}

/* =========================
   CARDS
========================= */
.cards-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.card:hover,
.gallery-item:hover {
    transform: translateY(-6px);
}

.card h3 {
    margin-top: 0;
    margin-bottom: 10px;
    color: var(--primary);
}

.icon-box {
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    border-radius: 16px;
    background: linear-gradient(135deg, #e8f4fb, #dcfaf5);
    font-size: 26px;
}

.notice {
    margin-top: 28px;
    padding: 24px;
    background: #fff7e8;
    border: 1px solid #f0cf8b;
    border-radius: 18px;
    box-shadow: var(--shadow);
}

.notice h3 {
    margin-top: 0;
    color: #8a5a00;
}

/* =========================
   CONTENT BLOCKS
========================= */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}

.content-block {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow);
}

.check-list {
    list-style: none;
    padding: 0;
    margin: 18px 0 0;
}

.check-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 12px;
}

.check-list li::before {
    content: "✓";
    position: absolute;
    top: 0;
    left: 0;
    color: var(--secondary);
    font-weight: 700;
}

/* =========================
   GALLERY
========================= */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
}

.gallery-item {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.gallery-item h3 {
    margin: 0;
    padding: 16px;
    font-size: 16px;
    text-align: center;
    color: var(--primary);
}

/* =========================
   FAQ
========================= */
.faq {
    max-width: 900px;
    margin: 0 auto;
}

.faq details {
    margin-bottom: 18px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.faq summary {
    position: relative;
    cursor: pointer;
    list-style: none;
    padding: 22px 24px;
    font-weight: 700;
    color: var(--primary);
}

.faq summary::-webkit-details-marker {
    display: none;
}

.faq summary::after {
    content: "+";
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    color: var(--secondary);
}

.faq details[open] summary::after {
    content: "−";
}

.faq p {
    margin: 0;
    padding: 0 24px 22px;
    color: var(--muted);
}

/* =========================
   CONTACT
========================= */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 0.95fr;
    gap: 28px;
    align-items: start;
}

.contact-info,
.contact-form {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow);
}

.contact-info h2 {
    margin-top: 0;
}

.contact-list {
    display: grid;
    gap: 16px;
    margin-top: 24px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px;
    background: #f8fbff;
    border: 1px solid rgba(18, 59, 99, 0.08);
    border-radius: 16px;
}

.contact-item span {
    font-size: 24px;
}

.contact-item p {
    margin: 0;
    color: var(--muted);
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
    color: var(--primary);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid rgba(18, 59, 99, 0.14);
    border-radius: 14px;
    outline: none;
    background: #fbfdff;
    font: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--secondary);
    box-shadow: 0 0 0 4px rgba(26, 168, 154, 0.12);
}

.small-note {
    margin-top: 12px;
    margin-bottom: 0;
    font-size: 14px;
    color: var(--muted);
}

/* =========================
   FOOTER
========================= */
.footer {
    background: #0a2238;
    color: rgba(255, 255, 255, 0.88);
    padding-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr;
    gap: 28px;
}

.footer h3,
.footer h4 {
    margin-top: 0;
    color: #fff;
}

.footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer li {
    margin-bottom: 10px;
}

.footer-bottom {
    margin-top: 30px;
    padding: 18px 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
    font-size: 14px;
}

/* =========================
   ANIMATIONS
========================= */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.12s;
}

.delay-2 {
    transition-delay: 0.22s;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 1100px) {
    .hero-grid,
    .contact-grid,
    .footer-grid,
    .two-col {
        grid-template-columns: 1fr;
    }

    .cards-3,
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-image {
        justify-content: flex-start;
    }
}

@media (max-width: 820px) {
    .menu-btn {
        display: block;
    }

    .nav {
        display: none;
        position: absolute;
        top: 76px;
        left: 16px;
        right: 16px;
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        padding: 18px;
        background: #fff;
        border: 1px solid var(--border);
        border-radius: 18px;
        box-shadow: var(--shadow);
    }

    .nav.open {
        display: flex;
    }

    .hero {
        min-height: auto;
        padding: 60px 0;
    }

    .hero-grid {
        grid-template-columns: 1fr;
    }

    .cards-3,
    .gallery-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .image-frame img {
        height: 340px;
    }

    .section {
        padding: 72px 0;
    }

    .logo-img {
        height: 46px;
    }

    .logo-text strong {
        font-size: 1rem;
    }

    .logo-text span {
        font-size: 11px;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: 500px;
    }

    .hero-content h1 {
        font-size: 2.3rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 520px) {
    .nav-container {
        gap: 14px;
    }

    .logo {
        gap: 10px;
    }

    .logo-img {
        height: 40px;
    }

    .logo-text strong {
        font-size: 0.95rem;
    }

    .logo-text span {
        display: none;
    }
}

.page-banner.small-banner {
    position: relative;
    overflow: hidden;
    padding: 90px 0;
    color: #fff;
    background-image:
        linear-gradient(rgba(18, 59, 99, 0.72), rgba(11, 38, 64, 0.72)),
        url('/images/slide1.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.page-banner.small-banner .container {
    position: relative;
    z-index: 2;
}

.page-banner.small-banner .tag {
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
}

.page-banner.small-banner h1,
.page-banner.small-banner p {
    color: #fff;
}