/* ================= Header & Menu Area ================= */
.header-area {
    background-color: #000b30;
    padding: 15px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #ffffff;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #ffca28;
}

.brand-logo { display: flex; align-items: center; gap: 15px; text-decoration: none; color: #ffffff; }
.circle-logo { width: 50px; height: 50px; background-color: #ffffff; border-radius: 50%; display: flex; justify-content: center; align-items: center; overflow: hidden; }
.brand-text h1 { font-size: 24px; font-weight: 700; line-height: 1.2; margin: 0; }
.brand-text p { font-size: 11px; letter-spacing: 1px; color: #ffca28; margin: 0; text-transform: uppercase; }

.main-menu { list-style: none; display: flex; gap: 25px; align-items: center; margin: 0; }
.main-menu li a { color: #ffffff; text-decoration: none; font-weight: 400; font-size: 15px; transition: 0.3s; }
.main-menu li a:hover, .main-menu li a.active { color: #ffca28; }
.apply-btn { background-color: #ffca28; color: #000b30 !important; padding: 8px 20px; border-radius: 25px; font-weight: 600; border: none !important; }

.mobile-menu-btn { display: none; background: transparent; border: 1px solid #ffca28; color: #ffca28; font-size: 24px; padding: 5px 12px; border-radius: 5px; cursor: pointer; }

/* ================= Dropdown Menu CSS (Fixed) ================= */
.main-menu li {
    position: relative;
}

ul.dropdown-menu {
    display: none !important; /* প্রথমে হাইড থাকবেই */
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #ffffff;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    min-width: 220px;
    z-index: 999;
    padding: 10px 0;
    margin: 0 !important;
    list-style: none !important; /* বুলেট পয়েন্ট রিমুভ */
    border-top: 3px solid #ffca28;
}

/* হোভার করলে তবেই শো করবে */
.main-menu li.has-dropdown:hover ul.dropdown-menu {
    display: block !important; 
    animation: fadeIn 0.3s ease-in-out;
}

ul.dropdown-menu li { 
    display: block !important; 
    margin: 0 !important; 
    padding: 0 !important;
    list-style: none !important;
}

ul.dropdown-menu li a {
    padding: 12px 20px !important;
    display: flex !important;
    align-items: center;
    gap: 12px;
    color: #000b30 !important; /* সাদা ব্যাকগ্রাউন্ডে নীল টেক্সট */
    font-size: 14px;
    transition: 0.3s;
    text-decoration: none;
    width: 100%;
}

ul.dropdown-menu li a i {
    color: #a0a5b1;
    font-size: 14px;
    transition: 0.3s;
}

ul.dropdown-menu li a:hover {
    background-color: #f8fafc !important;
    color: #ffca28 !important;
    padding-left: 25px !important; /* হোভার করলে সামান্য ডানে সরবে */
}

ul.dropdown-menu li a:hover i { 
    color: #ffca28; 
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* মোবাইলের জন্য ফিক্স */
@media (max-width: 991px) {
    ul.dropdown-menu { 
        position: relative !important; 
        top: 0; 
        box-shadow: none !important; 
        border-top: none !important; 
        padding-left: 15px !important; 
        background: transparent !important; 
        display: none !important; /* মোবাইলেও হাইড থাকবে */
    }
    .main-menu li.has-dropdown:hover ul.dropdown-menu {
        display: block !important;
    }
    ul.dropdown-menu li a { color: #ffffff !important; padding: 8px 10px !important; }
    ul.dropdown-menu li a:hover { background: transparent !important; padding-left: 15px !important; }
}


/* ================= Latest News Area ================= */
.latest-news-wrapper { display: flex; background-color: #000b30; border-bottom: 2px solid #ffca28; height: 45px; }
.news-badge { background-color: #ffca28; color: #000b30; font-weight: 700; padding: 0 20px; font-size: 14px; display: flex; align-items: center; gap: 8px; white-space: nowrap; z-index: 10; }
.news-ticker { flex: 1; overflow: hidden; display: flex; align-items: center; }
.news-ticker marquee { color: #ffffff; font-size: 14px; font-weight: 500; }

/* ================= Hero Section ================= */
.hero-section { background-color: #2b4570; padding: 80px 5% 150px; display: flex; align-items: center; justify-content: space-between; min-height: 80vh; color: #ffffff; }
.hero-content { max-width: 50%; }
.hero-content h4 { color: #ffca28; letter-spacing: 2px; margin-bottom: 15px; font-size: 14px; text-transform: uppercase; }
.hero-content h1 { font-size: 55px; line-height: 1.2; margin-bottom: 20px; font-family: 'Times New Roman', serif; }
.hero-content p { font-size: 16px; margin-bottom: 35px; line-height: 1.6; color: #e0e0e0; }
.btn-primary { background-color: #ffca28; color: #000b30; padding: 12px 28px; border-radius: 30px; text-decoration: none; font-weight: 600; margin-right: 15px; display: inline-block; transition: 0.3s; }
.btn-primary:hover { background-color: #e6b620; transform: translateY(-2px); }
.btn-secondary { background-color: transparent; border: 2px solid #ffffff; color: #ffffff; padding: 12px 28px; border-radius: 30px; text-decoration: none; font-weight: 600; display: inline-block; transition: 0.3s; }
.btn-secondary:hover { background-color: #ffffff; color: #000b30; transform: translateY(-2px); }
.hero-video { width: 45%; background: rgba(255, 255, 255, 0.1); padding: 15px; border-radius: 15px; backdrop-filter: blur(10px); }
.video-placeholder { position: relative; border-radius: 10px; overflow: hidden; background: #f0f0f0; display: flex; flex-direction: column; justify-content: center; align-items: center; height: 320px; cursor: pointer; }

/* ================= Overlapping Feature Cards ================= */
.feature-cards-section { max-width: 1200px; margin: -80px auto 50px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; padding: 0 5%; position: relative; z-index: 10; }
.feature-card { background: #ffffff; padding: 40px 30px; border-radius: 15px; text-align: center; box-shadow: 0 10px 30px rgba(0,0,0,0.08); transition: transform 0.3s; }
.feature-card:hover { transform: translateY(-10px); }
.feature-icon { width: 60px; height: 60px; background: #fffcf0; color: #ffca28; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 24px; margin: 0 auto 20px; }
.feature-card h3 { font-size: 20px; color: #000b30; margin-bottom: 15px; font-weight: 700; }
.feature-card p { font-size: 14px; color: #666; line-height: 1.6; }

/* ================= About Section ================= */
.about-section { padding: 80px 5%; display: flex; align-items: center; gap: 50px; max-width: 1200px; margin: 0 auto; }
.about-image { flex: 1; position: relative; border-radius: 15px; overflow: hidden; border: 4px solid #ffca28; border-top-width: 15px; }
.about-image img { width: 100%; display: block; }
.about-text { flex: 1; }
.section-subtitle { color: #ffca28; font-size: 14px; font-weight: 700; text-transform: uppercase; margin-bottom: 10px; letter-spacing: 1px; }
.section-title { font-size: 36px; color: #000b30; margin-bottom: 25px; font-weight: 700; font-family: 'Times New Roman', serif; }
.about-text p { color: #555; line-height: 1.7; margin-bottom: 20px; font-size: 15px; }
.btn-outline { display: inline-block; padding: 12px 25px; background: #ffca28; color: #000b30; text-decoration: none; font-weight: 600; border-radius: 5px; margin-top: 15px; transition: 0.3s; }
.btn-outline:hover { background: #e6b620; }

/* ================= Stats Banner ================= */
.stats-banner { background: #000b30; padding: 60px 5%; display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; color: #fff; margin: 50px 0; }
.stat-item h2 { color: #ffca28; font-size: 40px; margin-bottom: 10px; }
.stat-item p { font-size: 14px; text-transform: uppercase; letter-spacing: 1px; }

/* ================= Services Grid ================= */
.overview-section { padding: 60px 5%; max-width: 1200px; margin: 0 auto; text-align: center; }
.overview-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 40px; text-align: left; }
.overview-card { background: #fff; border-radius: 15px; overflow: hidden; box-shadow: 0 5px 20px rgba(0,0,0,0.05); }
.overview-img-wrap { position: relative; height: 200px; }
.overview-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.overview-icon-badge { position: absolute; bottom: -20px; right: 20px; width: 50px; height: 50px; background: #ffca28; color: #000b30; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 20px; border: 3px solid #fff; }
.overview-content { padding: 30px 20px; }
.overview-content h3 { font-size: 18px; color: #000b30; margin-bottom: 15px; font-weight: 600; }
.overview-content p { font-size: 14px; color: #666; line-height: 1.6; }

/* ================= Feature Small Cards ================= */
.feature-small-section { padding: 30px 5%; max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.small-card { background: #fff; border-radius: 10px; padding: 25px 20px; display: flex; align-items: flex-start; gap: 15px; box-shadow: 0 5px 15px rgba(0,0,0,0.04); }
.small-card i { color: #ffca28; font-size: 30px; }
.small-card h4 { color: #000b30; font-size: 16px; margin-bottom: 8px; }
.small-card p { font-size: 12px; color: #777; line-height: 1.5; margin: 0; }

/* ================= Team Section ================= */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 40px; }
.team-card { text-align: center; background: #fff; border-radius: 15px; overflow: hidden; padding-bottom: 25px; box-shadow: 0 5px 20px rgba(0,0,0,0.05); }
.team-card img { width: 100%; height: 280px; object-fit: cover; border-bottom: 3px solid #ffca28; }
.team-card h3 { font-size: 18px; color: #000b30; margin: 20px 0 5px; }
.team-badge { background: #ffca28; color: #fff; font-size: 12px; font-weight: 700; padding: 5px 15px; border-radius: 15px; display: inline-block; margin-top: 10px; }

/* ================= Testimonials ================= */
.testimonial-section { background: #f8f9fa; padding: 80px 5%; text-align: center; }
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; max-width: 1200px; margin: 40px auto 0; text-align: left; }
.testi-card { background: #fff; padding: 30px; border-radius: 15px; box-shadow: 0 5px 20px rgba(0,0,0,0.03); position: relative; }
.testi-stars { color: #ffca28; margin-bottom: 15px; font-size: 14px; }
.testi-quote { font-size: 14px; color: #555; line-height: 1.7; font-style: italic; margin-bottom: 25px; }
.testi-user { display: flex; align-items: center; gap: 15px; }
.testi-user img { width: 50px; height: 50px; border-radius: 50%; border: 2px solid #ffca28; }
.testi-user-info h4 { font-size: 15px; color: #000b30; margin-bottom: 3px; }
.testi-user-info p { font-size: 12px; color: #888; margin: 0; }
.quote-mark { position: absolute; top: 20px; right: 20px; color: #f0f0f0; font-size: 40px; font-family: serif; line-height: 1; }

/* ================= Contact Section ================= */
.contact-section { padding: 80px 5%; max-width: 1000px; margin: 0 auto; text-align: center; }
.contact-box { display: flex; background: #fff; border-radius: 20px; overflow: hidden; box-shadow: 0 15px 40px rgba(0,0,0,0.08); margin-top: 40px; text-align: left; }
.contact-info-panel { background: #000b30; color: #fff; padding: 50px 40px; flex: 1; border-top-left-radius: 20px; border-bottom-left-radius: 20px; }
.contact-info-panel h2 { font-size: 28px; margin-bottom: 15px; }
.contact-info-panel p { color: #b3b9c5; font-size: 14px; margin-bottom: 40px; line-height: 1.6; }
.info-item { display: flex; gap: 15px; margin-bottom: 25px; }
.info-item i { background: #1a2442; color: #ffca28; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: 8px; font-size: 16px; }
.info-item h4 { font-size: 14px; margin-bottom: 5px; }
.info-item span { font-size: 13px; color: #b3b9c5; }

.contact-form-panel { flex: 1.5; padding: 50px 40px; }
.contact-form-panel h2 { font-size: 24px; color: #000b30; margin-bottom: 10px; }
.contact-form-panel > p { color: #666; font-size: 14px; margin-bottom: 30px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.form-control { width: 100%; padding: 15px; background: #f8f9fa; border: none; border-radius: 8px; font-size: 14px; font-family: inherit; }
textarea.form-control { width: 100%; height: 120px; resize: none; margin-bottom: 20px; }
.submit-btn { background: #000b30; color: #fff; border: none; padding: 15px; width: 100%; border-radius: 8px; font-weight: 600; cursor: pointer; transition: 0.3s; }
.submit-btn:hover { background: #ffca28; color: #000b30; }

/* ================= Map & Bottom Banner ================= */
.map-section iframe { width: 100%; height: 400px; border: none; display: block; filter: grayscale(20%); }
.bottom-cta { background: #000b30; color: #fff; text-align: center; padding: 60px 5%; border-top: 2px solid #ffca28; }
.bottom-cta h2 { font-size: 32px; font-family: 'Times New Roman', serif; margin-bottom: 15px; }
.bottom-cta p { color: #b3b9c5; margin-bottom: 30px; font-size: 15px; max-width: 600px; margin-left: auto; margin-right: auto; }

/* ================= Mobile Responsive Area ================= */
@media (max-width: 991px) {
    .mobile-menu-btn { display: block; }
    .main-menu { display: none; flex-direction: column; width: 100%; position: absolute; top: 100%; left: 0; background-color: #000b30; padding: 20px 5%; border-bottom: 2px solid #ffca28; }
    .main-menu.show-mobile-menu { display: flex; }
    .main-menu li { width: 100%; text-align: left; margin-bottom: 15px; }
    .apply-btn { display: inline-block; width: auto; }
    
    /* Mobile Dropdown Fix */
    .dropdown-menu { position: relative; top: 0; box-shadow: none; border-top: none; padding-left: 15px; background: transparent; }
    .dropdown-menu li a { color: #ffffff !important; padding: 8px 10px; }
    .dropdown-menu li a:hover { background: transparent; padding-left: 15px; color: #ffca28 !important; }

    .hero-section { flex-direction: column; text-align: center; padding: 50px 5% 100px; }
    .hero-content { max-width: 100%; margin-bottom: 40px; }
    .hero-content h1 { font-size: 40px; }
    .hero-video { width: 100%; max-width: 500px; }

    .feature-cards-section, .testi-grid, .team-grid, .overview-grid, .feature-small-section { grid-template-columns: repeat(2, 1fr); }
    .about-section { flex-direction: column; }
    .stats-banner { grid-template-columns: repeat(2, 1fr); gap: 30px; }
    .contact-box { flex-direction: column; }
    .contact-info-panel { border-radius: 20px 20px 0 0; }
}
@media (max-width: 768px) {
    .feature-cards-section, .testi-grid, .team-grid, .overview-grid, .feature-small-section { grid-template-columns: 1fr; }
    .feature-cards-section { margin-top: 20px; }
    .form-grid { grid-template-columns: 1fr; }
    .news-badge { padding: 0 10px; font-size: 12px; }
    .news-ticker marquee { font-size: 12px; }
}

/* ================= Footer Area ================= */
.main-footer {
    background-color: #000b30;
    color: #ffffff;
    border-top: 2px solid #ffca28;
    padding-top: 60px;
    position: relative;
    font-family: 'Poppins', sans-serif;
    margin-top: auto;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding: 0 5%;
}

/* Column 1: Logo & About */
.footer-logo-area {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}
.footer-logo-area .circle-logo {
    width: 50px;
    height: 50px;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.footer-logo-area h3 {
    color: #ffca28;
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0;
    letter-spacing: 1px;
}
.footer-about {
    font-size: 13px;
    color: #b3b9c5;
    line-height: 1.7;
    margin-bottom: 25px;
}
.connect-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 15px;
    display: block;
    letter-spacing: 1px;
}
.social-icons {
    display: flex;
    gap: 12px;
}
.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: #0a1945;
    border-radius: 50%;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
}
.social-icons a:hover {
    background: #ffca28;
    color: #000b30;
}

/* Column 2 & 3: Links & Contact */
.footer-heading {
    color: #ffca28;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 25px;
    letter-spacing: 0.5px;
}
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links li {
    margin-bottom: 12px;
}
.footer-links a {
    color: #b3b9c5;
    text-decoration: none;
    font-size: 13px;
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}
.footer-links a i {
    color: #ffca28;
    font-size: 10px;
}
.footer-links a:hover {
    color: #ffca28;
}

.contact-info {
    list-style: none;
    padding: 0;
    margin: 0;
}
.contact-info li {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 13px;
    color: #b3b9c5;
    line-height: 1.5;
}
.contact-info li i {
    color: #ffca28;
    font-size: 16px;
    margin-top: 3px;
}
.contact-info strong {
    color: #ffffff;
    display: block;
    margin-bottom: 4px;
    font-weight: 500;
}

/* Column 4: Newsletter */
.newsletter-text {
    font-size: 13px;
    color: #b3b9c5;
    line-height: 1.6;
    margin-bottom: 20px;
}
.newsletter-form {
    position: relative;
    display: flex;
    background: #0a1945;
    border-radius: 30px;
    padding: 5px;
    align-items: center;
}
.newsletter-form i {
    color: #b3b9c5;
    padding-left: 15px;
    font-size: 14px;
}
.newsletter-form input {
    background: transparent;
    border: none;
    color: #ffffff;
    padding: 10px 10px;
    width: 100%;
    outline: none;
    font-size: 13px;
}
.newsletter-form input::placeholder {
    color: #6c758f;
}
.newsletter-form button {
    background: #ffca28;
    color: #000b30;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
    font-size: 13px;
}
.newsletter-form button:hover {
    background: #e6b620;
}

/* Footer Bottom Area */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 50px;
    padding: 25px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #b3b9c5;
    position: relative;
}

.engineered-by {
    display: flex;
    align-items: center;
    gap: 10px;
}
.engineered-badge {
    background: #ffca28;
    color: #000b30;
    padding: 4px 12px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 0.5px;
}

/* Back to top button */
.back-to-top {
    width: 40px;
    height: 40px;
    background: #ffca28;
    color: #000b30;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 18px;
    transition: 0.3s;
    position: absolute;
    right: 5%;
    bottom: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}
.back-to-top:hover {
    transform: translateY(-5px);
    background: #e6b620;
}

/* Responsive Footer */
@media (max-width: 991px) {
    .footer-container { grid-template-columns: 1fr 1fr; }
    .footer-bottom { flex-direction: column; gap: 15px; text-align: center; padding-bottom: 80px; }
    .back-to-top { bottom: 25px; right: 50%; transform: translateX(50%); }
    .back-to-top:hover { transform: translate(50%, -5px); }
}
@media (max-width: 576px) {
    .footer-container { grid-template-columns: 1fr; }
}
