/* ================= VARIABLES ================= */
:root {
    /* BRIGHT CORPORATE BLUE PALETTE */
    --bg-dark: #F8FAFC; 
    --bg-panel: #FFFFFF;
    
    /* Standard Corporate Blue (Azure/Royal Blue) */
    --primary: #2563EB;        
    --primary-dark: #1E40AF;
    --primary-light: #EFF6FF;  /* Very light blue for backgrounds */
    
    --accent: #0EA5E9;         /* Sky Blue */
    --accent-glow: rgba(37, 99, 235, 0.4);
    
    --text-main: #0F172A;
    --text-muted: #475569;
    --border: #E2E8F0;
    
    --font-head: 'Space Grotesk', sans-serif;
    --font-body: 'Outfit', sans-serif;
}

/* ================= RESET & GENERAL ================= */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { 
    background-color: var(--bg-dark);
    color: var(--text-main); 
    font-family: var(--font-body); 
    overflow-x: hidden; 
}
h1, h2, h3, h4 { font-family: var(--font-head); color: #0F172A; }
a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ================= UTILITIES ================= */
.btn-primary {
    background: var(--primary);
    color: white; padding: 12px 30px; border-radius: 5px; /* More corporate radius */
    font-weight: 600; border: none; cursor: pointer;
    position: relative; overflow: hidden;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.3);
    transition: 0.3s;
	flex-shrink: 0;
}
.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(37, 99, 235, 0.4);
}
.text-gradient {
    color: var(--primary); /* Replaced gradient with solid corporate blue */
}
.section { padding: 100px 0; }
.bg-white { background: white; }
.bg-gradient-light { background: linear-gradient(180deg, #F1F5F9 0%, #FFFFFF 100%); }

/* Portal Background */
.bg-portal { background: #1e1e24; color: white; }
.bg-portal h2, .bg-portal p, .bg-portal strong { color: white; }

/* ================= NAV (Restored & Optimized for Logo) ================= */
.top-nav {
    position: fixed; 
    top: 0; 
    width: 100%; 
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95); 
    -webkit-backdrop-filter: blur(10px); /* Required for Opera/Safari */
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border); 
    padding: 10px 0;
}

.nav-flex { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    height: 50px; /* Forces a consistent height for the whole bar */
}

.brand-container { 
    display: flex; 
    align-items: center; 
    gap: 15px; /* Space between logo and text */
    height: 100%;
	flex-shrink: 0;
}

.meriye-logo-img { 
    height: 40px; /* Fixed height to match your previous design */
    width: auto; 
    display: block;
    flex-shrink: 0; /* Prevents the logo from being squished */
}

.brand-text { 
    display: flex; 
    flex-direction: column; 
    justify-content: center; /* Centers text vertically against logo */
    line-height: 1.1; 
}

.brand-name { 
    font-family: var(--font-head); 
    font-weight: 700; 
    font-size: 1.2rem; 
    letter-spacing: 1px; 
    color: #0F172A; 
}

.brand-tagline { 
    font-size: 0.7rem; 
    color: var(--text-muted); 
    text-transform: uppercase; 
    letter-spacing: 2px; 
}

.nav-menu { display: flex; gap: 30px; align-items: center; }
.nav-links { display: flex; gap: 25px; }
.nav-links a { font-size: 0.9rem; font-weight: 500; color: var(--text-muted); }
/* ================= HERO ================= */
.hero { padding: 180px 0 100px; position: relative; overflow: visible; background: white; }
.hero-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.badge-container { margin-bottom: 25px; }

/* --- New Animated Badge Logic --- */
.badge-glow {
    background: white;
    border: 1.5px solid var(--border);
    color: var(--text-main);
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    position: relative;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}

/* The Pulsing Dot */
.badge-glow::before {
    content: '';
    width: 6px; height: 6px;
    background: var(--primary);
    border-radius: 50%;
    flex-shrink: 0;
    animation: liveStatus 2s infinite;
}

@keyframes liveStatus {
    0% { box-shadow: 0 0 0 0px rgba(37, 99, 235, 0.5); }
    100% { box-shadow: 0 0 0 8px rgba(37, 99, 235, 0); }
}

/* Hover: Blue Fill */
.badge-glow:hover {
    color: white !important;
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.2);
}

