@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    user-select: none;
}

body {
    font-family: "Montserrat", sans-serif;
    background-color: #f6f6f6;
}

header {
    position: fixed;
    top: 0;
    width: 100%;
    backdrop-filter: blur(2px);
    padding: 10px;
    z-index: 50;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.4s ease, box-shadow 0.3s ease;
}

.logo {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo img.logo1 {
    height: 50px;
}

.logo img.logo2 {
    height: 30px;
}

nav ul li {
    list-style: none;
}

.menu {
    list-style: none;
    display: flex;
}

.menu li {
    position: relative;
}

.menu li a {
    color: #000000;
    text-decoration: none;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    transition: 0.3s ease;
    line-height: 1.9;
}

.menu li a.active {
    color: #8B0000;
    font-weight: 700;
}

.menu li a:hover {
    color: #8B0000;
}

.menu li a i {
    font-size: 10px;
    transition: transform 0.3s ease;
}

.menu li:hover>a i.fa-chevron-right {
    transform: rotate(90deg);
}

.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgb(255, 255, 255);
    min-width: 180px;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: 0.3s ease;
    display: flex;
    flex-direction: column;
    z-index: 10;
}

.menu li:hover>.dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown li {
    position: relative;
}

.dropdown li a {
    color: #000000;
    padding: 10px;
    font-size: 15px;
    text-decoration: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.dropdown li a:hover {
    background-color: #f5f5f5;
    /* color: #E5AC19; */
    color: #8B0000;
}

.dropdown .dropdown {
    top: 0;
    left: 100%;
    transform: translateY(10px);
    opacity: 0;
    visibility: hidden;
    position: absolute;
    transition: all 0.3s ease;
}

.dropdown li:hover>.dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown li a i.fa-chevron-right {
    transition: transform 0.3s ease;
}

.dropdown li:hover>a i.fa-chevron-right {
    transform: rotate(90deg);
}

header.scrolled {
    background: rgba(187, 187, 187, 0.768);
    backdrop-filter: blur(8px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
    object-fit: cover;
    border-bottom: 2px solid black;
}

.hero {
    position: relative;
    background: url('../img/bg_new.jpg') no-repeat center center/cover;
    height: 100vh;
    width: 100%;
    z-index: 2;
}


.overlay {
    position: absolute;
    background: #d8000000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -10;
}

.wa {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 10;
}

.wa a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    font-size: 30px;
    text-decoration: none;
    box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.halaman-bawah {
    padding: 0px 50px;
    min-height: 200px;
    overflow-x: hidden;
}

.logo-divider-2 {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 100px 0 30px;
}

.logo-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 50px 0;
}

.line {
    flex: 1;
    height: 1.5px;
    background-color: #8B0000;
}

.chairman-header {
    margin-bottom: 30px;
}

.chairman-header h2 {
    color: #8b0000;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 5px;
}

.chairman-header-2 {
    margin-bottom: 0px;
}

.chairman-header-2 h2 {
    color: #8b0000;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 5px;
}

.split-section {
    display: flex;
    align-items: stretch;
    height: fit-content;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid black;
}

.image-side {
    width: 30%;
}

.image-side img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.content-side {
    width: 70%;
    background-color: #3f3f3fb4;
    color: white;
    padding: 45px;
}


.text-wrapper p {
    font-size: 17px;
    line-height: 2;
    margin-bottom: 22px;
    text-align: justify;
}

.logo-center-2 {
    padding: 0 20px;
}

.logo-center-2 img {
    width: 120px;
    height: auto;
    display: block;
}

.logo-center {
    padding: 0 20px;
}

.logo-center img {
    width: 45px;
    height: auto;
    display: block;
}

.halaman-history {
    font-size: 15px;
    line-height: 1.9;
    text-align: justify;
}

.halaman-history-2 {
    margin-top: 20px;
    font-size: 15px;
    line-height: 1.9;
    text-align: justify;
}

.vision-mission-motto.enhanced {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.vmm-card {
    position: relative;
    border-radius: 10px;
    padding: 30px 20px 20px;
    margin-top: 30px;
}

.vmm-header h3 {
    position: absolute;
    top: -20px;
    left: 20px;
    background: #f0b400;
    color: #003087;
    font-size: 20px;
    font-weight: 700;
    padding: 10px 50px;
    border-radius: 5px;
    margin: 0;
}

.vmm-card:hover {
    transform: translateY(-5px);
}

.vmm-card.vision,
.vmm-card.mission {
    background: #8B0000;
    color: #fff;
}

.vmm-card.vision p {
    margin-top: 20px;
    color: #fff;
    line-height: 1.5;

}

.vmm-card.mission ul li {
    margin-left: 20px;
    margin-top: 10px;
    margin-bottom: 10px;
    color: #fff;
    line-height: 1.5;
    text-align: justify;
}

.vmm-card.motto {
    background: #f0b400;
    color: #003087;
}

.vmm-card.motto p {
    margin-top: 10px;
    font-size: 18px;
    font-style: italic;
    font-weight: 500;
    line-height: 1.6;
}

.vmm-card.motto p strong {
    display: block;
    margin-top: 10px;
    font-weight: 700;
}

.vmm-header-moto h3 {
    position: absolute;
    top: -20px;
    left: 20px;
    background: #003087;
    color: #e5ac19;
    font-size: 20px;
    font-weight: 700;
    padding: 10px 50px;
    border-radius: 5px;
    margin: 0;
}

.school-values {
    margin-top: 100px;
    text-align: left;
}

.school-values h2 {
    font-size: 20px;
    margin-bottom: 30px;
    color: #333;
}

.school-values span {
    margin-left: 10px;
    color: red;
}

.champions-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.champion-card {
    position: relative;
    box-shadow: 0px 5px 5px 5px rgba(0, 0, 0, 0.664);
    background: #8B0000;
    border-radius: 15px;
    overflow: hidden;
    text-align: center;
    transition: all 0.4s ease;
}

.champion-card:hover {
    transform: translateY(-8px);
}

.champion-letter {
    background-color: #ffffffa4;
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 10px;
    border-radius: 10px;
    font-size: 40px;
    font-weight: 900;
    color: rgb(255, 0, 0);

    z-index: 2;
    pointer-events: none;

    line-height: 1;
    font-family: serif;
}

.gambarcampions {
    position: relative;
    background-color: #921111;
    height: 250px;
    overflow: hidden;
}

.gambarcampions::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
            rgba(0, 0, 0, 0.55),
            rgba(0, 0, 0, 0.1));
}

