:root {
    --primary-color: #db4a2b;
    --bg-color: #e4e2dd;
    --text-color: black;
    --hover-color: #b62c0d;
    --button-bg: rgb(83, 83, 83);
    --button-hover: rgb(30, 30, 30);
    --section-padding: 4rem 2rem;
    --card-bg: #f5f5f5;
    --card-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    --border-radius: 8px;
    --transition: all 0.3s ease;
    --quote-text-color: #333;
    --quote-label-color: #666;
    --footer-border-color: rgba(0, 0, 0, 0.2);
    --input-border-color: rgba(0, 0, 0, 0.1);
    --form-focus-shadow: 0 0 0 2px rgba(219, 74, 43, 0.2);
    --menu-text-color: #e0e0e0;
    --page-header-gradient: linear-gradient(to right, #db4a2b, #b62c0d);
    --seo-bg-gradient: linear-gradient(to right bottom, #fff5e9, #f8f0e7);
    --seo-border-color: rgba(183, 62, 36, 0.1);
    --seo-circle-color: rgba(183, 62, 36, 0.05);
    --hamburger-color: #e0e0e0;
}

[data-theme="dark"] {
    --primary-color: #db4a2b;
    --bg-color: #121212;
    --text-color: #e0e0e0;
    --hover-color: #ff8066;
    --button-bg: rgb(60, 60, 60);
    --button-hover: rgb(80, 80, 80);
    --card-bg: #1e1e1e;
    --card-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    --quote-text-color: #d0d0d0;
    --quote-label-color: #a0a0a0;
    --footer-border-color: rgba(255, 255, 255, 0.1);
    --input-border-color: rgba(255, 255, 255, 0.1);
    --form-focus-shadow: 0 0 0 2px rgba(255, 99, 71, 0.4);
    --menu-text-color: #e0e0e0;
    --page-header-gradient: linear-gradient(to right, #db4a2b, #b62c0d);
    --seo-bg-gradient: linear-gradient(to right bottom, #202020, #1a1a1a);
    --seo-border-color: rgba(255, 99, 71, 0.2);
    --seo-circle-color: rgba(255, 99, 71, 0.1);
    --hamburger-color: #ffffff;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
  
body {
    margin: 0;
    font-family: 'Inter', 'Roboto', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.theme-switch-wrapper {
    position: fixed;
    top: 100px;
    right: 20px;
    z-index: 1001;
    display: flex;
    align-items: center;
    background-color: var(--primary-color);
    padding: 10px;
    border-radius: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
}

.theme-switch-wrapper:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.theme-switch {
    display: inline-block;
    height: 24px;
    position: relative;
    width: 50px;
}

.theme-switch input {
    display: none;
}

.slider {
    background-color: #ccc;
    bottom: 0;
    cursor: pointer;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    background-color: white;
    bottom: 4px;
    content: "";
    height: 16px;
    left: 4px;
    position: absolute;
    transition: .4s;
    width: 16px;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: var(--primary-color);
}

input:checked + .slider:before {
    transform: translateX(26px);
}

.slider:after {
    color: white;
    display: block;
    font-size: 12px;
    font-weight: bold;
    position: absolute;
    right: 8px;
    top: 3px;
}

.theme-icon {
    margin: 0 5px;
    font-size: 18px;
    color: white;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--primary-color);
    padding: 1rem 2rem;
    font-family: 'Roboto', sans-serif;
    border-bottom: 1px solid black;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease;
}
  
.logo {
    flex: 0 0 auto;
    margin-right: auto;
}
  
.logo img {
    height: 50px;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}
  
.logo img:hover {
    transform: scale(1.05);
}
  
.menu {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    z-index: 1000;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.menu a {
    text-decoration: none;
    color: var(--menu-text-color);
    font-size: 1.125rem;
    font-weight: 550;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}
  
.menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--menu-text-color);
    transition: width 0.3s ease;
}
  
.menu a:hover::after, .menu a.active::after {
    width: 100%;
}
  
.menu a:hover, .menu a.active {
    color: var(--menu-text-color);
    transform: translateY(-2px);
}
  
.burger-menu {
    margin-left: auto;
    flex: 0 0 auto;
    display: none;
    background: none;
    border: none;
    color: var(--hamburger-color);
    font-size: 1.75rem;
    cursor: pointer;
    transition: color 0.3s ease;
    text-align: right;
    z-index: 100;
}
  
.burger-menu:hover {
    color: var(--hover-color);
}
  
.cta-button {
    display: flex;
    justify-content: center;
    margin: 2rem 0;
}
  
.cta-button .button {
    background-color: var(--button-bg);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    color: white;
    font-weight: 600;
    font-size: 1.125rem;
    transition: all 0.3s ease;
    display: inline-block;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
  
.cta-button .button:hover {
    background-color: var(--button-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}
  
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.7));
    z-index: -1;
}

.hero-content {
    z-index: 1;
    text-align: center;
    max-width: 800px;
    padding: 0 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.brand-name {
    font-size: clamp(4rem, 8vw, 7rem);
    font-family: 'Bebas Neue', sans-serif;
    font-weight: 700;
    letter-spacing: 3px;
    margin: 0;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.tagline {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-family: 'Bebas Neue', sans-serif;
    font-weight: 400;
    letter-spacing: 4px;
    margin: 0;
    color: var(--primary-color);
}

.hero-description {
    font-size: clamp(1rem, 2vw, 1.4rem);
    letter-spacing: 2px;
    font-weight: 300;
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    font-family: 'Bebas Neue', sans-serif;
}

@media (max-width: 768px) {
    .hero-content {
        gap: 1rem;
    }
    
    .theme-switch-wrapper {
        top: auto;
        bottom: 20px;
        right: 20px;
    }
}
  
.quote-container {
    max-width: 800px;
    margin: 5rem auto;
    padding: 2rem;
    overflow: hidden;
}
  
.slide-in {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
  
.slide-in.visible {
    opacity: 1;
    transform: translateX(0);
}
  
.quote-text {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 300;
    line-height: 1.4;
    color: var(--quote-text-color);
    margin: 0;
    padding: 0;
    position: relative;
    transition: color 0.3s ease;
}
  
.quote-text::before {
    content: '"';
    font-size: 4rem;
    color: var(--primary-color);
    opacity: 0.3;
    position: absolute;
    left: -2rem;
    top: -1rem;
    transition: color 0.3s ease;
}
  
.quote-label {
    margin-top: 1.5rem;
    font-size: 1.125rem;
    color: var(--quote-label-color);
    font-weight: 600;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}
  
.logo-bar {
    width: 100%;
    height: 60px;
    background-color: var(--primary-color);
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease;
}
  
.sliding-logos-container {
    display: flex;
    align-items: center;
    position: absolute;
    height: 100%;
    left: 0;
    animation: slideLogos 60s linear infinite;
}
  
@keyframes slideLogos {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}
  
.sliding-logo {
    height: 80%;
    max-width: 200px;
    object-fit: contain;
    margin: 0 20px;
    filter: brightness(0.95);
    transition: filter 0.3s ease;
}
  
.sliding-logo:hover {
    filter: brightness(1.05);
}
  
footer {
    background-color: var(--bg-color);
    padding: 3rem 0 2rem;
    color: var(--text-color);
    transition: background-color 0.3s ease, color 0.3s ease;
}
  
.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem 1.5rem 0;
    border-top: 1px solid var(--footer-border-color);
    gap: 2rem;
    flex-wrap: wrap;
    text-align: center;
    transition: border-color 0.3s ease;
}
  
.footer-section {
    flex: 1;
    min-width: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
  
.logo-section img {
    height: 80px;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}
  
.logo-section img:hover {
    transform: scale(1.05);
}
  
.footer-section h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
    position: relative;
    padding-bottom: 0.5rem;
    text-align: center;
    color: var(--text-color);
    transition: color 0.3s ease;
}
  
.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
    transition: background-color 0.3s ease;
}
  
.footer-section p {
    margin: 0.75rem 0;
    font-size: 0.95rem;
    color: var(--text-color);
    transition: color 0.3s ease;
}
  
.links-section ul, .social-section ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
}

.links-section a, .social-section a {
    color: var(--text-color);
    text-decoration: none;
    transition: var(--transition);
    position: relative;
}

.links-section a:hover, .social-section a:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    justify-content: center;
}

.social-icon {
    width: 24px;
    height: 24px;
    transition: var(--transition);
    filter: invert(var(--invert-icons, 0));
}

[data-theme="dark"] .social-icon {
    --invert-icons: 1;
}

.social-icon:hover {
    transform: scale(1.2);
}

.page-header {
    position: relative;
    width: 100%;
    height: 40vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    background-image: var(--page-header-gradient);
    overflow: hidden;
    transition: background-image 0.3s ease;
}

.page-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.page-header-content {
    z-index: 2;
    max-width: 800px;
    padding: 0 1.5rem;
}

.page-header-content h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-family: 'Bebas Neue', sans-serif;
    margin: 0;
    color: white;
    letter-spacing: 1px;
}

.page-header-content p {
    font-size: clamp(1rem, 2vw, 1.2rem);
    margin-top: 1rem;
    color: rgba(255, 255, 255, 0.9);
}

.content-section {
    padding: var(--section-padding);
    max-width: 1200px;
    margin: 0 auto;
}

.about-container {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.about-intro, .project-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.about-intro h2, .project-intro h2, 
.team-section h2, .our-story h2, 
.values-section h2, .tech-section h2,
.implementation-section h2, .testimonials-section h2,
.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
    position: relative;
    display: inline-block;
    transition: color 0.3s ease;
}

.about-intro h2::after, .project-intro h2::after, 
.team-section h2::after, .our-story h2::after, 
.values-section h2::after, .tech-section h2::after,
.implementation-section h2::after, .testimonials-section h2::after,
.cta-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
    transition: background-color 0.3s ease;
}

