 a {
        text-decoration: none;
    }

    ul li {
        display: inline-block;
    }

    .card {
        background: transparent;
        border: none;
    }

    .card-body {
        background-color: #F05710;
        color: aliceblue;
        font-family: 'Poppins', sans-serif;
        border-radius: 15px;
        border: none;
        width: 390px;
        height: 300px;
    }

    #solid {
        border: solid 2px black;
    }

    .card-title {
        font-size: 18px;
        font-weight: 500;
        text-transform: uppercase;
        line-height: 20px;
    }

    .card-text {
        font-size: 12px;
        font-weight: 300;
        line-height: 24px;
    }

    .wrapper {
        width: 100%
    }


    .wrapper .carousel1 {
        max-width: 1200px;
        margin: auto;
        padding: 0 30px;
    }

    .carousel1 .card {

        margin: 20px 0;
        box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2);
        overflow: hidden;
        text-align: center;
    }


    .owl-dots {
        text-align: center;
        margin-top: 40px;
    }

    .owl-dot {
        height: 10px;
        width: 20px;
        border-radius: 25px;
        cursor: pointer;
        outline: none;
        margin: 0 5px;
        border: 2px solid #0072bc !important;
        transition: all 0.3s ease;
    }

    .owl-dot:hover,
    .owl-dot:active {
        background: #0072bc !important;
    }

    .card img:hover {
        transform: scale(1.05);
    }

    .form-control {
        display: block;
        width: 100%;
        height: calc(1.5em + 1.75rem + 2px);
        padding: .375rem .75rem;
        font-size: 1rem;
        font-weight: 400;
        line-height: 1.5;
        color: #495057;
        background-color: #fff;
        background-clip: padding-box;
        border: 1px solid #f2f2f2;
        border-radius: .25rem;
        transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    }

    .form-row {
        display: -ms-flexbox;
        display: flex;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        margin-right: -5px;
        margin-left: -5px;
    }

    .form-row>.col {
        padding-right: 5px;
        padding-left: 5px;
    }

    .form-group {
        margin-bottom: 1rem;
    }

    .contact .emailform input {
        padding: 20px 15px;
        box-shadow: none;
        font-size: 14px;
        border-radius: 4px;
    }

    .container {
        position: relative;
    }

    .vidContainer faceVideo {
        position: relative;
        z-index: 0;
    }

    .overlay {
        position: absolute;
        top: 193px;
        left: 42px;
        z-index: 1;
    }

    .feature-type {
    background-color: #f9f9f9;
    padding: 20px;
    margin: 20px 0;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: all 0.4s ease;
    overflow: hidden;
    position: relative;
}

/* heading expand */

.feature-heading {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: all 0.3s ease;
}

.feature-type.expanded .feature-heading {
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
}

.feature-logo {
    width: 50px;
    height: 50px;
    object-fit: contain;
    margin-bottom: 15px;
}

.feature-info {
    display: -webkit-box;
    -webkit-line-clamp: 3; /* show 3 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.feature-type.expanded .feature-info {
    -webkit-line-clamp: unset;
    overflow: visible;
}

.read-more-btn {
    margin-top: 15px;
    background: #2c47a2;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.3s;
}

.read-more-btn:hover {
    background: #0056b3;
    color: red;
}

.back-to-top {
            position: fixed;
            bottom: 30px;
            right: 30px;
            width: 50px;
            height: 50px;
            background-color:  #00008B;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
            color: white;
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            text-decoration: none;
           
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
            z-index: 999;
        }
        
        .back-to-top.active {
            opacity: 1;
            visibility: visible;
        }
        
        .back-to-top i {
            font-size: 1.2rem;
        }

        .custom-carousel-btn {
    position: absolute;
    top: 70%;
    transform: translateY(-50%);
    z-index: 2;
    border: none;
    padding: 10px;
    border-radius: 50%;
}

.carousel-control-prev {
    left: 0px;
}

.carousel-control-next {
    right: 0px;
}

.carousel-control-prev-icon, .carousel-control-next-icon {
    width: 2.5rem;
    height: 2.5rem;
    background-size: 100% 100%;
    /* background-color: #767676; */
    padding: 1px;
}

.text-justify {
  text-align: justify;
}

#h7-banner-title{
    margin-right: 130px;
}

.club-color{
    color: #103a85;
}

  .tabcontent {
    display: none;
  }
  .tabcontent[data-tab="1"] {
    display: block;
  }
  .tab[data-tab="1"] {
    /* Mark the first tab active initially */
    background: #ddd; /* adjust based on your design */
  }

  #cent-btn{
    margin-left: 30%;
  }

  #red-btn{
    margin-top: 25rem;
    margin-right: 15rem;
  }

  /* olympiad */
