﻿@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;700&family=Rajdhani:wght@400;500;700&family=Russo+One&family=Michroma&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

.h1, h2 {
    font-family: 'Orbitron', 'Rajdhani', 'Russo One', 'Michroma', sans-serif;
    letter-spacing: 1px;
    font-size: 11px;
    font-weight: 500;
}

/* Remove default Blazor styles */
.page {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
}

/* Header Styles */
.main-header {
    background-color: white;
    padding: 15px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

    .main-header .container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 20px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

.logo img {
    height: 180px;
}

/* Hamburger Menu Button */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1002;
}

.hamburger {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #1e3a5f;
    margin: 5px 0;
    transition: 0.3s;
    position: relative;
}

    .hamburger::before,
    .hamburger::after {
        content: '';
        position: absolute;
        left: 0;
        width: 25px;
        height: 3px;
        background-color: #1e3a5f;
        transition: 0.3s;
    }

    .hamburger::before {
        top: -8px;
    }

    .hamburger::after {
        top: 8px;
    }

.mobile-menu-toggle.active .hamburger {
    background-color: transparent;
}

    .mobile-menu-toggle.active .hamburger::before {
        top: 0;
        transform: rotate(45deg);
    }

    .mobile-menu-toggle.active .hamburger::after {
        top: 0;
        transform: rotate(-45deg);
    }

/* Navigation Styles */
.main-nav {
    display: flex;
    gap: 20px;
    align-items: center;
}

    .main-nav > a {
        color: #1e3a5f;
        text-decoration: none;
        font-weight: 600;
        font-size: 16px;
        padding: 8px 12px;
        transition: background-color 0.3s ease;
        border-radius: 4px;
    }

        .main-nav > a:hover {
            background-color: #7AB8E1;
            color: white;
        }

/* Dropdown Menu Container */
.nav-item {
    position: relative;
}

    .nav-item > a {
        color: #1e3a5f;
        text-decoration: none;
        font-weight: 600;
        font-size: 16px;
        padding: 8px 12px;
        transition: background-color 0.3s ease;
        border-radius: 4px;
        display: inline-block;
    }

        .nav-item > a:hover {
            background-color: #7AB8E1;
            color: white;
        }

        /* Arrow indicator for dropdowns */
        .nav-item > a::after {
            content: "▼";
            font-size: 10px;
            margin-left: 5px;
            opacity: 0.7;
            display: inline-block;
            transition: transform 0.3s ease;
        }

    .nav-item:hover > a::after {
        transform: rotate(180deg);
    }

/* Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 320px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    margin-top: 5px;
    padding: 8px 0;
    list-style: none;
}

.nav-item:hover > .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    list-style: none;
    position: relative;
}

.dropdown-menu a {
    display: block;
    padding: 12px 24px;
    color: #1e3a5f;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.2s ease;
    position: relative;
}

    .dropdown-menu a:hover {
        background-color: #f0f7ff;
        color: #003F7F;
        padding-left: 28px;
    }

/* Nested submenu */
.has-submenu {
    position: relative;
    border-left: 3px solid #7AB8E1;
}

    .has-submenu > a {
        background-color: #f5f9ff;
        font-weight: 600;
        color: #003F7F;
    }

        .has-submenu > a::after {
            content: "▶";
            position: absolute;
            right: 24px;
            font-size: 12px;
            color: #7AB8E1;
            opacity: 1;
            transition: transform 0.2s ease;
        }

    .has-submenu:hover > a::after {
        transform: translateX(3px);
    }

/* Second level submenu */
.submenu {
    position: absolute;
    left: 100%;
    top: -8px;
    background: linear-gradient(to right, #ffffff, #f8fbff);
    min-width: 280px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    border: 2px solid #7AB8E1;
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
    margin-left: 10px;
    padding: 8px 0;
    list-style: none;
}

.has-submenu:hover > .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.submenu li {
    list-style: none;
}

.submenu a {
    display: block;
    padding: 10px 24px;
    color: #1e3a5f;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
}

    .submenu a:hover {
        background-color: #f0f7ff;
        color: #003F7F;
        padding-left: 28px;
    }

.cta-button {
    background-color: #7AB8E1;
    color: #1e3a5f;
    padding: 12px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    font-size: 16px;
    white-space: nowrap;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #1e3a5f 0%, #2c5282 100%);
    color: white;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
    min-height: 600px;
    display: flex;
    align-items: flex-end;
    padding-bottom: 40px;
}

.hero-bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.8;
    overflow: hidden;
}

    .hero-bg-video video {
        width: 100%;
        height: 100%;
        border: none;
        object-fit: cover;
    }

