/* =============================================================
   BRILLIANCE TECHNOLOGIES — Global Design System
   Applies to all inner pages: about.html, service.html, contact.html
============================================================= */

:root {
    --primary: #0D9488;
    --primary-dark: #0F766E;
    --primary-light: #14B8A6;
    --accent: #F59E0B;
    --accent-dark: #D97706;
    --dark: #0B1628;
    --dark-2: #111C35;
    --dark-3: #1A2744;
    --text-light: #94A3B8;
    --text-muted: #64748B;
    --white: #FFFFFF;
    --bg-light: #F0FDFA;
    --bg-gray: #F8FFFD;
    --border: #CCFBF1;
    --success: #10B981;
    --gradient-1: linear-gradient(135deg, #0D9488 0%, #0F766E 100%);
    --gradient-2: linear-gradient(135deg, #F59E0B 0%, #EF4444 100%);
    --shadow-sm: 0 4px 6px -1px rgba(13, 148, 136, 0.1);
    --shadow-md: 0 10px 25px -5px rgba(13, 148, 136, 0.15);
    --shadow-lg: 0 25px 50px -12px rgba(13, 148, 136, 0.2);
    --radius: 12px;
    --radius-lg: 20px;
}

*, *::before, *::after { box-sizing: border-box; }

body {
    font-family: 'Inter', sans-serif;
    color: #1E293B;
    background: var(--white);
    overflow-x: hidden;
    line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    line-height: 1.25;
}

/* ─── SPINNER ─── */
#spinner {
    opacity: 0; visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}
#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible; opacity: 1;
}

/* ─── TOP BAR ─── */
.bt-top-bar {
    background: var(--dark);
    padding: 10px 0;
    font-size: 13px;
}
.bt-top-bar .contact-info {
    display: flex; align-items: center; gap: 24px; color: var(--text-light);
}
.bt-top-bar .contact-info a {
    color: var(--text-light); text-decoration: none; transition: color .3s;
    display: flex; align-items: center; gap: 6px;
}
.bt-top-bar .contact-info a:hover { color: var(--accent); }
.bt-top-bar .contact-info i { color: var(--accent); }
.bt-top-bar .badge-flag {
    background: rgba(245,158,11,0.15); color: var(--accent);
    border: 1px solid rgba(245,158,11,0.3); padding: 3px 10px;
    border-radius: 20px; font-size: 12px; font-weight: 600;
}

/* ─── NAVBAR ─── */
.bt-navbar {
    background: var(--white);
    padding: 16px 0;
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
    position: sticky; top: 0; z-index: 1000;
    transition: all .3s;
}
.bt-navbar.scrolled { padding: 10px 0; box-shadow: 0 4px 30px rgba(0,0,0,0.12); }
.brand-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-icon {
    width: 44px; height: 44px;
    background: var(--gradient-1);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.brand-icon i { color: white; font-size: 20px; }
.brand-name { line-height: 1.1; }
.brand-name .bt1 { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: 20px; color: var(--dark); }
.brand-name .bt2 { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: 20px; color: #0D9488; }
.brand-name .bt3 { display: block; font-size: 11px; color: var(--text-muted); font-weight: 500; letter-spacing: 0.5px; }

.bt-navbar .nav-link {
    font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 600; font-size: 15px;
    color: #334155 !important; padding: 8px 16px !important;
    border-radius: 8px; transition: all .3s;
}
.bt-navbar .nav-link:hover, .bt-navbar .nav-link.active {
    color: var(--primary) !important; background: var(--bg-light);
}
.btn-nav-cta {
    background: var(--gradient-1);
    color: white !important; border-radius: 8px !important;
    padding: 10px 24px !important; font-weight: 600 !important;
    font-size: 14px !important; transition: all .3s !important;
    box-shadow: 0 4px 15px rgba(13, 148, 136, 0.3);
}
.btn-nav-cta:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(13, 148, 136, 0.4) !important; }

/* ─── PAGE HERO BANNER ─── */
.page-hero {
    background: var(--dark);
    position: relative; overflow: hidden;
    padding: 70px 0;
}
.page-hero::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(135deg, #0B1628 0%, #0F766E 60%, #0D9488 100%);
}
.page-hero::after {
    content: ''; position: absolute; inset: 0;
    background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 50px 50px;
}
.page-hero .content { position: relative; z-index: 1; }
.page-hero h1 { color: white; font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 12px; }
.page-hero .breadcrumb { background: none; margin: 0; padding: 0; }
.page-hero .breadcrumb-item { color: rgba(255,255,255,0.6); font-size: 14px; }
.page-hero .breadcrumb-item.active { color: var(--accent); }
.page-hero .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.4); }
.page-hero .breadcrumb-item a { color: rgba(255,255,255,0.7); text-decoration: none; }
.page-hero .breadcrumb-item a:hover { color: var(--accent); }

/* ─── SECTION HELPERS ─── */
.section-label {
    display: inline-flex; align-items: center; gap: 8px;
    color: var(--primary); font-weight: 700; font-size: 13px;
    letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 14px;
}
.section-label::before { content: ''; width: 20px; height: 3px; background: var(--accent); border-radius: 2px; }
.section-title { font-size: clamp(1.8rem, 3.5vw, 2.5rem); color: var(--dark); margin-bottom: 16px; }
.section-desc { font-size: 16px; color: var(--text-muted); max-width: 600px; margin: 0 auto; line-height: 1.8; }

