/* ==========================================================================
   DESIGN SYSTEM & CSS VARIABLES - SEAMLESS UNIFIED NAVY THEME
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
    /* Color Palette - Unified Medium Navy Blue Theme */
    --color-bg-deep: #1A324D;        /* Prussian/Steel Blue provided by customer */
    --color-bg-surface: #1A324D;     /* Unified Surface Background */
    --color-bg-card: rgba(17, 34, 53, 0.75); /* Darker glass backdrop for premium contrast */
    --color-border: rgba(255, 255, 255, 0.08);
    --color-border-glow: rgba(56, 189, 248, 0.4);
    
    /* Text Colors */
    --color-text-primary: #f8fafc;   /* Crisp Light Text */
    --color-text-secondary: #cbd5e1; /* Soft Slate Text */
    --color-text-muted: #64748b;     /* Muted Text */
    
    /* Brand Accent Colors */
    --color-accent: #38bdf8;        /* Vivid Sky Blue */
    --color-accent-teal: #2dd4bf;   /* Vivid Teal */
    --color-accent-glow: rgba(56, 189, 248, 0.25);
    
    /* Font Families */
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    
    /* Animations */
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s ease;
    
    /* Layout */
    --max-width: 1200px;
    --header-height: 85px;
}

/* ==========================================================================
   RESET & BASE STYLES - SEAMLESS FULL HEIGHT & WIDTH
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--color-bg-deep);
    min-height: 100%;
    width: 100%;
}

body {
    font-family: var(--font-body);
    color: var(--color-text-primary);
    background-color: var(--color-bg-deep);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    width: 100%;
    -webkit-font-smoothing: antialiased;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--color-bg-deep);
}
::-webkit-scrollbar-thumb {
    background: #334155;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--color-accent);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.25;
    color: var(--color-text-primary);
}

a {
    color: var(--color-accent);
    text-decoration: none;
    transition: var(--transition-fast);
}

a:hover {
    color: #7dd3fc;
}

img, svg {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ==========================================================================
   GLOBAL UTILITIES & DECORATIONS
   ========================================================================== */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}

.section {
    padding: 120px 0;
    position: relative;
    z-index: 10;
    background-color: var(--color-bg-deep); /* Unbroken continuous background */
}

.section-tag {
    display: inline-block;
    color: var(--color-accent);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.75rem;
    width: 100%;
    text-align: center;
}

#ueber-uns .section-tag, #kontakt .section-tag {
    text-align: left;
}

.section-title {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    text-align: center;
    position: relative;
    background: linear-gradient(135deg, var(--color-text-primary) 30%, #7dd3fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
}

#ueber-uns .section-title, #kontakt .section-title {
    text-align: left;
}

.section-subtitle {
    color: var(--color-text-secondary);
    text-align: center;
    max-width: 650px;
    margin: 0 auto 5rem auto;
    font-size: 1.15rem;
    line-height: 1.7;
}

/* Glassmorphism Card Style */
.glass-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 2.5rem;
    transition: var(--transition-smooth);
    box-shadow: 0 10px 40px -20px rgba(0, 0, 0, 0.5);
}

.glass-card:hover {
    border-color: var(--color-border-glow);
    box-shadow: 0 20px 40px -15px var(--color-accent-glow), 0 0 0 1px rgba(56, 189, 248, 0.15);
    transform: translateY(-5px);
}

/* Glowing background blur elements */
.glow-orb {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.12) 0%, rgba(45, 212, 191, 0.03) 60%, rgba(0,0,0,0) 100%);
    filter: blur(80px);
    z-index: 1;
    pointer-events: none;
}

/* Helper text colors */
.text-cyan { color: var(--color-accent) !important; }
.text-teal { color: var(--color-accent-teal) !important; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 2.2rem;
    border-radius: 10px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
    gap: 0.6rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-teal) 100%);
    color: #0f172a;
    font-weight: 700;
    box-shadow: 0 4px 25px -5px rgba(56, 189, 248, 0.5);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    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;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    box-shadow: 0 8px 30px -5px rgba(56, 189, 248, 0.7);
    transform: translateY(-2px);
    color: #0f172a;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.06);
    color: var(--color-text-primary);
    border: 1px solid var(--color-border);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--color-text-secondary);
    transform: translateY(-2px);
    color: var(--color-text-primary);
}

