:root{
    --primary-color:#051d41;
    --secondary-color: #ebcd47;
    --tetiary-color: #fd4627;
    --additional-color: #f0f8ff;
}

.b-color1{
    background-color: var(--primary-color) !important;
}

.nav{
    background-color: #051d41;
}

html, body{
    background-color: aliceblue !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
}

i.a-color{
    color: var(--tetiary-color) !important;
}
i.a-color::after{
    color: var(--tetiary-color) !important;
    background-color: #fd4627 !important;
}

.imgc{
    background-color: #f0f8ff;
    height: fit-content;
    width: fit-content;
    border-radius: 50%;
}

.mobile-menu{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 98;
    opacity: 0;
    transform: translateY(-100%);
    background-color: var(--primary-color);
    color: aliceblue;
    transition: 0.3s;
    padding-top: 130px;
}

.sticky-header{
    position: fixed;
    z-index: 999;
    transition: .4s;
    top: -10px;
    width: 100%;
    margin: 0;
    padding-top: 50px;
    background-color: aliceblue;
    height: fit-content;
}

#sticky-nav{
    margin-top: 10px;
}

.contain1{
    display: flex;
    justify-content: center;
    align-items: center;
}

.contain{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
}

.contain div{
    width: 200px;
    background-color: var(--secondary-color);
    z-index: 90;
    margin: 20px;
    padding: 50px;
    height: 200px;
    box-shadow: 
    0 10px 25px rgba(0, 0, 0, 0.15),
    0 4px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.contain div:hover {
  transform: translateY(-6px);
  box-shadow: 
    0 18px 40px rgba(0, 0, 0, 0.2),
    0 8px 18px rgba(0, 0, 0, 0.12);
}

.contain div h3{
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 20px;
    color: var(--tetiary-color);
}

.contain div p{
    color: var(--primary-color);
    text-align: center;
}

/* .index-footer{
    margin-top: 50px;
} */

.admission-footer{
    margin-top: 50px;
}

.gallery-footer{
    margin-top: -50px;
}

.about{
    background-image: url(../images/about.png) !important;
    background-position: center;
}

.touchc{
    margin-top: 0px !important;
}

.gallery-section {
  padding: 60px 20px;
  text-align: center;
}

.gallery-section h2 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.gallery-intro {
  color: #666;
  margin-bottom: 30px;
}

/* Filters */
.gallery-filters {
  margin-bottom: 30px;
}

.gallery-filters button {
  padding: 10px 18px;
  margin: 5px;
  border: none;
  background: var(--tetiary-color);
  cursor: pointer;
  border-radius: 20px;
  transition: 0.3s;
}

.gallery-filters button.active,
.gallery-filters button:hover {
  background: var(--primary-color);
  color: #fff;
}

/* Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

/* Gallery Item */
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

/* Overlay */
.gallery-item .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  opacity: 0;
  transition: 0.3s;
}

.gallery-item:hover .overlay {
  opacity: 1;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

.lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
}

.lightbox .close {
  position: absolute;
  top: 30px;
  right: 40px;
  font-size: 35px;
  color: #fff;
  cursor: pointer;
}

/* ENROLL BUTTON */
.enroll-btn {
  background: none;
  border: none;
  padding: 10px 18px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
}

.enroll-btn:hover{
    background-color: #051d41;
}

.enroll-btn2{
    background-color: #051d41;
    margin: 50px;
    width: 200px;
}

.ad-enroll-btn2{
    background-color: #051d41;
    margin-top: 100px;
    width: 200px;
}

.pre-enroll-btn2{
    background-color: #051d41;
    margin-bottom: 50px;
    width: 200px;
}

/* MODAL OVERLAY */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 999;
  /* max-height: 90vh; */
  overflow-y: auto;
}

/* MODAL BOX */
.modal {
  background: #fff;
  width: 90%;
  max-width: 500px;
  padding: 25px;
  border-radius: 10px;
  position: relative;
  animation: slideUp 0.3s ease;
  margin-top: 200px;
  margin-bottom: 10px;
  z-index: 1000;
}

/* CLOSE BUTTON */
.close-btn {
  position: absolute;
  top: 12px;
  right: 15px;
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  color: #fd4627;
  transition: transform 0.3s ease;
}

.close-btn:hover{
    background: none;
    color: #fd4627;
    transform: rotate(90deg);
}