.about-intro p, .project-intro p {
    font-size: 1.125rem;
    max-width: 700px;
    margin: 0 auto;
    color: var(--text-color);
    transition: color 0.3s ease;
}

.team-members {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.team-member {
    flex: 1;
    min-width: 250px;
    max-width: 350px;
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--card-shadow);
    transition: var(--transition), background-color 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.member-image {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 1.5rem;
    border: 3px solid var(--primary-color);
    transition: border-color 0.3s ease;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-member h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    transition: color 0.3s ease;
}

.member-role {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.story-content {
    display: flex;
    align-items: center;
    gap: 3rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.story-image {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    height: 400px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: box-shadow 0.3s ease;
}

.story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.story-text {
    flex: 1;
    min-width: 300px;
}

.story-text p {
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--text-color);
    transition: color 0.3s ease;
}

.values-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.value-card {
    flex: 1;
    min-width: 250px;
    max-width: 350px;
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 2rem 1.5rem;
    box-shadow: var(--card-shadow);
    text-align: center;
    transition: var(--transition), background-color 0.3s ease, box-shadow 0.3s ease;
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.value-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

.value-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
    transition: color 0.3s ease;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.feature-card {
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--card-shadow);
    transition: var(--transition), background-color 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    height: 80px;
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.feature-icon img {
    height: 100%;
    object-fit: contain;
    filter: var(--feature-icon-filter, none);
}

[data-theme="dark"] .feature-icon img {
    --feature-icon-filter: brightness(1.5);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
    transition: color 0.3s ease;
}

.tech-showcase {
    display: flex;
    align-items: center;
    gap: 3rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.tech-image {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    height: 400px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: box-shadow 0.3s ease;
}

.tech-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tech-details {
    flex: 1;
    min-width: 300px;
}

.tech-details h3 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
    transition: color 0.3s ease;
}

.tech-list {
    list-style-type: none;
    padding: 0;
}

.tech-list li {
    padding: 0.75rem 0;
    font-size: 1.125rem;
    border-bottom: 1px solid var(--input-border-color);
    position: relative;
    padding-left: 2rem;
    color: var(--text-color);
    transition: color 0.3s ease, border-color 0.3s ease;
}

.tech-list li:last-child {
    border-bottom: none;
}

.tech-list li::before {
    content: '✓';
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
    transition: color 0.3s ease;
}

.process-steps {
    display: flex;
    justify-content: space-between;
    margin-top: 3rem;
    position: relative;
    flex-wrap: wrap;
    gap: 2rem;
}

.process-step {
    flex: 1;
    min-width: 200px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-number {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1.5rem;
    transition: background-color 0.3s ease;
}

.process-step h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
    transition: color 0.3s ease;
}

.testimonials-container {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.testimonial-card {
    flex: 1;
    min-width: 300px;
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--card-shadow);
    transition: var(--transition), background-color 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.testimonial-content {
    font-size: 1.125rem;
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.7;
    position: relative;
    color: var(--text-color);
    transition: color 0.3s ease;
}

.testimonial-content::before {
    content: '"';
    font-size: 4rem;
    color: var(--primary-color);
    opacity: 0.2;
    position: absolute;
    left: -1.5rem;
    top: -1.5rem;
    transition: color 0.3s ease;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
}
.author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
    color: var(--text-color);
    transition: color 0.3s ease;
}

.author-info p {
    color: var(--quote-label-color);
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.cta-section {
    text-align: center;
    margin-top: 4rem;
    padding: 3rem 2rem;
    background-color: rgba(0, 0, 0, 0.03);
    border-radius: var(--border-radius);
    transition: background-color 0.3s ease;
}

[data-theme="dark"] .cta-section {
    background-color: rgba(255, 255, 255, 0.03);
}

.cta-section p {
    font-size: 1.125rem;
    max-width: 700px;
    margin: 1.5rem auto 2rem;
    color: var(--text-color);
    transition: color 0.3s ease;
}

@media (max-width: 1024px) {
    .menu {
        position: relative;
        left: auto;
        transform: none;
        gap: 1.5rem;
    }
    
    .logo {
        margin-right: 2rem;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 3rem 1.5rem;
    }
    
    .menu {
        position: fixed;
        top: 0;
        right: -100%;
        flex-direction: column;
        background-color: var(--primary-color);
        width: 70%;
        height: 100vh;
        padding: 5rem 2rem;
        transition: right 0.3s ease;
        justify-content: flex-start;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    }
    
    [data-theme="dark"] .menu {
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
    }
    
    .menu.active {
        right: 0;
    }
    
    .burger-menu {
        display: block;
        z-index: 10001;
    }
    
    .team-members, .values-container {
        gap: 3rem;
    }
    
    .story-content, .tech-showcase {
        gap: 2rem;
    }
    
    .process-steps::before {
        width: 0;
        height: 100%;
        left: 30px;
        gap: 2.5rem;
    }
    
    .process-step {
        padding-left: 60px;
        text-align: left;
        padding-left: 80px;
    }
    
    .step-number {
        position: absolute;
        left: 0;
        top: 0;
        margin: 0;
    }
}

@media (max-width: 480px) {
    :root {
        --section-padding: 2rem 1rem;
    }
    
    .hero-text h1 {
        font-size: clamp(2rem, 5vw, 3rem);
    }
    
    .quote-text {
        font-size: clamp(1.2rem, 4vw, 1.8rem);
    }
    
    .quote-text::before {
        font-size: 3rem;
        left: -1rem;
    }
    
    .footer-section {
        min-width: 100%;
    }
    
    .menu {
        width: 85%;
        padding: 5rem 1.5rem;
    }

    .hero-video {
        object-fit: cover;
        object-position: 20% center;
        position: absolute;
        top: 0;
        left: 0;
        z-index: -1;
    }
}

#formular-container {
    max-width: 700px;
    margin: 4rem auto;
    padding: 2.5rem;
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    transition: var(--transition), background-color 0.3s ease, box-shadow 0.3s ease;
}

#formular-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

[data-theme="dark"] #formular-container:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.zentriert {
    text-align: center;
}

#kontaktformular {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

#kontaktformular label {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    display: block;
    transition: color 0.3s ease;
}

#kontaktformular input, 
#kontaktformular textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--input-border-color);
    border-radius: 6px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    background-color: #fff;
    transition: all 0.3s ease;
}

