/* ==========================================
   CUSTOM ESSENTIAL STYLES
   ========================================== */
body {
    font-family: 'Hind Siliguri', 'Poppins', sans-serif;
    background-color: #f8f9fa;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

/* Navbar Styles */
.navbar-custom {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1050;
    transition: all 0.3s ease;
    background-color: transparent !important;
    padding: 12px 0;
}

.navbar-custom.scrolled {
    background-color: #0b2545 !important;
    padding: 8px 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.logo-text h1 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff !important;
    margin: 0;
    line-height: 1.2;
}

.logo-text span {
    font-size: 0.65rem;
    color: #caf0f8;
    letter-spacing: 0.8px;
    display: block;
}

.navbar-custom .nav-link {
    color: #ffffff !important;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 8px 12px !important;
}

.navbar-custom .nav-link:hover {
    color: #00b4d8 !important;
}

/* Dropdown Menu Styles with Animation */
.navbar-custom .dropdown-menu {
    background-color: #0b2545;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    border-radius: 8px;
    /* Animation Styles Starts */
    
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    /* Animation Styles Ends */
}

.navbar-custom .dropdown-item {
    color: #ffffff;
    font-size: 0.9rem;
    padding: 8px 16px;
    transition: all 0.2s ease;
}

.navbar-custom .dropdown-item:hover {
    background-color: #00b4d8;
    color: #ffffff;
    padding-left: 20px; /* Hover effect: item moves slightly right */
}

/* Desktop Hover & Active Animation Effect */
@media (min-width: 992px) {
    .navbar-custom .dropdown:hover .dropdown-menu,
    .navbar-custom .dropdown .dropdown-menu.show {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        margin-top: 0;
    }
}

/* Mobile Dropdown Animation Support */
/* ==========================================
   DROPDOWN MENU STYLES
   ========================================== */
.navbar-custom .dropdown-menu {
    background-color: #0b2545;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    border-radius: 8px;
}

.navbar-custom .dropdown-item {
    color: #ffffff;
    font-size: 0.9rem;
    padding: 8px 16px;
    transition: all 0.2s ease;
}

.navbar-custom .dropdown-item:hover {
    background-color: #00b4d8;
    color: #ffffff;
    padding-left: 20px;
}

/* Desktop Only: Hover Effect & Smooth Animation */
@media (min-width: 992px) {
    .navbar-custom .dropdown-menu {
        display: block;
        opacity: 0;
        visibility: hidden;
        transform: translateY(15px);
        transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    }

    .navbar-custom .dropdown:hover .dropdown-menu,
    .navbar-custom .dropdown .dropdown-menu.show {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        margin-top: 0;
    }
}

/* Mobile Only: Layout & Spacing Overrides */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background-color: #0b2545;
        padding: 20px;
        border-radius: 12px;
        margin-top: 12px;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    }

    /* মোবাইলে অ্যানিমেশন প্রোপার্টি পুরোপুরি বাতিল করে সাধারণ লেআউট সেট করা */
    .navbar-custom .dropdown-menu {
        display: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        transition: none !important;
        background-color: rgba(255, 255, 255, 0.05) !important;
        border: none !important;
        box-shadow: none !important;
        margin-top: 5px !important;
        margin-bottom: 10px !important;
        padding-left: 10px !important;
    }

    .navbar-custom .dropdown-menu.show {
        display: block !important;
    }

    .navbar-custom .nav-link {
        padding: 10px 15px !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .navbar-custom .nav-item:last-child .nav-link {
        border-bottom: none;
    }

    .btn-admission {
        margin-top: 10px;
        display: block;
        text-align: center;
    }
}

