/*
Theme Name: myKom Premium Theme
Theme URI: http://www.my-kom.de/
Author: Antigravity AI
Description: Ein responsives, modernes Premium-Theme für myKom GmbH (Glasfasertechnik) mit HSL-Farbpalette, feinen Gradients und Micro-Animationen.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mykom-theme
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;600;700;800&display=swap');

:root {
    /* Color Palette */
    --primary-h: 220;
    --primary-s: 90%;
    --primary-l: 56%;
    --primary: hsl(var(--primary-h), var(--primary-s), var(--primary-l));
    --primary-hover: hsl(var(--primary-h), var(--primary-s), calc(var(--primary-l) - 8%));
    --primary-light: hsl(var(--primary-h), var(--primary-s), 95%);
    --primary-rgb: 37, 99, 235;

    --accent: #06b6d4; /* Teal/Cyan */
    --accent-rgb: 6, 182, 212;

    --dark: #0f172a; /* Slate 900 */
    --dark-card: #1e293b; /* Slate 800 */
    --light: #f8fafc; /* Slate 50 */
    
    --text-dark: #0f172a;
    --text-muted: #475569;
    --text-light: #f1f5f9;
    
    --bg-light: #ffffff;
    --bg-alt: #f1f5f9;
    --border-light: #e2e8f0;
    
    /* Layout Constants */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --font-heading: 'Outfit', var(--font-sans);
    --header-height: 80px;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    
    /* Shadows */
    --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base Styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-sans);
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark);
}

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

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

/* Utility Classes */
.container {
    width: 100%;
    max-width: 1200px;
    margin-right: auto;
    margin-left: auto;
    padding-right: 1.5rem;
    padding-left: 1.5rem;
}

.section {
    padding: 100px 0;
}

.section-alt {
    background-color: var(--bg-alt);
}

.text-center { text-align: center; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-6 { margin-bottom: 3.5rem; }

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 2px;
}

.section-title.left::after {
    left: 0;
    transform: none;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 2rem;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), hsl(var(--primary-h), var(--primary-s), 48%));
    color: var(--text-light);
    box-shadow: 0 4px 14px 0 rgba(var(--primary-rgb), 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px 0 rgba(var(--primary-rgb), 0.4);
}

.btn-secondary {
    background-color: transparent;
    border-color: var(--primary);
    color: var(--primary);
}

.btn-secondary:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
}

.btn-white {
    background-color: var(--bg-light);
    color: var(--primary);
    box-shadow: var(--shadow-md);
}

.btn-white:hover {
    background-color: var(--bg-alt);
    transform: translateY(-2px);
}

/* Top Switcher / Contact Bar */
.top-bar {
    background-color: #0f172a;
    color: #e2e8f0;
    font-size: 0.78rem;
    padding: 3px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.top-bar-left, .top-bar-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.topbar-partner-brand {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #f8fafc;
    background: rgba(255, 255, 255, 0.1);
    padding: 2px 10px 2px 6px;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    transition: all 0.2s ease;
    font-size: 0.76rem;
    line-height: 1;
}

.topbar-partner-brand:hover {
    background: rgba(6, 182, 212, 0.25);
    border-color: #06b6d4;
    color: #ffffff;
    transform: translateY(-1px);
}

.topbar-glasfaser-logo {
    height: 16px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.95;
}

.top-bar-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #cbd5e1;
    font-size: 0.78rem;
}

.top-bar-item a {
    color: #f1f5f9;
    font-weight: 600;
}

.top-bar-item a:hover {
    color: var(--accent);
}

/* Navigation Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    z-index: 1000;
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: var(--shadow-sm);
    background-color: rgba(255, 255, 255, 0.98);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 58px;
    transition: height 0.3s ease;
}

.header.scrolled .nav-container {
    height: 52px;
}

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

.logo img {
    height: 38px;
    width: auto;
    object-fit: contain;
    transition: height 0.3s ease;
}

.header.scrolled .logo img {
    height: 34px;
}

.logo-text {
    display: none; /* Logo image already contains the brand text and subtitle */
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-menu li a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
    position: relative;
    padding: 8px 0;
}

.nav-menu li a:hover, .nav-menu li.current-menu-item a {
    color: var(--primary);
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition);
}

.nav-menu li a:hover::after, .nav-menu li.current-menu-item a::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--dark);
    margin: 5px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    position: relative;
    padding-top: calc(var(--header-height) + 24px);
    padding-bottom: 70px;
    background: radial-gradient(circle at 80% 20%, rgba(var(--primary-rgb), 0.08) 0%, transparent 50%),
                radial-gradient(circle at 10% 80%, rgba(var(--accent-rgb), 0.05) 0%, transparent 40%);
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 48px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background-color: var(--primary-light);
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 100px;
    margin-bottom: 20px;
}

