/* =========================================
   1. GLOBAL VARIABLES & THEMES
========================================= */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700;900&display=swap');

:root {
    --bg-main: #0a0a0a;
    --bg-card: #141414;
    --text-main: #ffffff;
    --text-muted: #888888;
    --border-color: #222222;
    --gold: #d4af37;
    --gold-hover: #f5f5f5;
}

body.light-mode {
    --bg-main: #fcfcfc;
    --bg-card: #ffffff;
    --text-main: #111111;
    --text-muted: #555555;
    --border-color: #e5e5e5;
    --gold: #b5952f;
    --gold-hover: #111111;
}

/* =========================================
   2. RESET & BASE STYLES
========================================= */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background: var(--bg-main);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    transition: background-color 0.4s ease, color 0.4s ease;
    overflow-x: hidden;
}

.container { max-width: 1400px; margin: 0 auto; padding: 0 40px; }
.text-gold { color: var(--gold); }

/* =========================================
   3. TYPOGRAPHY & BUTTONS
========================================= */
.section-label { 
    font-size: 12px; text-transform: uppercase; letter-spacing: 3px; 
    font-weight: 800; display: block; margin-bottom: 20px; 
}
.section-title { 
    font-size: clamp(2.5rem, 4vw, 4rem); font-weight: 900; 
    line-height: 1.1; margin-bottom: 40px; letter-spacing: -1px; 
}
.section-desc { 
    font-size: 1.15rem; color: var(--text-muted); 
    line-height: 1.8; margin-bottom: 30px; 
}

.btn-primary { 
    background: var(--gold); color: #000; padding: 18px 36px; 
    border-radius: 50px; text-decoration: none; font-weight: 800; 
    text-transform: uppercase; letter-spacing: 1px; font-size: 14px; 
    transition: 0.3s; display: inline-block; border: none; cursor: pointer; 
}
.btn-primary:hover { 
    background: var(--gold-hover); transform: translateY(-2px); 
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1); 
}

.btn-outline { 
    background: transparent; color: var(--text-main); 
    border: 1px solid var(--border-color); padding: 18px 36px; 
    border-radius: 50px; text-decoration: none; font-weight: 800; 
    text-transform: uppercase; font-size: 14px; transition: 0.3s; 
    display: inline-block; 
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

/* =========================================
   4. NAVIGATION HEADER
========================================= */
.navbar {
    position: fixed; top: 0; width: 100%; z-index: 1000; padding: 15px 0;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border-color);
    transition: background-color 0.4s ease;
}

body.light-mode .navbar { background: rgba(252, 252, 252, 0.9); }

.nav-flex { display: flex; justify-content: space-between; align-items: center; }
.logo img { height: 65px; transition: transform 0.3s; display: block; }
.logo img:hover { transform: scale(1.05); }

.nav-right { display: flex; align-items: center; gap: 30px; }
.desktop-nav a { 
    color: var(--text-main); text-decoration: none; font-weight: 600; 
    font-size: 14px; text-transform: uppercase; margin-left: 30px; 
    transition: color 0.3s; 
}
.desktop-nav a:hover { color: var(--gold); }

.lang-selector { position: relative; cursor: pointer; font-weight: bold; font-size: 14px; color: var(--text-main); }
.lang-dropdown { display: none; position: absolute; top: 100%; right: 0; background: var(--bg-card); border: 1px solid var(--border-color); min-width: 60px; text-align: center; border-radius: 8px; overflow: hidden; margin-top: 10px; }
.lang-selector:hover .lang-dropdown { display: flex; flex-direction: column; }
.lang-dropdown a { padding: 12px; color: var(--text-main); text-decoration: none; display: block; transition: background 0.3s; }
.lang-dropdown a:hover { background: var(--gold); color: #000; }

.theme-toggle { 
    background: none; border: 1px solid var(--border-color); color: var(--text-main); 
    border-radius: 50%; width: 38px; height: 38px; display: flex; 
    align-items: center; justify-content: center; cursor: pointer; transition: 0.3s; 
}
.theme-toggle:hover { border-color: var(--gold); }

/* =========================================
   5. HERO SECTION (PARTICLES & GIRL LAYOUT)
========================================= */
.hero {
    position: relative; min-height: 100vh; width: 100%; display: flex;
    align-items: center; padding-top: 100px; background: var(--bg-main); overflow: hidden;
}

#particles-js { position: absolute; width: 100%; height: 100%; top: 0; left: 0; z-index: 0; }

.hero-inner {
    position: relative; z-index: 2; display: grid; grid-template-columns: 1.2fr 1fr;
    align-items: center; gap: 60px; width: 100%;
}

.hero-content-card {
    background: var(--bg-card); padding: 60px 50px; border-radius: 30px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.05); border: 1px solid var(--border-color);
    transition: all 0.4s ease;
}
body:not(.light-mode) .hero-content-card { box-shadow: 0 20px 50px rgba(0,0,0,0.4); }

