:root { --primary-yellow: #ffc700; --text-dark: #2d3436; --light-gray: #f8f9fa; }
        body { font-family: 'Inter', sans-serif !important; color: var(--text-dark); overflow-x: hidden;font-size:18px;line-height: 1.65; }

        a{
            text-decoration: none;
        }
        
        /* Utility Bar & Dropdown */
        .utility-bar { background: #fff; border-bottom: 1px solid #eee; padding: 8px 0; font-size: 0.85rem; }
        .utility-bar a { color: var(--text-dark); text-decoration: none; font-weight: 600; }
        .country-dropdown .btn { font-size: 0.85rem; font-weight: 600; border: none; padding: 0; }
        .country-dropdown .dropdown-menu { font-size: 0.85rem; min-width: 120px;z-index:9999; }

        /* Navigation */
        .navbar { padding: 15px 0; border-bottom: 1px solid #eee; }
        .navbar-brand img { height: 45px; }
        .nav-link { font-weight: 600; font-size: 0.95rem; color: #333 !important; padding: 0 15px !important; }

        /* Hero */
        .hero { background: #fff; padding: 80px 0; border-bottom: 1px solid #eee; }
        .hero-title { font-size: 3.2rem; font-weight: 800; line-height: 1.1; }
        .hero-img { border-radius: 12px; width: 100%; max-height: 450px; object-fit: cover; }

        /* Alternate Service Strip (Modern Floating) */
        .service-strip { margin-top: -50px; position: relative; z-index: 10; }
        .strip-card { 
            background: #fff; border: none; padding: 35px 25px; 
            text-align: center; border-radius: 8px; transition: 0.4s;
            text-decoration: none; color: inherit; display: block;
            box-shadow: 0 10px 30px rgba(0,0,0,0.08);
        }
        .strip-card:hover { transform: translateY(-10px); box-shadow: 0 15px 40px rgba(0,0,0,0.12); }
        .strip-card i { color: var(--primary-yellow); font-size: 2.2rem; margin-bottom: 20px; }

        /* Alternate Stats (Dark Impact) */
        .stats-section { padding: 70px 0; background: #1a1a1a; color: #fff; }
        .stat-item h2 { font-weight: 800; color: var(--primary-yellow); font-size: 2.8rem; margin-bottom: 5px; }
        .stat-item p { color: #aaa; font-size: 0.85rem; letter-spacing: 1px; text-transform: uppercase; }

        /* Feature Sections */
        .feature-box { padding: 80px 0; }
        .feature-box:nth-child(even) { background-color: var(--light-gray); }
        .feature-tag { color: #888; font-weight: 700; text-transform: uppercase; font-size: 0.75rem; letter-spacing: 2px; display: block; margin-bottom: 15px; }
        .btn-main { background: var(--text-dark); color: #fff; font-weight: 700; padding: 12px 30px; border-radius: 4px; border: none; transition: 0.3s; }
        .btn-main:hover { background: #000; transform: scale(1.05); }

        /* Testimonials */
        .testimonial-card { background: #fff; padding: 35px; border-radius: 8px; border: 1px solid #eee; height: 100%; }
        .quote-icon { color: var(--primary-yellow); font-size: 1.5rem; margin-bottom: 15px; }

        .btn-lz { background: var(--primary-yellow); color: #000; font-weight: 700; padding: 12px 30px; border-radius: 4px; border: none;text-decoration: none;font-size:15px; }
        .btn-outline-lz { border: 2px solid var(--text-dark); color: var(--text-dark); font-weight: 700; padding: 11px 30px; border-radius: 4px; text-decoration: none;font-size:15px;  }
        /* Suggestion: The Minimalist Edge */
/* Redesigned Service Strip - Modern Inline Icons */
.service-strip {
    background-color: #fff;
    padding: 40px 0 100px 0;
}

.edge-card {
    padding: 45px 40px;
    background: #ffffff;
    border-radius: 0;
    border-top: 5px solid #eee;
    transition: all 0.4s ease;
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
    position: relative;
    z-index: 1;
}

/* Permanent Active State for the Middle Card */
.edge-card.active {
    border-top-color: var(--primary-yellow);
    background: var(--light-gray);
}

.edge-card:hover {
    border-top-color: var(--primary-yellow);
    background: var(--light-gray);
    transform: translateY(-5px); /* Subtle lift on hover */
}

/* Title and Icon Inline */
.card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.card-header i {
    font-size: 1.6rem;
    color: var(--primary-yellow);
}

.edge-card h5 {
    font-weight: 700;
    font-size: 1.4rem;
    margin-bottom: 0; /* Aligned with icon */
}

.edge-card p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.7;
    margin-bottom: 0;
}

/* Background Icon Effect */
.bg-icon {
    position: absolute;
    right: 20px;
    bottom: 20px;
    font-size: 4rem;
    color: rgb(255 172 0 / 12%);
    z-index: -1;
    transition: 0.4s;
}

.edge-card:hover .bg-icon, .edge-card.active .bg-icon {
    color: rgba(255, 199, 0, 0.08);
}

/* Stats Section - High-Contrast Metric Bar */
.stats-section { 
    padding: 80px 0; 
    background: #1a1a1a; /* Deep charcoal */
    color: #fff;
    position: relative;
}

.stat-box {
    padding: 20px;
    transition: 0.3s;
}

.stat-box:not(:last-child) {
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary-yellow);
    line-height: 1;
    margin-bottom: 10px;
    display: block;
}

.stat-label {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #ffffff;
    margin-bottom: 5px;
    display: block;
}

.stat-desc {
    font-size: 0.8rem;
    color: #888;
    font-weight: 400;
}

/* Mobile Fix: Remove border on mobile since they stack vertically */
@media (max-width: 767px) {
    .stat-box:not(:last-child) {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding-bottom: 40px;
        margin-bottom: 40px;
    }
}

/* Mega Menu Base */
.nav-item.dropdown { position: static; } /* Required for full-width mega menu */

.mega-menu {
    width: 100%;
    left: 0;
    right: 0;
    padding: 30px 0;
    border-radius: 0;
    border: none;
    border-top: 3px solid var(--primary-yellow);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    margin-top: 0;
}

.mega-menu-title {
    font-weight: 700;
    color: var(--text-dark);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    margin-bottom: 15px;
    display: block;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.mega-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mega-menu-list li a {
    display: block;
    padding: 5px 0;
    color: #666;
    text-decoration: none;
    font-size: 0.88rem;
    transition: 0.2s;
}

.mega-menu-list li a:hover {
    color: var(--primary-yellow);
    padding-left: 5px;
}

/* Specific styling for the large Dubai list to keep it organized */
.dubai-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0 20px;
}

.region-subtitle {
    font-weight: 700;
    font-size: 0.8rem;
    color: #999;
    margin-top: 15px;
    margin-bottom: 5px;
    display: block;
}

/* Mega Menu Column Scaling */
.mega-menu .container {
    max-width: 1200px;
}

/* Featured Tag for specific Free Zones */
.featured-tag {
    background: var(--primary-yellow);
    color: #000;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 2px 5px;
    border-radius: 3px;
    margin-left: 5px;
    text-transform: uppercase;
    vertical-align: middle;
}

/* Multi-column layout for the extensive Dubai list */
.dubai-columns {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0 30px;
}

.mega-menu-list li {
    margin-bottom: 2px;
}

/* Deep Footer Styles */
footer {
    background: #111;
    color: #fff;
    padding: 80px 0 30px;
    font-size: 0.9rem;
}

.footer-logo {
    height: 50px;
    margin-bottom: 25px;
    /*filter: brightness(0) invert(1);*/ /* Makes logo white */
}

.footer-heading {
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background: var(--primary-yellow);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #aaa;
    text-decoration: none;
    transition: 0.3s;
}

.footer-links a:hover {
    color: var(--primary-yellow);
    padding-left: 5px;
}

.contact-info li {
    display: flex;
    gap: 15px;
    color: #aaa;
    margin-bottom: 15px;
}

.contact-info i {
    color: var(--primary-yellow);
    margin-top: 4px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 35px;
    height: 35px;
    background: #222;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    transition: 0.3s;
}

.social-links a:hover {
    background: var(--primary-yellow);
    color: #000;
}

.footer-bottom {
    border-top: 1px solid #222;
    padding-top: 30px;
    margin-top: 50px;
    color: #666;
    font-size: 0.8rem;
}

/* Contact Page Specific Styles */
.contact-form-card {
    margin-top: -80px; /* Overlap with hero for modern look */
    z-index: 10;
}

.office-card {
    border: 1px solid #eee;
    border-radius: 16px;
    padding: 30px;
    transition: all 0.3s ease;
    background: #fff;
    height: 100%;
}

.office-card:hover {
    border-color: var(--primary-yellow);
    box-shadow: 0 15px 30px rgba(0,0,0,0.05);
}

.country-flag {
    font-size: 1.5rem;
    margin-bottom: 15px;
    display: block;
}

.office-link {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.office-link:hover {
    color: var(--primary-yellow);
}
/* Alternative CTA Styles */
.global-bridge-section {
    background: #0a0a0a; /* True black for higher contrast */
    padding: 100px 0;
    overflow: hidden;
}

.bridge-container {
    background: linear-gradient(145deg, #1a1a1a, #111);
    border: 1px solid rgba(255, 199, 0, 0.1);
    border-radius: 40px;
    padding: 60px;
    position: relative;
}

.stat-circle {
    width: 120px;
    height: 120px;
    border: 2px dashed var(--primary-yellow);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.stat-circle h2 {
    color: var(--primary-yellow);
    font-weight: 800;
    margin: 0;
}

.connection-line {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,199,0,0.2), transparent);
    z-index: 0;
}

/* Subtitle pulse effect */
.live-dot {
    height: 8px;
    width: 8px;
    background-color: #28a745;
    border-radius: 50%;
    display: inline-block;
    margin-right: 8px;
    box-shadow: 0 0 0 rgba(40, 167, 69, 0.4);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(40, 167, 69, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(40, 167, 69, 0); }
}

/* Insight Detail Styles */
.article-header {
    background: #111;
    padding: 100px 0 60px;
    border-bottom: 5px solid var(--primary-yellow);
}

.reading-progress-container {
    position: fixed;
    top: 70px; /* Adjust based on your header height */
    width: 100%;
    height: 4px;
    background: transparent;
    z-index: 1001;
}

.reading-progress-bar {
    height: 4px;
    background: var(--primary-yellow);
    width: 0%;
}

.article-content {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #333;
}

.article-content h2, .article-content h3 {
    font-weight: 700;
    margin-top: 40px;
    margin-bottom: 20px;
    color: #000;
}

.sidebar-cta {
    position: sticky;
    top: 100px;
}

.expert-card {
    border: none;
    background: #f8f9fa;
    border-top: 4px solid var(--primary-yellow);
}

/* Quote/Highlight style */
.legal-quote {
    border-left: 5px solid var(--primary-yellow);
    padding: 20px 30px;
    background: #fdfdfd;
    font-style: italic;
    margin: 40px 0;
    font-size: 1.25rem;
}
.badge-warning {
    color: #212529;
    background-color: #ffc107;
}

/* Only enable hover for desktop (screens wider than 992px) */
@media (min-width: 992px) {
    .navbar .dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 0;
    }
}
@media (max-width: 991px) {
    .dubai-columns {
        display: block !important; /* Forces columns to stack vertically on mobile */
    }
    .mega-menu {
        width: 100% !important;
        position: relative; /* Keeps it within the mobile flow */
    }
}

/* Responsive Mobile Adjustments */
@media (max-width: 991px) {
    /* Limit the height of dropdowns to allow scrolling */
    .navbar-collapse .dropdown-menu {
        max-height: 70vh; /* Keeps it within screen bounds */
        overflow-y: auto; /* Enables vertical scrolling */
        width: 100%;
        position: static;
        background: #f8f9fa;
    }

    /* Force columns to stack vertically on mobile */
    .dubai-columns {
        display: block !important;
    }
    
    .col-lg-3, .col-lg-5, .col-lg-4 {
        margin-bottom: 20px;
    }
    .navbar-nav{
        margin-bottom: 20px;
    }
    .navbar-collapse{
        border-top: 1px solid var(--primary-yellow);
    }
    li.nav-item {
        padding: 10px 0;
        border-bottom: 1px solid #eee;
        margin-bottom: 0;
    }
    .feature-box {
    padding: 50px 0;
}
}