[data-theme="dark"] #kontaktformular input, 
[data-theme="dark"] #kontaktformular textarea {
    background-color: #2d2d2d;
    color: var(--text-color);
    border-color: var(--input-border-color);
}

#kontaktformular input:focus, 
#kontaktformular textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: var(--form-focus-shadow);
}

#kontaktformular textarea {
    resize: vertical;
    min-height: 120px;
}

#kontaktformular button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 6px;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: center;
    margin-top: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

#kontaktformular button:hover {
    background-color: var(--hover-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

[data-theme="dark"] #kontaktformular button:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

#kontaktformular button:active {
    transform: translateY(0);
}

@media (max-width: 768px) {
    #formular-container {
        padding: 2rem 1.5rem;
        margin: 3rem 1rem;
    }
    
    #kontaktformular {
        gap: 1.25rem;
    }
}

@media (max-width: 480px) {
    #formular-container {
        padding: 1.5rem 1rem;
        margin: 2rem 0.75rem;
    }
    
    #kontaktformular button {
        width: 100%;
        padding: 0.75rem 1rem;
    }
}

@keyframes fieldFocus {
    0% { background-color: #fff; }
    50% { background-color: rgba(219, 74, 43, 0.05); }
    100% { background-color: #fff; }
}

[data-theme="dark"] {
    @keyframes fieldFocus {
        0% { background-color: #2d2d2d; }
        50% { background-color: rgba(255, 99, 71, 0.1); }
        100% { background-color: #2d2d2d; }
    }
}

#kontaktformular input:focus, 
#kontaktformular textarea:focus {
    animation: fieldFocus 1s ease;
}

.form-success {
    color: #2ecc71;
    text-align: center;
    padding: 1rem;
    margin-top: 1rem;
    font-weight: 500;
    border-radius: 6px;
    background-color: rgba(46, 204, 113, 0.1);
    transition: background-color 0.3s ease;
}

[data-theme="dark"] .form-success {
    background-color: rgba(46, 204, 113, 0.2);
}

.form-error {
    color: #e74c3c;
    text-align: center;
    padding: 1rem;
    margin-top: 1rem;
    font-weight: 500;
    border-radius: 6px;
    background-color: rgba(231, 76, 60, 0.1);
    transition: background-color 0.3s ease;
}

[data-theme="dark"] .form-error {
    background-color: rgba(231, 76, 60, 0.2);
}

#kontaktformular label::after {
    content: " *";
    color: var(--primary-color);
    transition: color 0.3s ease;
}

#kontaktformular label[for="telefon"]::after {
    content: "";
}

.seo-section {
    background: var(--seo-bg-gradient);
    padding: 5rem 2rem;
    margin: 4rem 0;
    position: relative;
    overflow: hidden;
    border-top: 1px solid var(--seo-border-color);
    border-bottom: 1px solid var(--seo-border-color);
    transition: background 0.3s ease, border-color 0.3s ease;
}

.seo-section::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background-color: var(--seo-circle-color);
    border-radius: 50%;
    z-index: 0;
    transition: background-color 0.3s ease;
}

