#loader {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8); /* White background with opacity */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999; /* Make sure it appears on top of everything */
}

#loader img {
    width: 100px; /* Adjust the size as needed */
}
/*** Spinner Start ***/
@media (max-width: 1400px) {
    .logo  {
        display: block;
        width: 100%;
        height: auto;
    }
}

.back-to-top {
    position: fixed;
    right: 3px;
    bottom: 30px;
    transition: 0.5s;
    z-index: 99;
}

/*** Button Start ***/
.btn {
    font-weight: 600;
    transition: .5s;
}

.btn-square {
    width: 32px;
    height: 32px;
}

.btn-sm-square {
    width: 34px;
    height: 34px;
}

.btn-md-square {
    width: 44px;
    height: 44px;
}

.btn-lg-square {
    width: 56px;
    height: 56px;
}

.btn-xl-square {
    width: 66px;
    height: 66px;
}

.btn-square,
.btn-sm-square,
.btn-md-square,
.btn-lg-square,
.btn-xl-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

.btn.btn-primary {
    border: none;
}

.btn.btn-primary:hover {
    background: var(--bs-secondary);
}

.btn.btn-secondary {
    color: var(--bs-white);
    border: none;
   
}
.btn.btn-success {
    border: none;
}
.btn.btn-success:hover {
    background: var(--bs-yellow);
}
.btn.btn-secondary:hover {
    background: var(--bs-primary);
}

.btn.btn-warning {
    border: none;
}

.btn.btn-warning:hover {
    background: var(--bs-success);
}
/*** Topbar Start ***/
.topbar {
    padding: 2px 10px 2px 20px;
    background: var(--bs-light);
}
/*** Topbar End ***/

/*** Navbar ***/
.sticky-top {
    transition: 1s;
}

.navbar .navbar-nav .nav-item.nav-link,
.navbar .navbar-nav .nav-link {
    color: var(--bs-green);
}

.navbar .navbar-nav .nav-link {
    position: relative;
    padding: 10px;
    font-weight: 300;
    font-family: "Playfair Display", serif;
    font-size: 20px;
    transition: .5s;
    z-index: 99;
}

.navbar .navbar-nav .nav-item {
    margin: 0 5px;
}

.navbar .navbar-nav .nav-item::before,
.navbar .navbar-nav .nav-item::after {
    content: "";
    width: 0;
    height: 0;
    position: absolute;
    border: 2px solid var(--bs-green);
    opacity: 0;
    transition: 0.5s;
    z-index: 2 !important;
}

.navbar .navbar-nav .nav-item::before {
    top: 0;
    left: 0;
    border-bottom: 0;
    border-right: 0;
}
.navbar .navbar-nav .nav-item::after {
    bottom: 0;
    right: 0;
    border-top: 0;
    border-left: 0;
}

.navbar .navbar-nav .nav-item:hover::after,
.navbar .navbar-nav .nav-item:hover::before,
.navbar .navbar-nav .nav-item.active::after,
.navbar .navbar-nav .nav-item.active::before {
    width: 50%;
    height: 50%;
    opacity: 1;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active,
.sticky-top .navbar .navbar-nav .nav-link:hover,
.sticky-top .navbar .navbar-nav .nav-link.active {
    color: var(--bs-green) !important;
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107" !important;
    font-family: "Font Awesome 5 Free";
    font-weight: 600;
    vertical-align: middle;
}

.navbar .navbar-toggler {
    padding: 8px 15px;
    color: var(--bs-success);
    background: var(--bs-yellow);
}

.nav-bar .navbar-toggler { 
    color: var(--bs-dark);
    box-shadow: none !important;
}

.navbar .nav-item:hover .dropdown-menu {
    transform: rotateX(0deg);
    visibility: visible;
    background: var(--bs-light);
    transition: .5s;
    opacity: 1;
}

.navbar .nav-item .dropdown-menu {
    background: var(--bs-light);
    transition: 0.5s;
    
}

.navbar .nav-item .dropdown-menu .dropdown-item {
    transition: 0.5s;
}

.dropdown .dropdown-menu .dropdown-item:hover,
.dropdown .dropdown-menu .dropdown-item.active {
    background: var(--bs-green);
    color: var(--bs-white);
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        margin-top: 15% !important;
        transform: rotateX(-75deg);
        transform-origin: 0 0;
        border: 0;
        transition: .5s;
        opacity: 0;
        z-index: 9;
    }
}

@media (max-width: 991px) {
    .navbar .nav-item .dropdown-menu {
        position: relative;
        margin-top: 0;
        transition: 0.5s;
    }

    .navbar .navbar-nav .nav-item::after,
    .navbar .navbar-nav .nav-item::before {
        display: none;
    }

    .navbar .navbar-nav .nav-item:hover::after,
    .navbar .navbar-nav .nav-item:hover::before,
    .navbar .navbar-nav .nav-item.active::after,
    .navbar .navbar-nav .nav-item.active::before {
        display: none;

    }

    .navbar .navbar-nav .nav-link {
        padding: 12px 0;
        font-size: 15px;
    }

    .navbar .navbar-nav .nav-item {
        margin: 0;
    }

    .navbar .navbar-nav .nav-item.nav-link {
        padding: 12px 0;
        font-size: 15px;
    }
}
@media(max-width: 1400px){
    .navbar .navbar-nav .nav-link {
        font-size: 15px;
    }
}
/*** Navbar End ***/

