/* start header-top-custom */
.custom-header-top {
    color: #fff;
    padding: 10px 0;
    font-size: 0.9rem;
}

/* Contact info all in one line */
.custom-header-contact-info {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    align-items: center;
    gap: 25px;
}

.custom-header-contact {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #fff;
    font-weight: 500;
    white-space: nowrap; /* যাতে text ভাঙে না */
}

.custom-header-contact span {
    font-size: 1rem;
    color: #ffc107;
}

.custom-header-contact p {
    margin: 0;
    color: #fff;
}

/* Social right side */
.custom-header-social ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: flex-end;
    gap: 20px;
}

.custom-header-social ul li a {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #fff;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.custom-header-social ul li a span {
    font-size: 1rem;
    background: #fff;
    color: #0d6efd;
    border-radius: 50%;
    padding: 4px 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.custom-header-social ul li a:hover {
    color: #ffc107;
}

.custom-header-social ul li a:hover span {
    background: #ffc107;
    color: #fff;
}

/* Responsive */
@media (max-width: 991px) {
    .custom-header-contact-info {
        justify-content: center; /* center align mobile/tablet এ */
        gap: 15px;
    }
    .custom-header-social ul {
        justify-content: center;
        margin-top: 8px;
    }
}

@media (max-width: 576px) {
    .custom-header-contact-info {
        flex-wrap: wrap; /* লাইনে থাকবে, কিন্তু দরকার হলে wrap করবে */
        justify-content: center;
        gap: 10px;
        text-align: center;
    }
    .custom-header-social ul {
        justify-content: center;
        gap: 10px;
    }
}
/* end header-top-custom */

/* start custom-middle-header */
.custom-middle-header {
    background: #fff;
    padding: 5px 0;
    border-bottom: 2px solid #eee;
}

/* Row override: always keep items in a row */
.custom-middle-header .row {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.custom-header-logo img {
    width: 160px;
    height: auto;
    max-height: 120px;
    padding: 5px;
}

/* Title */
.custom-header-title {
    text-align: center;
    flex: 1;
    padding: 0 10px;
}

.custom-header-title .header-title-bn {
    font-family: "BanglaCustom", sans-serif !important;
    font-size: 34px;
    font-weight: bold;
    color: #000;
    margin: 0;
    line-height: 1.2;
}

.custom-header-title .header-title-en {
    font-size: 35px;
    font-weight: 600;
    color: #333;
    margin: 0;
    line-height: 1.5;
}

/* Time */
.custom-header-time {
    text-align: right;
    white-space: nowrap;
}

.custom-header-time #time {
    font-size: 28px;
    font-weight: bold;
    color: #000;
}

.custom-header-time #date-day {
    font-size: 13px;
    font-weight: 600;
    color: #444;
}

.custom-header-time #bangla-arabic-date {
    font-size: 12px;
    color: #555;
}

/* Responsive */
@media (max-width: 991px) {
    .custom-header-logo img {
        width: 120px;
        max-height: 90px;
    }
    .custom-header-title .header-title-bn {
        font-size: 26px;
    }
    .custom-header-title .header-title-en {
        font-size: 18px;
    }
    .custom-header-time #time {
        font-size: 20px;
    }
}

@media (max-width: 576px) {
    .custom-header-logo img {
        width: 90px;
        max-height: 70px;
    }
    .custom-header-title .header-title-bn {
        font-size: 20px;
    }
    .custom-header-title .header-title-en {
        font-size: 14px;
    }
    .custom-header-time {
        text-align: right;
        font-size: 11px;
    }
    .custom-header-time #time {
        font-size: 16px;
    }
}
/* end custom-middle-header */
/* start header-custom-navbar */
.header-custom-navbar {
    padding: 10px 0;
}

/* Menu default */
#mobile-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
}

/* Menu items */
#mobile-menu ul li {
    position: relative;
}
#mobile-menu ul li a {
    color: #000;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    padding: 6px 12px;
    display: block;
    transition: 0.3s;
}
#mobile-menu ul li a:hover {
    background: rgba(28, 179, 203, 0.2);
    border-radius: 5px;
}

