/* Website: St.Mary’s HSS
Author: Weberge by ipsr 
Style.css*/
/********** CSS **********/
:root {
     --primary: #AC0C30;
    --secondary: #E37F08;
    --dark: #222222;
    --light:#6B6B84;
    --bg-light: #F9EEF0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Raleway", sans-serif;
}

::-webkit-scrollbar {
    width: 5px;
}

::-webkit-scrollbar-track {
    /* box-shadow: inset 0 0 5px grey;  */
    border-radius: 7px;
}


::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 5px;
}


/************************ Common ************************/

section {
    padding: 60px 0px;
}

.text-primary {
    color: var(--primary) !important;
}
.text-secondary {
    color: var(--secondary) !important;
}
.text-dark {
    color: var(--dark) !important;
}
.text-light {
    color: var(--light) !important;
}

.bg-primary {
    background-color: var(--primary) !important;
}

.bg-secondary {
    background-color: var(--secondary) !important;
}

.bg-light {
    background-color: var(--bg-light) !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Raleway", sans-serif;
}


h1 {
    font-size: 48px;
    font-weight: 600;
}

h2 {
    /* font-size: 40px;
    color: var(--secondary);
    margin-bottom: 25px;
    z-index: 99; */

}

h3 {
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 15px;
}

h4 {
    font-size: 22px;
}

h5 {
    font-size: 20px;
}

h6 {
    font-size: 18px;
}

p {
    font-size: 17px;
    font-weight: 400;
    color: var(--light);
    line-height: 24px;
    margin-bottom: 20px;
}

a, i {
    /* font-size: 17px; */
    color: var(--dark);
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;

}

a:hover {
    color: var(--secondary);
}

img {
    width: auto;
    max-width: 100%;
    border-radius: 5px;
    margin-bottom: 10px;
}
.border10{
    border-radius: 10px;
}
.border25{
    border-radius: 25px;
}

/* Content Styles */
.content {
    /* display: none; */
    /* Hide content initially */
}

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

.btn-primary {
    background-color: var(--primary);
    color: white !important;
    border-radius: 7px;
    border: none;
    text-transform: capitalize;
    /* display: inline-block; */
    padding: 5px 25px;
    min-height: 45px;
    font-weight: 500;
    transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
}

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

.btn-primary,
.btn-outline-primary:hover {
    border-color: var(--primary) !important;
}

.btn-check:focus+.btn-primary,
.btn-primary:focus {
    color: #fff !important;
    background-color: var(--primary);
    border: none !important;
    /* border-color: #000; */
    box-shadow: none;
    border-color: var(--primary) !important;

}

.btn-check:active+.btn-primary,
.btn-check:checked+.btn-primary,
.btn-primary.active,
.btn-primary:active,
.show>.btn-primary.dropdown-toggle {
    color: #fff !important;
    background-color: var(--primary);
    /* border-color: #000; */
    border: none !important;
    border-color: var(--primary) !important;
}

.btn-white {
    background-color: white;
    color: var(--primary) !important;
    z-index: 99;
}

.btn-white:hover {
    color: white !important;
}

.btn-secondary,
.btn-outline-secondary:hover {
    color: var(--dark);
}

.section-title {
    font-size: 32px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 20px;
    position: relative;
    max-width: 100vw;
}
.section-sub-title {
    font-family: "Rancho", cursive;
    display: block;
    font-size: 21px;
    color: var(--primary);
    margin-bottom: 10px;
    font-weight: 400;
    position: relative;
}
.section-sub-title::before {
     content: "";
    width: 50px;
    height: 38px;
    background-image: url(../img/sub-title-bg.svg);
    opacity: 0.3;
    background-size: cover;
    background-repeat: no-repeat;
    position: absolute;
    top: -50px;
    left: 0px;
    bottom: auto;
}
.section-sub-title-white{
    color: white;
}
.section-sub-title-white::before {
    background-image: url(../img/sub-title-bg-white.svg);
}

.link-arrow {
 background-color: var(--primary);
    border-radius: 5px;
    color: #fff;
    display: inline-block;
    flex: 0 auto;
    -webkit-box-flex: 0;
    padding: 10px 45px 10px 20px;
    position: relative;
    text-align: left;
    text-decoration: none;
    /* min-width: 250px; */
}
.link-arrow-white {
 background-color: transparent;
 border: 1px solid white;
}
.link-arrow:hover{
    color: white;
}