.display-title { 
    font-size: clamp(2.5rem, 4.5vw, 4.2rem); font-weight: 900; 
    line-height: 1.15; margin-bottom: 25px; letter-spacing: -0.03em; 
}
.hero-desc { 
    font-size: 1.15rem; color: var(--text-muted); margin-bottom: 40px; 
    max-width: 95%; line-height: 1.8; font-weight: 400; 
}
.hero-actions { display: flex; gap: 15px; flex-wrap: wrap; }

.hero-visual-wrapper { position: relative; display: flex; justify-content: center; align-items: center; height: 100%; min-height: 500px; }
.hero-girl-img { max-height: 650px; width: auto; object-fit: contain; position: relative; z-index: 2; }

.floating-stat {
    position: absolute; background: var(--bg-card); border: 1px solid var(--border-color);
    padding: 20px 25px; border-radius: 20px; box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    z-index: 3; min-width: 220px; animation: float 6s ease-in-out infinite;
    transition: background 0.4s ease, border 0.4s ease;
}
body:not(.light-mode) .floating-stat { box-shadow: 0 15px 35px rgba(0,0,0,0.5); }

.stat-left { top: 15%; left: -15%; animation-delay: 0s; }
.stat-right { bottom: 10%; right: -10%; animation-delay: 3s; }

.stat-title { display: block; font-weight: 800; font-size: 15px; color: var(--text-main); margin-bottom: 30px; position: relative; }
.stat-title::after { content: ''; position: absolute; bottom: -15px; left: 0; width: 100%; height: 1px; background: var(--border-color); }
.stat-value-row { display: flex; justify-content: space-between; align-items: flex-end; margin-top: 15px; }
.stat-number { font-weight: 800; font-size: 15px; color: var(--text-main); }
.stat-number small { font-size: 11px; color: var(--text-muted); font-weight: 500; }
.stat-trend { font-size: 12px; font-weight: 800; background: rgba(212, 175, 55, 0.1); padding: 6px 12px; border-radius: 8px; }

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

/* =========================================
   6. INFINITE KEYWORD MARQUEE
========================================= */
.keyword-marquee-section { 
    border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); 
    background: var(--bg-card); padding: 50px 0; overflow: hidden; display: flex; 
    white-space: nowrap; position: relative; width: 100%; 
}
.marquee-track { display: inline-flex; align-items: center; animation: scroll-marquee 35s linear infinite; }
.marquee-track:hover { animation-play-state: paused; }
.marquee-track span { 
    font-size: 3.5rem; font-weight: 900; color: transparent; 
    -webkit-text-stroke: 1px var(--text-muted); text-transform: uppercase; 
    padding: 0 50px; transition: color 0.3s ease, -webkit-text-stroke 0.3s ease; cursor: default; 
}
.marquee-track span:hover { color: var(--gold); -webkit-text-stroke: 1px var(--gold); }
.marquee-track .dot { width: 15px; height: 15px; background: var(--gold); border-radius: 50%; display: inline-block; padding: 0; }

@keyframes scroll-marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* =========================================
   7. ABOUT US
========================================= */
.about-section { padding: 120px 40px; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }

/* =========================================
   7.5 GLOBAL REACH (GLOBE VIDEO)
========================================= */
.global-section { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 80px; padding: 120px 40px; }
.globe-video-wrapper { 
    position: relative; width: 100%; max-width: 500px; margin: 0 auto; 
    aspect-ratio: 1/1; display: flex; justify-content: center; align-items: center; 
    background: transparent !important; 
    -webkit-mask-image: radial-gradient(circle, black 55%, transparent 75%); 
    mask-image: radial-gradient(circle, black 55%, transparent 75%); 
    border-radius: 50%; overflow: hidden; 
}
.globe-video { width: 100%; height: 100%; object-fit: cover; transform: scale(1.15); }