/* ==========================================================================
   HEADER / NAVIGATION
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: rgba(26, 50, 77, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-border);
    z-index: 1000;
    transition: var(--transition-smooth);
}

.header.scrolled {
    height: 75px;
    background: rgba(26, 50, 77, 0.95);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

.header .container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.logo-img {
    height: 48px;
    width: 48px;
    border-radius: 10px;
    border: 1px solid var(--color-border);
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: var(--transition-smooth);
}

.logo:hover .logo-img {
    border-color: var(--color-accent);
    transform: rotate(5deg) scale(1.05);
}

.logo-text {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.45rem;
    letter-spacing: -0.5px;
    color: var(--color-text-primary);
}

.logo-text span {
    color: var(--color-accent);
}

.nav {
    display: flex;
    align-items: center;
    gap: 2.8rem;
}

.nav-link {
    color: var(--color-text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding: 0.5rem 0;
    transition: var(--transition-fast);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-accent);
    transition: var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
    color: var(--color-text-primary);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1010;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--color-text-primary);
    transition: var(--transition-fast);
}

/* ==========================================================================
   HERO SECTION (VIDEO BACKGROUND & SEAMLESS OVERLAY)
   ========================================================================== */
.hero {
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: var(--header-height);
    overflow: hidden;
    background-color: var(--color-bg-deep);
}

/* Video background stretch styles - 100% full cover without pillarboxing */
.hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 1;
    pointer-events: none;
}

/* Dynamic Navy Overlay ending smoothly in var(--color-bg-deep) */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(26, 50, 77, 0.75) 0%, rgba(26, 50, 77, 0.5) 60%, var(--color-bg-deep) 100%),
                radial-gradient(circle at 80% 20%, rgba(56, 189, 248, 0.2) 0%, rgba(26, 50, 77, 0) 60%);
    z-index: 2;
    pointer-events: none;
}

.hero .container {
    position: relative;
    z-index: 3;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 4rem;
    align-items: center;
    padding-bottom: 50px;
}

.hero-content {
    position: relative;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    background: rgba(56, 189, 248, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.3);
    color: var(--color-accent);
    padding: 0.5rem 1.2rem;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.8rem;
    letter-spacing: 0.75px;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
}

.hero-title {
    font-size: 4.4rem;
    line-height: 1.1;
    margin-bottom: 1.8rem;
    letter-spacing: -1.5px;
    font-weight: 800;
    color: #ffffff;
}

.hero-title span {
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-teal) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    font-size: 1.3rem;
    color: var(--color-text-secondary);
    margin-bottom: 3rem;
    max-width: 600px;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 1.2rem;
}

/* Hologram Card Graphics */
.hero-graphic {
    display: flex;
    justify-content: flex-end;
}

.hologram-card {
    width: 320px;
    background: rgba(17, 34, 53, 0.85);
    border: 1px solid rgba(56, 189, 248, 0.3);
    box-shadow: 0 15px 40px -10px rgba(0, 0, 0, 0.5), inset 0 0 20px rgba(56, 189, 248, 0.05);
    animation: floatHud 6s ease-in-out infinite;
}

@keyframes floatHud {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(0.5deg); }
}

.hologram-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 1rem;
}

.pulse-indicator {
    width: 10px;
    height: 10px;
    background-color: var(--color-accent);
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 10px var(--color-accent);
    animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
    0%, 100% { transform: scale(1); opacity: 1; box-shadow: 0 0 5px var(--color-accent); }
    50% { transform: scale(1.3); opacity: 0.6; box-shadow: 0 0 15px var(--color-accent); }
}

.hologram-title {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-text-secondary);
}

.hologram-stats {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--color-text-primary);
    line-height: 1;
    margin-bottom: 0.25rem;
    background: linear-gradient(90deg, #fff, var(--color-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--color-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Mouse Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--color-text-secondary);
    z-index: 5;
    transition: var(--transition-smooth);
    opacity: 0.7;
    text-decoration: none;
}

.scroll-indicator:hover {
    opacity: 1;
    color: var(--color-accent);
}

.scroll-mouse {
    width: 24px;
    height: 38px;
    border: 2px solid var(--color-text-secondary);
    border-radius: 12px;
    position: relative;
}

.scroll-wheel {
    width: 4px;
    height: 8px;
    background-color: var(--color-text-secondary);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollAnim 1.8s infinite;
}

@keyframes scrollAnim {
    0% { opacity: 1; transform: translate(-50%, 0); }
    100% { opacity: 0; transform: translate(-50%, 15px); }
}

.scroll-arrow {
    animation: arrowBounce 1.8s infinite;
}

@keyframes arrowBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(5px); }
}

/* ==========================================================================
   ABOUT / HISTORIE SECTION
   ========================================================================== */
.about {
    background-color: var(--color-bg-deep); /* Continuous navy background */
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: flex-start;
}