.hero-content {
    position: relative;
    background-color: white;
    opacity: 0.75;
    z-index: 2;
    max-width: 1200px;
    border-radius: 50px;
    margin-bottom: auto;
    margin-top: 30px;
    margin-left: 20px;
    padding: 20px 40px;
    display: grid;
    gap: 60px;
    align-items: center;
}

.hero-text h1 {
    font-size: 2.5rem;
    margin-bottom: 5px;
    color: #1e3a5f;
    font-family: 'Orbitron', 'Rajdhani', 'Russo One', 'Michroma', sans-serif;
}

.hero-text h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    line-height: 1.2;
}

.hero-features {
    list-style: none;
    margin-bottom: 30px;
}

    .hero-features li {
        padding: 8px 0;
        padding-left: 25px;
        position: relative;
    }

        .hero-features li:before {
            content: "✔";
            position: absolute;
            left: 0;
            color: #7AB8E1;
            font-weight: bold;
        }

/* Video Section */
.video-section {
    background-color: #1e3a5f;
    color: white;
    padding: 80px 0;
}

.video-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.video-text h2 {
    font-size: 2.1rem;
    margin-bottom: 30px;
    line-height: 1.2;
}

.video-text p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    line-height: 1.8;
}

.video-player {
    position: relative;
    width: 100%;
    height: 400px;
    max-height: 400px;
    border-radius: 10px;
    overflow: hidden;
}

    .video-player video {
        width: 100%;
        height: 400px;
        max-height: 400px;
/*        position: absolute;*/
        object-fit: cover; /* Ensures video fills container */
    }

.learn-more-btn {
    background-color: #7AB8E1;
    color: white;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    display: inline-block;
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background-color: white;
}

.faq-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

    .faq-content h2 {
        font-size: 2.5rem;
        color: #1e3a5f;
        text-align: center;
        margin-bottom: 60px;
    }

.faq-item {
    margin-bottom: 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
}

    .faq-item:nth-child(odd) {
        border-color: #003F7F;
    }

    .faq-item:nth-child(even) {
        border-color: #7AB8E1;
    }

.faq-question {
    background-color: #f8f9fa;
    padding: 20px;
    cursor: pointer;
    font-weight: bold;
    color: #1e3a5f;
    position: relative;
    transition: background-color 0.3s ease;
}

    .faq-question:hover {
        background-color: #e8e9ea;
    }

    .faq-question:after {
        content: "+";
        position: absolute;
        right: 20px;
        font-size: 1.5rem;
        transition: transform 0.3s ease;
    }

    .faq-question.active:after {
        content: "-";
    }

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background-color: white;
    padding: 0 20px;
}

    .faq-answer.active {
        max-height: 300px;
        padding: 20px;
    }

    .faq-answer p {
        color: #666;
        line-height: 1.6;
    }

/* CTA Section */
.cta-section {
    background-color: #003F7F;
    padding: 60px 0;
}

.cta-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 40px;
}

.cta-text {
    flex: 1;
}

    .cta-text h3 {
        font-size: 1.8rem;
        color: #7AB8E1;
        margin-bottom: 20px;
    }

.cta-btn {
    background-color: #7AB8E1;
    color: #1e3a5f;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    font-size: 1.1rem;
    white-space: nowrap;
}

