/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

:root {
    --primary-purple: #5e23dc;
    --secondary-purple: #4a1bb0;
    --highlight-yellow: #ffc72c;
    --text-dark: #333;
    --overlay-color: rgba(40, 20, 80, 0.7);
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #f8f9fa;
    color: var(--text-dark);
    overflow-x: hidden;
}

/* ================= LOGO STYLING ================= */
.navbar-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.navbar-brand img {
    height: 50px;
    margin-right: 10px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1;
    display: flex;
    flex-direction: column;
}

.logo-text .trio { color: #fff; }
.logo-text .developer {
    color: #e74c3c; /* Red */
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 0 10px rgba(231, 76, 60, 0.8), 0 0 20px rgba(231, 76, 60, 0.4);
}

@media (max-width: 576px) {
    .logo-text { font-size: 1.2rem; }
    .navbar-brand img { height: 40px; }
}

/* ================= NAVBAR ================= */
.navbar {
    background: rgba(30, 10, 60, 0.2) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 15px 0;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-link {
    color: #fff !important;
    font-weight: 600;
    margin: 0 18px;
    position: relative;
    transition: 0.3s;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    opacity: 0.9;
}

.nav-link:hover, .nav-link.active {
    opacity: 1;
    color: var(--highlight-yellow) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--highlight-yellow);
    bottom: -5px;
    left: 0;
    transition: 0.3s ease-in-out;
}

.nav-link:hover::after { width: 100%; }

.navbar-toggler {
    border-color: rgba(255,255,255,0.5);
    background: rgba(255,255,255,0.1);
}
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* ================= MOBILE MENU STYLE (UPDATED) ================= */
@media (max-width: 991px) {
    
    /* ১. মেনুবারের ব্যাকগ্রাউন্ড (হলুদ ও স্বচ্ছ) */
    .navbar-collapse {
        /* 🔥 ব্র্যান্ডের হলুদ কালার, ৯৫% দৃশ্যমান (স্বচ্ছ) */
        background: rgba(255, 199, 44, 0.95) !important; 
        
        /* হালকা ব্লার এফেক্ট (Glassmorphism) */
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        
        padding: 25px;
        border-radius: 15px;
        margin-top: 20px;
        
        /* হালকা হলুদ শ্যাডো */
        box-shadow: 0 10px 30px rgba(255, 199, 44, 0.3);
        
        /* হালকা সাদা বর্ডার */
        border: 1px solid rgba(255, 255, 255, 0.3);
    }

    /* ২. মেনু লিংকের কালার (কালো, যাতে হলুদের ওপর পড়া যায়) */
    .nav-link {
        color: #333 !important; /* গাঢ় কালো */
        font-weight: 700;
        margin: 5px 0;
        padding: 12px 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.08); /* হালকা কালো লাইন */
    }

    /* হোভার করলে বা অ্যাক্টিভ থাকলে */
    .nav-link:hover, .nav-link.active {
        color: #000 !important; /* একদম কালো */
        padding-left: 10px;     /* একটু ডানে সরবে */
    }
    
    /* হলুদ আন্ডারলাইন মুছে ফেলা হলো */
    .nav-link::after {
        display: none; 
    }

    /* ৩. বাটনগুলোর স্টাইল আপডেট */
    
    /* Call Now বাটন (কালো বর্ডার ও টেক্সট) */
    .btn-call-now {
        width: 100%;
        text-align: center;
        margin-top: 20px;
        border-color: #333 !important;
        color: #333 !important;
        font-weight: 800;
    }
    
    .btn-call-now:hover {
        background-color: #333 !important;
        color: #ffc72c !important; /* হোভার করলে কালো ব্যাকগ্রাউন্ড, হলুদ লেখা */
    }
    
    /* WhatsApp বাটন (যেমন আছে তেমনই, শুধু ফুল উইডথ) */
    .btn-whatsapp {
        width: 100%;
        text-align: center;
        margin-top: 10px;
        margin-left: 0 !important;
    }
}
/* ================= HERO SECTION ================= */
header#home {
    background: linear-gradient(var(--overlay-color), var(--overlay-color)), url('https://images.unsplash.com/photo-1560448204-e02f11c3d0e2?ixlib=rb-1.2.1&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    padding-top: 60px;
}

/* Category Header (Small) */
.category-header {
    height: 50vh !important;
    min-height: 400px;
    background-attachment: scroll !important;
    padding-top: 80px;
}

