:root {
    --blue-light: #7DAACB;
    --blue-dark: #2C5EAD;
    --blue-mid: #4a7ab5;
    --bg: #f4f7fb;
    --white: #ffffff;
    --text: #212121;
    --muted: #1c2125;
    --border: #292929;
    --card-bg: #ffffff;
}

*,
html {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', sans-serif;
    background-color: var(--bg);
    color: var(--text);
}

.site-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 0 60px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: box-shadow 0.3s;
}

.site-nav.scrolled {
    box-shadow: 0 4px 24px rgba(44, 94, 173, 0.10);
    background: var(--blue-dark);
}

.site-nav.scrolled .nav-logo img {
    filter: brightness(10);
}

.site-nav.scrolled .nav-links a {
    color: var(--white);
}

.site-nav.scrolled .nav-cta {
    background: var(--white);
    color: var(--blue-dark);
}

.nav-logo img {
    height: 46px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 36px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.3px;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--blue-dark);
}

.nav-cta {
    background: var(--blue-dark);
    color: var(--white);
    padding: 9px 22px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 0.3px;
    transition: background 0.2s;
}

.nav-cta:hover {
    background: var(--blue-light);
}

.hero {
    margin-top: 70px;
    position: relative;
    overflow: hidden;
}

.hero-banner {
    width: 100%;
    background: var(--blue-dark);
    overflow: hidden;
}

.hero-banner .img-scroll {
    display: flex;
    overflow-x: auto;
    padding: 12px 16px;
    gap: 12px;
    scroll-behavior: smooth;
}

.hero-banner .img-scroll::-webkit-scrollbar {
    display: none;
}

.hero-banner .img-scroll img {
    height: 360px;
    width: auto;
    flex-shrink: 0;
    border-radius: 8px;
    object-fit: cover;
}

.hero-content {
    background: linear-gradient(135deg, #f0f6fb 0%, #e8f0f8 100%);
    padding: 64px 120px 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(44, 94, 173, 0.08);
    color: var(--blue-dark);
    border: 1px solid rgba(44, 94, 173, 0.2);
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 28px;
}

.hero-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    color: var(--text);
    line-height: 1.25;
    max-width: 700px;
    margin-bottom: 20px;
}

.hero-content h1 span {
    color: var(--blue-dark);
}

.hero-content p {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.8;
    max-width: 680px;
}

.quick-cards {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
    padding: 40px 80px 56px;
    background: var(--bg);
}

.quick-cards a {
    text-decoration: none;
}

.qcard {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 10px;
    width: 150px;
    padding: 22px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    transition: all 0.25s;
    cursor: pointer;
}

.qcard img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.qcard h3 {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    text-align: center;
}

.qcard.highlight {
    background: var(--blue-dark);
    border-color: var(--blue-dark);
}

.qcard.highlight h3 {
    color: var(--white);
}

.about-section {
    background: linear-gradient(to right, rgba(44, 94, 173, 0.92) 40%, rgba(44, 94, 173, 0.6) 100%),
        url('./assets/img/aboutpage.jpeg') center/cover no-repeat;
    padding: 80px 120px;
    display: flex;
    align-items: center;
}

.about-section .atext h2 {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    color: var(--white);
    margin-bottom: 18px;
}

.about-section .atext p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 15px;
    line-height: 1.85;
    max-width: 620px;
}

.sambutan-section {
    padding: 80px 120px;
    background: var(--white);
}

.sambutan-inner {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.sambutan-poto img {
    width: 280px;
    border-radius: 10px;
    border: 3px solid var(--border);
    object-fit: cover;
}

.sambutan-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: 30px;
    color: var(--text);
    margin-bottom: 6px;
}

.sambutan-text h2 span {
    color: var(--blue-dark);
}

.sambutan-text .nama {
    font-size: 15px;
    color: var(--muted);
    margin-bottom: 20px;
}

.toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(44, 94, 173, 0.07);
    border: 1px solid rgba(44, 94, 173, 0.25);
    color: var(--blue-dark);
    padding: 8px 18px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 20px;
    transition: background 0.2s;
}

.toggle-btn:hover {
    background: var(--blue-dark);
    color: var(--white);
}

.sambutan-dropdown {
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 30px 36px;
    background: #f8fbfe;
    font-size: 14px;
    line-height: 2;
    color: var(--muted);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
}

.sambutan-dropdown.open {
    max-height: 2000px;
}

.visimisi-section {
    background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue-mid) 100%);
    padding: 80px 120px;
}

.visimisi-section .section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.12);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 28px;
}

.visimisi-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-top: 24px;
}

.vm-box {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 36px;
}

.vm-box h2 {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    color: var(--white);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.vm-box p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    line-height: 1.85;
    margin-bottom: 12px;
}

.grid-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.ekstra-section {
    padding: 0;
    background: #0d1a2d;
}

