
body, h1, h2, h3, h4, h5, h6, p, a, span, div {
  font-family: 'Poppins', sans-serif !important;
}

body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
  background-color: #e2f2fd;
}


a {
  color: #000;
  text-decoration: none !important;
} 

.h1 {
  background-color: #e2f2fd;
  padding: 15px 0;
}

.phone-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 14px;
}

.phone-text {
  color: #333;
}

.phone-icon {
  font-size: 18px;
  color: #202020;
}

.register-btn {
  background-color: #0D2E67;
  color: #fff;
  border: none;
  padding: 10px 30px;
  font-size: 14px;
  border-radius: 20px;
  text-transform: uppercase;
  font-weight: 600;
  transition: all 0.3s ease;
}

.register-btn:hover {
  background-color: #fff;
  color: #094ec5;
  border: 1px solid #0D2E67;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #a59d9d;
  color: #242323;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 18px;
  margin-left: 10px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-icon:hover {
  color: #fff;
  cursor: pointer;
}

.social-icon.facebook:hover {
  background-color: #1877f2;
}

.social-icon.youtube:hover {
  background-color: #ff0000;
}

.social-icon.whatsapp:hover {
  background-color: #25d366;
}

@media (max-width: 768px) {
  .phone-container {
    display: none;
  }

  .register-btn {
    margin-left: auto;
    padding: 8px 20px;
    font-size: 12px;
  }

  .social-icon {
    width: 30px;
    height: 30px;
    font-size: 14px;
  }
}


/* header */

.header {
  box-shadow: 1px 1px 4px 0 rgba(0,0,0,.1);
  position: sticky;
  width: 100%;
  z-index: 3;
}

.header ul {
  margin: 0;
  padding: 0;
  list-style: none;
  overflow: hidden;
}

.header li a {
  display: block;
  padding: 20px 20px;
  text-decoration: none;
  position: relative;
}

.header li a::after {
  content: "";
  display: block;
  width: 0;
  height: 2px;
  background: black; 
  transition: width 0.2s ease;
  position: absolute;
  bottom: 5px;
  left: 50%;
  transform: translateX(-50%);
}

.header li a:hover::after {
  width: 100%; 
}

.header .logo {
  display: block;
  float: left;
  font-size: 2em;
  padding: 10px 20px;
  text-decoration: none;
}


.header .menu {
  clear: both;
  max-height: 0;
  transition: max-height .2s ease-out;
}


.header .menu-icon {
  cursor: pointer;
  display: inline-block;
  float: right;
  padding: 28px 20px;
  position: relative;
  user-select: none;
}

.header .menu-icon .navicon {
  background: #333;
  display: block;
  height: 2px;
  position: relative;
  transition: background .2s ease-out;
  width: 18px;
}

.header .logo img {
  height: 40px; 
  width: auto;
  display: block;
  margin: 10px 20px;
}


.header .menu-icon .navicon:before,
.header .menu-icon .navicon:after {
  background: #333;
  content: '';
  display: block;
  height: 100%;
  position: absolute;
  transition: all .2s ease-out;
  width: 100%;
}

.header .menu-icon .navicon:before {
  top: 5px;
}

.header .menu-icon .navicon:after {
  top: -5px;
}

/* menu btn */

.header .menu-btn {
  display: none;
}

.header .menu-btn:checked ~ .menu {
  max-height: 500px; 
  overflow: visible; 
}

.header .menu-btn:checked ~ .menu-icon .navicon {
  background: transparent;
}

.header .menu-btn:checked ~ .menu-icon .navicon:before {
  transform: rotate(-45deg);
}

.header .menu-btn:checked ~ .menu-icon .navicon:after {
  transform: rotate(45deg);
}

.header .menu-btn:checked ~ .menu-icon:not(.steps) .navicon:before,
.header .menu-btn:checked ~ .menu-icon:not(.steps) .navicon:after {
  top: 0;
}



@media (min-width: 48em) {
  .header li {
    float: left;
  }
  .header li a {
    padding: 20px 30px;
  }
  .header .menu {
    clear: none;
    float: right;
    max-height: none;
  }
  .header .menu-icon {
    display: none;
  }
}

/* overlay */

.overlay-section {
  position: relative;
  width: 100%;
  height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-left: 40px;
}

.bg-video {
  position: absolute;
  top: 0;
  left: 0;
  min-width: 100%;
  min-height: 100%;
  object-fit: contain;
  z-index: 1;
}

.overlay-content {
  position: relative;
  z-index: 2;
  color: white;
  font-family: 'Poppins', sans-serif;
  max-width: 600px;
}

.overlay-content h1 {
  font-size: 40px;
  font-weight: bold;
}

.overlay-content p {
  font-size: 18px;
}



/* about-home */
.about-section {
  margin-top: 30px;
  padding: 15px 20px;
  width: 100%;
}

.about-title {
  text-align: center;
  font-size: 24px;
  font-weight: bold;
  color: #0D2E67;
  margin-bottom: 5px; 
}

.underline {
  width: 50px;
  height: 3px;
  background: black;
  margin: 0 auto 10px; 
}

.about-content {
  text-align: left;
  padding: 0 10%;
  margin-top: 25px;
  margin-bottom: 10px; 
}

.about-content p {
  font-size: 18px;
  color: #333;
  line-height: 1.6;
}

.stats-section {
  padding: 15px 0; 
}

.stat-box {
  text-align: center;
  color: #d3153d;
  padding: 5px 0; 
}

.stat-icon {
  font-size: 40px;
  color: #ff7f50;
  margin-bottom: 5px; 
}

.stat-number {
  font-size: 48px;
  font-weight: bold;
  margin: 3px 0;
}

.stat-line {
  width: 30px;
  height: 3px;
  background: #d3153d;
  margin: 5px auto;
}

.stat-label {
  font-size: 18px;
  font-weight: bold;
}

.learn-more-btn {
  display: block;
  width: fit-content;
  margin: 20px auto; 
  padding: 10px 25px;
  font-size: 14px;
  margin-bottom: 50px;
  font-weight: 600;
  color: #0D2E67;
  text-decoration: none;
  border: 2px solid #0D2E67;
  transition: all 0.3s ease;
}

.learn-more-btn:hover {
  background: #0D2E67;
  color: white;
}






/* slider */

.carousel-item img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}



