/*======= Google Fonts =======*/
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans&family=Sniglet&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Ubuntu+Sans:ital,wght@0,100..800;1,100..800&display=swap");

/*====== Root for all color combo and font style section ======*/

:root {
  --font-normal: "Noto Sans", sans-serif;
  --font-heading: "Ubuntu Sans", sans-serif;
  --brown-color: #993333;
  --yellow-color: #ffcc00;
  --red-color: #ed1d24;
  --black-color: #43525a;
  --blue-color: #0d11bd;
}

/* ======== Common Style ======*/
html {
  font-family: var(--font-normal);
  overflow-x: hidden;
}

body {
  position: relative;
  overflow-x: hidden;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

p {
  letter-spacing: 0.5px;
  font-family: var(--font-normal);
  line-height: 26px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  text-transform: capitalize;
  color: var(--brown-color);
  letter-spacing: 1px;
  position: relative;
}

a {
  letter-spacing: 1px;
  transition: all 0.5s;
  color: var(--brown-color);
  text-decoration: none;
}

.btn_lotti {
  background-color: var(--yellow-color);
  padding: 8px 25px;
  text-transform: uppercase;
  border-radius: 10px;
  color: var(--brown-color) !important;
  font-weight: 500;
  transition: all 0.3s;
}

.btn_lotti:hover {
  background-color: var(--brown-color);
  color: var(--yellow-color);
}

/* hero section */
.hero-section {
  height: 700px;
  position: relative;
  overflow: hidden;
}

.other-section {
  height: 300px;
  background-image: url(../images/slider1.jpg);
  background-position: center left;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: end;
  flex-direction: column;
  overflow: visible;
}

.other-section h1 {
  z-index: 5;
  margin-bottom: 60px;
  color: #fff;
}

.other-section::after {
  background: linear-gradient(
    to top,
    rgba(153, 51, 51, 0.8),
    rgba(153, 51, 51, 0.04)
  );
  position: absolute;
  left: 0;
  bottom: 0;
  right: 0;
  top: 0;
  content: "";
  z-index: 4;
}

header {
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 999;
  background-color: rgba(255, 255, 255, 0.8);
}

.logo {
  width: 80px;
}

.hero-section .carousel-item {
  height: 700px;
}

.hero-section .carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

header .top-header {
  /* background-color: rgba(153, 51, 51, 0.8); */
  padding: 8px 0;
}

header .top-header a {
  color: var(--black-color);
}

nav {
  /* background-color: rgba(0,0,0,0.8); */
}

nav ul {
  color: var(--brown-color);
}

nav ul li {
  position: relative;
  color: #fff;
}

nav ul li a {
  color: var(--black-color);
  font-size: 18px;
  font-weight: 500;
}

nav ul li a:hover {
  color: var(--brown-color);
}

nav ul li a i {
  color: var(--yellow-color);
}

nav ul li ul {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  padding: 10px;
  left: 0;
  display: none;
  background: var(--yellow-color);
}

nav ul li:hover > ul,
nav ul li ul:hover {
  visibility: visible;
  opacity: 1;
  display: block;
  min-width: 180px;
  z-index: 999;
  text-align: left;
  padding-top: 20px;
  box-shadow: 0px 3px 5px -1px #ccc;
}

nav ul li > ul > li {
  clear: both;
  width: 100%;
  text-align: left;
  margin-bottom: 20px;
  border-style: none;
}

nav ul li > ul > li a {
  color: var(--brown-color);
  padding-left: 10px;
}

nav ul li ul li a:hover {
  padding-left: 15px;
  border-left: 2px solid var(--brown-color);
  transition: all 0.3s ease;
  color: #000;
}

.mob-menu {
  position: fixed;
  right: -10px;
  top: 9vh;
}
.School_name h1 {
  font-size: 32px;
  color: var(--brown-color);
  margin: 0;
  text-align: left;
}

/* heading style */
.heading_underline {
  padding-bottom: 10px;
  border-bottom: 2px solid #cf2e2e;
  display: flex;
  justify-content: space-between;
}

.heading_underline h3 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0px;
  text-transform: none;
  color: #212052;
  margin: 0;
}

/* hero section */
.hero-section {
  position: relative;
}

.hero-section .social_media {
  position: absolute;
  top: 0;
  height: 100%;
  width: 60px;
  left: 15vh;
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: center;
  z-index: 999;
}

.hero-section .social_media li a {
  color: #000;
  font-size: 18px;
}

/* slider style */
#herosection-slide .carousel-item {
  position: relative;
}

/* #herosection-slide .carousel-item::after {
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.1);
  background: -webkit-linear-gradient(
    to right,
    rgba(0, 0, 0, 0.8),
    rgba(0, 0, 0, 0.1)
  );
  background: linear-gradient(to right, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.1));
  content: "";
  top: 0;
  left: 0;
  z-index: 9;
  position: absolute;
} */

