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

/* General Styles */

/* Background animation */
@keyframes backgroundAnimation {
    0% {
        background-image: url("/img/j1.jpg");
    }

    25% {
        background-image: url("/img/5c.jpg");
    }

    50% {
        background-image: url("/img/1c.jpg");
    }

    75% {
        background-image: url("/img/hsl-braille.jpg");
    }

    100% {
        background-image: url("/img/4c.jpg");
    }
}

.hero-section {
    height: 100vh;
    overflow: hidden;
    position: relative;
}

.bg-image {
    background-size: cover;
    background-position: center;
    z-index: 1;
    top: 0;
    left: 0;
    transition: background-image 1s ease-in-out;
}

.dark-overlay {
    background: rgba(0, 0, 0, 0.277);
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.hero-content {
    z-index: 3;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    padding: 0 15px;
}

.page-title {
    font-size: 2.5rem;
    font-weight: bold;
}

.card-over {
    background: rgba(83, 23, 23, 0.778);
    border-radius: 15px;
    color: white;
    transition: transform 0.3s ease;
}

.card-over:hover {
    transform: scale(1.05);
}

.nav-cards-section {
    z-index: 4;
    margin-top: -80px;
    /* pulls it up into the hero section */
    padding-bottom: 2rem;
}

@media (max-width: 768px) {
    .hero-content {
        top: 45%;
    }

    .page-title {
        font-size: 2rem;
    }
}

body {
    background-color: #f6f6f6;
}

.bg-container {
    position: relative;
    height: 100vh;
}


/* Black overlay */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.221);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.page-title {
    color: #ffffff;
    font-weight: 700;
    font-size: 3.5rem;
}
.header-com{
    color: #62181E;
        font-weight: 700;
        font-size: 3.5rem;
}

.card-title {
    font-weight: 700;
    color: #62181E;
}

/* Card Styles */
.card {
    border: none;
    border-radius: 1rem;
    box-shadow: rgba(100, 100, 111, 0.3) 0px 7px 29px 0px;
}

.equal-img {
    height: 250px;
    /* Adjust height as needed */
    object-fit: cover;
}

body {
    height: 3000px;
    overflow-x: hidden;
}

body {
    font-family: 'Poppins', sans-serif;
}

.bg-image {
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    filter: brightness(0.6);
}

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

nav {
    background-color: #62181e;
    box-shadow: 1px 1px 2px #282828;
}

.nav-link:hover {
    color: #ffcc00;
    text-decoration: underline;
    transition: color 0.3s ease;

}

.navbar-nav .nav-link {
    font-size: 15px;
    font-weight: 100;
    padding: 2px;
}


.navbar-toggler {
    outline: none !important;
    padding: none !important;

}

.nav-link {
    color: #fafafa;
    position: relative;
}

.btn {
    background-color: #ffc402;
    font-size: 15px;
    color: #62181E;
}

.btn:hover {
    background-color: #5e1111;
    color: #fafafa;

}


.nav-link.active {
    color: rgb(221, 169, 16);
}

.nav-link::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: rgb(221, 169, 16);
    visibility: hidden;
    transition: 0.3s ease-in-out;
}

.nav-link:hover::before,
.nav-link.active::before {
    width: 100%;
    visibility: visible;
}



/* Buttons */
.button {
    background-color: #ffc402;
    font-size: 15px;
    color: #62181E;
}



/* Home Section */
.school-levels-title {
    color: #5A1A0E;
}

.school-levels-text {
    color: #5A1A0E;
    font-weight: 500;
}

.card-hover:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease;
    cursor: pointer;
}
.card-over:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease;
    cursor: pointer;
}
.card-over{
    border-radius: 3px;
}
.card-container {
    position: relative;
    top: 190px;
        
}
 .btn:hover{
    transform: scale(1.05);
        transition: transform 0.3s ease;
        cursor: pointer;
 }

.header {
    font-size: 3rem;
}

#home p {
    width: 50%;
    color: white;
    font-size: 0.9rem;
    line-height: 25px;
}

@media (max-width: 769px) {
    #home p {
        width: 90%;
    }
}

/* ABOUT */
/* .card:hover {
    cursor: pointer;
     transform: scale(1.05);
     transition: transform 0.3s;
 } */

.back-img{
    position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        z-index: -1;
        opacity: 0.3;
}
/* admission */
/* .explore-btn{
    padding: 5px 5px 5px 5px;
    color: #62181E;
    border: 1px solid #62181E;
    border-radius: 2px;

} */

/* .explore-btn:hover {
    border: 1px solid #ffc402;
    background-color: #ffc402;
    color: #62181E;
} */
 /* .custom-card {
     background-color: #ffc402;
    color: #62181E;
     padding: 20px;
     height: 100%;
 }

 .custom-card h2 {
     font-size: 1.25rem;
     font-weight: bold;
 }

 .custom-card .border-box {
     border: 2px solid white;
     padding: 10px;
     display: inline-block;
     cursor: pointer;
 }

 .custom-card .border-box:hover {
     background-color: white;
     color: #62181E;
 } */

/* Footer */
.footer-text {
    font-weight: 900;
    color: #e2e0e0;
}

.text-center .text-reset {
    color: rgb(221, 193, 32);
}

.logo {
    width: 170px;
    height: auto;
    margin: 0;
}

.sample {
    width: 100%;
    height: 100%;
}


/* CARD */
.card {

    width: 330px;

}


/* Card */
.courses .box {
    padding: 10px 10px;

}

a {
    text-decoration: none !important;

}

.text-center .text-reset {
    color: rgb(221, 193, 32);
}

.logo {
    width: 240px;
    height: auto;
    margin: 0;
}

.sample {
    width: 100%;
    height: 100%;
}

.accordion-button {
    background-color: #752d2d;
    color: white !important;
    font-weight: bold;
    border-radius: 8px !important;
    padding: 12px;
}

.accordion-button:focus {
    box-shadow: none;
}

.accordion-button:not(.collapsed) {
    background-color: #5a1f1f;
}

.accordion-item {
    border: none;
    margin-bottom: 10px;
    border-radius: 8px;
    overflow: hidden;
    background-color: white;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

.accordion-body {
    padding: 15px;
    background-color: #fff;
    border-radius: 0 0 8px 8px;
}

.accordion-header
{
    text-decoration: none !important;
}



/* 404 Page */
.error-page {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #f8f8f8;
    font-family: Poppins, sans-serif;
    text-align: center;
}


.logo-404 {
    max-width: 120px;
    margin-bottom: 10px;
}

.error {
    font-size: 100px;
    color: #780b0b;
    font-weight: 800;
    margin: 0;
    text-shadow: 3px 3px 0px rgba(0, 0, 0, 0.2);
}

.paragraph {
    font-size: 18px;
    color: #333;
    margin-bottom: 20px;
}

.home-page {
    text-decoration: none;
    background-color: #007bff;
    color: white;
    padding: 12px 24px;
    border-radius: 5px;
    font-size: 16px;
    display: inline-block;
    font-weight: bold;
}

.home-page:hover {
    background-color: #0056b3;
}