.achievement-showcase {
  margin-top: 50px;
  padding: 20px 0;
}

.achievement-container {
  display: flex;
  max-width: 1200px;
  margin: 0 auto;
  gap: 30px;
  padding: 0 20px;
}

/* Left Container Styles */
.achievement-left {
  flex: 1;
}

.achievement-card {
  background: #e0eaf2;
  border-radius: 10px;
  box-shadow: 0 5px 45px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
}

.achievement-icons {
  display: flex;
  gap: 5px;
  white-space: nowrap;
  margin-bottom: 5px;
}

.achievement-icon-left {
  fill: #4a6bff;
}

.achievement-icon-trophy {
  fill: #ffc107;
}

.achievement-title {
  color: #333;
  font-size: 28px;
  margin-bottom: 10px;
}

.achievement-subtitle {
  color: #002f8a;
  font-size: 23px;
  margin-bottom: 25px;
  line-height: 1.4;
}

/* Right Container Styles */
.achievement-right {
  flex: 1;
}

.achievement-right-title {
  color: #333;
  font-size: 28px;
  margin-bottom: 10px;
}

.achievement-right-subtitle {
  color: #555;
  font-size: 18px;
  margin-bottom: 25px;
  line-height: 1.4;
}

/* Common Slider Styles */
.achievement-image-slider {
  position: relative;
  margin-top: 20px;
}

.achievement-slide {
  display: none;
  width: 100%;
  border-radius: 8px;
  height: 300px;
  object-fit: cover;
}

.achievement-slide.active {
  display: block;
}

.achievement-slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 15px;
}

.achievement-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ccc;
  cursor: pointer;
}

.achievement-dot.active {
  background: #4a6bff;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .achievement-container {
    flex-direction: column;
    gap: 20px;
  }
  
  .achievement-card,
  .achievement-right {
    padding: 20px;
  }
  
  .achievement-title,
  .achievement-right-title {
    font-size: 24px;
  }
  
  .achievement-subtitle,
  .achievement-right-subtitle {
    font-size: 16px;
  }
  
  .achievement-slide {
    height: 250px;
    object-fit: contain;
  }

  .achievement-icons {
  white-space: break-spaces;
  
}
}
 
@media (max-width: 1024px){
    #red-btn{
        /* margin-top: 7rem;
    margin-right: 15rem;
    width: 84px; */
    display: none;
    }
    .h7_banner-content .inner_btn {
        margin-left: 5%;
        font-size: 11px;
    }
    .custom-carousel-btn{
        top: 27%;
        height: 1rem;
        
    }

    .carousel-inner p {
        font-size: 14px;
    }

    .h7_banner-content-title {
        font-size: 22px;
    }

    .footer_heading::after {
   content: "";
   position: absolute;
   left: 0;
   bottom: 0;
   height: 2px;
   width: 100%;
   background-color: #e0300bab;
   /* change to your preferred underline color */
 }

 .carousel-control-prev-icon, .carousel-control-next-icon {
    width: 1.5rem;
    height: 1.5rem;
    margin-top: 10rem;
}

 .facilities_title {
   margin-left: 17px;
 }

 .h7_banner-content
 {
    text-align: start;
    margin-right: 55px;
 }

}

/* Popup overlay */
.popup-banner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* dark overlay */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 20px; /* reduce padding to avoid overflow on small devices */
}

/* Popup container */
.popup-content {
    position: relative;
    background: #1a4695;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* REMOVE fixed width and height */
    width:auto; /* add auto after the day exists */
    height: auto; /* add auto after the day exists */
    max-width: 90vw; /* limit max size */
    max-height: 90vh;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    animation: scaleUp 0.3s ease;
}

/* Close button */
.close-btn {
    position: absolute;
    top: 0px; /* move outside the image */
    right: 0px;
    background: #fff;
    color: #333;
    border: none;
    font-size: 24px;
    cursor: pointer;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
    z-index: 10000;
    transition: background 0.3s, transform 0.2s;
}

.close-btn:hover {
    background: #f44336;
    color: #fff;
}

/* Popup image */
.popup-image {
    display: block;
    width: auto; /* natural image size */
    max-width: 100%; /* shrink on small screens */
    height: auto;
    max-height: 90vh;
}

