@media (max-width: 991px) {
  .desktop-social-icons {
    display: none !important;
  }
}
@media (max-width: 991px) {
  .nav-mobile-row {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    width: 100%;
    padding: 8px 10px 0 10px;
    gap: 10px;
  }
  .nav-mobile-row .social-icons {
    display: flex;
    gap: 10px;
    margin-right: auto;
    font-size: 1.5rem;
  }
  .nav-toggle-container {
    display: flex;
    align-items: center;
    justify-content: flex-end;
  }
  #nav-toggle {
    font-size: 2rem;
    color: #fff;
    z-index: 2100;
  }
}
@media (min-width: 992px) {
  .navbar {
    display: flex;
    align-items: center;
    position: relative;
  }
  .nav-mobile-row {
    display: none;
  }
  .nav-links {
    display: flex;
    flex-direction: row;
    gap: 20px;
    margin: 0;
    padding: 0;
    flex: 1 1 auto;
  }
  .desktop-social-icons {
    display: flex !important;
    gap: 14px;
    margin-left: auto;
    font-size: 1.6rem;
    align-items: center;
    padding-right: 18px;
    order: 2;
  }
  .navbar > .nav-links {
    order: 1;
  }
}
@media (max-width: 991px) {
  .nav-mobile-row {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    width: 100%;
    padding: 8px 10px 0 10px;
    gap: 10px;
  }
  .nav-mobile-row .social-icons {
    display: flex;
    gap: 10px;
    margin-right: auto;
    font-size: 1.5rem;
  }
  .nav-toggle-container {
    display: flex;
    align-items: center;
    justify-content: flex-end;
  }
  .desktop-social-icons {
    display: none !important;
  }
}
/* Nav icon right on mobile */
@media (max-width: 991px) {
  .nav-toggle-container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: 100%;
    padding-right: 18px;
  }
  .navbar {
    position: relative;
  }
  #nav-toggle {
    font-size: 2rem;
    color: #fff;
    z-index: 2100;
  }
}
@media (max-width: 767px) {
  .gallery1,
  .gallery2 {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: center !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 0 !important;
  }
  .gallery1 img,
  .gallery2 img {
    float: none !important;
    margin: 8px auto !important;
    display: block !important;
    width: 44vw !important;
    min-width: 120px;
    max-width: 95vw;
    height: auto !important;
  }
}
@media (max-width: 767px) {
  .gallery1,
  .gallery2 {
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
  }
  .gallery1 img,
  .gallery2 img {
    margin-left: auto !important;
    margin-right: auto !important;
    display: block !important;
    float: none !important;
  }
}
@media (max-width: 767px) {
  .fixed .whatsapp-text {
    display: none !important;
  }
}
@media (max-width: 767px) {
  .gallery1 img,
  .gallery2 img {
    width: 44vw !important;
    min-width: 120px;
    max-width: 95vw;
    height: auto !important;
    margin: 6px auto !important;
    border-width: 2px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
    display: block;
  }
}
.directors-row {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 30px;
  margin: 30px 0;
  flex-wrap: wrap;
}
.map h3 {
  display: block;
  background: #076df2;
  color: #fff;
  padding: 18px 40px;
  font-size: 1.2rem;
  font-weight: bold;
  text-align: center;
  letter-spacing: 1px;
  border-radius: 32px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.10);
  margin: 0 auto 18px auto;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (max-width: 767px) {
  .map h3 {
  font-size: 0.95rem;
    padding: 10px 8px;
  border-radius: 18px;
  }
}

@media (max-width: 767px) {
  .map h3 {
    font-size: 1.2rem;
    padding: 12px 18px;
    border-radius: 0 0 18px 18px;
  }
}

@media (max-width: 767px) {
  .map h3 {
    font-size: 1.2rem;
    padding: 16px 0;
    border-radius: 0 0 18px 18px;
  }
}
html, body {
  max-width: 100vw;
  overflow-x: hidden;
}

@media (max-width: 767px) {
  .directors-row {
    flex-wrap: wrap;
    gap: 20px;
    margin-left: auto;
    margin-right: auto;
    width: 100vw;
    box-sizing: border-box;
    justify-content: center;
  }
}
.directors-row {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 30px;
  margin: 30px 0;
  flex-wrap: wrap;
}
.card-img-top {
  display: block;
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 767px) {
  .fixed {
    width: 50px !important;
    height: 50px;
    padding: 0 !important;
    border-radius: 50%;
    right: 15px !important;
    bottom: 20px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  }
  .fixed a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 0;
  }
  .fixed .whatsapp-text {
    display: none;
  }
  .fixed i {
    font-size: 28px;
    margin: 0;
  }
}
@media (max-width: 767px) {
  .fixed .whatsapp-text {
    display: none;
  }
}
@media (max-width: 1024px) {
    .top-bar {
        flex-direction: column;
        text-align: center;
        padding: 8px;
    }

    .left-section h1 {
        font-size: 16px;
    }

    .logo {
        height: 40px;
        margin-bottom: 8px;
    }

    .nav-links {
        flex-direction: column;
        gap: 10px;
        padding: 0;
    }

    .gallery,
    .address {
        padding: 10px;
        margin: 10px 0;
        box-shadow: none;
    }

    .gallery img,
    .address img {
        width: 100%;
        height: auto;
    }

    .footer {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
  
}

body, h1, h2, ul {
    margin: 0;
    padding: 0;
}

.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color:#bb3c47;
    color: white;
    padding: 10px 20px;
    flex-wrap: wrap;
}