.badge-glow:hover::before { background: white; animation: none; }

/* Light Sweep Animation */
.badge-glow::after {
    content: '';
    position: absolute;
    top: 0; left: -100%; width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: 0.5s;
}

.badge-glow:hover::after { left: 100%; }

.badge-glow i { transition: transform 0.3s ease; color: var(--primary); }
.badge-glow:hover i { color: white !important; animation: iconBounce 0.5s ease; }

@keyframes iconBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}
.hero h1 { font-size: 3.8rem; line-height: 1.1; margin-bottom: 25px; color: #0F172A; }
.hero p { font-size: 1.2rem; color: var(--text-muted); margin-bottom: 40px; max-width: 90%; }

/* Contracts */
.hero-contracts {
    display: flex; gap: 20px; align-items: center; padding: 20px;
    background: white; border-radius: 8px;
    border: 1px solid var(--border);
    max-width: fit-content;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}
.contract-item { display: flex; align-items: center; gap: 15px; font-size: 0.85rem; color: var(--text-main); position: relative;}
.contract-item i { font-size: 1.5rem; color: var(--primary); }
.divider { width: 1px; height: 30px; background: var(--border); }
.c-label { display: block; font-size: 0.65rem; color: #16a34a; text-transform: uppercase; font-weight: 700; }
.status-dot {
    width: 8px; height: 8px; background: #16a34a; border-radius: 50%;
    position: absolute; top: -5px; right: -5px;
}

/* ================= 3D ORBIT MAGIC ================= */
/* Update these in your styles.css */
.orbit-container {
    position: relative; 
    width: 450px; 
    height: 450px; 
    margin: 0 auto; 
    -webkit-transform-style: preserve-3d; /* For Opera/Safari */
    transform-style: preserve-3d; 
    transition: transform 0.8s ease;
}

/* 3D Hover Effect: Tilts and lifts */
.floating-3d:hover {
    transform: translateZ(60px) scale(1.05) rotateX(8deg) rotateY(-6deg);
}

.orbit-center {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) translateZ(20px);
    width: 80px; height: 80px; background: white; color: var(--primary);
    border-radius: 50%; display: flex; justify-content: center; align-items: center;
    font-size: 2rem; box-shadow: 0 10px 20px rgba(37, 99, 235, 0.3); z-index: 10;
}

/* The Filled Circle */
.orbit-fill {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: var(--primary); /* Matching color fill */
    border-radius: 50%;
    transform: translateZ(0px);
}

.orbit-ring {
    width: 100%; 
    height: 100%; 
    position: absolute;
    border: 1px solid var(--primary); 
    border-radius: 50%;
    animation: spin 60s linear infinite;
    -webkit-transform-style: preserve-3d; /* For Opera/Safari */
    transform-style: preserve-3d;
}
.orbit-item {
    position: absolute; display: flex; align-items: center; gap: 10px;
    background: white; border: 1px solid var(--border);
    padding: 10px 18px; border-radius: 30px; color: var(--text-main); 
    font-weight: 600; font-size: 0.85rem; white-space: nowrap;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    animation: counter-spin 60s linear infinite;
    cursor: default; transition: 0.01s ease;
}
.orbit-item i { color: var(--primary); }

/* Orbit Hover Magic: JUST GLOW (No rotation stops) */
.orbit-item:hover { 
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    box-shadow: 0 0 20px var(--accent-glow); /* Just Glow */
    z-index: 100;
}
.orbit-item:hover i { color: white; }

.pos-1 { top: 0; left: 50%; margin-left: -70px; margin-top: -20px; }
.pos-2 { top: 25%; right: 0; margin-right: -40px; }
.pos-3 { bottom: 25%; right: 0; margin-right: -40px; }
.pos-4 { bottom: 0; left: 50%; margin-left: -70px; margin-bottom: -20px; }
.pos-5 { bottom: 25%; left: 0; margin-left: -40px; }
.pos-6 { top: 25%; left: 0; margin-left: -40px; }

@keyframes spin { 100% { transform: rotate(360deg); } }
@keyframes counter-spin { 100% { transform: rotate(-360deg); } }

/* ================= MISSION & VALUES MAGIC ================= */
.mission-statement { font-family: var(--font-head); font-size: 1.8rem; line-height: 1.4; max-width: 900px; margin: 0 auto 30px;  color: var(--text-main); font-style: normal; font-weight: 500; }
.subsection-title { text-align: center; color: var(--primary); margin-bottom: 30px; font-size: 1rem; text-transform: uppercase; letter-spacing: 2px; }
.values-grid { 
    display: grid; 
    grid-template-columns: repeat(3, 1fr); 
    gap: 30px; 
    width: 100%; /* Force full container width */
}

/* Value Cards: FILLED with Standard Color */
.magic-value {
    background: var(--primary-light); /* Standard Light Blue Fill */
    padding: 30px; border-radius: 8px; text-align: center;
    border: 1px solid var(--border);
    transition: all 0.1s ease;
}
.magic-value:hover {
    background: white;
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.15);
    transform: translateY(-5px);
}
.magic-value h3 { color: var(--text-main); margin-bottom: 10px; }
.magic-value:hover h3 { color: var(--primary); }

