                        /* ========================================
1. GLOBAL & SWIPER RESET
========================================
*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.swiper {
    width: 100%;
    height: 100vh;
}

.swiper-slide {
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ========================================
2. HERO SECTION (HOME)
========================================
/* Slide 1 */
.slide-1 {
    background: linear-gradient(rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.4)), 
                url('https://images.unsplash.com/photo-1606636660801-c61b8e97a1dc?q=80&w=687&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D') no-repeat center center;
    background-size: cover;
    height: 100vh;
    display: flex;
    align-items: center;
}

/* Slide 2 */
.slide-2 {
    background: linear-gradient(rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.3)), 
                url('https://images.unsplash.com/photo-1605627079912-97c3810a11a4?q=80&w=1107&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D') no-repeat center center;
    background-size: cover;
    height: 100vh;
    display: flex;
    align-items: center;
}

/* Glass Card styling if not already added */
.glass-card {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(15px);
    border-radius: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* ========================================
3. NAVIGATION
========================================
*/
.nav-underline {
    display: block;
    position: absolute;
    height: 2px;
    background: #15803d;
    bottom: -4px;
    left: 0;
    width: 0;
    transition: 0.3s;
}

.group:hover .nav-underline {
    width: 100%;
}

/* ========================================
4. FOUNDATION & VISION SECTION
========================================
*/
.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #0f172a;
    font-weight: 700;
}

.feature-item i {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: rgba(21, 128, 61, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #15803d;
    font-size: 0.75rem;
}

.check-list-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.check-list-item .icon-box {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: rgba(21, 128, 61, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.check-list-item:hover .icon-box {
    background: #15803d;
    color: white;
}

/* ========================================
5. ACADEMIC PROGRAMS (CARDS)
========================================
*/
/* --- Academic Programs Final Styling --- */
.program-card {
    background-color: transparent;
    perspective: 1000px; 
    height: 360px; /* কন্টেন্ট বেশি হওয়ায় হাইট কিছুটা বাড়ানো হলো */
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.program-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

.program-card.flipped .program-card-inner,
.program-card:hover .program-card-inner {
    transform: rotateY(180deg);
}

.program-card-front, .program-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 2.5rem;
    padding: 2rem;
    display: flex;
    flex-direction: column;
}

/* Front Styling */
.program-card-front {
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Background Overlays */
.pg-front { background-image: linear-gradient(rgba(37, 99, 235, 0.85), rgba(37, 99, 235, 0.85)), url('https://images.unsplash.com/photo-1503454537195-1dcabb73ffb9?q=80&w=500'); background-size: cover; background-position: center;}
.ns-front { background-image: linear-gradient(rgba(219, 39, 119, 0.85), rgba(219, 39, 119, 0.85)), url('https://images.unsplash.com/photo-1587654780291-39c9404d746b?q=80&w=500'); background-size: cover; background-position: center;}
.lk-front { background-image: linear-gradient(rgba(234, 88, 12, 0.85), rgba(234, 88, 12, 0.85)), url('https://images.unsplash.com/photo-1516627145497-ae6968895b74?q=80&w=500'); background-size: cover; background-position: center;}
.uk-front { background-image: linear-gradient(rgba(22, 163, 74, 0.85), rgba(22, 163, 74, 0.85)), url('https://images.unsplash.com/photo-1543269664-7eef42226a21?q=80&w=500'); background-size: cover; background-position: center;}

/* Centering the Icons */
.p-icon {
    width: 4rem; height: 4rem; border-radius: 1.2rem;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.75rem; margin: 0 auto 1.5rem auto; /* Icon মাঝখানে আনার জন্য auto মার্জিন */
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.age-label { font-size: 0.8rem; font-weight: 800; color: rgba(255,255,255,0.9); text-transform: uppercase; margin-bottom: 0.2rem; }
.age-value { font-size: 2.2rem; font-weight: 900; color: white; line-height: 1.1; }
.front-desc { font-size: 0.95rem; margin-top: 1.2rem; line-height: 1.5; font-weight: 700; }

/* Back Styling */
.program-card-back {
    transform: rotateY(180deg);
    color: white;
    text-align: left;
    align-items: center; /* পেছনের লেখা মাঝখানে রাখার জন্য */
    justify-content: space-between;
}

.fee-info { width: 100%; text-align: left; }
.fee-info p { font-weight: 700; margin-bottom: 5px; }
.fee-info strong { font-weight: 900; font-size: 1.15rem; }

.waiver-text {
    font-size: 11px; font-style: italic; font-weight: 800;
    color: rgba(255,255,255,0.95);
    border-top: 2px solid rgba(255,255,255,0.2);
    padding-top: 10px; line-height: 1.4; width: 100%;
}

.join-btn {
    width: 100%; padding: 0.8rem; border-radius: 999px;
    background: white; font-weight: 900; font-size: 0.9rem;
    transition: all 0.3s ease; border: none; margin-top: 10px;
}

/* Mobile Fix */
@media (max-width: 768px) {
    .program-card { height: 340px; }
    .age-value { font-size: 1.8rem; }
}

/* ========================================
6. GALLERY AUTO-SCROLL (NEW)
========================================
*/
/* ========================================
6. GALLERY AUTO-SCROLL (FIXED HEIGHT)
========================================
*/
/* Modern Gallery Grid Styling */
.modern-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    grid-auto-rows: 250px;
    grid-gap: 20px;
    grid-auto-flow: dense;
}

.gallery-card {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    cursor: pointer;
}

/* Specific Grid Sizes for Stylish Look */
.gallery-card.tall { grid-row: span 2; }
.gallery-card.wide { grid-column: span 2; }
.gallery-card.tall-wide { grid-row: span 2; grid-column: span 2; }

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.2, 1, 0.3, 1);
}

.gallery-card:hover img {
    transform: scale(1.15);
}

/* Hover Overlay */
.gallery-card .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    display: flex;
    align-items: flex-end;
    padding: 25px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.gallery-card .overlay h3 {
    color: white;
    font-size: 1.25rem;
    font-weight: 700;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.gallery-card:hover .overlay {
    opacity: 1;
}

.gallery-card:hover .overlay h3 {
    transform: translateY(0);
}
.modern-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    grid-auto-rows: 250px;
    grid-gap: 20px;
    grid-auto-flow: dense;
}

#video-gallery .gallery-card video {
    pointer-events: none; /* থাম্বনেলে ক্লিক করলে যাতে ভিডিও প্লে না হয় */
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-card.tall { grid-row: span 2; }
.gallery-card.wide { grid-column: span 2; }
.gallery-card.tall-wide { grid-row: span 2; grid-column: span 2; }

/* স্লাইডার এনিমেশন */
.animate-zoom {
    animation: zoomIn 0.3s ease-out;
}

@keyframes zoomIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}
/* Mobile Fix */
@media (max-width: 640px) {
    .modern-gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 250px;
    }
    .gallery-card.wide, .gallery-card.tall-wide {
        grid-column: span 1;
    }
    .gallery-card.tall, .gallery-card.tall-wide {
        grid-row: span 1;
    }
}

