/*
Theme Name: Emirco Modern
Theme URI: https://emirco.ae
Author: Emirco Tech
Author URI: https://emirco.ae
Description: Modern business services theme with React-like components, dynamic API integration, and High-End Editorial blog styles.
Version: 1.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: emirco-modern
*/

/* ─────────────────────────────────────────────────────────────
   1. IMPORTS & FONTS
───────────────────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@200;300;400;500;600;700&display=swap');
/* Added Cormorant Garamond for Editorial Sections */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap');

/* ─────────────────────────────────────────────────────────────
   2. GLOBAL VARIABLES
───────────────────────────────────────────────────────────── */
:root {
    /* Core Brand Colors */
    --color-bg: #0B1120;       /* Deep Navy */
    --color-paper: #fcfcfc;    /* Off white paper for blog body */
    --color-text: #334155;     /* Slate Gray */
    --color-heading: #0f172a;  /* Darker Slate */
    --color-cyan: #06b6d4;     /* Primary Accent */
    --color-cyan-light: #67e8f9;
    --color-cyan-dark: #0e7490;

    /* Typography */
    --font-sans: 'Outfit', sans-serif;
    --font-serif: 'Cormorant Garamond', serif;

    /* Spacing */
    --spacing-md: 48px;
    --spacing-lg: 80px;
}

/* ─────────────────────────────────────────────────────────────
   3. GLOBAL RESET & BASE STYLES
───────────────────────────────────────────────────────────── */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-sans);
    background-color: #ffffff;
    color: var(--color-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    line-height: 1.5;
}

/* ─────────────────────────────────────────────────────────────
   4. UTILITY CLASSES
───────────────────────────────────────────────────────────── */
.font-outfit { font-family: var(--font-sans); }
.font-serif { font-family: var(--font-serif); }

/* Selection Color */
::selection { background-color: var(--color-bg); color: white; }
::-moz-selection { background-color: var(--color-bg); color: white; }

/* Backgrounds */
.bg-white { background-color: #ffffff; }
.bg-hero-dark { background-color: var(--color-bg); }
.bg-noise {
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
    background-repeat: repeat;
}

/* Text Utilities */
.text-cyan { color: var(--color-cyan); }
.bg-cyan { background-color: var(--color-cyan); }
.border-cyan { border-color: var(--color-cyan); }

.text-shadow-sm { text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); }
.gradient-overlay { background: linear-gradient(to top, var(--color-bg), rgba(11, 17, 32, 0.3), transparent); }

.hero-gradient-text {
    background: linear-gradient(to right, white, white, rgba(255, 255, 255, 0.6));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Transitions */
.transition-smooth { transition: all 0.3s ease-in-out; }
.backdrop-blur { backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.will-change-transform { will-change: transform; }

/* ─────────────────────────────────────────────────────────────
   5. LAYOUT & CONTAINERS
───────────────────────────────────────────────────────────── */
#hero-root { width: 100%; min-height: 100vh; }

.container-hero {
    width: 100%; max-width: 1400px; margin: 0 auto; padding: 0 1.5rem;
}
@media (min-width: 768px) { .container-hero { padding: 0 3rem; } }
@media (min-width: 1024px) { .container-hero { padding: 0 4rem; } }

/* ─────────────────────────────────────────────────────────────
   6. COMPONENT STYLES (UI ELEMENTS)
───────────────────────────────────────────────────────────── */

/* --- Buttons --- */
.btn-primary {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px); color: white;
    padding: 0.625rem 2rem; border-radius: 9999px;
    font-size: 0.625rem; font-weight: 500; letter-spacing: 0.2em;
    text-transform: uppercase; border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer; transition: all 0.3s ease;
}
.btn-primary:hover { background-color: white; color: var(--color-bg); }

.btn-cta {
    width: 9rem; height: 9rem; background-color: white;
    border-radius: 9999px; display: flex; align-items: center; justify-content: center;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5); cursor: pointer;
    position: relative; overflow: hidden; transition: transform 0.2s ease;
}
.btn-cta:hover { transform: scale(1.05); }
@media (min-width: 768px) { .btn-cta { width: 11rem; height: 11rem; } }

