/*================================
||       WEBSITE                ||
==================================
*/
@import url('style.css');
/* Hero Section */
.hero-text {
    font-size: 40px;
    font-weight: 600;
    letter-spacing: -0.02em;
    text-align: left;
    margin-bottom: 7px;
}
.hero-text span {
    font-size: 40px;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: #1f736d;
}
.hero-image {
    text-align: right;
    padding-top: 10px;
}
.hero-image img {
    width: calc(100% - 50px);
}
.admission-link {
    margin-top: 15px;
    display: inline-block;
    background: #1f736d;
    color: #fff;
    text-decoration: none;
    padding: 9.74px 22.27px;
    border-radius: 2.78px;
    text-align: center;
    font-size: 20px;
}
.admission-link:hover {
    color: #fff;
}
.admission-link:hover i {
    transition: transform 0.3s;
    transform: translateX(3px);
}
a.login-link {
    width: 118.25px;
    height: 36.49px;
    text-decoration: none;
    padding: 9.74px 22.27px 9.74px 22.27px;
    border-radius: 2.78px;
    color: #fff;
    background: #1f736d;
    text-align: center;
    margin-right: 7px;
}
.showMoreBtn {
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 8px;
    background: var(--theme2);
    color: white;
    display: table;
    margin: 10px auto;
    font-size: 16px;
}
.showMoreBtn:hover {
    color: #f1f1f1;
    transition: 0.3s;
    padding: 12px 28px;
}
/* Notice Board== */
.notice-heading-hero {
    background-color: var(--theme1);
    border-radius: 8px;
    position: relative;
    height: 52px;
    margin-bottom: 45px;
}
.notice-heading-hero::before {
    content: "";
    position: absolute;
    bottom: -30px;
    left: 15px;
    width: 33px;
    height: 31px;
    clip-path: polygon(11% 0, 0% 100%, 100% 0);
    background-color: var(--theme1);
}
.notice-heading-hero img {
    position: absolute;
    left: -26px;
    top: -44px;
    width: 135px;
}
.notice-heading-hero span {
    position: absolute;
    left: 91px;
    top: 9px;
    color: white;
}
.listDesign {
    list-style: none;
    padding: 3px 0;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: stretch;
    align-items: stretch;
    width: 100%;
}
.listDesign .noticeBox {
    cursor: pointer;
}
.listDesign .homep {
    /* background: #ffffff9e; */
    height: 65px;
    margin-bottom: 5px;
    border-radius: 8px;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    cursor: pointer;
    border: 1px solid #000000;
    overflow: hidden;
}
.listDesign div.homep {
    cursor: initial;
}
.listDesign div.homep p {
    padding: 4px;
}
.noticeBoard {
    overflow-y: auto;
}
.dateBox {
    box-sizing: border-box;
    background: #fff;
    text-align: center !important;
    border-radius: 5px;
    display: inline-block;
    min-width: 41px !important;
    min-height: 64px !important;
    position: relative;
    overflow: hidden;
    margin-right: 5px;
    border: 1px solid #222;
}
.dateBox span {
    display: block;
    text-align: center;
    font-size: 20px !important;
    margin-top: 5px;
}
.dateBox span:nth-child(2) {
    position: absolute;
    background: var(--theme1);
    color: white;
    width: 100%;
    bottom: 0;
    left: 0;
    font-size: 17px;
    padding: 4px 0;
}
.noticeBoard {
    overflow-y: auto;
}
.dateBox {
    box-sizing: border-box;
    background: #fff;
    text-align: center !important;
    border-radius: 5px;
    display: inline-block;
    min-width: 41px !important;
    min-height: 64px !important;
    position: relative;
    overflow: hidden;
    margin-right: 5px;
    border: 1px solid #222;
}
.dateBox span {
    display: block;
    text-align: center;
    font-size: 20px !important;
    margin-top: 5px;
}
.dateBox span:nth-child(2) {
    position: absolute;
    background: var(--theme1);
    color: white;
    width: 100%;
    bottom: 0;
    left: 0;
    font-size: 17px;
    padding: 4px 0;
}

/* Section Headings */
.headingHero {
    display: inline-block;
    margin: 15px auto;
    padding: 1px 14px;
    font-size: 25px;
    font-weight: 600;
    position: relative;
    text-align: center;
    color: white;
    background-color: var(--theme1);
    background-image: linear-gradient(48deg, var(--theme1), var(--theme2));
    border-radius: 1px 14px 1px 14px;
    box-shadow: inset 0px 1px 6px #222;
}
.headingHero::before {
    content: "";
    position: absolute;
    background-color: var(--theme1);
    background-image: linear-gradient(48deg, var(--theme1), var(--theme2));
    width: 60%;
    height: 4px;
    border-radius: 3px;
    top: -6px;
    left: 10px;
    box-shadow: inset 0px 1px 3px #222;
}
.headingHero::after {
    content: "";
    position: absolute;
    background-color: var(--theme1);
    background-image: linear-gradient(48deg, var(--theme1), var(--theme2));
    width: 60%;
    height: 4px;
    border-radius: 3px;
    bottom: -6px;
    right: 10px;
    box-shadow: inset 0px -1px 3px #222;
}
.section-title {
    text-align: center;
    margin-bottom: 15px;
    font-size: 36px;
}
.section-subtitle {
    text-align: center;
    margin-bottom: 50px;
    font-size: 16px;
    color: #666;
}
/* Activity */
.activity-heading {
    text-align: center;
    margin-top: 20px !important;
}