/* Footer */
.footer {
    background-color: white;
    padding: 60px 0 20px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer-column h4 {
    color: #003F7F;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-column ul {
    list-style: none;
}

    .footer-column ul li {
        margin-bottom: 10px;
    }

        .footer-column ul li a {
            color: #003F7F;
            text-decoration: none;
            transition: background-color 0.3s ease;
        }

            .footer-column ul li a:hover {
                background-color: lightskyblue;
            }

.footer-bottom {
    border-top: 1px solid #555;
    margin-top: 40px;
    padding-top: 20px;
    text-align: center;
    color: #003F7F;
}

.mobile-company-name {
    display: none;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .main-header .container {
        padding: 0 15px;
    }

    .logo img {
        height: 120px;
    }

    .mobile-menu-toggle {
        display: block;
        order: 3;
    }

    .main-header .cta-button {
        display: none;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 350px;
        height: 100vh;
        background-color: white;
        flex-direction: column;
        align-items: flex-start;
        padding: 80px 20px 20px;
        gap: 10px;
        overflow-y: auto;
        transition: right 0.3s ease;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        z-index: 999;
    }

        .main-nav.active {
            right: 0;
        }

        .main-nav > a,
        .nav-item > a {
            width: 100%;
            padding: 15px;
            font-size: 18px;
            border-bottom: 1px solid #f0f0f0;
        }

    .nav-item {
        width: 100%;
    }

        .nav-item > a::after {
            position: absolute;
            right: 15px;
        }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        margin-top: 0;
        min-width: 100%;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        padding: 0;
        background-color: #f8f9fa;
    }

        .nav-item.active > .dropdown-menu,
        .dropdown-menu.active {
            max-height: 500px;
            padding: 8px 0;
        }

    .nav-item.active > a::after {
        transform: rotate(180deg);
    }

    .dropdown-menu a {
        padding-left: 35px;
        font-size: 16px;
    }

    .submenu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        margin-left: 0;
        box-shadow: none;
        border: none;
        background: #e8f4ff;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        padding: 0;
    }

        .has-submenu.active > .submenu,
        .submenu.active {
            max-height: 300px;
            padding: 8px 0;
        }

    .has-submenu > a::after {
        position: absolute;
        right: 15px;
    }

    .has-submenu.active > a::after {
        transform: rotate(90deg);
    }

    .submenu a {
        padding-left: 50px;
        font-size: 14px;
    }

    .mobile-cta {
        display: block;
        width: 100%;
        margin-top: 20px;
        text-align: center;
        background-color: #7AB8E1;
        color: #1e3a5f;
        padding: 15px;
        border-radius: 5px;
        text-decoration: none;
        font-weight: bold;
    }

    .hero {
        min-height: 400px;
        padding: 40px 0;
    }

    .hero-content {
        margin-left: 15px;
        margin-right: 15px;
        padding: 15px 20px;
        border-radius: 20px;
    }

    .hero-text h1 {
        font-size: 1.8rem;
    }

    .video-section {
        padding: 40px 0;
    }

    .video-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .video-text h2 {
        font-size: 1.6rem;
    }

    .video-text p {
        font-size: 1rem;
    }

    .video-player {
        height: 250px;
    }

    .faq-section {
        padding: 40px 0;
    }

    .faq-content h2 {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }

    .faq-question {
        padding: 15px;
        padding-right: 40px;
        font-size: 14px;
    }

    .faq-answer.active {
        max-height: 500px;
    }

    .cta-section {
        padding: 40px 0;
    }

    .cta-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .cta-text h3 {
        font-size: 1.4rem;
    }

    .cta-btn {
        padding: 12px 25px;
        font-size: 1rem;
    }

    .footer {
        padding: 40px 0 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .footer-column:first-child {
        order: -1;
    }

    .mobile-company-name {
        color: #1e3a5f;
        font-weight: 700;
        font-size: 18px;
        font-family: 'Orbitron', 'Rajdhani', 'Russo One', 'Michroma', sans-serif;
        letter-spacing: 1px;
        flex-grow: 1;
        text-align: center;
        padding: 0 10px;
        display: block;
    }
}

@media only screen and (min-width: 769px) {
    .mobile-company-name {
        display: none;
    }
}

/* Tablet adjustments */
@media (min-width: 769px) and (max-width: 1024px) {
    .main-header .container {
        padding: 0 20px;
    }

    .logo img {
        height: 150px;
    }

    .main-nav {
        gap: 15px;
    }

        .nav-item > a,
        .main-nav > a {
            font-size: 14px;
            padding: 6px 10px;
        }

    .cta-button {
        padding: 10px 15px;
        font-size: 14px;
    }

    .video-content {
        gap: 40px;
    }
    .video-player {
        height: 400px;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

/* Overlay for mobile menu */
.menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 998;
}

    .menu-overlay.active {
        display: block;
    }

/* Remove default Blazor loading styles */
#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
