/* ================================================
   SEES Global - Full Style.css (Rev 2 - Stable)
   ================================================ */

/* Color Palette Variables */
:root {
    --primary: #6E8B75;
    --secondary: #CC7722;
    --tertiary: #FAE0E0;
    --dark: #000000;
    --text-dark: #333333;
    --text-light: #ffffff;
    --light-bg: #f8fbff;
    --salmon: #FF7F7F;
    --pink-logo: #FF69B4;
}

/* Reset & Base */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 100%; scroll-behavior: smooth; }
body { 
    font-family: 'Inter', sans-serif; 
    line-height: 1.6; 
    color: var(--text-dark); 
    background: #fff;
}

/* Typography */
h1, h2, h3 { font-weight: 700; color: var(--primary); }
h2 { font-size: 2rem; margin-bottom: 1.5rem; }
p { margin-bottom: 1rem; font-size: 1.0625rem; }

/* Header & Nav */
header { 
    background: rgba(0,0,0,0.8); 
    color: var(--text-light); 
    padding: 1rem 0; 
    position: sticky; 
    top: 0; 
    z-index: 100; 
}
.header-inner { justify-content: center; width: 100%; }
nav ul { 
    display: flex; 
    gap: 1rem; 
    list-style: none; 
    justify-content: center; 
    flex-wrap: wrap; 
}
nav a { 
    color: var(--text-light); 
    text-decoration: none; 
    font-weight: 600; 
    padding: 0.7rem 1.4rem; 
    border-radius: 8px; 
    transition: all 0.3s ease; 
    border: 1px solid transparent; 
    font-size: 1rem; 
}
nav a:hover { 
    color: var(--primary); 
    background: rgba(255,255,255,0.08); 
    border: 1px solid rgba(110,139,117,0.3); 
}
nav a.active { 
    color: var(--primary); 
    background: rgba(110,139,117,0.15); 
    border: 1px solid rgba(110,139,117,0.5); 
}

/* Mobile Nav */
@media (max-width: 768px) {
    nav ul { 
        flex-direction: row; 
        justify-content: space-around; 
        gap: 0.6rem; 
        padding: 0 0.8rem;
    }
    nav a { 
        padding: 0.65rem 1rem; 
        font-size: 0.95rem; 
        flex: 1;
        text-align: center;
    }
}

/* ==================== HOME PAGE HERO - ISOLATED ==================== */
.hero {
    position: relative;
    overflow: hidden;
    color: var(--text-light);
    text-align: center;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}
#bg-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}
.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem 1rem;
    max-width: 1200px;
    width: 100%;
}

/* Title Animation (Home) */
.title-animation {
    position: relative;
    width: 400px;
    height: 400px;
    margin-bottom: 3rem;
    z-index: 3;
}
#globe-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.fused-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    opacity: 0;
    transition: opacity 0.8s ease;
    pointer-events: none;
}
.fused-content a {
    display: block;
    pointer-events: auto;
}
.fused-logo {
    height: auto;
    max-height: 180px;
    width: auto;
    max-width: 90vw;
    display: block;
    margin: 0 auto;
    transition: transform 0.3s ease;
}
.fused-content a:hover .fused-logo {
    transform: scale(1.1);
}
.logo-subtitle {
    font-size: 1.5rem;
    color: #cccccc;
    opacity: 0.95;
    margin-top: 16px;
    font-weight: 800;
    letter-spacing: 1.5px;
}
.bim-text {
    color: var(--secondary);
}
.vdc-text {
    color: var(--primary);
}
.title-animation.fused #globe-canvas {
    opacity: 0;
    transition: opacity 0.8s ease;
}
.title-animation.fused .fused-content {
    opacity: 1;
}
.hero-text p {
    font-size: 1.6rem;
    max-width: 900px;
    margin: 0 auto 1.5rem;
    color: #aaaaaa;
}

/* TAGLINE */
.tagline {
    font-size: 1.8rem;
    opacity: 0;
    font-style: italic;
    margin: 0 auto 3rem;
    max-width: 900px;
    color: #000000;
    -webkit-text-stroke: 0;
    text-shadow: none;
    animation: mottoFadeIn 10s ease-in-out forwards;
}