.seo-section .container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.seo-text {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    transition: var(--transition);
}

.seo-text:hover {
    transform: translateY(-5px);
}

.seo-text h2 {
    color: var(--primary-color);
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.75rem;
    margin-bottom: 2rem;
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
    transition: color 0.3s ease;
}

.seo-text h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
    transition: width 0.3s ease, background-color 0.3s ease;
}

.seo-text:hover h2::after {
    width: 100px;
}

.seo-text p {
    color: var(--text-color);
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-weight: 400;
    transition: color 0.3s ease;
}

.seo-text p:last-of-type {
    margin-bottom: 0;
}

.seo-text .hashtag {
    color: var(--primary-color);
    font-weight: 600;
    transition: var(--transition), color 0.3s ease;
    position: relative;
    display: inline-block;
}

.seo-text .hashtag::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease, background-color 0.3s ease;
}

.seo-text .hashtag:hover::after {
    width: 100%;
}

@media (max-width: 768px) {
    .seo-section {
        padding: 4rem 1.5rem;
        margin: 3rem 0;
    }
    
    .seo-text h2 {
        font-size: 2.25rem;
        margin-bottom: 1.5rem;
    }
    
    .seo-text p {
        font-size: 1rem;
        line-height: 1.7;
    }
}

@media (max-width: 480px) {
    .seo-section {
        padding: 3rem 1rem;
        margin: 2rem 0;
    }
    
    .seo-text h2 {
        font-size: 2rem;
    }
}

[data-theme="dark"] ::-webkit-scrollbar {
    width: 12px;
}

[data-theme="dark"] ::-webkit-scrollbar-track {
    background: #1a1a1a;
}

[data-theme="dark"] ::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 6px;
}

[data-theme="dark"] ::-webkit-scrollbar-thumb:hover {
    background: var(--hover-color);
}

@media (prefers-reduced-motion: reduce) {
    * {
        transition: none !important;
        animation: none !important;
    }
    
    .sliding-logos-container {
        animation: none !important;
    }
}

a:focus, button:focus, input:focus, textarea:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

@media print {
    body {
        background-color: white !important;
        color: black !important;
    }
    
    .nav-container, .burger-menu, .theme-switch-wrapper, 
    .footer-container, .logo-bar, .cta-button {
        display: none !important;
    }
    
    .hero, .page-header {
        height: auto !important;
        color: black !important;
        background: none !important;
    }
    
    .hero-overlay, .page-header-overlay {
        display: none !important;
    }
    
    .content-section {
        padding: 1rem 0 !important;
    }
    
    a {
        color: black !important;
        text-decoration: underline !important;
    }
    
    .card-shadow, .box-shadow {
        box-shadow: none !important;
    }
}