body {
    display: grid;
    grid-template-rows: auto 1fr;
    min-height: 100vh;
    font-family: math;

  }
  .button-container {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    /* padding: 20px; */
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: #f0f0f0;
}

/* Enhanced Pulse Button */
.btn-pulse {
    background: rgb(0, 102, 204);
    color: white;
    border: none;
    padding: 10px 30px;
    border-radius: 50px;
    font-size: 18px;
    position: relative;
    animation: pulse 1.5s infinite;
    transition: all 0.3s ease;
    margin-left: 43px;
}

.btn-pulse:hover {
    transform: scale(1.05);
    background: #003366;
}

/* Double pulse effect */
.btn-pulse::before,
.btn-pulse::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50px;
    /* animation: pulseBorder 1.5s infinite; */
    opacity: 0.8;
}

.btn-pulse::after {
    animation-delay: 1s;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(0, 51, 102, 0.6);
    }
    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 15px rgba(0, 51, 102, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(0, 51, 102, 0);
    }
}

@keyframes pulseBorder {
    0% {
        border: 2px solid rgba(0, 51, 102, 0.6);
        transform: scale(1);
    }
    50% {
        border: 2px solid rgba(0, 51, 102, 0.3);
        transform: scale(1.3);
    }
    100% {
        border: 2px solid rgba(0, 51, 102, 0);
        transform: scale(1.5);
    }
}
   /* Media queries for specific adjustments */
   @media (max-width: 768px) {
    .btn-pulse {
        margin: 10px;
    }
    
    @keyframes pulseBorder {
        0% {
            transform: scale(1);
        }
        50% {
            transform: scale(1.2);
        }
        100% {
            transform: scale(1.3);
        }
    }
}

@media (max-width: 991.98px) {
    .btn-pulse {
        position: absolute; /* Use absolute positioning */
        top: 10px;
        left: 19%; /* Shift it to the center of the parent */
        transform: translateX(-50%); /* Adjust to center it */
        /* margin-top: 20px;  Optional margin on top for spacing  */
        font-size: 12px !important;
        padding: 10px 20px !important;
        
    }
}

/* Text glow effect */
.btn-pulse span {
    position: relative;
    z-index: 1;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
}

  .partner-list-container {
    width: 100%;
    display: block;
    white-space: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  .partner-list-inner {
    display: inline-flex;
    white-space: nowrap;
    font-size: 0; /* Remove the whitespace between inline-block elements */
  }
  
  .partner-list-inner > * {
    display: inline-block;
    white-space: normal;
    font-size: 1rem; /* Reset the font size */
  }
  .custom-image {
    max-width: 100%; /* Ensure the image is responsive */
    height: auto; /* Maintain aspect ratio */
}
  .drop-cap {
    float: left;
    font-size: 4em; /* Adjust size as needed */
    line-height: 0.8; /* Adjust line height as needed */
    margin-right: 0.1em; /* Space between drop cap and text */
    font-weight: bold; /* Optional: make it bold */
}
.activity-card {
    margin-bottom: 20px;
}
.card-img-top {
    height: 200px; /* Set a fixed height for images */
    object-fit: cover; /* Maintain aspect ratio and cover the card */
}
.clearfix::after {
    content: "";
    clear: both;
    display: table;
}
  /* .underline {
    display: inline-block;
    border-bottom: 4px solid #003366; 
    padding-bottom: 6px; 
} */
  .banner {
    background-size: cover;
    background-position: center;
    height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}
.contact_banner{
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/banner/contactBanner.jpg'); 
}
.about_banner{
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://images.unsplash.com/photo-1423666639041-f56000c27a9a?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1474&q=80'); 
}
.default_banner{
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcS3HRH2NZLO2ogWR8DuGEShnLGRsiziOWfXUw&s'); 
}
.banner h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}
.banner p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}
@media (max-width: 768px) {
    .banner h1 {
        font-size: 2.5rem;
    }
    .banner p {
        font-size: 1rem;
    }
}
  .partner-logo {
    max-width: 150px;
    height: auto;
    transition: transform 0.3s ease;
}
.partner-logo:hover {
    transform: scale(1.05);
}
.partner-card {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    background-color: #ffffff;
}
  .event-date {
    background-color: #4a90e2;
    color: white;
    text-align: center;
    padding: 10px;
    border-radius: 5px 0 0 5px;
}
.event-date .month {
    font-size: 1rem;
    text-transform: uppercase;
}
.event-date .day {
    font-size: 1.5rem;
    font-weight: bold;
}
.card-body{
    color: black;
}
.event-card {
    transition: transform 0.3s ease;
}
.event-card .row{
    height: 100%;
}