/* Mobile responsiveness */
@media (max-width: 600px) {
    .popup-content {
        max-width: 95vw;
        padding: 5px;
    }
    .popup-image {
        width: 100%;  /* make image fill the container on small screens */
    }
    .close-btn {
        width: 30px;
        height: 30px;
        font-size: 18px;
        top: 0px;
        right: 0px;
        background-color: red;
        color: white;
    }
}

/* .popup-text {
    padding: 30px;
    text-align: center;
    max-width: 500px;
}

.popup-text h2 {
    margin-bottom: 10px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
}

.popup-text p {
    font-size: 28px;
    color: #fff;
    margin: 8px 0;
    line-height: 2;
}

.popup-text .year {
    font-size: 28px;
    font-weight: bold;
}

.popup-text .date,
.popup-text .time {
    font-size: 28px;
    font-weight: bold;
    color: #fff;
}

.popup-text hr {
    margin: 15px 0;
    border: none;
    border-top: 1px solid #ddd;
}


@media (max-width: 600px) {
    .popup-text {
        padding: 15px;
    }

    .popup-text h2 {
        font-size: 20px;
    }

    .popup-text p {
        font-size: 14px;
    }

    .cont-text p{
        font-size: 14px;
    }
} */

.topper-name{
        text-align: center;
    }
    .topper-percentage{
        text-align: center;
    }

#schl-ac{
    white-space: nowrap;
}


/* Professional Topper Card Styling */
.topper-image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 75%;
    /* height: 200px; */
    margin: 0 auto 20px auto;
    border-radius: 50%;
    /* overflow: hidden;
    border: 4px solid #fff;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); */
    position: relative;
}

.topper-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.topper-image:hover {
    transform: scale(1.05);
}

/* Enhanced card styling */
.topper-card {
    background: #fff;
    border-radius: 20px;
    /* padding: 5px 25px; */
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.topper-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}


