/* =========================================
   1. CORE SETTINGS & VARIABLES
   ========================================= */
   :root {
    --primary-color: #f0a500;
    --primary-dark: #b87e00;
    --primary-glow: rgba(240, 165, 0, 0.5);
    --bg-dark: #0a0a0a;
    --bg-panel: #141414;
    --bg-card: rgba(30, 30, 30, 0.6);
    --text-white: #ffffff;
    --font-main: 'Montserrat', sans-serif;
    --font-heading: 'Oswald', sans-serif;
    --font-mono: 'Roboto Mono', monospace;
    --transition-fast: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; overflow-x: hidden; }
body {
    font-family: var(--font-main); background-color: var(--bg-dark); color: var(--text-white); overflow-x: hidden; line-height: 1.7;
}

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #111; }
::-webkit-scrollbar-thumb { background: #333; border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary-color); }

/* =========================================
   2. ANIMATIONS
   ========================================= */
.reveal-fade-up { opacity: 0; transform: translateY(50px); transition: all 0.8s ease-out; }
.reveal-fade-up.active { opacity: 1; transform: translateY(0); }
.reveal-scale-up { opacity: 0; transform: scale(0.9); transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1); }
.reveal-scale-up.active { opacity: 1; transform: scale(1); }
.reveal-stagger { opacity: 0; transform: translateY(30px); transition: all 0.6s ease-out; }
.reveal-stagger.active { opacity: 1; transform: translateY(0); }

/* =========================================
   3. ELEVATOR LOADER
   ========================================= */