/* Optimized Contact Styles */
.corporate-input {
    width: 100%;
    padding: 1rem; /* Reduced padding */
    background-color: #f8fafc;
    border: 1.5px solid transparent;
    border-radius: 0.8rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: #0f172a;
    outline: none;
    transition: all 0.3s ease;
}

.corporate-input:focus {
    background-color: #ffffff;
    border-color: #15803d;
}

.corporate-label {
    position: absolute;
    left: 1rem;
    top: 1rem;
    color: #94a3b8;
    font-size: 0.8rem;
    font-weight: 600;
    pointer-events: none;
    transition: all 0.3s ease;
}

/* Float Label Animation */
.corporate-input:focus ~ .corporate-label,
.corporate-input:not(:placeholder-shown) ~ .corporate-label {
    top: -0.5rem;
    left: 0.8rem;
    font-size: 0.65rem;
    color: #15803d;
    background: white;
    padding: 0 0.4rem;
    font-weight: 800;
}

/* Ensure equal height on large screens */
@media (min-width: 1024px) {
    #contact .items-stretch {
        align-items: stretch;
    }
}

/* ========================================
8. SWIPER DOTS (PAGINATION)
========================================
*/
.swiper-pagination-bullet-active {
    background: #ea580c !important;
    width: 30px !important;
    border-radius: 5px !important;
}

/* ========================================
9. TESTIMONIALS SECTION
========================================
*/
#testimonials {
    padding-top: 50px !important;
    padding-bottom: 20px !important; /* Reduced bottom padding */
    min-height: auto !important;
    background: #0a0f1d;
    position: relative;
    overflow: hidden;
}

.testimonialSwiper {
    margin-top: 30px !important;    /* Gap between title and cards */
    padding-bottom: 10px !important; /* Reduced gap between cards and dots */
    height: auto !important;         /* Forces container to fit cards */
}