.gambarcampions img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.champion-card:hover .gambarcampions img {
    transform: scale(1.08);
}

.card-content {
    position: relative;
    z-index: 3;
    padding: 18px;
}

.card-content h3 {
    font-size: 17px;
    color: #ffffff;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.card-curikulum {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.card-curikulum .card-curikulum-display {
    background-color: #fff;
    border-radius: 20px;
    width: 100%;
    max-width: 650px;
    overflow: hidden;
    box-shadow: 0px 3px 5px 2px rgba(0, 0, 0, 0.305);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.card-curikulum .card-curikulum-display:hover {
    transform: translateY(-5px);
}

.image-container-curikulum {
    width: 100%;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
    height: 250px;
}

.image-container-curikulum img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.card-curikulum-display h3 {
    background-color: #00775F;
    color: white;
    text-align: center;
    padding: 5px;
    font-size: 25px;
}

.card-curikulum-display p {
    font-size: 0.95rem;
    color: #555;
    margin: 10px 20px 0px;
    text-align: justify;
    flex-grow: 1;
}

.card-curikulum-display .btn {
    display: block;
    border-radius: 30px;
    padding: 10px;
    margin: 20px;
    background-color: #007BFF;
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    text-align: center;
    transition: background-color 0.3s ease;
}


.card-curikulum-display .btn:hover {
    background-color: #0056b3;
}





































.footer {
    background-color: #d1cdcd80;
    padding: 30px;
    margin-top: 100px;
    color: #222;
}

.footer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 10px;
    border-bottom: 1px solid #ff0000;
    margin-bottom: 40px;
    gap: 20px;
}

.footer-logo-title {
    display: flex;
    align-items: center;
    gap: 20px;
}

.gambar-logo {
    display: flex;
    align-items: center;
    gap: 20px;
    border-radius: 16px;
}

.gambar-logo img:first-child {
    width: 250px;
    height: auto;
    object-fit: contain;
}

.gambar-logo img:last-child {
    width: 110px;
    height: auto;
    object-fit: contain;
}

.footer-logo-title h2 {
    font-size: 24px;
    font-weight: 700;
    color: #111;
    line-height: 1.2;
}

