/* Base Styles */
body { font-family: 'Montserrat', sans-serif; background: #000; overflow-x: hidden; color: white; }
.font-oswald { font-family: 'Oswald', sans-serif; }

/* Custom Header Styling */
header {
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%; 
    z-index: 1050;
    background: rgba(0, 0, 0, 0.6); 
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: none;
}

.nav-link { 
    color: white !important; font-size: 11px; font-weight: 600; 
    letter-spacing: 0.2em; text-transform: uppercase; position: relative; 
}
.nav-link::after {
    content: ''; position: absolute; bottom: -5px; left: 0; width: 0; height: 1px;
    background: #fff; transition: width 0.3s;
}
.nav-link:hover::after { width: 100%; }

/* Slider Styles */
.hero-slider { position: relative; width: 100%; height: 100vh; overflow: hidden; }
.slide {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover; background-position: center;
    opacity: 0; visibility: hidden; z-index: 1;
    transform: scale(1.1);
}
.slide.active { opacity: 1; visibility: visible; z-index: 2; }

.overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0) 40%, rgba(0,0,0,0.8) 100%);
    z-index: 5;
}

.hero-content {
    position: absolute;
            top: 50%; /* মাঝামাঝি পজিশন */
            transform: translateY(-50%); /* নিখুঁতভাবে সেন্টারিং */
            left: 0;
            width: 100%;
            z-index: 10;
            padding: 0 8%; /* বাম দিক থেকে একটু বেশি মার্জিন */
            text-align: left;
}

#hero-title {
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 0.9; 
    font-weight: 700;
}

/* Project Filter Bar */
.project-filter {
    position: absolute; bottom: 0; left: 0; width: 100%;
    background: rgba(0, 0, 0, 0.3); border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px 0; z-index: 20;
}

/* প্রজেক্ট ফিল্টার লিংকের বেস স্টাইল */
.project-filter .d-flex a {
    position: relative;
    padding-top: 5px; /* বর্ডারের জন্য উপরে একটু জায়গা */
    transition: color 0.3s ease;
}

/* হোভার করলে ওপর দিয়ে বর্ডার আসার এনিমেশন */
.project-filter .d-flex a::before {
    content: '';
    position: absolute;
    top: -15px; /* লিংকের কতটা উপরে বর্ডার থাকবে */
    left: 0;
    width: 0;
    height: 2px; /* বর্ডারের পুরুত্ব */
    background-color: #fff; /* বর্ডারের রঙ */
    transition: width 0.3s ease;
}

/* হোভার স্টেট */
.project-filter .d-flex a:hover {
    color: #fff !important; /* হোভার করলে লেখা উজ্জ্বল হবে */
}

.project-filter .d-flex a:hover::before {
    width: 100%; /* হোভার করলে বর্ডার বাম থেকে ডানে যাবে */
}

/* Mobile Menu */
.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 1100;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s cubic-bezier(0.77, 0, 0.175, 1);
}

.mobile-menu-overlay.open {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-overlay a {
    color: white;
    text-decoration: none;
    font-size: 2rem;
    margin: 10px 0;
    opacity: 0;
    transform: translateY(30px);
    transition: color 0.3s;
}

/* Sections */
.section-padding { padding: 80px 0; }

.about-label {
    color: #888;
    font-size: 14px;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 500;
}

.about-title {
    color: #003366;
    font-weight: 700;
    font-size: 2.5rem;
    margin-bottom: 25px;
    line-height: 1.2;
}

.about-text {
    color: #555;
    line-height: 1.8;
    font-size: 15px;
    text-align: justify;
}

@media (max-width: 767px) {
    .about-title { font-size: 28px; }
    
}

.btn-learn-more {
    border: 1px solid #003366;
    color: #003366;
    padding: 10px 35px;
    text-decoration: none;
    display: inline-block;
    transition: 0.4s; /* ট্রানজিশন কিছুটা বাড়ানো হয়েছে স্মুথনেসের জন্য */
    font-weight: 600;
    margin-top: 20px;
    position: relative; /* এটি প্রয়োজন কারণ ::before এর পজিশন এর সাপেক্ষে হবে */
    z-index: 1;
    overflow: hidden; /* ব্যাকগ্রাউন্ড যেন বাটনের বাইরে না যায় */
}

/* ব্যাকগ্রাউন্ড লেয়ার যা বাম থেকে আসবে */
.btn-learn-more::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%; /* শুরুতে এটি বাটনের বামে লুকিয়ে থাকবে */
    width: 100%;
    height: 100%;
    background: #003366;
    transition: all 0.4s ease;
    z-index: -1; /* এটি লেখার নিচে থাকবে */
}

