/*
 Theme Name:   Astra Child
 Theme URI:    http://example.com/twenty-fifteen-child/
 Description:  Astra Child Theme
 Author:       John Doe
 Author URI:   http://example.com
 Template:     astra
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
 Text Domain:  astrachild
*/
 @import url('https://fonts.googleapis.com/css2?family=Anton&display=swap'); 
/* @import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap'); */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
.ast-site-title-wrap {
    display: none;
}
 .site-primary-header-wrap.ast-container {
/*     max-width: 1300px !important; */
	  max-width: 1430px !important;
} 
li.menu-btn {
    margin-left: 10px;
} 
h1, h2, h3, h4, h5, h6, .elementor-button {
    font-family: "Montserrat", Sans-serif !important;
}
.site-header svg.ast-arrow-svg {
    margin-left: 7px !important;
}
.ast-logo-title-inline .site-logo-img {
    padding-right: 0 !important;
}
p {
    margin-bottom: 14px !important;
    line-height: 25px;
}
.get-in-touch-form {
  background: #F6F6F6;
  padding: 30px;
  border-radius: 12px;
}

.get-in-touch-form h3 {
    font-size: 45px;
    margin-bottom: 20px;
    font-weight: 600;
    color: #222E48;
    font-family: 'Montserrat';
}

.form-row {
  display: flex;
  gap: 20px;
  margin-bottom: 15px;
  flex-wrap: wrap;
}

.form-col {
  flex: 1;
  min-width: 200px;
}


.get-in-touch-form input, .get-in-touch-form textarea {
    width: 100% !important;
    padding: 12px 15px !important;
    border-radius: 8px !important;
    border: none !important;
    background: #EBECED !important;
    font-size: 15px !important;
	height: auto !important;
	font-family: 'Montserrat' !important;
}
input.btn-register {
    background: #DA251D !important;
    width: 28% !important;
    font-family: 'Montserrat' !important;
    border-radius: 50px !important;
    font-weight: 400;
}

.get-in-touch-form textarea {
 height: 100px !important;
 
}

.btn-register {
  background: #e63946;
  color: #fff;
  padding: 12px 25px;
  border-radius: 25px;
  font-size: 16px;
  border: none;
  cursor: pointer;

}

.btn-register:hover {
  background: #c9303c;
}
.form-row p {
    margin-bottom: 0;
}
.curriculum-info{
	min-height: 120px;
}