/* ─── SERVICE CARDS ─── */
.service-card {
    background: var(--white); border-radius: var(--radius-lg); padding: 32px 28px;
    height: 100%; border: 1px solid var(--border);
    transition: all .4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative; overflow: hidden;
}
.service-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0;
    height: 4px; background: var(--gradient-1); opacity: 0; transition: opacity .3s;
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card:hover::before { opacity: 1; }
.service-icon-wrap {
    width: 64px; height: 64px; border-radius: var(--radius);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 20px; font-size: 26px; transition: all .3s;
}
.service-card:hover .service-icon-wrap { transform: scale(1.1) rotate(5deg); }
.si-blue { background: rgba(27,79,216,0.1); color: var(--primary); }
.si-amber { background: rgba(245,158,11,0.1); color: var(--accent-dark); }
.si-green { background: rgba(16,185,129,0.1); color: var(--success); }
.si-purple { background: rgba(139,92,246,0.1); color: #7C3AED; }
.si-red { background: rgba(239,68,68,0.1); color: #DC2626; }
.si-teal { background: rgba(20,184,166,0.1); color: #0D9488; }
.service-card h4 { font-size: 18px; color: var(--dark); margin-bottom: 12px; }
.service-card p { font-size: 14px; color: var(--text-muted); line-height: 1.7; margin-bottom: 20px; }
.service-link {
    display: inline-flex; align-items: center; gap: 6px;
    color: var(--primary); font-weight: 600; font-size: 14px;
    text-decoration: none; transition: gap .3s;
}
.service-link:hover { gap: 10px; color: var(--primary-dark); }

/* ─── FOOTER ─── */
.bt-footer { background: var(--dark); padding: 70px 0 30px; color: rgba(255,255,255,0.7); }
.footer-brand .brand-desc { font-size: 14px; line-height: 1.8; color: rgba(255,255,255,0.55); margin: 16px 0 24px; }
.footer-heading { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 14px; font-weight: 700; color: white; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 20px; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: rgba(255,255,255,0.55); text-decoration: none; font-size: 14px; transition: all .3s; display: flex; align-items: center; gap: 8px; }
.footer-links a:hover { color: var(--accent); padding-left: 4px; }
.footer-links a i { font-size: 10px; }
.footer-contact-item { display: flex; gap: 12px; margin-bottom: 14px; font-size: 14px; color: rgba(255,255,255,0.55); }
.footer-contact-item i { color: var(--accent); margin-top: 2px; flex-shrink: 0; }
.footer-contact-item a { color: rgba(255,255,255,0.55); text-decoration: none; }
.footer-contact-item a:hover { color: var(--accent); }
.footer-divider { border-color: rgba(255,255,255,0.1); margin: 40px 0 24px; }
.footer-bottom { font-size: 13px; color: rgba(255,255,255,0.4); }
.footer-bottom a { color: var(--accent); text-decoration: none; }
.footer-badge { display: inline-flex; align-items: center; gap: 6px; background: rgba(245,158,11,0.1); border: 1px solid rgba(245,158,11,0.2); color: var(--accent); padding: 4px 12px; border-radius: 20px; font-size: 12px; font-weight: 600; }
.social-btn { width: 42px; height: 42px; background: rgba(255,255,255,0.1); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: white; text-decoration: none; transition: all .3s; font-size: 16px; }
.social-btn:hover { background: var(--accent); color: var(--dark); transform: translateY(-4px); }

/* ─── BACK TO TOP ─── */
.back-to-top {
    position: fixed; width: 48px; height: 48px; right: 28px; bottom: 28px;
    background: var(--gradient-1); border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    color: white; text-decoration: none; font-size: 18px;
    box-shadow: var(--shadow-md); transition: all .3s;
    z-index: 99; opacity: 0; pointer-events: none;
}
.back-to-top.visible { opacity: 1; pointer-events: all; }
.back-to-top:hover { transform: translateY(-4px); color: white; box-shadow: var(--shadow-lg); }

/* ─── BUTTONS ─── */
.btn-primary-bt {
    background: var(--gradient-1); color: white; font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700; padding: 14px 32px; border-radius: var(--radius);
    border: none; font-size: 15px; text-decoration: none;
    display: inline-flex; align-items: center; gap: 8px;
    transition: all .3s; box-shadow: var(--shadow-md);
}
.btn-primary-bt:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); color: white; }
.btn-outline-bt {
    background: transparent; color: var(--primary); font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600; padding: 14px 32px; border-radius: var(--radius);
    border: 2px solid var(--primary); font-size: 15px; text-decoration: none;
    display: inline-flex; align-items: center; gap: 8px; transition: all .3s;
}
.btn-outline-bt:hover { background: var(--primary); color: white; transform: translateY(-2px); }

/* ─── RESPONSIVE ─── */
@media (max-width: 991px) { .page-hero { padding: 50px 0; } }
@media (max-width: 767px) { .page-hero { padding: 40px 0; } }
