/* ======== 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: #6b21a8;
    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: #A948EA;
    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: #6b21a8;
    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: #6b21a8;
    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 {
    /* background-color: #f8fafc; */
    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: #6b21a8;
    margin-bottom: 5px;
}

#programs-card hr {
    width: 100px;
    height: 4px;
    background-color: #6b21a8;
    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: #6B02B1;
}

.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: #6B02B1;
    border: 3px solid white;
    box-shadow: 0 0 0 2px #6B02B1;
}

.timeline-date {
    font-weight: bold;
    color: #6B02B1;
    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: #6B02B1;
}

.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, #6B02B1, #8A2BE2);
    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(107, 2, 177, 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 #6B02B1;
}

.step-content h4 {
    color: #6B02B1;
    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, #6B02B1, #8A2BE2);
    margin: 80px -50px 0 -50px;
    padding: 60px 50px;
    position: relative;
}

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

.cta-full-width::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.1' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.3;
}

.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: #6B02B1;
    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: #6B02B1;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

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

.alumniSwiper .textAlumni .fw-medium {
    color: #6B02B1;
    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: #6B02B1;
    opacity: 0.5;
}

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

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

.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: #6B02B1;
    box-shadow: 0 0 0 0.2rem rgba(107, 2, 177, 0.25);
}

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

.btn-primary:hover {
    background: linear-gradient(135deg, #5A0290, #7A1FC2);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(107, 2, 177, 0.3);
}

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

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

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

/* ======== FOOTER ======== */
.footer-section {
    background-color: #ffffff;
    color: #333333;
    border-top: 2px solid #6b02b133;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
}

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

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

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

/* ======== SPACING UTILITIES ======== */
.pd-top-80 {
    padding-top: 80px;
}

.pd-bottom-80 {
    padding-bottom: 80px;
}

.pd-top-50 {
    padding-top: 50px;
}

.pd-bottom-50 {
    padding-bottom: 50px;
}

/* ======== RESPONSIVE ======== */
@media (max-width: 991px) {
    .navbar-purple {
        padding: 8px 0;
    }

    .navbar-purple .nav-link {
        color: #333 !important;
        padding: 8px 0;
    }

    .navbar-purple .navbar-brand img {
        height: 40px;
    }

    .btn-ppdb {
        width: 100%;
        margin-top: 10px;
    }
}

@media (max-width: 768px) {
    #alasan .section-title h1 {
        font-size: 38px;
    }

    #alasan .section-title p {
        font-size: 14px;
    }

    #alasan .custom-card h5 {
        font-size: 16px;
    }

    #alasan .custom-card p {
        font-size: 12px;
    }

    #alasan .custom-card img {
        width: 25%;
    }

    .hero-ppdb {
        padding: 60px 0;
        min-height: 500px;
        text-align: center;
        background-position: left center;
    }

    .hero-text {
        max-width: 100%;
    }

    .hero-text h1 {
        font-size: 1.8rem;
    }

    .hero-text .school-name {
        font-size: 1.6rem;
    }

    .hero-text p {
        font-size: 0.9rem;
    }

    .hero-text .motto {
        font-size: 1rem;
    }

    .btn-ppdb {
        padding: 14px 30px;
        font-size: 1rem;
    }

    .alumniSwiper .swiper-slide img {
        max-width: 200px;
    }

    #testimoni {
        padding: 50px 0;
    }

    /* Timeline Responsive */
    .step-item {
        flex-direction: column;
        text-align: center;
    }

    .step-number {
        margin: 0 auto 15px;
    }

    .requirement-item {
        flex-direction: column;
        text-align: center;
    }

    .requirement-icon {
        margin: 0 auto 15px;
    }

    .requirement-content {
        text-align: left;
    }

    .requirement-content ul {
        text-align: left;
        padding-left: 20px;
    }

    .requirement-content li {
        text-align: left;
    }

    .timeline {
        padding-left: 20px;
    }

    .timeline::before {
        left: 10px;
    }

    .timeline-item::before {
        left: -18px;
    }

    .cta-full-width {
        margin: 60px -20px 0 -20px;
        padding: 40px 20px;
    }

    .cta-content h3 {
        font-size: 2rem;
    }

    .cta-content p {
        font-size: 1.1rem;
    }

    .swiper-slide {
        padding: 30px 20px;
    }

    .textAlumni {
        text-align: center;
        margin-bottom: 30px;
    }

    .swiper-slide img {
        max-width: 200px;
        height: 200px;
    }

    /* Footer Responsive */
    .footer-container {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    .footer-container h3,
    .footer-container h4 {
        font-size: 1.1rem;
    }

    .footer-container p,
    .footer-container li,
    .footer-container a {
        font-size: 0.9rem;
        line-height: 1.5;
    }
}
