@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary-blue: #0088ff;
    --dark-blue: #005bb5;
    --text-dark: #1e293b;
    --text-light: #64748b;
    --bg-light: #f8fafc;
    --white: #ffffff;
    --accent-orange: #f97316;
    --card-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.01);
    --hover-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

html {
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

/* ================= HEADER & NAVBAR ================= */
.header {
    background: rgba(255, 255, 255, 0.98);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
    backdrop-filter: blur(8px);
}

.nav-container {
    max-width: 1520px;
    margin: 0 auto;
    padding: 12px 35px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    text-decoration: none;
}

.logo img {
    height: 48px;
    width: auto;
    object-fit: contain;
}

.logo-text-group {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.logo-title {
    font-size: 1.45rem;
    font-weight: 800;
    color: #00A2E9; /* Blue */
    line-height: 1.1;
    letter-spacing: -0.2px;
    white-space: nowrap;
}

.logo-subtitle {
    font-size: 0.82rem;
    font-weight: 700;
    color: #a47653; /* Light Brown */
    line-height: 1.2;
    margin-top: 2px;
    white-space: nowrap;
}

nav {
    display: flex;
    align-items: center;
    margin-left: auto;
    margin-right: 15px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-item {
    position: relative;
}

.nav-item > a {
    font-weight: 600;
    color: #0f3c5c;
    font-size: 0.95rem;
    padding: 8px 16px;
    border-radius: 50px;
    background: transparent;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.25s ease;
}

.nav-item > a:hover {
    color: #00A2E9;
    background: rgba(0, 162, 233, 0.08);
}

.nav-item > a.active {
    color: #00A2E9;
    background: rgba(0, 162, 233, 0.12);
    font-weight: 700;
}

.nav-item > a i {
    font-size: 0.72em;
    opacity: 0.75;
    transition: transform 0.25s ease;
}

.nav-item:hover > a i {
    transform: rotate(180deg);
}

/* We removed .search-item and .search-icon-btn, you can remove or leave them */

/* Dropdown */
.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    min-width: 220px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-radius: 0 0 8px 8px;
    border-top: 3px solid #00A2E9;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    padding: 10px 0;
}

.nav-item:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown li a {
    display: block;
    padding: 12px 20px;
    color: #475569;
    font-size: 0.95rem;
    font-weight: 500;
    transition: background 0.2s;
}

.dropdown li a:hover {
    background: #f8fafc;
    color: #00A2E9;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.search-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0f3c5c;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-icon:hover {
    background: #f8fafc;
    border-color: #00A2E9;
    color: #00A2E9;
    transform: rotate(5deg) scale(1.05);
}

.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--text-dark);
    cursor: pointer;
}

.btn-primary {
    background: var(--primary-blue);
    color: var(--white);
    padding: 10px 24px;
    border-radius: 30px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: var(--dark-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 136, 255, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--text-dark);
    padding: 10px 24px;
    border-radius: 30px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 2px solid var(--text-dark);
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: var(--text-dark);
    color: var(--white);
}

/* ================= HERO SECTION ================= */
.hero {
    position: relative;
    padding: 150px 20px 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #e0f2fe 0%, #ffffff 100%);
    overflow: hidden;
}

/* Custom SVG Background Waves */
.hero::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="1" d="M0,192L48,202.7C96,213,192,235,288,218.7C384,203,480,149,576,149.3C672,149,768,203,864,224C960,245,1056,235,1152,213.3C1248,192,1344,160,1392,144L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom center;
    background-size: cover;
    z-index: 1;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    position: relative;
    z-index: 2;
}

.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    animation: fadeInUp 1s ease-out forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tags {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--text-dark);
    text-transform: uppercase;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tags span {
    color: var(--primary-blue);
}