.top-badge {
    background: linear-gradient(45deg, #c12504);
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.topper-name {
    font-size: 24px;
    font-weight: 700;
    color: #2d3748;
    margin: 15px 0 10px 0;
    text-align: center;
}

.topper-percentage {
    display: inline-block;
    background: linear-gradient(135deg, #043798,rgb(41, 95, 194));
    color: white;
    padding: 10px 20px;
    /* border-radius: 20px; */
    font-size: 20px;
    font-weight: 600;
}

        .champion-section {
            max-width: 1200px;
            margin: 0 auto;
            padding: 20px;
            background: #e0eaf2;
            border-radius: 12px;
            box-shadow: 0 5px 45px rgba(0, 0, 0, 0.1);
            text-align: center;
            font-family: 'Poppins', sans-serif;
            margin-top: 40px;
        }

        .trophy-icon {
            width: 60px;
            height: 60px;
            margin: 20px auto;
            display: block;
        }

        .champion-title {
            font-size: 2rem;
            font-weight: 600;
            color: #333;
            margin: 20px 0 30px 0;
        }

        .image-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 15px;
            margin-bottom: 30px;
        }

        .image-item {
            aspect-ratio: 1.2;
            border-radius: 8px;
            overflow: hidden;
            /* box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); */
        }

        .image-item img {
            width: 100%;
            height: 100%;
            object-fit: contain;
            transition: transform 0.3s ease;
        }

        .image-item img:hover {
            transform: scale(1.05);
        }

        .slider-controls {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 20px;
            margin-top: 20px;
        }

        .slider-btn {
            background: rgb(193, 37, 4);
            color: white;
            border: none;
            border-radius: 50%;
            width: 30px;
            height: 30px;
            cursor: pointer;
            font-size: 1.2rem;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
            box-shadow: 0 2px 10px rgba(0, 123, 255, 0.3);
        }

        .slider-btn:hover {
            /* background: #0056b3; */
            transform: scale(1.1);
        }

        .slider-btn:disabled {
            background: #ccc;
            cursor: not-allowed;
            transform: none;
        }

        .page-indicator {
            background: #f8f9fa;
            padding: 8px 16px;
            border-radius: 20px;
            font-weight: 500;
            color: #666;
            font-size: 0.9rem;
        }

        @media (max-width: 768px) {
            .champion-section {
                margin: 10px;
                padding: 15px;
            }

            .champion-title {
                font-size: 1.5rem;
            }

            .image-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 10px;
            }

            .trophy-icon {
                width: 50px;
                height: 50px;
            }

            .slider-btn {
                width: 30px;
                height: 30px;
                font-size: 1rem;
            }
        }

        @media (max-width: 480px) {
            .image-grid {
                grid-template-columns: 1fr;
            }
        }

  .wrap {
            max-width: 1200px;
            margin: 10px auto;
            padding: 20px 20px;
        }

        .caard {
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(10px);
            border-radius: 20px;
            box-shadow: 0 5px 45px rgba(0, 0, 0, 0.1);
            overflow: hidden;
            display: grid;
            grid-template-columns: 1fr 1fr;
            min-height: 200px;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        } 

        .caard:hover {
            transform: translateY(-5px);
            box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
        }

        .card-left {
            padding: 30px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            background: rgb(224, 234, 242); 
            color: black;
        }

        .card-left h2 {
            font-size: 1.8rem;
            margin-bottom: 20px;
            font-weight: 700;
            line-height: 1.2;
        }

        .card-left p {
            font-size: 1.5rem;
            line-height: 1.6;
            margin-bottom: 30px;
            opacity: 0.95;
        }

        .card-left .cta-button {
            background: rgba(255, 255, 255, 0.2);
            border: 2px solid rgba(255, 255, 255, 0.3);
            padding: 12px 30px;
            border-radius: 50px;
            color: white;
            text-decoration: none;
            font-weight: 600;
            transition: all 0.3s ease;
            align-self: flex-start;
            backdrop-filter: blur(10px);
        }

        .card-left .cta-button:hover {
            background: rgba(255, 255, 255, 0.3);
            border-color: rgba(255, 255, 255, 0.5);
            transform: translateY(-2px);
        }

        .carousel-container {
            position: relative;
            display: flex;
            flex-direction: column;
            justify-content: center;
            padding: 20px;
            background: rgb(224, 234, 242);
        }

        .carousel-section {
            position: relative;
            width: 100%;
            height: 350px;
            overflow: hidden;
            border-radius: 15px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        }

        .carousel-track {
            display: flex;
            transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            height: 100%;
        }

        .carousel-slide {
            min-width: 100%;
            height: 100%;
            position: relative;
        }

        .carousel-slide img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: 15px;
        }

        .carousel-controls {
            display: flex;
            justify-content: center;
            gap: 20px;
            margin-top: 30px;
        }

        .control-btn {
            background: rgb(193, 37, 4);
            border: none;
            width: 30px;
            height: 30px;
            border-radius: 50%;
            color: white;
            font-size: 1.2rem;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
        }

        /* .control-btn:hover {
            transform: translateY(-3px) scale(1.05);
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
        } */

        /* .control-btn:active {
            transform: translateY(-1px) scale(1.02);
        } */

        .indicator {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background: rgba(193, 37, 4, 0.3);
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .indicator.active {
            background: rgb(193, 37, 4);
            transform: scale(1.2);
        }

        @media (max-width: 768px) {
            .wrap {
                margin: 5px auto;
                padding: 10px;
            }
            
            .caard {
                grid-template-columns: 1fr;
                min-height: auto;
                margin-bottom: 20px;
            }
            
            .card-left {
                padding: 20px;
                order: 1;
            }
            
            .card-left h2 {
                font-size: 1.2rem;
                margin-bottom: 15px;
            }
            
            .card-left p {
                font-size: 1rem;
                margin-bottom: 20px;
            }
            
            .carousel-container {
                padding: 15px;
                order: 2;
            }
            
            .carousel-section {
                height: 250px;
            }
            
            .control-btn {
                width: 40px;
                height: 40px;
                font-size: 1rem;
            }
            
            .carousel-controls {
                gap: 15px;
                margin-top: 10px;
            }
        }

        @media (max-width: 480px) {
            .wrap {
                padding: 5px;
            }
            
            .card-left {
                padding: 15px;
            }
            
            .card-left h2 {
                font-size: 1.1rem;
                margin-bottom: 10px;
            }
            
            .card-left p {
                font-size: 0.9rem;
                margin-bottom: 15px;
            }
            
            .carousel-container {
                padding: 10px;
            }
            
            .carousel-section {
                height: 200px;
            }
            
            .control-btn {
                width: 35px;
                height: 35px;
                font-size: 0.9rem;
            }
        }

        /* ===== POSTER SECTION ===== */
.poster-section {
    width: 100%;
    padding: 40px 20px;
    background: #ffffff;
    display: flex;
    justify-content: center;
}

.poster-container {
    max-width: 400px;     /* aligns with your welcome section */
    width: 100%;
    border-radius: 16px;
    overflow: hidden;      /* keeps rounded corners clean */
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.poster-image {
    width: 100%;
    height: auto;          /* 👈 this makes container fit any image */
    display: block;
    object-fit: contain;   /* no cropping, full poster visible */
    background: #f5f5f5;   /* nice background for odd ratios */
}
       