/* =========================================
   8. OUR SERVICES
========================================= */
.services-section { 
    padding: 120px 0; background: var(--bg-card); 
    border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); 
}
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; margin-top: 60px; }
.service-card { 
    background: var(--bg-main); padding: 50px 40px; border: 1px solid var(--border-color); 
    border-radius: 20px; transition: all 0.4s ease; 
}
.service-card:hover { border-color: var(--gold); transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1); }
body:not(.light-mode) .service-card:hover { box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4); }

.srv-icon { font-size: 18px; font-family: 'Courier New', Courier, monospace; color: var(--gold); font-weight: bold; margin-bottom: 30px; display: block; }
.service-card h3 { font-size: 1.6rem; font-weight: 800; margin-bottom: 20px; }
.service-card p { color: var(--text-muted); line-height: 1.7; font-size: 1.05rem; }

/* =========================================
   9. OUR WORK (PORTFOLIO)
========================================= */
.work-section { padding: 120px 40px; }
.work-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.work-card { position: relative; border-radius: 25px; overflow: hidden; aspect-ratio: 4/3; cursor: pointer; }
.work-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }

.work-overlay { 
    position: absolute; bottom: 0; left: 0; width: 100%; height: 100%; 
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0) 100%); 
    display: flex; align-items: flex-end; padding: 40px; opacity: 0; transition: opacity 0.4s ease; 
}
.work-card:hover img { transform: scale(1.05); }
.work-card:hover .work-overlay { opacity: 1; }

.work-category { color: var(--gold); font-size: 12px; text-transform: uppercase; letter-spacing: 2px; font-weight: bold; margin-bottom: 10px; display: block; }
.work-info h3 { color: #ffffff; font-size: 2rem; font-weight: 800; margin: 0; }

/* =========================================
   10. WHY CHOOSE US
========================================= */
.why-section { padding: 120px 40px; }
.why-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; align-items: center; }
.glass-box { background: var(--bg-card); border: 1px solid var(--border-color); padding: 50px; border-radius: 30px; transition: all 0.4s ease; }
.glass-divider { height: 1px; background: var(--border-color); width: 100%; margin: 30px 0; }

/* =========================================
   11. FROSTED GLASS CTA BANNER
========================================= */
.cta-banner-section { padding: 80px 40px; max-width: 1400px; margin: 0 auto; }

.cta-banner-inner { 
    background: rgba(255, 255, 255, 0.03); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); 
    border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 30px; padding: 70px 60px; 
    display: flex; justify-content: space-between; align-items: center; gap: 40px; 
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.3); 
}
body.light-mode .cta-banner-inner { 
    background: rgba(255, 255, 255, 0.6); border: 1px solid rgba(0, 0, 0, 0.05); 
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.05); 
}

.cta-text { flex: 1; max-width: 700px; }
.cta-text h2 { color: var(--text-main); font-size: 2.8rem; font-weight: 900; margin-bottom: 20px; letter-spacing: -1px; }
.cta-text p { color: var(--text-muted); font-size: 1.15rem; line-height: 1.7; }

/* =========================================
   12. RICH FOOTER SECTION - FINAL POLISH
========================================= */
.site-footer { 
    padding: 80px 0 40px; 
    background: var(--bg-card); 
    border-top: 1px solid var(--border-color); 
    margin-top: 100px; 
}

.footer-grid { 
    display: grid; 
    grid-template-columns: 1.5fr 1fr 1.2fr 1.2fr; /* Adjusted for better balance */
    gap: 60px; 
    margin-bottom: 60px; 
    align-items: start;
}

.footer-brand .footer-logo { height: 45px; margin-bottom: 25px; display: block; width: auto; }
.footer-tagline { color: var(--text-muted); font-size: 14px; line-height: 1.6; max-width: 250px; }

/* Social Icons Alignment */
.social-icons-row { display: flex; gap: 10px; margin-top: 25px; }
.social-circle { 
    width: 35px; height: 35px; border-radius: 50%; border: 1px solid var(--border-color); 
    display: flex; align-items: center; justify-content: center; color: var(--text-main); 
    text-decoration: none; transition: 0.3s ease; 
}
.social-circle:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-3px); }

