/* Global Styles */
:root {
    --primary-color: #4285F4; /* Google blue */
    --secondary-color: #34A853; /* Google green */
    --accent-color: #FBBC05; /* Google yellow */
    --danger-color: #EA4335; /* Google red */
    --text-color: #202124; /* Google dark text */
    --text-secondary: #5f6368; /* Google secondary text */
    --light-color: #ffffff;
    --light-gray: #f8f9fa; /* Google background gray */
    --border-color: #dadce0; /* Google border color */
    --shadow: 0 1px 3px rgba(60, 64, 67, 0.12), 0 1px 2px rgba(60, 64, 67, 0.08);
    --shadow-medium: 0 2px 6px rgba(60, 64, 67, 0.15), 0 1px 3px rgba(60, 64, 67, 0.10);
    --transition: all 0.2s ease;
    --input-bg: #f8f9fa;
    --border-radius: 8px;
}

.mobile {
    display: block;
    position: relative;
    top: 50px;
    height: calc(100vh - 30px);
    min-height: 600px;
    overflow: hidden;
    margin-top: -76px; /* Counter the padding-top on main */
}
.desktop {
    display: none;
}

@media (min-width: 1200px) {
    .mobile {
        display: none;
    }
    .desktop {
        display: block;
    }
}

@font-face {
    font-family: 'Roboto';
    src: url('https://tiny-haus-hamburg.com/fonts/Roboto.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Material Symbols Sharp';
    font-style: normal;
    font-weight: 400;
    src: url('https://tiny-haus-hamburg.com/fonts/MaterialSymbolsSharp[FILL,GRAD,opsz,wght].woff2') format('woff2');
}

.material-symbols {
    font-family: 'Material Symbols Sharp';
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-smoothing: antialiased;
}

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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-color);
    overflow-x: hidden;
    font-weight: 400;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

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

a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
}

.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
    text-align: center;
    box-shadow: var(--shadow);
    letter-spacing: 0.25px;
}

.btn:hover {
    background-color: #3b78e7; /* Slightly darker blue */
    transform: translateY(-1px);
    box-shadow: var(--shadow-medium);
    text-decoration: none;
}

/* Header and Navigation */
header {
    background-color: rgba(255, 255, 255, 0.8);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.04);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: 96px;
    display: flex;
    align-items: center;
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

header.scrolled {
    height: 64px;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.06);
}

header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    height: 100%;
    width: 100%;
    max-width: 1400px;
}

header h1 {
    color: var(--text-color);
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.5px;
}

.logo {
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 2;
}

.logo:hover {
    text-decoration: none;
    color: var(--text-color);
}

.logo img {
    margin-top: -5px;
    height: 65px;
    width: auto;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    border-radius: 0;
    zoom: 1.5;
}

.logo:hover img {
    transform: scale(1.2);
}

/* Adjust logo size when header is scrolled */
header.scrolled .logo img {
    height: 40px;
}

@media (max-width: 768px) {
    .logo img {
        height: 50px;
    }
    
    header.scrolled .logo img {
        height: 35px;
    }
    
    header {
        height: 76px;
    }
    
    header.scrolled {
        height: 64px;
    }
}

/* Navigation styling */
#main-nav {
    display: flex;
    align-items: center;
    height: 100%;
    position: relative;
}

#main-nav ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    align-items: center;
    height: 100%;
    position: relative;
}

#main-nav ul li {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

#main-nav ul li a {
    display: flex;
    align-items: center;
    padding: 0 22px;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    height: 100%;
    position: relative;
    z-index: 2;
}

#main-nav ul li a:hover {
    color: var(--text-color);
    text-decoration: none;
}

#main-nav ul li a.active {
    color: var(--primary-color);
    font-weight: 500;
}

/* Enhanced active and hover states without underline */
#main-nav ul li a::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background-color: rgba(66, 133, 244, 0.08);
    border-radius: 50px;
    transform: translate(-50%, -50%);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: -1;
    opacity: 0;
    pointer-events: none; /* Ensure it doesn't interfere with clicks */
}