.corporate-testi-card {
    background: rgba(255, 255, 255, 0.05) !important; 
    backdrop-filter: blur(12px) !important; 
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    padding: 1.25rem !important; 
    border-radius: 1.25rem;
    height: 100% !important;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Pagination Dots Alignment */
.testimonialSwiper .swiper-pagination {
    position: relative !important;
    bottom: 0 !important;
    margin-top: 15px !important; /* Tightens gap under cards */
}


.notice-wrapper {
    max-width: 1200px; 
    margin: 30px auto;
    padding: 0 15px;
}

.notice-flex-container {
    display: flex;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    overflow: hidden;
    height: 400px;
    height: auto;
    border: 1px solid #eee;
}

*/
.notice-img-side {
    flex: 0 0 320px; 
    height: 100%;
    background: #f9f9f9;
}

.notice-img-side img {
    width: 100%;
    height: 100%;
    object-fit: contain; 
    display: block;
    padding: 10px; /
}

 */
.notice-text-side {
    flex: 1;
    padding: 30px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center; 
}

.announcement-pill {
    background: #1a7a43;
    color: white;
    padding: 5px 12px;
    border-radius: 4px;
    font-weight: 800;
    font-size: 11px;
    letter-spacing: 1px;
    margin-bottom: 15px;
    width: fit-content;
}

.main-event-title {
    font-size: 24px;
    color: #222;
    margin-bottom: 20px;
    font-weight: 700;
}

.detail-item {
    font-size: 15px;
    margin-bottom: 10px;
    color: #444;
}

.invite-msg {
    font-size: 17px;
    font-weight: 600;
    color: #1a7a43;
    margin-top: 10px;
}

/* স্পেশাল অ্যানাউন্সমেন্ট ব্যাজ - আরও বড় ও বোল্ড */
.announcement-mega-badge {
    background: linear-gradient(90deg, #1a7a43, #2eac5d); /* গ্রেডিয়েন্ট কালার */
    color: #ffffff;
    padding: 10px 25px;
    border-radius: 8px;
    font-weight: 900; /* সর্বোচ্চ বোল্ড */
    font-size: 16px; /* ফন্ট সাইজ বাড়ানো হয়েছে */
    letter-spacing: 2px; /* অক্ষরের মাঝে গ্যাপ */
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(26, 122, 67, 0.3);
    text-transform: uppercase;
}

/* আইকন এনিমেশন - নজরে পড়ার জন্য হালকা পালস ইফেক্ট */
.pulse-icon {
    font-size: 20px;
    animation: icon-pulse 2s infinite;
}

@keyframes icon-pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

/* টাইটেল এবং বাকি কন্টেন্ট ঠিক রাখা */
.main-event-title {
    font-size: 28px;
    color: #222;
    margin-bottom: 20px;
    font-weight: 800;
}

/* মোবাইল ভিউ ঠিক করার জন্য Media Query */
@media (max-width: 768px) {
    .notice-flex-container {
        flex-direction: column; /* ইমেজ এবং টেক্সট একটির নিচে আরেকটি আসবে */
        height: auto; /* ফিক্সড হাইট সরিয়ে অটো করা হলো */
        min-height: unset;
        margin: 10px;
    }

    .notice-img-side {
        flex: 0 0 auto;
        width: 100%; /* ইমেজ পুরো চওড়া হবে */
        height: 300px; /* মোবাইলের জন্য ইমেজের নির্দিষ্ট উচ্চতা */
        background: #f9f9f9;
    }

    .notice-img-side img {
        padding: 5px; /* মোবাইলে গ্যাপ কমানো হলো */
        object-fit: contain;
    }

    .notice-text-side {
        padding: 20px; /* মোবাইলে প্যাডিং কমানো হলো যাতে জায়গা বাঁচে */
        text-align: center; /* সব লেখা মাঝখানে দেখাবে */
        align-items: center;
    }

    .announcement-mega-badge {
        font-size: 14px; /* ছোট স্ক্রিনে ব্যাজ সাইজ একটু কমানো */
        padding: 8px 15px;
        width: 100%; /* পুরো চওড়া ব্যাজ */
        justify-content: center;
    }

    .main-event-title {
        font-size: 22px; /* টাইটেল সাইজ সামান্য কমানো */
        margin-bottom: 15px;
    }

    .detail-item {
        justify-content: center; /* আইকন ও লেখা মাঝখানে রাখবে */
        font-size: 14px;
        text-align: left; /* ডিটেইলস বাম দিক থেকে শুরু হবে */
        width: 100%;
        max-width: 280px; /* মোবাইলে ডিটেইলস লিস্ট সুন্দর রাখতে */
    }
}            