/* ================= MODELS MAGIC (One Row) ================= */
.section-header { text-align: center; margin-bottom: 60px; }
.models-grid { 
    display: flex; /* Changed from grid to flex for single-row control */
    flex-direction: row;
    gap: 30px; 
    justify-content: center;
    align-items: stretch;
}

/* Models Magic: Slower, Sober movement */
.magic-model {
    flex: 1; /* Makes all 4 cards take equal width */
    background: white; padding: 40px 30px; border-radius: 8px;
    border: 1px solid var(--border); transition: 0.5s ease-in-out; 
    position: relative; overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    min-width: 0; /* Prevents overflow */
}
.magic-model .card-icon { 
    font-size: 2.5rem; color: var(--primary); margin-bottom: 20px; 
    transition: 0.5s ease; 
}
.magic-model h3 { margin-bottom: 15px; font-size: 1.5rem; }
.magic-model ul li { margin-bottom: 10px; color: var(--text-muted); font-size: 0.9rem; list-style-type: disc; margin-left: 20px; }

/* The Sober Magic: Float up + Icon Pulse (No shake/spin) */
.magic-model:hover {
    transform: translateY(-10px); /* Smooth float */
    border-color: var(--primary);
    box-shadow: 0 15px 40px rgba(37, 99, 235, 0.1);
}
.magic-model:hover .card-icon {
    transform: scale(1.1);
    color: var(--primary-dark);
    text-shadow: 0 0 15px rgba(37, 99, 235, 0.3);
}

/* ================= CONTRACT GOVERNANCE (REFINED MAGIC) ================= */
.magic-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.magic-card { 
    background: var(--primary-light); 
    border-radius: 8px; 
    border: 1px solid var(--border); 
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1); 
    padding: 0; 
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.magic-card .content { padding: 30px 20px; text-align: center; position: relative; z-index: 2; }

.magic-card i { 
    font-size: 2rem; 
    color: var(--primary); 
    margin-bottom: 15px; 
    display: inline-block;
    transition: transform 0.4s ease;
}

/* The "Magic" Background reveal */
.magic-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: white;
    transform: translateY(100%); /* Hidden at bottom */
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: -1;
}

.magic-card:hover { 
    transform: translateY(-8px); 
    box-shadow: 0 15px 35px rgba(37, 99, 235, 0.1); 
    border-color: var(--primary); 
}

.magic-card:hover::before {
    transform: translateY(0); /* Slides up to fill the background */
}

.magic-card:hover i { 
    transform: translateY(-5px) scale(1.1); 
    color: var(--primary-dark);
}

/* ================= LEADERSHIP (Corporate Reveal Style) ================= */
#leadership { background: var(--primary-light); }
.leadership-split { 
    display: grid; 
    grid-template-columns: repeat(2, 1fr); /* Explicitly defined columns */
    gap: 40px; 
    margin-bottom: 50px; 
    width: 100%; /* Force full container width */
}
.region-col { background: white; border-radius: 8px; padding: 30px; border: 1px solid var(--border); box-shadow: 0 4px 20px rgba(0,0,0,0.03); }
.eu-col { border-top: 4px solid var(--primary); }
.us-col { border-top: 4px solid #EF4444; }

.col-header { display: flex; align-items: center; gap: 15px; margin-bottom: 30px; padding-bottom: 15px; border-bottom: 1px solid var(--border); }
.leader-row { display: flex; align-items: center; gap: 20px; margin-bottom: 25px; padding: 15px; border-radius: 8px; transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94); }