#main-nav ul li a:hover::before {
    width: 80%;
    height: 36px;
    opacity: 1;
}

#main-nav ul li a.active::before {
    width: 90%;
    height: 36px;
    opacity: 1;
    background-color: rgba(66, 133, 244, 0.12);
}

/* Special coming soon item styling */
#blink-item {
    color: var(--danger-color);
    font-weight: 500;
}

/* Mobile Menu Button with refined animation */
.mobile-menu-btn {
    display: none;
    width: 30px;
    height: 30px;
    position: relative;
    cursor: pointer;
    z-index: 1001;
    border: none;
    background: transparent;
    padding: 0;
    border-radius: 50%;
    transition: background-color 0.2s ease;
}

.mobile-menu-btn:hover {
    background-color: rgba(66, 133, 244, 0.08);
}

.mobile-menu-btn span {
    display: block;
    width: 18px;
    height: 2px;
    background-color: var(--text-color);
    border-radius: 1px;
    position: absolute;
    left: 6px;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), 
                opacity 0.2s ease, 
                background-color 0.3s ease,
                width 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
                left 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.mobile-menu-btn span:nth-child(1) {
    top: 9px;
    transform-origin: center;
}

.mobile-menu-btn span:nth-child(2) {
    top: 14px;
    width: 14px;
    left: 8px;
}

.mobile-menu-btn span:nth-child(3) {
    top: 19px;
    transform-origin: center;
}

.mobile-menu-btn.active {
    background-color: rgba(66, 133, 244, 0.12);
}

.mobile-menu-btn.active span {
    background-color: var(--primary-color);
    width: 18px;
    left: 6px;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(3.5px, 3.5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(3.5px, -3.5px);
}

/* Hero Section with Video */
.hero {
    position: relative;
    top: 50px;
    height: calc(100vh - 30px);
    min-height: 600px;
    overflow: hidden;
    margin-top: -76px; /* Counter the padding-top on main */
}

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

#background-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-top: 76px; /* Add padding to push content down from under header */
}

.video-overlay h2 {
    padding: 20px;
    color: var(--light-color);
    font-size: 3.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out forwards;
}

.video-overlay p {
    color: var(--light-color);
    font-size: 1.5rem;
    font-weight: 400;
    max-width: 600px;
    animation: fadeInUp 1s ease-out 0.3s forwards;
    opacity: 0;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Content Sections */
.content-section {
    padding: 80px 0;
}

.content-section:nth-child(even) {
    background-color: var(--light-gray);
}

.content-section h2 {
    text-align: center;
    font-size: 2.75rem;
    font-weight: 500;
    margin-bottom: 64px;
    color: var(--text-color);
    letter-spacing: -0.5px;
    position: relative;
    display: inline-block;
    padding-bottom: 8px;
}

.content-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.content-section .section-title-container {
    text-align: center;
    margin-bottom: 64px;
}

.content-section .section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-top: 16px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.content-section p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 24px;
}

/* Model Grid - Modernized */
.model-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.model-card {
    background-color: var(--light-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), 
                box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    height: 100%;
    border: 1px solid var(--border-color);
    animation: fadeInUp 0.6s forwards;
    opacity: 0;
}

.model-card:hover {
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
    transform: translateY(-8px);
}

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

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

.model-card:hover .card-image img {
    transform: scale(1.05);
}

.card-content {
    padding: 28px 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.model-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-color);
    letter-spacing: -0.3px;
}

.model-card p {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 24px;
    line-height: 1.5;
    flex-grow: 1;
}

.model-card .btn {
    align-self: flex-start;
    padding: 10px 24px;
    font-weight: 500;
    letter-spacing: 0.2px;
    border-radius: 50px;
    background-color: var(--primary-color);
    box-shadow: 0 2px 8px rgba(66, 133, 244, 0.2);
    transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

.model-card .btn:hover {
    background-color: #3b78e7;
    box-shadow: 0 4px 12px rgba(66, 133, 244, 0.3);
    transform: translateY(-2px);
}

.model-card .btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    pointer-events: none;
}