.btn-cta-hover {
    position: absolute; inset: 0; background-color: var(--color-cyan);
    transform: translateY(100%); transition: transform 0.5s ease-in-out;
}
.btn-cta:hover .btn-cta-hover { transform: translateY(0); }

/* --- Navigation & Links --- */
.nav-link {
    position: relative; font-size: 0.6875rem; font-weight: 500;
    letter-spacing: 0.2em; color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase; transition: color 0.3s ease;
}
.nav-link:hover { color: white; }
.nav-link::after {
    content: ''; position: absolute; bottom: -0.25rem; left: 0; width: 0;
    height: 1px; background-color: var(--color-cyan); transition: width 0.3s ease;
}
.nav-link:hover::after { width: 100%; }

/* --- Hero Typography --- */
.hero-title {
    font-size: 2.5rem; font-weight: 300; color: white;
    line-height: 0.95; letter-spacing: -0.02em;
}
@media (min-width: 768px) { .hero-title { font-size: 3.75rem; } }
@media (min-width: 1024px) { .hero-title { font-size: 4.5rem; } }
@media (min-width: 1280px) { .hero-title { font-size: 6rem; } }

.hero-description {
    font-size: 1.125rem; color: rgba(255, 255, 255, 0.7);
    line-height: 1.75; font-weight: 300;
}

/* --- Stats --- */
.stats-number { font-size: 2.5rem; font-weight: 300; color: white; }
.stats-label {
    font-size: 0.5625rem; color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase; letter-spacing: 0.25em;
    border-top: 1px solid rgba(255, 255, 255, 0.1); padding-top: 0.75rem;
}

/* --- Images & Shapes --- */
.rounded-hero { border-radius: 2rem; }
.shadow-hero { box-shadow: 0 25px 50px -12px rgba(148, 163, 184, 0.25); }
.z-background { z-index: 0; } .z-content { z-index: 10; } .z-nav { z-index: 40; }

/* ─────────────────────────────────────────────────────────────
   7. PREMIUM GLASS MORPH NAV (Sticky Logic)
───────────────────────────────────────────────────────────── */
#main-nav {
    transition: width 0.6s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.6s cubic-bezier(0.22, 1, 0.36, 1),
        top 0.6s cubic-bezier(0.22, 1, 0.36, 1),
        background 0.6s ease, padding 0.6s ease, border-radius 0.6s ease;
    will-change: transform, width, background;
}

/* Stage 1: Full Width Sticky (Updated to be TRANSPARENT for blend) */
.nav-sticky-base {
    position: fixed !important; top: 0; left: 0; right: 0; width: 100%;
    /* Transparent background to blend with hero image */
    background: transparent; 
    /* Linear gradient at top to make white text readable over any image */
    background: linear-gradient(to bottom, rgba(0,0,0,0.4) 0%, transparent 100%);
    padding: 1.5rem 3rem !important; z-index: 100;
    backdrop-filter: none; border-bottom: none;
}

/* Stage 2: Glass Pill (Triggered on scroll) */
.nav-morph-pill {
    top: 1.5rem !important; left: 50% !important; right: auto !important;
    transform: translateX(-50%) !important; width: 85% !important; max-width: 1000px !important;
    border-radius: 9999px !important;
    background: linear-gradient(135deg, rgba(11, 17, 32, 0.85) 0%, rgba(14, 116, 144, 0.75) 100%) !important;
    backdrop-filter: blur(20px) saturate(180%) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.25) !important;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.25) !important;
    padding: 0.75rem 2rem !important;
}

.nav-morph-pill .nav-link { color: rgba(255, 255, 255, 0.9); font-size: 0.75rem; }
.nav-morph-pill button {
    background: white !important; color: var(--color-cyan-dark) !important;
    padding: 0.5rem 1.75rem !important; border: none !important;
}
.hide-logo-tab { opacity: 0; transform: translate(-50%, -100%) !important; pointer-events: none; }