.lead-text {
    font-size: 1.25rem;
    color: var(--color-text-primary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 3rem;
    border-top: 1px solid var(--color-border);
    padding-top: 2rem;
}

.value-item {
    display: flex;
    gap: 1.5rem;
}

.value-item i {
    font-size: 2.2rem;
    flex-shrink: 0;
    margin-top: 0.25rem;
    filter: drop-shadow(0 0 10px rgba(56, 189, 248, 0.3));
}

.value-item h4 {
    font-size: 1.2rem;
    margin-bottom: 0.4rem;
}

.value-item p {
    color: var(--color-text-secondary);
    font-size: 0.98rem;
    line-height: 1.5;
}

/* Interactive Timeline */
.about-interactive {
    position: relative;
    padding-left: 1rem;
}

.timeline-title {
    font-size: 1.4rem;
    margin-bottom: 2rem;
    color: var(--color-text-primary);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.about-timeline {
    position: relative;
    border-left: 2px solid rgba(56, 189, 248, 0.25);
    padding-left: 2.2rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.timeline-item {
    position: relative;
}

.timeline-badge {
    position: absolute;
    left: calc(-2.2rem - 24px);
    top: 20px;
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-teal) 100%);
    color: #0f172a;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    box-shadow: 0 0 15px rgba(56, 189, 248, 0.4);
    z-index: 5;
    border: 2px solid var(--color-bg-deep);
}

.timeline-panel {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    padding: 1.5rem 2rem;
    border-radius: 16px;
    transition: var(--transition-smooth);
}

.timeline-panel:hover {
    border-color: var(--color-border-glow);
    background: rgba(17, 34, 53, 0.9);
    transform: translateX(5px);
}

.timeline-panel h4 {
    font-size: 1.15rem;
    margin-bottom: 0.4rem;
    color: var(--color-text-primary);
}

.timeline-panel p {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* ==========================================================================
   SERVICES / LEISTUNGEN SECTION
   ========================================================================== */
.services {
    background-color: var(--color-bg-deep);
}

.services-tabs {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.tab-btn {
    background: rgba(17, 34, 53, 0.5);
    border: 1px solid var(--color-border);
    color: var(--color-text-secondary);
    padding: 0.9rem 2rem;
    border-radius: 30px;
    font-family: var(--font-heading);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
}

.tab-btn:hover, .tab-btn.active {
    background: var(--color-accent);
    color: #0f172a;
    border-color: var(--color-accent);
    box-shadow: 0 8px 20px -5px rgba(56, 189, 248, 0.5);
}

.services-content {
    position: relative;
    min-height: 400px;
    background: var(--color-bg-card);
}

.services-panel {
    display: none;
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.services-panel.active {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    opacity: 1;
    transform: translateY(0);
}

.panel-info h3 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: var(--color-text-primary);
    font-weight: 800;
}

.panel-info p {
    color: var(--color-text-secondary);
    margin-bottom: 1.8rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

.panel-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
    margin-top: 2rem;
    border-top: 1px solid var(--color-border);
    padding-top: 1.5rem;
}

.panel-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--color-text-secondary);
    font-size: 0.98rem;
}

.panel-list li::before {
    content: '✓';
    color: var(--color-accent);
    font-weight: 800;
    font-size: 1.1rem;
}

.panel-graphic {
    display: flex;
    justify-content: center;
    align-items: center;
}

.panel-img-wrapper {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--color-border);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
    transition: var(--transition-smooth);
}

.panel-img-wrapper:hover {
    border-color: var(--color-accent);
    transform: scale(1.02);
}

.panel-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.panel-img-wrapper:hover .panel-img {
    transform: scale(1.06);
}

.panel-img-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(26, 50, 77, 0.9) 0%, transparent 100%);
    padding: 1.5rem;
    display: flex;
    align-items: flex-end;
}

.panel-img-overlay span {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.panel-img-overlay i {
    color: var(--color-accent);
}

/* ==========================================================================
   CERTIFICATIONS / ZERTIFIKATE SECTION
   ========================================================================== */
.certs {
    background-color: var(--color-bg-deep); /* Continuous navy background */
}

.certs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.cert-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: var(--color-bg-card);
}

.cert-body-wrap {
    display: flex;
    flex-direction: column;
}

.cert-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.8rem;
}

.cert-icon {
    width: 64px;
    height: 64px;
    background: rgba(45, 212, 191, 0.12);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent-teal);
    font-size: 1.8rem;
}

.cert-title h3 {
    font-size: 1.4rem;
    margin-bottom: 0.25rem;
}

.cert-title span {
    color: var(--color-accent);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cert-desc {
    color: var(--color-text-secondary);
    margin-bottom: 2.5rem;
    font-size: 1rem;
    line-height: 1.6;
}

/* Certificate Preview document cards */
.cert-preview-card {
    position: relative;
    width: 100%;
    max-height: 300px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--color-border);
    margin-bottom: 2.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    background-color: #fff;
}