.model-card .btn:hover::before {
    width: 300px;
    height: 300px;
}

/* Model tag */
.model-tag {
    position: absolute;
    top: 16px;
    right: 16px;
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--primary-color);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 50px;
    backdrop-filter: blur(4px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    z-index: 1;
}

/* Model Detail Sections - Modernized */
.model-section {
    padding: 100px 0;
    background-color: var(--light-color);
}

.model-section .container {
    max-width: 1200px;
}

.model-section h2 {
    font-size: 2.5rem;
    font-weight: 500;
    margin-bottom: 48px;
    text-align: center;
    letter-spacing: -0.5px;
}

/* Two-column layout */
.model-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: flex-start;
}

/* Modern carousel */
.model-carousel {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background-color: var(--light-gray);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    height: 450px;
}

.carousel-wrapper {
    position: relative;
    height: 100%;
}

.carousel-slides {
    position: relative;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Carousel controls */
.carousel-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    z-index: 10;
    background: linear-gradient(to top, rgba(0,0,0,0.2), transparent);
}

.carousel-prev,
.carousel-next {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.9);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-color);
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.carousel-prev:hover,
.carousel-next:hover {
    background-color: white;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.carousel-indicators {
    display: flex;
    gap: 8px;
}

.carousel-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
}

.carousel-indicator.active {
    background-color: white;
    transform: scale(1.3);
}

/* Model content */
.model-content {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.model-description p {
    font-size: 1.15rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin: 0;
}

/* Modern tabs */
.model-tabs {
    display: flex;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 32px;
    gap: 8px;
}

.model-tab {
    padding: 12px 20px;
    border: none;
    background: none;
    font-size: 0.95rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
    position: relative;
    letter-spacing: 0.3px;
}

.model-tab:hover {
    color: var(--primary-color);
}

.model-tab.active {
    color: var(--primary-color);
    font-weight: 500;
}

.model-tab.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
    animation: fadeIn 0.3s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1; 
        transform: translateY(0);
    }
}

/* Specs grid */
.model-specs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px 32px;
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    border-radius: 12px;
    transition: var(--transition);
    background-color: var(--light-gray);
}

.spec-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transform: translateY(-2px);
}

.spec-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 12px;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    box-shadow: 0 2px 6px rgba(66, 133, 244, 0.15);
}

.spec-details {
    display: flex;
    flex-direction: column;
}

.spec-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 2px;
}

.spec-value {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-color);
}

/* Lists */
.tech-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 16px;
    padding: 0;
}

.tech-list > li {
    position: relative;
    padding: 12px;
    color: var(--text-secondary);
    background-color: var(--light-gray);
    border-radius: 8px;
    transition: var(--transition);
    font-size: 0.95rem;
}