header h1 {
    font-size: 3.8rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 2px 2px 20px rgba(0,0,0,0.4);
}

header p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    font-weight: 300;
}

.search-container {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    padding: 12px;
    border-radius: 50px;
    display: inline-block;
    border: 1px solid rgba(255,255,255,0.2);
    transition: 0.3s;
}

.search-container:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.02);
}

.btn-explore {
    background-color: var(--highlight-yellow);
    color: #222;
    font-weight: 700;
    padding: 12px 40px;
    border-radius: 30px;
    border: none;
    font-size: 1rem;
    transition: 0.3s;
    text-transform: uppercase;
}

.btn-explore:hover {
    background-color: #e6b228;
    color: #000;
}

/* ================= WHY CHOOSE US ================= */
.why-choose-us {
    background: #fff;
    padding: 90px 0;
    border-bottom: 1px solid #eee;
}

.carousel-item {
    height: 350px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.feature-media {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feature-list li { margin-bottom: 18px; font-size: 1.1rem; color: #555; }
.feature-list i { color: var(--primary-purple); margin-right: 12px; font-size: 1.3rem; }

/* ================= PROPERTIES SECTION (FIXED CARD DESIGN) ================= */
section#services {
    background-color: #f4f5f7;
    padding-top: 70px;
}

.section-heading {
    color: var(--primary-purple);
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-heading::after {
    content: '';
    position: absolute;
    width: 60%;
    height: 4px;
    background: var(--highlight-yellow);
    bottom: 0;
    left: 20%;
    border-radius: 2px;
}

/* ---- NEW CARD STYLES TO FIX MESSY LOOK ---- */
.product-card {
    height: 100%; /* Ensures all cards in a row are same height */
    border: none;
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column; /* Allows buttons to push to bottom */
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(94, 35, 220, 0.15);
}

.product-card .card-img-top {
    height: 220px;
    object-fit: cover;
}

.product-card .card-body {
    display: flex;
    flex-direction: column;
    padding: 20px;
    flex-grow: 1; /* Body fills the remaining space */
}

/* Classes to truncate text with ... */
.text-limit-1 {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}

.text-limit-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Limit to 2 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 44px; /* Fixed height for alignment */
}

/* Container for Address info to keep it neat */
.card-info-box {
    background: #f9f9f9;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #eee;
    margin-bottom: 15px;
    font-size: 0.85rem;
    color: #555;
}

/* Buttons container pushed to bottom */
.card-btn-group {
    margin-top: auto;
}

.btn-outline-primary {
    color: var(--primary-purple);
    border-color: var(--primary-purple);
    border-radius: 8px;
    font-weight: 600;
}

.btn-outline-primary:hover {
    background-color: var(--primary-purple);
    color: #fff;
}

/* ================= FOOTER ================= */
footer {
    background-color: #111;
    color: #bbb;
    padding-top: 80px;
    padding-bottom: 20px;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 4px;
    background: linear-gradient(to right, var(--primary-purple), var(--highlight-yellow));
}

footer .logo-text .trio { color: #fff; }
footer h5 { color: #fff; margin-bottom: 25px; font-weight: 700; letter-spacing: 0.5px; }

footer ul.list-unstyled li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

footer ul.list-unstyled i {
    color: var(--highlight-yellow);
    margin-right: 15px;
    min-width: 20px;
    margin-top: 4px;
}

footer a { color: #bbb; text-decoration: none; transition: 0.3s; }
footer a:hover { color: var(--highlight-yellow); padding-left: 5px; }

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
    margin-right: 10px;
    transition: 0.3s;
    color: #fff;
}
.social-icons a:hover { background: var(--primary-purple); transform: translateY(-3px); }

.footer-bottom-text {
    color: #fff !important;
    font-size: 0.9rem;
    opacity: 0.8;
}



/* Scroll To Top Button Style */
#myBtn {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 99;
    border: none;
    outline: none;
    background-color: #ffc72c; /* ডিফল্ট হলুদ */
    color: #333;
    cursor: pointer;
    padding: 12px 18px;
    border-radius: 50%;
    font-size: 18px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    
    /* মোবাইলে টাচ হাইলাইট রিমুভ করার জন্য */
    -webkit-tap-highlight-color: transparent; 
}

/* ১. শুধু কম্পিউটারের জন্য Hover Effect */
@media (hover: hover) {
    #myBtn:hover {
        background-color: #333; /* মাউস নিলে কালো হবে */
        color: #fff;
        transform: translateY(-5px);
    }
}

/* ২. মোবাইলে টাচ করার মুহূর্তের জন্য (Active State) */
#myBtn:active {
    background-color: #333 !important; /* টাচ করলেই কালো হবে */
    color: #fff !important;
    transform: scale(0.95); /* চাপলে একটু ছোট হবে (ক্লিক ফিল হবে) */
}




/* Mobile View Adjustment (Final Fix) */
@media (max-width: 768px) {
    #home {
        /* লেখা নিচে নামানোর জন্য উপরের প্যাডিং */
        padding-top: 140px !important; 
        
        height: auto !important;
        min-height: 350px;
        
        /* 🔥 নিচের ফাঁকা জায়গা কমানোর জন্য এই দুটি লাইন চেঞ্জ করা হলো */
        padding-bottom: 100px !important; /* নিচের প্যাডিং একদম ০ করে দেওয়া হলো */
        margin-bottom: -80px !important; /* পরের সেকশনকে টেনে ওপরে তোলা হলো */
    }

    /* লেখাগুলো যাতে সুন্দরভাবে থাকে */
    .carousel-caption {
        position: relative !important;
        left: 0 !important;
        right: 0 !important;
        top: 0 !important;
        transform: none !important;
        padding-bottom: 0 !important;
        margin-top: 10px;
    }
    
    /* ইমেজ ফিক্স */
    .carousel-item img {
        height: 100%;
        min-height: 400px; /* ইমেজ যাতে ছোট না হয়ে যায় */
        object-fit: cover;
    }
}




