/* Premium Corporate & Minimalistic Theme - The Crown Consultancy */
/* ==========================================================================
   PREMIUM ROYAL TEAL & LUXURY CYAN GRADIENT THEME
   ========================================================================== */
:root {
    --primary-dark: #082422;       
    --accent-gold: #00f2fe;        
    --accent-gold-hover: #4facfe;  
    --bg-light: #f4f7f6;           
    --card-bg: rgb(250, 189, 68);
    --text-main: #1e293b;
    --text-muted: #64748b;
    --header-bg: linear-gradient(90deg, #051315 0%, #0d3831 50%, #071c1b 100%);
    --footer-bg: linear-gradient(135deg, #051315 0%, #082422 50%, #0b1d20 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-image: url('https://i.pinimg.com/1200x/44/eb/af/44ebafdc4fa72194937e65b88bce2f75.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--text-main);
    padding-top: 80px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Scroll Fade Animation */
.reveal {
    opacity: 0;
    transform: translateY(25px);
    transition: all 0.6s ease-out;
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Navigation Header */
header {
    background: var(--header-bg) !important; 
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--accent-gold);
    position: fixed;
    top: 0; 
    left: 0; 
    width: 100%;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo {
    color: var(--accent-gold);
    font-size: 22px;
    font-weight: 800;
    text-decoration: none;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-family: 'Cinzel', serif;
    white-space: nowrap;
}

.logo span {
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 20px;
    list-style: none;
}

.nav-links a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    transition: all 0.3s ease;
    padding: 5px 0;
    white-space: nowrap;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--accent-gold);
}
/* ==========================================
   📱 MOBILE & TABLET FIX (সব ছোট ডিভাইসের জন্য)
   ========================================== */
@media screen and (max-width: 768px) {
    /* বডির প্যাডিং ডেস্কটপের মতোই ৮০ পিক্সেল লক থাকবে */
    body { 
        padding-top: 80px !important; 
    }

    /* লোগো বামে আর মেনু ডানে পাশাপাশি রাখার মেইন চাবিকাঠি */
    .nav-container { 
        display: flex !important;
        flex-direction: row !important; /* কলাম হবে না, ডেস্কটপের মতো পাশাপাশি থাকবে */
        justify-content: space-between !important; /* লোগো বামে, মেনু ডানে ঠেলে দেবে */
        align-items: center !important;
        padding: 10px 12px !important; /* মোবাইলের জন্য দুই পাশের গ্যাপ একটু কমানো হলো */
        flex-wrap: nowrap !important; /* কোনোভাবেই যাতে ভেঙে নিচে না নামে */
        width: 100% !important;
    }

    /* লোগোর সাইজ মোবাইলের স্ক্রিন অনুযায়ী ছোট করা হলো যাতে বামে জায়গা বাঁচে */
    .logo { 
        font-size: 15px !important; 
        letter-spacing: 0.8px !important;
        white-space: nowrap !important;
        text-align: left !important;
    }

    /* মেনুর কন্টেইনারটিকে ডানদিকের দেয়ালে লক করার জন্য */
    .nav-links { 
        display: flex !important;
        flex-direction: row !important; /* লিঙ্কগুলো এক লাইনে পাশাপাশি থাকবে */
        gap: 8px !important; /* বাটনগুলোর মাঝখানের দূরত্ব মোবাইলের জন্য পারফেক্ট ৮ পিক্সেল */
        justify-content: flex-end !important; /* মেনুগুলোকে একদম ডান ধারে চেপে রাখবে */
        list-style: none !important;
        margin: 0 !important;
        padding: 0 !important;
        flex-wrap: nowrap !important;
    }

    /* প্রতিটি লিঙ্কের ফন্ট সাইজ কন্ট্রোল */
    .nav-links a { 
        font-size: 10px !important; /* ছোট স্ক্রিনে যাতে সব ধরে যায়, তাই ফন্ট সাইজ ১০ পিক্সেল করা হলো */
        letter-spacing: 0.3px !important;
        white-space: nowrap !important; /* লেখা ভেঙে দুলাইন হবে endings হবে না */
        padding: 4px 2px !important;
    }
}
/* Premium Banner */
.hero-box {
    color:black;
    text-align: center;
    padding: 100px 60px 60px 60px;
    margin-top: -20px;
    border-bottom: 4px solid var(--accent-gold);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-box h1 {
    color: #eec00a; 
    font-size: 40px;
    font-weight: 700;
    margin: 0 auto 15px auto;
    text-transform: uppercase;
    letter-spacing: 3px;
    display: inline-block;
    width: 0;
    max-width: fit-content;
    white-space: nowrap;
    overflow: hidden;
    animation: typewriter 2.5s steps(22) forwards, blinkCursor 0.75s step-end infinite;
    font-family: 'Cinzel', serif;
}

@keyframes typewriter {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blinkCursor {
    from, to { border-color: transparent; }
    50% { border-color: var(--accent-gold); }
}

.hero-box p {
    font-family: 'open sans', sans-serif;
    color:whitesmoke;
    font-size: 20px;
    max-width: 700px;
    margin: 0 auto;
}

/* Containers */
.main-wrapper {
    font-family: 'open sans', sans-serif;
    font-size: 15px;
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    flex: 1;
    width: 100%;
    background-color: transparent;
}
    
.content-card {
    font-family: 'open sans', sans-serif;
    font-size: 15px;
    background: linear-gradient(135deg, #c9f2f8 0%, #afcff3 40%, #ffb4e5 75%, #f8f1b5 100%);
    border-radius: 12px;
    padding: 45px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    border-top: 4px solid var(--accent-gold);
    margin-bottom: 40px;
    text-align: center;
}

.content-card h2 {
    font-size: 28px;
    color: blue;
    margin-bottom: 15px;
    text-transform: uppercase;
    font-weight: 800;
    transition: transform 0.3s ease, color 0.3s ease;
}

.content-card h2:hover {
    transform: translateY(-3px); 
    color: rgb(243, 18, 93);             
}

.content-card p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 25px;
}

/* Call To Action Button */
.cta-btn {
    background-color: rgb(243, 199, 4);
    color: var(--primary-dark);
    text-decoration: none;
    padding: 12px 35px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 25px;
    display: inline-block;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.cta-btn:hover {
    background-color: rgba(8, 206, 241, 0.959);
    color:black;
    transform: translateY(-2px);
}

/* Service Navigation Tabs */
.services-tab-navigation {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 40px;
}

.tab-nav-btn {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 12px 22px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-main);
    border-radius: 6px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
}

.tab-nav-btn:hover, .tab-nav-btn.active {
    background: var(--primary-dark);
    color: #ffffff;
    border-color: var(--primary-dark);
}

/* Catalog Grids & Luxury Cards */
.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.luxury-card {
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.06);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.luxury-card:hover {
    transform: translateY(-5px); 
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1); 
    border-color: #d4af37;       
}

.card-banner {
    height: 200px;
    background-size: cover;
    background-position: center;
    background-color: #e2e8f0;
}

.card-body {
    padding: 22px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: left;
}

.card-body h4 {
    font-size: 18px;
    color: var(--primary-dark);
    margin-bottom: 10px;
}

.card-body p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 18px;
}

.btn-enquiry {
    width: 100%;
    background: var(--primary-dark);
    color: #ffffff;
    border: none;
    padding: 12px;
    font-weight: 700;
    border-radius: 6px;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 13px;
    transition: background 0.3s ease;
}

.btn-enquiry:hover {
    background: var(--accent-gold);
    color: var(--primary-dark);
}

/* Gallery Base */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(140px,1fr));
    gap: 15px;
    padding: 10px;
    width: 100%;
    box-sizing: border-box;
}