@keyframes mottoFadeIn {
    0%   { opacity: 0; }
    70%  { opacity: 0.8; }
    100% { opacity: 1; }
}

/* Service Teasers */
.service-teasers {
    background: var(--light-bg);
    padding: 5rem 0;
}
.teasers-subheader {
    text-align: center;
    font-size: 2.1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
    letter-spacing: 1px;
}
.teasers-header {
    text-align: center;
    font-size: 1.65rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 3rem;
    letter-spacing: 0.5px;
}
.teaser-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.teaser-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
    text-decoration: none;
    color: inherit;
}
.teaser-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}
.teaser-img-wrapper {
    width: 100%;
    height: 240px;
    overflow: hidden;
}
.teaser-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.teaser-card h3 {
    font-size: 1.5rem;
    margin: 1.5rem 1.5rem 0.5rem;
    color: var(--primary);
    text-align: center;
}
.bullet-list {
    list-style: none;
    margin: 0 auto 1.5rem;
    padding: 0;
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
}
.bullet-list li {
    display: inline-block;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 0.55rem 1.2rem;
    margin: 0.4rem;
    background: rgba(110,139,117,0.1);
    color: var(--primary);
    border-radius: 50px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}
.teaser-card:hover .bullet-list li {
    background: var(--tertiary);
    color: #333;
    transform: translateY(-2px);
}

/* Buttons */
.btn {
    display: inline-block;
    background: var(--primary);
    color: var(--text-light);
    padding: 1rem 2rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}
.btn:hover {
    background: var(--secondary);
    transform: translateY(-3px);
}

/* Footer */
footer { background: var(--dark); color: var(--text-light); text-align: center; padding: 2rem 0; font-size: 0.9375rem; }

/* Services Page - Tabs + Dramatic Rounded Panels */
.services-tabs {
    background: var(--light-bg);
}
.tabs-nav {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}
.tab-btn {
    background: #fff;
    color: var(--text-dark);
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1.4rem;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}
.tab-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}
.tab-btn.active {
    background: var(--primary);
    color: var(--text-light);
    transform: translateY(-5px);
}
.tab-panel {
    display: none;
}
.tab-panel.active {
    display: block;
    animation: fadeIn 0.8s ease;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.service-panel {
    background: #fff;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
    margin-bottom: 4rem;
}
.panel-title {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--text-light);
    padding: 4rem 3rem;
    text-align: center;
    font-size: 3rem;
    margin: 0;
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;
}
.panel-content {
    padding: 5rem 4rem;
}
.panel-content p {
    font-size: 1.25rem;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}
.panel-content h3 {
    font-size: 2.2rem;
    margin: 4rem 0 2rem;
    text-align: center;
}
.feature-list {
    list-style: none;
    max-width: 800px;
    margin: 3rem auto;
}
.feature-list li {
    font-size: 1.25rem;
    padding: 1.2rem 0;
    padding-left: 3rem;
    position: relative;
}
.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
    font-size: 1.8rem;
}
.image-placeholder {
    background: #f0f0f0;
    border: 3px dashed #ccc;
    border-radius: 20px;
    height: 400px;
    margin: 3rem auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: #999;
    max-width: 900px;
}
.image-placeholder.secondary {
    height: 300px;
    max-width: 700px;
}
.cta-center {
    text-align: center;
    margin-top: 5rem;
}

/* Video Embed */
.video-wrapper {
    position: relative;
    max-width: 800px;
    margin: 3rem auto;
}
.service-video {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.2);
    display: block;
}
.video-ai-overlay {
    position: absolute;
    top: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    pointer-events: none;
    z-index: 10;
}
.ai-logo {
    height: 50px;
    width: auto;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.4));
}
.ai-text {
    font-size: 0.35rem;
    color: var(--text-light);
    background: rgba(0,0,0,0.5);
    padding: 0.15rem 0.5rem;
    border-radius: 20px;
    margin-top: 4px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* Modern Contact Form */
.modern-contact-form {
    width: 100%;
    max-width: 720px;
    margin: 3rem auto 0;
    display: flex;
    flex-direction: column;
    gap: 1.6rem;
    align-items: center;
}
.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
}
.form-group label {
    font-weight: 600;
    color: var(--primary);
    font-size: 1.05rem;
    text-align: left;
}
.form-group input,
.form-group textarea {
    width: 100%;
    background: rgba(255,255,255,0.12);
    border: 2px solid var(--secondary);
    border-radius: 20px;
    padding: 1.1rem 1.4rem;
    color: var(--secondary);
    font-size: 1.05rem;
    transition: all 0.3s ease;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(204,119,34,0.7);
}
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #FF9F1C;
    background: rgba(255,255,255,0.18);
    box-shadow: 0 0 0 4px rgba(204,119,34,0.3);
}
.form-group textarea {
    resize: vertical;
    min-height: 140px;
}
.modern-contact-form button {
    align-self: center;
    margin-top: 1.2rem;
    min-width: 220px;
    padding: 1rem 2.5rem;
}