.event-card:hover {
    transform: translateY(-5px);
}
@media (max-width: 767.98px) {
    .event-date {
        border-radius: 5px 5px 0 0;
    }
}
  .hero-section {
    height: 100vh;
    color: white;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    object-fit: cover;
    object-position: bottom;
    
}
/* .hero-section-contact {
    
    background: url("https://static.vecteezy.com/system/resources/thumbnails/020/804/109/small_2x/communication-and-technology-concept-hand-putting-wooden-block-cube-symbol-telephone-email-address-website-page-contact-us-or-e-mail-marketing-contact-us-in-customer-support-concept-photo.jpg") no-repeat center center;
} */

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/DSC_0531.JPG'),
                      url('../images/DSC_0515.JPG'),
                     url('../images/DSC_0470.JPG');
    background-size: cover;
    background-position: center;
    animation: slideBackground 20s linear infinite;
    z-index: -1;
    
}

.hero-content, .caption {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 20px;
    border-radius: 10px;
    bottom: 85%;
}

.hero-section h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero-section p {
    font-size: 1.25rem;
    margin-bottom: 20px;
}

.btn-primary {
    display: inline-block;
    padding: 10px 20px;
    background-color: #4a90e2;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease-in;
}

.btn-primary:hover {
    background-color: #3a7bc8;
}

@keyframes slideBackground {
    0%, 33% {
        background-image: url('../images/DSC_0531.JPG');
    }
    33.01%, 66% {
        background-image: url('../images/DSC_0515.JPG');
    }
    66.01%, 99.99% {
        background-image: url('../images/DSC_0470.JPG');
    }
    100% {
        background-image: url('../images/DSC_0531.JPG');
    }
}

/* Responsive design */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2rem;
    }

    .hero-section p {
        font-size: 1rem;
    }

    .btn-primary {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
} 

.footer {
    background: #333;
    color: #fff;
    padding: 20px;
    text-align: center;
}
.nav-item.dropdown:hover .dropdown-menu {
    display: block;
}
.s-header {
    height: fit-content;
    position: sticky; 
    top: 0;
    left: 0; 
    width: 100%; 
    z-index: 1000; 
    background-color: #C5E8FC;
    font-weight: 600;
    font-size: 15px;
    font-family: math;
    text-transform: uppercase;
}

.school-footer {
    background-color: #003366;
    color: #ffffff;
    padding: 40px 0 20px;
    font-family: Arial, sans-serif;
  }

  .footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    max-width: 1200px;
    margin: 0 auto;
  }

  .footer-section {
    flex: 1;
    margin: 0 20px;
    min-width: 250px;
  }

  .footer-section h3 {
    color: #f5e8bc;
    margin-bottom: 20px;
    font-size: 1.2em;
  }

  .footer-section p, .footer-section ul {
    font-size: 0.9em;
    line-height: 1.6;
  }

  .footer-section ul {
    list-style-type: none;
    padding: 0;
  }

  .footer-section ul li {
    margin-bottom: 10px;
  }

  .footer-section a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
  }

  .footer-section a:hover {
    color: #f5e8bc;
  }

  .footer-bottom {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #ffffff33;
  }

  .social-icons {
    margin-top: 20px;
  }

  .social-icons a {
    color: #ffffff;
    margin: 0 10px;
    font-size: 1.2em;
    transition: color 0.3s ease;
  }

  .social-icons a:hover {
    color: #f5e8bc;
  }

  /* Responsive design */
  @media (max-width: 768px) {
    .footer-content {
      flex-direction: column;
    }

    .footer-section {
      margin-bottom: 30px;
    }
  }