/* Mobile menu styling (1024px and below) */
@media (max-width: 1024px) {
    /* Show hamburger menu below 1024px */
    .navbar-expand-xl .navbar-toggler {
        display: block;
    }
    
    .navbar-expand-xl .navbar-collapse {
        display: none !important;
    }
    
    .navbar-expand-xl .navbar-collapse.show {
        display: block !important;
    }
    
    /* Mobile menu styling */
    .navbar-collapse {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff4d5;
        padding: 20px;
        border-radius: 0 0 10px 10px;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        z-index: 1000;
        max-height: 80vh;
        overflow-y: auto;
    }
    
    .navbar-nav {
        flex-direction: column !important;
        width: 100%;
    }
    
    .navbar .navbar-nav .nav-item {
        margin: 0;
    }
    
    .navbar .navbar-nav .nav-link {
        padding: 12px 0;
        font-size: 16px;
        border-bottom: 1px solid rgba(25, 135, 84, 0.1);
    }
    
    /* Dropdown styling for mobile */
    .navbar .nav-item .dropdown-menu {
        position: static;
        float: none;
        width: 100%;
        background: #fffaeb;
        border: none;
        box-shadow: none;
        margin-left: 15px;
        padding-left: 15px;
        margin-top: 0;
    }
    
    /* Make logo smaller on mobile */
    .logo {
        width: 180px !important;
    }
    
    /* Smaller screens adjustments */
    @media (max-width: 576px) {
        .logo {
            width: 150px !important;
        }
        
        .navbar .navbar-nav .nav-link {
            font-size: 15px;
            padding: 10px 0;
        }
        
        .navbar-toggler {
            padding: 6px 10px;
        }
    }
    
    /* Very small screens (320px range) */
    @media (max-width: 350px) {
        .logo {
            width: 130px !important; 
        }
        
        .navbar-toggler {
            padding: 4px 8px;
        }
        
        .navbar-collapse {
            padding: 15px 10px;
        }
    }
}

/*** Carousel Start ***/
.carousel .carousel-inner .carousel-item {
    position: relative;
    overflow: hidden;
    height: auto;
}

/* .carousel .carousel-inner .carousel-item img {
    animation-name: image-zoom ;
    animation-duration: 10s;
    animation-delay: 1s;
    animation-direction: alternate;
    animation-iteration-count: infinite;
    transition: 0.5s;
} */

@keyframes image-zoom {
    0%  {width: 100%; height: 100%; -webkit-filter: blur(0px); opacity: 1;}

    25% {width: 115%; height: 115%; -webkit-filter: blur(3px); opacity: 0.9;}

    50% {width: 130%; height: 130%; -webkit-filter: blur(10px); opacity: 0.7;}

    75% {width: 115%; height: 115%; -webkit-filter: blur(3px); opacity: 0.9;}

    100% {width: 100%; height: 100%; -webkit-filter: blur(0px); opacity: 1;}
}

@media (min-width: 992px) {
    .carousel .carousel-inner .carousel-item  {
        height: 100%;
        object-fit: cover;   
        /* display: none; */
    }
}

@media (max-width: 991px) {
    .carousel .carousel-inner .carousel-item {
        height: 700px;
        /* display: none; */
    }
    .carousel .carousel-inner .carousel-item  {
        height: 100%;
        /* object-fit: cover;     */
        /* display: none; */
    }
}

@media (max-width: 576px) {
    .carousel-item .carousel-caption h1 {
        font-size: 36px;
    }

    .carousel-item .carousel-caption p.fs-5 {
        font-size: 15px;
    }
}

.carousel .carousel-inner .carousel-item::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    /* background: linear-gradient(to right, rgba(0, 0, 0, 0.5), transparent); */
    z-index: 1;
}

/* .carousel .carousel-inner .carousel-item .carousel-caption {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start; 
    z-index: 2;
    color: #fff; 
    text-shadow: 2px 2px 4px rgba(255, 0, 0, 0.6); 
    padding-right: 20px; 
} */
/* General styling for larger screens */
.carousel .carousel-inner .carousel-item .carousel-caption {
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Aligns the content to the top */
    align-items: center; /* Centers the content horizontally */
    height: 100%;
    z-index: 2;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    text-align: center;
}

/* Additional styling for the caption text */
.carousel .carousel-inner .carousel-item .carousel-caption h5 {
    background-color:  #ffc107; /* Transparent white background */
    color: #198754; /* Text color */
    padding: 10px;
    font-size: 2em;
    font-family: 'Playfair Display', serif;
    margin: 0;
    border-radius: 5px;
}