/* About */
.about-cover-image {
    border-radius: 8px;
    overflow: hidden;
}
.about-cover-image img {
    width: 100%;
}
.about-headings {
    border-radius: 8px;
    padding: 6px 10px;
    margin-top: 25px;
    margin-bottom: 25px;
    color: #fff;
    background: linear-gradient(
        270.11deg,
        rgba(239, 239, 239, 0) -1.98%,
        rgba(125, 147, 25, 0.3) 39.35%,
        #7d9319 78.39%
    );
}
.about-list-item {
    display: flex;
    align-items: center;
    margin-bottom: 13px;
}
.about-list-item p {
    margin-left: 5px;
}
.our-vision {
    margin-bottom: 30px;
}
/* Book Showcase Section */
.books-section {
    padding: 80px 0;
    background-color: var(--light-gray);
}
.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
}
.filter-btn {
    padding: 10px 25px;
    border: 2px solid var(--primary-green);
    background-color: var(--light-text);
    color: var(--primary-green);
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}
.filter-btn:hover,
.filter-btn.active {
    background-color: var(--primary-green);
    color: var(--light-text);
}
.book-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    transition: opacity 0.5s ease;
}
.book-card {
    background-color: var(--light-text);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.book-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}
.book-card img {
    width: 100%;
    height: 320px;
    object-fit: cover;
}
.book-card-content {
    padding: 20px;
}
.book-card-content h3 {
    margin-top: 0;
    margin-bottom: 5px;
    font-size: 20px;
}
.book-card-content .class-level {
    font-size: 14px;
    color: #777;
    margin-bottom: 15px;
}
.book-card-content .description {
    font-size: 15px;
    color: #555;
}

/* Employee Cards */
.employee-container {
    border-radius: 10px;
    background: var(--d-white);
    max-width: 300px;
    box-shadow: 0px 2px 5px #2225;
    text-align: center;
    margin: 10px auto;
}
.employee-img {
    width: 100%;
    aspect-ratio: 1/1;
    border-radius: 8px;
    border: 1px solid #ccc;
    overflow: hidden;
    object-fit: cover;
}
.employee-img img {
    width: 100%;
}
.employee-container .name {
    margin-bottom: 0;
}
.employee-container .designation {
    color: #6e6e6e;
}
.employee-container .details {
    background: #ebebeb;
    padding: 4px;
    border-radius: 0px 0px 8px 8px;
}
.employee-container a {
    color: var(--theme2);
}
.card-con-employee {
    display: grid;
    grid-template-columns: 1fr;
    grid-gap: 10px;
    justify-content: space-between;
}
.principal-img {
    width: calc(100% - 20px);
    margin: 5px auto;
}
.principal-img img {
    width: 100%;
}
.employee-title {
    position: relative;
    color: var(--theme2);
}


/* Image Gallery */
.imageGallery {
    display: grid;
    grid-auto-flow: dense;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    grid-gap: 8px;
}
.imageGallery div {
    border-radius: 8px;
    overflow: hidden;
}
.imageGallery img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

/* Contact Section */
.contact-section {
    background: var(--theme2);
    color: #fff;
}
.contact-logo {
    margin: 10px 0;
}
.social-icons-group a {
    display: inline-block;
    background: #2b9991;
    color: white;
    width: 30px;
    height: 30px;
    padding: 7px;
    text-align: center;
    overflow: hidden;
    border-radius: 15px;
}
.contactList {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 5px;
    margin: 10px 2px;
}
.contactList a,
.contactList i {
    text-decoration: none;
    color: #fff;
    font-size: 13px;
}
section#contact h3 {
    margin: 18px 1px;
    color: #fff;
    position: relative;
}
section#contact h3::after {
    content: "";
    position: absolute;
    bottom: -5px;
    background: #ececec;
    width: 90px;
    height: 1px;
    left: 0;
}

/* Slideshow */
.slideshow-container {
    max-width: 1000px;
    position: relative;
    margin: auto;
    overflow: hidden;
    border-radius: 10px;
    border: 7px solid #ffffff;
}
.mySlides {
    display: none;
}
.slideshow-container .prev,
.slideshow-container .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
}
.slideshow-container .next {
    right: 0;
    border-radius: 3px 0 0 3px;
}
.slideshow-container .prev:hover,
.slideshow-container .next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}
.slideshow-container .text {
    color: #f2f2f2;
    font-size: 15px;
    padding: 8px 12px;
    position: absolute;
    bottom: 8px;
    width: 100%;
    text-align: center;
}
.slideshow-container .numbertext {
    color: #f2f2f2;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
}
.dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}
.fade {
    animation-name: fade;
    animation-duration: 2s;
}
@keyframes fade {
    from {
        opacity: 0.8;
    }
    to {
        opacity: 1;
    }
}

/* Statistics Section */
.people-count-stat {
    background: #3b857f;
    padding: 30px 0px;
    background-image: linear-gradient(
            rgb(31 115 109 / 93%),
            rgb(31 115 109 / 93%)
        ),
        url(https://madrasatuir.com/uploads/IMG-20230920-WA0001.jpg);
    background-size: cover;
    background-position: center;
    margin-bottom: 30px;
}
.people-count-stat div,
.people-count-stat i {
    color: #fff !important;
}