/* General Styles */

:root {
    font-size: 1vw;
}

@media (max-width: 1024px) {
    :root {
        font-size: 2vw;
    }
}

@media (max-width: 768px) {
    :root {
        font-size: 3vw;
    }
}

@media (max-width: 468px) {
    :root {
        font-size: 4vw;
    }
}

@media (max-width: 64rem) {

    /* 1024px to rem */
    h2 {
        font-size: 1.8rem !important;
    }
}

@media (max-width: 48rem) {

    /* 768px to rem */
    h2 {
        font-size: 1.5rem !important;
    }
}

@media (max-width: 29.25rem) {

    /* 468px to rem */
    h2 {
        font-size: 1.8rem !important;
    }
}

/* background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(1px); */

/* Header Styling */
.transparent-header {
    /*position: absolute;*/
    top: 0;
    left: 0;
    width: 100%;
    padding: 15px 0;
    z-index: 1000;
}

/* Logo Styling */
.header-logo {
    max-width: 300px; /* Adjust as needed */
    height: auto;
    /* background-color: white; */
    padding: 10px;
    border-radius: 4px;
}

/* Contact Info Styling */
.contact-info {
    font-size: 16px;
    font-weight: 500;
}

.contact-info a {
    color: blue;
    text-decoration: none;
}

.contact-info i {
    color: blue;
    margin-right: 5px;
}


/* Responsive Styling */
@media (max-width: 768px) {
    .contact-info {
        flex-direction: column;
        text-align: center;
        margin-top: 10px;
    }

    .header-logo {
        /* max-width: 250px; 
        height: 100px; */
        /*background-color: white;*/
        padding: 11px 11px 11px 11px;
        border-radius: 4px 4px 4px 4px;
    }
    
    .contact-form-wrapper {
        margin-top: -200px
    }
    
}

.hero {
    background: url('images/headernew4-1.webp') no-repeat center center/cover;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    /*padding-top: 50px;*/
}

.hero-heading {
    font-size: 55px;
    font-family: 'Barlow', serif;
    font-weight: 700;
}

.hero-subheading {
    font-size: 48px;
    font-family: 'Barlow', serif;
    font-weight: 700;
    text-transform: capitalize;
}




@media (max-width: 768px) {
    .hero {
        /*padding-top: 100px;*/
        text-align: center;
        background: url('images/headernew4-1.webp') no-repeat center center/cover;
    }

    .hero-heading {
        font-size: 55px;
        font-family: 'Barlow', serif;
        font-weight: 700;
    }

    .hero-subheading {
        font-size: 1.4rem;
    }

     /*.highlight {
        font-size: 2.2rem;
    } */
}

@media (max-width: 576px) {

    .hero {
        background: url('images/headernew4-1.webp') no-repeat center center/cover;
        padding-top: 0;
        height:500px;
    }
    
    
    .contact-info .mail{
        display:none;
    }

     .hero-heading {
        font-size: 1.5rem;
        padding-top: 20px;
    }

    .hero-subheading {
        font-size: 1.2rem;
        font-family: 'Barlow', serif;
        line-height: 1.7;
    }
    
    .enr-btn{
        display:none;
    }
    
    .order-md-1{
        margin-top: 40px;
    }

    /*.highlight {
        font-size: 1.5rem; 

    }*/

    /* .navbar>.container {
        justify-content: center;
    } */

}