/* ==================== COMPANY PAGE ONLY ==================== */
.company-hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
    background: #0A120D;
}

.company-hero .hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.company-hero .hero-video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.company-hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 15vh 5% 8vh;
    background: linear-gradient(
        to bottom, 
        rgba(255,255,255,0.75), 
        rgba(10,18,13,0.35)
    );
}

.company-hero .hero-text {
    text-align: center;
    z-index: 3;
}

.company-hero .hero-text h1 {
    font-size: clamp(0.9rem, 2.5vw, 1.75rem);
    font-weight: 900;
    line-height: 1.05;
    color: white;
    text-shadow: 0 0 40px rgba(0,0,0,0.8);
    margin-bottom: 0.6rem;
}

.company-hero .hero-text .tagline {
    font-size: clamp(0.55rem, 1.5vw, 0.9rem);
    font-weight: 300;
    color: #000000;
    text-shadow: none;
    opacity: 0.95;
}

/* Hero Emblems */
.company-hero .hero-emblems {
    display: flex;
    gap: 4rem;
    z-index: 3;
}

.company-hero .emblem {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    color: white;
    text-align: center;
}

.company-hero .emblem-number {
    font-size: 2.8rem;
    font-weight: 900;
    color: var(--secondary);
}

.company-hero .emblem-text {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.company-hero .ega-emblem,
.company-hero .onsite-emblem {
    height: 68px;
    width: auto;
}

/* ==================== PROJECTS PAGE ONLY ==================== */
.projects-hero .hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.projects-hero .hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.projects-hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10vh 5% 8vh;
    background: linear-gradient(
        to bottom, 
        rgba(255,255,255,0.75), 
        rgba(10,18,13,0.45)
    );
}

.projects-hero .projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    width: 100%;
    max-width: 1100px;
    margin: 2rem 0;
}

.projects-hero .project-panel {
    background: rgba(255,255,255,0.95);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.projects-hero .project-pill {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 0.6rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.projects-hero .hero-emblems {
    margin-top: 1rem;
}

/* Vision & Team */
.vision-section, .team-section {
    min-height: 100vh;
    position: relative;
    background: #0A120D;
    color: white;
}

.vision-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.vision-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vision-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(
        to bottom, 
        rgba(255,255,255,0.75) 0%, 
        rgba(255,255,255,0.75) 75%, 
        rgba(110,139,117,0.85) 100%
    );
}

.vision-text, .team-content {
    text-align: center;
    z-index: 3;
    max-width: 800px;
}

.vision-text h2, .team-content h2 {
    font-size: clamp(0.9rem, 2.5vw, 1.75rem);
    font-weight: 900;
    line-height: 1.05;
    color: white;
    text-shadow: 0 0 40px rgba(0,0,0,0.8);
    margin-bottom: 0.6rem;
}

.vision-text p, .team-content p {
    font-size: clamp(0.55rem, 1.5vw, 0.9rem);
    font-weight: 300;
    color: #000000;
    text-shadow: none;
    opacity: 0.95;
}

/* Team Gallery */
.team-gallery {
    max-width: 750px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.gallery-slide img {
    width: 100%;
    height: auto;
    display: block;
}

/* Mobile Fixes */
@media (max-width: 768px) {
    .company-hero, .projects-hero {
        height: 100vh !important;
        min-height: 100vh !important;
    }
    .hero-overlay {
        padding: 12vh 5% 8vh !important;
    }
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
}