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

:root {
    --primary: #1C355E;
    --primary-light: #2A4A7A;
    --secondary: #C62828;
    --accent: #D7263D;
    --text-white: #FFFFFF;
    --text-muted: rgba(255, 255, 255, 0.7);
    --bg-dark: #1C355E;
    --glass: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-white);
    background-color: var(--bg-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3 {
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* Header & Nav */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

header.scrolled {
    background: rgba(28, 53, 94, 0.95);
    backdrop-filter: blur(10px);
    padding: 10px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-left: auto;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-left: 30px;
}

.mobile-menu-logo {
    display: none;
}

.menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    z-index: 1001;
}

.logo img {
    height: 50px;
    transition: var(--transition);
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-links a {
    color: var(--text-white);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--secondary);
}

/* Language Switcher */
.lang-switcher {
    position: relative;
    padding-left: 15px;
}

.lang-current {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-white);
    opacity: 0.8;
    transition: var(--transition);
}

.lang-current i:first-child {
    width: 18px;
    height: 18px;
    color: var(--secondary);
}

.lang-switcher:hover .lang-current {
    opacity: 1;
}

.lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    width: 160px;
    background: rgba(28, 53, 94, 0.95);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 10px 0;
    margin-top: 10px;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    z-index: 1000;
}

.lang-switcher:hover .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-dropdown li a {
    display: block;
    padding: 8px 20px;
    color: white !important;
    font-size: 0.85rem !important;
    font-weight: 500 !important;
}

.lang-dropdown li a:hover {
    background: rgba(255,255,255,0.1);
    color: var(--secondary) !important;
}

.nav-links a:hover {
    color: var(--secondary);
}