.ekstra-header {
    padding: 60px 120px 30px;
    background: linear-gradient(to right, rgba(13, 26, 45, 0.95) 40%, rgba(13, 26, 45, 0.6)), url('./assets/img/banner3.webp') center/cover;
}

.ekstra-header h2 {
    color: var(--white);
    font-family: 'Playfair Display', serif;
    font-size: 30px;
}

.ekstra-header p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    margin-top: 8px;
}

.ekstra-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    padding: 40px 80px 60px;
}

.ekstra-item {
    position: relative;
    width: 360px;
    height: 220px;
    border-radius: 10px;
    overflow: hidden;
}

.ekstra-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.ekstra-item:hover img {
    transform: scale(1.06);
}

.ekstra-item .label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, transparent);
    padding: 20px 16px 12px;
    color: var(--white);
    font-size: 15px;
    font-weight: 600;
}

.fasilitas-section {
    padding: 0;
    background: #0d1a2d;
    margin-top: 60px;
}

.fasilitas-header {
    padding: 60px 120px 30px;
    background: linear-gradient(to right, rgba(13, 26, 45, 0.95) 40%, rgba(13, 26, 45, 0.6)), url('./assets/img/banner3.webp') center/cover;
}

.fasilitas-header h2 {
    color: var(--white);
    font-family: 'Playfair Display', serif;
    font-size: 30px;
}

.fasilitas-header p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    margin-top: 8px;
}

.fasilitas-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    padding: 40px 80px 60px;
}

.fasilitas-item {
    position: relative;
    width: 360px;
    height: 220px;
    border-radius: 10px;
    overflow: hidden;
}

.fasilitas-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.fasilitas-item:hover img {
    transform: scale(1.06);
}

.fasilitas-item .label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, transparent);
    padding: 20px 16px 12px;
    color: var(--white);
    font-size: 15px;
    font-weight: 600;
}

.ipas-cta {
    background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue-mid) 100%);
    padding: 72px 120px;
    text-align: center;
}

.ipas-cta .badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.ipas-cta h2 {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    color: var(--white);
    margin-bottom: 14px;
}

.ipas-cta p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 15px;
    margin-bottom: 30px;
}

.ipas-cta a {
    display: inline-block;
    background: var(--white);
    color: var(--blue-dark);
    padding: 12px 32px;
    border-radius: 7px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    transition: background 0.2s;
}

.ipas-cta a:hover {
    background: #e8f0f8;
}

.contact-section {
    padding: 80px 120px;
    background: linear-gradient(to right, rgba(44, 94, 173, 0.92) 40%, rgba(44, 94, 173, 0.5)),
        url('./assets/img/SPMB.webp') center/cover no-repeat;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.contact-inner {
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
}

.contact-inner h2 {
    font-family: 'Playfair Display', serif;
    font-size: 38px;
    color: var(--white);
    margin-bottom: 8px;
}

.contact-inner>p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 15px;
    margin-bottom: 36px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.contact-form .field {
    margin-bottom: 14px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 7px;
    padding: 13px 18px;
    color: var(--white);
    font-size: 14px;
    font-family: 'DM Sans', sans-serif;
    outline: none;
    transition: border 0.2s;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: rgba(255, 255, 255, 0.6);
}

.contact-form button {
    width: 100%;
    background: var(--white);
    color: var(--blue-dark);
    border: none;
    padding: 14px;
    border-radius: 7px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    font-family: 'DM Sans', sans-serif;
    transition: background 0.2s;
}

.contact-form button:hover {
    background: #e8f0f8;
}

.contact-info-box {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 36px;
    backdrop-filter: blur(10px);
}

.contact-info-box h3 {
    color: var(--white);
    font-size: 22px;
    margin-bottom: 14px;
}

.contact-info-box p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 24px;
}

.contact-info-box ul {
    list-style: none;
}

.contact-info-box ul li {
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.sci-links {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.sci-links a {
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    font-size: 13px;
    transition: all 0.2s;
}

.sci-links a:hover {
    background: var(--white);
    color: var(--blue-dark);
}

.footer {
    background: #0d1a2d;
    padding: 50px 80px 0;
}

.footer-top {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-top img {
    height: 70px;
    width: auto;
}

.footer-brand h2 {
    color: var(--white);
    font-size: 18px;
    font-weight: 700;
}

.footer-brand h2 span {
    color: var(--blue-light);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
    margin-top: 6px;
    max-width: 320px;
    line-height: 1.7;
}

.footer-links {
    display: flex;
    gap: 60px;
    margin-left: auto;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    font-size: 13px;
    transition: color 0.2s;
}

.footer-links ul li a:hover {
    color: var(--blue-light);
}

.footer-bottom {
    text-align: center;
    padding: 16px;
    color: rgba(255, 255, 255, 0.3);
    font-size: 12px;
}

.project-ipas {
    margin-top: 120px;
}

.project-ipas img {
    width: 270px;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
}

.project-container [class*="1.1"] {
    font-size: 20px;
}

.project-container img {
    width: 270px;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
}