#elevator-loader {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 99999;
    display: flex; align-items: center; justify-content: center; background: #000;
}
.door-wrapper { position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: flex; }
.door {
    width: 50%; height: 100%; position: relative;
    background: linear-gradient(90deg, #2b2b2b, #444, #2b2b2b);
    box-shadow: inset 0 0 100px rgba(0,0,0,0.8);
    transition: transform 2.5s cubic-bezier(0.7, 0, 0.3, 1); z-index: 2;
}
.door-inner {
    position: absolute; top: 0; left: 0; right: 0; bottom: 0; opacity: 0.1;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
}
.door.left { border-right: 2px solid #111; z-index: 3; }
.door.right { border-left: 2px solid #111; z-index: 3; }
.door-seam {
    position: absolute; top: 0; bottom: 0; width: 10px;
    background: linear-gradient(to right, rgba(0,0,0,0.5), transparent);
}
.door.left .door-seam { right: 0; }
.door.right .door-seam { left: 0; transform: scaleX(-1); }

.loader-interface {
    z-index: 10; text-align: center; position: relative; padding: 40px; background: rgba(0,0,0,0.9);
    border: 1px solid rgba(240, 165, 0, 0.3); border-radius: 10px; box-shadow: 0 0 50px rgba(0,0,0,0.8);
    backdrop-filter: blur(10px);
}
.floor-indicator {
    display: flex; justify-content: center; align-items: center; gap: 10px; margin-bottom: 20px;
    background: #111; border: 2px solid #333; padding: 5px 20px; border-radius: 5px;
}
.floor-arrow { color: var(--primary-color); animation: blink 1s infinite; }
.floor-num { font-family: var(--font-heading); font-size: 2rem; color: var(--primary-color); }
.loader-title { font-family: var(--font-heading); text-transform: uppercase; font-size: 1.5rem; color: #fff; margin-bottom: 20px; }
.loader-logo-container i { color: var(--primary-color); }
.loader-bar { width: 200px; height: 4px; background: #333; margin: 0 auto 10px auto; border-radius: 2px; }
.loader-progress { width: 0%; height: 100%; background: var(--primary-color); animation: loadProgress 1.5s ease-in-out forwards; }
.loader-status { font-family: var(--font-mono); font-size: 0.7rem; color: #666; }
@keyframes blink { 50% { opacity: 0.3; } }
@keyframes loadProgress { 0% { width: 0%; } 100% { width: 100%; } }
#elevator-loader.open .door.left { transform: translateX(-100%); }
#elevator-loader.open .door.right { transform: translateX(100%); }
#elevator-loader.open .loader-interface { opacity: 0; transition: opacity 0.5s; }
#elevator-loader.finished { display: none; }

/* =========================================
   4. NAVIGATION
   ========================================= */
#mainNav { padding: 1.5rem 0; transition: all var(--transition-fast); background: transparent; }
#mainNav.navbar-shrink {
    padding: 0.8rem 0; background: rgba(10, 10, 10, 0.95); backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255,255,255,0.05); box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.navbar-brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-heading); font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: #fff !important; }
.brand-icon { color: var(--primary-color); font-size: 1.4rem; }
.nav-link {
    font-family: var(--font-main); font-weight: 600; font-size: 0.9rem; text-transform: uppercase;
    letter-spacing: 1px; color: rgba(255,255,255,0.7) !important; position: relative; padding: 5px 0; margin: 0 15px; transition: color 0.3s;
}
.nav-link::before { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: var(--primary-color); transition: width 0.3s ease; }
.nav-link:hover, .nav-link.active-scroll { color: #fff !important; }
.nav-link:hover::before, .nav-link.active-scroll::before { width: 100%; }

.navbar-toggler { border: none; padding: 0; }
.hamburger-lines { display: flex; flex-direction: column; justify-content: space-between; height: 20px; width: 30px; }
.line { display: block; height: 3px; width: 100%; border-radius: 10px; background: #fff; }
.btn-premium { position: relative; overflow: hidden; background: transparent; border: 1px solid var(--primary-color); color: var(--primary-color); font-weight: 700; text-transform: uppercase; padding: 10px 25px; transition: all 0.3s; }
.btn-shine { position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent); transition: left 0.5s; }
.btn-premium:hover { background: var(--primary-color); color: #000; box-shadow: 0 0 20px var(--primary-glow); }
.btn-premium:hover .btn-shine { left: 100%; }
.premium-dropdown { background: rgba(15, 15, 15, 0.98); border: 1px solid #333; border-top: 3px solid var(--primary-color); padding: 15px; margin-top: 20px; }
.dropdown-item { border-radius: 5px; padding: 10px; margin-bottom: 5px; border: 1px solid transparent; }
.dropdown-item:hover { background: rgba(255,255,255,0.03); border-color: rgba(255,255,255,0.1); }
.icon-circle { width: 35px; height: 35px; background: #222; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-right: 15px; color: #aaa; transition: all 0.3s; }
.dropdown-item:hover .icon-circle { background: var(--primary-color); color: #000; }
.dropdown-item.highlight .icon-circle.active { background: var(--primary-color); color: #000; }

/* =========================================
   5. HERO
   ========================================= */
header.masthead { position: relative; width: 100%; height: 100vh; background: url("https://images.unsplash.com/photo-1572076999292-127db8382343?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80") center/cover no-repeat; background-attachment: fixed; overflow: hidden; }
.masthead-bg-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(135deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.5) 50%, rgba(10,10,10,1) 100%); z-index: 1; }
.masthead-content { position: relative; z-index: 2; text-align: center; max-width: 900px; }
.main-title { font-family: var(--font-heading); font-weight: 900; font-size: clamp(3rem, 7vw, 6rem); text-transform: uppercase; color: #fff; line-height: 0.9; text-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.title-shadow { position: absolute; top: 0; left: 0; width: 100%; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,0.1); transform: translateY(5px) scale(1.02); z-index: -1; opacity: 0.5; }
.brand-wrapper { display: flex; align-items: center; justify-content: center; gap: 20px; margin: 20px 0 40px 0; }
.brand-line { height: 2px; width: 60px; background: var(--primary-color); box-shadow: 0 0 10px var(--primary-glow); }
.brand-name { font-size: clamp(1.2rem, 3vw, 2.5rem); font-weight: 700; text-transform: uppercase; letter-spacing: 4px; background: linear-gradient(to right, #b87e00, #ffc845, #b87e00); -webkit-background-clip: text; -webkit-text-fill-color: transparent; filter: drop-shadow(0 0 5px rgba(240, 165, 0, 0.3)); }
.sub-title { font-family: var(--font-mono); font-size: clamp(0.9rem, 2vw, 1.2rem); color: rgba(255,255,255,0.8); line-height: 1.6; }
.highlight-text { color: var(--primary-color); font-weight: 700; border-bottom: 1px solid var(--primary-color); }

.hero-btns-wrapper { margin-top: 50px; display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }
.btn-primary-custom, .btn-outline-custom {
    padding: 15px 40px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
    text-decoration: none; display: inline-flex; align-items: center;
    transition: all 0.3s;
}
.btn-primary-custom { background: var(--primary-color); color: #000; }
.btn-primary-custom:hover { background: #fff; color: #000; transform: translateY(-5px); }
.btn-outline-custom { border: 1px solid rgba(255,255,255,0.3); color: #fff; backdrop-filter: blur(5px); }
.btn-outline-custom:hover { border-color: #fff; background: #fff; color: #000; }

.scroll-down-indicator {
    position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); z-index: 2;
    display: flex; flex-direction: column; align-items: center; gap: 10px; cursor: pointer; text-decoration: none;
}
.mouse-wheel {
    width: 24px; height: 40px; border: 2px solid rgba(255,255,255,0.5); border-radius: 12px; position: relative;
    transition: border-color 0.3s;
}
.mouse-wheel::before {
    content: ''; position: absolute; top: 6px; left: 50%; transform: translateX(-50%);
    width: 2px; height: 6px; background: var(--primary-color); border-radius: 2px;
    animation: scroll 1.5s infinite;
}
.arrow-down {
    width: 10px; height: 10px; border-right: 2px solid #fff; border-bottom: 2px solid #fff;
    transform: rotate(45deg); animation: blinkArrow 2s infinite; transition: border-color 0.3s;
}
.scroll-down-indicator:hover .mouse-wheel, .scroll-down-indicator:hover .arrow-down { border-color: var(--primary-color); }
@keyframes scroll { 0% { top: 6px; opacity: 1; } 100% { top: 20px; opacity: 0; } }
@keyframes blinkArrow { 0%, 100% { opacity: 0.2; } 50% { opacity: 1; } }

/* =========================================
   6. SECTIONS
   ========================================= */
.section-heading { font-family: var(--font-heading); font-size: 2.5rem; font-weight: 700; text-transform: uppercase; }
.text-primary-custom { color: var(--primary-color); }
.separator-line {
    width: 80px; height: 4px; background: var(--primary-color); margin: 0 auto;
    border-radius: 2px; box-shadow: 0 0 10px var(--primary-glow);
}

.about-section { background: #0f0f0f; position: relative; }
.icon-container { position: relative; display: flex; align-items: center; justify-content: center; width: 100px; height: 100px; margin: 0 auto; }
.icon-ring { position: absolute; width: 100%; height: 100%; border: 2px solid var(--primary-color); border-radius: 50%; animation: pulseRing 2s infinite; opacity: 0; }
.icon-glow { filter: drop-shadow(0 0 10px var(--primary-glow)); color: var(--primary-color); }
@keyframes pulseRing { 0% { transform: scale(0.8); opacity: 0.5; } 100% { transform: scale(1.5); opacity: 0; } }

.projects-section { background: #080808; position: relative; overflow: hidden; }
.bg-pattern-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-image: radial-gradient(circle at 2px 2px, rgba(255,255,255,0.05) 1px, transparent 0);
    background-size: 40px 40px; opacity: 0.5;
}

.service-card {
    background: var(--bg-card); border: 1px solid rgba(255,255,255,0.05);
    height: 100%; position: relative; overflow: hidden;
    transition: all var(--transition-fast); backdrop-filter: blur(10px);
    display: flex; flex-direction: column;
}
.card-content { padding: 40px 25px 30px; text-align: center; z-index: 2; flex-grow: 1; }
.service-icon-wrapper {
    width: 80px; height: 80px; margin: 0 auto 25px;
    background: rgba(255,255,255,0.03); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.5s;
}
.service-icon { color: var(--primary-color); transition: transform 0.5s; }
.service-card:hover { transform: translateY(-10px); background: rgba(40,40,40,0.9); }
.service-card:hover .service-icon-wrapper { background: var(--primary-color); transform: scale(1.1); }
.service-card:hover .service-icon { color: #000; transform: rotateY(360deg); }
.card-border-glow {
    position: absolute; bottom: 0; left: 0; width: 100%; height: 3px;
    background: var(--primary-color); transform: scaleX(0); transition: transform 0.4s;
    z-index: 3;
}
.service-card:hover .card-border-glow { transform: scaleX(1); }
.service-card.highlight { border-color: rgba(240, 165, 0, 0.3); background: rgba(240, 165, 0, 0.05); }

/* === NEW TEAM SECTION STYLES === */
.team-section { background: linear-gradient(to bottom, #0a0a0a, #111); position: relative; }
.team-card {
    background: rgba(20, 20, 20, 0.6); backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.05); border-top: 3px solid var(--primary-color);
    padding: 0; position: relative; overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.team-card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(240, 165, 0, 0.15); border-color: var(--primary-color); }
.card-glow {
    position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(240, 165, 0, 0.05) 0%, transparent 70%);
    opacity: 0; transition: opacity 0.5s; pointer-events: none;
}
.team-card:hover .card-glow { opacity: 1; }
.team-header { display: flex; justify-content: space-between; align-items: center; padding: 30px 30px 0 30px; }
.avatar-box {
    width: 70px; height: 70px; background: #1a1a1a; border: 1px solid var(--primary-color);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    color: var(--primary-color); font-size: 1.8rem; box-shadow: 0 0 15px rgba(240, 165, 0, 0.2);
}
.status-indicator {
    font-family: var(--font-mono); font-size: 0.75rem; color: #4ade80; text-transform: uppercase;
    letter-spacing: 1px; background: rgba(74, 222, 128, 0.1); padding: 5px 12px;
    border-radius: 20px; border: 1px solid rgba(74, 222, 128, 0.2); display: flex; align-items: center; gap: 8px;
}
.status-dot { width: 8px; height: 8px; background-color: #4ade80; border-radius: 50%; display: inline-block; }
.status-dot.pulse { animation: pulse-green 2s infinite; }
@keyframes pulse-green {
    0% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7); }
    70% { box-shadow: 0 0 0 6px rgba(74, 222, 128, 0); }
    100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}
.team-body { padding: 30px; }
.member-name { color: #fff; font-family: var(--font-heading); font-size: 1.8rem; margin-bottom: 5px; text-transform: uppercase; }
.member-role { color: rgba(255,255,255,0.6); font-family: var(--font-mono); font-size: 0.9rem; margin-bottom: 20px; }
.divider-gold { height: 1px; width: 50px; background: var(--primary-color); margin-bottom: 25px; }
.contact-grid { display: flex; flex-direction: column; gap: 15px; }
.team-btn {
    display: flex; align-items: center; text-decoration: none; padding: 12px 15px;
    background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s ease; border-radius: 4px;
}
.team-btn .icon {
    width: 30px; height: 30px; background: #000; display: flex; align-items: center;
    justify-content: center; border-radius: 50%; margin-right: 15px; color: #fff; transition: all 0.3s;
}
.team-btn .text { font-family: var(--font-mono); color: rgba(255,255,255,0.8); font-size: 0.95rem; letter-spacing: 0.5px; }
.team-btn:hover { background: rgba(255,255,255,0.08); transform: translateX(5px); }
.team-btn.call:hover { border-color: var(--primary-color); }
.team-btn.call:hover .icon { background: var(--primary-color); color: #000; }
.team-btn.email:hover { border-color: #fff; }
.team-btn.email:hover .icon { background: #fff; color: #000; }

/* Contact Section */
.contact-section { background: #050505; padding: 6rem 0; }
.contact-card {
    background: #111; padding: 40px 20px; height: 100%;
    border: 1px solid rgba(255,255,255,0.05); position: relative; transition: all 0.3s;
}
.contact-icon { font-size: 2rem; color: var(--primary-color); margin-bottom: 20px; }
.contact-label { text-transform: uppercase; font-size: 0.9rem; letter-spacing: 1px; color: #888; margin-bottom: 10px; }
.contact-value { font-size: 1.1rem; font-weight: 500; color: #fff; margin: 0; }
.phone-link { display: block; color: #fff; text-decoration: none; margin-bottom: 5px; font-weight: 600; transition: color 0.3s; }
.phone-link:hover { color: var(--primary-color); }
.mobile { color: var(--primary-color); }
.contact-card:hover { border-color: var(--primary-color); transform: translateY(-5px); }
.contact-card.highlight { border-color: var(--primary-color); background: rgba(240, 165, 0, 0.05); }

.footer { background: #000; padding: 40px 0; border-top: 1px solid #111; font-size: 0.9rem; color: #666; }
.btn-scroll-top {
    position: fixed; bottom: 30px; right: 30px; width: 50px; height: 50px;
    background: var(--primary-color); color: #000; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; font-size: 1.2rem;
    cursor: pointer; opacity: 0; visibility: hidden; transition: all 0.3s; z-index: 999;
}
.btn-scroll-top:hover { background: #fff; transform: translateY(-5px); color: #000; }
.btn-scroll-top.show { opacity: 1; visibility: visible; }

/* Responsive */
@media (max-width: 992px) {
    .main-title { font-size: 4rem; }
    .navbar-collapse { background: rgba(0,0,0,0.95); padding: 20px; border: 1px solid #333; }
}
@media (max-width: 768px) {
    .main-title { font-size: 3rem; }
    .brand-name { font-size: 1.5rem; }
    .hero-btns-wrapper { flex-direction: column; }
    .btn-primary-custom, .btn-outline-custom { width: 100%; justify-content: center; }
}