/* ─────────────────────────────────────────────────────────────
   8. ANIMATIONS & BENTO GRID
───────────────────────────────────────────────────────────── */
.stagger-container > * { opacity: 0; transform: translateY(20px); transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.stagger-container.visible > * { opacity: 1; transform: translateY(0); }

/* Bento Card */
.bento-card {
    opacity: 0; transform: translateY(30px); background: var(--color-bg);
    border: 1px solid rgba(255, 255, 255, 0.08); overflow: hidden;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.bento-card.visible { opacity: 1; transform: translateY(0); }
.bento-card:hover {
    transform: translateY(-4px) scale(1.005); border-color: rgba(14, 116, 144, 0.4);
}

.bento-bg-layer {
    position: absolute; inset: 0; opacity: 0.85; filter: grayscale(30%) contrast(100%);
    transition: all 1.2s ease;
}
.bento-card:hover .bento-bg-layer { opacity: 1; transform: scale(1.05); filter: grayscale(0%); }

.bento-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to bottom, rgba(11, 17, 32, 0.1) 0%, rgba(11, 17, 32, 0.9) 100%);
    z-index: 1;
}

.decorative-line {
    width: 24px; height: 1px; background-color: var(--color-cyan-dark); margin-bottom: 24px;
    transition: width 0.6s ease; opacity: 0.9;
}
.bento-card:hover .decorative-line { width: 60px; }
.bento-content { position: relative; z-index: 10; height: 100%; display: flex; flex-direction: column; justify-content: space-between; }

/* ─────────────────────────────────────────────────────────────
   9. HIGH-END EDITORIAL BLOG STYLES
───────────────────────────────────────────────────────────── */