/* Submenu (desktop hover) */
#mobile-menu ul li ul {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 200px;
    display: none;
    flex-direction: column;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
    z-index: 99;
}
#mobile-menu ul li ul li a {
    color: #333;
    padding: 8px 15px;
}
#mobile-menu ul li:hover > ul {
    display: block;
}
/* Mobile Toggle Button */
.mobile-toggle {
    cursor: pointer;
    font-size: 26px;
    color: #333;
    width: 40px;
    height: 40px;
    border: 2px solid #333;
    border-radius: 6px;
    display: flex; /* center horizontally & vertically */
    align-items: center;
    justify-content: center;
}

/* Mobile Menu Responsive */
@media (max-width: 991px) {
    #mobile-menu ul {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        display: none; /* hidden by default */
        padding: 10px;
        background: #fff;
    }

    #mobile-menu.active ul {
        display: flex; /* show when active */
    }

    #mobile-menu ul li {
        width: 100%;
    }

    #mobile-menu ul li ul {
        position: static;
        background: #f8f9fa;
        padding-left: 15px;
        display: none;
    }

    #mobile-menu ul li.open > ul {
        display: block;
    }
}
    
/* end header-custom-navbar */

/* start of custom-slider-box */
.custom-slider-box .slider-area {
    position: relative;
}

.custom-slider-box .single-slider {
    min-height: 500px; /* desktop height */
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    transition: all 0.5s ease-in-out;
}

.custom-slider-box .slider-content {
    color: #fff;
    padding: 20px;
}

.custom-slider-box .slider-content h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 15px;
}

.custom-slider-box .slider-content p {
    font-size: 18px;
    margin-bottom: 20px;
}