/*events */

.slider-container {
  position: relative;
  max-width: 80%;
  margin: auto;
  padding: 40px 0;
}


.owl-carousel {
  display: flex;
  align-items: center;
}


.card {
  background: white;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  text-align: left;
  padding-bottom: 20px;
  transition: all 0.5s ease-in-out;
  max-width: 350px;
  margin: auto;
  opacity: 0.5; 
}

.active-center {
  opacity: 1 !important; 
  transform: scale(1.05);
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px 10px 0 0;
}

.card-content {
  padding: 15px;
}

.activity {
  font-size: 12px;
  color: gray;
  text-transform: uppercase;
  margin-bottom: 5px;
}

.card h3 {
  font-size: 18px;
  margin-bottom: 10px;
  font-weight: bold;
}

.read-more {
  display: inline-block;
  color: #0D2E67;
  font-weight: bold;
  font-size: 14px;
  text-decoration: none;
}

.read-more:hover {
  text-decoration: underline;
}


.custom-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  z-index: 10;
}

.custom-nav button {
  background: white;
  border: 2px solid black;
  color: black;
  font-size: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  transition: 0.3s;
}

.custom-nav button:hover {
  background: black;
  color: white;
}


/*contact */ 

.contact-section {
  padding: 50px 0;
}
.contact-heading {
  color: #0D2E67; 
  font-weight: bold;
}
.contact-info {
  font-size: 18px;
  color: #333;
}
.icon {
  font-size: 30px;
  color: #D71920; 
  margin-right: 10px;
}
.map-container {
  width: 100%;
  height: 300px;
  border-radius: 10px;
  overflow: hidden;
}





/* footer*/

.footer {
  background-color: #0D2E67;
  color: #fff;
  padding: 40px 0;
}
.footer-logo {
  display: flex;
  align-items: center;
  font-size: 22px;
  font-weight: bold;
}
.footer-logo img {
  height: 70px;
  margin-right: 10px;
}
.footer-title {
  font-weight: bold;
  margin-bottom: 15px;
  font-size: 18px;
}


.footer-links a {
  color: #bbb;
  text-decoration: none;
  display: block;
  margin-bottom: 8px;
  transition: 0.3s;
}
.footer-links a:hover {
  color: #fff;
}
.footer-contact i {
  color: #eeeaea;
  margin-right: 8px;
  font-size: 18px;
}
.footer-contact p {
  margin-bottom: 10px;
  color: #bbb;
}
.footer-contact a {
  color: #bbb;
  text-decoration: none;
  transition: 0.3s;
}
.footer-contact a:hover {
  color: #fff;
}
.scroll-top {
  background-color: #D71920;
  color: #fff;
  width: 45px;
  height: 45px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  bottom: 20px;
  right: 20px;
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
}
.scroll-top:hover {
  background-color: #fff;
  color: #D71920;
}


/*about-page*/

.hero-section {
  position: relative;
  width: 100%;
  height: 300px;
  overflow: hidden;
}

.hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(70%); 
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4); 
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  text-align: center;
}

.hero-title {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 10px;
}

.hero-breadcrumb {
  font-size: 14px;
  color: #ddd;
}

.overview-section {
  background-color: #fff;
  padding: 50px;
  font-family: 'Arial', sans-serif;
}

