/* Custom Styles for jobsA1 Landing Page */
:root {
    --primary-green: #006400;
    --primary-red: #c41e3a;
    --light-red: #e74c3c;
    --dark-blue: #0a2540;
    --light-bg: #f8f9fa;
}

body {
    font-family: 'Poppins', 'Noto Sans Bengali', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #ffffff;
    color: #333;
}

/* ========== DESKTOP STYLES ========== */
.desktop-view {
    display: block;
}

.mobile-view {
    display: none;
}

/* Header Desktop */
.header-desktop {
    background: linear-gradient(135deg, #ffffff 0%, #f0f7ff 100%);
    padding: 18px 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    border-bottom: 3px solid var(--primary-green);
}

.logo-desktop {
    max-height: 75px;
    width: auto;
}

/* Buttons next to logo */
.header-buttons {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    align-items: center;
    flex-wrap: wrap;
}

.btn-course {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    font-size: 0.88rem;
    font-weight: 700;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.25s ease;
    border: none;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
    white-space: nowrap;
}

.btn-airlines {
    background: linear-gradient(135deg, #006400 0%, #008000 100%);
    color: #ffffff !important;
}

.btn-airlines:hover {
    background: linear-gradient(135deg, #004d00 0%, #006400 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0,100,0,0.3);
    color: #ffffff !important;
}

.btn-news {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: #ffffff !important;
}

.btn-news:hover {
    background: linear-gradient(135deg, #c0392b 0%, #a93226 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(231,76,60,0.35);
    color: #ffffff !important;
}

.btn-call {
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
    color: #ffffff !important;
    font-weight: 700;
}

.btn-call:hover {
    background: linear-gradient(135deg, #0a58ca 0%, #084298 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(13,110,253,0.35);
    color: #ffffff !important;
}

.btn-whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: #ffffff !important;
    font-weight: 700;
}

.btn-whatsapp:hover {
    background: linear-gradient(135deg, #128C7E 0%, #075E54 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(37,211,102,0.35);
    color: #ffffff !important;
}

/* Make buttons scale nicely on medium screens */
@media (max-width: 1199.98px) {
    .btn-course {
        font-size: 0.82rem;
        padding: 9px 12px;
    }
}

@media (max-width: 991.98px) {
    .header-buttons {
        justify-content: center;
    }
}

/* Intro text under slider */
.intro-text-box {
    background: linear-gradient(135deg, var(--primary-green) 0%, #004d00 100%);
    color: white;
    padding: 18px 25px;
    border-radius: 15px;
    font-size: 1.05rem;
    line-height: 1.6;
    box-shadow: 0 6px 20px rgba(0,100,0,0.25);
    margin: 25px 0 10px;
    text-align: center;
}

.intro-text-box strong {
    color: #ffeb3b;
}

/* Slider */
.carousel-section {
    margin: 30px 0 10px;
}

.carousel-item img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
    border-radius: 12px;
}

.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    background: rgba(0,100,0,0.7);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.9;
}

.carousel-control-prev {
    left: 15px;
}

.carousel-control-next {
    right: 15px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: rgba(0,100,0,0.9);
}

/* Info Boxes Desktop */
.info-boxes {
    margin: 40px 0;
}

.info-box {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 25px;
    padding: 30px 25px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.12);
}

.info-box.address-box {
    border-color: var(--primary-green);
}

.info-box.contact-box {
    border-color: var(--primary-red);
}

.info-box h4 {
    font-weight: 700;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-box.address-box h4 {
    color: var(--primary-green);
}

.info-box.contact-box h4 {
    color: var(--primary-red);
}

.info-box p, .info-box ul {
    margin: 0;
    font-size: 1rem;
    line-height: 1.7;
}

.info-box ul {
    list-style: none;
    padding-left: 0;
}

.info-box ul li {
    margin-bottom: 8px;
}

.info-box .phone {
    font-weight: 600;
    color: #222;
}

/* Map Section */
.map-section {
    margin: 40px 0 60px;
}

.map-section h3 {
    text-align: center;
    color: var(--dark-blue);
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
}

.map-section h3::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-green), var(--primary-red));
    margin: 12px auto 0;
    border-radius: 2px;
}

.map-responsive {
    position: relative;
    overflow: hidden;
    padding-bottom: 40%;
    height: 0;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.map-responsive iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    border: 0;
}

/* ========== MOBILE STYLES ========== */
@media (max-width: 991.98px) {
    .desktop-view {
        display: none !important;
    }
    .mobile-view {
        display: block !important;
    }
}

/* Mobile Header */
.mobile-header {
    text-align: center;
    padding: 25px 15px 15px;
    background: linear-gradient(180deg, #f0f7ff 0%, #ffffff 100%);
}

.logo-mobile {
    max-height: 70px;
    width: auto;
    margin-bottom: 18px;
}

/* Mobile Buttons */
.mobile-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 0 15px 20px;
}

.mobile-buttons .btn-course {
    min-width: 100%;
    padding: 14px 18px;
    font-size: 0.95rem;
    font-weight: 700;
}

/* Mobile intro text under slider */
.mobile-intro-text {
    background: linear-gradient(135deg, var(--primary-green) 0%, #003300 100%);
    color: white;
    padding: 18px 16px;
    border-radius: 16px;
    font-size: 0.95rem;
    line-height: 1.65;
    box-shadow: 0 6px 20px rgba(0,100,0,0.25);
    margin: 15px 12px 20px;
    text-align: center;
}

.mobile-intro-text strong {
    color: #ffeb3b;
}

/* Mobile Info Sections */
.mobile-info-section {
    padding: 0 15px;
    margin-bottom: 25px;
}

.mobile-info-card {
    background: white;
    border-radius: 20px;
    padding: 22px 20px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    margin-bottom: 20px;
    border-left: 5px solid var(--primary-green);
}

.mobile-info-card.contact {
    border-left-color: var(--primary-red);
}

.mobile-info-card h5 {
    font-weight: 700;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.mobile-info-card.address h5 {
    color: var(--primary-green);
}

.mobile-info-card.contact h5 {
    color: var(--primary-red);
}

.mobile-info-card p,
.mobile-info-card ul {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.7;
}

.mobile-info-card ul {
    list-style: none;
    padding: 0;
}

.mobile-info-card ul li {
    margin-bottom: 6px;
}

/* Mobile Map */
.mobile-map-section {
    padding: 10px 15px 40px;
}

.mobile-map-section h4 {
    text-align: center;
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 15px;
}

.mobile-map-responsive {
    position: relative;
    overflow: hidden;
    padding-bottom: 75%;
    height: 0;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.mobile-map-responsive iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    border: 0;
}

/* Footer */
.site-footer {
    background: var(--dark-blue);
    color: #ccc;
    text-align: center;
    padding: 18px 10px;
    font-size: 0.85rem;
}

.site-footer a {
    color: #ffeb3b;
    text-decoration: none;
}

/* Utility */
.container-fluid-custom {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

@media (max-width: 576px) {
    .carousel-item img {
        max-height: 280px;
    }
    
    .btn-course {
        font-size: 0.88rem;
        padding: 12px 14px;
    }
}