#herosection-slide .slider-navigator {
  position: absolute;
  bottom: 30vh;
  right: 15vh;
  width: 100px;
  height: 40px;
  display: flex;
  gap: 20px;
  z-index: 999;
}

#herosection-slide .slider-navigator .carousel-control-next,
#herosection-slide .slider-navigator .carousel-control-prev {
  background-color: #c5c5c2 !important;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: baseline;
}

#herosection-slide .carousel-caption {
  bottom: 50vh;
  z-index: 99;
  text-align: left;
}

#herosection-slide .carousel-caption h5 {
  color: var(--yellow-color);
  font-size: 28px;
}

/* news box style */
.sclnews-box {
  display: flex;
  gap: 10px;
}

.sclnews-box .news-img {
  width: 80px;
  height: 80px;
  background-color: #f5f5f5;
  overflow: hidden;
}

.sclnews-box .news-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sclnews-box .news-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sclnews-box .news-content .date-head {
  font-size: 13px;
  color: #888;
  font-weight: 500;
}

.sclnews-box .news-content .news-title,
.activities-box .title {
  font-size: 17px;
  font-weight: 700;
  color: #353372;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
}

.activities-box {
  display: flex;
  gap: 10px;
}

.activities-box .date-box {
  background-color: var(--brown-color);
  color: #fff;
  display: flex;
  width: 50px;
  min-height: 50px;
  align-items: center;
  flex-direction: column;
  gap: 4px;
  line-height: 1;
}

.activities-box .date-box span {
  font-size: 14px;
  color: #ffcc00;
}

.activities-box .date-box text {
  font-size: 22px;
}

/* vertical slider */
.swiper-news, .swiper-notice {
  height: 280px;
  overflow: hidden;
}

/* about section */
.about_seaction {
  background-image: url(../images/bg-2.png);
  background-size: cover;
  min-height: 400px;
  padding: 90px 0;
}

/* .about_seaction .heading_underline h3 {
  color: #fff;
}
.about_seaction p {
  color: #fff;
} */

/* gallery */
.swiper-gallery .swiper-slide {
  height: 250px;
}

#swiper-gallery {
  overflow: hidden;
}

.swiper-gallery .swiper-slide a {
  display: block;
  height: 100%;
}

.swiper-gallery .swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* statics */
.why-choose::after {
  width: 100%;
  height: 100%;
  display: block;
  position: absolute;
  top: 0;
  z-index: 1;
  content: "";
  background: url(../images/slide2.jpg) no-repeat center center/cover;
  opacity: 0.1;
}

.why-choose {
  padding: 60px 0;
  display: block;
  position: relative;
  background-color: var(--brown-color) !important;
}

.why_C_head {
  text-align: center;
  display: block;
  padding: 10px 0;
}

.why_C_head > h1 {
  font-size: 36px;
  color: #fff;
  margin-bottom: 50px;
}

.why_C_head > h2 {
  font-size: 36px;
  color: #fff;
  margin-bottom: 50px;
}

.why_C_head > h1 > span {
  font-size: 14px;
  opacity: 0.8;
  display: block;
}

.why_C_head > h2 > span {
  font-size: 14px;
  opacity: 0.8;
  display: block;
}

.why-choose ul.lotti__strength {
  display: block;
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
}

.why-choose ul.lotti__strength li {
  width: 21%;
  display: inline-block;
  color: #fff;
  text-align: center;
  margin-bottom: 25px;
  border-right: 1px #94d3a4 solid;
}

ul.lotti__strength li .icon {
  display: block;
  padding-bottom: 20px;
}

.why-choose ul.lotti__strength li .icon span {
  font-size: 44px;
  opacity: 0.7;
}

.why-choose ul.lotti__strength li span {
  padding-bottom: 12px;
  font-size: 48px;
}

.why-choose ul.lotti__strength li .title {
  display: block;
  font-size: 14px;
  opacity: 0.8;
  text-transform: uppercase;
}

/*mission and vission*/

.mission {
  background-image: url(../images/mission.jpg);
  background-size: cover;
  background-position: right;
  height: 300px;
  border-radius: 30px;
}

.vission {
  background-image: url(../images/vission.png);
  background-size: cover;
  background-position: right;
  height: 300px;
  border-radius: 30px;
}

.mission p,
.vission p {
  font-size: 13px;
}

.mission .btn_lotti,
.vission .btn_lotti {
  padding: 6px 15px;
  font-size: 15px;
}

/*table style =============*/

table {
  width: auto;
  margin: 0 auto;
  margin-bottom: 1rem;
  color: #212529;
  vertical-align: top;
  border-color: #dee2e6;
  border-width: 1px 0;
}

table > thead {
  vertical-align: bottom;
}

table tr:nth-child(2n + 1) {
  background-color: #f5f5f5;
}

