/* Prevent horizontal scroll */
html, body {
    overflow-x: hidden;
    width: 100%;
}

.container {
        max-width: 1170px !important;
    }

    .link {
    font-size: 15px;
    font-weight: normal;
    color: #656565;
}

.main-slider img {
    max-height: 600px !important;
    min-height: 360px;
    object-fit: cover;
}

.news-item
{
    padding: 10px 5px;
    margin: 0px;
    border-bottom: 1px dashed #ccc;
}

.news-item2
{
    padding: 10px 5px;
    margin: 10px 0px 0px 0px;
    border-bottom: 1px dashed #ccc;
}


.main-slider .carousel-caption h1 {
    font-size: 22px;
    max-width: 90%;
    margin-bottom: 10px;
    text-shadow: 0px 2px 5px #000;
}

.head-pathshala-logo {
    width: 112px;
    padding: 5px;
    background: #efefef;
    border-radius: 2px;
}

/* Social circle icons */
.social {
    list-style: none;
    display: flex;
    gap: 8px;
    padding: 0;
    margin: 0;
}

.social li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border: 1px solid #a0b5cd; /* ash color */
    border-radius: 50%;
    color: #a0b5cd;
    font-size: 12px;
    text-decoration: none;
    line-height: 1;
    padding: 0; /* ensures icon is centered */
    transition: all 0.2s ease;
}

.social li a:hover {
    background-color: #a0b5cd;
    color: #ffffff;
}

.header .topbar {
    background-color: #C5DEE2 !important;
    padding: 10px 0px;
}

.tickerHook a {
    color: #00213c;
    font-weight:600;
    font-size: 14px;
    text-transform: none;
}

.fa-quote-left:before {
    content: "\f10d";
    font-size: 18px;
}

/* Remove unwanted background from wrapper */
.flex_box.col-section-link {
    background: transparent !important;
    border-radius: 0 !important;
    padding: 0 !important;
}


/* Remove bold text inside skill boxes */
.single-skill strong,
.single-skill p {
    font-weight: normal !important;
}

/* Base style for all skill boxes */
.single-skill {
    border-radius: 0 !important;   
    padding: 15px;
    color: #fff;                 
    transition: 0.3s ease-in-out;
    border-bottom: 5px solid #fff; 
}

/* Hover effect for better look */
.single-skill:hover {
    transform: translateY(-5px);
    opacity: 0.9;
}

