:root {
    --brand-red: #D31111;
    --brand-grey: #48494a;
    --footer-bg: #1a1a1a;
    --light-grey: #f8f9fa;
    --text-muted: #b0b0b0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.navbar {
    background: white;
    border-bottom: 3px solid var(--brand-red);
}

.navbar-brand {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.navbar-brand span {
    font-size: 1rem;
    line-height: 1.2;
}

.navbar-brand img {
    height: 50px;
}


@media (max-width: 575.98px) {

    .navbar-brand span {
        font-size: 0.85rem;
    }

    .navbar-brand img {
        height: 40px;
        margin-left: 10px;
    }
    
    /* Ensure dropdown appears properly below navbar */
    .navbar-collapse {
        background: #fff;
        padding: 10px 0;
    }

    .navbar-nav {
        text-align: center;
    }
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('assets/hero.jpeg');
    ;
    background-size: cover;
    background-position: center;
    height: 120vh;
    width: 100%;
    color: white;
    display: flex;
    align-items: center;
    text-align: center;
}

@media (max-width: 575.98px) {
    .hero{
        height: 90vh;
    }
}

.btn-primary-red {
    background-color: var(--brand-red);
    color: white;
    border: none;
    padding: 12px 30px;
    font-weight: bold;
}

.btn-primary-red:hover {
    background-color: #b00e0e;
    color: white;
}

/* Country Cards */
.country-card {
    border: none;
    transition: transform 0.3s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.country-card:hover {
    transform: translateY(-10px);
}

.country-icon {
    font-size: 3rem;
    color: var(--brand-red);
    margin-bottom: 15px;
}





#about .about-content p {
            margin-bottom: 1.5rem;
        }

        #about img {
            transition: transform 0.4s ease;
        }

        #about img:hover {
            transform: scale(1.02);
        }

        @media (max-width: 992px) {
            .title {
                text-align: center;
            }

            .sub-title {
                text-align: center;
            }
        }

        #stats {
            border-top: 1px solid #eee;
            border-bottom: 1px solid #eee;
        }

        .stats-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 2rem;
            text-align: center;
        }

        .stat-item {
            padding: 1.5rem;
        }

        .stat-number {
            font-size: clamp(2.2rem, 4vw, 3.2rem);
            font-weight: 800;
            color: #D31111;
            display: block;
            margin-bottom: 0.2rem;
        }

        .stat-label {
            color: #333333;
            font-size: 1rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .reveal {
            opacity: 0;
            transform: translateY(20px);
            transition: opacity 0.8s ease, transform 0.8s ease;
        }

        .reveal.visible {
            opacity: 1;
            transform: translateY(0);
        }

        @media (max-width: 992px) {
            .stats-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        :root {
            --text-light-grey: #6c757d;
        }

        .destination {
            position: relative;
            isolation: isolate;
            overflow: hidden;
        }

        .destination::before {
            position: absolute;
            content: "STUDY";
            bottom: -20px;
            left: 50%;
            transform: translateX(-100%);
            font-size: clamp(10rem, 20vw, 20rem);
            font-weight: 900;
            line-height: 1;
            letter-spacing: -15px;
            color: var(--dark-grey);
            opacity: 0.05;
            z-index: -1;
            pointer-events: none;
        }

        .section__header {
            font-size: 2.5rem;
            font-weight: 700;
            color: var(--dark-grey);
            text-align: center;
            margin-bottom: 0.5rem;
        }

        .section__description {
            color: var(--text-light-grey);
            text-align: center;
            margin-bottom: 3rem;
            font-size: 1.1rem;
        }

        .destination__card {
            position: relative;
            overflow: hidden;
            border-radius: 12px;
            height: 380px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            transition: transform 0.3s ease;
        }

        .destination__card:hover {
            transform: translateY(-5px);
        }

        .destination__card img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }

        .destination__content {
            position: absolute;
            inset: 0;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 2rem;
            text-align: center;
            color: white;
            background: linear-gradient(to top, rgba(211, 17, 17, 0.9), rgba(211, 17, 17, 0.7));
            z-index: 1;
            opacity: 0;
            transition: all 0.4s ease-in-out;
        }

        .destination__content h3 {
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 1px;
            margin-bottom: 10px;
            transform: translateY(20px);
            transition: 0.4s;
        }

        .destination__content p {
            font-size: 0.95rem;
            transform: translateY(20px);
            transition: 0.4s 0.1s;
        }

        .destination__card:hover .destination__content {
            opacity: 1;
        }

        .destination__card:hover .destination__content h3,
        .destination__card:hover .destination__content p {
            transform: translateY(0);
        }

        @media (max-width: 768px) {
            .destination__card {
                height: 280px;
            }
        }

        /* Services Section */
        .service-card {
            background: #fff;
            border-radius: 12px;
            padding: 2rem;
            text-align: center;
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.07);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            height: 100%;
        }

        .service-card p {
            text-align: justify;
        }

        .service-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 35px rgba(211, 17, 17, 0.1);
        }

        .service-icon {
            width: 80px;
            height: 80px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 1.5rem;
        }

        .service-icon lottie-player {
            width: 80px;
            height: 80px;
        }

        /* FAQ Section */
        .faq-section .accordion-button:not(.collapsed) {
            background-color: #fff0f0;
            color: #D31111;
            font-weight: 600;
        }

        .faq-section .accordion-button:focus {
            box-shadow: 0 0 0 0.2rem rgba(211, 17, 17, 0.2);
        }

        /* Testimonials */
        .testimonial-card {
            background: #fff;
            border-radius: 12px;
            padding: 2rem;
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.07);
            height: 100%;
            border-left: 4px solid #D31111;
        }

        .stars {
            color: #ffc107;
            font-size: 1.1rem;
        }