.overlay {
    background: rgba(0, 0, 0, 0.5);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.enroll-section {
    background-color: #f8f9fa;
    text-align: center;
    padding: 60px 20px;
}
@keyframes flash {
    0%, 100% {
        background-color: #002d62;
    }
    50% {
        background-color: #1da1f2;
    }
}

.enroll-btn {
    background-color: #002d62;
    color: white;
    padding: 12px 30px;
    border-radius: 0px;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    animation: flash 1.5s infinite alternate; /* Flashing effect */
    text-transform: uppercase;
}

.enroll-btn:hover {
    background-color: white;
    /* transform: scale(1.05); */
    color: #002d62;
    border: 1px solid #002d62;
}


.facilities-section {
    background: linear-gradient(to right, #f8f9fa, #e3eaf3);
    padding: 60px 0;
    border-radius: 10px;
}

/* .facilities-section h2 {
    font-size: 32px;
    font-weight: bold;
    color: #002d62;
    text-transform: uppercase;
    letter-spacing: 1px;
} */


.facility-list {
    list-style: none;
    padding: 0;
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: 0.3s ease-in-out;
}

.facility-list:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    transform: translateY(-3px);
}

.facility-list li {
    font-size: 18px;
    font-weight: 500;
    padding: 12px 15px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #ddd;
    transition: 0.3s ease-in-out;
}

.facility-list li:last-child {
    border-bottom: none;
}

.facility-list li::before {
    content: '\f058';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-right: 12px;
    color: #1da1f2;
    font-size: 18px;
    transition: color 0.3s;
}

.facility-list li:hover::before {
    color: #002d62;
}



.logo-img {
    max-width: 100px;
    height: auto; 
    display: block;
    margin: auto;
}


.stylish-img {
    max-width: 100%;
    border-radius: 10px;
    min-height: 400px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
}

/* Hover Effect */
.stylish-img:hover {
    transform: scale(1.05);
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.3); 
    filter: brightness(1.1);
}


/* .why-tas-section {
    background-color: #f8f9fa;
} */

.tas-card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.tas-card h4 {
    color: #002d62;;
    font-weight: bold;
}

.tas-card p {
    color: #555;
}

.tas-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}