.gallery-item {
    width: 100% !important;
    aspect-ratio: 4/3;
    border-radius: 8px;
    overflow: hidden;
    height: 220px;
    background-size: contain !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}
@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr); /* খুব ছোট ফোনে ২টো করে ছবি পাশাপাশি দেখাবে */
        gap: 10px;
    }
}

/* Popup Form Overlay */
.popup-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    padding: 15px;
}

.popup-box {
    background:#ffffff;
    padding: 30px;
    border-radius: 12px;
    width: 100%;
    max-width: 420px;
    border-top: 5px solid var(--accent-gold);
    position: relative;
}

.close-popup {
    position: absolute;
    top: 15px; right: 15px;
    background: none;
    border: none;
    font-size: 26px;
    cursor: pointer;
    color: var(--text-muted);
}

.popup-box h3 {
    margin-bottom: 15px;
    color: var(--primary-dark);
}

.form-group {
    margin-bottom: 15px;
    text-align: left;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 5px;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 14px;
    outline: none;
}

.form-group input:focus, .form-group textarea:focus {
    border-color: var(--accent-gold);
}

.submit-btn {
    width: 100%;
    background: var(--accent-gold);
    color: blue;
    border: none;
    padding: 12px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 6px;
    cursor: pointer;
}

.submit-btn:hover {
    background: rgb(245, 34, 69);
    color: black;
}

