a.DZ-bt-buy-now.DZ-theme-btn{
    display: none;
}
a.DZ-bt-support-now.DZ-theme-btn{
    display: none;
}
/* .slide-item-img{
    max-height: 400px;
}
*/
.custom-top-ribbon{
    width: 100%;
    height: 10%;
    background-color: #4582ff;
    color: rgb(255, 255, 255);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px;
    padding-left: 50px;
    padding-right: 50px;
    border-bottom: 1px solid black;
}
.custom-top-ribbon a{
    text-decoration: none;
    color: #fff;
}
.custom-top-ribbon a:hover{
    color: white;
}
.top-ribbon-socials i{
    margin-left: 5px;
    margin-right: 5px;
    margin-top: 5px;
    margin-bottom: 5px;
}
.top-ribbon-socials{
    margin-left: 5%;
}
.top-ribbon-buttons a{
    margin-right: 10px;
}
.top-ribbon-buttons a:hover{
    font-weight: 800;
    transition: font-weight 0.3s;
    color: #fff;
}
@media screen and (max-width: 767px) {
    .top-ribbon-socials{
        display: none;
   }
    .top-ribbon-buttons{
        display: none;
   }
    .custom-top-ribbon {
        display: none;
   }
}
.slider-content {
    display: flex;
    align-items: center;
}
.logo {
    margin-right: 20px;
}
.slider-title{
    font-size: 22px;
}
.about-title{
    font-weight: 500;
}
.about-link.btn{
    display: inline-block;
    padding: 12px 20px;
    border-radius: 12px;
    background-color: transparent;
    border: 2px solid black;
    color: black;
}
@media screen and (max-width: 767px) {
    .slider-content .content{
        transform: scale(0.8);
   }
}
.about-link{
    font-weight: 400;
}
.about-link:hover{
    font-weight: 800;
    transition: font-weight 0.3s;
}
@import url('https://maxcdn.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css');
.collage-item {
    height: 250px;
    background-repeat: no-repeat;
    background-position: center center;
    object-fit: cover;
    border: 2px solid black;
}
.why-islamiyah {
    padding: 40px 0;
    margin-left: 10%;
    margin-right: 10%;
}
.why-islamiyah-title{
    text-align: center;
}
.grid-container{
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}
.grid-item{
    flex: 1 1 calc(33.333% - 20px);
    display: flex;
    padding: 20px;
    border-radius: 8px;
}
.grid-icon{
    margin-right: 20px;
    font-size: 30px;
}
.item-content {
    display: flex;
    flex-direction: column;
}
.item-title {
    margin-top: 0;
    font-size: 18px;
}
.item-description {
    margin-top: 10px;
    font-size: 14px;
}
@media (max-width: 768px) {
    .grid-container {
        flex-direction: column;
   }
    .grid-item {
        flex: 1 1 100%;
        margin-bottom: 20px;
   }
    .grid-icon {
        margin-right: 0;
        margin-bottom: 10px;
   }
}
.square-card{
    display: flex;
    background-color: #f1f1f1;
    border-radius: 8px;
    margin: 30px;
    width: 100%;
}
.square-card>h1{
    text-align: center;
    margin-top: 6%;
    width: 100%;
}
@media (max-width: 768px) {
    .square-card {
        margin: 15px auto;
   }
}
.visions{
    margin-top: 20px;
    margin-bottom: 20px;
}
.dropdown-menu li a{
    font-size: 16px;
}
.dropdown-menu li{
    margin: 12px;
}
.dropdown-menu{    
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
}
.dropdown-menu li:hover{
    background-color: #fea116;
    color: #fff;
    transition: 0.3s;
}
.dropdown-hover a{
color: #fff;
}
.dropdown-hover:hover .dropdown-menu {
    display: block;
}
.sub-dropdown-menu{
    display: none;
}
.sub-dropdown-hover:hover .sub-dropdown-menu {
    display: block;
}
@media screen and (max-width: 767px) {
    .vision>.card, .mission>.card{
        padding: 0px;
   }
   .vis-mis-wrapper{
    padding: 0px;
}
.vis-mis-wrapper img{
    display: none;
}
}
.vision>.card,.mission>.card{
    border-radius: 8px;
}
.vis-mis-wrapper{
    padding: 50px;
}