/* Sidebar Form Button */
/* Hide Horizontal Scroll on Load */
html, body {
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

/* Initially Hide Sidebar & Button */
.form-wrapper, .toggle-bar {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

/* Sidebar Form Wrapper */
.form-wrapper {
    position: fixed;
    right: -320px; /* Initially hidden */
    top: 35%;
    transform: translateY(-50%);
    width: 300px;
    background: white;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    padding: 20px;
    border-radius: 10px 0 0 10px;
    transition: right 0.3s ease-in-out;
    z-index: 999;
}

/* Sidebar Toggle Button */
.toggle-bar {
    position: fixed;
    right: -7px;
    top: 25%;
    transform: translateY(-50%) rotate(180deg);
    writing-mode: vertical-rl;
    background: #002d62;
    color: white;
    padding: 35px 10px;
    cursor: pointer;
    text-orientation: mixed;
    font-weight: bold;
    border-radius: 5px 0 0 5px;
    transition: right 0.3s ease;
    text-align: center;
    /* height: 170px; */
    z-index: 1000; /* Always on top */
}

.toggle-bar:hover {
    background: #007bff;
}

/* Show Form When Active */
.form-wrapper.show {
    right: 0;
}

/* Move Toggle Button to Left Side of Form When Open */
.form-wrapper.show + .toggle-bar {
    right: 320px; /* Moves it to the left side of the form */
    transform: translateY(-50%) rotate(0deg); /* Rotate back to normal */
}

/* Show Sidebar & Button After Scrolling 100vh */
.show-sidebar {
    opacity: 1;
    visibility: visible;
}

/* Form Styling */
.form-group {
    display: flex;
    align-items: center;
    background: #f8f9fa;
    padding: 10px;
    margin-bottom: 10px;
}

.form-group i {
    margin-right: 10px;
    color: #007bff;
}

input, textarea {
    width: 100%;
    border: none;
    background: none;
    outline: none;
    font-size: 14px;
}

.submit-btn {
    width: 100%;
    background: #002d62;
    color: white;
    text-transform: uppercase;
    padding: 10px;
    border: none;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s ease;
}

.submit-btn:hover {
    background: white;
    color: #002d62;
    border: 1px solid #002d62;
}

.sports-card {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.15), 
                0px 6px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sports-card:hover {
    transform: translateY(-8px);
    box-shadow: 0px 15px 25px rgba(0, 0, 0, 0.2), 
                0px 8px 10px rgba(0, 0, 0, 0.15);
}

/* Ensure full image height */
.sports-card img {
    width: 100%;
    height: 400px; /* Adjust as needed */
    object-fit: cover;
    border-radius: 10px;
}


/* Position the button over the image */
.sports-btn {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #002d62; /* Semi-transparent black */
    color: #fff;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    transition: 0.3s ease-in-out;
}

.sports-btn:hover {
    background: white;
    color: #002d62;
    border: 1px solid #002d62;
}



.contact-section {
    /* color: white; */
    padding: 50px 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.contact-section h2 {
    font-weight: 700;
    font-size: 2rem;
}

.highlight {
    color: #1da1f2;
}

.contact-form-wrapper {
    max-width: 600px;
    /*margin: auto;*/
    /* background: white; */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-form-wrappers {
    max-width: 600px;
    margin: auto;
    /* background: white; */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.custom-input {
    /* border-radius: 8px; */
    padding: 12px;
    border: 2px solid #ddd;
    transition: 0.3s;
}

.custom-input:focus {
    border-color: #1da1f2;
    box-shadow: 0 0 8px rgba(29, 161, 242, 0.3);
}

.facilities-section {
    background-color: #f8f9fa;
    padding: 50px 0;
}

/* Facility Card */
.facility-card {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.facility-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Image Hover Effect */
.facility-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.5s ease-in-out;
}

.facility-card:hover .facility-img {
    transform: scale(1.1);
}

/* Always Visible Title at Bottom */
.facility-title {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px 10px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    transition: background 0.3s ease-in-out;
}

/* Slightly Darker Background on Hover */
.facility-card:hover .facility-title {
    background: rgba(0, 0, 0, 0.8);
}


.reviews-section {
    background: linear-gradient(to right, #f8f9fa, #e3eaf3);
    padding: 60px 0;
    text-align: center;
}

.reviews-section h2 {
    font-size: 32px;
    font-weight: bold;
    color: #002d62;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 30px;
}

.highlight {
    color: #1da1f2;
}

.review-card {
    background: #ffffff;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: 0.3s ease-in-out;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.review-card:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

.review-text {
    font-size: 18px;
    font-weight: 500;
    color: #333;
    line-height: 1.6;
    margin-bottom: 15px;
}

.review-stars {
    color: #ffc107;
    font-size: 22px;
    margin-bottom: 10px;
}

.review-author {
    font-size: 16px;
    font-weight: bold;
    color: #1da1f2;
}

/* Carousel Controls */
.carousel-control-prev-icon, .carousel-control-next-icon {
    background-color: #1da1f2;
    border-radius: 50%;
    padding: 10px;
}

.footer-section {
    color: white;
    padding: 50px 0;
}

.footer-logo {
    width: 300px;
    height: 100px;
    margin-bottom: 15px;
    background-color: white;
    padding: 11px 11px 11px 11px;
    border-radius: 4px 4px 4px 4px;
}

.footer-address {
    font-size: 16px;
    line-height: 1.6;
}

.footer-contact {
    list-style: none;
    padding: 0;
}

.footer-contact li {
    font-size: 16px;
    margin-bottom: 8px;
}

.footer-contact li i{
    color: #1da1f2;
}

.footer-contact a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

.footer-contact a:hover {
    color: #1da1f2;
}

.social-icons a {
    color: white;
    font-size: 24px;
    margin-right: 15px;
    transition: 0.3s ease-in-out;
}

.social-icons a:hover {
    color: #1da1f2;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin-top: 20px;
    padding-top: 15px;
    font-size: 14px;
}

/* awards-area */

.awards-area {
    background-color: #f8f9fa;
    padding: 80px 0;
}

/* Section Title */
.section-title h2 {
    font-size: 36px;
    font-weight: bold;
    color: #002d62;
    margin-bottom: 30px;
}

.highlight {
    color: #1da1f2;
}

/* Certificate Box Styling */
.certificate-box {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.certificate-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* Wide Certificates (First Row) */
.wide-box {
    height: 260px; /* Shorter height */
}

.wide-box .certificate-img {
    width: 100%;
    height: 180px;
    overflow: hidden;
    border-radius: 8px;
}

/* Tall Certificates (Second Row) */
.tall-box {
    height: 450px; /* Taller */
}

.tall-box .certificate-img {
    width: 100%;
    height: 350px;
    overflow: hidden;
    border-radius: 8px;
}

/* Image Styling */
.certificate-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.4s ease-in-out;
}

.certificate-box:hover .certificate-img img {
    transform: scale(1.05);
}

/* Description Styling */
.certificate-box p {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin-top: 12px;
    padding: 0 10px;
}