.custom-slider-box .theme-btn {
    background-color: #ff9900;
    color: #fff;
    border: none;
    padding: 10px 25px;
    font-weight: bold;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.custom-slider-box .theme-btn:hover {
    background-color: #ffd700;
    color: #0a2540;
}

/* Mobile responsive */
@media (max-width: 991px) {
    .custom-slider-box .single-slider {
        min-height: 350px;
        padding: 30px 15px;
    }

    .custom-slider-box .slider-content h1 {
        font-size: 28px;
        text-align: center;
    }

    .custom-slider-box .slider-content p {
        font-size: 16px;
        text-align: center;
    }

    .custom-slider-box .theme-btn {
        display: block;
        width: 100%;
        text-align: center;
        margin: 0 auto;
    }
}
/* end of custom-slider-box */

/* About Section */

.about-right-img img.about-img {
    max-width: 100%;
    height: auto;
    max-height: 400px;
    display: block;
    margin: 0 auto;
}

/* Gallery Section */
.courses-thumb img {
    width: 100%;
    aspect-ratio: 16/9; /* keeps same ratio across all */
    object-fit: cover;
}

/* start of FAQ Section */
/* Grid UL Container */
.faq-wrapper .card-body > div {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
    margin-top: 15px;
    justify-items: stretch; /* Make UL take full width */
    text-align: left; /* Left align text inside */
}

/* List Style */
.faq-wrapper .card-body ul {
    margin: 0;
    padding: 0;
    list-style: none;
    text-align: left; /* Ensure list text left-aligned */
}

.faq-wrapper .card-body ul li {
    margin-bottom: 10px;
    font-size: 15px;
    line-height: 1.6;
    color: #333333;
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Align text + icon to the left */
}

/* Tick Marks */
.faq-wrapper .card-body ul li::before {
    content: "✔";
    color: #28a745;
    font-weight: bold;
    margin-right: 8px;
    flex-shrink: 0;
}

/* Responsive for Mobile */
@media (max-width: 576px) {
    .faq-wrapper .card-body > div {
        grid-template-columns: 1fr; /* One column for mobile */
        gap: 10px;
    }

    .faq-wrapper .card-body ul li {
        font-size: 14px;
        line-height: 1.5;
    }

    .faq-wrapper .card-body ul li::before {
        font-size: 14px;
        margin-right: 6px;
    }
}
/* end of FAQ section */

/* start custom-feature-section */
.custom-feature-section {
    padding-top: 65px;
    padding-bottom: 30px;
    /* background: #f9f9f9; */
}

.custom-feature-card {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
    flex: 1;
    transition: transform 0.3s, box-shadow 0.3s;
}

.custom-feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.custom-feature-title h3 {
    font-size: 20px;
    font-weight: 700;
    color: #0d6efd;
    margin-bottom: 10px;
}

.custom-feature-text p {
    font-size: 14px;
    color: #333;
    margin-bottom: 6px;
    line-height: 1.5;
}

/* start-of-result-section */
.result-section {
    padding-top: 50px;
    padding-bottom: 50px;
}

.result-section .section-title h1 {
    font-size: 36px;
    font-weight: 700;
}

.result-section .card {
    border: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
}

.result-section .card-header {
    background-color: #d9d9d9;
    font-weight: 600;
    font-size: 18px;
}

.result-section .table th,
.result-section .table td {
    padding: 10px 8px;
    font-size: 14px;
}

/* Mobile adjustments */
@media (max-width: 991px) {
    .result-section {
        padding-left: 15px;
        padding-right: 15px;
    }

    .result-section .section-title h1 {
        font-size: 28px;
    }

    /* Tables full width, scrollable if needed */
    .result-section .table {
        width: 100%;
        min-width: 100%;
    }

    .result-section .table th,
    .result-section .table td {
        font-size: 13px;
        padding: 8px 6px;
        white-space: nowrap; /* avoid line break */
    }

    /* Optional: make table scrollable horizontally */
    .result-section .table-responsive {
        overflow-x: auto;
    }
}

@media (max-width: 575px) {
    .result-section .section-title h1 {
        font-size: 24px;
    }

    .result-section .table th,
    .result-section .table td {
        font-size: 12px;
        padding: 6px 4px;
    }
}
/* end-of-result-section */

/* Responsive */
@media (max-width: 991px) {
    .custom-feature-card {
        padding: 18px;
    }
    .custom-feature-title h3 {
        font-size: 18px;
    }
    .custom-feature-text p {
        font-size: 13px;
    }
}

@media (max-width: 576px) {
    .custom-feature-section .row {
        flex-direction: column;
        gap: 20px;
    }
    .custom-feature-card {
        width: 100%;
        padding: 15px;
    }
    .custom-feature-title h3 {
        font-size: 16px;
    }
    .custom-feature-text p {
        font-size: 12px;
    }
}
/* end custom-feature-section */

/* start custom footer styles */
.custom-footer-part {
    font-family: "BanglaCustom", sans-serif;
    color: #fff;
    background-color: #0a2540;
}

.custom-footer-part a {
    color: #ffd700;
    text-decoration: none;
}

.custom-footer-part a:hover {
    color: #ff9900;
}

.custom-footer-part .footer-widget h3 {
    color: #fff;
    font-weight: bold;
    margin-bottom: 10px;
}

.custom-footer-part ul {
    padding: 0;
    list-style: none;
}

.custom-footer-part ul li {
    margin-bottom: 8px;
}

.custom-footer-part ul.social-icons li {
    display: inline-block;
    margin-right: 10px;
}

.custom-footer-part .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 14px;
    padding-top: 15px;
    padding-bottom: 15px;
}

.custom-footer-part .footer-text {
    font-family: "BanglaCustom", sans-serif;
    font-weight: bold;
}

.custom-footer-part .footer-left,
.custom-footer-part .footer-right {
    margin: 5px 0;
}

@media (max-width: 991px) {
    .custom-footer-part .footer-widget {
        text-align: center !important;
    }

    .custom-footer-part .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .custom-footer-part .footer-left,
    .custom-footer-part .footer-right {
        margin: 5px 0;
    }
}
/* end custom footer styles */

/* ট্যাবলেট জন্য */

@media (max-width: 992px) {
    .about-right-img img.about-img {
        max-height: 300px;
    }
}

/* মোবাইল জন্য */

@media (max-width: 576px) {
    .about-right-img img.about-img {
        max-height: 200px;
    }
}