/* Assign different background colors */
.skill-main .single-skill.bg-1 { background: #26B99A; }   
.skill-main .single-skill.bg-2 { background: #F56954; } 
.skill-main .single-skill.bg-3 { background: #F4A82F; }   
.skill-main .single-skill.bg-4 { background: #3498DB; }   
.skill-main .single-skill.bg-5 { background: #3498DB; }  
.skill-main .single-skill.bg-6 { background: #F4A82F; }  
.skill-main .single-skill.bg-7 { background: #009688; }  
.skill-main .single-skill.bg-8 { background: #795548; }   
.skill-main .single-skill.bg-9 { background: #607D8B; }   

.singel_skill_i.text-center {
    width: 35px;
    justify-content: center;
    height: 35px;
    position: relative;
    border-radius: 50%;
    padding: 7px;
    margin: auto;
    background: transparent;
    vertical-align: middle;
    border: 2px solid white;
    font-size: 8px !important;
    /* color: white !important; */
}


.multi-text {
    font-size: 15px;
    color: #fff;
    text-align: center;
    margin: 5px 0px;
}

.i-bg
{
    color:white !important;
}

.flex_box:nth-child(2n+1):hover .single-skill p, .flex_box:hover .single-skill p
{
     color:white !important;
}

.single-skill:hover {
  transform: translateY(-5px);
  opacity: 0.9;
  background: #00213C !important;
  color: white !important;
}

.flex_box:nth-child(2n+1):hover .singel_skill_i.text-center, .flex_box:hover .singel_skill_i.text-center
{
    background: #00B16A00 !important;
}

.header .content li i
{
    margin:0px !important;
}


/* principal Message */
.teacher-card {
    border-radius: 10px;
    padding: 20px 15px;
    margin: 15px 0;
    text-align: center;
    transition: all 0.3s ease;
}

.teacher-card:hover {
    background-color: #f5f5f5;
}

.teacher-circle {
    width: 150px;
    height: 150px;
    border-radius: 50%; 
    border: 3px solid #a0b5cd; 
    object-fit: cover; 
    display: block;
    margin: 0 auto 10px auto; 
}


.profile-img {
    width: 120px;
    height: 120px;
    margin: 0 auto 15px;
    overflow: hidden;
    border-radius: 50%;
}

.profile-img img.teacher-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.teacher-name {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.teacher-designation {
    font-size: 1rem;
    color: #777;
    margin-bottom: 15px;
}

.teacher-message {
    font-size: 0.95rem;
    color: #333;
    line-height: 1.4;
}

.teacher-more {
    background-color: #ccc;
    text-align: right;
    padding: 5px 10px;
    margin-top: 10px;
}

.teacher-more a {
    color: #000;
    font-weight: 500;
    text-decoration: none;
}

.teacher-more a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .profile-img {
        width: 100px;
        height: 100px;
    }
}

/* teacher 2 CSS */
.name-style {
    font-size: 18px;
    color: #00b16a;
    line-height: 22px;
    margin-bottom: 5px;
    font-weight:bold;
}

.designation-style {
    font-size: 14px;
    color: #777;
    margin-bottom: 10px;
    font-weight:bold;
}

/* Speech text */
.speech-text {
    font-size: 14px;
    color: #555;
    text-align: center;
    line-height: 1.5;
    margin-top: 10px;
}

/* Panel footer */
.panel-footer {
    background: #f5f5f5;
    border-top: 1px solid #DDD;
    text-align: right;
    padding: 5px 10px;
    width: 100% !important;
    border-radius: 0 0 4px 4px;
}

/* More link */
.more-link {
    color: #555;
    text-decoration: none;
    font-size: 13px;
}

/* Hover effect for whole panel */
.shortProfile {
    transition: background-color 0.3s ease, color 0.3s ease;
    cursor: pointer;
}

.shortProfile:hover {
    background-color: #01090b !important;
}

.shortProfile:hover h3,
.shortProfile:hover h5,
.shortProfile:hover p
 {
    color: #ebeced !important;
}

shortProfile:hover a {
    color: #0dec32 !important;
}

/* .custom-indicators {
    position: static !important; 
    margin-top: 40px;           
    text-align: center;          
}

.custom-indicators li {
    width: 20px;                 
    height: 4px;                 
    background-color: transparent;
    border: 2px solid #fcfcfc;    
    display: inline-block;
    margin: 0 8px;              
    cursor: pointer;
    transition: all 0.3s ease;
}

.custom-indicators li.active {
    border-color: #fff;         
    background-color: #000;     
    transform: scale(1.2);      
} */


/* Activities Section CSS */
.event-section {
    padding: 100px 0;
    background: #00b16a url('https://via.placeholder.com/1200x400') no-repeat center center;
    background-size: cover;
}

/* Image Styling */
.event-img {
    object-fit: cover;
    border: 5px solid white;
    
}

.enroll .enroll-form
{
    background: #f8f9fa;
}

.enroll-form
{
    border-color: #e4ede9 !important;
}


/* Paragraph + Footer Box */
.event-content-box {
    background: #fff;
    color: #000;
    padding:20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-left: 20px;

}

/* Footer Section */
.event-footer {
    background-color: #f1f1f1;
    padding: 15px 0;
    width: 100%;
    text-align: right;
    margin-top: 30px;
}

.event-footer a {
    text-decoration: none;
    color: #007bff;
}

/* Dashed Indicators */
.custom-indicators {
    position: static !important; 
    margin-top: 30px;         
    text-align: center;
}

.custom-indicators li {
    width: 20px;
    height: 4px;
    background-color: transparent;
    border: 2px solid #ffffff;
    display: inline-block;
    margin: 0 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.custom-indicators li.active {
    border-color: #fff;
    background-color: #000;
    transform: scale(1.2);
}

/* Mobile Responsive */
@media (max-width: 767.98px) {
    .event-content-box {
        margin-left: 0;        
        padding: 15px;         
        border-radius: 0 0 10px 10px;
    }
    .event-footer {
        padding: 10px 0;
    }
    .custom-indicators li {
        width: 15px;
        height: 3px;
        margin: 0 5px;
    }
}
/* Activities Section CSS */


/* Statistics Section CSS */
.statistics-section {
  position: relative;
  padding: 80px 0;
  background: url('images/map2.jpg') no-repeat center center/cover;
}

.statistics-section::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-color:#ffffffba;
  z-index: 1;
}

/* Keep content above overlay */
.statistics-section .container {
  position: relative;
  z-index: 2;
}

.section-titles {
  font-size: 32px;
  font-weight: 500;
  margin-bottom: 10px;
  color: #00b16a !important;
  font-size: arial,solaimanlipi !important;
}

.section-subtitle {
  font-size: 16px;
  color: #4e4c4c;
  margin-bottom: 40px;
  font-family: arial,solaimanlipi !important;
}

.stat-box {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: rgb(255 255 255 / 49%);
    border: 1px solid #DDD;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease-in-out;
}

.stat-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

.stat-number {
    font-size: 32px;
    font-weight: 500;
    margin: 0;
    color: #00b16a;
}

.stat-title {
    font-size: 16px;
    margin: 5px 0 0;
    color: #666;
    font-weight: 550;
    text-transform: uppercase;
    font-family: arial,solaimanlipi !important;
}

/*Statistics Section */


/* Events & Notice Custom CSS */
.custom-section-heading {
    font-size: 28px;                    
    font-weight: 700;                  
    color: #00213c;                     
    border-bottom: 1px dashed #ccc; 
    padding-bottom: 8px;               
    margin-bottom: 20px;               
    text-align: left;                  
}

.custom-section-heading2 {
    font-size: 32px;                    
    font-weight: 700;                  
    color: #00213c;                     
    padding-bottom: 8px;               
    margin-bottom: 25px;               
    text-align:center;                  
}

   .link2 {
    font-size: 18px;
    font-family:arial,'solaimanlipi' !important;
    font-weight: normal;
    color: #656565;
}

.evdate .ev1 h2 {
    font-size: 30px;
    text-align: center;
    background: #00213C;
}

.notice_more
{
    background: #afb9b5 !important;
    font-size: 14px !important;
}

.notice_more:hover {
  background: #00b16a !important;
  color: white;
}

.notice_date
{
    color: #84918c !important;
}

.panel-footer li
{
    background: #cdd3d1 !important;
}

.learnedu-sidebar .post-info h4 a {
    color: #656565;
    font-size: 18px;
    font-weight: 500;
}

.enroll .form-group .btn {
    width: 100%;
    background: #f8f9fa;
    color: #a3a0a0;
    text-align:right;
    -webkit-transition: all 0.4s ease;
    -moz-transition: all 0.4s ease;
    transition: all 0.4s 
ease;
    display: block;
    /* padding: 18px 0; */
    /* border-radius: 3px; */
    border: none;
}

.enroll .form-group .btn:hover {
    background: #00b16a;
    color: #1c1b1b;
}

/* Footer phone number */
.phone-box {
    display: flex;
    align-items: center;
    gap: 10px;
}

.phone-box i {
    font-size: 20px;
    width: 40px;
    height: 40px;
    color: #fff;
    /* background: #000; */
    border-radius: 50%;
    display: flex
;
    align-items: center;
    justify-content: center;
    border: 1px solid white;
}

.phone-box .phone-number {
    font-size: 20px;
    font-weight: 500;
    color: #fff;              
}


.link-footer {
    background: #00489e;
    padding:0px 0px 20px 0px
}

@media (max-width: 767.98px) {
    .phone-box {
        justify-content: center !important;
          margin: 10px 0px 0px 0px;  
    }

.phone-box i {
    font-size: 18px;
    width: 30px;
    height: 30px;
    color: #fff;
    /* background: #000; */
    border-radius: 50%;
    display: flex
;
    align-items: center;
    justify-content: center;
    border: 1px solid white;
    /* margin: 4px 0px 0px 0px; */
}

}

@media (max-width: 767.98px) {
    .social {
        justify-content: center !important;
      
    }

}

/*Menu CSS*/

.header .nav li a {
    color: #fff;
    font-size: 14px;
    text-transform: uppercase;
    padding: 8px 10px 8px;
    display: block;
    position: relative;
    font-weight: bold;
    border-right: 1px solid #1c8d1c;
}

/*Footer CSS*/
.footer .useful-links ul li a {
    color: #ffffff;
    font-size: 14px;
    display: flex
;
    align-items: baseline;
    margin-bottom: 15px;
    line-height: 1.27;
}

.fa-clone:before {
    content: "\f24d";
    color: white;
}

footer .footer-top {
    padding: 45px 0 45px;
    background: #00489e;
    border-top: 1px solid #0051b3;
    border-bottom: 1px solid #2263b1;
}

.footer .list li, .footer .list li a {
    line-height: 30px;
    color: #ffffff;
}

.footer .single-widget h2 {
    font-size: 18px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    color: #fdf5f5;
    position: relative;
}

.footer p {
    color: #f9f5f5;
    font-weight: 400;
}

footer .bottom-head {
   border: none !important;
}

.footer-bottom
{
    background: #00489e;
}

.footer .bottom-head {
    padding: 10px 0;
    border-top: 1px solid rgba(231, 231, 231, 0.25);
}

.footer .copyright p {
    color: #ffffff !important;;
    font-weight: normal;
}

.footer .copyright a {
    color: #dfe4e9 !important;
}

.phone-icon-footer {
   font-size: 25px !important;
  
}
.footer .list li i
{
     color: white !important;
}


/* Footer Special Area */
        .contact-w3ls {
			background: #0177b5;
			position: relative;
			padding-top: 0!important;
			margin-top22: 6.3em;
			margin-top: 150px;
		}
			.contact-w3ls:before {
				content: "";
				position: absolute;
				top: -106px;
				border-width: 0 882px 106px 0;
				border-style: solid;
				border-color: transparent transparent #f8b239 #f8b239;
				display: block;
				width: 0;
			}
			
			.contact-w3ls:after {
			content: "";
			position: absolute;
			top: -120px;
			right: 0;
			border-width: 0px 1904px 120px 0;
			border-style: solid;
			border-color: transparent transparent #00489e #00489e; 	/* transparent transparent #00b16a #00b16a; */
			display: block;
			transform: rotateY(180deg);
			-webkit-transform: rotateY(180deg);
			-o-transform: rotateY(180deg);
			-ms-transform: rotateY(180deg);
			-moz-transform: rotateY(180deg);
			width: 0;
			}

    .enroll .enroll-form
    {
        background: none !important
    }

    .footer .copyright p a {
    /* font-weight: bold; */
    color: #cfcfd9 !important;
}


/* Events & Notice Custom CSS */
/* Title section styling */
.section-title-box {
    background:#00b16a; 
    padding: 12px 15px;
    border-radius: 6px 6px 0 0;
    margin-bottom: 15px;
    text-align: center;
}

.section-title {
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.social li a:hover {
  background-color: #dee1e6;
  color: #ffffff;
}

.v-div {
    margin-top: 30px;
    padding: 10px;
    box-shadow:none;
    border-radius:none;
    border: 1px dotted #938e8e;
}

@media (max-width: 767px) {
    .contact-w3ls {
        display: none;
    }
}

/*About us page CSS*/

.about-card {
    border: 1px solid #ddd;
    background-color: #fff;
}

.about-title {
    background-color: #873f19; 
    color: #fff;
    font-weight: 600;
    border-bottom: 1px solid #157347;
    display: flex;
    align-items: center;
}

.about-title i {
    font-size: 1.3rem;
    margin-right: 8px;
}

.about-title h4 {
    font-weight: 600;
    font-size: 1.1rem;
}

/* --- Add these new styles below --- */
.about-content {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
}

.about-img img {
  width: 250px;
  height: auto;
  border-radius: 6px;
  object-fit: cover;
}

.about-text {
  flex: 1;
  min-width: 250px;
}

.news-details {
  line-height: 1.7;
  color: #444;
  text-align: justify;
}

@media (max-width: 768px) {
  .about-img img {
    width: 100%;
    margin-bottom: 10px;
  }

  .about-content {
    flex-direction: column;
  }
}

.notice-board ul::-webkit-scrollbar {
    width: 6px;
}
.notice-board ul::-webkit-scrollbar-thumb {
    background-color: #198754;
    border-radius: 3px;
}
.notice-board a:hover {
    color: #157347;
}

/* About Us page CSS */


/* Notice Board CSS */


@media (max-width: 767px) {
  .pathshala_logo {
    width: 100%;
    border-radius: 5px;
    margin: 0px 0px 0px 20px;
  }
}

/*teacher css */
/* Teacher Grid */
.teacher-grid {
    margin: 0;
}

/* Custom CSS to target and reduce the vertical spacing */
.teacher-grid .col-xl-3,
.teacher-grid .col-lg-3,
.teacher-grid .col-md-4,
.teacher-grid .col-sm-6,
.teacher-grid .col-6 {
    
    padding-top: 5px !important; 
    padding-bottom: 5px !important; 
}

/* Card Design */
.teacher-card {
    background-color: #e9e9e9;
    padding: 25px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height:auto;
    margin-top: 0;
    margin-bottom: 0;
    border-radius: 0;
    transition: background 0.3s ease;
    border: 2px solid #ffffff;
    height: 180px;
}



.teacher-card:hover {
    background-color: #dcdcdc;
}

/* Image Style */
.teacher-img {
    width: 85px;
    height: 85px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #fff;
    background: #fff;
    margin-bottom: 10px;
}

/* Text Styles */
.teacher-name {
    font-size: 14px;
    font-weight:normal;
    color: #007a33;
    text-transform: uppercase;
    margin-bottom: 3px;
}

.teacher-designation {
    font-size:12px;
    color: #333;
    margin: 0;
}

/* Responsive Fixes */
@media (max-width: 767px) {
    .teacher-card {
        padding: 18px 5px;
    }
    .teacher-img {
        width: 80px;
        height: 80px;
    }
}

/* Remove all Bootstrap column gaps */
.row.g-0 {
    margin: 0;
}
.row.g-0 > [class*='col-'] {
    padding: 0;
}

/*teacher css */



/* Notice CSS */

@media only screen and (max-width: 767px) {
    .courses.single .single-main {
        padding: 10px !important;
    }
}

/* Notice CSS */

.breadcrumbs
{
    background:url('../../../assets/img/backs.jpg');
    position: relative;
    text-align: center;
    padding: 45px 0;
    color: #fff; /* optional if text needs contrast */
}


.breadcrumbs .bread-list {
    border-radius: 3px;
    background: transparent;
    display: inline-block;
    margin-top: 20px;
    display: none;
}

/* Single Teacher Profile Styles */

.teacher-header .member-detail img.teacher-photo {
    width: 120px !important;       
    height: 120px !important;     
    object-fit: cover !important;  
    border-radius: 50% !important; 
    border: 3px solid #007bff !important; 
    display: block;
    margin: 0 auto;
}

/* Name & Designation */
.teacher-name {
    font-size: 1.5rem; 
    color: #1e9a33;    
    margin-bottom: 0.2rem;
} 

.teacher-designation {
    font-size: 1rem;
    color: #555555;     
    margin-bottom: 0.3rem;
}

/* Contact Info */
.teacher-contact {
    font-size: 0.9rem;
    color: #007bff;     
}


@media (max-width: 768px) {
    .teacher-header {
        flex-direction: column !important;
        text-align: center !important;     
    }
    .teacher-info {
        margin-top: 15px;
    }
}

@media (max-width: 768px) {
     .teacher-photo {
        width: 90px;
        height: 90px;
    }
    .teacher-name {
        font-size: 1.2rem;
    }
    .teacher-designation {
        font-size: 0.9rem;
    }
    .teacher-contact {
        font-size: 0.8rem;
    }
}

.section-head-title{
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px dashed #ddd;
}

/* Single Teacher Profile Styles */