/* ==========================================================================
   MERIT TECHNOLOGY - PREMIUM GLASSMORPHISM & TECH STYLES
   ========================================================================== */

:root {
    --primary-blue: #0A58CA;
    --primary-blue-hover: #084298;
    --navy-dark: #070e1b;
    --navy-light: #0d192e;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.12);
    --text-light-muted: rgba(255, 255, 255, 0.65);
}

body {
    font-family: 'Poppins', sans-serif;
    color: #2b303a;
    background-color: #ffffff;
    overflow-x: hidden;
}

/* Typography & Helpers */
.fw-extrabold { font-weight: 800; }
.tracking-wider { letter-spacing: 1px; }
.fs-7 { font-size: 0.875rem; }
.py-6 { padding-top: 5rem; padding-bottom: 5rem; }
.h-400 { height: 400px; }
.max-w-700 { max-width: 700px; }
.max-w-800 { max-width: 800px; }
.w-auto-fit { width: fit-content; }

/* Colors & Gradients */
.bg-dark-navy { background-color: var(--navy-dark); }
.bg-navy-light { background-color: var(--navy-light); }
.bg-primary-soft { background-color: rgba(10, 88, 202, 0.15); }
.text-primary-light { color: #6ea8fe; }
.text-gradient {
    background: linear-gradient(135deg, #6ea8fe 0%, #0A58CA 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Glassmorphism Elements */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
}
.border-glass { border: 1px solid var(--glass-border) !important; }

/* Custom Navigation */
.top-bar {
    background-color: #040810;
}
.social-links-top a {
    color: var(--text-light-muted);
    transition: color 0.3s ease;
}
.social-links-top a:hover { color: var(--primary-blue-hover); }

#mainNavbar {
    background-color: rgba(7, 14, 27, 0.9);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}
.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.8);
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
}
.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: #ffffff;
    border-bottom: 2px solid var(--primary-blue);
}
.logo-placeholder {
    width: 36px;
    height: 36px;
    background: var(--primary-blue);
    color: #ffffff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, rgba(7,14,27,0.92) 0%, rgba(13,25,46,0.85) 100%),
                url('https://images.unsplash.com/photo-1526374965328-7f61d4dc18c5?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
}
.shadow-blue {
    box-shadow: 0 8px 25px rgba(10, 88, 202, 0.4);
}

/* Animations & Hovers */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.3);
}

.icon-box {
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Tabs UI */
.custom-tabs .nav-link {
    color: #495057;
    border-radius: 50rem;
    padding: 0.5rem 1.25rem;
    font-weight: 500;
}
.custom-tabs .nav-link.active {
    background-color: var(--primary-blue);
    color: #ffffff;
}

/* Portfolio Hover Effects */
.portfolio-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(0deg, rgba(7,14,27,0.9) 0%, rgba(7,14,27,0.2) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.hover-zoom img { transition: transform 0.5s ease; }
.hover-zoom:hover img { transform: scale(1.08); }
.hover-zoom:hover .portfolio-overlay { opacity: 1; }

/* Avatars */
.avatar-ceo {
    width: 280px;
    height: 280px;
    object-fit: cover;
}
.avatar-staff {
    width: 110px;
    height: 110px;
    object-fit: cover;
}

/* Footer Link Hovers */
.footer-links a {
    color: var(--text-light-muted);
    text-decoration: none;
    transition: padding-left 0.3s ease, color 0.3s ease;
    display: inline-block;
    margin-bottom: 0.5rem;
}
.footer-links a:hover {
    color: #ffffff;
    padding-left: 5px;
}
.social-links-footer a {
    color: #ffffff;
    background: rgba(255,255,255,0.1);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}
.social-links-footer a:hover {
    background: var(--primary-blue);
}