.left-section {
    display: flex;
    align-items: center;
}

.logo {
    height: 60px;
    margin-right: 15px;
}

.left-section h1 {
    font-size: 20px;
    font-weight: bold;
}

.right-section .btn {
    padding: 8px 15px;
    margin-left: 10px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.btn.enroll {
    background-color:#ec8297;
    color: black;
}

.btn.enroll:hover {
    background-color: #bb3c47;
    color: white;
}

.btn.sainik {
    background-color:#ec8297;
    color: black;
}

.btn.sainik:hover {
    background-color: #bb3c47;
    color: white;
}



.navbar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  background:#801821;
  gap: 20px;
  padding-top: 15px;
}

.nav-links {
  list-style: none;
  display: flex;
  flex-direction: row;
  gap: 20px;
  transition: max-height 0.3s, opacity 0.3s;
}

@media (max-width: 991px) {
  .nav-links {
    flex-direction: column;
    position: absolute;
    top: 60px;
    right: 0;
    background: #801821;
    width: 220px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    z-index: 2000;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  }
  .nav-links.nav-active {
    max-height: 600px;
    opacity: 1;
    padding-bottom: 10px;
  }
  .dropdown-menu {
    position: static;
    box-shadow: none;
    min-width: 100%;
    border-radius: 0;
    background: #fff;
  }
  .dropdown .dropdown-menu {
    display: none;
  }
  .dropdown.open .dropdown-menu {
    display: block;
  }
}


.nav-links li {
  position: relative;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  padding: 10px;
  transition: background 0.3s;
}

.nav-links a:hover {
  background:#bb3c47;
  border-radius: 4px;
}

.dropdown-menu {
  display: none;
  position: absolute;
  background: #fff;
  top: 100%;
  left: 0;
  min-width: 180px;
  border-radius: 6px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
  z-index: 1000;
}

.dropdown-menu li {
  width: 100%;
}

.dropdown-menu a {
  display: block;
  padding: 10px;
  color: #004a80;
}

