/* MEDIA QUERIES FOR SMALL DEVICES */


/* NAVBAR */

@media only screen and (max-width: 940px) {
  .nav-menu {
    position: fixed;
    right: -100%;
    top: 2px;
    height: 100vh;
    flex-direction: column;
    background-color: #faf9f6;
    width: 100%;
    border-radius: 10px;
    transition: 0.5s;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
  }

  .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 25px;
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-link {
    margin-top: 25px;
    font-weight: bold;
    font-size: 25px;
  }

  .nav-item {
    margin-left: 20px;
    margin-top: 20px;
  }

  .hamburger {
    display: block;
    /* display: flex; */
    cursor: pointer;
  }

  .hamburger.active .bar:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  @media (min-width:200px) and (max-width:245px) {
    .nav-logo img {
      /* font-size: 30px; */
      height: 45px;
      width: 85px;
      font-weight: bold;
      color: #000000;
    }
  }

  /* BUTTONS */
  @media (max-width: 576px) {
    .custom-btn {
      padding: 8px 20px;
      font-size: 14px;
    }
  }

  /* UTILITY CLASSES */
  @media (max-width: 576px) {
    .custom-btn {
      padding: 8px 20px;
      font-size: 14px;
    }
  }

  /* UTILITY CLASSES */
  /* Responsive Design */
  @media (max-width: 768px) {
    #directors-section {
      padding: 20px;
    }

    .section-title {
      font-size: 24px;
    }

    .section-paragraph {
      font-size: 14px;
    }
  }

}





/* MEDIA QUERIES FOR CONENT BOXES */
/* @media (min-width: 665px) and (max-width: 990px) {
  .main {
    height: 100vh;
  }
  .main-section .right-content video {
    width: 100%;
    height: 400px;
    border-radius: 20px;
}
} */

@media (min-width: 990px) and (max-width: 1399px) {

  big {
    font-size: 32px;
  }

  .left-content h1 {
    color: white;
    font-size: 22px;
    font-weight: bold;
    text-align: left;
  }

  .left-content p {
    color: white;
    font-size: 16px;
    font-weight: lighter;
    text-align: left;
  }

  .content-box h1 {
    font-size: 30px;
    font-weight: bold;
    text-align: justify;
  }

  .content-box p {
    font-size: 16px;
    text-align: justify;
  }

  .about-section h1 {
    font-size: 35px;
    color: #c0ddff;
  }

  /* Underline effect */
  .about-section h1::after {
    content: '';
    width: 80px;
    height: 3px;
    color: #c0ddff;
  }

  /* About Us paragraph styling */
  .about-section p {
    font-size: 20px;
    color: #c0ddff;
    text-align: center;
    max-width: 800px;
    margin: 40px auto 0;
    text-align: justify;
    padding: 5px 30px;
  }








}

@media (min-width: 770px) and (max-width: 990px) {
  big {
    font-size: 28px;
  }

  .left-content h1 {
    color: white;
    font-size: 22px;
    font-weight: bold;
    text-align: left;
  }

  .left-content p {
    color: white;
    font-size: 18px;
    font-weight: lighter;
    text-align: left;
  }
}


/* FOR FOTTER AND BACKGROUND */
@media (min-width: 360px) and (max-width: 990px) {
  .c-background {
    margin: 60px 30px;
  }

  .footer h5 {
    font-size: 14px;
  }

  .footer a {
    font-size: 14px;
  }

}




/* CONENT AND FOOTER SECTION */

@media (min-width: 330px) and (max-width: 760px) {
  .content-section img {
    margin-bottom: 100px;
  }

  .footer h5 {
    font-size: 20px;
    margin-top: 20px;
  }

  .footer a {
    font-size: 18px;
  }

  .col-md-8 {
    padding: 30px;
  }
  .form-select {
    height: 30px;
  }
  
  .form-select option {
    font-size: 20px;
  }
  
  input {
    height: 30px;
    font-size: 20px;
  }
  
  input .placeholder {
    font-size: 20px;
  }
  .contact-container {
    padding: 13px;
}

  /* CONNECT SECTION */
  .contact-section .contact-box {
    margin: 5px 0;
    width: 100%;
  }

  .contact-section .contact-box h4 {
    font-size: 20px;
  }

  .contact-section .contact-box p {
    font-size: 16px;
  }
}