.btn-admission {
    background: linear-gradient(135deg, #00b4d8, #0077b6);
    color: #fff !important;
    padding: 8px 20px !important;
    border-radius: 50px;
    font-weight: 600;
    border: none;
}

/* Hero Section & Slider */
.hero-slider {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background-color: #0b2545;
}

.hero-slider .carousel-item {
    height: 100vh;
    min-height: 600px;
    background-size: cover;
    background-position: center;
    position: relative;
}

/* স্লাইডারের ওভারলে বা ব্যাকড্রপ ব্লার কমানো */
.hero-slider .carousel-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* কালো ডার্কনেস কমানো হয়েছে (০.৩ হলো হালকা অপাসিটি) */
    background: rgba(0, 0, 0, 0.4) !important; 
    /* ব্যাকড্রপ ব্লার থাকলে তা বন্ধ করা */
    backdrop-filter: none !important; 
    -webkit-backdrop-filter: none !important;
}

.hero-slider .carousel-caption {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    bottom: auto;
    z-index: 5;
    padding: 0 15px;
}

.admission-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #ff4d4d;
    color: #ffffff;
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.btn-hero-apply {
    background: linear-gradient(135deg, #00b4d8, #0077b6);
    color: #ffffff !important;
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 50px;
    display: inline-block;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 180, 216, 0.4);
}

/* Bottom Wave Shape */
.bottom-shape {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 10;
}

.bottom-shape svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
}

.bottom-shape .shape-fill {
    fill: #f8f9fa;
}



/* Image Caption Label Styling */
.image-caption-tag {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    color: #caf0f8;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 4px 14px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 12px;
}

/* Adjust Carousel Controls on Mobile */
.carousel-control-prev, .carousel-control-next {
    width: 5%;
}

@media (max-width: 768px) {
    .image-caption-tag {
        font-size: 0.75rem;
        padding: 3px 10px;
        margin-bottom: 8px;
    }
}

/* Stylish Heading with Shadow */
.section-title {
    color: #1e293b;
    font-size: 2.2rem;
    letter-spacing: 2px;
    text-shadow: 2px 3px 6px rgba(0, 0, 0, 0.15);
    position: relative;
    display: inline-block;
}

/* Stylish Underline */
.title-underline {
    width: 70px;
    height: 4px;
    background: linear-gradient(90deg, #10b981, #059669);
    margin: 8px auto 0 auto;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(16, 185, 129, 0.3);
}

/* Custom Card with Modern Soft Shadow */
.custom-course-card {
    border-radius: 16px !important;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hover Effect for Cards */
.custom-course-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 30px -10px rgba(0, 0, 0, 0.15), 0 10px 15px -5px rgba(0, 0, 0, 0.08);
}

/* Fixed Image Container */
.card-img-wrapper {
    height: 190px;
    overflow: hidden;
    position: relative;
}

.card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.custom-course-card:hover .card-img-wrapper img {
    transform: scale(1.08);
}

/* Card Title styling */
.custom-course-card .card-title {
    color: #0f172a;
    font-size: 1.05rem;
    line-height: 1.4;
}

/* Button Custom Colors */
.btn-custom-green {
    background-color: #10b981;
    border: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.btn-custom-green:hover {
    background-color: #059669;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.35);
    transform: translateY(-1px);
}

/* Gallery Image Wrapper */
.gallery-img-wrapper {
    height: 250px; /* নির্দিষ্ট উচ্চতা বজায় রাখার জন্য */
}

.gallery-img {
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

/* Hover Zoom Effect */
.gallery-img-wrapper:hover .gallery-img {
    transform: scale(1.08);
}

/* Footer Dark Background */
.bg-dark-navy {
    background-color: #0b0f19;
}

/* Heading Bottom Underline */
.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 3px;
    background-color: #0dcaf0; /* Light blue accent color */
    border-radius: 2px;
}

/* Text & Link Colors */
.footer-text {
    font-size: 0.92rem;
    line-height: 1.6;
    color: #a0aec0 !important;
}

.footer-links a {
    color: #a0aec0 !important;
    font-size: 0.95rem;
    transition: color 0.2s ease, padding-left 0.2s ease;
}

.footer-links a:hover {
    color: #ffffff !important;
    padding-left: 4px;
}

/* Circular Social Buttons */
.social-icon-btn {
    width: 38px;
    height: 38px;
    background-color: #1e293b;
    color: #ffffff;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.social-icon-btn:hover {
    background-color: #0dcaf0;
    color: #000000;
    transform: translateY(-2px);
}