/* Media query for mobile screens */
@media (max-width: 768px) {
    .carousel .carousel-inner .carousel-item .carousel-caption {
        position: static; /* Removes the absolute positioning */
        background-color: rgba(255, 193, 7, 0.73); /* Solid white background */
        padding: 20px;
        text-align: center;
        width: 100%;
        margin-top: 10px; /* Adds some spacing above the caption */
    }

    .carousel .carousel-inner .carousel-item .carousel-caption h5 {
        background-color: transparent; /* Removes background color */
        font-size: 1.5em;
    }
}



.carousel .carousel-indicators {
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent !important;
    z-index: 5;
}

.carousel .carousel-indicators li {
    margin-right: 30px !important;
    width: 10px;
    height: 10px;
    border: 6px solid var(--bs-success);
    background: var(--bs-white);
    transition: 0.5s;
}

.carousel .carousel-indicators li.active {
    border: 10px solid var(--bs-yellow);
}

/* Mobile styles */
@media (max-width: 767px) {
    .carousel-caption h5, .carousel-caption p {
        font-size: 1.5em;
        text-shadow: none;
    }

    .carousel-caption {
        position: static;
        padding: 10px;
        background: #fff; /* White background for text */
        color: #000; /* Dark text for readability */
        text-align: center;
        background: none;
        margin-bottom: 20px;
    }

    

    .carousel .carousel-indicators {
        margin-bottom: -3px; /* Move indicators below text */
    }

    .carousel-caption {
        position: static;
        padding: 10px;
        background: #fff;
        color: #000;
        text-align: center;
    }

    .carousel .carousel-indicators li {
        margin-right: 10px !important;
    }

    .carousel .carousel-indicators {
        margin-top: 10px;
    }
}



.carousel .carousel-control-prev,
.carousel .carousel-control-next {
    background: transparent;
}

.carousel .carousel-control-prev .carousel-control-prev-icon {
    position: absolute;
    left: 0;
    padding: 25px 30px;
    background: var(--bs-yellow);

}

.carousel .carousel-control-next .carousel-control-next-icon {
    position: absolute;
    right: 0;
    padding: 25px 30px;
    background: var(--bs-yellow);

}

.carousel .carousel-control-prev .carousel-control-prev-icon:hover,
.carousel .carousel-control-next .carousel-control-next-icon:hover {
    background: var(--bs-success);
    color: var(--bs-white);
}
/*** Carousel End ***/


/*** testimonial Start ***/
.testimonial .owl-nav .owl-prev {
    position: absolute;
    top: -58px;
    right: 0;
    color: var(--bs-yellow);
    padding: 5px 25px;
    border: 1px solid var(--bs-yellow);
    transition: 0.5s;
}

.testimonial .owl-nav .owl-prev:hover {
    background: var(--bs-success);
    color: var(--bs-white);
}

.testimonial .owl-nav .owl-next {
    position: absolute;
    top: -58px;
    right: 88px;
    color: var(--bs-yellow);
    padding: 5px 25px;
    border: 1px solid var(--bs-yellow);
    transition: 0.5s;
}

.testimonial .owl-nav .owl-next:hover {
    background: var(--bs-success);
    color: var(--bs-white);
}

.testimonial-carousel .owl-dots {
    display: flex;
    justify-content: center;
    margin-left: 20px;
    margin-top: 20px;
}

.testimonial-carousel .owl-dots .owl-dot {
    width: 20px;
    height: 20px;
    margin-right: 15px;
    border: 1px solid var(--bs-yellow);
    background: var(--bs-success);
    transition: 0.5s;
}

.testimonial-carousel .owl-dots .owl-dot.active {
    width: 20px;
    height: 20px;
    border: 1px solid var(--bs--yellow);
    background: var(--bs-success) !important;
    transition: 0.5s;
}

