/* =========================================
   JAJANTA CONSULTANTS LTD - MASTER STYLESHEET
   Features: Soft UI (Rounded), Interactive Hovers, Responsive Grid
   ========================================= */

/* --- 1. GLOBAL VARIABLES & RESET --- */
:root {
    --brand-red: #c9302c;    
    --brand-black: #000000;  
    --brand-dark: #111111;   
    --bg-light: #f4f4f4;     
    --text-main: #333333;    
    --white: #ffffff;
    --whatsapp-green: #25D366;
    --earth-brown: #1a120b;
}

* { box-sizing: border-box; }

html, body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0; padding: 0; background-color: var(--bg-light);
    color: var(--text-main); line-height: 1.6;
    padding-top: 130px;
}

a { text-decoration: none; color: inherit; transition: all 0.3s ease; }
ul { list-style: none; padding: 0; margin: 0; }
.visually-hidden { display: none !important; }

/* --- HERO SECTION (Shared) --- */
.hero {
    height: 65vh;
    min-height: 320px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    padding: 40px 20px;
    --hero-overlay: 0.65;
}

/* --- BREADCRUMBS --- */
.breadcrumbs {
    background: #111;
    color: #aaa;
    border-bottom: 1px solid #222;
    font-size: 0.85rem;
}
.breadcrumbs .container {
    padding: 10px 0;
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}
.breadcrumbs a { color: #ddd; }
.breadcrumbs a:hover { color: #fff; text-decoration: underline; }
.breadcrumbs span[aria-current="page"] { color: #fff; font-weight: 600; }

/* --- RELATED LINKS --- */
.related-links {
    background: #fff;
    border-top: 1px solid #eee;
    padding: 50px 0;
}
.related-links h2 {
    margin: 0 0 15px 0;
    font-size: 1.4rem;
    color: #111;
}
.related-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.related-grid a {
    padding: 10px 16px;
    border: 1px solid #eee;
    border-radius: 20px;
    background: #f9f9f9;
    font-weight: 600;
    color: #333;
}
.related-grid a:hover {
    border-color: var(--brand-red);
    color: var(--brand-red);
    background: #fff;
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(0,0,0,var(--hero-overlay)), rgba(0,0,0,var(--hero-overlay)));
    z-index: 0;
}
.hero > *,
.hero .container {
    position: relative;
    z-index: 1;
}
.hero h1 {
    font-size: clamp(2.1rem, 4vw, 3.8rem);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 800;
    text-shadow: 0 10px 30px rgba(0,0,0,0.55);
}
.hero p {
    font-size: clamp(1rem, 2vw, 1.3rem);
    max-width: 800px;
    margin-bottom: 35px;
    line-height: 1.6;
    font-weight: 300;
    text-shadow: 0 8px 24px rgba(0,0,0,0.5);
}
.hero .hero-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

/* Hero Background Variants */
.hero-home {
    background-image: url('images/hero-home.jpg');
}
.hero-about {
    background-image: url('images/hero-about.jpg');
}
.hero-services {
    background-image: url('images/hero-services.jpg');
}
.hero-projects {
    background-image: url('images/hero-projects.jpg');
}
.hero-trading {
    background-image: url('images/hero-trading.jpg');
    --hero-overlay: 0.75;
}
.hero-contact {
    background-image: url('images/hero-contact.jpg');
}

@media (max-width: 767px) {
    body { padding-top: 54px; }
    .hero {
        height: auto !important;
        min-height: 60vh;
        padding: 60px 20px !important;
    }
    .hero h1 {
        font-size: 2.2rem;
    }
    .hero p {
        font-size: 1rem;
        margin-bottom: 20px;
    }
    .hero .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    .hero .hero-buttons .btn {
        width: 100%;
        max-width: 260px;
    }
}

/* --- 2. TOP BAR (Interactive) --- */
.top-bar { 
    background-color: #1a1a1a; 
    color: #cccccc; 
    font-size: 0.85rem; 
    padding: 10px 0; 
    border-bottom: 1px solid #333; 
}
.top-bar-content { display: flex; justify-content: space-between; align-items: center; }

/* Contact Links Hover */
.contact-info span { margin-right: 20px; }
.contact-info i { color: var(--brand-red); margin-right: 8px; }
.contact-info a { transition: color 0.3s ease; }
.contact-info a:hover { 
    color: var(--brand-red); 
    text-decoration: underline; 
}

.top-links { display: flex; align-items: center; gap: 20px; }

/* Top CTA Button */
.top-cta {
    color: var(--white) !important; background-color: var(--brand-red);
    padding: 8px 20px; border-radius: 50px; /* PILL SHAPE */
    font-size: 0.75rem !important; font-weight: 700 !important; 
    text-transform: uppercase; letter-spacing: 1px;
    border: 1px solid var(--brand-red); transition: all 0.3s ease; display: inline-block;
}
.top-cta:hover { 
    background-color: var(--white); 
    color: var(--brand-red) !important; 
    border-color: var(--white);
}

/* --- 3. HEADER & NAV --- */
header {
    background-color: var(--brand-black); height: 130px; display: flex;
    align-items: center; position: fixed; top: 0; left: 0; right: 0; z-index: 2000;
    border-bottom: 4px solid var(--brand-red); box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}
.container { width: 90%; max-width: 1200px; margin: auto; }

/* Layout: Logo Left, Nav Right */
header .container {
    display: flex; justify-content: space-between; align-items: center;
}

/* Rounded Logo Container */
.logo { 
    background-color: var(--white); height: 100px; padding: 10px 30px; 
    border-radius: 15px; /* Rounded-square */
    display: flex; align-items: center; justify-content: center; 
}
.logo img { height: 80px; width: auto; }

/* Hamburger Menu (Hidden by default on desktop) */
.hamburger-menu {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    position: relative;
    z-index: 1001;
}

.hamburger-line {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--brand-red);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Shake Animation for Hamburger */
@keyframes hamburger-shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-4px); }
    20%, 40%, 60%, 80% { transform: translateX(4px); }
}