table > :not(caption) > * > * {
  padding: 0.5rem 0.5rem;
  background-color: var(--bs-table-bg);
  border-width: 1px;
  box-shadow: inset 0 0 0 9999px var(--bs-table-accent-bg);
}

/* gallery */

/*Gallery sec=============*/

.gallery_sec .nav {
  justify-content: center;

  align-items: center;
}

.gallery_sec .nav-tabs {
  border: none;
}

.gallery_sec .nav li {
  padding: 0 15px;
}

.gallery_sec .nav-tabs .nav-link.active {
  background-color: var(--yellow-color);

  padding: 8px 15px;

  border-radius: 10px;

  color: #000;
}

.img_gal {
  height: 350px;
  width: 100%;
  display: block;
  overflow: hidden;
  position: relative;
}
.video_gal {
  display: flex !important;
  position: relative;
  align-items: center;
  flex-direction: column;
  gap:3px;
  justify-content: center;
}
.video_gal p {
  color: #212052;
  font-size: 16px;
  font-weight: 500;
}
.video_gal .overtext {
  position: absolute;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  bottom: 0;
  width: 100%;
  height: 100%;
  z-index: 99;
  left: 0;
}

.video_gal iframe  body {
  overflow: hidden;
}
.video_gal iframe body > img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.btn-close-vd {
  background: none !important;
}
.btn-close-vd svg {
  width: 20px;
  height: 20px;
  color: white;
}

.img_gal > img {
  height: 350px;

  width: 100%;

  object-fit: cover;

  object-position: center;
}

.img_gal > iframe {
  height: auto;

  width: 100%;

  object-fit: contain;

  object-position: center;
}

.img_gal .overtext {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0));

  position: absolute;

  display: flex;

  align-items: flex-end;

  justify-content: center;

  bottom: 0;

  width: 100%;

  height: 100%;

  left: 0;
}

.img_gal .overtext > p {
  color: #fff;
}

/*Contact Us =============*/

.icons_info {
  font-size: 25px;
  color: var(--yellow-color);
}

.info_text {
  color: #555;
}

.info_text strong {
  display: block;
  color: var(--brown-color);
  margin-bottom: 5px;
}

.info_text a {
  color: #555;
}

.info_text a:hover {
  color: var(--brown-color);
}

input[type="text"],
input[type="url"],
input[type="email"],
input[type="password"],
input[type="tel"],
input[type="time"],
select,
textarea {
  display: block;
  height: 50px;
  width: 100%;
  margin: 0 0 20px 0;
  color: inherit;
  border: 0;
  border-radius: 5px;
  padding: 14px 20px 12px;
  font-family: inherit;
  font-size: 13px;
  font-weight: var(--lmsmart-header-font-weight);
  line-height: 1.7;
  background-color: #fff;
  border-bottom: thin solid var(--brown-color);
  text-transform: unset;
  transition: 0.3s;
}

/* news  detail */

.news_detail {
  padding: 60px 10px 20px;
  position: relative;
  display: block;
}
.news_detail > img {
  margin-bottom: 8px;
}
.news_detail > h2 {
  text-transform: capitalize;
  text-align: left;
  font-weight: 500;
  margin-bottom: 20px;
  font-size: 30px;
  color: #002147;
}
.news_detail > .title-bar-mit {
  display: block;
  padding: 8px 0;
  position: relative;
  margin-bottom: 30px;
}
.news_detail > .title-bar-mit > ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.news_detail > .title-bar-mit > ul > li {
  display: inline-block;
  padding: 0 12px;
  color: #777;
}
.news_detail > .title-bar-mit > ul > li > i {
  color: #ec1c24;
  margin-right: 5px;
}

/*footer ================*/

footer {
  background-color: #363636;
}

footer .head_foot {
  display: block;
  margin-bottom: 15px;
}

footer .head_foot h4 {
  font-size: 24px;
  font-weight: 400;
  color: #fff;
}

footer .head_foot span {
  width: 40px;
  display: block;
  height: 2px;
  background-color: var(--yellow-color);
}

footer ul li a {
  color: #fff;
  font-size: 13px;
  padding: 5px 0;
  display: block;
}

footer ul li i {
  color: var(--yellow-color);
}

.foot_botom {
  border-top: thin solid var(--yellow-color);
}

/*Media Query ================*/

@media (max-width: 500px) {
  .School_name {
    text-align: center !important;
  }

  .School_name h1 {
    font-size: 20px;
    text-align: center !important;
  }

  .School_name span {
    font-size: 14px;
  }

  .mission {
    background-image: url(../images/missionmob.png);
  }

  .vission {
    background-image: url(../images/vissionmob.png);
  }

  .why-choose ul.lotti__strength {
    display: flex;
    flex-wrap: wrap;
  }

  .why-choose ul.lotti__strength li {
    flex: 1 0 auto;
    width: 50%;
  }
  #herosection-slide .slider-navigator {
    bottom: 3vh;
    right: 1vh;
  }
}