/* FORM */
.modal h2 {
  margin-bottom: 5px;
}

.modal p {
  font-size: 14px;
  color: #666;
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 15px;
}

.form-group label {
  font-size: 13px;
  display: block;
  margin-bottom: 5px;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 10px;
  border-radius: 5px;
  border: 1px solid #ccc;
  outline: none;
}

/* SUBMIT BUTTON */
.submit-btn {
  width: 100%;
  background: var(--primary-color);
  color: #fff;
  border: none;
  padding: 12px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
}

.submit-btn:hover{
    background: var(--primary-color);
}

/* ANIMATION */
@keyframes slideUp {
  from {
    transform: translateY(40px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Privacy */

   .privacy * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
      font-family: Arial, sans-serif;
    }

    .privacy body {
      background: #f5f7fa;
      color: #333;
      line-height: 1.6;
    }

    .privacy .container {
      max-width: 1000px;
      margin: 40px auto;
      padding: 20px;
      background: white;
      border-radius: 10px;
      box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    }

    .privacy h2 {
      margin-top: 25px;
      color: var(--primary-color);
      font-size: 20px;
    }

    .privacy p {
      margin-top: 10px;
      font-size: 15px;
    }

    .privacy ul {
      margin-top: 10px;
      padding-left: 20px;
    }

    .privacy li {
      margin-bottom: 8px;
    }

    /* 📱 Responsive */
    @media (max-width: 600px) {
      .privacy .container {
        margin: 20px;
        padding: 15px;
      }

      .privacy h2 {
        font-size: 18px;
      }

      .privacy p, li {
        font-size: 14px;
      }
    }

  /* /Privacy */

  /* Terms */
    .terms * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
      font-family: Arial, sans-serif;
    }

    .terms body {
      background: #f5f7fa;
      color: #333;
      line-height: 1.6;
    }

    .terms .container {
      max-width: 1000px;
      margin: 40px auto;
      padding: 20px;
      background: white;
      border-radius: 10px;
      box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    }

    .terms h2 {
      margin-top: 25px;
      color: var(--primary-color);
      font-size: 20px;
    }

    .terms p {
      margin-top: 10px;
      font-size: 15px;
    }

    .terms ul {
      margin-top: 10px;
      padding-left: 20px;
    }

   .terms li {
      margin-bottom: 8px;
    }

    /* 📱 Responsive */
    @media (max-width: 600px) {
      .terms .container {
        margin: 20px;
        padding: 15px;
      }

      .terms h2 {
        font-size: 18px;
      }

      .terms p, li {
        font-size: 14px;
      }
    }
  
    /* /Terms */

@media (max-width:1024px) {

    
    .index-footer{
      margin-top: 250px;
    }

    .admission-footer{
        margin-top: 300px;
    }

    .pre-footer{
      margin-top: 200px;
    }
}


@media (max-width:950px) {
     
    .contain{
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
    }

    .ad-enroll-btn2{
      margin-top: 350px;
    }

    .admission-footer{
        margin-top: 300px;
    }
}


@media (max-width:766px) {
    #sticky-nav{
        display: none;
    }

    
    .index-footer{
      margin-top: 0px;
    }

    .pre-footer{
    margin-top: -10px;
  }

    .sticky-header-sm{
        position: fixed;
        z-index: 99;
        transition: .4s;
        top: 10;
        width: 100%;
        background-color: aliceblue;
        height: fit-content;
    }

    .mobile-menu ul{
        list-style-type: none;
        width: fit-content;
        
    }

    .mobile-menu ul li{
        padding: 10px;
        margin: 10px;
        font-size: 1.25rem;
        transition: 0.3s;
        color: aliceblue;
    }

    .mobile-menu ul li:hover{
        color: var(--primary-color);
        background-color: var(--secondary-color);
        border-radius: 20px;
    }

    .mobile-menu.show{
        opacity: 1;
        transform: translateY(0);
    }

    .hands-on{
        margin-top: -500px;
    }

    .contain{
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .admission-footer{
        margin-top: 50px;
    }
}

@media (max-width:480px) {

  .contain div{
    width: 170px;
    background-color: var(--secondary-color);
    z-index: 90;
    margin: 20px;
    padding: 20px;
    height: 170px;
    box-shadow: 
    0 10px 25px rgba(0, 0, 0, 0.15),
    0 4px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
  }
}