.hero-content h1 {
    font-size: 4.5rem;
    font-weight: 800;
    color: var(--primary-blue);
    line-height: 1.1;
    margin-bottom: 25px;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 35px;
    max-width: 90%;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.hero-image {
    position: relative;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

.hero-image::after {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"><path fill="%23FACC15" d="M44.7,-76.4C58.9,-69.2,71.8,-59.1,79.6,-45.8C87.4,-32.6,90.2,-16.3,88.7,-0.9C87.2,14.6,81.4,29.1,73.1,41.9C64.9,54.7,54.1,65.8,40.9,73.1C27.8,80.4,13.9,83.9,0.2,83.6C-13.6,83.3,-27.2,79.1,-40.5,72.1C-53.7,65,-66.6,55,-74.6,42.2C-82.5,29.3,-85.4,14.7,-84.8,0.3C-84.3,-14.1,-80.4,-28.1,-72.6,-40.4C-64.8,-52.6,-53.2,-63,-40.1,-69.8C-26.9,-76.6,-13.5,-79.8,1.2,-81.9C15.8,-84.1,30.6,-83.6,44.7,-76.4Z" transform="translate(100 100)" /></svg>') no-repeat center;
    background-size: contain;
    z-index: -1;
    opacity: 0.6;
}

.hero-image img {
    width: 100%;
    max-width: 600px;
    border-radius: 30px;
    box-shadow: 0 20px 40px rgba(0, 136, 255, 0.15);
    display: block;
    margin-left: auto;
    position: relative;
    z-index: 2;
    border: 5px solid white;
}

/* ================= PROGRAMS SECTION ================= */
.programs {
    padding: 60px 20px 100px;
    background: var(--white);
    position: relative;
    z-index: 3;
}

.programs-grid {
    max-width: 1400px;
    padding: 0 40px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    justify-content: center;
}

.program-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 60px 25px 50px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.03);
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,162,233,0.15);
}

.program-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: #00A2E9; /* Light blue icon */
}

.program-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #0f3c5c; /* Dark blue title */
}

.program-card p {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-bottom: 25px;
    line-height: 1.5;
}

.program-link {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: #e6f4fe;
    color: #00A2E9;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.program-card:hover .program-link {
    background: #00A2E9;
    color: #ffffff;
}

/* ================= INNER PAGES (PAGE.PHP) ================= */
.page-header {
    background: url('../images/header-bg.png') center/cover no-repeat;
    padding: 140px 20px 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    bottom: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    background: rgba(0, 136, 255, 0.05);
    border-radius: 50%;
}

.page-header-container {
    position: relative;
    z-index: 2;
}

.page-header h1 {
    font-size: 3rem;
    color: var(--primary-blue);
    font-weight: 800;
    margin-bottom: 15px;
    animation: fadeInUp 0.8s ease-out forwards;
}

.breadcrumbs {
    font-size: 0.95rem;
    color: var(--text-light);
    animation: fadeInUp 1s ease-out forwards;
}

.breadcrumbs a {
    color: var(--primary-blue);
    font-weight: 600;
}

.breadcrumbs span {
    margin: 0 10px;
    color: #cbd5e1;
}

.page-container {
    max-width: 1280px;
    margin: 50px auto 100px;
    padding: 0 25px;
    display: block;
    width: 100%;
    box-sizing: border-box;
}

.page-content {
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--card-shadow);
}

.page-featured-image {
    width: 100%;
    border-radius: 15px;
    margin-bottom: 30px;
    box-shadow: var(--card-shadow);
}

.rich-text {
    font-size: 1.1rem;
    color: var(--text-dark);
    line-height: 1.8;
    text-align: justify;
}

.rich-text p {
    margin-bottom: 20px;
    text-align: justify;
}

.rich-text h2, .rich-text h3 {
    color: var(--primary-blue);
    margin: 35px 0 15px;
    font-weight: 700;
}

.rich-text ul {
    list-style: none;
    margin-bottom: 20px;
    padding-left: 10px;
}

.rich-text ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
}

.rich-text ul li::before {
    content: '★';
    position: absolute;
    left: 0;
    color: #FACC15;
    font-size: 0.9em;
}

.page-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sidebar-widget {
    background: #fff;
    border-radius: 20px;
    padding: 30px;
    box-shadow: var(--card-shadow);
}

.sidebar-widget h3 {
    font-size: 1.25rem;
    color: var(--text-dark);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--bg-light);
    position: relative;
}

.sidebar-widget h3::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary-blue);
}

.sidebar-links li {
    margin-bottom: 12px;
}

.sidebar-links a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-light);
    font-weight: 500;
}

.sidebar-links a i {
    font-size: 0.8em;
    color: #cbd5e1;
    transition: all 0.3s ease;
}

.sidebar-links a:hover {
    color: var(--primary-blue);
    transform: translateX(5px);
}