.parent-slider .swiper-button-next {
    right: -62px !important;
}
.parent-slider .swiper-button-next:after {
    content: '' !important;
    background: url(https://sgischool.in/wp-content/uploads/2025/09/right-icon.png) no-repeat;
    width: 50px;
    height: 50px;
    background-size: 100% 100%;
    right: 0px;
    position: absolute;
}
.parent-slider .swiper-button-prev {

    left: -62px !important;
}
.parent-slider .swiper-button-prev:after {
    content: '' !important;
    background: url(https://sgischool.in/wp-content/uploads/2025/09/left-icon.png) no-repeat;
    width: 50px;
    height: 50px;
    background-size: 100% 100%;
    left: 0px;
    position: absolute;
}
.parent-slider {
    overflow: hidden;
}
.parent-image-box-img {
    width: 115px;
}
.parent-image-box-wrap {
    display: flex;
    align-items: center;
    gap: 20px;
	    margin-top: 25px;
}

.parent-inner-wrap {
    background: #ECECEC;
    padding: 25px;
    border-radius: 15px;
	min-height:300px;
	
}
.parent-desig-rating img {
    width: 82%;
    margin-top: 17px;
}
.parent-inner-wrap:hover {
    background: #333;
}
.parent-author-name {
    font-size: 25px;
    font-family: 'Montserrat';
    font-weight: 500;
}

.parent-inner-wrap:hover .parent-image-box-content, .parent-inner-wrap:hover .parent-desig-rating{
	color: #fff;
}
.testimonials-btn-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.testimonials-btn-wrap button{
	width: 300px;
	text-align: center;
}
.testimonials-btn-wrap button {
    width: 408px;
    border-radius: 0;
    background: #F0F0F0;
    color: #919191;
    font-family: 'Montserrat';
    font-size: 20px;
    font-weight: 400;
}
.testimonials-btn-wrap button:hover, .testimonials-btn-wrap button.active-btn{
	color: #fff;
	background: #DA251D;
}
.small-text{
    font-size: 30px;
     display: inline-block;
  vertical-align: middle;
  line-height: normal;
}
.site-below-footer-wrap {
    margin: 0 auto;
    max-width: 83%;
    padding: 0 !important;
}
.site-footer, .site-footer a, .site-footer p {
    color: #fff;
    font-family: 'Montserrat';
	    font-size: 15px;
}

.trust-section img {
    height: 290px !important;
    object-fit: cover !important;
}

.gallery-slider .swiper-slide {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  cursor: pointer;
}

.gallery-slider img {
  width: 100%;
  display: block;
  border-radius: 12px;
}

/* caption default strip */
.gallery-slider .caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  /*background: rgba(0,0,0,0.6);*/
  color: #fff;
  font-size: 16px;
font-weight:600;
  padding: 20px 20px;
  text-align: center;
  /*white-space: nowrap;*/
  overflow: hidden;
  text-overflow: ellipsis;
  transition: all 0.3s ease-in-out;
  background: #000000;
  background: linear-gradient(0deg,rgba(0, 0, 0, 1) 0%, rgba(150, 150, 150, 0.16) 80%);
	font-family: 'Montserrat';
}

/* hover = full overlay */
.gallery-slider .swiper-slide:hover .caption {
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: #DA251D; /* solid red */
  color: #fff;
 font-size: 18px;
	font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  white-space: normal; /* allow multiple lines */
  text-overflow: unset;
}
.gallery-left {
    margin-top: 30px;
}



/**/
/* 
.gallery-slider .caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  padding: 20px;
  text-align: center;
  overflow: hidden;
  transition: all 0.3s ease-in-out;
  background: linear-gradient(0deg, rgba(0, 0, 0, 1) 0%, rgba(150, 150, 150, 0.16) 80%);
  font-family: 'Montserrat';
}


.gallery-slider .swiper-slide:hover .caption {
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: #DA251D;
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  white-space: normal;
} */
.gallery-slider .caption {
  position: absolute;
  left: 0;
  right: 0;
  color: #fff;
  font-family: 'Montserrat';
  transition: all 0.3s ease-in-out;
}

/* short caption (always visible strip) */
.gallery-slider .caption-short {
  bottom: 0;
  font-size: 16px;
  font-weight: 600;
  padding: 20px;
  text-align: center;
/*   background: linear-gradient(0deg, rgba(0, 0, 0, 1) 0%, rgba(150, 150, 150, 0.16) 80%); */
  border-radius: 0 0 12px 12px;
}

/* full caption (hidden by default) */
.gallery-slider .caption-full {
  display: none;
  top: 0;
  bottom: 0;
  background: #DA251D;
  font-size: 18px;
  font-weight: 600;
  padding: 20px;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-radius: 12px;
}

/* on hover: hide short, show full */
.gallery-slider .swiper-slide:hover .caption-short {
  display: none;
}

.gallery-slider .swiper-slide:hover .caption-full {
  display: flex;
}



/***/

h2.widget-title {
    color: #fff;
}
#custom_html-2 li {
    margin-bottom: 2px;
}
#custom_html-2 strong {
    margin-bottom: 6px !important;
    display: block;
    font-size: 16px;
}
#custom_html-2 hr {
    margin: 12px 0 !important;
}





.main-header-menu a {
    font-family: 'Montserrat';
    font-size: 15px;
/*     padding: 0 10px !important; */
	padding: 0px 6px !important;
	font-weight: 500;
}
 .ast-header-html-1 p {
    font-size: 18px !important;
    font-weight: 400;
    font-family: "Anton", sans-serif;
	 margin-bottom: 0 !important;
}
.ast-header-html-1 {
    padding-left: 0 !important;
} 
.menu-btn a {
    background: #da251d;
    line-height: 22px !important;
    height: auto !important;
    padding: 6px 14px !important;
    border-radius: 48px;
    color: #fff !important;
}
.site-header li.menu-btn.menu-item.current-menu-item a, .site-header li.menu-btn.menu-item.current-menu-item a:hover {
    color: #fff !important;
}
.blog-card {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}
.blog-card img {
  width: 100%;
  display: block;
  border-radius: 12px;
}
.blog-card .overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(200, 0, 0, 0.9); /* red overlay */
  color: #fff;
  opacity: 0;
  transition: 0.3s ease-in-out;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
}
.blog-card:hover .overlay {
  opacity: 1;
}
.blog-card .btn {
  margin-top: 10px;
  padding: 8px 16px;
  background: #fff;
  color: #c00000;
  border-radius: 20px;
  text-decoration: none;
}