.overview-heading {
  font-size: 28px;
  color: #274488;
  font-weight: bold;
  margin-bottom: 20px;
}

.overview-text {
  font-size: 18px;
  color: #000000;
  line-height: 1.8;
}

.overview-text strong {
  font-weight: bold;
  font-size: 22px;
}

.overview-text em {
  font-style: italic;
  font-size: 22px;
}




.container {
  width: 80%;
  margin: 50px auto;
}

.icon-text {
  display: flex;
  align-items: center;
  gap: 15px;
}

.icon {
  width: 40px;
  height: auto;
}

.core {
  font-size: 24px;
  font-weight: 600;
  color: #274488;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 20px;
}

.value h3 {
  font-size: 18px;
  font-weight: 600;
  color: #000;
}

.value p {
  font-size: 16px;
  color: #444;
}



.board-message {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 90%;
  margin: 50px auto;
  background: #f9f9f9;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.1);
  opacity: 0;
  transform: translateY(50px);
  animation: fadeInUp 1s ease-out forwards 1.5s;
}

.text-content {
  width: 60%;
}

.board-heading {
  color: #274488;
  font-size: 24px;
  font-weight: 600;
}

.italic-text {
  font-style: italic;
  font-size: 16px;
  color: #333;
}

.author {
  margin-top: 15px;
  font-weight: bold;
}

.image-container {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  animation: rotateIn 0.5s ease-in-out forwards;
}

.image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


@keyframes rotateIn {
  from {
      transform: rotate(0deg) scale(0);
      opacity: 0;
  }
  to {
      transform: rotate(360deg) scale(1);
      opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
      opacity: 0;
      transform: translateY(50px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

.card img {
  height: 180px;
  object-fit: cover;
}

.card-title {
  font-weight: 600;
  font-size: 1.1rem;
}


/*events*/


.event-section {
  position: relative;
  width: 100%;
  height: 60vh; 
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 5%;
  background-size: cover;
  background-position: center;
  background-attachment: fixed; 
}

.event-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); 
}


.content-box {
  position: relative;
  color: white;
  padding: 30px;
  max-width: 400px;
  border-radius: 5px;
  z-index: 2;
}


.content-box h2 {
  font-size: 28px;
  margin-bottom: 10px;
}

.content-box p {
  font-size: 16px;
  line-height: 1.6;
}

#defence-day {
  background-image: url('images/dd.jpeg');
}

#teachers-day {
  background-image: url('images/td.jpeg');
}

#naat-competition {
  background-image: url('images/nt.jpeg');
}

#sports-week {
  background-image: url('images/sw.jpeg');
}

#result-declaration {
  background-image: url('images/result.jpeg');
}

#defence-day .content-box {
  background: rgba(43, 18, 18, 0.9);
}

#teachers-day .content-box {
  background: #031339;
}

#naat-competition .content-box {
  background: #241202;
}

#sports-week .content-box {
  background: rgba(75, 75, 29, 0.9);
}

#result-declaration .content-box {
  background: rgba(62, 32, 83, 0.9);
}


@media (max-width: 768px) {
  .event-section {
      height: auto; 
      flex-direction: column;
      justify-content: center;
      text-align: center;
      padding: 50px 20px;
      background-attachment: scroll; 
  }

  .content-box {
      max-width: 100%;
      padding: 20px;
  }

  .event-section::before {
      background: rgba(0, 0, 0, 0.1); 
  }
}


/*Admission*/

.section {
  font-size: 24px;
  color: #1d3c79;
  font-weight: 600;
  margin-bottom: 30px;
  margin-top: 30px;
  margin-left: 50px; 
}

.paragraph {
  font-size: 16px;
  line-height: 1.6;
  margin-left: 50px; 
}

.italic {
  font-style: italic;
}

.bold {
  font-weight: 700;
}

.enrollment-steps {
  text-align: center;
  padding: 40px 20px;
}

.steps-title {
  font-size: 20px;
  color: #1d3c79;
  font-weight: 600;
  margin-bottom: 20px;
}


.steps-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 50px;
  position: relative;
  flex-wrap: wrap;
}


.steps-container::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 10%;
  width: 80%;
  height: 2px;
  background: #ccc;
  z-index: 0;
}

.step {
  position: relative;
  text-align: center;
  z-index: 1;
  flex: 1;
  min-width: 150px;
}


.step-circle {
  background-color: #1d3c79;
  border-radius: 50%;
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin: auto;
}

.step-circle i {
  color: white;
  font-size: 55px;
}

.step-text {
  font-weight: bold;
  color: #1d3c79;
  margin-top: 10px;
  font-size: 14px;
}


@media (max-width: 768px) {
  .steps-container {
      flex-direction: column;
      gap: 30px;
  }

  .steps-container::before {
      display: none; 
  }

  .step {
      width: 100%;
  }
}