/* =========================================
   🔥 PROFESSIONAL SOFT PURPLE THEME (UPDATED)
   ========================================= */

.main-purple-wrapper {
    position: relative;
    width: 100%;
    
    /* 🔥 পরিবর্তন: কড়া বেগুনি সরিয়ে "Slate Purple" (ধূসর-বেগুনি) দেওয়া হলো */
    /* এটি চোখের জন্য আরামদায়ক এবং খুব প্রফেশনাল */
    background: linear-gradient(to bottom, rgba(40, 45, 70, 0.96), rgba(70, 50, 90, 0.94)), 
                url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?q=80&w=2070&auto=format&fit=crop'); 
    
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* প্যারাল্যাক্স এফেক্ট */
    background-repeat: no-repeat;
    
    padding-top: 40px;
    padding-bottom: 80px;
}

/* ২. ভেতরের সেকশনগুলো স্বচ্ছ (Transparent) */
.main-purple-wrapper .why-choose-us,
.main-purple-wrapper .blur-animated-section,
.main-purple-wrapper .purple-bg-section,
.main-purple-wrapper #services {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding-top: 60px;
    padding-bottom: 60px;
}

/* ৩. টেক্সট কালার সাদা (White) */
.main-purple-wrapper h2, 
.main-purple-wrapper h3, 
.main-purple-wrapper p, 
.main-purple-wrapper li,
.main-purple-wrapper span {
    color: #ffffff !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2); /* হালকা শ্যাডো */
}

/* ৪. ছোট লেখাগুলো হালকা সাদা (Soft White) */
.main-purple-wrapper .text-muted,
.main-purple-wrapper .text-white-50 {
    color: rgba(255, 255, 255, 0.75) !important;
}

/* ৫. আইকন কালার গোল্ডেন (Premium Look) */
.main-purple-wrapper i {
    color: #ffc72c !important; 
}

/* ৬. কার্ড ডিজাইন (সাদা কার্ড, যাতে কন্টেন্ট ফুটে ওঠে) */
.product-card {
    background: #ffffff !important; 
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2); /* শ্যাডো বাড়ানো হলো */
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* কার্ডের ভেতরের লেখা কালো (Override) */
.product-card h5, 
.product-card p, 
.product-card span {
    color: #333 !important; 
    text-shadow: none !important;
}
.product-card i {
    color: #5e23dc !important; /* কার্ডের আইকন বেগুনি */
}
.product-card .text-muted {
    color: #6c757d !important;
}

/* ৭. সেকশনের মাঝখানের বর্ডার (খুব হালকা) */
.main-purple-wrapper section {
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
}

/* ৮. Why Choose Us ইমেজ বর্ডার */
.carousel-item {
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}



/* =========================================
   🔥 HERO SECTION TRANSPARENCY FIX
   ========================================= */