.blog-card h3 {
    color: #fff;
    font-size: 22px;
    margin-bottom: 10px;
}


.blog-carousel .swiper-button-next:after {
    content: '' !important;
    background: url(https://sgischool.in/wp-content/uploads/2025/09/next-icon.png) no-repeat;
    width: 50px;
    height: 50px;
    background-size: 100% 100%;
    right: 0px;
    position: absolute;
}
/* .blog-carousel .swiper-button-next {
    right: -62px !important;
}
.blog-carousel .swiper-button-prev {
    left: -62px !important;
} */

.blog-carousel .swiper-button-prev:after {
    content: '' !important;
    background: url(https://sgischool.in/wp-content/uploads/2025/09/prev-icon.png) no-repeat;
    width: 50px;
    height: 50px;
    background-size: 100% 100%;
    left: 0px;
    position: absolute;
}
a.footer-btn {
    border: 1px solid #fff;
    padding: 12px 30px;
    border-radius: 35px;
}
.getin-touch-btn {
    margin-bottom: 20px;
}
.site-footer li {
    margin-bottom: 12px;
}


.table-height{
  overflow-x:auto;
  max-height: 535px;
    overflow-y: auto !important;
         border-radius: 10px 10px 0px 0px !important;
        font-family: 'Montserrat';
   }

   .table-height thead th { position: sticky; 
   top: 0; 
   z-index: 1; 
   }

        .table-height table {
            width: 100%;
            border-collapse: collapse;
            margin-bottom: 20px;
        background: #fff;           
            
        }
        .table-height td {
            border: 1px solid #393939;
        }
        .blue-table table{
         border: 0px;   
        }
        .blue-table th {
            padding: 10px 18px !important;
             text-align: left;
             
        }
        .table-height td {
            padding: 12px 18px !important;
            text-align: left;
        }
        .blue-table th {
            background-color: #222E48;
            color: #fff;
            font-size: 17px;
            
        }
        .table-height table tr:nth-child(odd) {
    background-color: #fff; /* Light gray for odd rows */
}

.table-height table tr:nth-child(even) {
    background-color: #F0F5FA; /* White for even rows */
}
        .table-height th:first-child{
             border-radius: 10px 0px 0px 0px !important;
             
        }
        .table-height th:last-child{
             border-radius: 0px 10px 0px 0px !important;
             
        }
        .table-height tr td {
            font-size: 16px;
        }
       /*tr:nth-child(even) {
            background-color: #f5f5f5;
        }*/
        .table-height tr:hover {
            background-color: #f1f1f1;
        }
        .blue-table span{
            font-size: 14px;
        }
    

        .red-table table{
         border: 0px;   
        }
        .red-table th {
            padding: 10px 18px !important;
             text-align: left;
             
        }
        
        .red-table th {
            background-color: #DA251D;
            color: #fff;
            font-size: 17px;
            
        }
        .red-table span{
            font-size: 14px;
        }

.why-us-icon-wrap p.elementor-icon-box-description {
    min-height: 110px;
    overflow-y: auto;
    max-height: 110px;
}
  .achievements-section .swiper-slide {
    background: #333 !important;
    padding: 10px;
    border-radius: 15px;
    color: #fff;
    font-size: 15px;
}
.more-scroll-wrap {
    min-height: 400px;
    overflow-y: auto;
    max-height: 400px;
}
.more-msg{
	    min-height: 300px;
    overflow-y: auto;
    max-height: 300px;
}
.vm-scroll-wrap{
	    min-height: 280px;
    overflow-y: auto;
    max-height: 280px;
}
.trust-section .swiper-slide img{
	width: 100%;
	height: auto !important;
	object-fit: cover;
	border-radius: 15px;
}
.trust-section .swiper-slide .name-trust {
    font-size: 17px;
    font-family: 'Montserrat';
    font-weight: 500;
	color: #222E48;
}
/* .sgi-mgmt-section{
	   min-height: 400px;
    overflow-y: auto;
    max-height: 400px;
} */
.trust-section .swiper-slide .desig-trust {
    font-family: 'Montserrat';
    font-weight: 400;
}
.age-group-section p{
	margin-bottom: 0px;
}
.admission-form input.wpcf7-text, .admission-form textarea, .admission-form select {
    background: #f3f3f3 !important;
    border: 0 !important;
    padding: 10px !important;

    border-radius: 10px !important;
    border-bottom: 3px solid #ccc !important;
	    font-family: 'Montserrat';
    font-size: 15px;
    font-weight: 500;
}
.admission-form input.wpcf7-text, .admission-form select {
    height: 48px !important; 
}
ul.sub-menu li {
    padding: 10px;
}
.main-header-menu li a:hover{
    color: #da251d !important;
}
.site-header .menu-btn a:hover {
    background: #000;
    color: #fff !important;
}
/*Make Header Sticky*/
.site-header {
    position: fixed !important;
    top: 0;
    width: 100%;
}

/*Adjust Content Padding*/
.site-content {
    padding-top: 95px;
}

/*Adjust Content Padding for Mobile*/
@media (max-width: 800px) {
    .site-content {
        padding-top: 100px;
    }
	/*Stick the Off-Canvas Navigation Menu - Adjust Top Margin for your Layout*/
		.main-navigation {
				position: fixed;
				margin-top: 0px;
	}
}

/*Adjust Content Padding for Mobile*/
@media (max-width: 650px) {
    .site-content {
        padding-top: 78px;
    }
	/*Stick the Off-Canvas Navigation Menu - Adjust Top Margin for your Layout*/
		.main-navigation {
				position: fixed;
				margin-top: 0px;
	}
}
.campus-gallery img{
	border: 2px solid #DA251D !important;
	border-radius: 10px !important;
	height: 203px !important;
    object-fit: cover;
}
.activity-box{
    transition: transform 0.3s ease-in-out; /* Defines the transition */
  transform: translateY(0); /* Initial position */
}
.activity-box:hover .activity-title{
    transform: translateY(-400%);
}

.campus-btn-wrap {
    box-shadow: 3px 3px 10px 0px #aaa;
    padding: 20px;
    border-radius: 20px;
	gap: 20px;
}
.site-header .current-menu-item a, .site-header .current-menu-ancestor > a {
    color: #da251d !important;
}
#loadMore a:focus, #showLess a:focus{
	outline: none;
}
@media screen and (max-width: 767px) {
	.parent-author-name {
    font-size: 18px;
	}
	.parent-slider .swiper-button-prev:after {
    width: 35px;
    height: 35px;
    left: -18px;
	}
	.parent-slider .swiper-button-next:after {
    width: 35px;
    height: 35px;
    right: -18px;
}
	.blog-card .overlay {
    position: relative;
		opacity: 1;
	}
.testimonials-btn-wrap {
        display: grid !important;
         grid-template-columns: repeat(1, 1fr); 
        gap: 10px;
        max-width: 400px;
        margin: 0 auto;
    }
	.parent-slider .swiper-button-prev {
    left: 0 !important;
}
	.parent-slider .swiper-button-next {
    right: 0px !important;
}
	.get-in-touch-wrap {
    position: relative !important;
    bottom: 0 !important;
}
	.site-primary-footer-wrap {
    padding: 40px;
}
	.footer-widget-area[data-section="sidebar-widgets-footer-widget-2"] {
    margin-left: 0 !important;
		margin-bottom: 30px !important;
}
	.get-in-touch-form h3 {
    font-size: 30px;
	}
	input.btn-register {
		width: 40% !important;
	}
	#popmake-233 input.btn-register {
		width: 50% !important;
	}
	.why-us-icon-wrap .elementor-icon-box-wrapper {
    flex-direction: row !important;
    gap: var(--icon-box-icon-margin, 15px) !important;
    text-align: start !important;
}
	.why-us-icon-wrap p.elementor-icon-box-description {
    min-height: auto;
    overflow-y: auto;
    max-height: unset;
}
	.main-header-menu .menu-item > a > .ast-icon.icon-arrow {
  display: none !important;
}
 	.testimonials-btn-wrap button {
    width: 100%;
} 
}