@keyframes levitate {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

.hamburger-menu.active {
    animation: hamburger-shake 0.5s ease;
}

/* Navigation Links */
nav ul { display: flex; align-items: center; }
nav ul li { margin-left: 25px; }
nav ul li a { color: #cccccc; font-weight: 600; font-size: 0.95rem; text-transform: uppercase; position: relative; }

/* Nav Hover Effect (Underline Slide) */
nav ul li a::after {
    content: ''; position: absolute; width: 0; height: 2px;
    bottom: -5px; left: 0; background-color: var(--brand-red);
    transition: width 0.3s;
}
nav ul li a:hover::after, nav ul li a.active::after { width: 100%; }
nav ul li a:hover, nav ul li a.active { color: var(--brand-red); }

/* --- 4. GLOBAL BUTTONS & INPUTS (ROUNDED) --- */
.btn {
    background-color: var(--brand-red); color: var(--white); padding: 15px 40px; 
    border-radius: 50px; font-weight: bold; text-transform: uppercase; 
    border: 2px solid var(--brand-red); display: inline-block; cursor: pointer;
    transition: all 0.3s ease;
}
.btn:hover { 
    background-color: var(--white); color: var(--brand-red); 
    box-shadow: 0 5px 15px rgba(255,255,255,0.3);
}

/* Form Elements */
input, select, textarea {
    border-radius: 25px; border: 1px solid #ddd; padding: 12px 20px; width: 100%; outline: none;
}
input:focus, select:focus, textarea:focus { border-color: var(--brand-red); }

/* --- 5. FOOTER (INTERACTIVE) --- */
footer { background-color: var(--earth-brown); color: #b0b0b0; margin-top: auto; border-top: 1px solid #333; }
.footer-connect { background-color: rgba(255,255,255,0.03); padding: 20px 0; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-connect .container { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer-links-area { padding: 25px 0; }
.footer-flex { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.5fr; gap: 40px; }
.footer-bottom { background-color: #000; padding: 8px 0; text-align: center; font-size: 0.8rem; }

/* Footer Link Slide Effect */
.footer-col ul li a { 
    display: inline-block; transition: all 0.3s ease; 
}
.footer-col ul li a:hover { 
    color: var(--brand-red); 
    transform: translateX(10px); /* Slide Right */
}

/* Social Icons Glow */
.footer-col a i { transition: all 0.3s ease; }
.footer-col a:hover i { 
    color: var(--brand-red); 
    transform: scale(1.2); 
}

/* Contact Data Highlight */
.footer-contact a { transition: color 0.3s ease; }
.footer-contact a:hover { color: var(--white); text-decoration: underline; }

/* --- 6. FLOATING WHATSAPP BUTTON --- */
.float-btn {
    position: fixed; bottom: 30px; right: 30px; 
    background-color: var(--whatsapp-green); color: white;
    padding: 15px 25px; border-radius: 50px; font-weight: bold; z-index: 9999; 
    display: flex; align-items: center; gap: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.float-btn:hover {
    background-color: #128C7E; 
    transform: translateY(-5px) scale(1.05); /* LIFT & GROW */
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.4);
}

/* ==========================
   ABOUT PAGE STYLES
   (moved from about.html inline <style>)
   ========================== */
.hero-about {
    padding: 160px 0;
    text-align: center;
    color: #fff;
}
.hero-about .hero-lead {
    color: var(--brand-red);
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    text-shadow: 0 8px 18px rgba(0,0,0,0.55);
}
.hero-about .hero-title {
    font-size: 3.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 20px 0;
    font-weight: 800;
    text-shadow: 0 10px 30px rgba(0,0,0,0.55);
}
.hero-about .hero-sub {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
    color: #ddd;
    text-shadow: 0 8px 24px rgba(0,0,0,0.5);
}

.about-intro {
    background: #f2f2f2;
    padding-bottom: 100px;
}

.intro-text-box {
    background: #fff;
    padding: 60px;
    margin-top: -80px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
    border-top: 6px solid var(--brand-red);
    text-align: center;
    position: relative;
    z-index: 10;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 20px;
}

.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 60px;
}
.philosophy-card {
    background: #fff;
    padding: 40px 30px;
    border: 1px solid #e9e9e9;
    text-align: center;
    transition: all 0.4s ease;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}
.philosophy-card:hover { transform: translateY(-10px); box-shadow: 0 15px 30px rgba(0,0,0,0.15); border-bottom: 4px solid var(--brand-red); }
.philosophy-card .card-icon { font-size: 3rem; color: var(--brand-red); margin-bottom: 20px; transition: 0.4s; }
.philosophy-card:hover .card-icon { transform: scale(1.1); }

.stats-section { background: var(--bg-light); color: var(--text-main); padding: 80px 0; text-align: center; border-top: 1px solid #eee; border-bottom: 1px solid #eee; }
.stats-section .stat-item h3 { font-size: 3.5rem; color: var(--brand-red); margin: 0; font-weight: 800; }
.stats-section .stat-item p { text-transform: uppercase; letter-spacing: 1px; font-size: 0.85rem; color: #555; margin-top: 10px; font-weight: bold; }

.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 40px; margin-top: 50px; }
.founder-card { background: #fff; border: 1px solid #e9e9e9; text-align: center; transition: 0.3s; border-radius: 16px; overflow: hidden; }
.founder-card:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.founder-img { width: 100%; height: 350px; object-fit: cover; filter: grayscale(0%); transition: 0.5s; }
.founder-info { padding: 30px; }

@media (max-width: 900px) {
    .hero-about { padding: 100px 20px; }
    .hero-about .hero-title { font-size: 2rem; }
    .intro-text-box { padding: 30px; margin-top: -40px; }
}

/* Utilities used by about.html after removing inline styles */
.section-label { color: var(--brand-red); font-weight: 700; text-transform: uppercase; letter-spacing: 1px; display: inline-block; }
.section-title { font-size: 2.5rem; margin-top: 10px; color: var(--brand-dark); }
.text-muted { color: #555; line-height: 1.6; }
.intro-title { font-size: 2.2rem; margin-bottom: 25px; color: var(--brand-dark); }
.intro-lead { font-size: 1.2rem; color: var(--text-main); line-height: 1.8; }
.intro-par { font-size: 1.1rem; color: #555; line-height: 1.8; margin-top: 25px; }
.intro-lifecycle { margin-top: 30px; padding-top: 30px; border-top: 1px solid #eee; }
.intro-label { font-size: 1.1rem; color: var(--brand-dark); font-weight: 700; margin-bottom: 10px; }
.intro-steps { font-size: 1rem; color: #555; }
.no-list { list-style: none; padding: 0; text-align: left; color: #555; line-height: 1.8; }
.no-list li strong { color: var(--brand-dark); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

@media (max-width: 900px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Misc utilities for header and team */
.divider { color: #444; }
.nav-highlight { color: #c9302c; }
.team-title { margin-bottom: 5px; }
.team-role { color: var(--brand-red); font-weight: 700; text-transform: uppercase; font-size: 0.8rem; display: inline-block; }
.team-bio { font-size: 0.9rem; color: #555; margin-top: 10px; }

/* Team & CTA utilities */
.centered-block { text-align: center; margin-bottom: 50px; }
.team-section { padding: 100px 0; background: #f5f5f5; }
.team-intro { max-width: 700px; margin: 0 auto; font-size: 1.1rem; color: #555; }
.cta-dark { background: var(--brand-dark); color: #fff; text-align: center; padding: 100px 0; }
.cta-title { font-size: 2.5rem; text-transform: uppercase; margin-bottom: 20px; }
.cta-sub { font-size: 1.2rem; color: #b0b0b0; margin-bottom: 40px; }

.connect-icon { margin-right: 10px; }
.btn-join { background-color: #25D366; border-color: #25D366; color: #fff; padding: 10px 25px; font-size: 0.9rem; }
.subscribe-form { display: flex; gap: 10px; }
.subscribe-input { padding: 10px; border-radius: 25px; border: 1px solid #444; background: #222; color: #fff; flex: 1; outline: none; }
.subscribe-btn { padding: 10px 20px; border-radius: 25px; font-size: 0.8rem; }
.social-link { color: #ccc; margin-right: 15px; }

/* Small helpers */
.mb-10 { margin-bottom: 10px; }
.social-wrap { margin-top: 20px; }
.footer-about-text { line-height: 1.6; }

/* --- 7. GOLD TERMINAL SPECIFIC (Layout Grid) --- */
.top-deck { display: grid; grid-template-columns: 2.5fr 1fr; gap: 30px; margin-bottom: 40px; }
.chart-section { height: 700px; border-radius: 20px; overflow: hidden; }
.chart-section iframe,
.chart-section embed,
.chart-section object,
.chart-section img {
    max-width: 100%;
}

/* ========================================= 
   RESPONSIVE DESIGN - MOBILE, TABLET, DESKTOP
   ========================================= */

/* --- MOBILE FIRST: PHONES (320px - 767px) --- */
@media (max-width: 767px) {
    /* Top Bar - Show on Mobile with Communications */
    .top-bar { 
        display: block !important; 
        padding: 4px 0;
        background-color: #1a1a1a;
        border-bottom: 1px solid #333;
        position: relative;
    }
    
    .top-bar-content {
        display: flex;
        flex-direction: row;
        gap: 4px;
        align-items: center;
        justify-content: flex-start;
        flex-wrap: nowrap;
        padding: 0 8px;
    }
    
    .contact-info {
        display: flex;
        flex-wrap: nowrap;
        gap: 6px;
        font-size: 0.6rem;
        align-items: center;
    }
    
    .contact-info span {
        margin-right: 0;
        display: inline-flex;
        align-items: center;
        gap: 2px;
    }
    
    .contact-info a {
        white-space: nowrap;
    }
    
    .contact-info i {
        font-size: 0.75rem;
    }
    
    .top-links {
        display: flex !important;
        align-items: center;
        gap: 2px;
        margin-left: auto;
        flex-shrink: 0;
    }
    
    .top-links span {
        display: none;
    }
    
    .top-cta {
        display: none !important;
    }
    
    .top-cta:hover {
        background-color: var(--white) !important;
        color: var(--brand-red) !important;
    }
    
    /* Header Adjustments */
    header {
        height: auto;
        padding: 2px 8px;
        position: fixed;
        top: 0;
        z-index: 2000;
        background-color: var(--brand-black);
        overflow: visible;
    }
    
    header .container {
        display: flex;
        flex-direction: row;
        gap: 0;
        padding: 0 8px;
        justify-content: space-between;
        align-items: center;
        flex-wrap: nowrap;
        position: relative;
        min-height: 39px;
        width: 100%;
    }
    
    /* Logo Very Small on Mobile */
    .logo {
        height: 35px !important;
        padding: 2px 5px !important;
        border-radius: 15px !important;
        flex-shrink: 0;
        margin-right: auto;
    }
    
    .logo img {
        height: 28px !important;
        width: auto !important;
    }
    
    /* Show Hamburger Menu on Mobile */
    .hamburger-menu {
        display: flex !important;
        flex-direction: column;
        gap: 4px;
        padding: 4px;
        z-index: 1001;
        flex-shrink: 0;
        background: transparent;
        border: none;
        transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
        cursor: pointer;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .hamburger-menu.active {
        animation: levitate 0.6s ease-in-out infinite;
    }
    
    /* Hide Contact Link on Mobile */
    .mobile-contact-link {
        display: none !important;
    }
    
    /* Navigation Menu Dropdown on Mobile */
    .main-nav {
        position: fixed;
        top: 44px;
        left: 0;
        right: 0;
        background-color: var(--brand-black);
        border-bottom: 2px solid var(--brand-red);
        display: none;
        max-height: calc(100vh - 44px);
        overflow-y: auto;
        z-index: 2001;
    }
    
    .main-nav.active {
        display: block;
    }
    
    .main-nav ul {
        flex-direction: column;
        width: 100%;
        gap: 0;
        padding: 15px 0;
    }
    
    .main-nav ul li {
        margin-left: 0;
        width: 100%;
        padding: 12px 20px;
        border-bottom: 1px solid #333;
    }
    
    .main-nav ul li:last-child {
        border-bottom: none;
    }
    
    .main-nav ul li a {
        font-size: 0.85rem;
    }
    
    /* Language Widget Mobile */
    /* (Already styled in header section) */
    
    .hamburger-line {
        width: 18px;
        height: 2px;
        background-color: var(--brand-red);
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
    
    /* Container Mobile Width */
    .container {
        width: 95% !important;
        max-width: 100% !important;
        padding: 0 10px;
    }
    
    /* Buttons Mobile Size */
    .btn {
        padding: 12px 30px;
        font-size: 0.9rem;
        width: 100%;
        max-width: 100%;
    }
    
    /* Form Elements Mobile */
    input, select, textarea {
        padding: 10px 15px;
        font-size: 16px; /* Prevents zoom on iOS */
        border-radius: 15px;
    }
    
    /* Gold Terminal - Stack Everything */
    .top-deck {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 25px;
    }
    
    .chart-section {
        height: 400px;
        border-radius: 15px;
    }
    
    /* Footer Mobile */
    .footer-flex {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .footer-connect .container {
        flex-direction: column;
        gap: 20px;
    }
    
    /* Floating Button Mobile */
    .float-btn {
        bottom: 20px;
        right: 20px;
        padding: 12px 16px;
        font-size: 0.9rem;
        gap: 8px;
    }

    /* Mobile - content grids & spacing */
    .services-grid,
    .projects-grid,
    .project-grid,
    .partner-grid,
    .team-grid,
    .stats-grid,
    .contact-grid,
    .form-map-grid {
        grid-template-columns: 1fr !important;
    }
    .service-card,
    .project-card,
    .contact-card,
    .founder-card {
        padding: 25px;
    }
    .category-header { margin: 50px 0 25px; }
    .category-header h2 { font-size: 1.6rem; }
    .related-links { padding: 35px 0; }
    .breadcrumbs .container { font-size: 0.8rem; }
    
    /* Language Panel Mobile */
    .lang-panel {
        right: 10px;
        left: 10px;
        min-width: unset;
    }
}

/* --- TABLET (768px - 1024px) --- */
@media (min-width: 768px) and (max-width: 1024px) {
    body { padding-top: 110px; }
    /* Top Bar Visible */
    .top-bar {
        display: block !important;
        padding: 8px 0;
    }
    
    .top-bar-content {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .contact-info span {
        margin-right: 10px;
        font-size: 0.8rem;
    }
    
    /* Header Tablet */
    header {
        height: auto;
        padding: 12px 0;
    }
    
    header .container {
        flex-direction: row;
        gap: 20px;
    }
    
    /* Logo Tablet */
    .logo {
        height: 85px;
        padding: 8px 20px;
    }
    
    .logo img {
        height: 70px;
    }
    
    /* Navigation Tablet */
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    nav ul li {
        margin-left: 15px;
        font-size: 0.9rem;
    }
    
    /* Container */
    .container {
        width: 92% !important;
        max-width: 1000px !important;
    }
    
    /* Buttons Tablet */
    .btn {
        padding: 12px 35px;
        font-size: 0.95rem;
    }
    
    /* Gold Terminal */
    .top-deck {
        grid-template-columns: 2fr 1fr;
        gap: 25px;
    }
    
    .chart-section {
        height: 550px;
    }
    
    /* Footer Tablet */
    .footer-flex {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
    
    .footer-connect .container {
        flex-direction: row;
        gap: 30px;
        flex-wrap: wrap;
    }
    
    /* Floating Button Tablet */
    .float-btn {
        bottom: 25px;
        right: 25px;
        padding: 13px 20px;
    }

    /* Tablet - content grids & spacing */
    .services-grid,
    .projects-grid,
    .team-grid,
    .stats-grid,
    .partner-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .cta-grid { grid-template-columns: 1fr; }
    .related-links { padding: 45px 0; }
}

/* --- DESKTOP (1025px and above) --- */
@media (min-width: 1025px) {
    body { padding-top: 130px; }
    /* Full Desktop Layout */
    .top-bar {
        display: block !important;
        padding: 10px 0;
    }
    
    .top-bar-content {
        display: flex;
        justify-content: space-between;
        flex-wrap: nowrap;
    }
    
    .contact-info span {
        margin-right: 20px;
    }
    
    /* Header Desktop */
    header {
        height: 130px;
        padding: 0;
    }
    
    header .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 40px;
    }
    
    /* Logo Desktop */
    .logo {
        height: 100px;
        padding: 10px 30px;
        border-radius: 50px;
    }
    
    .logo img {
        height: 80px;
    }
    
    /* Navigation Desktop */
    nav ul {
        display: flex;
        flex-wrap: nowrap;
    }
    
    nav ul li {
        margin-left: 25px;
    }
    
    nav ul li a {
        font-size: 0.95rem;
    }
    
    /* Container */
    .container {
        width: 90% !important;
        max-width: 1200px !important;
    }
    
    /* Buttons Desktop */
    .btn {
        padding: 15px 40px;
        font-size: 1rem;
    }
    
    /* Gold Terminal Desktop */
    .top-deck {
        grid-template-columns: 2.5fr 1fr;
        gap: 30px;
    }
    
    .chart-section {
        height: 700px;
    }
    
    /* Footer Desktop */
    .footer-flex {
        grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
        gap: 40px;
    }
    
    .footer-connect .container {
        display: flex;
        justify-content: space-between;
        gap: 40px;
        flex-wrap: nowrap;
    }
    
    /* Floating Button Desktop */
    .float-btn {
        bottom: 30px;
        right: 30px;
        padding: 15px 25px;
    }
}

/* --- TRANSLATE WIDGET (THEMED & MODERN) --- */
.lang-widget { position: relative; display: inline-block; }
.lang-btn {
    display: inline-flex; align-items: center; gap: 8px;
    background: linear-gradient(135deg, rgba(0,0,0,0.6), rgba(17,17,17,0.9));
    color: #fff; padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.06);
    box-shadow: 0 6px 18px rgba(0,0,0,0.45); font-weight: 700; cursor: pointer; font-size: 0.9rem;
}
.lang-btn i { color: var(--brand-red); font-size: 1.05rem; }
.lang-panel {
    position: absolute; right: 0; top: calc(100% + 12px); min-width: 220px; background: rgba(10,10,10,0.95);
    border-radius: 14px; padding: 10px; border: 1px solid rgba(201,48,44,0.08); box-shadow: 0 12px 40px rgba(0,0,0,0.6);
    transform-origin: top right; opacity: 0; visibility: hidden; transform: translateY(-6px) scale(0.98);
    transition: all 220ms cubic-bezier(.2,.9,.3,1);
    z-index: 9999;
}
.lang-panel.open { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.lang-option { display: flex; align-items: center; gap: 10px; width: 100%; padding: 8px 10px; border-radius: 10px; background: transparent; color: #eee; border: none; text-align: left; cursor: pointer; font-weight: 600; }
.lang-option:hover { background: rgba(201,48,44,0.06); color: #fff; transform: translateX(6px); }
.lang-option.active { background: linear-gradient(90deg, rgba(201,48,44,0.12), rgba(201,48,44,0.06)); color: #fff; }
.lang-flag { font-size: 1.05rem; }
.translate-badge { display: inline-block; margin-left: 6px; background: rgba(201,48,44,0.12); color: #fff; padding: 4px 8px; border-radius: 999px; font-size: 0.75rem; font-weight: 700; }
.lang-loading { margin-left: 8px; width: 14px; height: 14px; border-radius: 50%; border: 2px solid rgba(255,255,255,0.15); border-top-color: var(--brand-red); animation: spin 800ms linear infinite; display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }


/* =========================================
   MASTER MOBILE FIXES
   ========================================= */

/* =======================
   SERVICES PAGE STYLES
   ======================= */
.category-header {
    text-align: center;
    margin: 80px 0 40px;
    position: relative;
}
.category-header h2 {
    font-size: 2.2rem;
    color: #111;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.category-header::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--brand-red);
    margin: 15px auto 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 35px;
    border: 1px solid #eee;
    border-left: 4px solid var(--brand-red);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 12px;
}
.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.service-icon { font-size: 2.5rem; color: var(--brand-red); margin-bottom: 20px; }
.service-card h3 { font-size: 1.4rem; margin-bottom: 15px; color: #111; }
.service-card p { font-size: 0.95rem; color: #666; line-height: 1.6; margin-bottom: 20px; }

.service-link {
    display: inline-block;
    color: var(--brand-red);
    font-weight: bold;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    transition: 0.3s;
}
.service-link:hover { color: #111; padding-left: 5px; }
.service-link i { margin-left: 5px; font-size: 0.8rem; }

/* FAQ styles */
details { background: var(--white); border-bottom: 1px solid #ddd; margin-bottom: 10px; overflow: hidden; }
summary { padding: 20px; cursor: pointer; font-weight: bold; display: flex; justify-content: space-between; align-items: center; }
summary:hover { background-color: #f9f9f9; color: var(--brand-red); }
summary::after { content: '+'; font-size: 1.5rem; color: var(--brand-red); }
details[open] summary::after { content: '-'; }
details p { padding: 0 20px 20px; color: #555; line-height: 1.6; border-top: 1px solid #f1f1f1; margin: 0; padding-top: 15px; }

/* 1. Fix White Space (Horizontal Scroll) */
html, body {
    overflow-x: hidden !important;
    max-width: 100% !important;
}

.tradingview-widget-container,
.map-container iframe,
.chart-section iframe {
    width: 100% !important;
    max-width: 100vw !important;
}

/* 2. Force Header to Row Layout (Mobile) */
@media (max-width: 900px) {
    header .container {
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        gap: 0 !important;
    }
    .logo {
        height: 50px !important;
        padding: 5px 15px !important;
        margin-right: auto !important;
    }
    .logo img {
        height: 35px !important;
        width: auto !important;
    }
}

/* 3. Supercharge the Menu (Visibility & Z-Index) */
@media (max-width: 900px) {
    .main-nav {
        display: none !important;
        position: fixed !important;
        top: 56px !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        background-color: #111111 !important;
        border-bottom: 2px solid #c9302c !important;
        z-index: 1000000 !important;
        max-height: calc(100vh - 56px) !important;
        overflow-y: auto !important;
        box-shadow: 0 10px 20px rgba(0,0,0,0.5);
        visibility: hidden !important;
        opacity: 0 !important;
    }

    .main-nav.active {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .main-nav ul li {
        width: 100%;
        display: block;
    }
    .main-nav ul li a {
        display: block;
        padding: 15px 20px;
        font-size: 1rem;
    }
}

/* --- FIX FOR TRADINGVIEW WIDGETS --- */
.tradingview-widget-container {
    width: 100% !important;
    max-width: 100vw !important;
    overflow: hidden !important;
}

.tradingview-widget-container iframe,
.tradingview-widget-container__widget {
    width: 100% !important;
    max-width: 100% !important;
}