/* Column Headers */
.footer-col h4 { font-size: 15px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 30px; color: var(--text-main); }
.footer-col ul { list-style: none; padding: 0; }
.footer-col ul li { margin-bottom: 15px; }
.footer-col ul li a { color: var(--text-muted); text-decoration: none; font-size: 14px; transition: 0.3s; }
.footer-col ul li a:hover { color: var(--gold); padding-left: 5px; }

/* Contact Items Alignment Fix */
.contact-item { 
    display: grid; 
    grid-template-columns: 25px 1fr; 
    align-items: start; 
    color: var(--text-muted); 
    text-decoration: none; 
    font-size: 14px; 
    margin-bottom: 18px; 
    line-height: 1.4;
}
.contact-item i { color: var(--gold); font-size: 14px; margin-top: 3px; }

/* Footer Form UI */
.footer-form { 
    display: flex; 
    background: var(--bg-main); 
    border: 1px solid var(--border-color); 
    padding: 4px; 
    border-radius: 30px; 
    margin-bottom: 15px;
}
.footer-form input { background: transparent; border: none; padding: 10px 15px; color: var(--text-main); outline: none; flex: 1; font-size: 13px; width: 100%; }
.footer-form button { background: var(--gold); color: #000; border: none; width: 34px; height: 34px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: 0.3s; }

/* BOTTOM BAR RECONSTRUCTION */
.footer-divider { height: 1px; background: var(--border-color); width: 100%; margin-bottom: 30px; opacity: 0.5; }

.footer-bottom-flex { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    gap: 30px;
}

.footer-bottom-flex p { font-size: 12px; color: var(--text-muted); margin: 0; white-space: nowrap; }

.footer-legal-links { display: flex; gap: 25px; }
.footer-legal-links a { color: var(--text-muted); text-decoration: none; font-size: 12px; transition: 0.3s; white-space: nowrap; }
.footer-legal-links a:hover { color: var(--gold); }

.partner-badge { 
    border: 1.5px solid var(--gold); 
    color: var(--gold); 
    padding: 6px 12px; 
    border-radius: 4px; 
    font-size: 9px; 
    font-weight: 900; 
    letter-spacing: 1px;
}

/* Responsive Fixes */
@media (max-width: 1100px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 50px; }
}
@media (max-width: 700px) {
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .footer-brand, .social-icons-row, .contact-item { justify-content: center; margin-left: auto; margin-right: auto; }
    .contact-item { grid-template-columns: 1fr; gap: 5px; }
    .footer-bottom-flex { flex-direction: column; gap: 20px; }
}
/* =========================================
   13. ANIMATIONS & REVEALS
========================================= */
.reveal { opacity: 0; transform: translateY(40px); transition: 1s cubic-bezier(0.2, 1, 0.3, 1); }
.reveal.active { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
.delay-3 { transition-delay: 0.6s; }
/* =========================================
   13.5 INTERNAL SUBPAGES (About, Contact, etc.)
========================================= */
.subpage-hero {
    padding: 180px 40px 80px;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border-color);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.subpage-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.subpage-title {
    font-size: clamp(3rem, 5vw, 4.5rem);
    font-weight: 900;
    margin-bottom: 20px;
    letter-spacing: -1px;
    position: relative;
    z-index: 2;
}

.subpage-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

.subpage-content {
    padding: 100px 40px;
    min-height: 50vh; 
    max-width: 1000px;
    margin: 0 auto;
}
/* =========================================
   13.6 COOKIE CONSENT STYLING
========================================= */
.cookie-banner {
    position: fixed;
    bottom: -100%; /* Hidden by default */
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 600px;
    z-index: 9999;
    transition: bottom 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.cookie-banner.show {
    bottom: 30px;
}

.cookie-content {
    background: rgba(20, 20, 20, 0.8);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--border-color);
    padding: 20px 30px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

body.light-mode .cookie-content {
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.cookie-icon { font-size: 24px; color: var(--gold); }

.cookie-text p {
    font-size: 13px;
    color: var(--text-main);
    line-height: 1.5;
    margin: 0;
}

.cookie-text a {
    color: var(--gold);
    text-decoration: underline;
}

.cookie-actions { display: flex; gap: 10px; }

@media (max-width: 600px) {
    .cookie-content { flex-direction: column; text-align: center; padding: 25px; }
    .cookie-actions { width: 100%; flex-direction: column; }
}
/* =========================================
   14. RESPONSIVE DESIGN & BURGER MENU
========================================= */
/* Burger Icon and Mobile Overlay Hidden by Default */
.burger-menu { display: none; background: transparent; border: none; color: var(--text-main); font-size: 24px; cursor: pointer; margin-left: 10px; transition: 0.3s; }
.burger-menu:hover { color: var(--gold); }

.mobile-overlay { position: fixed; top: 0; right: -100%; width: 100%; height: 100vh; background: rgba(10, 10, 10, 0.98); backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px); z-index: 2000; display: flex; flex-direction: column; justify-content: center; align-items: center; transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1); }
body.light-mode .mobile-overlay { background: rgba(252, 252, 252, 0.98); }
.mobile-overlay.active { right: 0; }

.close-btn { position: absolute; top: 30px; right: 40px; background: transparent; border: none; color: var(--text-main); font-size: 35px; cursor: pointer; transition: 0.3s; }
.close-btn:hover { color: var(--gold); transform: rotate(90deg); }

.mobile-nav { display: flex; flex-direction: column; gap: 30px; text-align: center; }
.mobile-nav a { color: var(--text-main); text-decoration: none; font-size: 24px; font-weight: 800; text-transform: uppercase; transition: 0.3s; }
.mobile-nav a:hover { color: var(--gold); }

/* --- Mobile Breakpoint --- */
@media (max-width: 1000px) {
    /* Hide Desktop Elements, Show Burger */
    .desktop-nav, .desktop-btn { display: none !important; }
    .burger-menu { display: block; }
    .nav-right { gap: 15px; }
    .lang-box { padding-left: 10px !important; }
    .logo img { height: 45px; }
    
    /* Give the screen more breathing room on mobile */
    .container { padding: 0 20px; }
    
    /* Hero Fixes */
    .hero-inner { grid-template-columns: 1fr; gap: 40px; }
    .hero { padding-top: 120px; }
    .hero-content-card { padding: 40px 25px; text-align: center; }
    .display-title { font-size: 2.5rem; }
    .hero-desc { font-size: 1rem; margin-left: auto; margin-right: auto; }
    .hero-actions { justify-content: center; }
    .hero-girl-img { max-height: 400px; margin-top: 30px; }
    
    /* Floating Stats Mobile Adjustments */
    .floating-stat { min-width: 160px; padding: 15px; }
    .stat-title { font-size: 13px; margin-bottom: 20px; }
    .stat-number { font-size: 13px; }
    .stat-left { top: -20px; left: 0; }
    .stat-right { bottom: -20px; right: 0; }
    
    /* Section Padding Fixes */
    .about-section, .global-section, .services-section, .work-section, .why-section { padding: 80px 20px; }
    .about-grid, .why-grid, .global-section { grid-template-columns: 1fr; gap: 40px; text-align: center; }
    .work-grid { grid-template-columns: 1fr; }
    .glass-box { padding: 40px 25px; }
    
    /* Marquee Fixes */
    .keyword-marquee-section { padding: 30px 0; }
    .marquee-track span { font-size: 2rem; padding: 0 20px; }
    .marquee-track .dot { width: 10px; height: 10px; }
    
    /* CTA Banner Fixes */
    .cta-banner-section { padding: 60px 20px; }
    .cta-banner-inner { flex-direction: column; text-align: center; padding: 40px 25px; border-radius: 20px; }
    .cta-text h2 { font-size: 2rem; }
    .btn-cta-white { width: 100%; text-align: center; }
    
    /* Footer Fixes */
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; text-align: left; }
    .footer-brand { grid-column: span 2; text-align: center; margin-bottom: 20px; }
    .social-icons-row { justify-content: center; }
    .footer-bottom-flex { flex-direction: column; gap: 20px; text-align: center; }
}

/* --- Tiny Mobile Breakpoint --- */
@media (max-width: 600px) {
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .hero-actions { flex-direction: column; width: 100%; gap: 10px; }
    .hero-actions a { width: 100%; text-align: center; }
    .contact-item { justify-content: center; }
}