.cert-preview-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    filter: brightness(0.95);
    transition: var(--transition-smooth);
}

.cert-preview-card:hover .cert-preview-img {
    transform: scale(1.04);
    filter: brightness(0.85);
}

.cert-preview-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(26, 50, 77, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-fast);
}

.cert-preview-card:hover .cert-preview-overlay {
    opacity: 1;
}

.preview-zoom-btn {
    background: var(--color-accent);
    color: #0f172a;
    padding: 0.6rem 1.4rem;
    border-radius: 6px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 12px rgba(56, 189, 248, 0.4);
}

.preview-zoom-btn:hover {
    background: #7dd3fc;
    color: #0f172a;
}

.cert-actions {
    margin-top: auto;
}

.cert-actions .btn {
    width: 100%;
}

/* ==========================================================================
   CONTACT SECTION WITH RADAR MAP
   ========================================================================== */
.contact {
    background-color: var(--color-bg-deep);
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* High-tech vector track map styling */
.network-map-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    padding: 2rem;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    overflow: hidden;
}

.map-card-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-text-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.map-wrapper {
    position: relative;
    width: 100%;
    background: #090e17;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    overflow: hidden;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.8);
}

.network-svg {
    width: 100%;
    height auto;
    display: block;
}

/* Map pulse animations */
.hub-ripple {
    transform-origin: 45px 55px;
    animation: radarPulse 3s infinite linear;
}

@keyframes radarPulse {
    0% { transform: scale(0.5); opacity: 1; }
    100% { transform: scale(2.2); opacity: 0; }
}

.map-card-desc {
    font-size: 0.88rem;
    color: var(--color-text-secondary);
    line-height: 1.5;
    margin: 0;
}

.contact-methods-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.contact-method {
    display: flex;
    gap: 1.2rem;
    background: var(--color-bg-card);
    padding: 1.5rem;
    border: 1px solid var(--color-border);
    border-radius: 16px;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: rgba(56, 189, 248, 0.12);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent);
    flex-shrink: 0;
    font-size: 1.15rem;
}

.contact-text h4 {
    font-size: 1.05rem;
    margin-bottom: 0.25rem;
}

.contact-text p {
    color: var(--color-text-secondary);
    line-height: 1.5;
    font-size: 0.92rem;
}

.contact-text a {
    color: var(--color-text-secondary);
}

.contact-text a:hover {
    color: var(--color-accent);
}

/* Form Styling */
.form-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--color-text-primary);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text-secondary);
}

.form-control {
    background: rgba(26, 50, 77, 0.6);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    padding: 0.9rem 1.2rem;
    color: var(--color-text-primary);
    font-family: var(--font-body);
    font-size: 0.98rem;
    transition: var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.15);
    background: rgba(26, 50, 77, 0.85);
}

textarea.form-control {
    resize: vertical;
    min-height: 140px;
}

/* ==========================================================================
   FOOTER (SEAMLESS INTEGRATION WITH CONTINUOUS BACKGROUND)
   ========================================================================== */
.footer {
    border-top: 1px solid var(--color-border);
    padding: 4rem 0;
    background-color: var(--color-bg-deep); /* Unbroken continuous background */
    position: relative;
    z-index: 10;
}

.footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-copy {
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

.footer-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.footer-link {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.footer-link:hover {
    color: var(--color-accent);
}

/* ==========================================================================
   SCROLL REVEAL ANIMATIONS (INTERSECTION OBSERVER)
   ========================================================================== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 992px) {
    .header {
        height: 75px;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
        text-align: center;
        padding-top: 40px;
    }
    
    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-title {
        font-size: 3.4rem;
    }
    
    .hero-graphic {
        justify-content: center;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .services-panel.active {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .panel-graphic {
        order: -1;
    }
    
    .certs-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }
    
    .section {
        padding: 80px 0;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 340px;
        height: 100vh;
        background: var(--color-bg-surface);
        border-left: 1px solid var(--color-border);
        flex-direction: column;
        justify-content: center;
        gap: 2.5rem;
        z-index: 1005;
        transition: var(--transition-smooth);
        box-shadow: -10px 0 40px rgba(0,0,0,0.8);
    }
    
    .nav.active {
        right: 0;
    }
    
    .menu-toggle.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .hero-title {
        font-size: 2.6rem;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-actions .btn {
        width: 100%;
    }
    
    .about-timeline {
        padding-left: 1.8rem;
    }
    
    .timeline-badge {
        left: calc(-1.8rem - 24px);
    }
    
    .panel-list {
        grid-template-columns: 1fr;
    }
    
    .contact-methods-grid {
        grid-template-columns: 1fr;
    }
    
    .footer .container {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 1.25rem;
    }
}
