/* ======== GLOBAL RESET & SETUP ======== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    overflow-x: hidden;
    max-width: 100%;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #fff;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}

/* ======== CONTAINER ======== */
.container {
    width: 100%;
    max-width: 1140px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
}

/* ======== FLEX & GRID ======== */
.d-flex {
    display: flex;
    flex-wrap: wrap;
}

.align-items-center {
    align-items: center;
}

.justify-content-center {
    justify-content: center;
}

.text-center {
    text-align: center;
}

/* ======== IMG ======== */
img,
video {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ======== TYPO ======== */
h1 {
    font-size: 2rem;
}

h2 {
    font-size: 1.75rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

h5 {
    font-size: 1rem;
}

p {
    font-size: 1rem;
}

/* ======== INFO BAR ======== */
.info-bar {
    background-color: #000080;
    overflow: hidden;
    white-space: nowrap;
    position: fixed;
    font-size: 14px;
    top: 0;
    width: 100%;
    z-index: 1040;
    height: 30px;
    line-height: 30px;
}

.info-bar p {
    display: inline-block;
    padding-left: 100%;
    animation: marquee 25s linear infinite;
    color: #fff;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

/* ======== NAVBAR ======== */
.navbar-purple {
    background-color: #89CFF0;
    position: fixed;
    top: 30px;
    width: 100%;
    z-index: 1030;
    height: 60px;
}

.navbar-purple .navbar-brand {
    color: #fff !important;
    font-weight: 700;
    font-size: 16px;
}

.navbar-purple .nav-link {
    color: #fff !important;
    font-weight: 500;
    margin-right: 10px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.navbar-purple .nav-link:hover,
.navbar-purple .nav-link.active {
    color: #facc15 !important;
    border-bottom: 2px solid #facc15;
    padding-bottom: 3px;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='white' stroke-linecap='round' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Hanya tampilkan background saat hamburger dibuka */
.navbar-collapse {
    transition: background-color 0.3s ease;
}

.navbar-collapse.show {
    background-color: #ffffff;
    /* putih */
    padding: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.navbar-collapse.show .nav-link {
    color: #333333;
}

.navbar-collapse.show .btn-ppdb {
    margin-top: 0.5rem;
}

.navbar-nav .btn-ppdb {
    background: linear-gradient(135deg, #16a34a, #15803d);
    color: #fff;
    padding: 10px 25px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(22, 163, 74, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.navbar-nav .btn-ppdb:hover {
    background: linear-gradient(135deg, #15803d, #166534);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(22, 163, 74, 0.4);
    color: #fff;
}


/* ======== HERO SECTION ======== */
.hero-ppdb {
    background-image: url('/sneat/img/background-hero.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 21vh 0;
    margin-top: calc(30px + 60px);
    min-height: 550px;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-text {
    max-width: 600px;
}

.hero-text h1 {
    font-size: 2.4rem;
    font-weight: 800;
    color: #2E004F;
    margin-bottom: 25px;
    line-height: 1.2;
}

.hero-text .school-name {
    color: #000080;
    font-size: 2.1rem;
}

.hero-text p {
    font-size: 1.2rem;
    color: #2E004F;
    margin-bottom: 30px;
    line-height: 1.6;
}

.hero-text .motto {
    font-weight: 600;
    color: #000080;
    font-style: italic;
    font-size: 1.3rem;
}

.hero-text strong {
    color: #2563eb;
    font-weight: 700;
}

/* ======== TOMBOL PENDAFTARAN ======== */
.btn-ppdb {
    display: inline-block;
    background: linear-gradient(135deg, #2563eb, #1e40af);
    color: #fff;
    padding: 16px 40px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-ppdb:hover {
    background: linear-gradient(135deg, #1e40af, #1e3a8a);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
    color: #fff;
}

/* ======== ALASAN SECTION ======== */
#alasan {
    padding: 80px 0;
}

.custom-card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    padding: 20px 15px;
    background: white;
}

.custom-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.card-img-top {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 20px;
}

.card-title {
    color: #2E004F;
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.card-text {
    color: #6b7280;
    font-size: 0.95rem;
    line-height: 1.5;
}

.section-title h2 {
    color: #2E004F;
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.section-title p {
    color: #6b7280;
    font-size: 1.1rem;
}

/* ======== PROGRAM KEAHLIAN ======== */
#programs-card .section-title h1 {
    font-size: 32px;
    font-weight: bold;
    text-align: center;
    color: black;
}

#programs-card .section-title h2 {
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    color: #000080;
    margin-bottom: 5px;
}

#programs-card hr {
    width: 100px;
    height: 4px;
    background-color: #000080;
    border: none;
    margin: 0 auto 30px;
}

#programs-card .custom-card {
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
}

#programs-card .custom-card img {
    width: 25%;
    border-radius: 10px 10px 0 0;
}

#programs-card .custom-card h5 {
    font-size: 22px;
    font-weight: bold;
    margin-top: 15px;
    color: black;
}

/* ======== SECTION INFORMASI ======== */
.timeline {
    position: relative;
    padding-left: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #000080;
}

.timeline-item {
    position: relative;
    margin-bottom: 30px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -23px;
    top: 5px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #000080;
    border: 3px solid white;
    box-shadow: 0 0 0 2px #000080;
}

.timeline-date {
    font-weight: bold;
    color: #000080;
    margin-bottom: 5px;
}

.timeline-content h5 {
    color: #333;
    margin-bottom: 5px;
}

.requirements-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.requirement-item {
    display: flex;
    gap: 15px;
}

.requirement-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: #f8f9fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #000080;
}

.requirement-content h5 {
    color: #333;
    margin-bottom: 10px;
}

.requirement-content ul {
    margin-bottom: 0;
    padding-left: 20px;
}

.requirement-content li {
    margin-bottom: 5px;
}

.info-box {
    padding: 20px;
}

.info-box i {
    margin-bottom: 15px;
}

.info-box h5 {
    color: #333;
    margin-bottom: 10px;
}

/* ======== ALUR PENDAFTARAN ======== */
.registration-steps {
    max-width: 800px;
    margin: 0 auto;
}

.step-item {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    align-items: flex-start;
}

.step-item:last-child {
    margin-bottom: 0;
}

.step-number {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #000080, #89CFF0);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(0, 0, 128, 0.3);
}

.step-content {
    flex: 1;
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #000080;
}

.step-content h4 {
    color: #000080;
    margin-bottom: 10px;
}

.step-details {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.step-details ul {
    margin-bottom: 0;
    padding-left: 20px;
}

.step-details li {
    margin-bottom: 5px;
    color: #666;
}

/* ======== CTA FULL WIDTH ======== */
.cta-full-width {
    background: linear-gradient(135deg, #000080, #89CFF0);
    margin: 80px -50px 0 -50px;
    padding: 60px 50px;
    position: relative;
}

.cta-full-width .container {
    position: relative;
    z-index: 2;
}

.cta-content {
    text-align: center;
    color: white;
}

.cta-content h3 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-btn {
    background: white;
    color: #000080;
    border: none;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    color: #ffffff;
}

/* ======== TESTIMONI ======== */
#testimoni {
    padding: 100px 0;
    background: #f8f9fa;
}

#testimoni h4 {
    font-size: 32px;
    font-weight: bold;
    color: #222;
}

#testimoni p {
    font-size: 1rem;
    color: #444;
}

.alumniSwiper {
    width: 100%;
    height: 100%;
    padding: 40px 0;
}

.alumniSwiper .textAlumni {
    font-size: 1.2rem;
    font-weight: bold;
    padding-right: 50px;
    text-align: left;
    padding-left: 25px;
}

.alumniSwiper .textAlumni h4 {
    color: #000080;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.alumniSwiper .textAlumni p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 15px;
}

.alumniSwiper .textAlumni .fw-medium {
    color: #000080;
    font-weight: 600;
}

.rounded-4 {
    border-radius: 20px;
}

.alumniSwiper .swiper-slide {
    text-align: center;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    padding: 40px 30px;
}

.alumniSwiper .swiper-slide img {
    max-width: 300px;
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
}

.alumniSwiper .swiper-pagination {
    bottom: 0 !important;
}

/* Swiper Pagination */
.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: #000080;
    opacity: 0.5;
}

.swiper-pagination-bullet-active {
    opacity: 1;
    background: #000080;
}

/* Swiper Navigation */
.swiper-button-next,
.swiper-button-prev {
    color: #000080;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 24px;
}

/* ======== HUBUNGI KAMI ======== */
.contact-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.contact-item h5 {
    color: #333;
    margin-bottom: 10px;
}

.contact-item p {
    color: #666;
    margin-bottom: 0;
}

.form-control,
.form-select {
    border: 1px solid #ddd;
    padding: 12px 15px;
    border-radius: 8px;
}

.form-control:focus,
.form-select:focus {
    border-color: #000080;
    box-shadow: 0 0 0 0.2rem rgba(0, 0, 128, 0.25);
}

.btn-primary {
    background: linear-gradient(135deg, #000080, #89CFF0);
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 600;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #000066, #6bbce5);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 128, 0.3);
}

/* ======== ACCORDION ======== */
.accordion-button {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    font-weight: 600;
    padding: 15px 20px;
}

.accordion-button:not(.collapsed) {
    background: #000080;
    color: white;
    border-color: #000080;
}

.accordion-body {
    background: white;
    border: 1px solid #dee2e6;
    border-top: none;
}

/* ======== FOOTER ======== */
.footer-section {
    background-color: #ffffff;
    color: #333333;
    border-top: 2px solid rgba(0, 0, 128, 0.2);
    font-size: 0.95rem;
    letter-spacing: 0.3px;
}

.footer-section strong {
    color: #000;
    font-weight: 600;
}

.footer-section .text-purple {
    color: #000080;
}

.footer-section em {
    color: #555;
    font-style: normal;
    font-weight: 500;
}