.footer-header p {
    word-spacing: 1px;
    font-size: 20px;
    color: #000000;
    font-weight: 500;
}

.footer-middle {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #8B0000;
}

.footer-column h4 {
    font-style: italic;
    margin-bottom: 15px;
    font-weight: 700;
    color: #000;
    line-height: 2;
}

.footer-column p {
    line-height: 2;
    margin-bottom: 30px;
    color: #ff0000;
    font-weight: 300;
    font-size: 15px;
}

.footer-column a {
    display: block;
    margin-bottom: 12px;
    text-decoration: none;
    color: #000000;
    font-size: 14px;
    transition: 0.3s ease;
    font-weight: 300;
}

.footer-column a:hover {
    color: #8B0000;
}

.footer-hours {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-size: 14px;
}

.footer-hours span {
    font-weight: 500;
    font-style: italic;
}

.social-icons {
    display: flex;
    gap: 12px;
    margin-top: 10px;
}

.social-icons a {
    width: 42px;
    height: 42px;
    background: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #222;
    font-size: 18px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: 0.3s ease;
}

.social-icons a:hover {
    background: #8B0000;
    color: white;
    transform: translateY(-3px);
}


.footer-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 25px;
    font-size: 14px;
    color: #666;
}

.menu-toggle {
    display: none;
    font-size: 20px;
    cursor: pointer;
    color: #000;
}

.sidebar {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background-color: #ffffff;
    color: #fff;
    transition: right 0.3s ease;
    z-index: 1001;
    padding: 20px;
    box-shadow: -2px 0 8px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
}

.sidebar.active {
    right: 0;
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.sidebar-header h2 {
    font-size: 20px;
    color: #000000;
    font-weight: bold;
    margin: 0;
}

.close-btn {
    background: none;
    border: none;
    color: #ff0000;
    font-size: 24px;
    cursor: pointer;
}

.sidebar-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-links li {
    margin-bottom: 20px;
}

.sidebar-links a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #000000;
    font-size: 16px;
    padding: 10px 15px;
    border-radius: 6px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.sidebar-links a:hover {
    background-color: #000000;
    color: #fff;
}

.sidebar-links a.active {
    background-color: #ff0000;
    color: #fff;
}

/* Dropdown Styles */
.sidebar-dropdown .sidebar-submenu {
    display: none;
    margin-top: 10px;
    padding-left: 20px;
}

.sidebar-dropdown.open .sidebar-submenu {
    display: block;
}

.sidebar-submenu li {
    margin-bottom: 10px;
}

.sidebar-dropdown>a {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sidebar-dropdown i {
    transition: transform 0.3s ease;
}

.sidebar-dropdown.open i {
    transform: rotate(180deg);
}

/* Sidebar - Icons */
.sidebar-links a i {
    margin-right: 10px;
}

/* Overlay */
.overlay-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    z-index: 1000;
}

.overlay-sidebar.active {
    opacity: 1;
    visibility: visible;
}

.sidebar-submenu,
.submenu-news {
    list-style: none;
    padding-left: 20px;
    display: none;
    margin: 0;
}

.sidebar-links a {
    text-decoration: none;
    color: #000;
    padding: 8px 15px;
    display: block;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.sidebar-links a:hover {
    background-color: #000000;
}

.sidebar-dropdown.open>.sidebar-submenu {
    display: block;
}

.sidebar-dropdown-sub.open>.submenu-news {
    display: block;
}

.sidebar-links a i {
    float: right;
    transition: transform 0.3s ease;
}

.dropdown-toggle-sub {
    display: flex;
    justify-content: space-between;
}

.sidebar-dropdown.open>a.dropdown-toggle i,
.sidebar-dropdown-sub.open>a.dropdown-toggle-sub i {
    transform: rotate(90deg);
}

.sidebar-links a.active,
.sidebar-links a.active-parent {
    background-color: #000000;
    color: #D4AF37;
    font-weight: 600;
}


.halaman-ey {
    background-image: url(../img/oop.png);
    width: 100%;
    height: 20vh;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    /* z-index: -1; */
}

.halaman-isi-ey {
    padding: 20px;
}

.halaman-judul-ey {
    font-size: 14px;
}

.breadcrumb a {
    text-decoration: none;
    color: #8B0000;
    font-weight: 500;
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: #a61b1b;
}

.breadcrumb span {
    color: #333;
    font-weight: 500;
}

.section-title-ey {
    margin: 40px 0;
}

.section-title-ey h1 {
    font-size: 2rem;
    color: #8B0000;
    border-left: 5px solid #8B0000;
    padding-left: 20px;
}

.section-title-ey-1 {
    text-align: center;
    margin-top: 100px;
}

.section-title-ey-2 {
    margin-top: 100px;
}

.section-title-ey-2 h1 {
    background-color: #8B0000;
    padding: 10px;
    text-align: center;
    color: #ffff;
    border-radius: 30px;
}

.section-title-ey-1 h1 {
    font-size: 2rem;
    color: #D4AF37;
}

.leadership-section {
    margin-top: 50px;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    justify-content: center;
    align-items: center;
    gap: 40px;
    box-sizing: border-box;
}

.leader-card {
    position: relative;
    height: 420px;
    overflow: hidden;
    border-radius: 10px;
    border: 1px solid black;
    box-shadow: 10px 10px 5px 3px rgba(0, 0, 0, 0.526);
}

.image-container-academic-aja {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
}

.leader-card img {
    width: 50%;
    height: 100%;
    object-fit: fill;
    transition: 0.5s ease;
}

.leader-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
            #8b000049,
            rgba(255, 255, 255, 0.2));
}