/* ১. Wrapper এর ভেতরে হিরো সেকশনকে স্বচ্ছ করা */
.main-purple-wrapper header#home {
    background: transparent !important; /* আগের ইমেজ মুছে যাবে */
    box-shadow: none !important;        /* কোনো শ্যাডো থাকলে মুছে যাবে */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1); /* হালকা সেপারেটর লাইন */
    padding-top: 120px; /* ন্যাপবারের জন্য একটু জায়গা ছাড়া */
    height: auto;       /* হাইট অটোমেটিক এডজাস্ট হবে */
    min-height: 80vh;   /* পুরো স্ক্রিন জুড়ে থাকবে */
}

/* ২. টেক্সট শ্যাডো যাতে ব্যাকগ্রাউন্ডের সাথে মানায় */
.main-purple-wrapper header h1 {
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.main-purple-wrapper header p {
    color: rgba(255, 255, 255, 0.9) !important;
}

/* ৩. সার্চ বাটন কন্টেইনার ডিজাইন */
.search-container {
    background: rgba(255, 255, 255, 0.15) !important; /* একটু গ্লাস এফেক্ট */
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    backdrop-filter: blur(5px);
}




/* =========================================
   🔥 STYLISH SEPARATOR LINES (GOLDEN GLOW)
   ========================================= */

/* ১. সব সেকশনের নিচে লাইন বসানোর জন্য পজিশন সেট করা */
.main-purple-wrapper header,
.main-purple-wrapper section {
    position: relative; /* লাইনটি নিচে বসানোর জন্য এটি জরুরি */
    /* আগের কোনো বর্ডার থাকলে মুছে ফেলবে */
    border: none !important; 
}

/* ২. স্টাইলিশ গ্রেডিয়েন্ট লাইন তৈরি (Pseudo Element) */
.main-purple-wrapper header::after,
.main-purple-wrapper section::after {
    content: '';
    position: absolute;
    bottom: 0;          /* একদম নিচে থাকবে */
    left: 10%;          /* বামে ১০% জায়গা ছাড়বে */
    width: 80%;         /* লাইনের দৈর্ঘ্য (পুরো স্ক্রিন না হয়ে ৮০% হবে) */
    height: 2px;        /* লাইনের উচ্চতা */
    
    /* 🔥 ম্যাজিক গ্রেডিয়েন্ট: দুই পাশে স্বচ্ছ, মাঝখানে উজ্জ্বল হলুদ */
    background: linear-gradient(90deg, rgba(94, 35, 220, 0) 0%, #ffc72c 50%, rgba(94, 35, 220, 0) 100%);
    
    /* হালকা গ্লো এফেক্ট */
    box-shadow: 0 0 10px rgba(255, 199, 44, 0.6);
    opacity: 0.8;
    z-index: 10;
}

/* ৩. শেষ সেকশনের (Land Properties) নিচের দাগটি মুছতে চাইলে এটি রাখুন */
/* কারণ এর পরেই ফুটার আছে */
.main-purple-wrapper section:last-child::after {
    display: none; 
}


/* =========================================
   🔥 YELLOW GLOWING HEADINGS
   ========================================= */

/* ১. সব সেকশনের হেডলাইন (h2) টার্গেট করা */
.main-purple-wrapper h2 {
    /* টেক্সট কালার উজ্জ্বল হলুদ */
    color: #ffc72c !important; 
    
    /* 🔥 গ্লোয়িং এফেক্ট (টেক্সট শ্যাডো) */
    text-shadow: 0 0 15px rgba(255, 199, 44, 0.5), 
                 0 0 30px rgba(255, 199, 44, 0.3);
                 
    /* ফন্ট স্টাইল */
    font-weight: 800;
    text-transform: uppercase; /* সব বড় হাতের অক্ষর (Optional) */
    letter-spacing: 1px;       /* অক্ষরের মাঝে একটু ফাঁকা */
    transition: all 0.3s ease;
}

/* ২. হোভার করলে গ্লো আরও বাড়বে (অ্যানিমেশন) */
.main-purple-wrapper h2:hover {
    text-shadow: 0 0 20px rgba(255, 199, 44, 0.8), 
                 0 0 40px rgba(255, 199, 44, 0.5);
    transform: scale(1.02); /* হালকা জুম হবে */
}

/* ৩. হেডলাইনের নিচের ছোট দাগটি (hr) আরও উজ্জ্বল করা */
.main-purple-wrapper hr {
    background-color: #ffc72c !important;
    height: 3px;
    box-shadow: 0 0 10px rgba(255, 199, 44, 0.6); /* দাগটিতেও গ্লো থাকবে */
    width: 100px; /* দাগটি একটু বড় করা হলো */
}



/* =========================================
   🔥 CUSTOM GLOWING SCROLLBAR
   ========================================= */

/* ১. Firefox ব্রাউজারের জন্য */
/* (Firefox-এ গ্লো ইফেক্ট কম কাজ করে, তাই এখানে সলিড কালার দেওয়া হলো) */
html {
    scrollbar-width: thin;          /* স্ক্রলবার চিকন হবে */
    scrollbar-color: #ffc72c #2c1e4a; /* (থাম্ব কালার) (ট্র্যাক কালার) */
}

/* ২. Chrome, Edge, Safari ব্রাউজারের জন্য (WebKit) */

/* পুরো স্ক্রলবারের প্রস্থ (Width) */
::-webkit-scrollbar {
    width: 12px; /* একটু মোটা রাখা হলো যাতে গ্লো বোঝা যায় */
}

/* স্ক্রলবারের পেছনের রাস্তা (Track) */
::-webkit-scrollbar-track {
    background: rgba(44, 30, 74, 0.8); /* আপনার থিমের সাথে মানানসই গাঢ় বেগুনি */
    border-radius: 10px;
    box-shadow: inset 0 0 5px rgba(0,0,0,0.5); /* ভেতরের দিকে হালকা ছায়া */
}

/* স্ক্রলবারের যে অংশটি টানা হয় (Thumb) */
::-webkit-scrollbar-thumb {
    background: #ffc72c; /* আপনার ব্র্যান্ডের উজ্জ্বল হলুদ কালার */
    border-radius: 10px; /* গোলাকার কোণা */
    
    /* 🔥 গ্লোয়িং ইফেক্ট (Glowing Effect) */
    box-shadow: 0 0 10px rgba(255, 199, 44, 0.8), /* কাছের উজ্জ্বল আভা */
                0 0 20px rgba(255, 199, 44, 0.5); /* দূরের হালকা আভা */
                
    border: 2px solid transparent; /* একটি স্বচ্ছ বর্ডার দেওয়া হলো যাতে ব্যাকগ্রাউন্ডের সাথে মিশে না যায় */
    background-clip: content-box; /* বর্ডারের ভেতরে কালার থাকবে */
}

/* মাউস নিয়ে গেলে (Hover) আরও উজ্জ্বল হবে */
::-webkit-scrollbar-thumb:hover {
    background: #ffdb4d; /* একটু হালকা হলুদ */
    box-shadow: 0 0 15px rgba(255, 199, 44, 1), 
                0 0 30px rgba(255, 199, 44, 0.7);
}



/* =========================================
   🔥 HEADER BUTTONS VISIBILITY FIX
   ========================================= */

/* ১. Call Now বাটন ডিজাইন (গোল্ডেন বর্ডার ও সাদা লেখা) */
.btn-call-now {
    color: #ffffff !important;            /* লেখা সাদা হবে */
    border: 2px solid #ffc72c !important; /* বর্ডার উজ্জ্বল হলুদ */
    background: transparent !important;   /* ব্যাকগ্রাউন্ড স্বচ্ছ */
    font-weight: 700;
    opacity: 1 !important;                /* কোনো অস্পষ্টতা (Fade) থাকবে না */
    
    /* হালকা গ্লো এফেক্ট */
    box-shadow: 0 0 10px rgba(255, 199, 44, 0.2); 
    transition: all 0.3s ease;
}

/* Call Now বাটনে মাউস নিলে (Hover) */
.btn-call-now:hover {
    background-color: #ffc72c !important; /* পুরোটা হলুদ হয়ে যাবে */
    color: #000000 !important;            /* লেখা কালো হবে */
    box-shadow: 0 0 20px rgba(255, 199, 44, 0.6); /* গ্লো বাড়বে */
    transform: translateY(-2px);
}

/* ২. Chat / WhatsApp বাটন ডিজাইন (সবুজ বর্ডার ও সাদা লেখা) */
.btn-whatsapp {
    color: #ffffff !important;            /* লেখা সাদা */
    border: 2px solid #25D366 !important; /* বর্ডার হোয়াটসঅ্যাপ গ্রিন */
    background: transparent !important;
    font-weight: 700;
    opacity: 1 !important;
    
    /* হালকা সবুজ শ্যাডো */
    box-shadow: 0 0 10px rgba(37, 211, 102, 0.2);
    transition: all 0.3s ease;
}

/* WhatsApp বাটনে মাউস নিলে */
.btn-whatsapp:hover {
    background-color: #25D366 !important; /* পুরোটা সবুজ হয়ে যাবে */
    color: #ffffff !important;            /* লেখা সাদা থাকবে */
    box-shadow: 0 0 20px rgba(37, 211, 102, 0.6);
    transform: translateY(-2px);
}



/* =========================================
   🔥 ABOUT PAGE MOBILE OVERLAP FIX (UPDATED)
   ========================================= */

@media (max-width: 768px) {
    .mobile-fix-margin {
        margin-top: 0 !important;
        padding-top: 50px !important;
        position: relative !important;
        top: 0 !important;
        
        /* 🔥 নতুন লাইন: এটি ইমেজের নিচে ৩০ পিক্সেল ফাঁকা জায়গা তৈরি করবে */
        margin-bottom: 30px !important; 
    }
}

/* =========================================
   🔥 MOBILE & TABLET FIX (UPDATED)
   ========================================= */

/* 768px এর বদলে 991px করা হলো যাতে ট্যাবলেটেও কাজ করে */
@media (max-width: 991px) {
    .mobile-fix-margin {
        margin-top: 0 !important;
        padding-top: 50px !important;
        position: relative !important;
        top: 0 !important;
        margin-bottom: 30px !important; 
    }
}




/* =========================================
   🔥 IPAD/TABLET PRODUCT CARD FIX (2 ITEMS PER ROW)
   ========================================= */

/* শুধু ট্যাবলেট বা আইপ্যাডের জন্য (768px থেকে 1024px পর্যন্ত) */
@media (min-width: 768px) and (max-width: 1024px) {
    
    /* Residential, Commercial ও Land সেকশনের কার্ডগুলো ধরছি */
    #residentialContainer > div,
    #commercialContainer > div,
    #landContainer > div {
        /* জোর করে ৩টির বদলে ২টো করে কার্ড দেখাবে */
        flex: 0 0 50% !important;
        max-width: 50% !important;
        width: 50% !important;
    }
    
    /* কার্ডের সাইজ ঠিক রাখার জন্য */
    .product-card {
        height: 100% !important; /* হাইট সমান রাখবে */
        margin-bottom: 20px;
    }

    /* ইমেজ যাতে বেশি লম্বা না হয়ে যায় */
    .product-card .card-img-top {
        height: 200px !important; /* ইমেজের হাইট ফিক্সড করে দেওয়া হলো */
        width: 100%;
        object-fit: cover;
    }
}




/* =========================================
   🔥 DESKTOP COMPACT VIEW (SMART & SMALLER CARDS)
   ========================================= */

/* শুধু কম্পিউটার বা ল্যাপটপের জন্য (Desktop Only) */
@media (min-width: 992px) {
    
    /* ১. ছবির উচ্চতা কমানো (Image Height Reduce) */
    .product-card .card-img-top {
        height: 170px !important; /* আগে অনেক বড় ছিল, এখন ছোট ও স্লিম হবে */
        object-fit: cover;
    }

    /* ২. কার্ডের ভেতরের ফাঁকা জায়গা কমানো (Padding Reduce) */
    .product-card .card-body {
        padding: 12px 15px !important; /* কার্ডের সাইজ কমে আসবে */
    }

    /* ৩. টাইটেল ফন্ট সাইজ ঠিক করা */
    .product-card h5 {
        font-size: 1.1rem !important; /* টাইটেল একটু ছোট */
        font-weight: 700;
        margin-bottom: 5px !important;
    }

    /* ৪. দামের লেখা (Price) ছোট করা */
    .product-card h4, .product-card .text-primary {
        font-size: 1.2rem !important;
        margin-bottom: 10px !important;
    }

    /* ৫. লোকেশন ও ডিটেইলস বক্স ছোট করা */
    .card-info-box {
        padding: 6px !important;
        font-size: 0.8rem !important;
        margin-bottom: 10px !important;
        line-height: 1.4;
    }
    
    /* ৬. আইকনগুলো ছোট করা */
    .card-info-box i {
        font-size: 0.9rem !important;
    }

    /* ৭. বাটনগুলো স্লিম করা */
    .product-card .btn {
        padding: 6px 15px !important;
        font-size: 0.8rem !important;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }
    
    /* ৮. কার্ডের নিচের মার্জিন কমানো */
    .product-card {
        margin-bottom: 25px !important; /* সারিগুলোর মাঝখানের গ্যাপ কমাবে */
    }
}



/* =========================================
   🔥 UNIVERSAL MOBILE PERFORMANCE FIX (ANDROID + IOS)
   ========================================= */

/* এখন আর শুধু আইফোন নয়, সব মোবাইল/ট্যাবলেটে (1024px এর নিচে) এই ফিক্স কাজ করবে */
@media screen and (max-width: 1024px) {
    
    /* ১. বডি ফিক্স: হাইট এবং স্ক্রলিং স্মুথনেস */
    html, body {
        min-height: 100vh;
        overflow-x: hidden;
        background-color: #2c1e4a;
        position: relative;
    }

    /* ২. মেইন ডিভ থেকে ভারী ব্যাকগ্রাউন্ড সরানো */
    .main-purple-wrapper {
        background-image: none !important;
        position: relative;
        z-index: 1;
        background-color: transparent !important;
        background-attachment: scroll !important; /* ফিক্সড এফেক্ট বন্ধ */
    }

    /* ৩. হালকা এবং ফাস্ট ব্যাকগ্রাউন্ড লেয়ার তৈরি (GPU Accelerated) */
    .main-purple-wrapper::before {
        content: "";
        /* আপনার ব্যাকগ্রাউন্ড ইমেজ এবং বেগুনি শেড */
        background-image: linear-gradient(rgba(44, 30, 74, 0.9), rgba(44, 30, 74, 0.8)), url('image/background.jpg'); 
        
        position: fixed; /* স্ক্রিনের পেছনে আটকে থাকবে */
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        
        background-position: center top;
        background-repeat: no-repeat;
        background-size: cover;
        
        z-index: -1; /* কন্টেন্টের পেছনে */
        pointer-events: none;
        
        /* হার্ডওয়্যার এক্সিলারেশন (ল্যাগ কমানোর জন্য) */
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
        will-change: transform; /* ব্রাউজারকে আগে থেকেই প্রস্তুত রাখে */
    }

    /* ৪. ফুটার ফিক্স (যাতে ব্যাকগ্রাউন্ডের সাথে মিশে না যায়) */
    footer {
        position: relative !important;
        z-index: 10 !important;
        background-color: #2c1e4a !important;
        box-shadow: 0 -5px 20px rgba(0,0,0,0.5);
    }

    /* ৫. স্ক্রল বাটন ফিক্স */
    #myBtn {
        z-index: 99999 !important;
        bottom: 80px !important;
    }
}