.link-arrow::after {
     position: absolute;
    /* left: 0; */
    top: 50%;
    right: 15px;
    font-family: "Font Awesome 7 Free";
    content: "\f061";
    display: inline-block;
    padding-right: 3px;
    vertical-align: middle;
    font-weight: 900;
    transform: translate(0%, -50%);
    transition: all 0.5s cubic-bezier(0.25, 0.25, 0.08, 1.08);
    /* background: #B70402;
    padding: 14px 18px;
    border-radius: 100px; */
}

.link-arrow.font-reg::before,
.link-arrow.font-reg::after {
  /* font-weight: 300; */
}

/* .link-arrow::before {
  opacity: 0;
  transform: translate(-100%, -50%);
}

.link-arrow:hover::before {
  opacity: 1;
  transform: translate(0, -50%);
} */

.link-arrow:hover::after {
  opacity: 0;
  transform: translate(100%, -50%);
  /* color: var(--secondary); */
}


.read-more {
    font-weight: 500 !important;
    color: var(--primary);
    text-transform: capitalize;
    transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
}
.read-more:hover{
    color: var(--secondary);
}

.read-more i{
    position: absolute;
    font-size: 17px;
    padding-left: 7px;
    top: 7px;
    color: var(--primary);
}


/************************ Header************************/
header {
    z-index: 999;
    /* position: absolute; */
    /* padding: 10px 50px; */
    top: 0;
    left: 0;
    right: 0;
    color: white;
    /* background: white; */
}
.main-menu-sec {
    padding: 5px 50px;

}
/* ------- Top-Sec ------ */

  
.contact-top {
    /* display: flex;
    justify-content: end; */
    align-items: center;
    padding: 5px 50px;
}

.contact-top ul {
    gap: 20px;
    align-items: center;
    margin-bottom: 0;
}
.contact-top li{
    list-style: none;
}
.contact-top i {
    padding-right: 10px;
    margin-right: 5px;
    color: white;
}

.contact-top a {
    color: white;
    font-weight: 500;
    font-size: 14px;
}

.contact-top a:hover {
    color: var(--secondary) !important;
}

.contact-top a:hover i {
    color: var(--secondary);
}

/* ---------------------------- */
.logo {
    padding: 0;
}

.logo img {
    height: 80px;
    width: auto;
    margin-bottom: 0;
    border-radius: 0px;
}


/* ------------- custom nav --------------- */

.custom-nav a {
    font-size: 16px;
    color: var(--dark);
    text-transform: capitalize;
    display: flex;
    align-items: center;
    gap: 5px;
    line-height: normal;
    font-weight: 500;
}

.custom-nav .submenu {
    position: absolute;
    display: block;
    background: #fff;
    z-index: 9;
    box-shadow: 0 0 10px 0px rgba(0, 0, 0, 0.1);
    top: 20px;
    border-radius: 5px;
    opacity: 0;
    pointer-events: none;
    padding: 10px 0;
    transition: all .3s ease-in-out;
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
}

.custom-nav .submenu.open {
    opacity: 1;
    /* top: 35px; */
    pointer-events: all;
    transition: all .3s ease-in-out;
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
}

.custom-nav .navbar {
    gap: 25px;
}
nav ul {
    margin-bottom: 0;
    padding: 0px;
}
nav ul li {
    list-style: none;
    position: relative;

}
nav ul li.active a {
    color: var(--primary);
}

.custom-nav ul li a:hover {
    color: var(--primary) !important;
}

.custom-nav .submenu .submenu {
    left: 100%;
    top: 0;
}

.custom-nav .navbar .has-child>a::after {
    display: inline-block;
    vertical-align: 0.255em;
    content: "";
    border-top: 0.3em solid;
    border-right: 0.3em solid transparent;
    border-bottom: 0;
    border-left: 0.3em solid transparent;
}

.custom-nav .navbar .has-child:hover::after {
    color: var(--primary) !important;
}


.custom-nav .navbar .submenu a {
    padding: 10px 30px;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}
.top-nav a{
    color: white !important;
}
.top-nav .navbar{
    padding: 0;
}
nav.custom-nav {
    display: flex;
    justify-content: end;
    /* background-color: var(--primary); */
    padding: 5px 0px !important;
    color: white;
}