.leader-img { 
    width: 100px; height: 130px; 
    border-radius: 4px;
    background-size: cover; background-position: center;
    border: 1px solid var(--border); 
    transition: 0.6s ease;
    /* NEW: Professional Depth Effects */
    filter: brightness(0.9) contrast(1.1) blur(0.5px);
    position: relative;
    overflow: hidden;
}

/* Subtle Blue Tint Overlay */
.leader-img::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: var(--primary);
    opacity: 0.1; /* Very slight blue wash */
    transition: 0.5s ease;
}

.leader-info h4 { font-size: 1.1rem; color: var(--text-main); transition: 0.3s; }
.leader-info p { font-size: 0.85rem; color: var(--text-muted); }

/* --- THE NEW PROFESSIONAL REVEAL --- */
.magic-face:hover {
    background: #F1F5F9; /* Subtle shift to off-white */
    box-shadow: inset 4px 0 0 var(--primary); /* Left-side corporate accent line */
}

.magic-face:hover .leader-img {
    filter: brightness(1) contrast(1) blur(0); /* Clears focus */
    transform: translateX(5px); /* Gentle slide-in effect */
    border-color: var(--primary);
    box-shadow: 5px 5px 15px rgba(0,0,0,0.08);
}

.magic-face:hover .leader-img::after {
    opacity: 0; /* Clear the tint */
}

.magic-face:hover .leader-info h4 {
    color: var(--primary);
    transform: translateX(3px);
}

/* 1. The Base Container & Static State */
.leader-linkedin {
    display: inline-flex;
    margin-top: 10px;
    width: 34px;
    height: 34px;
    background: transparent;
    color: var(--primary);
    border: 1.5px solid var(--primary);
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    position: relative;
    z-index: 1;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden; /* Clips the internal slide effect */
}

/* 2. The Constant Radiating Wave */
.leader-linkedin::before {
    content: '';
    position: absolute;
    top: -2px; left: -2px; right: -2px; bottom: -2px;
    border-radius: 50%;
    border: 2px solid var(--primary);
    opacity: 0;
    z-index: -1;
    animation: corporatePulse 2.8s infinite;
}

@keyframes corporatePulse {
    0% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.5); opacity: 0; }
    100% { transform: scale(1); opacity: 0; }
}

/* 3. The Hover Effect: Magnetic Fill */
.leader-linkedin:hover {
    background: var(--primary);
    color: white;
    transform: scale(1.15);
    border-color: var(--primary);
    box-shadow: 0 0 20px var(--accent-glow);
}

/* Stop the wave on hover so the solid glow takes over */
.leader-linkedin:hover::before {
    animation: none;
    opacity: 0;
}

/* 4. The "Slide-Up" Icon Animation */
.leader-linkedin i {
    display: inline-block;
    transition: transform 0.3s ease, opacity 0.2s ease;
}

.leader-linkedin:hover i {
    animation: linkSlideUp 0.4s forwards;
}