.sidebar-links a:hover i {
    color: var(--primary-blue);
}

.contact-widget {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    color: #fff;
}

.contact-widget h3 {
    color: #fff;
    border-color: rgba(255,255,255,0.2);
}

.contact-widget h3::after {
    background: #FACC15;
}

.contact-widget p {
    color: rgba(255,255,255,0.9);
    margin-bottom: 20px;
}

.contact-widget .btn-primary {
    background: #fff;
    color: var(--primary-blue);
}

.contact-widget .btn-primary:hover {
    background: #FACC15;
    color: var(--text-dark);
    box-shadow: 0 4px 15px rgba(250, 204, 21, 0.4);
}

/* ================= RESPONSIVE ================= */
@media (max-width: 1280px) {
    .nav-container {
        padding: 10px 20px;
        gap: 12px;
    }
    nav {
        margin-right: 10px;
    }
    .nav-links {
        gap: 3px;
    }
    .nav-item > a {
        font-size: 0.88rem;
        padding: 7px 11px;
    }
    .logo-title {
        font-size: 1.3rem;
    }
    .logo-subtitle {
        font-size: 0.75rem;
    }
    .logo img {
        height: 42px;
    }
}

@media (max-width: 1024px) {
    .programs-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    .mobile-toggle {
        display: block;
    }
    .desktop-only {
        display: none !important;
    }
    nav {
        margin: 0;
    }
    .nav-links {
        position: fixed;
        top: 75px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 75px);
        background: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding: 30px 20px;
        gap: 12px;
        transition: 0.3s ease;
        z-index: 999;
        overflow-y: auto;
    }
    .nav-links.active {
        left: 0;
    }
    .nav-item {
        width: 100%;
        max-width: 340px;
        text-align: center;
    }
    .nav-item > a {
        width: 100%;
        justify-content: center;
        padding: 10px 18px;
        font-size: 1rem;
        background: rgba(0, 162, 233, 0.05);
    }
    .dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: #f1f5f9;
        border-radius: 8px;
        display: none;
        text-align: center;
        padding: 6px 0;
        margin-top: 6px;
        border-top: none;
    }
    .dropdown.show-mobile {
        display: block;
    }
}

@media (max-width: 768px) {
    .hero {
        padding-top: 120px;
    }
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-content {
        align-items: center;
    }
    .hero-content h1 {
        font-size: 3rem;
    }
    .hero-buttons {
        justify-content: center;
    }
    .hero-image img {
        margin: 0 auto;
    }
    .programs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .programs-grid {
        grid-template-columns: 1fr;
    }
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    .page-container {
        padding: 0 15px;
    }
}

/* ================= WHY CHOOSE US ================= */
.why-us {
    padding: 60px 0;
    background: var(--bg-light);
}

.why-us-header {
    text-align: center;
    margin-bottom: 40px;
}

.why-us-title {
    color: #8b5a2b; /* Brown color from screenshot */
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.why-us-subtitle {
    color: var(--text-dark);
    font-size: 0.9rem;
    font-weight: 600;
}

.why-us {
    padding: 70px 0 0;
    background: #f8fafc;
}

.why-us-header {
    text-align: center;
    max-width: 820px;
    margin: 0 auto 40px;
    padding: 0 20px;
}

.why-us-badge {
    display: inline-block;
    background: rgba(0, 162, 233, 0.1);
    color: #00A2E9;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 2.5px;
    padding: 6px 18px;
    border-radius: 50px;
    margin-bottom: 12px;
}

.why-us-title {
    color: #8b5a2b; /* Brown brand color */
    font-size: 2.3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 12px;
}

.why-us-subtitle {
    color: #64748b;
    font-size: 1.05rem;
    line-height: 1.6;
}

.why-us-stripe {
    background: linear-gradient(135deg, #00A2E9 0%, #0087c5 100%);
    padding: 55px 0 65px;
    position: relative;
    box-shadow: inset 0 2px 10px rgba(0,0,0,0.06);
}

.why-us-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.why-card {
    background: #ffffff;
    padding: 24px 20px;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(15, 60, 92, 0.08);
    display: flex;
    align-items: flex-start;
    gap: 16px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.7);
    height: 100%;
}

.why-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 32px rgba(15, 60, 92, 0.18);
}