nav.custom-nav .navbar>li:nth-last-child(-n+2) .submenu {
    left: auto;
    right: 0;
}
.nav-btn1{
    gap: 10px;
}
.topNav-btn,
.mainNav-btn{
    display: none;
}
.topNav-btn{
    background: transparent;
    border: 1px solid var(--primary);
    width: 40px;
    height: 40px;
    border-radius: 4px;
    color: var(--primary); 
    outline: none;
    padding:0 !important;
} 
.topNav-btn svg circle{
    stroke: var(--primary);
}

/* .mainNav-btn {
    display: none;
} */


.mainNav-btn {
    background: var(--primary);
    width: 40px;
    height: 40px;
    border-radius: 4px;
    border: none;
    margin-right: 10px;
    color: #fff;
    outline: none;
    padding: 0 !important;
}


.menu-overlay {
    display: none;
}

.menu-overlay {
    display: block;
    width: 0%;
    height: 100vh;
    position: absolute;
    right: 0;
    top: 0;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 999;
    transition: all .3s ease-in-out;
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    opacity: 0;
}

.menu-open .menu-overlay {
    width: 100%;
    transition: all .3s ease-in-out;
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    opacity: 1;
}


.submenu a {
    color: var(--dark) !important;
}


/************************ Banner ************************/
.banner {
    padding: 0px;
    position: relative;
    /* height: calc(100vh - 120px); */
    height: 80vh;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.banner1 {
    position: relative;
    height: 100vh;
    background-size: cover;
    object-fit: cover;
    background-position: center;
}


.banner1 .overlay {
    /* background: linear-gradient(#000000e0, #00000000); */
    background: #0000007d;
    content: '';
    display: block;
    position: absolute;
    /* opacity: 0.2; */
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: 1;
}

/* .banner-content {
    position: absolute;
    z-index: 999;
    bottom: 0;
    right: 0;
    left: 0;
    top: 0;
    align-items: center;
    justify-content: center;
    display: flex;
} */

.banner h1 {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    z-index: 999;
    font-weight: 700;
    font-size: 44px;
    /* display: none; */
}
/************************ Announcement ************************/

.apply{
    position: fixed;
    top: 300px;
    right: -65px;  
    background: var(--primary);
    color: white;
    padding: 7px 15px;
    border-radius: 0px 0px 5px 5px;
    transform: rotate(90deg);
    z-index: 99;
    text-align: center;

    transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
        box-shadow: 0px 5px 10px 0px rgb(0 0 0 / 9%);
}
/* .apply img{
        border-radius: 0;
    height: 150px;
} */

.btn-apply{
    background: none;
    border: none;
    font-size: 17px;
    font-weight: 500;
    color: white;

    transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
}
/* .apply:hover{
    color: white;
    background-color: var(--secondary);
} */
.btn-apply i{
    padding: 0px 10px;
}
.btn-apply:hover{
    color: var(--secondary);
}


/************************ Scroll News ************************/
.scroll-news{
    padding: 0;
    border-bottom: 1px solid var(--secondary);
}
.news-scroll{
    padding-left: 0;

}
.news-updates-title{
    background-color: var(--primary);
    padding: 10px 10px;
    min-width: 150px;
    border-radius: 0 0 20px 0;
}


.scroll-news h6 {
  margin: 0;
  color: white;
}

.news-updates-content{
    display: flex;
    padding: 5px 10px;
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    box-sizing: border-box;
    align-items: center;
}
.marquee {
    display: inline-block;
    animation: marquee 10s linear infinite;
    /* white-space: nowrap; */
}
@keyframes marquee {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}
.news-updates-content p, .news-updates-content a {
    color: var(--light);
    display: inline-block;
    padding: 0px 20px;
    margin-bottom: 0px;
    font-size: 16px;
    /* border-right: 3px solid var(--secondary); */
    position: relative;
}
.news-updates-content p::after, .news-updates-content a::after {
    content: "";
    width: 15px;
    height: 15px;
    background-image: url(../img/news-divider.svg);
    background-repeat: no-repeat;
    position: absolute;
    right: -9px;
    top: 5px;
}
/************************ Welcome ************************/
.welcome, .principal-message, .excellence, .news-main, .facilities, .testimonials{
    padding-top: 80px;
}
.welcome img{
    height: 350px;
    object-fit: cover;
    object-position: center;
    border-radius: 100px 0 100px 0;
}
.abt-content img{
    height: 120px;
    width: auto;
    margin: 0 auto 20px;
    display: block;
    border-radius: 0;  
}


/************************ Principal Message, Manager Message ************************/
.principal-message img{
    height: 250px;
    object-fit: cover;
    object-position: center;
    border-radius: 100px 0 100px 0;
}
/************************ Courses, News ************************/
.news-main .section-sub-title::before,
.excellence .section-sub-title::before,
.facilities .section-sub-title::before,
.gallery .section-sub-title::before,
.testimonials .section-sub-title::before
{
    right: 0;
    margin: 0 auto;
}
.courses .news-info{
    position: relative;
    padding-top: 40px;
}
.courses .item:nth-child(odd) .course-icon {
  background-color: var(--primary);
}

.courses .item:nth-child(even) .course-icon  {
    background-color: var(--secondary);
}
.news-main{

}
.course-icon{
    background-color: var(--primary);
    position: absolute;
    z-index: 99;
    left: 0;
    right: 0;
    top: -45px;
    bottom: auto;
    border-radius: 5px;
    margin: 0 auto;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.course-icon img{
    height: 35px !important;
    width: auto !important;
    margin: 0;
    border-radius: 0;
}
.news-main .item {
    /* box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.06); */
    background-color: white;
    padding: 20px;
    position: relative;
    border-radius: 20px;
}

.news-main img {
    height: 230px;
    object-fit: cover;
    background-position: center;
    object-fit: cover;
    object-position: top;
    position: relative;
}
.news-info {
    padding: 15px 5px;
    min-height: 85px;
}
.news-main .news-date{
    font-size: 15px;
    background-color: var(--primary);
    color: white;
    font-weight: 500;
    position: absolute;
    z-index: 99;
    right: 30px;
    top: 30px;
    padding: 5px;
    width: 60px;
    height: 60px;
    border-radius: 5px;
    text-align: center;
}
.news-main .news-date h5{
    font-size: 25px;
    font-weight: 600;
    line-height: 25px;
    margin: 0;
}
.news-main .news-date h6{
    font-size: 18px;
    font-weight: 400;
    margin: 0;
}
.news-info h4{
    font-size: 20px;
    color: var(--dark);
    font-weight: 600;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.news-info p {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}

/************************ Owl Carousel - carousel controls - All ************************/

.about-carousel .owl-nav, .testimonial-carousel .owl-nav, .dignitaries-carousel .owl-nav {
    display: flex !important;
    justify-content: center;
    gap: 10px;
    top: 42%;
    position: absolute;
    right: 0;
    left: 0;
  }
  .testimonial-carousel .owl-nav, .dignitaries-carousel .owl-nav{
    top: auto;
    bottom: -60px;
  }
  .about-carousel .owl-nav .owl-prev, .about-carousel .owl-nav .owl-next,
  .testimonial-carousel .owl-nav .owl-prev, .testimonial-carousel .owl-nav .owl-next,
  .dignitaries-carousel .owl-nav .owl-prev, .dignitaries-carousel .owl-nav .owl-next{
      background: var(--linear);
      width: 45px;
      height: 45px;
      border-radius: 50%;
      text-align: center;
      align-items: center;
      justify-content: center;
      display: flex;
      transition: all 0.3s ease-in-out;
      -webkit-transition: all 0.3s ease-in-out;
      -moz-transition: all 0.3s ease-in-out;
      -ms-transition: all 0.3s ease-in-out;
      -o-transition: all 0.3s ease-in-out;
  }
  .dignitaries-carousel .owl-nav .owl-prev, .dignitaries-carousel .owl-nav .owl-next{
    background: white;
  }
  .about-carousel .owl-nav i, .testimonial-carousel .owl-nav i {
    color: white;
    line-height: 0;
  }
  .dignitaries-carousel .owl-nav i{
    color: var(--linear);
  }
  .about-carousel .owl-nav .owl-prev:hover, .about-carousel .owl-nav .owl-next:hover,
  .testimonial-carousel .owl-nav .owl-prev:hover, .testimonial-carousel .owl-nav .owl-next:hover,
  .dignitaries-carousel .owl-nav .owl-prev:hover, .dignitaries-carousel .owl-nav .owl-next:hover{
      background: var(--primary);
  }
  .about-carousel .owl-nav .owl-prev:hover i, .about-carousel .owl-nav .owl-next:hover i,
  .testimonial-carousel .owl-nav .owl-prev:hover i, .testimonial-carousel .owl-nav .owl-next:hover i,
  .dignitaries-carousel .owl-nav .owl-prev:hover i, .dignitaries-carousel .owl-nav .owl-next:hover i{
      color: white !important;
  }
  .about-carousel .owl-nav .owl-prev {
    position: absolute;
    left: 15px;
  }
  .about-carousel .owl-nav .owl-next {
    position: absolute;
    right: 15px;
  }


.news-carousel .owl-dots{
    display: flex !important;
    gap: 7px;
    justify-content: center;
    margin-top: 20px;
}
.news-carousel .owl-dot span{
    background-color: var(--primary);
    opacity: 0.3;
    width: 12px;
    height: 12px;
    display: inline-block;
    border-radius: 10px;
}
.news-carousel .owl-dot.active span{
    background-color: var(--primary);
    opacity: 1;
}

/* .facilities-carousel .owl-dots{
    display: flex !important;
    gap: 7px;
    justify-content: center;
    margin-top: 20px;
}
.facilities-carousel .owl-dot span{
    background-color: white;
    opacity: 0.3;
    width: 12px;
    height: 12px;
    display: inline-block;
    border-radius: 10px;
}
.facilities-carousel .owl-dot.active span{
    background-color: white;
    opacity: 0.5;
} */
 

/************************ Excellence ************************/
.excellence{
    position: relative;
    background-image: url(../img/excellence-bg.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.excellence .item{
    position: relative;
}
.excellence .item a{
    display: flex;
    justify-content: center;
}
.excellence img{
    height: auto !important;
    object-fit: cover;
    object-position: center;
    margin: 0;
    border-radius: 90px 0 90px 0;
}
.excellence-info {
    position: absolute;
    background-color: var(--secondary);
    color: white;
    /* min-height: 100px; */
    width: 85%;
    top: auto;
    bottom: 20px;
    padding: 20px 15px;
    border-radius: 5px;
}
.excellence h4{
    font-size: 19px;
     display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}
/************************ Facilities ************************/
.facilities{
    /* position: relative; */
}

.facilities h4 {
    font-size: 20px;
    color: var(--dark);
    font-weight: 600;
    margin: 15px 0;
}
.facilities .item{
    padding: 20px 20px 15px;
    border-radius: 20px;
}
.facilities img{
    height: 165px;
    object-fit: cover;
    object-position: center;
    border-radius: 50px 0 50px 0;
}

/************************ Gallery ************************/

.gallery-grid-container {
    display: grid;
    gap: 20px;
        grid-template-areas:
        'photo1 photo2 photo3'
        'photo1 photo4 photo4';
    /* grid-template-columns: 33% 33% 31%; */
}
.photos{
    position: relative;
    border-radius: 5px;
  }
  .photos img{
    height: 250px;
    width: 100%;
    background-size: cover;
    background-position: center;
    object-fit: cover;
    object-position: top;
    margin: 0;
    border-radius: 20px;
  }

 .photos:first-child{
    grid-area: photo1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .photos:nth-child(2){
    grid-area: photo2;
  }
  .photos:nth-child(3){
    grid-area: photo3;
  }
 .photos:last-child{
    grid-area: photo4;
  }
  .photos:first-child img{
    height: 100%;
    width: auto;
    height: 520px;
    position: relative;
  }
  .photos:first-child::after{
    opacity: 0.5;
    background:black;
    content: '';
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    position: absolute;
    border-radius: 20px;
}
.photos:first-child a{
    position: absolute !important;
    z-index: 9999;
}

.photos:first-child a img{
    height:75px !important;
    width: 75px !important;
}
.photos:first-child a img:hover{
    opacity: 0.8;
}
  .photos:nth-child(2), .photos:nth-child(3), .photos:last-child{
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
  } 
  .photos:nth-child(2) a, .photos:nth-child(3) a, .photos:last-child a{
    position: absolute;
    z-index: 9999;
    background: var(--secondary);
    color: white;
    padding: 10px 15px;
    border-radius: 5px;
    bottom: 15px;
    min-width: 200px;
 } 
 /* .photos:last-child a i{
    color: white;
 } */
  .photos:nth-child(2) a:hover, .photos:nth-child(3) a:hover, .photos:last-child a:hover{
    background: var(--primary);
  }
.gallery .fancybox{
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.gallery .fancybox button{
    background: none;
    border: none;
}
.gallery a.fancybox:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgb(0 0 0 / 27%);
    border-radius: 20px;
}
/************************ Achievements ************************/
.achievements{
    position: relative;
    background-image: url(../img/excellence-bg.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
/* .achievements-title-sec{
    padding-top: 100px;
} */
 .achievements h4{
    color: white;
    font-size: 20px;
    font-weight: 600;
    margin: 5px 0;
 }
.achievements p{
    color: white;
    opacity: 0.7;
}

.achievements img{
    height: 230px;
    object-fit: cover;
    object-position: center;
    position: relative;
    border-radius: 0 0 50px 0;
}
.achievements h6{
    position: absolute;
    z-index: 9999;
    background: var(--secondary);
    color: white;
    padding: 10px 15px;
    border-radius: 5px;
    bottom: 15px;
    min-width: 170px;
    text-align: center;
    left: 15px;
    margin: 0;

}
/************************ Testimonials ************************/
.testimonials, .news-hs{
    padding-bottom: 30px;
}
.testimonials .item{
   padding: 50px 80px;
    background-color: var(--secondary);
    border-radius: 0 100px 0 100px;
}
.testimonials img{
    height: 150px;
    width: 150px !important;
    /* margin: 0 auto 20px; */
    border-radius: 20px;
    margin: 0;
}
.testimonial-info{
    padding: 10px 0px;
    gap: 15px;
}
.testimonials h3{
    font-size: 20px;
    margin-bottom: 3px;
    font-weight: 600;
}
.testimonials h6{
    font-size: 17px;
    /* margin: 0; */
    font-weight: 500;
}
.testimonials p{
    color: white;
    margin-bottom: 20px;
     display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    overflow: hidden;
}


/************************ Footer ************************/
footer {
    background-color: var(--primary);
    /* color: white; */
    padding: 45px 0px 20px;
    position: relative;
    /* z-index: 99;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover; */
    padding-top: 150px;
}
footer::before {
    content: "";
    width: 100%;
    height: 145px;
    background-image: url(../img/bg-2.png);
    background-repeat: no-repeat;
    background-size: contain;
    height: 145px;
    position: absolute;
    bottom: auto;
    right: auto;
    left: auto;
    top: -1px;
    bottom: auto;
}
footer h5{
    font-size: 21px;
    font-weight: 600;
    color: white;
    margin-bottom: 20px;
    text-transform: capitalize;
}
footer h6{
    color: white;
    font-weight: 500;
    margin-bottom: 0;
}
footer p{
    margin-bottom: 0;
}

footer p,
footer a,
footer ul li {
    color: #ffffffc2;
    font-size: 15px;
    font-weight: 400;

}
/* footer .footer-links ul{
    column-count: 2;
}
footer .footer-links2 ul{
    column-count: 1;
} */

footer .social{
    /* position: relative; */
    /* justify-content: end; */
}
footer .social ul{
    margin: 0;
    gap: 10px;
}
footer .social ul li a{
    /* background: white; */
    border-radius: 50%;
    color: white;
    border: 1px solid;
    /* display: inline-block; */
    width: 35px;
    height: 35px;
    text-align: center;
    align-items: center;
    justify-content: center;
    display: flex;
    font-size: 15px;
    font-weight: 400;

}
footer .social ul li i {
    font-size: 17px;
    color: var(--secondary);
    background: white;
}

footer a:hover {
    color: var(--secondary);
}


.address {
    margin-bottom: 20px;
    align-items: baseline;
    gap: 15px;
}

footer .address i{
    background: var(--secondary);
    /* border-radius: 5px; */
    color: white;
    /* display: inline-block; */
    width: 35px;
    height: 35px;
    text-align: center;
    align-items: center;
    justify-content: center;
    display: flex;
    font-size: 15px;
    border: none;
    border-radius: 50%;
}

.address p,
.address a {
    /* padding-left: 15px; */
    margin-bottom: 0px;
    font-weight: 300;
    line-height: 28px;
    color: #E0CDCD;
}
.address ul{
    align-items: center;
    display: flex;
}
.address li{
    font-size: 20px;
    margin: 0 !important;
}

footer ul {
    padding: 0px;
    margin: 0;
}

footer ul li {
    list-style: none;
    margin-bottom: 10px;
}

.copyright {
    border-top: 1px solid #C2C8CD;
}

.copyright p {
    font-size: 15px;
    padding: 0px;
}

.ipsr img {
    height: 25px;
    margin: 0;
    border-radius: 0;
}

.ipsr img:hover {
    opacity: 0.5;
}

.ipsr p,
.ipsr a {
    padding: 0px;
    margin: 0;
}

.ipsr p,
.ipsr a {
    font-size: 8px !important;
}
/************************  ************************/