/* =========================================
   🔥 DROPDOWN MENU STYLING
   ========================================= */

/* ড্রপডাউন বক্সের ডিজাইন */
.dropdown-menu {
    background: rgba(255, 255, 255, 0.95); /* হালকা সাদা ব্যাকগ্রাউন্ড */
    border: none;
    border-radius: 12px; /* কোণাগুলো গোল */
    box-shadow: 0 15px 40px rgba(0,0,0,0.2); /* সুন্দর শ্যাডো */
    padding: 10px;
    margin-top: 15px !important; /* মেনু থেকে একটু নিচে নামবে */
    animation: fadeIn 0.3s ease;
}

/* ড্রপডাউনের ভেতরের লিংক */
.dropdown-item {
    font-weight: 600;
    color: #333;
    padding: 10px 20px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

/* মাউস নিয়ে গেলে (Hover Effect) */
.dropdown-item:hover {
    background-color: #ffc72c; /* আপনার ব্র্যান্ডের হলুদ কালার */
    color: #000;
    transform: translateX(5px); /* একটু ডানে সরবে */
}

/* ডিভাইডার লাইন */
.dropdown-divider {
    border-top: 1px solid rgba(0,0,0,0.1);
    margin: 8px 0;
}

/* অ্যানিমেশন (স্মুথ আসার জন্য) */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* মোবাইলে ড্রপডাউন ব্যাকগ্রাউন্ড ঠিক রাখা */
@media (max-width: 991px) {
    .dropdown-menu {
        background: rgba(255, 255, 255, 0.9);
        border: 1px solid rgba(0,0,0,0.1);
        text-align: center;
    }
}