.tech-list > li:hover {
    background-color: rgba(66, 133, 244, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.tech-list ul {
    list-style: none;
    padding: 8px 0 0 16px;
    margin: 4px 0 0 0;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.tech-list ul li {
    padding: 4px 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
    position: relative;
}

.tech-list ul li::before {
    content: '•';
    position: absolute;
    left: -12px;
    color: var(--primary-color);
}

/* CTA button */
.model-content .btn {
    align-self: flex-start;
    margin-top: 12px;
    padding: 12px 28px;
    border-radius: 50px;
    background-color: var(--primary-color);
    color: white;
    font-weight: 500;
    letter-spacing: 0.3px;
    box-shadow: 0 2px 10px rgba(66, 133, 244, 0.2);
    transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.model-content .btn:hover {
    background-color: #3b78e7;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(66, 133, 244, 0.25);
}

/* Coming Soon Section */
.soon-section {
    text-align: center;
    background-color: var(--light-gray);
}

.soon-section h2 {
    color: var(--primary-color);
    margin-bottom: 16px;
    font-weight: 600;
}

.coming-soon-placeholder {
    width: 150px;
    height: 150px;
    margin: 40px auto;
    border-radius: 50%;
    background-color: var(--light-color);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.placeholder-icon {
    font-size: 64px;
    color: var(--primary-color);
}

/* Contact Section - Modernized */
.contact-section {
    background-color: var(--light-gray);
    padding: 100px 0;
}

.contact-section h2 {
    font-size: 2.75rem;
    font-weight: 500;
    margin-bottom: 16px;
    color: var(--text-color);
    letter-spacing: -0.5px;
}

.contact-section .section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 64px;
    max-width: 600px;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
    background-color: var(--light-color);
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

/* Contact Info Section */
.contact-info {
    padding: 40px;
    background-color: rgba(0, 0, 0, 0.03);
    position: relative;
}

.contact-info::after {
    content: '';
    position: absolute;
    top: 20px;
    bottom: 20px;
    right: 0;
    width: 1px;
    background-color: var(--border-color);
}

.contact-info > p {
    margin-bottom: 32px;
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.6;
}

.contact-detail {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    color: var(--text-color);
    font-size: 1rem;
}

.contact-detail:last-child {
    margin-bottom: 0;
}

.contact-detail svg {
    margin-right: 16px;
    color: var(--primary-color);
    min-width: 20px;
}

/* Contact Form */
.contact-form {
    padding: 40px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 28px;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color 0.2s ease;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background-color: var(--light-color);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: var(--text-color);
    transition: all 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(66, 133, 244, 0.2);
}

.form-group:focus-within label {
    color: var(--primary-color);
}

.checkbox-group {
    position: relative;
}

.checkbox-group input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 20px;
    width: 20px;
    z-index: 2;
    top: 2px;
    left: 0;
}

.checkbox-group label {
    margin-left: 30px;
    position: relative;
    cursor: pointer;
    padding: 0;
    font-weight: 400;
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.checkbox-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 18px;
    height: 18px;
    border: 1px solid var(--border-color);
    border-radius: 3px;
    background-color: var(--light-color);
    transition: all 0.2s ease;
}

.checkbox-group input[type="checkbox"]:checked + .checkbox-wrapper::before {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.checkbox-group input[type="checkbox"]:checked + .checkbox-wrapper::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.contact-form .btn {
    margin-top: 15px;
    padding: 14px 32px;
    font-size: 1rem;
    border-radius: 50px;
    background-color: var(--primary-color);
    color: white;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 2px 10px rgba(66, 133, 244, 0.2);
}

.contact-form .btn:hover {
    background-color: #3b78e7;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(66, 133, 244, 0.25);
}

/* Form validation and success message styles */
.form-group input.error,
.form-group textarea.error {
    border-color: var(--danger-color);
    background-color: rgba(234, 67, 53, 0.03);
}

.error-message {
    color: var(--danger-color);
    font-size: 0.75rem;
    margin-top: 6px;
    font-weight: 500;
    opacity: 0;
    transform: translateY(-5px);
    animation: fadeInDown 0.3s forwards;
}

@keyframes fadeInDown {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.checkbox-wrapper.error::before {
    border-color: var(--danger-color);
}

.success-message {
    text-align: center;
    padding: 40px 20px;
    animation: fadeIn 0.5s forwards;
}

.success-message svg {
    margin: 0 auto 20px;
    display: block;
    color: var(--primary-color);
}

.success-message h3 {
    color: var(--text-color);
    font-size: 1.8rem;
    font-weight: 500;
    margin-bottom: 16px;
}

.success-message p {
    color: var(--text-secondary);
    max-width: 400px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Footer */
footer {
    background-color: var(--light-gray);
    padding: 64px 0 32px;
    color: var(--text-secondary);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    color: var(--text-color);
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 16px;
}

.footer-section p {
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.copyright {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid var(--border-color);
    font-size: 0.85rem;
}

/* Responsive Design */
@media (max-width: 992px) {
    .model-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .model-carousel {
        height: 400px;
    }
}

@media (max-width: 576px) {
    .model-section h2 {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }
    
    .model-carousel {
        height: 300px;
    }
    
    .carousel-prev,
    .carousel-next {
        width: 36px;
        height: 36px;
    }
    
    .model-description p {
        font-size: 1rem;
    }
    
    .model-tabs {
        flex-wrap: wrap;
    }
}

/* Mobile Navigation Styles */
@media (max-width: 768px) {

    .container {
        padding-top: 64px;
    }
    /* Fixed header styles */
    header {
        height: 64px;
        position: fixed;
        width: 100%;
        top: 0;
        left: 0;
        z-index: 1000;
    }
    
    header.scrolled {
        height: 60px;
    }
    
    header .container {
        padding: 0 16px;
    }
    
    /* Mobile menu button */
    .mobile-menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Mobile navigation */
    #main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: rgba(255, 255, 255, 0.98);
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
        transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        padding: 100px 0 0; /* Changed from 80px to 100px */
        z-index: 999;
        backdrop-filter: blur(12px) saturate(180%);
        -webkit-backdrop-filter: blur(12px) saturate(180%);
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }
    
    #main-nav.show {
        right: 0;
    }
    
    #main-nav ul {
        flex-direction: column;
        align-items: flex-start;
        height: auto;
        width: 100%;
    }
    
    #main-nav ul li {
        width: 100%;
        height: auto;
        opacity: 0;
        transform: translateX(20px);
        transition: opacity 0.3s ease, transform 0.3s ease;
        transition-delay: calc(0.05s * var(--item-index, 0));
    }
    
    #main-nav.show ul li {
        opacity: 1;
        transform: translateX(0);
    }
    
    #main-nav ul li a {
        padding: 16px 24px;
        width: 100%;
        height: auto;
        font-size: 1.1rem;
    }
    
    #main-nav ul li a::before {
        display: none;
    }
    
    #main-nav ul li a.active {
        background-color: rgba(66, 133, 244, 0.08);
        border-left: 3px solid var(--primary-color);
        padding-left: 21px;
    }
    
    /* Overlay for mobile menu */
    .overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.3);
        visibility: hidden;
        opacity: 0;
        transition: opacity 0.3s ease, visibility 0.3s ease;
        z-index: 998;
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
    }
    
    .menu-open .overlay {
        visibility: visible;
        opacity: 1;
    }
    
    /* Layout adjustments for fixed header */
    main {
        padding-top: 64px;
    }
    
    .video-overlay {
        padding-top: 0;
    }
    
    .hero {
        height: 100vh;
        margin-top: -64px;
    }
    
    /* Section adjustments */
    section:not(.hero) {
        padding-top: 40px;
        padding-bottom: 40px;
    }
    
    /* Model section adjustments */
    .model-section {
        padding: 60px 0;
    }
    
    .model-section h2 {
        font-size: 2.2rem;
        margin-bottom: 36px;
    }
    
    .model-specs {
        grid-template-columns: 1fr;
    }
    
    .tech-list {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .tech-list > li {
        padding: 10px;
    }
    
    .tech-list ul {
        padding: 6px 0 0 12px;
    }
    
    .model-carousel {
        height: 350px;
    }
    
    /* Contact form adjustments */
    .contact-container {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .contact-form,
    .contact-info {
        padding: 24px;
    }
    
    /* Video overlay text */
    .video-overlay h2 {
        font-size: 2.5rem;
    }
    
    .video-overlay p {
        font-size: 1.2rem;
    }
}

/* Additional Contact Form Styles */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* Mobile styles for the contact section */
@media (max-width: 768px) {
    .contact-section {
        padding: 80px 0;
    }
    
    .contact-section h2 {
        font-size: 2.25rem;
    }
    
    .contact-section .section-subtitle {
        font-size: 1rem;
        margin-bottom: 40px;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .contact-info {
        padding: 32px;
    }
    
    .contact-info::after {
        content: none;
    }
    
    .contact-form {
        padding: 32px;
        border-top: 1px solid var(--border-color);
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .contact-container:hover {
        transform: none;
    }
}

/* Form focus state */
.form-group.focused label {
    color: var(--primary-color);
    font-weight: 500;
}

/* Contact headings */
.contact-info h3,
.contact-form h3 {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 20px;
    color: var(--text-color);
}

.contact-info h3 {
    position: relative;
    padding-bottom: 12px;
}

.contact-info h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.equipment-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 12px;
    padding: 0;
}

.equipment-list li {
    position: relative;
    padding: 12px 12px 12px 32px;
    color: var(--text-secondary);
    background-color: var(--light-gray);
    border-radius: 8px;
    transition: var(--transition);
    font-size: 0.95rem;
}

.equipment-list li:hover {
    background-color: rgba(66, 133, 244, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.equipment-list li::before {
    content: '✓';
    position: absolute;
    left: 12px;
    color: var(--primary-color);
    font-weight: bold;
}

@media (max-width: 768px) {
    .equipment-list {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .equipment-list li {
        padding: 10px 10px 10px 28px;
    }
} 

/* Error Message Container Styles */
.error-message-container {
    background-color: rgba(234, 67, 53, 0.05);
    border: 1px solid rgba(234, 67, 53, 0.3);
    border-left: 4px solid var(--danger-color);
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 24px;
    animation: fadeInDown 0.3s forwards;
    box-shadow: 0 2px 8px rgba(234, 67, 53, 0.1);
}

.error-message-header {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.error-message-header svg {
    color: var(--danger-color);
    margin-right: 12px;
    flex-shrink: 0;
}

.error-message-header h3 {
    color: var(--danger-color);
    font-size: 1.1rem;
    font-weight: 500;
    margin: 0;
}

.error-message-list {
    margin: 0;
    padding-left: 48px;
    list-style-type: disc;
}

.error-message-list li {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 6px;
    line-height: 1.4;
}

.error-message-list li:last-child {
    margin-bottom: 0;
}

.error-message-container p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin: 0 0 0 36px;
    line-height: 1.5;
}

/* Individual field error messages */
.form-group .error-message {
    color: var(--danger-color);
    font-size: 0.8rem;
    margin-top: 4px;
    font-weight: 500;
    display: none;
}

/* Input field error state */
.form-group input.error-input,
.form-group textarea.error-input {
    border-color: var(--danger-color);
    background-color: rgba(234, 67, 53, 0.03);
}

.form-group.focused input.error-input,
.form-group.focused textarea.error-input {
    box-shadow: 0 0 0 2px rgba(234, 67, 53, 0.2);
}

/* Fix for checkbox error */
.checkbox-wrapper.error::before {
    border-color: var(--danger-color);
}

/* Animation */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Success message styling updates to match new error styling */
.success-message {
    background-color: rgba(52, 168, 83, 0.05);
    border: 1px solid rgba(52, 168, 83, 0.3);
    border-left: 4px solid var(--secondary-color);
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 24px;
    animation: fadeInDown 0.3s forwards;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    box-shadow: 0 2px 8px rgba(52, 168, 83, 0.1);
}

.success-message svg {
    color: var(--secondary-color);
    margin-bottom: 12px;
}

.success-message h3 {
    color: var(--secondary-color);
    font-size: 1.1rem;
    font-weight: 500;
    margin: 0 0 8px 0;
}

.success-message p {
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.5;
    font-size: 0.95rem;
}

/* Mobile adjustments */
@media (max-width: 576px) {
    .error-message-container,
    .success-message {
        padding: 12px;
    }
    
    .error-message-list {
        padding-left: 32px;
    }
    
    .error-message-container p {
        margin-left: 24px;
    }
    
    .error-message-header h3,
    .success-message h3 {
        font-size: 1rem;
    }
}