.hero-badge svg {
    width: 16px;
    height: 16px;
}

.hero-title {
    font-size: 2.85rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.5px;
    margin-bottom: 18px;
}

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

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.hero-trust {
    border-top: 1px solid var(--border-light);
    padding-top: 24px;
}

.hero-trust-text {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.hero-partners {
    display: flex;
    align-items: center;
    gap: 32px;
}

.hero-partners img {
    height: 28px;
    width: auto;
    filter: grayscale(1) opacity(0.6);
    transition: var(--transition);
}

.hero-partners img:hover {
    filter: none;
    opacity: 1;
}

.hero-image-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image-bg {
    position: absolute;
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(var(--primary-rgb), 0.15) 0%, transparent 70%);
    z-index: -1;
}

.hero-illustration {
    background: var(--bg-light);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-xl);
    width: 100%;
    max-width: 440px;
    transform: rotate(2deg);
    transition: var(--transition);
}

.hero-illustration:hover {
    transform: rotate(0deg) scale(1.02);
}

/* Feature Cards / Info Block */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.feature-card {
    background-color: var(--bg-light);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 40px 32px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary), var(--accent));
    opacity: 0;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(var(--primary-rgb), 0.2);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: var(--primary-light);
    color: var(--primary);
    border-radius: var(--radius-sm);
    margin-bottom: 24px;
}

.feature-icon svg {
    width: 30px;
    height: 30px;
}

.feature-title {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 12px;
}

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

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.about-content h3 {
    font-size: 1.8rem;
    margin-bottom: 16px;
}

.about-p {
    color: var(--text-muted);
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.stat-item {
    border-left: 3px solid var(--accent);
    padding-left: 16px;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
    color: var(--primary);
    margin-bottom: 4px;
}

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

.about-sidebar {
    background-color: var(--dark);
    color: var(--text-light);
    border-radius: var(--radius-md);
    padding: 40px;
    box-shadow: var(--shadow-xl);
    position: relative;
}

.about-sidebar h4 {
    color: var(--text-light);
    font-size: 1.5rem;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.about-sidebar h4 svg {
    width: 24px;
    height: 24px;
    color: var(--accent);
}

.about-sidebar-p {
    color: rgba(241, 245, 249, 0.8);
    font-size: 0.95rem;
    margin-bottom: 24px;
}

.about-sidebar-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.about-sidebar-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.9rem;
}

.about-sidebar-list svg {
    width: 18px;
    height: 18px;
    color: var(--accent);
    flex-shrink: 0;
    margin-top: 2px;
}

/* Partners Block */
.partners-section {
    padding: 60px 0;
    background-color: var(--bg-light);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.partners-wrap {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
}

.partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 180px;
    height: 60px;
    filter: grayscale(1) opacity(0.5);
    transition: var(--transition);
}

.partner-logo:hover {
    filter: none;
    opacity: 1;
}

.partner-logo img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

/* Careers Section */
.careers-box {
    background: linear-gradient(135deg, var(--dark) 0%, #1e293b 100%);
    color: var(--text-light);
    border-radius: var(--radius-lg);
    padding: 60px;
    box-shadow: var(--shadow-xl);
    position: relative;
    overflow: hidden;
}

.careers-box::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(var(--primary-rgb), 0.15) 0%, transparent 60%);
    z-index: 1;
    pointer-events: none;
}

.careers-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.careers-title {
    color: var(--text-light);
    font-size: 2.25rem;
    margin-bottom: 16px;
}

.careers-desc {
    color: rgba(241, 245, 249, 0.80);
    font-size: 1.1rem;
    margin-bottom: 32px;
}

.careers-benefits {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.benefit-item svg {
    color: var(--accent);
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* Contact & Info */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: var(--primary-light);
    color: var(--primary);
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}

.contact-icon svg {
    width: 22px;
    height: 22px;
}

.contact-text h4 {
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.contact-text p, .contact-text a {
    color: var(--text-muted);
    font-size: 0.95rem;
}

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

.contact-card {
    background-color: var(--bg-light);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 40px;
    box-shadow: var(--shadow-md);
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-muted);
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-light);
    background-color: var(--bg-alt);
    border-radius: var(--radius-sm);
    font-family: var(--font-sans);
    font-size: 0.95rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    background-color: var(--bg-light);
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.1);
}

/* Footer styling */
.footer {
    background-color: var(--dark);
    color: var(--text-light);
    padding: 80px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 60px;
}

