/* =========================================
   Global Reset & Base Typography
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans Bengali', sans-serif;
    /* ডাইনামিক অ্যানিমেটেড ব্যাকগ্রাউন্ড */
    background: linear-gradient(-45deg, #f8f9fa, #eef2f7, #f3f0ec, #eef5f8);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    color: #333333;
    line-height: 1.6;
}

/* স্মুথ গ্রেডিয়েন্ট অ্যানিমেশন কী-ফ্রেম */
@keyframes gradientBG {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.text-center {
    text-align: center;
}

/* =========================================
   Buttons
   ========================================= */
.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: #e67e22;
    color: #ffffff;
}

.btn-primary:hover {
    background-color: #d35400;
    box-shadow: 0 4px 15px rgba(230, 126, 34, 0.4);
}

.btn-outline {
    border-color: #e67e22;
    color: #e67e22;
    background: transparent;
}

.btn-outline:hover {
    background-color: #e67e22;
    color: #ffffff;
}

.btn-lg {
    padding: 14px 28px;
    font-size: 1.1rem;
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
}

/* =========================================
   Header & Navigation (White Background, Green Border & 3D Effect)
   ========================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 75px;
    /* একদম সাদা ব্যাকগ্রাউন্ড */
    background: #ffffff;
    /* সবুজ কালারের বর্ডার (1px) */
    border-bottom: 1px solid #27ae60;
    z-index: 1000;
    display: flex;
    align-items: center;
    /* থ্রিডি ও ভাসমান লুক দেওয়ার জন্য গভীর শ্যাডো */
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1), 0 4px 10px rgba(39, 174, 96, 0.15);
    transition: all 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #141c26;
    display: flex;
    align-items: center;
    gap: 12px;
    height: 100%;
}

.brand-logo {
    height: 55px; 
    width: auto;
    object-fit: contain;
}

.desktop-menu ul {
    display: flex;
    gap: 25px;
}

.desktop-menu a {
    color: #141c26; /* সাদা ব্যাকগ্রাউন্ডে টেক্সট গাঢ় রঙের করা হলো */
    font-weight: 600;
    font-size: 1rem;
    position: relative;
    padding: 5px 0;
}

.desktop-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: #27ae60;
    transition: width 0.3s ease;
}

.desktop-menu a:hover::after,
.desktop-menu a.active::after {
    width: 100%;
}

.desktop-menu a:hover,
.desktop-menu a.active {
    color: #27ae60;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: #141c26; /* সাদা ব্যাকগ্রাউন্ডের জন্য আইকন গাঢ় করা হলো */
    font-size: 1.5rem;
    cursor: pointer;
}

.mobile-dropdown {
    display: none;
    position: absolute;
    top: 75px;
    left: 0;
    width: 100%;
    background: #ffffff;
    border-bottom: 2px solid #27ae60;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    padding: 15px 5%;
}

.mobile-dropdown ul li {
    margin-bottom: 12px;
}

.mobile-dropdown a {
    color: #141c26;
    font-weight: 600;
    display: block;
    font-size: 1.05rem;
}

.mobile-dropdown a:hover {
    color: #27ae60;
}

.mobile-dropdown.active {
    display: block;
}

/* =========================================
   Hero Section with Video Background
   ========================================= */
.hero {
    position: relative;
    height: 100vh;
    min-height: 550px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    overflow: hidden;
    padding: 0 20px;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 1;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.hero-overlay {
    display: none; 
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    margin-top: 60px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.hero-content h1 {
    font-size: 2.8rem;
    line-height: 1.3;
    margin-bottom: 15px;
    font-weight: 700;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #ffffff;
}

/* =========================================
   Search / Filter Section
   ========================================= */
.search-section {
    position: relative;
    z-index: 10;
    margin-top: -60px;
    padding-bottom: 50px;
}

.search-box {
    background: #ffffff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.search-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    font-size: 0.9rem;
    color: #555555;
}

.form-control {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #cccccc;
    border-radius: 5px;
    outline: none;
    font-family: inherit;
}

.form-control:focus {
    border-color: #e67e22;
}

/* =========================================
   Apartment List Section
   ========================================= */
.apartments-section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: 2.2rem;
    color: #141c26;
    margin-bottom: 10px;
}

.section-title p {
    color: #666666;
}

.apartment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
}

