/*
Template Name: Childcare
File: Layout CSS
Author: TemplatesOnWeb
Author URI: https://www.templateonweb.com/
Licence: <a href="https://www.templateonweb.com/license">Website Template Licence</a>
*/
/*********************center_home****************/
.carousel-caption{
text-align:left;
background:#ffffffb0;
bottom:0;
left:10%;
width:40%;
color:#fff;
padding:20px;
 }
.carousel-caption_1{
 right:0;
 }
.carousel-caption_2{
left:30%;
right:0;
 }

 .carousel-caption_3{
left:50%;
 }
.center_home img{
min-height:700px;
 }
/*********************center_home_end****************/

/*********************learn****************/
#learn{
background-image: url(../img/4.jpg);
background-position: center;
 }
#learn_o{
background-image: url(../img/4.jpg);
background-position: center;
 }
 
/*********************learn_end****************/

/*********************mission****************/

.mission_1li1l span{
width:75px;
height:75px;
line-height:75px; 
 }
/*********************mission_end****************/

/*********************qual****************/

#qual{
background-image: url(../img/8.jpg);
background-position: center;
 }
.qual_1i1 span{
width:150px;
height:150px;
line-height:150px; 
border:2px solid #eee; 
 }
/*********************qual_end****************/

/*********************classes****************/

.about_h_1ril span{
width:75px;
height:75px;
line-height:75px; 
 }

/*********************classes_end****************/


@media screen and (max-width : 767px){
.carousel-caption{
text-align:center!important;
left:0!important;
width:100%;
padding:15px;
 }

.center_home img{
min-height:350px;
 }
.center_home h1{
font-size:26px;
 }
.center_home h3{
font-size:22px;
 }
.center_home p{
font-size:14px;
text-align:left;
 }
.mission_1li1 {
text-align:center; 
 }
.mission_1li1r{
margin-top:10px; 
 }
.qual_1i1 {
margin-top:8px;
margin-bottom:8px; 
 }
/* .about_h_1ril {
margin-top:10px; 
 }
.about_h_1ril p{
text-align:left;
 } */
.contact_h1i {
margin-top:8px;
margin-bottom:8px; 
 }
.contact_h2l{
margin-top:10px; 
 }
 }

@media (min-width:576px) and (max-width:767px) {
.center_home h1{
font-size:30px;
 }
.center_home h3{
font-size:22px;
 }
.center_home p{
font-size:16px;
 }
.mission_1li1 {
text-align:left; 
 }
 }
@media (min-width:768px) and (max-width:991px) {
.carousel-caption{
width:50%;
 }
.carousel-caption h1{
font-size:36px;
 }
.carousel-caption h3{
font-size:26px;
 }

.mission_1li1l span {
width: 50px;
height: 50px;
line-height:50px;
font-size:24px!important;
}
.qual_1i1 span {
width:150px;
height:150px;
line-height:150px;
font-size:40px!important;
}
.contact_h1i  p{
font-size:14px; 
 }
 }

@media (min-width:992px) and (max-width:1200px) {
.carousel-caption h1{
font-size:36px;
 }
.carousel-caption h3{
font-size:26px;
 }
.mission_1li1l span {
width: 60px;
height: 60px;
line-height:60px;
font-size:24px!important;
}
 }
/* ----------------- news and event ------------------------- */

.carousel-caption.custom-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.6); /* Bar background */
    width: 100%;                /* Image full width cover করবে */
    padding: 10px 12px;
    margin: 0;
}

.carousel-caption.custom-caption h6 {
    margin: 0;
    text-align: center;
    color: #ffffff;   /* এখানে আপনার পছন্দমতো color দিন (উদাহরণ: gold) */
    font-size: 1.0rem;
    font-weight: 200;
}
 /* -----------------------message --------------------- */

 .leadership .leadership_card {
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0,0,0,0.1);
    height: 100%;
}

.leadership_img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border: 2px solid #638a88;
}

.leadership p {
    text-align: justify;
    line-height: 1.6;
    font-size: 14px;
     text-align: center
}


@media (max-width: 767px) {
    .leadership_img {
        width: 120px;
        height: 120px;
    }
}


/* ------------------------------- achivement ------------------ */
.award-item {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  margin: 10px 0;

    /* border যোগ করলাম */
  border: 1px solid #FFA500;   /* Orange border */
  border-radius: 8px;          /* কোণ গোলাকার */
  box-shadow: 0 4px 8px rgba(0,0,0,0.2); /* হালকা shadow */
}

.award-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.award-year {
  position: absolute;
  top: 0;
  left: 0;
  background: #FFA500; /* year bar color */
  color: #fff;
  padding: 5px 10px;
  font-weight: bold;
  font-size: 16px;
  z-index: 2;
}

.award-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  text-align: center;
  padding: 10px;
  box-sizing: border-box;
  color: #fff !important;
  font-size: 24px; /* বড় text */
  font-weight: bold;

  /* Border যোগ করা হলো */
  border: 1px solid #f8e7c8;   /* Orange border */
  border-radius: 8px;          /* হালকা গোলাকার কোণা */
}

.award-item:hover .award-overlay {
  opacity: 1;
  color: #fff !important;
}


/* ----------------- about shcool ------------------ */

.about-section {
  position: relative;
  background: url('/storage/app/public/bg/tnews_bg_1900_700.webp') center/cover no-repeat;
  color: #fff;
  padding: 80px 0;
  overflow: hidden;
}