.leader-content {
    position: absolute;
    bottom: 40px;
    z-index: 2;
    color: white;
    width: 100%;
}

.leader-content h2 {
    text-align: center;
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.leader-content a {
    color: white;
    text-decoration: none;
    font-size: 22px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s ease;
}

.leader-content a i {
    font-size: 24px;
}

.leader-card:hover img {
    transform: scale(1.08);
}

.leader-card:hover .leader-overlay {
    background: linear-gradient(to top,
            rgba(139, 0, 0, 0.95),
            rgba(139, 0, 0, 0.2));
}

.facilities-section {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
    padding: 40px;
    box-sizing: border-box;
}

/* CARD */
.facility-card {
    background: #fff;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: 0.4s ease;
    position: relative;
}

.facility-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.15);
}

/* IMAGE */
.facility-image {
    position: relative;
    height: 260px;
    overflow: hidden;
}

.facility-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s ease;
}

.facility-card:hover .facility-image img {
    transform: scale(1.08);
}

/* OVERLAY */
.facility-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
            rgba(0, 0, 0, 0.55),
            rgba(0, 0, 0, 0.1));
}

/* TAG */
.facility-tag {
    position: absolute;
    top: 18px;
    left: 18px;

    background: rgba(255, 255, 255, 0.95);
    color: #8B0000;

    padding: 8px 16px;
    border-radius: 50px;

    font-size: 13px;
    font-weight: 700;

    z-index: 3;
    backdrop-filter: blur(8px);
}

/* CONTENT */
.facility-content {
    padding: 28px;
}

.facility-content h3 {
    font-size: 25px;
    margin-bottom: 15px;
    color: #111;
    font-weight: 700;
}

.facility-content p {
    font-size: 15px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 25px;
}

/* BUTTON */
.facility-content a {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    text-decoration: none;

    background: #8B0000;
    color: white;

    padding: 12px 22px;
    border-radius: 50px;

    font-size: 14px;
    font-weight: 600;

    transition: 0.3s ease;
}

.facility-content a:hover {
    background: #003087;
    transform: translateX(5px);
}

.contact-hero {
    position: relative;
    width: 100%;
    min-height: 420px;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    background:
        linear-gradient(rgba(0, 0, 0, 0),
            rgba(0, 0, 0, 0.55)),
        url('../img/55.png');

    background-size: cover;
    background-position: center;
}

.contact-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding: 20px;
}

.contact-hero-content h1 {
    font-size: 65px;
    font-weight: 800;
    margin-bottom: 15px;
}

.contact-hero-content p {
    font-size: 18px;
    opacity: 0.9;
}

.contact-wrapper {
    width: 100%;


    margin: -40px auto 80px;

    position: relative;
    z-index: 5;

    padding: 0 40px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
}

/* FORM CARD */
.contact-form-card {
    background: white;
    border-radius: 35px;
    padding: 45px;

    box-shadow:
        0 15px 40px rgba(0, 0, 0, 0.08);
}

.contact-form-card h2 {
    font-size: 40px;
    margin-bottom: 15px;
    font-weight: 800;
}

.contact-form-card p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 35px;
}