footer {
    background: var(--footer-bg);
    color: white;
    padding: 60px 0 20px;
}

/* --- LOGO STYLING (Side-by-Side Horizontal) --- */
.footer-logo-text {
    font-weight: 900;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    font-family: 'Arial Black', Gadget, sans-serif;
}

/* Specificity added to ensure colors override footer defaults */
.footer-logo-text .text-dhaka {
    color: var(--brand-red) !important;
    font-size: 1.8rem;
}

.footer-logo-text .text-study {
    color: var(--brand-grey) !important;
    font-size: 1.8rem;
}

.footer-logo-text .text-abroad {
    color: var(--brand-red) !important;
    font-size: 1.8rem;
    /* Slightly smaller makes it look even thinner */
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 500;
    /* Extremely thin/patla weight */
    letter-spacing: 6px;
    /* Stretches the letters like the logo */
    display: inline-block;
}

/* --- CONTENT STYLING --- */
.footer-text {
    text-align: justify;
    max-width: 350px;
    color: var(--text-muted);
    line-height: 1.6;
}

.quick-links-list li {
    margin-bottom: 12px;
}

@media (min-width: 576px) {

   .quick-section{
    margin-left: 10px;
   }
}

/* --- CONTACT & LINKS --- */
.contact-link {
    transition: color 0.3s;
    color: var(--text-muted) !important;
}

.contact-link:hover {
    color: var(--brand-red) !important;
}

.contact-link i {
    font-size: 1.1rem;
    vertical-align: middle;
}

/* Alignment fix for address text */
.contact-info-block {
    text-align: left;
}

/* --- FOOTER BOTTOM LINE --- */
.footer-line {
    border-top: 1px solid #333;
    margin-top: 40px;
    padding-top: 20px;
}

@media (min-width: 992px) {
    .nav-center-lg {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }
}

/* ===== FOOTER RESPONSIVE FIX ===== */
@media (max-width: 767.98px) {

    .footer-logo-text {
        justify-content: start;
        text-align: start;
    }

    .footer-text {
        text-align: justify;
        max-width: 100%;
    }

    .quick-links-list {
        text-align: start;
    }

    .contact-info-block,
    footer .text-start {
        text-align: start;
    }

    footer .d-flex.align-items-start {
        justify-content: start;
    }
}

@media (min-width: 344px) {

    .footer-logo-text .text-dhaka,
    .footer-logo-text .text-study {
        font-size: 1.6rem;
        font-weight: 500;
    }

    .footer-logo-text .text-abroad {
        font-size: 1.2rem;
        letter-spacing: 4px;
    }
}

@media (min-width: 360px) {

    .footer-logo-text .text-dhaka,
    .footer-logo-text .text-study {
        font-size: 1.8rem;
        font-weight: 500;
    }

    .footer-logo-text .text-abroad {
        font-size: 1.6rem;
        letter-spacing: 4px;
    }
}

@media (min-width: 576px) {

    .footer-logo-text .text-dhaka,
    .footer-logo-text .text-study {
        font-size: 1.4rem;
        font-weight: 500;
    }

    .footer-logo-text .text-abroad {
        font-size: 1.2rem;
        letter-spacing: 4px;
    }
}

/* Medium devices */
@media (min-width: 768px) {

    .footer-logo-text .text-dhaka,
    .footer-logo-text .text-study {
        font-size: 1.6rem;
    }

    .footer-logo-text .text-abroad {
        font-size: 1.3rem;
        letter-spacing: 5px;
    }
}

/* Large devices */
@media (min-width: 992px) {

    .footer-logo-text .text-dhaka,
    .footer-logo-text .text-study {
        font-size: 1.4rem;
    }

    .footer-logo-text .text-abroad {
        font-size: 1.4rem;
        letter-spacing: 6px;
    }
}

@media (min-width: 1280px) {

    .footer-logo-text .text-dhaka,
    .footer-logo-text .text-study {
        font-size: 1.8rem;
    }

    .footer-logo-text .text-abroad {
        font-size: 1.6rem;
        letter-spacing: 6px;
    }
}