/* হোভার করলে যা হবে */
.btn-learn-more:hover {
    color: #fff; /* হোভার করলে লেখার রঙ সাদা হবে */
}

.btn-learn-more:hover::before {
    left: 0; /* হোভার করলে এটি বাম থেকে ডানে সরে আসবে */
}

/* Video Styling */
.video-container {
    position: relative;
    border-radius: 5px;
    overflow: hidden;
}

.video-thumbnail { width: 100%; display: block; }

.play-btn-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.play-btn {
    width: 70px;
    height: 70px;
    background: #ff0000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 30px;
    cursor: pointer;
    position: relative;
    border: none;
    transition: 0.3s;
}

.play-btn::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid #ff0000;
    animation: pulse-border 2s infinite;
}

@keyframes pulse-border {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.8); opacity: 0; }
}

.play-btn:hover { background: #cc0000; transform: scale(1.1); }

/* --- Featured Projects Section --- */
:root { --navy: #002D62; }

.featured-section { padding: 0px 0; overflow: hidden; background-color: #f9f9f9; }
.section-tag { font-size: 11px; font-weight: 700; letter-spacing: 2px; color: #888; text-transform: uppercase; margin-bottom: 10px; }
.section-title-navy { color: var(--navy); font-weight: 700; font-size: 28px; line-height: 1.3; max-width: 600px; }

.nav-buttons { display: flex; gap: 12px; justify-content: flex-end; }
.nav-btn { width: 44px; height: 44px; border: 1px solid #ccc; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; color: #444; transition: 0.4s; }
.nav-btn:hover { border-color: var(--navy); background-color: var(--navy); color: #fff; }

.swiper-outer-box { margin-top: 40px; padding-left: calc((100vw - 1320px) / 2 + 12px); }
.mySwiper { overflow: visible !important; }

.project-card { position: relative; height: 600px; border-radius: 2px; overflow: hidden; background: #eee; }
.project-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1); }

.card-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.2) 50%, transparent 100%); display: flex; flex-direction: column; justify-content: flex-end; padding: 30px; color: #fff; }
.card-title { font-size: 22px; font-weight: 700; text-transform: uppercase; margin-bottom: 5px; }

.card-desc { font-size: 14px; line-height: 1.5; color: rgba(255,255,255,0.8); max-height: 0; opacity: 0; overflow: hidden; transition: all 0.5s ease; }
.project-card:hover .card-desc { max-height: 100px; opacity: 1; margin-top: 15px; }
.project-card:hover img { transform: scale(1.1); }

.btn-explore { margin-top: 20px; padding: 8px 30px; border: 1px solid #fff; color: #fff; text-transform: uppercase; font-size: 12px; font-weight: 600; text-decoration: none; transition: 0.3s; display: inline-block; width: fit-content; }
.btn-explore:hover { background: #fff; color: #000; }

.swiper-pagination {
    display: none !important;
}


@media (max-width: 767px) {
    .swiper-pagination {
        display: block !important;
        position: relative; 
        margin-top: 30px;
        bottom: 0 !important;
    }
    
    .swiper-outer-box {
        padding-bottom: 40px;
    }
}

.swiper-pagination-bullet-active { 
    background: var(--navy) !important; 
    width: 25px !important; 
    border-radius: 5px !important; 
}

@media (max-width: 1400px) { .swiper-outer-box { padding-left: 5%; } }
@media (max-width: 767px) {
    .swiper-outer-box { padding-left: 15px; padding-right: 15px; }
    .project-card { height: 450px; }
    .nav-buttons { display: none; }
}



/* --- Testimonial Section --- */
.testimonial-section { padding: 80px 0; }
.play-btn-testi {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 60px; height: 60px; background: rgba(255,255,255,0.9); border-radius: 50%;
    display: flex; align-items: center; justify-content: center; z-index: 2;
}

.video-box { position: relative; border-radius: 4px; overflow: hidden; cursor: pointer; }
.video-box img { width: 100%; height: 420px; object-fit: cover; transition: 0.5s; }
.video-box:hover img { transform: scale(1.05); }

.video-label {
    position: absolute; bottom: 0; width: 100%; padding: 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white; text-align: center; font-size: 12px; font-weight: 600; text-transform: uppercase;
}

.content-col-testi { display: flex; flex-direction: column; justify-content: center; padding-left: 60px; height: 100%; min-height: 420px; }
.testi-header { color: var(--navy); font-weight: 700; font-size: 24px; margin-bottom: 20px; }
.testi-text { color: #666; font-size: 16px; line-height: 1.8; margin-bottom: 30px; }
.author-name { font-weight: 700; font-size: 16px; color: #333; margin: 0; }
.author-title { font-size: 13px; color: #999; margin: 0; }

.nav-wrapper-testi { 
    display: flex; 
    gap: 30px; 
    margin-top: 40px; 
    align-items: center;
}

.nav-arrow { 
    cursor: pointer; 
    font-size: 30px; /* সাইজ বড় করা হয়েছে */
    color: var(--navy); /* নেভি ব্লু কালার দেওয়া হয়েছে */
    transition: 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.nav-arrow:hover { 
    color: #888; /* হোভার করলে কালার চেঞ্জ হবে */
    transform: scale(1.1);
}

/* যদি আইকন ব্যবহার না করে শুধু টেক্সট (←) ব্যবহার করেন */
.testi-prev, .testi-next {
    line-height: 1;
    user-select: none;
}

@media (max-width: 991px) {
    .content-col-testi { padding-left: 0; margin-top: 40px; min-height: auto; }
}




/* --- Contact Section --- */
.meeting-section { padding: 80px 0; }

.form-wrapper { 
    display: flex; 
    flex-wrap: wrap; 
    box-shadow: 0 15px 50px rgba(0,0,0,0.08); 
    border-radius: 4px; 
    overflow: hidden; 
    background: #fff;
}

.form-img-side { 
    flex: 1.2; 
    min-height: 500px; 
    background: url('https://images.unsplash.com/photo-1600607687920-4e2a09cf159d?q=80&w=800') center/cover no-repeat; 
}

.form-content-side { 
    flex: 1; 
    padding: 50px; 
    display: flex; 
    flex-direction: column; 
    justify-content: center; 
}

.form-content-side h2 { 
    color: var(--navy); 
    font-size: 26px; 
    margin-bottom: 30px; 
}

/* Custom Input Styles */
.form-control-custom, .form-select-custom { 
    width: 100%;
    border-radius: 0; 
    border: 1px solid #eee; 
    padding: 14px; 
    font-size: 14px; 
    margin-bottom: 15px; 
    outline: none;
    transition: 0.3s;
}

.form-control-custom:focus { 
    border-color: var(--navy); 
    background-color: #fcfcfc;
}

.btn-submit-meeting { 
    border: 1px solid var(--navy); 
    background: var(--navy); 
    color: #fff;
    padding: 12px 40px; 
    font-weight: 600; 
    text-transform: uppercase; 
    letter-spacing: 1px;
    transition: 0.3s; 
    width: fit-content; 
}

.btn-submit-meeting:hover { 
    background: #001a3a; 
    border-color: #001a3a;
}

/* Responsive Fixes */
@media (max-width: 1199px) {
    .form-wrapper { flex-direction: column; }
    .form-img-side { min-height: 350px; }
    .form-content-side { padding: 40px 30px; }
}

@media (max-width: 767px) {
    .meeting-section { padding: 50px 0; }
    .form-content-side h2 { font-size: 22px; }
    .btn-submit-meeting { width: 100%; }
}



/* =========== Footer Section ============ */

.site-footer {
    background: linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.75)), 
                url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=1500&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 80px 0 40px;
    position: relative;
}

.footer-logo { max-width: 140px; margin-bottom: 40px; }

.contact-info p { margin-bottom: 10px; font-size: 15px; letter-spacing: 0.5px; color: #eee; }
.contact-info span { font-weight: 700; text-transform: uppercase; margin-right: 10px; color: #fff; }

.footer-hr { border-color: rgba(255, 255, 255, 0.15); margin: 25px 0; opacity: 1; }

.social-links { display: flex; gap: 25px; margin: 30px 0; }
.social-links a { color: white; font-size: 20px; transition: 0.3s; text-decoration: none; }
.social-links a:hover { color: #ccc; transform: translateY(-3px); }

.copyright-text { font-size: 13px; color: #aaa; font-weight: 300; }

/* WhatsApp Floating Icon */
.whatsapp-btn {
    position: fixed; right: 30px; bottom: 30px;
    background: #25D366; color: white; width: 60px; height: 60px;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 32px; box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    text-decoration: none; z-index: 1000; transition: 0.3s;
}
.whatsapp-btn:hover { transform: scale(1.1); color: white; }

/* Responsive Adjustments */
@media (max-width: 767px) {
    .site-footer { text-align: left; padding: 60px 20px 30px; }
    .whatsapp-btn { width: 50px; height: 50px; font-size: 28px; right: 20px; bottom: 20px; }
    .footer-logo { max-width: 120px; }
}


#close-menu {
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 20px;
    color: white;
    cursor: pointer;
    z-index: 1200;
    transition: transform 0.3s ease;
}

#close-menu:hover {
    transform: rotate(180deg);
}