.about-section .overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.5); /* Dark overlay */
  z-index: 1;
}

.about-section .container-xl {
  position: relative;
  z-index: 2;
}

.about-title {
  font-size: 38px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #fff;
}


.about-subtitle {
    font-size: 18px;
    font-weight: 400;
    color: #b2d3f3;
}

.about-divider {
  width: 80px;
  border-top: 3px solid #FFA500;
  margin: 0 auto;
}

.feature-list {
  list-style: none;
  padding-left: 0;
}

.feature-list li {
  font-size: 15px;
  line-height: 1.8;
  position: relative;
  color: #f8f9fa;
}

.feature-list li i {
  color: #FFA500;
  font-size: 18px;
}

.about-image-card-2 {
  position: relative;
  overflow: hidden;
}

.about-image-card-2 .image-frame {
  position: relative;
}

.about-image-card-2 img {
  width: 100%;
  height: auto;
  display: block;
  border: none !important;
  border-radius: 12px; /* smooth corners */
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
  transition: transform 0.3s ease;
}

.about-image-card-2 img:hover {
  transform: scale(1.05);
}

.img-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background-color: #FFA500;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 4px;
  z-index: 2;
}

.img-corner {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.15);
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
  z-index: 2;
}

.img-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(0,0,0,0.5);
  color: #fff;
  padding: 10px;
  text-align: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.img-caption h6 {
    color: #FFA500; /* H6 ট্যাগের জন্য রঙ, এখানে কমলা */
    font-weight: bold;
}

.img-caption p {
    color: #ffffff; /* P ট্যাগের জন্য রঙ, এখানে সাদা */
    font-size: 14px;
}

.about-image-card-2:hover .img-caption {
  opacity: 1;
}

@media (max-width: 768px) {
  .img-caption {
    opacity: 1;
  }
}


/* ------------------------------- managing committee ------------------ */

.committee-member-inner {
  width: 150px;
  height: 150px;
  overflow: hidden;
  border-radius: 50%;
  border: 2px solid #f1f1f1;
  margin: 0 auto;
}

.committee-member-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.committee-member-inner img:hover {
  transform: scale(1.1);
  border-color: #007bff;
}

.committee-member {
  text-align: center;
  margin: 0 20px;  /* <-- প্রতিটি image এর মধ্যে horizontal gap */
}

.committee-member h6 {
  font-weight: bold;
  margin-top: 5px;
}

.committee-member p {
  margin-bottom: 5px;
}

#committeeCarousel .carousel-control-prev,
#committeeCarousel .carousel-control-next {
  width: 5%;
  top: 50%;
  transform: translateY(-50%);
}

#committeeCarousel .carousel-control-prev-icon,
#committeeCarousel .carousel-control-next-icon {
  background-color: rgba(0,0,0,0.5);
  border-radius: 50%;
  padding: 15px;
}

#committeeCarousel .carousel-inner {
  min-height: 250px;
}


/* -------------------- teacher ----------------- */


.teacher-card {
    background: linear-gradient(145deg, #ffffff, #f3f6ff); /* হালকা gradient */
    border-radius: 12px;
    padding: 12px;
    transition: 0.3s ease-in-out;
    box-shadow: 0px 4px 10px rgba(0,0,0,0.08);
}

.teacher-card:hover {
    transform: translateY(-5px); /* hover করলে card উঁচু হবে */
    box-shadow: 0px 10px 20px rgba(0,0,0,0.15);
    background: linear-gradient(145deg, #e6f0ff, #ffffff); /* hover হলে background আরও সুন্দর */
}

/* Image effect */
.teacher-img {
    transition: 0.3s ease-in-out;
    border-radius: 10px;
}
.teacher-img:hover {
    transform: scale(1.05);
    box-shadow: 0px 8px 20px rgba(0,0,0,0.2);
}

/* Social icons */
.teacher-social a {
    display: inline-block;
    margin: 0 6px;
    color: #0d6efd;
    font-size: 16px;
    transition: 0.3s;
}
.teacher-social a:hover {
    color: #ff6600;
}
.teacher-info {
    padding-top: 10px;
}



.icon-home { color: #5971b4; }
.icon-info { color: #17a2b8; }
.icon-vision { color: #FF8C00; }
.icon-achievement { color: #FFD700; }
.icon-chairman { color: #28A745; }
.icon-body { color: #6F42C1; }
.icon-head { color: #DC3545; }
.icon-class { color: #FF5722; }
.icon-routine { color: #795548; }
.icon-summary { color: #9C27B0; }
.icon-student { color: #00BCD4; }
.icon-result { color: #FFC107; }
.icon-team { color: #3F51B5; }
.icon-teacher { color: #009688; }
.icon-staff { color: #E91E63; }
.icon-blog { color: #607D8B; }
.icon-contact { color: #FF9800; }

/* Hover Effects */
.dropdown-item:hover i,
.nav-link:hover i {
    transform: scale(1.2);
    transition: transform 0.2s, color 0.2s;
    color: #FF5722; /* Accent hover color */
}


/* White Round Background */
.logo-circle {
    width: 120px;
    height: 120px;
    background: #fff;
    border-radius: 50%;
    margin: 15px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

/* Override global img box-shadow for footer logo */
.footer-logo {
    width: 100px;
    height: 100px;
    object-fit: contain;
    box-shadow: none !important;
}