@media (min-width: 200px) and (max-width: 330px){
  .form-select option {
    font-size: 16px;
  }
  
  input {
    height: 20px;
    font-size: 20px;
  }
  
  input .placeholder {
    font-size: 16px;
  }
  .contact-container {
    padding: 10px;
}

  /* CONNECT SECTION */
  .contact-section .contact-box {
    margin: 5px 0;
    width: 100%;
  }

  .contact-section .contact-box h4 {
    font-size: 18px;
  }

  .contact-section .contact-box p {
    font-size: 16px;
  }
}






/* Optional: Adjust height on smaller devices */
@media (max-width: 768px) {
  .carousel-item img {
    max-height: 50vh;
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .why-paathshala h2 {
    font-size: 1.8rem;
  }
}

@media (max-width: 576px) {
  .footer .brand-logo img {
    max-width: 90px;
  }

  .footer .footer-links h5 {
    font-size: 16px;
  }

  .footer .social-icons a {
    font-size: 18px;
  }
}

@media (min-width:350px) and (max-width:325px) {
  .navbar {
    width: 100%;
  }
}


/* ABOUT SECTION */
@media (max-width: 576px) {
  .about-section h1 {
    font-size: 28px;
  }

  .about-section h1::after {
    width: 60px;
    height: 2px;
  }

  .about-section p {
    font-size: 22px;
  }
}

/* @media (min-width:460px) and (max-width:565px){
  .about-intro h1{
    margin-top: -40px;
  }
} */
@media (min-width: 480px) and (max-width: 768px) {
  .about-section h1 {
    font-size: 28px;
    font-weight: bold;
    text-align: center;
    position: relative;
    color: #c0ddff;
    margin-top: 70px;
  }

  /* Underline effect */
  .about-section h1::after {
    content: '';
    width: 100px;
    height: 3px;
    border-radius: 3px;
    color: #c0ddff;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -10px;
  }

  /* About Us paragraph styling */

  .about-section p {
    font-size: 18px;
    color: #c0ddff;
    text-align: center;
    max-width: 1200px;
    margin: 40px auto 0;
    text-align: justify;
    padding: 5px 30px;
  }

  /* Section Heading with underline */
  h2.text-underline {
    color: #080809;
    display: inline-block;
    font-size: 30px;
    padding-bottom: 5px;
    margin-top: 100px;
  }
}




/* CONTACT PAGE */
/* Responsive Design */
@media (max-width: 768px) {
  .contact-section {
    flex-direction: column;
    align-items: center;
  }
}



@media (min-width:260px) and (max-width: 768px) {
  .award-content {
    margin-top: 20px;
  }

  .content-section .text-content {
    padding: 30px;
  }
.mission-vision .text-content{
  margin-top: -90px;
}
}



/* ABOUT SECTION */
@media (min-width: 250px) and (max-width: 480px) {
  .about-section h1 {
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    position: relative;
    color: #c0ddff;
  }

  /* Underline effect */
  .about-section h1::after {
    content: '';
    width: 80px;
    height: 3px;
    border-radius: 3px;
    color: #647487;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -10px;
  }

  /* About Us paragraph styling */
  .about-section p {
    font-size: 16px;
    color: #c0ddff;
    text-align: center;
    max-width: 1200px;
    margin: 40px auto 0;
    text-align: justify;
    padding: 5px 30px;
  }
  .about-img {
    height: 87vh;
  }
  /* Section Heading with underline */
  h2.text-underline {
    border-bottom: 2px solid #0b233e;
    display: inline-block;
    font-size: 30px;
    padding-bottom: 5px;
    margin-top: 100px;
  }
}
@media (min-width: 250px) and (max-width: 420px) {
  .about-img {
    /* height: 70vh; */
    height: auto;
  }
  .about-section p {
    font-size: 13px;
  }
}

/* MEDIA QUERIES FOR UTILITY CLASSES */
@media (min-width: 773px) and (max-width: 990px) {
  big {
    font-size: 38px;
  }

  .testimonial-card p {
    font-size: 10px;
  }

  /*  /* Heading styling */
  .text-content h2 {
    font-size: 20PX;
  }

  /* Paragraph styling */
  .text-content p {
    font-size: 16PX;
  }

  .text-content ul li {
    padding-left: 25px;
    margin-bottom: 10px;
    font-size: 16PX;
  }
}

@media (min-width:570px) and (max-width:775px) {
  big {
    font-size: 35px;
  }

  .left-content h1 {
    color: white;
    font-size: 26px;
    font-weight: bold;
    text-align: left;
  }

  .left-content p {
    color: white;
    font-size: 18px;
    font-weight: bold;
    text-align: left;
  }

  .directors-content h1 {
    font-size: 24px;
    font-weight: bold;
  }

  .extra-info {
    font-size: 18px;
  }

  /* LEGACY */
  .content-box h1 {
    font-size: 24px;
    font-weight: bold;
  }

  .content-box p {
    font-size: 18px;
    color: #7f8c8d;
    text-align: justify;

  }
}


@media (min-width:570px) and (max-width: 668px){
  .main-content{
    height:105vh;
  }
}

@media (min-width:395px) and (max-width:570px){
  .main-content{
    height:105vh;
  }
}
@media (min-width:299px) and (max-width:395px){
  .center-section h1{
    font-size: 20px;
  }
  .center-section p{
    font-size: 16px;
  }
  .main-content{
    height:110vh;
  }
}
@media (min-width:200px) and (max-width:299px){
  .main-content{
    height:115vh;
  }
}

@media (min-width:570px) and (max-width:990px) {

  .about-img {
    height: 100vh;
  }
}
@media (min-width:480px) and (max-width:570px) {

  .about-img {
    height: 110vh;
  }
}


@media (min-width:250px) and (max-width:300px){
  .center-section h1{
    font-size: 20px;
  }
  .center-section p{
    font-size: 16px;
  }
}



@media (min-width:200px) and (max-width:570px) {

  .main-section {
    margin-top: 50px;
    height: 100vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }

  .left-content h1 {
    font-size: 18px;
  }

  .left-content p {
    font-size: 14px;
  }

  .about-section h1 {
    font-size: 22px;
    text-align: center;
    /* margin-bottom: 70px; */
  }

  .fb h4 {
    font-size: 16px;
  }

  .card-body h2 {
    font-size: 16px;
  }

  .card-body h1 {
    font-size: 14px;
    font-weight: bold;
  }

  .content-section {
    margin-top: -50px;
  }

  .child h2 {
    position: relative;
    font-size: 20PX;
    color: #133152;
    margin-bottom: 15px;
  }

  .child ul li {
    font-size: 14px;
  }

  .query-box h4 {
    margin-bottom: 15px;
    font-size: 18px;
  }

  .query-box p {
    margin-bottom: 15px;
    font-size: 18px;
  }




  /* NAV LOGO */
  .nav-logo img {
    height: 50px;
    width: 100px;
    font-weight: bold;
    color: #000000;
    margin-left: 10px;
  }

  .directors-content h1 {
    font-size: 20px;
    font-weight: bold;
  }

  .extra-info {
    font-size: 14px;
  }

  /* LEGACY */
  .content-box h1 {
    font-size: 20px;
    font-weight: bold;
  }

  .content-box p {
    font-size: 14px;
    color: #7f8c8d;
    text-align: justify;
  }
}

@media (min-width: 240px) and (max-width:380px) {
  .course-details h2 {
    font-size: 25px;
  }

  .course-details p {
    font-size: 16px;
    text-align: justify;
  }
}

@media (max-width: 768px) {
  .course-box {
    height: auto;
    overflow-y: auto;
  }
}

@media (min-width: 230px) and (max-width: 480px) {
  .course-box {
    height: 400px;
    overflow-y: scroll;
    background-color: #f1f1f1;
    border-radius: 10px;
    padding: 15px;
  }

  .heading-underline {
    font-size: 25px;
    font-weight: bold;
  }

  .inFade {
    font-size: 30px;
  }

  .modal-dialog {
    height: 500px;
  }
}

@media (min-width: 230px) and (max-width: 950px) {
  .course-box {
    height: 400px;
    overflow-y: scroll;
    background-color: #f1f1f1;
    border-radius: 10px;
    padding: 15px;
  }
}