/* Universal Footer */
footer {
    background-color: #0b1329;
    color: #94a3b8;
    padding: 40px 20px;
    border-top: 4px solid var(--accent-gold);
    margin-top: auto;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.footer-col h3 {
    color: var(--accent-gold);
    font-size: 16px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.footer-col p, .footer-col a {
    font-size: 8px;
    line-height: 1.8;
    color: #cbd5e1;
    text-decoration: none;
}

.social-links {
    margin-top: 15px;
    display: flex;
    gap: 12px;
}

.social-links a {
    background: rgba(255,255,255,0.05);
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    border: 1px solid rgba(255,255,255,0.1);
}

.social-links a:hover {
    background: var(--accent-gold);
    color: var(--primary-dark);
}

/* ৫টি বড় বাটনের গ্রিড লেআউট (৩+২ স্ট্রাকচার) */
.services-large-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr); 
    gap: 25px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px;
}

.service-large-card {
    background:transparent;
    border: 2px solid gold;
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    text-decoration: none;
    color:white;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.service-large-card:hover {
    transform: translateY(-5px);
    border-color: #cca43b; 
    box-shadow: 0 10px 15px rgba(0,0,0,0.1);
    /*background: linear-gradient(135deg, #9de8f3 0%, #7ad8ed 40%, #f17ec9 75%, #5a97d1 100%) !important;*/
}

.card-1 { grid-column: span 2; }
.card-2 { grid-column: span 2; }
.card-3 { grid-column: span 2; }
.card-4 { grid-column: 1 / span 3; }
.card-5 { grid-column: 4 / span 3; }

.card-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.service-large-card h3 {
    margin-bottom: 10px;
    font-size: 22px;
    color: white;
}

/* SERVICES PAGE FOOTER STYLES */
.main-footer {
    background-color: #0b1325;
    border-top: 3px solid #cca43b; 
    padding: 40px 20px;
    font-family: sans-serif;
    margin-top: 60px;
}

.main-footer .footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    flex-wrap: wrap;
}

.main-footer .footer-box {
    flex: 1;
    min-width: 250px;
}