@keyframes linkSlideUp {
    0% {
        transform: translateY(0);
        opacity: 1;
    }
    45% {
        transform: translateY(-20px);
        opacity: 0;
    }
    50% {
        transform: translateY(20px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* ================= PORTAL ================= */
.bg-portal .badge-dark { background: rgba(255,255,255,0.1); color: #94A3B8; padding: 5px 10px; border-radius: 4px; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1px; display: inline-block; margin-bottom: 15px; }
.split-layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: center; }
.portal-content p.lead { font-size: 1.1rem; color: #CBD5E1; margin-bottom: 10px; }
.portal-content p { color: #94A3B8; margin-bottom: 30px; }

.usp-list { display: flex; flex-direction: column; gap: 15px; }
.usp-item { display: flex; gap: 20px; align-items: center; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.1); padding: 15px 20px; border-radius: 8px; cursor: pointer; transition: 0.3s; }
.usp-item i { color: var(--primary); font-size: 1.5rem; width: 30px; text-align: center; }
.usp-item strong { color: white; font-size: 1rem; }
.usp-item span { color: #64748B; font-size: 0.85rem; }
.usp-item:hover { background: rgba(255,255,255,0.1); border-color: var(--primary); transform: translateX(10px); }

/* Laptop Mockup */
.laptop-mockup { width: 100%; max-width: 600px; margin: 0 auto; }
.laptop-mockup .screen { background: #0F172A; border-radius: 12px 12px 0 0; border: 12px solid #334155; border-bottom: none; height: 320px; position: relative; overflow: hidden; }
.browser-header { background: #1E293B; height: 30px; display: flex; align-items: center; padding: 0 15px; gap: 15px; }
.dots { display: flex; gap: 5px; }
.dot { width: 8px; height: 8px; border-radius: 50%; }
.red { background: #EF4444; } .yellow { background: #F59E0B; } .green { background: #22C55E; }
.url-bar { background: rgba(255,255,255,0.1); height: 18px; border-radius: 4px; flex-grow: 1; font-size: 0.6rem; color: #94A3B8; display: flex; align-items: center; padding-left: 10px; }
.screen-content { padding: 20px; background: #F1F5F9; height: calc(100% - 30px); opacity: 1; transition: opacity 0.2s ease; }
.keyboard-base { height: 15px; background: #475569; border-radius: 0 0 15px 15px; width: 110%; margin-left: -5%; position: relative; box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.keyboard-base::after { content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 150px; height: 6px; background: #64748B; border-radius: 0 0 6px 6px; }

/* Internal Dashboard */
.dashboard-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.dash-card { background: white; padding: 15px; border-radius: 4px; box-shadow: 0 2px 5px rgba(0,0,0,0.05); }
.dash-card.wide { grid-column: span 2; display: flex; justify-content: space-between; align-items: center; }
.dash-card h5 { color: #64748B; font-size: 0.7rem; text-transform: uppercase; margin-bottom: 5px; }
.dash-card h2 { color: #0F172A; font-size: 1.2rem; }
.dash-graph { grid-column: span 2; height: 60px; background: white; border-radius: 4px; background-image: linear-gradient(180deg, rgba(37, 99, 235, 0.1) 0%, rgba(255,255,255,0) 100%); border-bottom: 2px solid var(--primary); position: relative; }

/* ================= CONTACT & ADDRESSES ================= */
.contact-layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: 50px; }

/* Address Cards: Filled with Color */
.address-card { 
    background: var(--primary-light); /* Filled */
    padding: 25px; border-radius: 8px; margin-bottom: 20px; 
    border: 1px solid var(--border); position: relative; padding-left: 80px; 
    transition: 0.3s;
}
.address-card:hover {
    background: white;
    border-color: var(--primary);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.card-flag { position: absolute; left: 20px; top: 25px; width: 40px; height: 40px; background: white; border-radius: 50%; display: flex; justify-content: center; align-items: center; border: 1px solid var(--border); }
.address-card h4 { margin-bottom: 5px; color: var(--text-main); }
.address-card p { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 10px; }
.address-card a { color: var(--primary); font-weight: 600; }

.glass-form { background: white; padding: 40px; border-radius: 8px; border: 1px solid var(--border); box-shadow: 0 10px 40px rgba(0,0,0,0.05); }
.glass-form h3 { margin-bottom: 20px; color: var(--text-main); }
.input-group { margin-bottom: 20px; }
.input-group label { display: block; font-size: 0.85rem; color: var(--text-muted); margin-bottom: 8px; }
.input-group input, .input-group select, .input-group textarea { width: 100%; background: #F8FAFC; border: 1px solid var(--border); padding: 12px; border-radius: 4px; color: var(--text-main); font-family: inherit; transition: 0.3s; }
.input-group input:focus, .input-group select:focus, .input-group textarea:focus { border-color: var(--primary); outline: none; background: white; }
.input-group textarea { height: 100px; resize: none; }
.full-width { width: 100%; }

/* ================= NEW SOCIAL WIDGET ================= */
footer { text-align: center; color: var(--text-muted); padding: 40px 0; border-top: 1px solid var(--border); font-size: 0.9rem; }

.social-widget { position: fixed; bottom: 30px; right: 30px; z-index: 2000; display: flex; flex-direction: column; align-items: flex-end; }

/* Trigger Button */
.main-trigger {
    width: 60px; height: 60px; border-radius: 50%;
    background: var(--primary); color: white;
    display: flex; justify-content: center; align-items: center;
    font-size: 1.5rem; cursor: pointer;
    box-shadow: 0 5px 20px rgba(37, 99, 235, 0.4);
    position: relative; transition: 0.3s;
}
.pulse-ring { position: absolute; width: 100%; height: 100%; border-radius: 50%; border: 2px solid var(--primary); animation: pulse 2s infinite; opacity: 0; }
@keyframes pulse { 0% { transform: scale(1); opacity: 1; } 100% { transform: scale(1.6); opacity: 0; } }

/* Social Menu (Hidden by default, shown on widget hover) */
.social-menu {
    position: absolute; bottom: 70px; right: 0;
    display: flex; flex-direction: column; gap: 10px;
    opacity: 0; transform: translateY(20px); pointer-events: none;
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Hovering the whole widget reveals the menu */
.social-widget:hover .social-menu {
    opacity: 1; transform: translateY(0); pointer-events: all;
}

.sm-btn {
    display: flex; align-items: center; gap: 10px;
    background: white; padding: 10px 15px; border-radius: 50px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    text-decoration: none; color: var(--text-main);
    font-size: 0.9rem; font-weight: 500;
    transition: 0.3s; border: 1px solid var(--border);
    white-space: nowrap; cursor: pointer;
}
.sm-btn i { font-size: 1.2rem; }
.sm-btn:hover { transform: scale(1.05); }

/* Brand Colors for Icons */
.wa i { color: #25D366; }
.fb i { color: #1877F2; }
.ig i { color: #E1306C; }
.li i { color: #0077B5; }
.ai i { color: var(--primary); }

.ai-chat-window { position: fixed; bottom: 100px; right: 30px; width: 320px; background: white; border-radius: 8px; box-shadow: 0 10px 40px rgba(0,0,0,0.15); overflow: hidden; display: none; z-index: 2000; flex-direction: column; border: 1px solid var(--border); }
.ai-chat-window.active { display: flex; }
.ai-header { background: var(--primary); color: white; padding: 15px; display: flex; justify-content: space-between; font-weight: 600; }
.ai-header button { background: none; border: none; color: white; font-size: 1.2rem; cursor: pointer; }
.ai-body { padding: 20px; height: 250px; background: #f8fafc; overflow-y: auto; color: #333; font-size: 0.9rem; }
.ai-input { display: flex; border-top: 1px solid #e2e8f0; }
.ai-input input { flex-grow: 1; border: none; padding: 15px; outline: none; background: white; color: var(--text-main); }
.ai-input button { background: white; border: none; padding: 0 15px; color: var(--primary); cursor: pointer; }

/* Responsive */
@media (max-width: 992px) {
    .hero-grid, .magic-grid, .leadership-split, .contact-layout, .values-grid, .split-layout { 
        grid-template-columns: 1fr; 
    }
    
    .models-grid { flex-wrap: wrap; }
    .magic-model { flex: 1 1 calc(50% - 30px); } 
    
    .hero-visual { display: none; }
    .hero h1 { font-size: 2.5rem; }
    .nav-menu { 
        display: none; 
        position: absolute; 
        top: 70px; 
        background: white; 
        width: 100%; 
        flex-direction: column; 
        padding: 20px; 
        border-bottom: 1px solid var(--border); 
        left: 0; 
        box-shadow: 0 10px 20px rgba(0,0,0,0.05); 
    }
    .nav-menu.active { display: flex; }
    .hamburger { display: block; }
    .reverse-on-mobile { display: flex; flex-direction: column-reverse; }
    .laptop-mockup { width: 100%; }
}

@media (max-width: 600px) {
    .magic-model { flex: 1 1 100%; }
}
