/* =========================================
   GLOBAL CUSTOM STYLES & COLOR OVERRIDES
   Main Color: #1391cd
   Light BG: #e8f6fc
   ========================================= */

/* --- Student Zone (Videos) --- */
.video-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
}
.filter-btn {
    padding: 8px 20px;
    border-radius: 30px;
    border: 1px solid #e5e5e5;
    background: #fff;
    color: #555;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}
.filter-btn:hover, .filter-btn.active {
    background: #1391cd;
    color: #fff;
    border-color: #1391cd;
    box-shadow: 0 4px 10px rgba(19, 145, 205, 0.3);
}
.video-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    height: 100%;
    border: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}
.video-card:hover {
    transform: translateY(-5px);
}
.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    background: #000;
}
.video-thumb-img {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover;
    cursor: pointer;
    transition: opacity 0.3s;
}
.play-btn-overlay {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 60px; height: 60px;
    background: rgba(255, 0, 0, 0.9);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: white; font-size: 20px;
    cursor: pointer;
    pointer-events: none;
    transition: transform 0.2s;
    z-index: 2;
}
.video-container:hover .play-btn-overlay {
    transform: translate(-50%, -50%) scale(1.1);
}
.video-iframe {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    border: 0; z-index: 5;
}
.video-content {
    padding: 20px;
    flex-grow: 1;
}
.video-badge {
    display: inline-block;
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 700;
    color: #fff;
    background: #333;
    padding: 3px 8px;
    border-radius: 4px;
    margin-bottom: 10px;
}
.badge-physics { background-color: #9C27B0; }
.badge-chemistry { background-color: #E91E63; }
.badge-biology { background-color: #4CAF50; }
.badge-math { background-color: #2196F3; }
.badge-neet-ug { background-color: #FF9800; }
.badge-jee-main { background-color: #F44336; }

.video-title {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
    color: #1a1a1a;
    margin-bottom: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* --- Mission & Vision (About Us) --- */
.mv-section {
    position: relative;
    background: #f9f9f9;
    overflow: hidden;
}
.mv-card {
    background: #fff;
    padding: 50px 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    height: 100%;
    position: relative;
    z-index: 1;
    transition: all 0.4s ease;
    border-bottom: 4px solid transparent;
}
.mv-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border-bottom-color: #1391cd;
}
.mv-icon-box {
    width: 80px; height: 80px;
    background: #e8f6fc;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 30px;
    transition: all 0.4s ease;
}
.mv-icon-box i {
    font-size: 35px;
    color: #1391cd;
}
.mv-card:hover .mv-icon-box {
    background: #1391cd;
    transform: rotateY(180deg);
}
.mv-card:hover .mv-icon-box i {
    color: #fff;
}
.mv-title {
    font-size: 28px; font-weight: 700;
    margin-bottom: 20px; text-transform: uppercase; letter-spacing: 1px;
}
.mv-text {
    color: #666; line-height: 1.8; font-size: 16px; margin-bottom: 0;
}

/* --- Why Choose Us (General Item) --- */
.wcu-item {
    background: #fff;
    padding: 40px 30px;
    border-radius: 12px;
    border: 1px solid #eee;
    transition: all 0.3s ease;
    height: 100%;
}
.wcu-item:hover {
    border-color: #1391cd;
    box-shadow: 0 10px 30px rgba(19, 145, 205, 0.15);
}
.wcu-icon i {
    color: #041a40;
    font-size: 45px;
    margin-bottom: 25px;
    display: inline-block;
}

/* --- Swiper & Index Components --- */
.swiper-container {
    width: 100%;
    padding-bottom: 50px;
    overflow: hidden;
}
.swiper-slide {
    height: auto;
    display: flex;
}
.tp-courses-2__item {
    width: 100%;
    transition: transform 0.3s ease;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}
.tp-courses-2__item:hover {
    transform: translateY(-5px);
}

/* --- Video Slide Card (Index) --- */
.video-slide-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    width: 100%;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}
.video-thumb-wrapper {
    position: relative;
    padding-top: 56.25%;
    background: #000;
}
.video-thumb-wrapper img {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0.9;
    transition: 0.3s;
}
.video-slide-card:hover img { opacity: 0.7; }
.video-slide-card:hover .play-overlay {
    transform: translate(-50%, -50%) scale(1.1);
}

/* --- Testimonials --- */
.testi-card {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #eee;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
    width: 100%;
}
.testi-header {
    display: flex; align-items: center; margin-bottom: 20px;
}
.testi-avatar {
    width: 60px; height: 60px;
    background: #f0f0f0;
    border-radius: 50%;
    margin-right: 15px;
    display: flex; align-items: center; justify-content: center;
    font-weight: bold; color: #1391cd; font-size: 24px;
}
.testi-meta h4 { font-size: 18px; margin-bottom: 2px; }
.testi-meta span { font-size: 13px; color: #777; }
.testi-badge {
    display: inline-block;
    background: #1391cd; color: #fff;
    padding: 2px 10px; border-radius: 20px;
    font-size: 12px; font-weight: 600;
    margin-top: 5px;
}
.testi-text { font-style: italic; color: #555; line-height: 1.6; }

/* --- Why Choose Us Card (Index) --- */
.wcu-card {
    background: #fff;
    padding: 35px 25px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    text-align: center;
    transition: all 0.4s ease;
    border: 1px solid #f0f0f0;
    height: 100%;
    position: relative;
    overflow: hidden;
}
.wcu-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(19, 145, 205, 0.15);
    border-color: #1391cd;
}
.wcu-icon {
    width: 70px; height: 70px;
    background: #e8f6fc;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 20px;
    color: #1391cd; font-size: 28px;
    transition: 0.4s;
}
.wcu-card:hover .wcu-icon {
    background: #1391cd; color: #fff;
}
.wcu-title { font-size: 20px; font-weight: 700; margin-bottom: 15px; }
.wcu-text { font-size: 14px; color: #666; line-height: 1.6; }
.swiper-pagination-bullet-active { background: #1391cd !important; }
.swiper-pagination-bullet { display: none; }

/* --- Admission Form Styles --- */
.admission-card {
    background: #ffffff;
    padding: 50px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    border: 1px solid #f0f0f0;
}
.step-indicator {
    display: flex; justify-content: space-between;
    margin-bottom: 50px; position: relative;
    max-width: 700px; margin-left: auto; margin-right: auto;
}
.step-indicator::before {
    content: ''; position: absolute; top: 20px; left: 0;
    width: 100%; height: 4px; background: #eef0f6;
    z-index: 0; border-radius: 10px;
}
.step-item {
    position: relative; z-index: 1;
    background: transparent; width: 120px; text-align: center;
}
.step-circle {
    width: 45px; height: 45px;
    background: #ffffff;
    border: 3px solid #eef0f6;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 12px;
    font-weight: 700; font-size: 16px; color: #a0a0a0;
    transition: all 0.4s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}
.step-item.active .step-circle {
    border-color: #1391cd;
    background: #1391cd;
    color: #fff;
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(19, 145, 205, 0.4);
}
.step-item.completed .step-circle {
    border-color: #28a745;
    background: #28a745;
    color: #fff;
}
.step-title {
    font-size: 14px; font-weight: 600; color: #777;
    text-transform: uppercase; letter-spacing: 0.5px;
}
.step-item.active .step-title { color: #333; }

.contact__form-input { margin-bottom: 25px; }
.contact__form-input label {
    display: block; font-size: 14px; font-weight: 600;
    color: #222; margin-bottom: 8px;
}
.contact__form-input input, 
.contact__form-input select, 
.contact__form-input textarea {
    width: 100%; height: 55px;
    background: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 0 20px;
    font-size: 15px; color: #555;
    transition: 0.3s;
    -webkit-appearance: none; -moz-appearance: none; appearance: none;
}
.contact__form-input select {
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23555' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 20px center;
    background-size: 16px;
    padding-right: 45px; 
}
.contact__form-input input:focus, 
.contact__form-input select:focus {
    background: #fff;
    border-color: #1391cd;
    box-shadow: 0 0 0 4px rgba(19, 145, 205, 0.1);
    outline: none;
}

/* Stream Options (Radio Cards) */
.stream-options { display: flex; gap: 15px; }
.stream-option-item { flex: 1; position: relative; }
.stream-option-item input[type="radio"] {
    position: absolute; opacity: 0; width: 0; height: 0;
}
.stream-option-item label {
    display: flex; align-items: center; justify-content: center;
    height: 55px; background: #f9f9f9;
    border: 2px solid #e0e0e0; border-radius: 8px;
    cursor: pointer; font-weight: 700; color: #555;
    transition: all 0.3s ease; margin-bottom: 0; 
}
.stream-option-item input[type="radio"]:checked + label {
    background-color: #e8f6fc;
    border-color: #1391cd;
    color: #0d6a96;
    box-shadow: 0 4px 10px rgba(19, 145, 205, 0.15);
}
.stream-option-item label:hover { border-color: #ccc; }

/* Academic Table */
.academic-table {
    border-collapse: separate; border-spacing: 0; width: 100%;
    border: 1px solid #eee; border-radius: 8px; overflow: hidden;
}
.academic-table thead { background-color: #f4f6f9; }
.academic-table th {
    padding: 15px; font-weight: 600; color: #333;
    border-bottom: 1px solid #eee;
}
.academic-table td { padding: 10px; border-bottom: 1px solid #eee; }
.academic-table input { height: 40px; background: #fff; }

/* Captcha */
.captcha-wrapper {
    background: #f9f9f9; border: 1px solid #eee;
    padding: 10px; border-radius: 8px;
    display: inline-flex; align-items: center;
}
.captcha-box {
    background: #fff; padding: 8px 20px;
    letter-spacing: 6px; font-weight: 700; font-size: 20px;
    border-radius: 6px; color: #333;
    border: 1px dashed #ccc; margin-right: 15px;
    user-select: none;
    background-image: linear-gradient(45deg, #f0f0f0 25%, transparent 25%, transparent 75%, #f0f0f0 75%, #f0f0f0);
    background-size: 10px 10px;
}
.form-step { display: none; animation: slideUp 0.4s ease-out; }
.form-step.active { display: block; }
@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- Gallery --- */
.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 30px;
    cursor: pointer;
    display: block;
}
.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}
.gallery-thumb {
    position: relative;
    padding-top: 75%;
    overflow: hidden;
}
.gallery-thumb img {
    position: absolute; top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover; transition: transform 0.5s ease;
}
.gallery-item:hover .gallery-thumb img { transform: scale(1.1); }
.gallery-overlay {
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transition: opacity 0.3s ease;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.zoom-icon {
    width: 50px; height: 50px;
    background: #fff;
    border-radius: 50%;
    color: #1391cd;
    display: flex; align-items: center; justify-content: center;
    font-size: 20px;
}
.gallery-slide {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    height: 300px;
}
.gallery-slide img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}
.gallery-slide:hover img { transform: scale(1.1); }

/* --- Experience Badge (Index) --- */
.tp-about-2__exp-badge {
    position: absolute;
    bottom: 40px;
    right: -20px;
    background: #1391cd;
    padding: 20px;
    border-radius: 50%;
    width: 100px;
    height: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    z-index: 2;
    font-weight: 700;
    color: #fff;
}
  
    .swiper-pagination-bullet{
      display:none;
    }


    /* =========================================
   1. FLOATING ACTION BUTTONS (Right Bottom)
   ========================================= */
.float {
    position: fixed;
    bottom: 93px;
    right: 38px;
    width: 60px;
    height: 60px;
    background-color: #25d366; /* WhatsApp green */
    color: #fff;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: 0.3s;
}

.float:hover {
    color: #fff;
    transform: scale(1.1);
}

.float.whatsapp {
    animation: pulsing-green 2s infinite;
}

.float.call {
    background-color: #2196F3; /* Blue for call */
    bottom: 160px; /* Position above WhatsApp */
    animation: pulsing-blue 2s infinite;
}

.my-float {
    margin-top: 0;
}

/* Pulse Animations */
@keyframes pulsing-green {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 20px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

@keyframes pulsing-blue {
    0% { box-shadow: 0 0 0 0 rgba(33, 150, 243, 0.7); }
    70% { box-shadow: 0 0 0 20px rgba(33, 150, 243, 0); }
    100% { box-shadow: 0 0 0 0 rgba(33, 150, 243, 0); }
}

/* =========================================
   2. SOCIAL SIDEBAR (Left Side)
   ========================================= */
.social-sidebar {
    position: fixed;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    z-index: 999;
    display: flex;
    flex-direction: column;
}

.social-sidebar a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    color: white;
    font-size: 22px;
    transition: all 0.3s ease;
    margin-bottom: 1px;
    border-radius: 0 5px 5px 0;
    box-shadow: 2px 2px 5px rgba(0,0,0,0.2);
}

.social-sidebar a:hover {
    width: 60px; /* Expands on hover */
    font-size: 26px;
}

.social-sidebar .fb { background: #3b5998; }
.social-sidebar .insta { 
    background: #f09433; 
    background: -moz-linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); 
    background: -webkit-linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%); 
    background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%); 
}
.social-sidebar .yt { background: #ff0000; }

/* =========================================
   3. MOBILE RESPONSIVENESS (Sticky Bottom Bar)
   ========================================= */
@media (max-width: 768px) {
    .float {
        width: 50%;
        height: 60px;
        bottom: 0 !important; /* Force bottom */
        border-radius: 0;
        box-shadow: none;
        font-size: 24px;
    }
    .float.whatsapp {
        left: 0;
        right: auto;
        background-color: #25d366;
    }
    .float.call {
        right: 0;
        left: auto;
        background-color: #2196F3;
    }
    /* Hide Left Sidebar on Mobile to prevent clutter */
    .social-sidebar {
        display: none; 
    }
}

/* =========================================
   4. MISSION & VISION (From About Page)
   ========================================= */
.mv-section {
    position: relative;
    background: #f9f9f9;
    overflow: hidden;
}
.mv-card {
    background: #fff;
    padding: 50px 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    height: 100%;
    position: relative;
    z-index: 1;
    transition: all 0.4s ease;
    border-bottom: 4px solid transparent;
}
.mv-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border-bottom-color: #FFB606;
}
.mv-icon-box {
    width: 80px;
    height: 80px;
    background: #FFF8E1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    transition: all 0.4s ease;
}
.mv-icon-box i { font-size: 35px; color: #FFB606; }
.mv-card:hover .mv-icon-box { background: #FFB606; transform: rotateY(180deg); }
.mv-card:hover .mv-icon-box i { color: #fff; }
.mv-title { font-size: 28px; font-weight: 700; margin-bottom: 20px; text-transform: uppercase; letter-spacing: 1px; }
.mv-text { color: #666; line-height: 1.8; font-size: 16px; margin-bottom: 0; }

/* =========================================
   5. WHY CHOOSE US
   ========================================= */
.wcu-item {
    background: #fff;
    padding: 40px 30px;
    border-radius: 12px;
    border: 1px solid #eee;
    transition: all 0.3s ease;
    height: 100%;
}
.wcu-item:hover { border-color: #FFB606; box-shadow: 0 10px 30px rgba(255, 182, 6, 0.15); }
.wcu-icon i {color: #0d307c;font-size: 45px;margin-bottom: 25px;display: inline-block;}
.wcu-title { font-size: 20px; font-weight: 700; margin-bottom: 15px; }

/* =========================================
   6. MISC (Swiper Pagination Fix)
   ========================================= */
.swiper-pagination-bullet { display: none; }