.regis-heading{
  font-size: 24px;
  color: #1d3c79;
  font-weight: 600;
  margin-top: 30px;
  margin-left: 45px;
}


.form-container {
  width: 50%; 
  margin: 20px 50px 2%; 
  background: white; 
  padding: 20px; 
  border-radius: 8px; 
  
}

.form-group { 
  margin-bottom: 15px; 
}

.form-label { 
  font-weight: bold; 
}

.form-input, .form-select {
  width: 100%; 
  padding: 10px; 
  margin-top: 5px; 
  border: 1px solid #ccc; 
  border-radius: 5px; 
}

.submit-btn { 
  background: #1d3c79; 
  color: white; 
  padding: 10px 15px; 
  border: none; 
  cursor: pointer; 
  border-radius: 5px; 
  width: 100%;
}

.submit-btn:hover { 
  background: #163068; 
}


@media (max-width: 768px) {
  .form-container {
      width: 90%; 
      margin: 20px auto; 
  }
}

.admission-requirements {
  padding: 40px 20px;
  max-width: 900px;
  margin-left: 0;  
}

.section-title {
  font-size: 24px;
  color: #1d3c79;
  font-weight: 600;
  margin-bottom: 20px;
}

.requirements-list {
  list-style: none;
  counter-reset: section;
  padding-left: 0; 
}

.requirements-list > li {
  counter-increment: section;
  font-size: 16px;
  margin-bottom: 15px;
  line-height: 1.6;
}

.requirements-list > li::before {
  content: counter(section) ".";
  font-weight: bold;
  color: #1d3c79;
  margin-right: 5px;
}


/**/
.accordian {
  background-color: #ffffff;
  color: rgba(0, 0, 0, 0.8);
  cursor: pointer;
  font-size: 1.2rem;
  width: 100%;
  padding: 2rem 2.5rem;
  border: 1px solid rgba(0, 0, 0, 0.2);
  outline: none;
  transition: all 0.4s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.accordian i {
  font-size: 1.6rem;
  transition: transform 0.3s ease;
}


.accordian:hover,
.active {
  background-color: #f1f7f5;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.accordian.active i {
  transform: rotate(180deg); 
}


.panel {
  padding: 0 2rem 2.5rem 2rem;
  background-color: #f1f7f5;
  display: none; 
  border-left: 4px solid #0D2E67;
  border-radius: 0 0 8px 8px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out;
}

.panel p {
  color: rgba(0, 0, 0, 0.7);
  font-size: 1.2rem;
  line-height: 1.4;
  margin-top: 10px;
}


.faq.active .panel {
  display: block;
  max-height: 500px; 
}

.faq {
  margin: 15px 0;
}

.faq.active {
  border: none;
  transition: border 0.3s ease-out;
}


.faq-heading {
  font-size: 24px;
  color: #0D2E67;
  font-weight: bolder;
  text-align: center;
  margin-bottom: 30px;
  letter-spacing: 1px;
}

.text1 {
  font-size: 19px;
  font-family: Roboto;
  color:#595959;
  font-style: italic;
}

.update-tcs-text {
  font-size: 24px; 
  transition: all 0.3s ease-in-out;
  text-align: center;
  padding: 10px;
}


@media (max-width: 768px) {
  .update-tcs-text {
    font-size: 18px;
  }
}

@media (min-width: 769px) {
  .update-tcs-text {
    font-size: 29px;
  }
}
.contact-info {
  text-align: center;
  padding: 10px;
  font-size: 16px;
  transition: all 0.3s ease-in-out;
}


@media (min-width: 769px) {
  .contact-info {
    font-size: 20px;
    max-width: 800px;
    margin: 0 auto;
  }
}


@media (max-width: 768px) {
  .contact-info {
    font-size: 16px;
    padding: 8px;
  }
}
 
 .custom-faq-heading {
  font-size: 24px;
  margin-left: 1rem;
}

@media (min-width: 768px) {
  .custom-faq-heading {
    margin-left: 3rem;
  }
}

.wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 15vh;
}

.btn-con {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.btn-c1,
.btn {
  position: absolute;
  width: 288px;
  height: 70px;
  border-radius: 4px;
  transition: transform 0.3s ease-in-out;
}

.btn-c1 {
  
  background: #0D2E67;
  color: white;
  font-size: 1.5rem;
  border: 2px solid #0D2E67;
  position: absolute;
  width: 288px;
  height: 70px;
  border-radius: 4px;
  z-index: 3;
}

.btn {
  background: white;
  border: 2px solid #0D2E67;
  position: absolute;
  width: 288px;
  height: 70px;
  border-radius: 4px;
  z-index: 2;
}


.btn-con:hover #btn1 {
  transform: translateX(-5%) translateY(-24%);
}

.btn-con:hover #btn2 {
  transform: translateX(-2%) translateY(-12%);
}