.container, .container-lg, .container-md, .container-sm, .container-xl {
    max-width: 1305px;
}





    .card a {
        color: #CC5500;
    }

.tab-panels ul {
    margin: 0;
    padding: 0;
}

    .tab-panels ul li {
        list-style-type: none;
        display: inline-block;
        background: #CC5500;
        margin: 0;
        padding: .5em 1.5em;
        border-radius: .5em .5em 0 0;
        color: #fff;
        font-weight: 50;
        cursor: pointer;
    }

        .tab-panels ul li:hover {
            color: #fff;
            background: navy;
        }

        .tab-panels ul li.active {
            color: #fff;
            background: navy;
        }

.tab-panels .panel {
    display: none;
    background: white;
    color: black;
    padding: 1.5em;
    border-radius: 0 0 .8em .8em;
}

    .tab-panels .panel.active {
        display: block;
    }

.container-fluid {
    width: 75%;
    margin-top: 50px;
    margin-bottom: 50px;
    padding-top: 50px;
    padding-bottom: 50px;
}

.btn-more {
    background-color: #CC5500;
    color: white;
}

    .btn-more:hover {
        background-color: navy;
        color: white;
    }

.btn-outline-more {
    background-color: #fff;
    border-radius: 20px;
    border-color: #CC5500;
    color: #CC5500 !important;
    width: 160px;
}

    .btn-outline-more:hover {
        background-color: navy;
        color: white !important;
        border: none;
    }

.fit {
    max-width: 100%;
    max-height: 95%;
    width: 380px;
    height: 300px;
    border: 1px solid;
    margin-left: 106px;
}

.service {
    color: #CC5500;
}

.unit-4 .unit-4-icon span {
    color: #CC5500;
}

html {
    scroll-behavior: smooth;
}

input:focus ~ label, textarea:focus ~ label, input:valid ~ label, textarea:valid ~ label {
    font-size: 0.75em;
    color: #999;
    top: -5px;
    -webkit-transition: all 0.225s ease;
    transition: all 0.225s ease;
}

.styled-input {
    float: left;
    width: 300px;
    margin: 1rem -7px;
    position: relative;
    border-radius: 4px;
}

    .styled-input label {
        color: #999;
        padding: 1.3rem 30px 1rem 30px;
        position: absolute;
        top: 10px;
        left: 0;
        -webkit-transition: all 0.25s ease;
        transition: all 0.25s ease;
        pointer-events: none;
    }

    .styled-input.wide {
        width: 650px;
        max-width: 100%;
    }

::placeholder {
    color: #000839;
    opacity: 1; /* Firefox */
    font-size: 14px;
}

:-ms-input-placeholder { /* Internet Explorer 10-11 */
    color: #000839;
}

:-ms-input-placeholder { /* Microsoft Edge */
    color: #000839;
}

input,
textarea {
    padding: 5px;
    border: 0;
    width: 100%;
    font-size: 1rem;
    background-color: #ffffff;
    color: navy;
    border-radius: 4px;
    padding-left: 20px;
}

    input:focus,
    textarea:focus {
        outline: 0;
    }

        input:focus ~ span,
        textarea:focus ~ span {
            width: 100%;
            -webkit-transition: all 0.075s ease;
            transition: all 0.075s ease;
        }

textarea {
    width: 100%;
    min-height: 15em;
}

.input-container {
    width: 650px;
    max-width: 100%;
    margin: 20px auto 25px auto;
}