.testimonial-carousel .owl-dots .owl-dot span {
    position: relative;
    margin-top: 50%;
    margin-left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.testimonial-carousel .owl-dots .owl-dot span::after {
    content: "";
    width: 8px;
    height: 8px;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--bs-white);
}
.testimonial-bg{

    background-image:
    linear-gradient(to bottom, #d3b92685, rgba(126, 126, 126, 0.73)),
    url('../img/aboutctgroup/ctw.jpeg');
    width: 100%;
    height: 100%;
    background-size: cover;
    color: white;
    padding: 20px;
}

/* .testimonial-item{
    background-image: radial-gradient(
        at 40% 20%,
        rgb(122, 255, 133) 0px,
        transparent 50% 
        );
        background-repeat: no-repeat;
} */
@media (max-width: 992px) {
    .owl-carousel.testimonial-carousel {
        padding-top: 30px;
    }

    .testimonial .owl-nav .owl-prev,
    .testimonial .owl-nav .owl-next {
        top: -30px;
    }
}
/*** testimonial End ***/

/*** Contact Start ***/
.contact .contact-map {
    position: relative;
    overflow: hidden;
    padding: 20px;
    z-index: 1;
}

.contact .contact-map::before {
    content: "";
    width: 70%;
    height: 70%;
    position: absolute;
    left: 0;
    bottom: 0;
    background: var(--bs-success);
    z-index: -1;
}

.contact .contact-map::after {
    content: "";
    width: 70%;
    height: 70%;
    position: absolute;
    top: 0;
    right: 0;
    background: var(--bs-yellow);
    z-index: -1;
}
/*** Contact End ***/

/*** Footer Start ***/
.footer {
    /* background: linear-gradient(#FFB703, rgba(248, 244, 124, 0.853)), url(../img/2.webp); */
   
   background:linear-gradient(#006927, rgba(243, 237, 75, 0.853)), url(../img/aboutctgroup/ctw.jpeg);
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
}
.footer .footer-item a {
    line-height: 35px;
    color: var(--bs-body);
    transition: 0.5s;
}

.footer .footer-item p {
    line-height: 35px;
}

.footer .footer-item a:hover {
    letter-spacing: 1px;
    color: var(--bs-);
}

.footer .footer-item .footer-btn a,
.footer .footer-item .footer-btn a i {
    transition: 0.5s;
}

.footer-btn a{
    border: 2px dashed;
    border-color:  #ffc107 #198754 #198754 #ffc107 ;
}
.footer .footer-item .footer-btn a:hover {
    background: var(--bs-green);
}
 
.footer .footer-item .footer-btn a:hover i {
    color: var(--bs-yellow) !important;
}
/*** Footer End ***/

/*** copyright Start ***/
.copyright {
    /* border-top: 1px solid rgba(255, 255, 255, 0.08); */
    background: var(--bs-green);
}
/*** copyright end ***/

/* background image */
/* .whyctworld {
    background: url(../img/Why\ CT\ world.jpg);
    background-repeat: no-repeat;
    background-size: cover;
} */
.whyctworld{

    background-image:
    linear-gradient(to bottom, #d3b92685, rgba(126, 126, 126, 0.73)),
    url('../img/IMG_4564.JPG');
    width: 100%;
    height: 100%;
    background-size: cover;
    color: white;
    padding: 20px;
}
@media (max-width: 768px) {
    .whyctworld {
        background: none;
    }
}
@media (max-width: 992px) {
    .whyctworld {
        background: none;
    }
}
/* Management Desk */

.flex-box, .mob-flex-box, .flex-box-720 { display: flex; align-items: center; flex-wrap: wrap; }
.flex-no-wrap { flex-wrap: nowrap; }
.flex-5 .flex-child { width: 20%; flex-grow: 1;}
.flex-5a .flex-child { width: 18%; margin: 1%; flex-grow: 1;}
.flex-4 .flex-child { width: 24%; flex-grow: 1;}
.flex-4a .flex-child { width: 23%; margin: 1%; flex-grow: 1;}
.flex-3 .flex-child { width: 30%; flex-grow: 1;}
.flex-3a .flex-child { width: 31.33%; margin: 1%; flex-grow: 1;}
.flex-2 .flex-child { width: 45%; flex-grow: 1;}
.flex-2a .flex-child { width: 45%; margin: 1%; flex-grow: 1;}
.flex-1 .flex-child { width: 100%; flex-grow: 1;}
.block-2 { width:50%; flex-grow:1; }
.block-3 { width:33.33%; flex-grow:1; }
.block-66 { width:66.66%; flex-grow:1; }
.block-4 { width:25%; flex-grow:1; }
.block-5 { width:20%; flex-grow:1; }
.flex-no-grow .flex-child { flex-grow: 0; }
.flex-content-top { align-items: flex-start;}
.flex-content-bottom { align-items: flex-end;}
.flex-box.reverse { flex-direction: row-reverse; }
.flex-reset-height { align-items: normal; }
.management-msg { background-color: rgba(40 40 40 / 60%); }
.management-msg .flex-child { position: relative; background: #ccc; display: flex; flex-direction: column; align-items: center;  }
.management-text { padding: 20px; background-color: rgba(40 40 40 / 50%); display: flex; flex-direction: column; justify-content: flex-end; height: 100%; }
.management-text p { max-height: 0; opacity: 0; visibility: hidden;  }
.management-text * { color: #fff;  text-shadow: 2px 2px #198754;}
.management-text h4 { font-size: 1.5vw;}
.management-text h6 { font-size: 1vw;}
.management-msg .flex-child:hover { width: 50%; }
.management-msg .flex-child:hover .management-text { background-color: rgba(36, 36, 36, 0.1); }
.management-msg .flex-child:hover .management-text p { max-height: 100%; opacity: 2; visibility: visible; }
.management-msg .flex-child:hover .management-text h4 { font-size: 3vw;}
.management-msg .flex-child:hover .management-text h6 { font-size: 2.5vw;}
.management-msg .flex-child { background-position: center top; background-repeat: no-repeat; background-size: cover; height: 600px; }
.management-msg .flex-child.visionaries-1 { background-image: url(../img/mangement/Chairman.webp); }
.management-msg .flex-child.visionaries-2 { background-image: url(../img/mangement/MD\ Sir.webp); }
.management-msg .flex-child.visionaries-3 { background-image: url(../img/mangement/vc.webp); }
.management-msg .flex-child.visionaries-4 { background-image: url(../img/mangement/principalmam\ \(2\).webp); }
.associates-list .flex-child img { max-width: 80%; margin: 0 auto; }
.read-more-data { display: none; transition: none;}
.read-more-link {  }



@media screen and (max-width:1000px){
	.wrapper-1000 { width:95%;}
	.flex-box { display:block;}
	.flex-5 .flex-child, .flex-5a .flex-child, .flex-4 .flex-child, .flex-4a .flex-child, .flex-3 .flex-child, .flex-3a .flex-child, .flex-2 .flex-child, .flex-2a .flex-child, .flex-1 .flex-child { width: 100%;}
    .management-msg { background-color: rgb(40 40 40 / 60%); }
	.management-msg .flex-child { position: relative; display: block;  }
	.management-text { display: block; height: auto; }
	.management-text * { color: #fff; }
	.management-msg .flex-child:hover, .management-msg .flex-child { width: 100%; }
	.management-msg .flex-child:hover .management-text {  }
	.management-msg .flex-child:hover .management-text p, .management-text p { max-height: 100%; opacity: 1; visibility: visible; }
	.management-msg .flex-child:hover .management-text h4, .management-text h4 { font-size: 30px;}
	.management-msg .flex-child:hover .management-text h6, .management-text h6 { font-size: 22px;}
	.management-text p { max-height: initial; opacity: 1; visibility: visible; }
	.management-msg .flex-child { height: auto; background-size: auto 500px; }
	.management-text { padding-top: 300px;}
}

/* management Desk End */

/* Apply now Side bar starts */
.sticky-icon2  {
    height: 280px;
width: 280px;
    z-index: 17 !important;
    position: fixed;
    bottom: 10%;
    
   
    transform: translate(-280px, 0px);
  
   

}

.aplysti img{
    height: 100%;
    width: 100%;
  filter:   drop-shadow(2px 4px 6px black);
}

.inneraplysti {
    position: absolute;
    top: 150px;
    left: 10%;
    bottom: 40%;
    width: 60%;
    height: fit-content;
}
.aplysti{
    transition:  all 0.7s;
}
.aplysti:hover {
    transform: translate(280px, 0px) !important;
}
.sticky-icon2 a.Instagram {
    transform: rotate(270deg) translate(14px, -70px);
    position: absolute;
    top: 60px;
    right: -146px !important;
    border-radius: 5px;
    width:fit-content;
    background: #ffc107
 !important;
    /* background: var(--primary-color) !important; */
    height: 28px !important;
    text-decoration: none;
    color: #fff !important;
    text-transform: uppercase;
    padding: 6px 9px;
    font-family: "Oswald", sans-serif;
    transition: all 0.8s;
}

/* Apply now side bar ends */
.learn-btn{
    position: relative;
    left: 750px; /* distance from the right edge */
    top: 50%; /* vertically center */
    transform: translateY(-50%);
    width: 200px; /* button width */
  height: 50px; /* button height */
  border-radius: 40px; /
}

@media (max-width: 992px) {
    .learn-btn {
        position: relative;
    left: 80px; /* distance from the right edge */
    top: 50%; /* vertically center */
    transform: translateY(-50%);
    width: 200px; /* button width */
  height: 50px; /* button height */
  border-radius: 40px; /
    }
}
@media (max-width: 1366px) {
    .learn-btn {
    position: absolute;
    left: 20px; /* distance from the right edge */
    top: 50%; /* vertically center */
    transform: translateY(-50%);
    width: 200px; /* button width */
  height: 50px; /* button height */
  border-radius: 40px; /
    }
}

.extra-padding-tb { padding:6% 0%;}
.wrapper-1200 { width:1200px; margin:0 auto; position:relative;}
@media screen and (max-width:720px){
    .extra-padding-tb { padding:15% 0%; }
	.space-after-720 { margin-bottom: 50px;}
}
@media screen and (max-width:1250px){
        .wrapper-1200 { width:95%;}
}
.stats-icon { background-color: rgb(0 0 0 / 20%); aspect-ratio: 1; border-radius: 50%; display: flex; align-items: center; width: 65%; margin: 10px auto; max-width: 160px; }
.stats-icon img { margin: 0 auto; max-width: 60%; }
.stats-text h2 { font-weight: 600; font-size: 48px; }

/* video conatiner */
.video-container { width: 100%; height: 100vh; overflow:hidden; position: relative; }
.cover-video { min-width:100vw; min-height: 100vh; margin: 0 auto; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }
@media screen and (max-width:720px){
    .video-container { height: 60vh;}
    .cover-video { min-height: 60vh; } }
.section {
    display: flex;
    height: 500px;
    align-items: center;
    justify-content: center;
    margin:100px;
    padding:50px;
}
.parallax {
    width: 55%;
    background-image: url('../img/aboutctgroup/899.jpg');
    min-height: 500px;
    background-attachment: fixed;
    background-position:  right left; 
    background-repeat: no-repeat;
    background-size: contain; 
}
.parallax1 {
  width: 50%;
    background-image: url('../img/aboutctgroup/shahpur.jpeg');
    min-height: 500px;
    background-attachment: fixed;
    background-position: right;
    background-repeat: no-repeat;
    background-size: contain;
}
.parallax2 {
  width: 50%;
    background-image: url('../img/aboutctgroup/maqsudan.jpeg');
    min-height: 500px;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}
.parallax3 {
  width: 50%;
    background-image: url('../img/aboutctgroup/ctPublic.jpg');
    min-height: 500px;
    background-attachment: fixed;
    background-position: right;
    background-repeat: no-repeat;
    background-size: contain;
}
.parallax4 {
  width: 50%;
    background-image: url('../img/aboutctgroup/ctw.jpeg');
    min-height: 500px;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
.parallax5 {
  width: 50%;
    background-image: url('../img/aboutctgroup/global.jpg');
    min-height: 500px;
    background-attachment: fixed;
    background-position: right;
    background-repeat: no-repeat;
    background-size: contain;
}
.content {
    flex: 1;
    padding: 116px;
    margin: 20px;
    font-size: 1.3em;
    /* background-color: #198754; */
    color: black;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* faq's starts */
.faq-container {
    max-width: 1000px;
    margin: 20px auto;
    margin-top: 0;
    padding: 20px;
    background-color: transparent;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.faq-header {
    text-align: center;
    padding: 20px;
    background-color: #ffc107;
    color: #198754;
    border-radius: 10px 10px ;
}
.faq-item {
    border-bottom: 1px solid #ddd;
    padding: 20px 0;
}
.faq-item:last-child {
    border-bottom: none;
}
.faq-question {
    font-weight: bold;
    color: black;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.faq-answer {
    display: none;
    padding: 10px 0;
    color: black;
}
.faq-item.active .faq-answer {
    display: block;
}
.faq-sign {
    font-weight: bold;
    font-size: 2em;
}
.hidden-part {
    display: none;
}

/* faq's ends */

/* beyond classroom starts */
/* beyond-class starts */
.beyond-class {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh; /* Ensure it takes the full viewport height */
    margin: 0; /* Remove any default margin */
    font-size: 20px;
    font-family: "Oswald", sans-serif;
}

.containers1 {
    background-color: #198754;
    border-radius: 40% 60% 70% 30% / 50% 50% 50% 50%; /* Adjusted for a more consistent look */
    padding: 20px; /* Add some padding for better spacing */
    max-width: 50%; /* Ensure it fits within the viewport */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Optional: Add some shadow for better visibility */
    margin: 120px; /* Ensure it doesn't touch the edges of the viewport */
}

img {
    width: 100%; 
    height: auto; /* Ensure it maintains its aspect ratio */
    display: block; /* Remove any inline space */
    max-width: 100%; /* Ensure it doesn't exceed the container width */
}
/* beyond-class ends */

/* beyond classroom ends */

/* animated shape circle starts */
.background {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.shapec {
    position: absolute;
    border-radius: 100%;
    opacity: 0.6;
}

.shapec1 {
    width: 100px;
    height: 100px;
    background: #FBC02D ;
    top: 10%;
    left: 20%;
    animation: move1 10s infinite linear;
}

.shapec2 {
    width: 150px;
    height: 150px;
    background: #198754;
    top: 50%;
    left: 60%;
    animation: move2 8s infinite linear;
}

.shapec3 {
    width: 100%;
    height: 100%;
    background: #ffc107;
    top: 100%;
    left: 40%;
    animation: move3 12s infinite linear;
}

.shapec4 {
    width: 80%;
    height: 80%;
    background: #FD9B63;
    top: 100%;
    left: 40%;
    animation: move4 22s infinite linear;
}
@keyframes move1 {
    0% { transform: translate(0, 0); }
    50% { transform: translate(200px, 300px); }
    100% { transform: translate(0, 0); }
}

@keyframes move2 {
    0% { transform: translate(0, 0); }
    50% { transform: translate(-300px, -200px); }
    100% { transform: translate(0, 0); }
}

@keyframes move3 {
    0% { transform: translate(0, 0); }
    50% { transform: translate(-150px, -250px); }
    100% { transform: translate(0, 0); }
}

@keyframes move4 {
    0% { transform: translate(0, 0); }
    50% { transform: translate(200px, -250px); }
    100% { transform: translate(0, 0); }
}

/* aminatd shape circle ends */

/* animate shape triangle starts */
.shapet {
    position: absolute;
    opacity: 0.6;
}

.shapet1 {
    width: 0;
    height: 0;
    border-left: 70px solid transparent;
    border-right: 70px solid transparent;
    border-bottom: 150px solid #FBC02D;
    top: 30%;
    left: 20%;
    animation: move1 10s infinite linear;
}

.shapet2 {
    width: 0;
    height: 0;
    border-left: 75px solid transparent;
    border-right: 75px solid transparent;
    border-bottom: 150px solid #198754;
    top: 20%;
    right: 20%;
    animation: move2 8s infinite linear;
}

.shapet3 {
    width: 0;
    height: 0;
    border-left: 50vw solid transparent;
    border-right: 50vw solid transparent;
    border-bottom: 100vh solid #ffc107;
    top: 80%;
    left: 40%;
    animation: move3 12s infinite linear;
}

.shapet4 {
    width: 0;
    height: 0;
    border-left: 40vw solid transparent;
    border-right: 40vw solid transparent;
    border-bottom: 80vh solid #FD9B63;
    top: 90%;
    left: 50%;
    animation: move4 32s infinite linear;
}

@keyframes move1 {
    0% { transform: translate(0, 0); }
    50% { transform: translate(200px, 300px); }
    100% { transform: translate(0, 0); }
}

@keyframes move2 {
    0% { transform: translate(0, 0); }
    50% { transform: translate(-300px, -200px); }
    100% { transform: translate(0, 0); }
}

@keyframes move3 {
    0% { transform: translate(0, 0); }
    50% { transform: translate(-150px, -250px); }
    100% { transform: translate(0, 0); }
}

@keyframes move4 {
    0% { transform: translate(0, 0); }
    50% { transform: translate(-150px, -250px); }
    100% { transform: translate(0, 0); }
}

/* animated shape trinagle ends */
/* animate shape sqaure starts */
.shapes {
    position: absolute;
    border-radius: 10%;
    opacity: 0.6;
}

.shapes1 {
    width: 100px;
    height: 100px;
    background: #FBC02D ;
    top: 10%;
    left: 20%;
    animation: move1 10s infinite linear;
}

.shapes2 {
    width: 150px;
    height: 150px;
    background: #198754;
    top: 50%;
    left: 60%;
    animation: move2 8s infinite linear;
}

.shapes3 {
    width: 100%;
    height: 100%;
    background: #ffc107;
    top: 80%;
    left: 40%;
    animation: move3 12s infinite linear;
}

.shapes4 {
    width: 80%;
    height: 80%;
    background: #FD9B63;
    top: 80%;
    left: 40%;
    animation: move4 32s infinite linear;
}
@keyframes move1 {
    0% { transform: translate(0, 0); }
    50% { transform: translate(200px, 300px); }
    100% { transform: translate(0, 0); }
}

@keyframes move2 {
    0% { transform: translate(0, 0); }
    50% { transform: translate(-300px, -200px); }
    100% { transform: translate(0, 0); }
}

@keyframes move3 {
    0% { transform: translate(0, 0); }
    50% { transform: translate(-150px, -250px); }
    100% { transform: translate(0, 0); }
}

@keyframes move4 {
    0% { transform: translate(0, 0); }
    50% { transform: translate(200px, -250px); }
    100% { transform: translate(0, 0); }
}

/* animated shape sqaure ends */


/* infra starts */
/* infra starts */
.infra {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh; /* Ensure it takes the full viewport height */
    margin: 0; /* Remove any default margin */
}

.container1 {
    background: radial-gradient(ellipse at center, #4ede9b, #ffe083);
    /* background: conic-gradient(from -45deg, #4ede9b, #ffe083); */
    border-radius: 10% 40% 30% 50% / 50% 50% 50% 50%; /* Adjusted for a more consistent look */
    padding: 20px; /* Add some padding for better spacing */
    max-width: 50%; /* Ensure it fits within the viewport */
    box-shadow: 0 4px 8px rgba(189, 55, 55, 0.1); /* Optional: Add some shadow for better visibility */
    margin: 120px; /* Ensure it doesn't touch the edges of the viewport */
    /* border: 16px double #198754; */
}

p.content {
    margin: 0 40px; /* Reduce top margin to close the gap */
    padding-top: 10px; /* Optional: Add a bit of space from h1 */
    text-align: justify; /* Keep the justified alignment */
    line-height: 1.6; /* Improve readability */
}

img {
    width: 100%; 
    height: auto; /* Ensure it maintains its aspect ratio */
    display: block; /* Remove any inline space */
    max-width: 100%; /* Ensure it doesn't exceed the container width */
}
/* infra ends */

/* infra ends */

/* kinder garten starts */
.card-title {
    color: #262626;
    font-size: 1.5em;
    line-height: normal;
    font-weight: 700;
    margin-bottom: 0.5em;
  }
  
  .small-desc {
    font-size: 1em;
    font-weight: 400;
    line-height: 1.5em;
    color: #452c2c;
  }
  
  .small-desc {
    font-size: 1em;
  }
  
  .go-corner {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    width: 2em;
    height: 2em;
    overflow: hidden;
    top: 0;
    right: 0;
    background: linear-gradient(135deg, #4ede9b, #ffe083);
    border-radius: 0 4px 0 32px;
  }
  
  .go-arrow {
    margin-top: -4px;
    margin-right: -4px;
    color: white;
    font-family: courier, sans;
  }
  
  .card {
    display: block;
    position: relative;
    max-width: 300px;
    max-height: 320px;
    background-color: #ffe083;
    border-radius: 10px;
    padding: 2em 1.2em;
    margin: 12px;
    text-decoration: none;
    z-index: 0;
    overflow: hidden;
    background: linear-gradient(135deg, #ffdc74, #4ede9b);
    font-family: Arial, Helvetica, sans-serif;
  }
  
  .card:before {
    content: '';
    position: absolute;
    z-index: -1;
    top: -16px;
    right: -16px;
    background: linear-gradient(135deg, #ffdc74, #384c6c);
    height: 32px;
    width: 32px;
    border-radius: 32px;
    transform: scale(1);
    transform-origin: 50% 50%;
    transition: transform 0.35s ease-out;
  }
  
  .card:hover:before {
    transform: scale(28);
  }
  
  .card:hover .small-desc {
    transition: all 0.5s ease-out;
    color: rgba(255, 255, 255, 0.8);
  }
  
  .card:hover .card-title {
    transition: all 0.5s ease-out;
    color: #ffffff;
  }
  
 
/* kindergarten ends */

/* gallery section in secondary wing starts */
.gallery{
    width: 100%;
    max-width: 100vw;
    height: 800px;
    z-index: 1;
    margin: auto;
    position: relative;
}
.gallery .list .item{
    position: absolute;
    inset: 0 0 0 0;
    overflow: hidden;
    opacity: 0;
    transition: .5s;
}
.gallery .list .item img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.gallery .list .item::after{
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    bottom: 0;
}
.gallery .list .item .content{
    position: absolute;
    left: 10%;
    top: 20%;
    width: 500px;
    max-width: 80%;
    z-index: 1;
}
.gallery .list .item .content p:nth-child(1){
    text-transform: uppercase;
    letter-spacing: 10px;
}
.gallery .list .item .content h2{
    font-size: 100px;
    margin: 0;
}
.gallery .list .item.active{
    opacity: 1;
    z-index: 10;
}
@keyframes showContent {
    to{
        transform: translateY(0);
        filter: blur(0);
        opacity: 1;
    }
}
.gallery .list .item.active p:nth-child(1),
.gallery .list .item.active h2,
.gallery .list .item.active p:nth-child(3){
    transform: translateY(30px);
    filter: blur(20px);
    opacity: 0;
    animation: showContent .5s .7s ease-in-out 1 forwards;
}
.gallery .list .item.active h2{
    animation-delay: 1s;
}
.gallery .list .item.active p:nth-child(3){
    animation-duration: 1.3s;
}
.arrows{
    position: absolute;
    top: 30%;
    right: 50px;
    z-index: 100;
}
.arrows button{
    background-color: #eee5;
    border: none;
    font-family: monospace;
    width: 40px;
    height: 40px;
    border-radius: 5px;
    font-size: x-large;
    color: #198754;
    transition: .5s;
}
.arrows button:hover{
    background-color: #ffc107;
    color: black;
}
.thumbnail{
    position: absolute;
    bottom: 30px;
    z-index: 11;
    display: flex;
    gap: 10px;
    width: 100%;
    height: 250px;
    padding: 0 50px;
    box-sizing: border-box;
    overflow: auto;
    justify-content: center;
}
.thumbnail::-webkit-scrollbar{
    width: 0;
}
.thumbnail .item{
    width: 150px;
    height: 100px;
    filter: brightness(.10);
    transition: .5s;
    flex-shrink: 0;
}
.thumbnail .item img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}
.thumbnail .item.active{
    filter: brightness(1);
}
.thumbnail .item .content{
    position: absolute;
    inset: auto 10px 10px 10px;
}
@media screen and (max-width: 896px){
    .thumbnail{
        justify-content: start;
        top: 360px;
    }
    .thumbnail .item{
        width: 120px;
        height: 120px;
    }
    .gallery{
        left: 0;
        margin-bottom: 100px;
        transform: translateX(0);
        height: 400px;
    }
}

/* gallery section in secondary wing endss */
.fade-in-section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in {
    opacity: 0;
    transform: translateX(-100%);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.slide-in.visible {
    opacity: 1;
    transform: translateX(0);
}