.why-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #eef9ff;
    color: #00A2E9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.why-card:hover .why-icon {
    background: #00A2E9;
    color: #ffffff;
    transform: scale(1.05);
}

.why-content {
    flex: 1;
}

.why-content h4 {
    color: #0F3C5C;
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.3;
}

.why-content p {
    color: #64748b;
    font-size: 0.86rem;
    line-height: 1.55;
    margin: 0;
}

/* ================= HERO PREMIUM ================= */
.hero-premium {
    margin-top: 75px;
    padding: 0;
    min-height: auto;
    position: relative;
    overflow: hidden;
    background: #DAF1FE;
}

.hero-bg-wrapper {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    z-index: 1;
}

.hero-bg-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(218, 241, 254, 0.98) 0%, rgba(218, 241, 254, 0.75) 30%, rgba(218, 241, 254, 0) 52%);
    pointer-events: none;
    z-index: 2;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 85% top;
}

.hero-premium-container {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 1440px;
    padding: 95px 50px 220px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-premium-content {
    max-width: 480px;
    width: 100%;
    position: relative;
    z-index: 4;
}

.hero-tags {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 162, 233, 0.12);
    color: #00A2E9;
    font-weight: 800;
    font-size: 0.9rem;
    letter-spacing: 2px;
    padding: 6px 18px;
    border-radius: 50px;
    margin-bottom: 18px;
    border: 1px solid rgba(0, 162, 233, 0.22);
    backdrop-filter: blur(4px);
}

.hero-tags i {
    font-size: 0.85em;
    color: #f59e0b;
}

.hero-main-title {
    font-size: 3.8rem;
    color: #0F3C5C;
    line-height: 1.12;
    margin-bottom: 18px;
    font-weight: 900;
    letter-spacing: -1px;
}

.hero-desc {
    font-size: 1.12rem;
    color: #334155;
    margin-bottom: 32px;
    line-height: 1.68;
    max-width: 430px;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: center;
}

.btn-primary.pill {
    background: #00A2E9;
    color: #ffffff;
    box-shadow: 0 6px 20px rgba(0, 162, 233, 0.35);
    padding: 13px 28px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: all 0.25s ease;
}

.btn-primary.pill:hover {
    background: #0F3C5C;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(15, 60, 92, 0.3);
}

.btn-outline.pill {
    background: rgba(255, 255, 255, 0.92);
    color: #0F3C5C;
    border: 2px solid #0F3C5C;
    padding: 12px 26px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: all 0.25s ease;
    backdrop-filter: blur(4px);
}

.btn-outline.pill:hover {
    background: #0F3C5C;
    color: #ffffff;
    transform: translateY(-2px);
}

.hero-premium-image {
    display: block;
}

.hero-mobile-img {
    display: none;
}

.programs-premium {
    position: relative;
    z-index: 4;
    margin-top: -100px;
    padding-bottom: 60px;
}

/* Contact container helper */
.contact-grid-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

/* ================= RESPONSIVE BREAKPOINTS (ALL DEVICES) ================= */
@media (max-width: 1200px) {
    .hero-premium-container {
        padding: 80px 35px 200px;
        gap: 30px;
    }
    .hero-main-title {
        font-size: 3.2rem;
    }
    .hero-desc {
        max-width: 400px;
        font-size: 1.05rem;
    }
    .why-us-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        padding: 0 25px;
    }
}