.submit-btn {
    /* float: right; */
    padding: 7px 35px;
    border-radius: 60px;
    display: inline-block;
    background-color: #4b8cfb;
    color: white;
    font-size: 18px;
    cursor: pointer;
    box-shadow: 0 2px 5px 0 rgba(0,0,0,0.06), 0 2px 10px 0 rgba(0,0,0,0.07);
    -webkit-transition: all 300ms ease;
    transition: all 300ms ease;
}

    .submit-btn:hover {
        transform: translateY(1px);
        box-shadow: 0 1px 1px 0 rgba(0,0,0,0.10), 0 1px 1px 0 rgba(0,0,0,0.09);
    }

input[type=checkbox] + label {
    color: #ccc;
    font-style: italic;
}

input[type=checkbox]:checked + label {
    color: #f00;
    font-style: normal;
}

@media only screen and (min-width: 1000px) and (max-width: 1800px) {
    .fit {
        max-width: 100%;
        max-height: 95%;
        margin-left: 106px !important;
    }

    .bv {
        width: 735px;
        height: 800px;
    }

    .intro {
        padding: 65px 122px 60px 0px;
    }
    .klm {
        padding-top: 50px;

    }

    .mkl {
        width: 550px;
        height: 380px;
        margin-top: 6%;
        margin-bottom: 6%;
    }
}

@media only screen and (min-width: 1680px) and (max-width: 2500px) {
    .fit {
        max-width: 75%;
        max-height: 95%;
        margin-left: -110px;
    }

    .container-fluid {
        margin-right: 0px;
    }

    .bv {
        width: 935px;
        height: 900px;
    }

    .intro {
        padding: 65px 122px 60px 0px;
    }
    .klm {
        padding-top: 50px;

    }
    .mkl {
        width: 940px;
        height: 380px;
        margin-top: 5%;
        margin-bottom: 6%;
    }
}

@media only screen and (min-width: 360px) and (max-width: 1400px) {
    .fit {
        margin-left: -25px;
    }

    .col-lg-5 .bv {
        width: 536px !important;
        height: 500px !important;
        padding: 10px !important;
    }

    .intro {
        padding: 10px;
    }

    .submit-btn {
        width: 100%;
        float: none;
        text-align: center;
    }

    .styled-input {
        width: 100%;
    }

    .mkl {
        width: 400px;
        height: 220px;
        margin-top: 3%;
        margin-bottom: 1%;
    }

    .nbh {
        margin-top: 3%;
    }

    .bghh {
        width: 400px;
        margin-top: 0%
    }

    .klm {
        font-size: 25px;
        padding-top: 50px;

    }
}

@media only screen and (min-width: 985px) and (max-width: 1060px) {
    .hby {
        display: none;
    }

    .bgk {
        max-width: 100%;
        flex: none;
    }

    .sew {
        width: 70% !important;
    }
    .klm {
        padding-top: 50px;

    }
}

@media only screen and (min-width: 0px) and (max-width: 998px) {
    .hby {
        display: none;
    }

    .bgk {
        max-width: 100%;
        flex: none;
    }

    .bew {
        display: none;
    }

    .sew {
        width: 80% !important;
    }

    .kll {
        display: none;
    }

    .intro {
        max-width: 100%;
        flex: none;
        padding: 40px 40px 60px 40px;
    }

    .deg {
        width: 100%;
        padding-left: 150px;
    }
    .klm {
        padding-top: 50px;

    }

    .gtb {
        width: 170px;
        text-align: center;
    }
}

@media only screen and (min-width: 991px) and (max-width: 1348px) {
    .gtb {
        width: 170px;
        text-align: center;
    }

    .new {
        max-width: 100%;
        flex: none;
    }
    .klm {
        padding-top: 50px;

    }
    .bew {
        display: none;
    }

    .sew {
        width: 80% !important;
    }
}

.hby {
    width: 700px;
    height: 350px;
    margin-top: 5%;
}

#myIframe {
    width: 700px !important;
    height: 350px !important;
}

.sew {
    width: 80%;
}