.apartment-card {
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.apartment-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.card-image {
    position: relative;
    height: 220px;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.badge {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #ffffff;
}

.badge-sale {
    background-color: #27ae60;
}

.badge-booking {
    background-color: #2980b9;
}

.card-content {
    padding: 20px;
}

.card-content h3 {
    font-size: 1.3rem;
    color: #141c26;
    margin-bottom: 5px;
}

.location {
    color: #777777;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.specs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 12px 0;
    border-top: 1px solid #eeeeee;
    border-bottom: 1px solid #eeeeee;
    margin-bottom: 15px;
    font-size: 0.85rem;
    color: #555555;
}

.specs i {
    color: #e67e22;
    margin-right: 5px;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price {
    font-size: 1.2rem;
    font-weight: 700;
    color: #e67e22;
}

/* =========================================
   Upcoming Projects Section
   ========================================= */
.upcoming-section {
    padding: 60px 0;
    background-color: rgba(238, 242, 245, 0.6);
}

.upcoming-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(450px, 1fr));
    gap: 30px;
}

.upcoming-card {
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.upcoming-img {
    position: relative;
    width: 45%;
}

.upcoming-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.upcoming-status {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
}

.upcoming-info {
    width: 55%;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.upcoming-info h3 {
    font-size: 1.2rem;
    color: #141c26;
}

.upcoming-info p {
    color: #777;
    font-size: 0.85rem;
    margin-bottom: 10px;
}

.upcoming-info ul {
    margin-bottom: 15px;
}

.upcoming-info ul li {
    font-size: 0.85rem;
    color: #444;
    margin-bottom: 5px;
}

.upcoming-info ul li i {
    color: #27ae60;
    margin-right: 5px;
}

/* =========================================
   Footer Section
   ========================================= */
.footer {
    background-color: #0f172a;
    color: #ffffff;
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-col h3, .footer-col h4 {
    margin-bottom: 15px;
    color: #ffffff;
}

.footer-col p {
    color: #aaaaaa;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col ul li a {
    color: #aaaaaa;
    font-size: 0.9rem;
}

.footer-col ul li a:hover {
    color: #e67e22;
}

.footer-bottom {
    border-top: 1px solid #1e293b;
    padding-top: 20px;
    font-size: 0.85rem;
    color: #888888;
}

/* =========================================
   Floating Action Buttons (Call & WhatsApp)
   ========================================= */
.floating-buttons {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 9999;
}

.float-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.5rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.float-btn:hover {
    transform: scale(1.1);
}

.whatsapp-btn {
    background-color: #25d366;
}

.call-btn {
    background-color: #007bff;
}

/* =========================================
   Responsive Design (Mobile Version)
   ========================================= */
@media (max-width: 768px) {
    .navbar {
        height: 70px;
        padding: 5px 0;
        background: #ffffff;
        border-bottom: 1px solid #27ae60;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    }

    .brand-logo {
        height: 48px;
        width: auto;
    }

    .mobile-dropdown {
        top: 70px;
        background: #ffffff;
        border-bottom: 2px solid #27ae60;
    }

    .desktop-menu {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
        color: #141c26; /* মোবাইলেও সাদা ব্যাকগ্রাউন্ডের জন্য মেনু আইকন গাঢ় করা হলো */
        text-shadow: none;
    }

    /* মোবাইলে হিরো সেকশনের হাইট */
    .hero {
        height: 480px; 
        min-height: unset;
        padding: 60px 15px 20px 15px;
    }

    .hero-content {
        margin-top: 20px;
    }

    .hero-content h1 {
        font-size: 1.6rem;
        line-height: 1.3;
        margin-bottom: 10px;
    }

    .hero-content p {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }

    .search-section {
        margin-top: -25px;
    }

    .upcoming-grid {
        grid-template-columns: 1fr;
    }

    .upcoming-card {
        flex-direction: column;
    }

    .upcoming-img, .upcoming-info {
        width: 100%;
    }

    .upcoming-img {
        height: 200px;
    }
}



/* =========================================
   About & Management Team Section (Hero Card Design)
   ========================================= */
.about-management-section {
    padding: 70px 0;
    /* প্রিমিয়াম সাফট গ্লাস ও মেটালিক ব্যাকগ্রাউন্ড */
    background: linear-gradient(180deg, #f8fafc 0%, #edf2f7 100%);
    position: relative;
}

.about-company-desc {
    max-width: 850px;
    margin: 0 auto 40px auto;
    background: #ffffff;
    padding: 25px 30px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    border-left: 5px solid #27ae60; /* ডামে সুন্দর সবুজ অ্যাকসেন্ট */
    color: #4a5568;
    font-size: 1.05rem;
    line-height: 1.8;
}

/* এক লাইনে টাইটেল রেসপন্সিভ রাখার নিয়ম */
.single-line-title {
    font-size: clamp(1.1rem, 4.5vw, 2.2rem); /* মোবাইলে অটোমেটিক ফন্ট সাইজ অ্যাডজাস্ট হবে */
    white-space: nowrap; /* কোনোভাবেই ভেঙে দুই লাইন হবে না */
    color: #1a202c;
    letter-spacing: -0.5px;
}

/* ডেস্কটপ ৫-কলাম গ্রিড */
.team-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

/* হিরো প্রোফাইল কার্ড */
.team-card {
    background: #ffffff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(39, 174, 96, 0.15);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 25px 15px 20px 15px;
    position: relative;
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 35px rgba(39, 174, 96, 0.18);
    border-color: #27ae60;
}

/* রিং শেপ প্রোফাইল পিকচার কন্টেইনার */
.team-img {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    overflow: hidden;
    padding: 4px;
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    box-shadow: 0 6px 15px rgba(39, 174, 96, 0.25);
    flex-shrink: 0;
}

.team-img img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    object-position: top center;
    background: #ffffff;
    transition: transform 0.4s ease;
}

.team-card:hover .team-img img {
    transform: scale(1.08);
}

.team-info {
    padding-top: 15px;
    text-align: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
}

.team-info h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 5px;
}

.designation {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 600;
    color: #27ae60;
    background: rgba(39, 174, 96, 0.1);
    padding: 3px 10px;
    border-radius: 20px;
    margin-bottom: 10px;
}

.team-info p {
    font-size: 0.82rem;
    color: #718096;
    line-height: 1.5;
}

/* =========================================
   Responsive Design for Team Section
   ========================================= */
@media (max-width: 1024px) {
    .team-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .about-management-section {
        padding: 45px 0;
    }

    .about-company-desc {
        font-size: 0.92rem;
        padding: 18px 20px;
        margin-bottom: 30px;
        border-left-width: 4px;
    }

    /* মোবাইলে একটা একটা হিরো কার্ড সোয়াইপ স্লাইডার */
    .team-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 16px;
        padding: 10px 10px 25px 10px;
        -webkit-overflow-scrolling: touch;
    }

    .team-grid::-webkit-scrollbar {
        display: none;
    }
    .team-grid {
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    .team-card {
        flex: 0 0 85%; /* প্রতিটি কার্ড ৮০-৮৫% চওড়া থাকবে যেন স্লাইড করা যায় */
        scroll-snap-align: center;
        margin: 0 auto;
    }
}