/* Hero Slider */
.hero-slider {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.slider-container {
    position: relative;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    display: flex;
    align-items: center;
    text-align: center;
    padding-top: 80px;
    overflow: hidden;
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -1;
    transform: scale(1);
    transition: transform 8s ease-out;
}

.slide.active .slide-bg {
    transform: scale(1.1);
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

.hero-brand-logo {
    height: 48px;
    margin-bottom: 25px;
    opacity: 0.9;
    animation: fadeInUp 1s ease-out;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease-out;
}

.hero-content p {
    font-size: 1.4rem;
    margin-bottom: 40px;
    color: var(--text-muted);
    animation: fadeInUp 1s ease-out 0.2s backwards;
}

/* Slider Controls */
.slider-dots {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--secondary);
    transform: scale(1.3);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background: var(--secondary);
    color: white;
    box-shadow: 0 10px 20px rgba(198, 40, 40, 0.2);
}

.btn-primary:hover {
    background: #b71c1c;
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(198, 40, 40, 0.3);
    color: white;
}

/* Header Specific Button */
.btn-nav {
    padding: 8px 20px;
    font-size: 0.95rem;
    box-shadow: 0 4px 15px rgba(198, 40, 40, 0.2);
}

/* Sections */
section {
    padding: 100px 0;
}

.bg-white {
    background-color: #FFFFFF;
    color: var(--primary);
}

.bg-white .section-title p {
    color: #666;
}

.bg-white h2, .bg-white h3 {
    color: var(--primary);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.section-title p {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* Product Cards - Redesigned */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.product-card {
    background: var(--primary);
    border-radius: 30px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255,255,255,0.1);
    cursor: pointer;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.card-image {
    height: 240px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.card-content {
    padding: 35px;
    color: white;
    text-align: left;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.card-header i {
    color: var(--secondary);
    width: 24px;
    height: 24px;
}

.card-header h3 {
    font-size: 1.5rem;
    color: white;
    margin: 0;
}

.card-content p {
    color: rgba(255,255,255,0.8);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

.product-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.2);
    border-color: var(--secondary);
}

.product-card:hover .card-image img {
    transform: scale(1.1);
}

/* Background overrides for product cards if they were in a white section */
.bg-white .product-card h3 {
    color: white;
}

.bg-white .product-card p {
    color: rgba(255,255,255,0.8);
}

.product-icon svg {
    width: 48px;
    height: 48px;
    stroke-width: 1.5px;
}

/* Corporate */
.corp-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.corporate p {
    font-size: 1.1rem;
    line-height: 1.8;
}

/* FAQ */
.faq-container {
    margin-top: 40px;
}

.faq-item {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: var(--transition);
}

.bg-white .faq-item {
    background: #F8F9FA;
    border-color: #EEE;
    color: var(--primary);
}

.faq-question {
    padding: 20px 30px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.bg-white .faq-question:hover {
    background: #F1F3F5;
}

.faq-answer {
    padding: 0 30px;
    max-height: 0;
    overflow: hidden;
    color: var(--text-muted);
    transition: all 0.5s cubic-bezier(0, 1, 0, 1);
}

.bg-white .faq-answer {
    color: #666;
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    padding: 0 30px 20px 30px;
    transition: all 0.5s cubic-bezier(1, 0, 1, 0);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
    color: var(--secondary);
}

/* Contact */
.contact-card {
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateY(-5px);
    border-color: var(--secondary);
    background: rgba(255, 255, 255, 0.1) !important;
}

/* Modal Overlays Shared Style */
#modal-overlay, .modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    z-index: 99999; /* Ensure it's on top of everything */
    display: none;
    justify-content: center;
    align-items: center;
}

.form-container {
    background: var(--bg-dark);
    width: 90%;
    max-width: 600px;
    padding: 50px;
    border-radius: 30px;
    position: relative;
    border: 1px solid var(--glass-border);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.form-container.two-column-modal {
    max-width: 900px;
    display: flex;
    padding: 0;
    overflow: hidden;
    background: #F4F7F6; /* Light green/gray background from example */
    border: none;
}

.modal-left {
    width: 40%;
    background: var(--primary); /* Corporate Primary Blue */
    padding: 50px 30px;
    display: flex;
    flex-direction: column;
    position: relative;
    color: white;
}

.modal-right {
    width: 60%;
    padding: 50px 40px;
    position: relative;
    color: #333;
}

.step-indicator {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    opacity: 0.5;
    transition: 0.3s;
}
.step-indicator.active {
    opacity: 1;
}

.step-num {
    width: 35px;
    height: 35px;
    background: white;
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.step-text {
    font-size: 1.1rem;
    font-weight: 600;
}

.modal-illustration {
    margin-top: auto;
    margin-bottom: auto;
    text-align: center;
}
.modal-illustration svg {
    width: 140px;
    height: 140px;
    color: white;
    stroke-width: 1.2;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-muted);
    transition: var(--transition);
    z-index: 10;
}

.two-column-modal .close-modal {
    color: #888;
}

.close-modal:hover {
    color: var(--secondary);
}

.step {
    display: none;
}

.step.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.step h3 {
    font-size: 1.5rem;
    margin-bottom: 25px;
    color: #333;
}

.options-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.option-btn {
    background: white;
    border: 1px solid #ddd;
    color: #333;
    padding: 15px;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}

.option-btn:hover {
    background: rgba(28, 53, 94, 0.05);
    border-color: var(--secondary);
    color: var(--primary);
}

input[type="text"], input[type="email"], input[type="tel"] {
    width: 100%;
    padding: 12px 15px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    color: var(--text-white);
    font-size: 1rem;
    margin-bottom: 15px;
}

.two-column-modal .modal-right input[type="text"], 
.two-column-modal .modal-right input[type="email"], 
.two-column-modal .modal-right input[type="tel"],
.two-column-modal .modal-right select,
.two-column-modal .modal-right textarea {
    background: white !important;
    border: 1px solid #ddd !important;
    color: #333 !important;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.05) !important;
    width: 100%;
    padding: 12px 15px;
    border-radius: 8px;
    font-size: 1rem;
    margin-bottom: 15px;
}

.two-column-modal .modal-right select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23333%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right .7em top 50% !important;
    background-size: .65em auto !important;
    padding-right: 30px;
}

.two-column-modal .modal-right label.input-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #444;
    margin-bottom: 5px;
}

/* Specific Corporate Radio Options */
.radio-group-modern {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}
.radio-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-weight: 500;
    color: #333;
    font-size: 0.9rem;
}
.radio-label input[type="radio"] {
    display: none;
}
.radio-custom {
    width: 18px;
    height: 18px;
    border: 2px solid #ccc;
    border-radius: 50%;
    position: relative;
    transition: 0.2s;
    background: white;
}
.radio-label input[type="radio"]:checked + .radio-custom {
    border-color: var(--secondary);
}
.radio-label input[type="radio"]:checked + .radio-custom::after {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--secondary);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Modern Toggles */
.toggle-group {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
}
.toggle-switch {
    position: relative;
    width: 36px;
    height: 20px;
    appearance: none;
    background: #ccc;
    outline: none;
    border-radius: 20px;
    cursor: pointer;
    transition: 0.3s;
    flex-shrink: 0;
    margin-top: 2px;
}
.toggle-switch:checked {
    background: var(--primary);
}
.toggle-switch::before {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    top: 2px;
    left: 2px;
    background: white;
    transition: 0.3s;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
.toggle-switch:checked::before {
    left: 18px;
}
.toggle-text {
    font-size: 0.85rem;
    color: #555;
    line-height: 1.5;
}
.toggle-text a {
    color: var(--secondary);
    text-decoration: none;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Responsive */
@media (max-width: 992px) {
    .hero-content h1 { font-size: 3rem; }
}

@media (max-width: 768px) {
    .hero-content h1 { font-size: 2.2rem; }
    .hero-content p { font-size: 1.1rem; }
    
    .menu-toggle { display: block; }

    .nav-menu {
        position: fixed;
        right: -100%;
        top: 0;
        width: 80%;
        height: 100vh;
        background: rgba(28, 53, 94, 0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        padding: 50px;
        transition: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
        box-shadow: -10px 0 30px rgba(0,0,0,0.5);
    }

    .nav-menu.active {
        right: 0;
    }

    .mobile-menu-logo.top {
        display: block;
        margin-bottom: 40px;
        text-align: center;
        width: 100%;
    }

    /* Language Switcher Mobile Header */
    .header-actions {
        display: flex;
        align-items: center;
        gap: 15px;
    }

    .lang-switcher {
        padding: 0;
        margin-right: 15px;
    }

    .lang-dropdown {
        position: absolute; /* Revert to absolute for mobile overlay */
        top: 100%;
        right: -10px;
        width: 160px;
        background: rgba(28, 53, 94, 0.98);
        box-shadow: 0 10px 30px rgba(0,0,0,0.5);
        opacity: 0;
        visibility: hidden;
    }

    .lang-switcher:hover .lang-dropdown {
        opacity: 1;
        visibility: visible;
    }

    .nav-links {
        flex-direction: column;
        align-items: center;
        gap: 25px;
        margin: 40px 0;
    }

    .lang-dropdown li a {
        padding: 12px 20px;
        color: white !important;
        text-align: left;
    }

    /* Remove previous mobile logic for lang-switcher inside nav-links */
    .nav-links .lang-switcher {
        display: none;
    }


    .nav-links a {
        font-size: 1.4rem;
    }

    .btn-nav {
        width: 100%;
        text-align: center;
    }

    .corp-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .form-container { padding: 30px; }
    .options-grid { grid-template-columns: 1fr; }
    
    .corporate p { font-size: 1rem; }
}

/* Footer Modernized */
.site-footer {
    background: #091a35; /* Even deeper blue for the actual footer */
    padding: 80px 0 40px;
    color: white;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 60px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.footer-col h3 {
    font-size: 1.2rem;
    margin-bottom: 25px;
    color: #FFFFFF;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-logo {
    height: 35px;
    margin-bottom: 20px;
}

.footer-about {
    color: rgba(255,255,255,0.6);
    line-height: 1.7;
    margin-bottom: 25px;
    font-size: 0.95rem;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition);
}

.social-links a i {
    width: 20px;
    height: 20px;
    stroke-width: 2px;
}

.social-links a:hover {
    background: var(--secondary);
    transform: translateY(-5px);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.95rem;
}

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

.footer-contact .contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    color: rgba(255,255,255,0.6);
    font-size: 0.95rem;
}

.footer-contact i {
    color: var(--secondary);
    width: 18px;
    height: 18px;
    margin-top: 3px;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(255,255,255,0.4);
    font-size: 0.85rem;
}

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

.legal-links a {
    color: rgba(255,255,255,0.4);
    text-decoration: none;
    transition: var(--transition);
}

.legal-links a:hover {
    color: white;
}

.cookie-banner {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(150px);
    width: calc(100% - 40px);
    max-width: 600px;
    background: #1C355E !important;
    color: #FFFFFF !important;
    border: 1px solid rgba(255,255,255,0.2) !important;
    border-radius: 15px;
    padding: 20px 30px;
    z-index: 99998; /* Just below modals */
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 15px 50px rgba(0,0,0,0.6);
    display: none; /* Controlled by JS */
}

.cookie-banner.active {
    display: block;
    transform: translateX(-50%) translateY(0);
}

.cookie-content {
    display: flex;
    align-items: center;
    gap: 20px;
    color: white !important;
}

.cookie-content i {
    color: var(--secondary) !important;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.cookie-content p {
    color: #FFFFFF;
    font-size: 0.85rem;
    margin: 0;
    flex: 1;
    line-height: 1.5;
}

.cookie-content a {
    color: var(--secondary);
    text-decoration: underline;
}

/* Policy Modal Specifics */
.policy-container {
    background: #FFFFFF !important;
    color: #333 !important;
    max-width: 800px;
    width: 90%;
    max-height: 85vh;
    padding: 50px;
    border-radius: 25px;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 30px 60px rgba(0,0,0,0.4);
}

.policy-body {
    line-height: 1.8;
}

.policy-body h1, .policy-body h2 {
    color: var(--primary);
    margin-top: 30px;
}

.policy-body p {
    margin-bottom: 15px;
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .legal-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .policy-container {
        padding: 40px 20px;
    }
}

/* Fix Dropdown Option Visibility */
select option {
    background-color: var(--bg-dark);
    color: var(--text-white);
}