.dropdown-menu a:hover {
  background: #f0f0f0;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

.scroll-bar{
    background-color: #004a80; 
    color: white;
    padding: 8px 0;
    font-weight: bold;
    font-size: 16px;
}

.coaching-banner {
  text-align: center;
}

.coaching-banner img {
  max-width: 98%;
  height: auto;
  border-radius: 10px;
  border: 1px solid #fff;
}




.footer {
  background-color: powderblue;
  display: flex;
  gap: 40px;
  padding: 18px 0 10px 0;
  width: 100vw;
  margin: 0;
  left: 0;
  right: 0;
  position: relative;
  box-sizing: border-box;
  justify-content: center;
  align-items: center;
  min-height: unset;
}



.icons a {
    display: inline-block;
    margin: 0 10px;
    color: black;
    font-size: 24px;
}


.bimg {
        position:static;
        width: 100px;
        animation: flyPath 8s linear infinite, flap 0.3s ease-in-out infinite alternate;
    }

    @keyframes flyPath {
        0%   { transform: translate(0px, 0px) rotate(0deg); }
        20%  { transform: translate(150px, -50px) rotate(10deg); }
        40%  { transform: translate(300px, 50px) rotate(-10deg); }
        60%  { transform: translate(450px, -30px) rotate(10deg); }
        80%  { transform: translate(600px, 40px) rotate(-10deg); }
        100% { transform: translate(800px, 0px) rotate(0deg); }
    }


    @keyframes flap {
        from { transform: scale(1) }
        to   { transform: scale(1.05) }
    }

    .ghed{
     width: 100%;
    padding: 11px 11px;
    padding-top: 15px;
    background:#ec8297;
    box-sizing: border-box;
    color:black;
    height: 65px;

    }

.gallery1, .gallery2 {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  box-sizing: border-box;
  margin: 0 auto 20px auto;
  padding: 0;
  overflow-x: auto;
}


.btn-outline {
        background: transparent;
        border: 2px solid #4cafef;
        color: #4cafef;
    }

    

    .btn {
        padding: 12px 24px;
        border: none;
        background: #4cafef;
        color: white;
        font-size: 16px;
        border-radius: 8px;
        cursor: pointer;
        transition: all 0.4s ease;
        position: relative;
    }

   
    .btn:hover {
        background: #0077cc;
        transform: translateY(-5px) rotate(-3deg);
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    }

   
    .btn:active{
        transform: translateY(0px) rotate(0deg) scale(0.98);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    }

   .grid-container {
  display: flex;
  justify-content: center;
  gap: 20px;               
  margin: 10px 0;
}

.card{
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: transform 0.3s ease;

}


*{
    box-sizing: border-box;
}

.founders {
    text-align: center;
    width: 100%;
    padding: 11px 11px;
    background: #076df2;
    box-sizing: border-box;
    color: #fff;
    height: 65px;
}

.des{
    text-align: center;
     width: 100%;
    padding: 11px 11px;
    background: #076df2;
    box-sizing: border-box;
    color: #fff;
    height: 65px;
}

.des h1 {
    font-family: monospace;
    font-size: 20px;
    white-space: nowrap;
    overflow: hidden;
    border-right: 3px solid black; 
    width: 0;                    
    animation: typing 4s steps(30, end) forwards,
               blink 0.7s step-end infinite alternate;
  }

  @keyframes typing {
    from { width: 0; }
    to { width: 100%; }
  }

  @keyframes blink {
    from { border-color: transparent; }
    to { border-color: black; }
  }

  .description {
     font-family: monospace;
    font-size: 30px;
    white-space: nowrap;
    overflow: hidden;
    border-right: 3px solid black; 
    width: 0;                     
    animation: typing 4s steps(30, end) forwards,
               blink 0.7s step-end infinite alternate;
  }

  @keyframes typing {
    from { width: 0; }
    to { width: 100%; }
  }

  @keyframes blink {
    from { border-color: transparent; }
    to { border-color: black; }
  }


.responsive-map {
  position: relative;
  width: 100%;
  height: 60vh;
  min-height: 350px;
  padding-bottom: 0;
@media (max-width: 767px) {
  .responsive-map {
    height: 40vh;
    min-height: 220px;
  }
}
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  margin-bottom: 20px;
}

.responsive-map iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* .map:hover {
  background-color: #0055aa;   
  transform: translateY(-3px); 
  box-shadow: 0 4px 12px rgba(0,0,0,0.3); 
} */




    /* .address {
      border-radius: 20px;
      padding-left: 30px;
      box-shadow: 0 8px 20px rgba(0,0,0,0.4);
      animation: slideIn 1.5s ease-out forwards;
    }

    @keyframes slideIn {
      from {
        transform: translateX(-100%); 
        opacity: 0;
      }
      to {
        transform: translateX(0); 
        opacity: 1;
      }
    } */

  .fixed{
    position: fixed;
    padding: 10px;
    border-radius: 30px;
    bottom: 30px;
    right: 30px;
    width: 280px;
    background-color: #25D366;
    z-index: 9999;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  }

    .fixed i {
        font-size: 20px;
        color: white;
    }

    .fixed a {
        color: white;
        text-decoration: none;
    }

    .gallery {
      border-radius: 20px;
      padding-left: 30px;
      box-shadow: 0 8px 20px rgba(0,0,0,0.4);
      animation: slideIn 1.5s ease-out forwards;
    }

    @keyframes slideIn {
      from {
        transform: translateX(-100%); 
      }
      to {
          transform: translateX(0); 
          opacity: 1;
      }
    }

    .social-icons {
        display: flex;
        gap: 15px;
        margin-right: 15px;
        font-size: 20px;
    }

  

 

/* For tablets and large mobiles (max width ~992px) */
@media (max-width: 992px) {
  .top-bar {
    flex-direction: column;
    text-align: center;
    padding: 10px;
  }
  .logo {
    height: 50px;
    margin-bottom: 8px;
  }
  .left-section h1 {
    font-size: 18px;
    text-align: center;
  }
  .nav-links {
    flex-direction: column;
    gap: 15px;
    padding: 10px 0;
  }
  .footer {
    flex-direction: column;
    gap: 40px;
    text-align: center;
  }
  .grid-container {
    flex-wrap: wrap;
  }
  .card {
    width: 80%;
  }
  
}

/* For small mobiles (max width ~768px) */
@media (max-width: 768px) {
  .top-bar {
    flex-direction: column;
    text-align: center;
    padding: 8px;
  }
  .logo {
    height: 40px;
    margin-bottom: 8px;
  }
  .left-section h1 {
    font-size: 16px;
  }
  .navbar {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
  }
  .nav-links {
    flex-direction: column;
    gap: 10px;
  }
  .gallery,
  .address {
    padding: 10px;
    margin: 10px 0;
    box-shadow: none;
  }
  .gallery img,
  .address img {
    width: 100%;
    height: auto;
  }
  .footer {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
  .grid-container {
    flex-direction: column;
    align-items: center;
  }
  .card {
    width: 95%;
  }
  .fixed {
    width: 220px;
    font-size: 14px;
    padding: 8px;
    right: 15px;
    bottom: 20px;
  }
  .social-icons {
    justify-content: center;
    margin: 10px 0;
  }
}