.main-footer .footer-title {
    color: #cca43b; 
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 1px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.main-footer .footer-desc, 
.main-footer .footer-info {
    color: #a0aab5; 
    font-size: 13px;
    line-height: 1.6;
    margin: 0;
}

.main-footer .footer-info {
    margin-bottom: 8px;
}

.main-footer .social-links-grid {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.main-footer .social-link-btn {
    background-color: #162238;
    color: #a0aab5;
    padding: 6px 12px;
    font-size: 12px;
    text-decoration: none;
    border-radius: 4px;
    border: 1px solid #233554;
    transition: background 0.3s ease;
}

.main-footer .social-link-btn:hover {
    background-color: #233554;
    color: #cca43b;
}

/* Lightbox & Popups */
.preview-modal {
    display: none; 
    position: fixed;
    z-index: 10000; 
    left: 0; top: 0; width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.8); 
    justify-content: center; align-items: center;
}

.preview-box {
    max-width: 80%; max-height: 80%; background: #fff; padding: 10px; border-radius: 8px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.5); display: flex; justify-content: center; align-items: center;
}

.preview-box img { max-width: 100%; max-height: 70vh; border-radius: 4px; object-fit: contain; }
.preview-close { position: absolute; top: 20px; right: 35px; color: #fff; font-size: 40px; font-weight: bold; cursor: pointer; transition: 0.2s; }
.preview-close:hover { color: #bbb; }

.social-links a i.fa-youtube { color: #FF0000 !important; }
.social-links a i.fa-facebook { color: #1877F2 !important; }
.social-links a i.fa-instagram { color: #E1306C !important; }
.social-links a i.fa-whatsapp { color: #25D366 !important; }
.social-links a i.fa-twitter { color: #1DA1F2 !important; }
.social-links a i.fa-pinterest { color: #BD081C !important; }
.social-links a:hover i { transform: scale(1.2); transition: transform 0.2s ease-in-out; }

.catalog-grid a, .content-card a { display: inline-block; transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out !important; }
.catalog-grid a:hover, .content-card a:hover { transform: translateY(-8px) scale(1.02) !important; box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2) !important; }

.uni-lightbox { display: none; position: fixed; z-index: 99999; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.95); overflow: auto; touch-action: pinch-zoom; }
.uni-close { position: fixed; top: 20px; right: 30px; color: #ffffff; font-size: 42px; font-weight: bold; cursor: pointer; z-index: 100000; transition: color 0.2s ease; }
.uni-close:hover { color: #ff0000; }
.uni-lightbox-wrapper { display: flex; justify-content: center; align-items: center; min-height: 100vh; padding: 20px; box-sizing: border-box; }
.uni-lightbox-img { max-width: 85%; max-height: 85vh; object-fit: contain; border: 3px solid #fff; border-radius: 4px; background-color: #111; cursor: zoom-in; transition: transform 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94); user-select: none; }
.uni-lightbox-img.zoomed { transform: scale(1.5); cursor: zoom-out; }

/* ==========================================================================
   📱 🎯 RESPONSIVE MEDIA QUERIES (FIXED & CLOSED PROPERLY)
   ========================================================================== */

/* Tablet Responsive (768px and below) */
@media screen and (max-width: 768px) {
    body { padding-top: 130px !important; }
    .nav-container { flex-direction: column !important; gap: 12px !important; padding: 10px 15px !important; }
    .nav-links { gap: 15px !important; justify-content: center !important; width: 100% !important; }
    .nav-links a { font-size: 13px !important; }
    
    /* 5 Large Cards Grid Fix for Tablet/Mobile */
    .services-large-grid { grid-template-columns: 1fr !important; gap: 15px !important; padding: 10px !important; }
    .card-1, .card-2, .card-3, .card-4, .card-5 { grid-column: span 1 !important; width: 100% !important; }
    .service-large-card { padding: 20px 15px !important; height: auto !important; }
    .service-large-card h3 { font-size: 18px !important; }
    .service-large-card p { font-size: 14px !important; }
    
    /* Lightbox Mobile */
    .uni-lightbox-wrapper { padding: 10px; }
    .uni-lightbox-img { max-width: 100%; max-height: 75vh; cursor: default; }
    .uni-lightbox-img.zoomed { transform: none; }
    .uni-close { top: 15px; right: 20px; font-size: 48px; }
}

/* Samsung Galaxy S20 Ultra & Small Mobile (440px and below) */
@media screen and (max-width: 440px) {
    body { padding-top: 150px !important; }
    .logo { font-size: 18px !important; text-align: center !important; }
    .nav-links { gap: 8px !important; justify-content: center !important; flex-wrap: nowrap !important; }
    .nav-links a { font-size: 11px !important; letter-spacing: 0.5px !important; white-space: nowrap !important; }
    .hero-box { padding: 60px 15px 40px 15px !important; }
    .hero-box h1 { font-size: 20px !important; letter-spacing: 1px !important; white-space: normal !important; width: auto !important; max-width: 100% !important; display: block !important; animation: none !important; }
    .hero-box p { font-size: 14px !important; }
    .content-card { padding: 20px !important; }
    .content-card h2 { font-size: 22px !important; }
}

/* Super Mini Mobile (360px and below) */
@media screen and (max-width: 360px) {
    .service-large-card h3 { font-size: 16px !important; }
    .card-icon { font-size: 30px !important; margin-bottom: 8px !important; }
}

/* Card icon er size control korar jonno */
/* Puro main card tike relative kora holo */
.service-large-card {
    position: relative;
    overflow: hidden; /* Jate chobir boro ongsho card-er baire na beroy */
    z-index: 1;
}

/* Photo-ti jate puro box jure background hoy */
.card-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Chobi distort na hoye background-e fit hobe */
    z-index: -1;       /* Chobi ke text er pichone pathanor jonno */
    opacity: 1;     /* Chobiti halka/transparent thakbe jate font gulo pora jay (pochondo mto change korte paro) */
}

/* Text gulo jate chobir upore thakay sposto dekha jay */
.service-large-card h3, 
.service-large-card p {
    position: relative;
    z-index: 2;
}
.gallery-heading {
    text-align: left !important;  /* Center e thakle sheta kete left e anbe */
    font-size: 24px;              /* Heading er size boro korbe */
    font-weight: bold;
    margin: 30px 0 15px 0;        /* Upore 30px ar niche 15px gap thakbe */
    color: #333333;   
    width: 100%;
    clear: both;            /* Tomar pochondo moto color dote paro */
}
/* ভিডিওর মেইন কন্টেইনার */
.video-container {
    width: 100% !important;
    max-width: 800px;    /* ভিডিও যাতে কম্পিউটারে খুব বেশি বড় না হয়ে যায় */
    margin: 20px auto;   /* ভিডিওটিকে একদম মাঝখানে রাখার জন্য */
    padding: 0 15px;     /* দুই পাশে সেফটি গ্যাপ */
    box-sizing: border-box;
}

/* ভিডিওর ভেতরের আইটেম বক্স */
.video-item {
    width: 100% !important;
    height: auto !important;
    border-radius: 12px; /* চারকোনা হালকা গোল করার জন্য */
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* আসল ভিডিও ট্যাগটিকে রেসপন্সিভ করার ম্যাজিক */
.video-item video {
    width: 100% !important;
    height: auto !important;
    display: block;
    object-fit: contain !important; /* এটা ভিডিও কাটা পড়া চিরতরে বন্ধ করবে */
}

/* ==========================================================================
   🚨 UNIVERSAL MOBILE FIX: FITS PERFECTLY ON IPHONE SE, 12 PRO, GALAXY S8
   ========================================================================== */
@media screen and (max-width: 768px) {
    .nav-container {
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 10px 4px !important; /* ডানে-বামে স্পেস একদম মিনিমাম করা হলো */
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* লোগোর ফন্ট সাইজ এবং স্পেস ছোট করা হলো যাতে ডানদিকের ট্যাবের জন্য ম্যাক্সিমাম জায়গা বের হয় */
    .logo {
        display: block !important;
        text-align: left !important;
        margin: 0 !important;
        font-size: 10.5px !important; /* ছোট ফোনের জন্য পারফেক্ট */
        white-space: nowrap !important;
        padding-right: 5px !important; /* হোমের সাথে মিনিমাম গ্যাপ */
        letter-spacing: 0.5px !important;
    }

    /* ৫টি ট্যাবকে এক লাইনে ধরে রাখার মূল চাবিকাঠি */
    .nav-links {
        display: flex !important;
        flex-direction: row !important;
        justify-content: flex-end !important;
        align-items: center !important;
        gap: 3px !important; /* ট্যাবগুলোর মাঝের গ্যাপ ৩ পিক্সেল ফিক্সড */
        margin: 0 !important;
        padding: 0 !important;
        list-style: none !important;
        overflow: visible !important;
        white-space: nowrap !important;
        width: auto !important;
    }

    .nav-links li {
        margin: 0 !important;
        padding: 0 !important;
    }

    /* iPhone SE-এর মতো স্ক্রিনে ৫টি ট্যাব ধরে রাখার জন্য ফন্ট সাইজ ৭.৫px করা হলো */
    .nav-links a {
        display: inline-block !important;
        font-size: 7.5px !important; 
        letter-spacing: -0.2px !important; /* অক্ষরগুলোকে সামান্য গায়ে গায়ে চাপানো হলো */
        padding: 4px 2px !important; /* ট্যাবের ভেতরের প্যাডিং কমানো হলো */
        white-space: nowrap !important;
    }
}

/* অতি ক্ষুদ্র স্ক্রিন (যেমন iPhone SE - 320px width) এর জন্য চূড়ান্ত সুরক্ষা */
@media screen and (max-width: 360px) {
    .logo {
        font-size: 9.5px !important; /* লোগো আরেকটু ছোট হবে */
    }
    .nav-links a {
        font-size: 7px !important; /* ৭ পিক্সেল ফন্টে ৫টি ট্যাবই স্ক্রিনের ভেতর চলে আসবে */
        padding: 4px 1px !important;
    }
}
@media (max-width: 768px) {
    
    /* ১. ফুটার পুরো ব্যাকগ্রাউন্ড কভার করবে */
    footer {
        width: 100% !important;
        display: block !important;
        overflow: visible !important; /* কেটে যাওয়া আটকাতে */
    }

    /* ২. কন্টেইনার ফিক্স: ৩টি মেইন কলাম আজীবন পাশাপাশি থাকবে */
    .footer-container {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        gap: 8px !important;            /* কলামগুলোর মধ্যে সামান্য গ্যাপ */
        padding: 20px 10px !important;  /* ডানে-বামে একটু জায়গা রাখা হলো */
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* ৩. কলামগুলোর সাইজ (আইকনকে জায়গা দেওয়ার জন্য ১ম ও ২য় কলাম একটু ছোট করা হলো) */
    .footer-col {
        flex: 1 !important;
        min-width: 0 !important;
    }

    /* সোশ্যাল আইকনের ৩ নম্বর কলামটির সাইজ বাড়িয়ে ৩২% করা হলো যাতে সব আইকন ধরে যায় */
    .footer-col:last-child {
        flex: 0 0 32% !important;       
        max-width: 32% !important;
    }

    /* ৪. মেইন টাইটেলগুলো */
    .footer-col h3 {
        font-size: 9px !important;
        white-space: nowrap !important;
        overflow: hidden;
        text-overflow: ellipsis;
        margin-bottom: 6px !important;
    }

    /* ৫. দ্য ক্রাউন কনসালটেন্সির প্যারাগ্রাফ (এটি এবার সুন্দর নিচে নিচে নামবে) */
    .footer-col p {
        font-size: 8px !important;      /* পড়ার মতো ছোট সাইজ */
        line-height: 1.3 !important;
        margin-bottom: 4px !important;
        white-space: normal !important; /* ম্যাজিক ট্রিক: লেখা এবার এক লাইনে না গিয়ে নিচে নিচে নামবে */
        word-break: break-word !important; /* বড় শব্দ থাকলে কলামের ভেতরেই ভাঙবে */
    }

    /* ৬. কন্টাক্ট কলামের ইমেইল আইডি ফিক্স */
    /* ইমেইল আইডি অনেক বড় হওয়ায় ওটা যাতে কেটে না যায়, সেটিকে শুধু কলামের ভেতরে ভাঙতে দেওয়া হলো */
    .footer-col:nth-child(2) p {
        white-space: normal !important; 
        word-break: break-all !important; /* ইমেইলটি কলামের শেষে গিয়ে নিচে নেমে যাবে, কাটবে না */
    }

    /* ৭. সোশ্যাল আইকনগুলোকে কেটে যাওয়া থেকে বাঁচাতে ২ লাইনে সাজানো হলো */
    .social-links {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;     /* ট্রিক: ৩টি করে আইকন খুব সুন্দর ২ লাইনে পাশাপাশি বসবে, কাটবে না */
        gap: 5px !important;            /* আইকনগুলোর মাঝের দূরত্ব */
        width: 100% !important;
    }

    /* ৮. আইকনের সাইজ সামান্য অ্যাডজাস্টমেন্ট */
    .social-links a i {
        font-size: 13px !important;     /* আইকনের সাইজ ঠিক করা হলো যাতে সুন্দর দেখায় ও ক্লিক করা যায় */
    }
}