.footer-brand img {
    height: 60px;
    margin-bottom: 20px;
}

.footer-desc {
    color: rgba(241, 245, 249, 0.7);
    font-size: 0.9rem;
    max-width: 320px;
}

.footer-title {
    color: var(--text-light);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 24px;
    position: relative;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: rgba(241, 245, 249, 0.7);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 4px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 0.85rem;
    color: rgba(241, 245, 249, 0.5);
}

.footer-legal-links {
    display: flex;
    gap: 24px;
}

.footer-legal-links a:hover {
    color: var(--text-light);
}

/* Legal Pages (Impressum, Datenschutz) Styles */
.legal-page {
    padding-top: calc(var(--header-height) + 40px);
}

.legal-content {
    background-color: var(--bg-light);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 60px;
    box-shadow: var(--shadow-md);
    margin-bottom: 60px;
}

.legal-content h1 {
    font-size: 2.25rem;
    margin-bottom: 1.5rem;
}

.legal-content h2 {
    font-size: 1.5rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 8px;
}

.legal-content h3 {
    font-size: 1.15rem;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.legal-content p {
    color: var(--text-muted);
    margin-bottom: 1.25rem;
    font-size: 0.95rem;
}

.legal-content ul {
    margin-left: 20px;
    margin-bottom: 1.25rem;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.legal-content li {
    margin-bottom: 6px;
}

/* Mobile Responsiveness styling */
@media (max-width: 992px) {
    .hero-grid, .about-grid, .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-title {
        font-size: 2.75rem;
    }
    
    .hero-image-container {
        order: -1;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .hero {
        padding-top: calc(var(--header-height) + 30px);
        padding-bottom: 60px;
    }
    
    .hero-title {
        font-size: 2.25rem;
    }
    
    .hero-desc {
        font-size: 1.05rem;
    }
    
    .nav-menu {
        position: fixed;
        top: var(--header-height);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background-color: var(--bg-light);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 48px;
        gap: 32px;
        box-shadow: var(--shadow-lg);
        transition: 0.4s ease;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-toggle {
        display: block;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
    
    .careers-box {
        padding: 40px 24px;
    }
    
    .careers-benefits {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .legal-content {
        padding: 30px 20px;
    }
}

/* ==========================================================================
   Dropdown Sub-Menus
   ========================================================================== */
.nav-menu li {
    position: relative;
}

.nav-menu li ul.sub-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    width: 220px;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
    list-style: none;
    display: none;
    flex-direction: column;
    padding: 10px 0;
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.nav-menu li:hover ul.sub-menu {
    display: flex;
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.nav-menu ul.sub-menu li {
    width: 100%;
    margin: 0;
}

.nav-menu ul.sub-menu li a {
    display: block;
    padding: 10px 20px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted) !important;
    width: 100%;
    transition: var(--transition);
    text-align: left;
}

.nav-menu ul.sub-menu li a::after {
    display: none !important;
}

.nav-menu ul.sub-menu li a:hover {
    color: var(--primary) !important;
    background-color: var(--bg-alt);
}

/* ==========================================================================
   Split Landing Page
   ========================================================================== */
.split-container {
    display: flex;
    height: 100vh;
    min-height: 700px;
    width: 100%;
    overflow: hidden;
    padding-top: var(--header-height);
    background-color: var(--dark);
}

.split-panel {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 40px;
    transition: flex 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    z-index: 1;
}

.split-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

/* Color Overlay & Glow effects */
.panel-security::after, .panel-fiber::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
    opacity: 0.8;
}

.panel-security::after {
    background: radial-gradient(circle at center, rgba(220, 38, 38, 0.15) 0%, rgba(15, 23, 42, 0.9) 80%);
}

.panel-fiber::after {
    background: radial-gradient(circle at center, rgba(6, 182, 212, 0.15) 0%, rgba(15, 23, 42, 0.9) 80%);
}

.split-panel:hover {
    flex: 1.25;
}

.split-panel:hover .split-bg {
    transform: scale(1.08);
}

.split-panel:hover::after {
    opacity: 0.65;
}

.split-content {
    position: relative;
    z-index: 2;
    max-width: 480px;
    text-align: center;
    color: var(--text-light);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.split-badge {
    display: inline-block;
    padding: 6px 18px;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 24px;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.panel-security .split-badge {
    background-color: rgba(220, 38, 38, 0.2);
    border: 1px solid rgba(220, 38, 38, 0.5);
    color: #f87171;
}

.panel-fiber .split-badge {
    background-color: rgba(6, 182, 212, 0.2);
    border: 1px solid rgba(6, 182, 212, 0.5);
    color: #22d3ee;
}

.split-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1px;
    margin-bottom: 20px;
    color: var(--text-light);
}

.accent-sec {
    color: #f87171;
    text-shadow: 0 0 20px rgba(220, 38, 38, 0.3);
}

.accent-fib {
    color: #22d3ee;
    text-shadow: 0 0 20px rgba(6, 182, 212, 0.3);
}

.split-desc {
    font-size: 1rem;
    color: rgba(241, 245, 249, 0.8);
    margin-bottom: 32px;
    line-height: 1.5;
}

.split-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 40px;
    text-align: left;
    width: 100%;
    max-width: 320px;
}

.split-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: rgba(241, 245, 249, 0.9);
}

.split-list li svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.panel-security .split-list li svg {
    color: #ef4444;
}

.panel-fiber .split-list li svg {
    color: #06b6d4;
}

.btn-sec {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    border: none;
    box-shadow: 0 4px 14px 0 rgba(220, 38, 38, 0.4);
    color: var(--text-light);
}

.btn-sec:hover {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    box-shadow: 0 6px 20px 0 rgba(220, 38, 38, 0.6);
}

.btn-fib {
    background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
    border: none;
    box-shadow: 0 4px 14px 0 rgba(6, 182, 212, 0.4);
    color: var(--text-light);
}

.btn-fib:hover {
    background: linear-gradient(135deg, #22d3ee 0%, #06b6d4 100%);
    box-shadow: 0 6px 20px 0 rgba(6, 182, 212, 0.6);
}

/* Responsive adjustments for mobile split screen */
@media (max-width: 992px) {
    .split-container {
        flex-direction: column;
        height: auto;
        overflow: visible;
    }
    
    .split-panel {
        flex: none;
        width: 100%;
        min-height: 480px;
        padding: 80px 24px;
    }
    
    .split-panel:hover {
        flex: none;
    }
    
    .split-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .nav-menu li ul.sub-menu {
        position: static;
        transform: none;
        width: 100%;
        box-shadow: none;
        background-color: transparent;
        border: none;
        display: flex; /* Always display sub-menus in mobile accordion style */
        opacity: 1;
        padding: 5px 0 0 20px;
        gap: 10px;
    }
    
    .nav-menu ul.sub-menu li a {
        text-align: center;
        padding: 6px 0;
        color: var(--text-muted) !important;
    }
}

/* Manufacturers Section */
.manufacturers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 36px;
}

.manufacturer-card {
    background-color: var(--bg-light);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 30px 24px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.manufacturer-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #dc2626, #2563eb);
    opacity: 0;
    transition: var(--transition);
}

.manufacturer-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: #dc2626;
}

.manufacturer-card:hover::before {
    opacity: 1;
}

.manufacturer-badge {
    display: inline-block;
    background-color: rgba(220, 38, 38, 0.1);
    color: #dc2626;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 4px 10px;
    border-radius: 20px;
    margin-bottom: 12px;
}

.manufacturer-name {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.manufacturer-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.5;
}

@media (max-width: 992px) {
    .manufacturers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .manufacturers-grid {
        grid-template-columns: 1fr;
    }
    .top-bar-item-mail {
        display: none;
    }
}

/* ==========================================================================
   Contact Form Enhancements (Privacy Checkbox, Status Feedback, Loading)
   ========================================================================== */
.form-privacy {
    margin-top: 0.8rem;
    margin-bottom: 1.2rem;
}

.checkbox-container {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.82rem;
    color: var(--text-muted);
    cursor: pointer;
    line-height: 1.45;
}

.checkbox-container input[type="checkbox"] {
    position: relative;
    top: 2px;
    width: 18px;
    height: 18px;
    accent-color: #dc2626;
    cursor: pointer;
    flex-shrink: 0;
}

.checkbox-container a {
    color: #dc2626;
    text-decoration: underline;
    font-weight: 600;
}

.checkbox-container a:hover {
    color: #b91c1c;
}

.form-feedback {
    display: none;
    padding: 0.9rem 1.1rem;
    border-radius: var(--radius-sm, 6px);
    font-size: 0.92rem;
    margin-top: 1rem;
    line-height: 1.5;
    animation: fadeInForm 0.3s ease;
}

.form-feedback.success {
    display: block;
    background-color: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.form-feedback.error {
    display: block;
    background-color: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

@keyframes fadeInForm {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
}

.btn:disabled, .btn[disabled] {
    opacity: 0.65;
    cursor: not-allowed !important;
    pointer-events: none;
}