/* Wrapper & Hero */
.editorial-wrapper {
    font-family: var(--font-sans); background: var(--color-bg);
    color: var(--color-text); -webkit-font-smoothing: antialiased;
}
.scroll-line {
    position: fixed; top: 0; left: 0; height: 4px;
    background: linear-gradient(90deg, var(--color-cyan), #22d3ee);
    width: 0%; z-index: 9999;
}

.editorial-hero {
    position: relative; height: 100vh; min-height: 600px;
    display: flex; align-items: center; justify-content: center;
    text-align: center; overflow: hidden; z-index: 1;
}
.hero-bg-parallax {
    position: fixed; top: 0; left: 0; width: 100%; height: 100vh;
    background-size: cover; background-position: center;
    z-index: -1; will-change: transform;
}

/* NEW: Seamless Gradient Overlay (Dark Blue from Bottom) */
.hero-overlay-gradient {
    position: absolute; inset: 0;
    /* Gradient 1: Dark from bottom (Text Readability) */
    /* Gradient 2: Slight dark from top (Nav Readability) */
    background: 
        linear-gradient(to top, #0B1120 0%, rgba(11, 17, 32, 0.8) 15%, transparent 60%),
        linear-gradient(to bottom, rgba(11, 17, 32, 0.5) 0%, transparent 20%);
    z-index: 1;
    pointer-events: none;
}

.hero-content { position: relative; z-index: 10; max-width: 1100px; padding: 0 32px; color: #fff; }

.meta-line {
    display: inline-flex; align-items: center; gap: 16px; margin-bottom: 32px;
    /* Subtler glass effect for the pill */
    background: rgba(255,255,255,0.03); padding: 8px 24px; border-radius: 100px;
    backdrop-filter: blur(5px); border: 1px solid rgba(255,255,255,0.1);
}
.meta-tag { color: var(--color-cyan); font-weight: 700; font-size: 12px; letter-spacing: 0.15em; text-transform: uppercase; }
.meta-divider { width: 1px; height: 14px; background: rgba(255,255,255,0.3); }
.meta-date { font-size: 12px; letter-spacing: 0.1em; color: rgba(255,255,255,0.8); text-transform: uppercase; }

.hero-title {
    font-family: var(--font-serif); font-size: clamp(48px, 6vw, 100px);
    line-height: 1.05; font-weight: 400; margin-bottom: 48px;
    text-shadow: 0 10px 40px rgba(0,0,0,0.5); /* Stronger shadow for blend */
}

.hero-author { display: inline-flex; align-items: center; gap: 16px; text-align: left; }
.author-img-wrap img { width: 60px; height: 60px; border-radius: 50%; border: 2px solid rgba(255,255,255,0.2); }
.author-details { display: flex; flex-direction: column; }
.byline { font-size: 11px; text-transform: uppercase; letter-spacing: 0.2em; color: rgba(255,255,255,0.6); margin-bottom: 4px; }
.author-name { font-size: 16px; font-weight: 500; color: #fff; letter-spacing: 0.02em; }

.scroll-down {
    position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; gap: 12px;
    color: rgba(255,255,255,0.6); font-size: 11px; text-transform: uppercase; letter-spacing: 0.2em; z-index: 10;
}
.mouse-icon {
    width: 20px; height: 32px; border: 1px solid rgba(255,255,255,0.4); border-radius: 20px;
    display: flex; justify-content: center; padding-top: 6px;
}
.wheel { width: 2px; height: 6px; background: #fff; border-radius: 2px; animation: scrollWheel 2s infinite; }
@keyframes scrollWheel { 0% { opacity: 1; transform: translateY(0); } 100% { opacity: 0; transform: translateY(10px); } }

/* Editorial Body */
.editorial-body {
    position: relative; z-index: 10; background: var(--color-paper);
    padding: 100px 24px 140px; 
    /* Blend the transition from hero to body */
    border-radius: 0; /* Removed rounding for cleaner "magazine" scroll */
    box-shadow: 0 -20px 50px rgba(0,0,0,0.2);
}
.editorial-grid {
    max-width: 1200px; margin: 0 auto; display: grid;
    grid-template-columns: 1fr; gap: 60px;
}
@media (min-width: 1024px) {
    .editorial-grid { grid-template-columns: 200px 1fr 200px; }
}

/* Sidebar */
.editorial-sidebar { display: none; }
@media (min-width: 1024px) { .editorial-sidebar { display: block; grid-column: 1; } }
.sticky-wrapper { position: sticky; top: 120px; display: flex; flex-direction: column; gap: 20px; align-items: center; }
.share-label { writing-mode: vertical-rl; text-orientation: mixed; transform: rotate(180deg); font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase; color: #94a3b8; margin-bottom: 12px; }
.share-btn {
    width: 44px; height: 44px; border-radius: 50%; border: 1px solid #cbd5e1;
    display: flex; align-items: center; justify-content: center;
    color: var(--color-heading); transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.share-btn:hover { background: var(--color-heading); color: #fff; border-color: var(--color-heading); transform: scale(1.1); }
.share-btn svg { width: 18px; height: 18px; }

/* Editorial Content Typography */
.editorial-content { grid-column: 1 / -1; max-width: 740px; margin: 0 auto; }
@media (min-width: 1024px) { .editorial-content { grid-column: 2; margin: 0; } }

.block-content p {
    font-size: 19px; line-height: 1.85; color: var(--color-text);
    margin-bottom: 32px; font-weight: 300;
}
/* Drop Cap */
.block-content > p:first-of-type::first-letter {
    float: left; font-family: var(--font-serif); font-size: 90px;
    line-height: 0.8; font-weight: 700; color: var(--color-heading);
    margin-right: 20px; margin-top: 6px;
}
.block-content h2, .block-content h3 {
    font-family: var(--font-serif); color: var(--color-heading);
    margin-top: var(--spacing-md); margin-bottom: 24px;
}
.block-content h2 { font-size: 42px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.2; }

/* ─────────────────────────────────────────────────────────────
   10. QUOTE BLOCKS: "THE SERENITY CARD" (Container Safe)
───────────────────────────────────────────────────────────── */

/* Reset WordPress Defaults */
.block-content blockquote {
    margin: 0; padding: 0; border: none; background: transparent; clear: both;
}

/* Apply Serenity Style Globally to Blockquotes */
.quote-style-serenity,
.block-content blockquote {
    /* Container Logic */
    position: relative;
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    padding: 60px 40px; 
    margin: 60px 0;
    border-radius: 16px;
    text-align: center;
    overflow: hidden; /* Ensures nothing cuts off visually */
    
    /* Border & Shadow */
    border: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 
        0 4px 6px -1px rgba(0, 0, 0, 0.02), 
        0 10px 15px -3px rgba(0, 0, 0, 0.02);
    
    /* Animation */
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), 
                box-shadow 0.3s ease, border-color 0.3s ease;
}

.quote-style-serenity:hover,
.block-content blockquote:hover {
    transform: translateY(-4px);
    border-color: var(--color-cyan);
    box-shadow: 
        0 20px 25px -5px rgba(0, 0, 0, 0.05), 
        0 8px 10px -6px rgba(0, 0, 0, 0.01);
}

/* Quote Icon (Inline Block - Safe from clipping) */
.quote-style-serenity::before,
.block-content blockquote::before {
    content: '”';
    display: block; 
    font-family: var(--font-serif);
    font-size: 80px;
    line-height: 0.5;
    color: var(--color-cyan);
    opacity: 0.3;
    margin-bottom: 24px;
}

/* The Quote Text */
.quote-style-serenity p,
.block-content blockquote p {
    font-family: var(--font-serif);
    font-size: 28px;
    font-weight: 400;
    line-height: 1.4;
    font-style: italic;
    color: var(--color-heading);
    margin-bottom: 32px;
}

/* The Author Name */
.quote-style-serenity cite,
.block-content blockquote cite {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #64748b;
    font-style: normal;
    position: relative;
    padding-top: 20px;
}

.quote-style-serenity cite::before,
.block-content blockquote cite::before {
    content: '';
    position: absolute; top: 0; left: 50%;
    transform: translateX(-50%);
    width: 40px; height: 2px;
    background-color: var(--color-cyan);
    border-radius: 2px;
}

/* ─────────────────────────────────────────────────────────────
   11. NEXT ARTICLE NAVIGATOR
───────────────────────────────────────────────────────────── */
.next-article-nav {
    display: block; position: relative; height: 400px; overflow: hidden;
    text-decoration: none; display: flex; align-items: center; justify-content: center;
    background: #000; color: #fff; text-align: center;
}
.next-bg {
    position: absolute; inset: 0; background-size: cover; background-position: center;
    opacity: 0.4; transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.next-article-nav:hover .next-bg { transform: scale(1.05); opacity: 0.6; }
.next-content { position: relative; z-index: 10; padding: 0 20px; }
.next-label { font-size: 12px; text-transform: uppercase; letter-spacing: 0.3em; margin-bottom: 20px; color: var(--color-cyan); }
.next-title { font-family: var(--font-serif); font-size: 56px; font-weight: 400; margin-bottom: 30px; line-height: 1.1; }
.next-btn {
    display: inline-block; border: 1px solid rgba(255,255,255,0.3); padding: 12px 32px;
    font-size: 12px; text-transform: uppercase; letter-spacing: 0.2em; transition: 0.3s;
}
.next-article-nav:hover .next-btn { background: #fff; color: #000; border-color: #fff; }

/* ─────────────────────────────────────────────────────────────
   12. RESPONSIVE UTILITIES
───────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
    .editorial-body { padding: 60px 20px; }
    .quote-style-serenity p, .block-content blockquote p { font-size: 22px; }
    .hero-title { font-size: 3rem; }
    .next-title { font-size: 32px; }
}

/* Animation Utility */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: translateY(0); } }
.fade-in-up { animation: fadeInUp 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards; opacity: 0; }
/* ─────────────────────────────────────────────────────────────
   13. FOOTER STYLES (REFINED ALIGNMENT)
───────────────────────────────────────────────────────────── */
.emirco-footer {
    background-color: var(--color-bg); 
    position: relative;
    overflow: hidden;
    color: #F8FAFC;
    font-family: var(--font-sans);
    border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 24px 40px; 
    position: relative;
    z-index: 10;
}

/* --- Brand Section: Mobile Default (Centered) --- */
.footer-brand {
    grid-column: 1 / -1; 
    display: flex;
    flex-direction: column;
    align-items: center; 
    text-align: center;
    margin-bottom: 40px;
}

.brand-logo-wrap {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.footer-logo {
    height: 30px; 
    width: auto;
    filter: brightness(1.05);
}

.brand-description {
    font-size: 12px;
    line-height: 1.8;
    color: #94A3B8; 
    max-width: 320px;
    margin: 0 auto;
    font-weight: 300;
}

/* --- Navigation Grid: Mobile Default --- */
.footer-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); 
    gap: 30px;
    margin-bottom: 40px;
}

.footer-col h3 {
    font-size: 9px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #FFFFFF;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-col h3::before {
    content: '';
    width: 12px;
    height: 1px;
    background-color: var(--color-cyan);
}

.footer-links li { list-style: none; margin-bottom: 10px; }
.footer-links a { color: #94A3B8; text-decoration: none; font-size: 11px; font-weight: 300; transition: 0.3s; }
.footer-links a:hover { color: #FFFFFF; transform: translateX(3px); }

/* --- Reach Us: Mobile Default --- */
.footer-grid > .footer-col:last-child {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center; 
    margin-top: 20px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    width: 100%;
    max-width: 300px;
    margin-bottom: 20px;
}

.icon-svg {
    width: 18px;
    height: 18px;
    stroke: var(--color-cyan);
    stroke-width: 1.5;
    fill: none;
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-text a, .contact-text p {
    font-size: 12px;
    color: #94A3B8;
    margin: 0;
    line-height: 1.6;
    text-align: left;
    font-weight: 300;
    text-decoration: none;
}

/* --- Bottom Row --- */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.copyright p { font-size: 9px; text-transform: uppercase; letter-spacing: 0.1em; color: #475569; }
.social-links { display: flex; gap: 12px; }

.social-link {
    width: 38px; height: 38px; border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex; align-items: center; justify-content: center;
    color: #94A3B8; transition: 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.social-link:hover { background: #FFFFFF; color: var(--color-bg); transform: translateY(-3px); }
.social-link svg { width: 14px; height: 14px; fill: currentColor; }

/* ─────────────────────────────────────────────────────────────
   DESKTOP RESTORATION (1024px+)
───────────────────────────────────────────────────────────── */
@media(min-width: 1024px) {
    .footer-container { padding: 100px 60px 60px; }

    /* Layout: Branding on Left (2fr), Links/Contact pushed Right (1fr each) */
    .footer-grid { 
        grid-template-columns: 2fr 1fr 1fr 1.2fr; 
        gap: 60px; 
        margin-bottom: 80px;
    }

    .footer-brand { 
        grid-column: auto; 
        align-items: flex-start; 
        text-align: left; 
        margin-bottom: 0; 
    }
    
    .brand-logo-wrap { justify-content: flex-start; }
    .footer-logo { height: 48px; }
    .brand-description { margin: 0; text-align: left; max-width: 300px; }

    /* Align Reach Us to the far right column */
    .footer-grid > .footer-col:last-child { 
        grid-column: auto; 
        align-items: flex-start; 
        margin-top: 0; 
    }

    .footer-bottom { 
        flex-direction: row; 
        justify-content: space-between; 
        align-items: center;
    }
}
/* ─────────────────────────────────────────────────────────────
   MOBILE BURGER MENU REFINEMENT
───────────────────────────────────────────────────────────── */

/* Target the mobile toggle button */
.mobile-toggle, #univ-mobile-btn, #mobile-menu-btn {
    background: transparent !important;
    border: none !important;
    color: #ffffff !important; /* Forces the burger to be pure white */
    padding: 8px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, opacity 0.3s ease;
    cursor: pointer;
    outline: none !important;
    -webkit-tap-highlight-color: transparent;
}

/* Ensure the SVG lines inside are white and crisp */
.mobile-toggle svg, #univ-mobile-btn svg, #mobile-menu-btn svg {
    stroke: #ffffff !important;
    width: 28px; /* High-end sizing */
    height: 28px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2)); /* Adds depth on light backgrounds */
}

/* Tactile interaction effect */
.mobile-toggle:active, #univ-mobile-btn:active, #mobile-menu-btn:active {
    transform: scale(0.9);
    opacity: 0.7;
}

/* Ensure it stays white even inside the glass pill nav */
.nav-morph-pill .mobile-toggle, 
.universal-nav .mobile-toggle {
    color: #ffffff !important;
}