@media (max-width: 992px) {
    .hero-premium {
        margin-top: 65px;
        background: linear-gradient(180deg, #dcf1fc 0%, #edf8fe 50%, #f8fafc 100%);
    }

    .hero-bg-wrapper {
        display: none;
    }

    .hero-premium-container {
        grid-template-columns: 1fr;
        padding: 45px 24px 70px;
        text-align: center;
        gap: 0;
    }

    .hero-premium-content {
        max-width: 580px;
        margin: 0 auto;
        padding: 0;
    }

    .hero-tags {
        font-size: 0.85rem;
        padding: 5px 15px;
        margin-bottom: 14px;
    }

    .hero-main-title {
        font-size: 2.6rem;
        line-height: 1.18;
        margin-bottom: 16px;
    }

    .hero-desc {
        font-size: 1.02rem;
        line-height: 1.6;
        max-width: 480px;
        margin: 0 auto 25px;
        color: #475569;
    }

    .hero-buttons {
        justify-content: center;
        gap: 12px;
        margin-bottom: 25px;
    }

    .btn-primary.pill,
    .btn-outline.pill {
        padding: 12px 24px;
        font-size: 0.98rem;
    }

    .hero-premium-image {
        display: block;
        width: 100%;
        max-width: 540px;
        margin: 10px auto 0;
    }

    .hero-mobile-img {
        display: block;
        width: 100%;
        height: auto;
        border-radius: 20px;
        box-shadow: 0 12px 35px rgba(0, 162, 233, 0.15);
        border: 4px solid #ffffff;
    }

    .programs-premium {
        margin-top: -30px;
    }

    .contact-grid-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .hero-premium {
        margin-top: 60px;
    }

    .hero-premium-container {
        padding: 35px 20px 60px;
    }

    .hero-main-title {
        font-size: 2.25rem;
        letter-spacing: -0.5px;
        line-height: 1.2;
    }

    .hero-tags {
        font-size: 0.82rem;
        padding: 5px 14px;
        margin-bottom: 12px;
    }

    .hero-desc {
        font-size: 0.96rem;
        line-height: 1.6;
        margin-bottom: 22px;
        max-width: 400px;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 320px;
        margin: 0 auto 24px;
        gap: 12px;
    }

    .btn-primary.pill,
    .btn-outline.pill {
        width: 100%;
        justify-content: center;
        padding: 13px 20px;
        font-size: 0.98rem;
    }

    .hero-mobile-img {
        border-radius: 16px;
        box-shadow: 0 10px 25px rgba(0, 162, 233, 0.12);
        border: 3px solid #ffffff;
    }

    .programs-premium {
        margin-top: -20px;
        padding-bottom: 40px;
    }

    .programs-grid {
        padding: 0 16px;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .program-card {
        padding: 30px 15px 25px;
        border-radius: 16px;
    }
    .program-icon {
        width: 50px;
        height: 50px;
        font-size: 1.8rem;
        margin-bottom: 12px;
    }
    .program-card h3 {
        font-size: 1rem;
    }
    .program-card p {
        font-size: 0.78rem;
        margin-bottom: 15px;
    }
    .why-us {
        padding: 50px 0 0;
    }
    .why-us-title {
        font-size: 1.85rem;
    }
    .why-us-subtitle {
        font-size: 0.92rem;
    }
    .why-us-stripe {
        padding: 35px 0 40px;
    }
    .why-us-container {
        grid-template-columns: 1fr;
        gap: 14px;
        padding: 0 16px;
    }
    .why-card {
        padding: 18px 16px;
        border-radius: 14px;
        gap: 14px;
    }
    .why-icon {
        width: 42px;
        height: 42px;
        font-size: 1.2rem;
        border-radius: 10px;
    }
    .why-content h4 {
        font-size: 1rem;
    }
    .why-content p {
        font-size: 0.84rem;
    }
    .floating-wa {
        bottom: 20px !important;
        right: 20px !important;
        width: 50px !important;
        height: 50px !important;
        font-size: 28px !important;
    }
}

@media (max-width: 480px) {
    .programs-grid {
        grid-template-columns: 1fr;
    }
    .hero-main-title {
        font-size: 1.9rem;
    }
    .why-us-title {
        font-size: 1.65rem;
    }
}

/* ================= GALLERY PAGE ================= */
.gallery-section {
    padding: 60px 20px;
    background: #ffffff;
}

.gallery-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
}

.gallery-item {
    cursor: pointer;
    text-align: center;
    transition: transform 0.2s;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-img-wrapper {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #f1f5f9;
}

.gallery-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.gallery-item:hover .gallery-img-wrapper img {
    transform: scale(1.05);
}

.gallery-caption {
    font-size: 0.75rem;
    font-weight: 500;
    color: #475569;
    padding: 8px 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Lightbox Modal */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.lightbox-content {
    max-width: 90%;
    max-height: 80vh;
    border: 3px solid #fff;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
    animation: zoomIn 0.3s;
}

.lightbox-caption {
    margin-top: 15px;
    color: #fff;
    font-size: 1.2rem;
    font-weight: 500;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.lightbox-close:hover,
.lightbox-close:focus {
    color: #00A2E9;
    text-decoration: none;
    cursor: pointer;
}

@keyframes zoomIn {
    from {transform: scale(0.9)} 
    to {transform: scale(1)}
}

@media (max-width: 900px) {
    .gallery-container {
        grid-template-columns: repeat(4, 1fr);
    }
}
@media (max-width: 600px) {
    .gallery-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ================= BERITA & KEGIATAN PAGE ================= */
.berita-section {
    padding: 60px 20px 100px;
    background: #ffffff;
}

.berita-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.berita-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.berita-content {
    padding: 20px 0;
}

.berita-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: #475569;
    margin-bottom: 30px;
}

.berita-list {
    list-style-type: decimal;
    padding-left: 20px;
}

.berita-list li {
    font-size: 1rem;
    color: #475569;
    margin-bottom: 15px;
    line-height: 1.6;
}

@media (max-width: 900px) {
    .berita-container {
        grid-template-columns: 1fr;
    }
}
/ *   N e s t e d   D r o p d o w n   S u b m e n u   * / 
 . d r o p d o w n - s u b m e n u   { 
         p o s i t i o n :   r e l a t i v e ; 
 } 
 . d r o p d o w n - s u b m e n u   . d r o p d o w n - m e n u - n e s t e d   { 
         p o s i t i o n :   a b s o l u t e ; 
         t o p :   0 ; 
         l e f t :   1 0 0 % ; 
         m a r g i n - t o p :   - 3 p x ;   / *   A l i g n   w i t h   b o r d e r - t o p   o f   p a r e n t   * / 
         b a c k g r o u n d :   # f f f f f f ; 
         m i n - w i d t h :   2 0 0 p x ; 
         b o x - s h a d o w :   0   1 0 p x   2 5 p x   r g b a ( 0 , 0 , 0 , 0 . 1 ) ; 
         b o r d e r - r a d i u s :   0   8 p x   8 p x   8 p x ; 
         b o r d e r - t o p :   3 p x   s o l i d   # 0 0 A 2 E 9 ; 
         o p a c i t y :   0 ; 
         v i s i b i l i t y :   h i d d e n ; 
         t r a n s f o r m :   t r a n s l a t e Y ( 1 0 p x ) ; 
         t r a n s i t i o n :   a l l   0 . 3 s   e a s e ; 
         l i s t - s t y l e :   n o n e ; 
         p a d d i n g :   0 ; 
         z - i n d e x :   9 9 9 ; 
 } 
 . d r o p d o w n - s u b m e n u : h o v e r   . d r o p d o w n - m e n u - n e s t e d   { 
         o p a c i t y :   1 ; 
         v i s i b i l i t y :   v i s i b l e ; 
         t r a n s f o r m :   t r a n s l a t e Y ( 0 ) ; 
 } 
 . d r o p d o w n - m e n u - n e s t e d   l i   a   { 
         d i s p l a y :   b l o c k ; 
         p a d d i n g :   1 2 p x   2 0 p x ; 
         c o l o r :   # 4 7 5 5 6 9 ; 
         f o n t - s i z e :   0 . 9 5 r e m ; 
         f o n t - w e i g h t :   5 0 0 ; 
         t r a n s i t i o n :   b a c k g r o u n d   0 . 2 s ; 
         t e x t - a l i g n :   l e f t ; 
 } 
 . d r o p d o w n - m e n u - n e s t e d   l i   a : h o v e r   { 
         b a c k g r o u n d :   # f 8 f a f c ; 
         c o l o r :   # 0 0 A 2 E 9 ; 
 } 
 @ m e d i a   ( m a x - w i d t h :   9 9 2 p x )   { 
         . d r o p d o w n - s u b m e n u   . d r o p d o w n - m e n u - n e s t e d   { 
                 p o s i t i o n :   s t a t i c ; 
                 o p a c i t y :   1 ; 
                 v i s i b i l i t y :   v i s i b l e ; 
                 t r a n s f o r m :   n o n e ; 
                 b o x - s h a d o w :   n o n e ; 
                 b o r d e r :   n o n e ; 
                 d i s p l a y :   n o n e ; 
                 p a d d i n g - l e f t :   2 0 p x ; 
         } 
         . d r o p d o w n - s u b m e n u . s h o w - m o b i l e - s u b   . d r o p d o w n - m e n u - n e s t e d   { 
                 d i s p l a y :   b l o c k ; 
         } 
 }  
 