.why-islamiyah-wrapper{
    margin-top:50px;
    position: relative;
    padding: 20px;
    background-repeat: no-repeat;
    background-size: 30%;
    background-image: url('../doodles/paper-plane.png');
}
.why-card{
    padding: 20px;
    border-radius: 8px;
    position: relative;
    z-index: 3;
}
.why-card li{
    border-bottom: transparent;
}
.why-card .head{
    background-color: rgb(255, 115, 0) !important;
}
.why-card .title{
    font-weight: 700;
}
.counter-wrapper{
    gap: 10px;
    padding: 20px;
    margin-top: 30px;
    margin-bottom: 30px;
}
.counter-card{
    padding: 20px;
    background-color: white;
    border: 1px solid rgba(0, 0, 0, .125);
    background-clip: border-box;
    border-radius: 8px;
    display: flex;
    /* margin: 20px 15px 20px 15px; */
   /* @NOTE: Top Right Bottom Left*/
    gap: 12px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    align-content: center;
}
.counter-card>i{
    font-size: 75px;
}
.number{
    padding-top: 20px;
    font-weight: 400;
    font-size: 55px;
}
/* Administrators */

.speech-img-card{
    margin: 0 auto;
    padding: 20px;
    box-shadow: 0px 0px 12px 4px rgba(46, 46, 46, 0.403);
}
.speech-card{
    margin: 30px;
    padding: 20px;
    box-shadow: 0px 0px 12px 4px rgba(46, 46, 46, 0.403);
}
.background-image {
    background-image: url('https://images.unsplash.com/photo-1593786189301-461faf967779?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxzZWFyY2h8MTZ8fGdyZWVuJTIwZ3Jhc3NsYW5kfGVufDB8fDB8fHww&auto=format&fit=crop&w=400&q=60');
    background-size: cover;
    background-position: center;
    position: absolute;
    width: 100%;
   /* height: 500px;
    */
    height: 100%;
    opacity: 0.5;
}
@media screen and (max-width: 767px) {
    .background-image {
        height: 100%;
   }
    .about-speech-wrapper{
        margin-bottom: 100px;
        margin-top: 100px;
   }
}
.square-image {
    width: 100%;
    height: auto;
}
.image-container {
    position: relative;
}
.image-container img{
    border-radius: 4px;
}
.speech-text {
    padding: 20px;
}
.about-speech-wrapper{
    margin-bottom: 60px;
    margin-top: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
}
/* Academics */
.no-bullet {
    content: none;
    list-style-type: none
}
/* School Tour */
.school-tour-wrapper{
    background-image: linear-gradient(to bottom, rgba(238, 238, 238, 0.2), rgb(255, 255, 255, 0.8)), url('../admins_profile/school Pik.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    height: 100vh;
}
/* School Tour End*/
.custom-card {
    max-width: 300px;
   /* Adjust the maximum width as per your preference */
}
/* Home Page Why Islamiyah Horizontal Slider */
.why-card .action-box .action-area {
    height: 150px;
}
.scrolling-wrapper::-webkit-scrollbar {
    display: none;
}
.scrolling-wrapper {
    overflow-x: auto;
    scrollbar-width: 0px;
}
@keyframes scroll {
    0% {
        transform: translateX(0);
   }
    100% {
        transform: translateX(-100%);
   }
}
/* Milestone Timeline */
:root {
    --white: #fff;
    --black: #323135;
    --crystal: #a8dadd;
    --columbia-blue: #cee9e4;
    --midnight-green: #31989d;
    --yellow: #e5f33d;
    --timeline-gradient: rgba(206, 233, 228, 1) 0%, rgba(206, 233, 228, 1) 50%, rgba(206, 233, 228, 0) 100%;
}
.section {
    padding: 50px 0;
}
.section .container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}
.section h1 {
    font-size: 2.5rem;
    line-height: 1.25;
}
.section h2 {
    font-size: 1.3rem;
}
/* TIMELINE –––––––––––––––––––––––––––––––––––––––––––––––––– */
.timeline {
    border-radius: 12px;
    background-color: #65b9be;
    position: relative;
    white-space: nowrap;
    max-width: 1400px;
    padding: 0 10px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 320px auto;
    grid-gap: 20px;
}
.timeline::before, .timeline::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 30px;
    width: 100px;
    z-index: 2;
}
.timeline::after {
    right: 0;
   /* background: linear-gradient(270deg, var(--timeline-gradient));
    */
}
.timeline::before {
    left: 340px;
   /* background: linear-gradient(90deg, var(--timeline-gradient));
    */
}
.timeline .info {
    margin: 8px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px 40px;
    color: var(--white);
    background: var(--midnight-green);
    white-space: normal;
    border-radius: 10px;
}
.timeline .info img {
    margin-bottom: 20px;
}
.timeline .info p {
    margin-top: 10px;
    color: var(--crystal);
}
.timeline .info a {
    text-decoration: none;
}
.timeline ol::-webkit-scrollbar {
    height: 12px;
}
.timeline ol::-webkit-scrollbar-thumb, .timeline ol::-webkit-scrollbar-track {
    border-radius: 92px;
}
.timeline ol::-webkit-scrollbar-thumb {
    background: var(--midnight-green);
}
.timeline ol::-webkit-scrollbar-track {
    background: var(--yellow);
}
.timeline ol {
    font-size: 0;
    padding: 250px 0;
    transition: all 1s;
    overflow-x: scroll;
    scroll-snap-type: x mandatory;
    scrollbar-color: var(--yellow) var(--midnight-green);
}
.timeline ol li {
    position: relative;
    display: inline-block;
    list-style-type: none;
    width: 160px;
    height: 5px;
    background: var(--white);
    scroll-snap-align: start;
}
.timeline ol li:last-child {
    width: 340px;
}
.timeline ol li:not(:first-child) {
    margin-left: 14px;
}
.timeline ol li:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 50%;
    left: calc(100% + 1px);
    bottom: 0;
    width: 16px;
    height: 16px;
    transform: translateY(-50%);
    border-radius: 50%;
    background: var(--midnight-green);
    z-index: 1;
}
.timeline ol li div {
    position: absolute;
    left: calc(100% + 7px);
    width: 280px;
    padding: 15px;
    font-size: 1rem;
    white-space: normal;
    color: var(--black);
    background: var(--white);
    border-radius: 0 10px 10px 10px;
}
.timeline ol li div::before {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    width: 0;
    height: 0;
    border-style: solid;
}
.timeline ol li:nth-child(odd) div {
    top: -16px;
    transform: translateY(-100%);
    border-radius: 10px 10px 10px 0;
}
.timeline ol li:nth-child(odd) div::before {
    top: 100%;
    border-width: 8px 8px 0 0;
    border-color: var(--white) transparent transparent transparent;
}
.timeline ol li:nth-child(even) div {
    top: calc(100% + 16px);
}
.timeline ol li:nth-child(even) div::before {
    top: -8px;
    border-width: 8px 0 0 8px;
    border-color: transparent transparent transparent var(--white);
}
.timeline time {
    display: block;
    font-size: 1.4rem;
    font-weight: bold;
    margin-bottom: 8px;
    color: var(--midnight-green);
}
/* GENERAL MEDIA QUERIES –––––––––––––––––––––––––––––––––––––––––––––––––– */
@media screen and (max-width: 800px) {
    .timeline {
        display: block;
   }
    .timeline::before, .timeline::after {
        width: 50px;
   }
    .timeline::before {
        left: 0;
   }
    .timeline .info {
        display: none;
   }
}
/* Scrolling the why-cards */
@keyframes scroll {
    0% {
       transform: translateX(0);
   }
    100% {
       transform: translatex(-1000%)
   }
}
.why-card{
    /* animation: scroll 300s linear infinite; */
}
.mission>.card, .vision>.card{
    background: #4582ff;
}

.mission>.card-title, .vision>.card-title{
    color: white;
}


/* Board of trustees */
.admins-wrapper {
    padding: 20px;
    background-color: #f0f0f0;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    z-index: 0;

}

.admin-profile {
    position: relative;
    width: 300px;
    height: 400px;
    max-height: 400px;
    min-height: 150px;
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.admin-profile:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2);
}

.admin-image {
    width: 100%;
    max-height: 200px;
    border-radius: 6%;
    object-fit: cover;
    margin-bottom: 10px;
}
/* Board of trustees END */



/* Background Doodle*/
.img {
    background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.8), rgba(255, 255, 255,0.8)), url('/bg-elems/BG-4.jpg');
    background-size: contain;
    background-position: center;
}

.vis-mis-wrapper {
    position: relative;
}


.vis-mis-wrapper>img {
    position: absolute;
    top: 0%;
    left: 0%;
    width: 500px;
    height: 500px;
}

@media screen and (max-width:767px) {
    .vis-mis-wrapper>img {
        position: absolute;
        top: 80%;
        left: 10%;
        width: 300px;
        height: 300px;
    }
}
/* Background Doodle END */