/* FORM */
.contact-form {
    display: grid;
    gap: 22px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;

    border: none;
    outline: none;

    background: #f5f5f5;

    padding: 18px 22px;

    border-radius: 18px;

    font-size: 15px;
    font-family: inherit;

    transition: 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    background: #fff;
    box-shadow:
        0 0 0 3px rgba(139, 0, 0, 0.12);
}

.contact-form textarea {
    resize: none;
    min-height: 160px;
}

/* BUTTON */
.contact-form button {
    border: none;
    cursor: pointer;

    padding: 18px;

    border-radius: 18px;

    background:
        linear-gradient(135deg,
            #8B0000,
            #c40000);

    color: white;

    font-size: 16px;
    font-weight: 600;

    transition: 0.4s ease;
}

.contact-form button:hover {
    transform: translateY(-3px);
    box-shadow:
        0 10px 25px rgba(139, 0, 0, 0.3);
}

/* INFO SIDE */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* INFO CARD */
.info-card {
    background: white;
    border-radius: 30px;
    padding: 30px;

    box-shadow:
        0 15px 40px rgba(0, 0, 0, 0.08);

    transition: 0.4s ease;
}

.info-card:hover {
    transform: translateY(-5px);
}

.info-top {
    display: flex;
    align-items: center;
    gap: 18px;

    margin-bottom: 18px;
}

.info-icon {
    width: 65px;
    height: 65px;

    border-radius: 22px;

    background:
        linear-gradient(135deg,
            #8B0000,
            #c40000);

    display: flex;
    align-items: center;
    justify-content: center;
}

.info-icon i {
    color: white;
    font-size: 24px;
}

.info-top h3 {
    font-size: 22px;
    font-weight: 700;
}

.info-card p,
.info-card a {
    color: #555;
    text-decoration: none;
    line-height: 1.8;
    font-size: 15px;
}

.info-card a:hover {
    color: #8B0000;
}

/* MAP */
.map-box {
    overflow: hidden;
    border-radius: 10px;
    height: 350px;

    box-shadow:
        0 15px 40px rgba(0, 0, 0, 0.08);
    margin-bottom: 50px;
}

.map-box iframe {
    width: 100%;
    height: 100%;
    border: none;
}

@media (max-width: 1030px) {
    nav {
        display: none;
    }

    .menu-toggle {
        display: block;
        font-size: 25px;
        cursor: pointer;
        color: #000000;
        margin-right: 10px;
    }

    .halaman-infosekolah {
        margin-top: 100px;
    }

    .halaman-infosekolah h1 {
        margin-bottom: 50px;
        text-align: center;
    }

    .school-stats {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }

    .card-curikulum .card-curikulum-display {
        max-width: 90%;
    }

    .embed-container {
        max-width: 100%;
        overflow: auto;
    }

    .section-title-ey h1 {
        font-size: 2rem;
        color: #000000;
    }

    .container-ceo {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .photo-ceo {
        max-width: 100%;
        width: 90%;
    }

    .message-ceo {
        width: 100%;
        padding: 0 20px;
        font-size: 0.95rem;
    }

    .message-ceo p {
        text-align: left;
    }

    .signature-ceo {
        margin-top: 30px;

    }

    .split-section {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        height: fit-content;
        overflow: hidden;
        border-radius: 20px;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
        border: 1px solid black;
        gap: 0;
    }

    .image-side {
        width: 100%;
    }

    .content-side {
        width: 100%;
        background-color: #3f3f3fb4;
        color: white;
        padding: 45px;
    }

    .vision-mission-motto.enhanced {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .champions-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 800px) {
    .footer {
        padding: 40px 25px;
    }

    .footer-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-middle {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }

    .footer-header {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        padding-bottom: 10px;
        border-bottom: 1px solid #ff0000;
        margin-bottom: 40px;
        gap: 20px;
    }

    .footer-header p {
        display: none;
    }

    .gambar-logo img:first-child {
        width: 300px;
    }

    .gambar-logo img:last-child {
        width: 120px;
    }

    .leadership-section {
        grid-template-columns: 1fr;
    }

    .leader-card:nth-child(1) {
        order: 2;
    }

    .leader-card:nth-child(2) {
        order: 1;
    }

    .vision-mission-motto.enhanced {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 30px;
    }

    .champions-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .gambarcampions {
        position: relative;
        background-color: #921111;
        height: 250px;
        overflow: hidden;
    }

    .gambarcampions img {
        width: 100%;
        height: 100%;
        object-fit: fill;
        transition: transform 0.5s ease;
    }

    .contact-wrapper {
        padding: 0 20px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .contact-form-card {
        padding: 30px;
        border-radius: 28px;
    }

    .contact-form-card h2 {
        font-size: 30px;
    }

    .contact-hero-content h1 {
        font-size: 42px;
    }

    .facilities-section {
        padding: 20px;
    }

    .facility-image {
        height: 220px;
    }

    .facility-content {
        padding: 22px;
    }

    .facility-content h3 {
        font-size: 22px;
    }
}

@media (max-width: 500px) {
    nav {
        display: none;
    }

    .menu-toggle {
        display: block;
        font-size: 25px;
        cursor: pointer;
        color: #000000;
        margin-right: 10px;
    }

    .hero-content {
        height: 100vh;
        text-align: center;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        z-index: 10;
    }

    .hero-content h1 {
        color: #000000;
        font-size: 1.5em;
        margin-bottom: 30px;
    }

    .hero-content p {
        color: #fdfdfd;
        font-size: 13px;
        margin-bottom: 30px;
        background-color: #8b0000a6;
        padding: 10px;
        list-style: 0;
        border-radius: 20px;
        text-transform: lowercase;
    }

    .halaman-infosekolah {
        margin-top: 50px;
    }

    .halaman-infosekolah h1 {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .halaman-aboutus {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: stretch;
        flex-wrap: wrap;
        margin-top: 100px;
    }

    .halaman-aboutus {
        flex-direction: column;
    }

    .halamangambarus {
        margin-bottom: 30px;
        width: 100%;
    }

    .halaman-tulisanus {
        width: 100%;
    }

    .judul-us {
        font-size: 20px;
        padding: 0 5px;
    }

    .section-title-ey h1 {
        font-size: 20px;
        color: #000000;
    }

    .halaman-curikulum .judul-halaman h1 {
        border-left: 5px solid #8B0000;
        font-size: 20px;
        padding-left: 20px;
        margin-bottom: 0px;
        color: #8B0000;
    }

    .champions-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .profile-school {
        flex-direction: column;
    }

    .profile-school .gambar,
    .profile-school .detail-school-profile {
        width: 100%;
        max-width: 100%;
    }

    .profile-school .gambar {
        height: 250px;
    }

    .profile-school .gambar img {
        object-fit: cover;
    }

    .container-ceo {
        flex-direction: column;
    }

    .team-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .team-image {
        width: 100%;
        height: 200px;
    }

    .team-info {
        align-items: center;
    }

    .team-info .kata-motivation {
        text-align: center;
    }

    .section-book-view {
        grid-template-columns: 1fr;
        /* Satu kolom saja */
        gap: 16px;
        padding: 0 10px;
    }

    .section-book-view .card {
        max-width: 100%;
        border-radius: 8px;
    }

    .section-book-view .cover-container {
        height: 200px;
    }

    .section-book-view .title-bar {
        font-size: 16px;
        padding: 8px;
    }

    .section-book-view .info-penulis {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 12px;
    }

    .section-book-view .info-penulis img {
        width: 60px;
        height: 80px;
    }

    .section-book-view .info-penulis .text {
        gap: 6px;
        font-size: 0.9rem;
    }

    .section-book-view .info-penulis .text div:nth-child(1) {
        font-size: 1rem;
    }

    .section-book-view .btn-lihat {
        margin: 12px auto;
        padding: 8px 12px;
        font-size: 1rem;
        width: 90%;
    }

    .section-title-ey-2 {
        margin-top: 70px;
    }

    .gambar-logo img:first-child {
        width: 160px;
    }

    .gambar-logo img:last-child {
        width: 80px;
    }

    .footer-middle {
        grid-template-columns: 1fr;
    }

    .footer-logo-title h2 {
        font-size: 20px;
    }

    .school-values h2 {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 5px;
        line-height: 1.3;
    }

    .school-values span {
        margin-left: 0;
    }
}

@media (max-width: 380px) {
    .logo img.logo1 {
        height: 30px;
    }

    .logo img.logo2 {
        height: 20px;
    }

    nav {
        display: none;
    }

    .menu-toggle {
        display: block;
        font-size: 20px;
        cursor: pointer;
        color: #000000;
        margin-right: 10px;
    }

    .wa {
        position: fixed;
        bottom: 10px;
        right: 10px;
        z-index: 10;
    }

    .wa a {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .halaman-head-karir {
        display: flex;
        justify-content: center;
    }

    .search-input {
        padding: 10px;
        font-size: 12px;
    }

    .search-select {
        flex: 1;
        border: none;
        border-left: 1px solid #ddd;
        padding: 10px;
        font-size: 12px;
        background-color: #fff;
        cursor: pointer;
        outline: none;
    }

    .card-container {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 20px;
        padding: 20px;
    }

    .company-logo {
        height: 40px;
    }


    .social-icons a {
        font-size: 15px;
    }

    .judul-job {
        width: 100%;
        padding: 5px;
    }

    .judul-job h3 {
        text-align: center;
        font-size: 15px;
    }

    .company-aja {
        width: 100%;
        margin-bottom: 10px;
        line-height: 1.5;
        font-size: 13px;
    }

    .info {
        font-size: 13px;
    }

    .btn-apply {
        text-decoration: none;
        text-align: center;
        font-size: 13px;
        color: rgb(255, 255, 255);
        flex: 1;
        padding: 8px;
        border-radius: 8px;
        font-weight: bold;
        border: 1px solid #ddd;
        cursor: pointer;
    }

    .logos1 {
        width: 200px;
        height: auto;
        display: block;
    }

    .logos {
        width: 50px;
        height: auto;
        display: block;
    }

    .footer-brand h3 {
        font-size: 18px;
        margin-bottom: 10px;
    }

    .footer-brand p {
        font-size: 13px;
        margin-bottom: 20px;
        line-height: 1.4;
        text-align: justify;
    }

    .contact-item i {
        font-size: 18px;
    }

    .contact-item a {
        font-size: 12px;
    }

    .contact-item a:hover {
        text-decoration: underline;
    }

    .contact-item p {
        margin: 0;
    }

    .footer-links h4,
    .footer-social h4 {
        font-size: 18px;
        margin-bottom: 10px;
    }

    .footer-links ul li a {
        color: #333;
        text-decoration: none;
        transition: color 0.3s ease;
        font-weight: 500;
        font-size: 13px;
    }

    .footer-bottom {
        font-size: 13px;
    }

    .search-select {
        display: none;
    }

    .card-container {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 10px;
    }

    .hero-content {
        height: 90vh;
    }

    .hero-content h1 {
        font-size: 30px;
        line-height: 1.5;
    }

    .hero-content p {
        font-size: 15px;
    }

    .halaman-banner {
        display: flex;
        justify-content: center;
        align-items: center;
        height: 50vh;
    }

    .item img {
        object-fit: fill;
    }

    .halaman-infosekolah {
        margin-top: 50px;
    }

    .halaman-infosekolah h1 {
        border-radius: 20px 20px 0px 0px;
        font-size: 20px;
    }

    .school-stats {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 20px;
    }

    .halaman-map h1 {
        padding: 10px;
        font-size: 10px;
    }

    .legend {
        font-size: 10px;
    }

    .legend table {
        font-size: 10px;
    }

    .halaman-aboutus {
        flex-direction: column;
        margin-top: 100px;
    }

    .halamangambarus {
        width: 100%;
    }

    .box-red-center img {
        object-fit: fill;
    }

    .halaman-tulisanus {
        width: 100%;
    }

    .halaman-tulisanus .judul-us {
        font-size: 30px;
    }

    .halaman-tulisanus p {
        font-size: 13px;
        line-height: 1.5;
        margin-bottom: 10px;
    }

    .halaman-curikulum {
        margin-top: 50px;
    }

    .halaman-curikulum .judul-halaman h1 {
        font-size: 25px;
    }

    .halaman-curikulum p {
        line-height: 1.8;
        font-size: 13px;
        margin-bottom: 15px;
    }

    .champions-container {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .gambarcampions {
        height: 200px;
    }

    .card-content h3 {
        font-size: 14px;
        /* sedikit kecilkan font agar muat */
    }

    .cards-container {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

@media (max-width: 380px) {
    .text-wrapper p {
        text-align: left;
    }

    .section-title-ey h1 {
        font-size: 18px;
        color: #000000;
        padding-left: 10px;
    }

    .section-title-ey {
        margin: 0px 0 30px;
    }
}