:root {
    --primary-color: #004C99;
    --secondary-color: #FFFFFF;
    --light-gray: #F5F5F5;
    --text-dark: #333333;
    --text-light: #666666;
    --accent-color: #0066CC;
    --success-color: #28a745;
    --error-color: #dc3545;
    --gradient-primary: linear-gradient(135deg, #004C99 0%, #0066CC 100%);
    --gradient-hover: linear-gradient(135deg, #0066CC 0%, #0080FF 100%);
    --gradient-dark: linear-gradient(135deg, #1a1a1a 0%, #333333 100%);
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.08);
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 20px 60px rgba(0, 76, 153, 0.25);
    --shadow-colored: 0 10px 40px rgba(0, 76, 153, 0.3);
}

body.dark-mode {
    --primary-color: #0066CC;
    --secondary-color: #1a1a1a;
    --light-gray: #2a2a2a;
    --text-dark: #e0e0e0;
    --text-light: #b0b0b0;
    --accent-color: #0080FF;
    --gradient-primary: linear-gradient(135deg, #0066CC 0%, #0080FF 100%);
    --gradient-hover: linear-gradient(135deg, #0080FF 0%, #00A3FF 100%);
    --gradient-dark: linear-gradient(135deg, #2a2a2a 0%, #404040 100%);
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.3);
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.6);
    --shadow-xl: 0 20px 60px rgba(0, 102, 204, 0.4);
    --shadow-colored: 0 10px 40px rgba(0, 102, 204, 0.5);
}

body.dark-mode {
    background-color: #1a1a1a;
    color: #e0e0e0;
}

body.dark-mode header {
    background: rgba(26, 26, 26, 0.95);
}

body.dark-mode header.scrolled {
    background: rgba(26, 26, 26, 0.98);
}

body.dark-mode .nav-links {
    background: rgba(26, 26, 26, 0.98);
}

body.dark-mode .service-card,
body.dark-mode .testimonial-card,
body.dark-mode .contact-form,
body.dark-mode .modal-content {
    background: var(--light-gray);
}

body.dark-mode .info-item {
    background: var(--light-gray);
}

body.dark-mode .form-group input,
body.dark-mode .form-group textarea,
body.dark-mode .form-group select {
    background: #2a2a2a;
    border-color: #404040;
    color: var(--text-dark);
}

.form-group.has-error input,
.form-group.has-error textarea,
.form-group.has-error select {
    border-color: var(--error-color) !important;
    background-color: #fff8f8 !important;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1) !important;
}

body.dark-mode .form-group.has-error input,
body.dark-mode .form-group.has-error textarea,
body.dark-mode .form-group.has-error select {
    border-color: #ff6b6b !important;
    background-color: #2a1a1a !important;
}

.form-group.is-valid input,
.form-group.is-valid textarea,
.form-group.is-valid select {
    border-color: var(--success-color) !important;
}

.field-error {
    display: none;
    color: var(--error-color);
    font-size: 0.75rem;
    margin-top: 5px;
}

.form-group.has-error .field-error {
    display: block;
}

body.dark-mode .field-error {
    color: #ff6b6b;
}

.notification-container {
    position: fixed;
    top: 100px;
    right: 30px;
    z-index: 10000;
    pointer-events: none;
}

.notification {
    background: white;
    padding: 20px 25px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    margin-bottom: 15px;
    min-width: 320px;
    max-width: 400px;
    display: flex;
    align-items: center;
    gap: 15px;
    pointer-events: all;
    transform: translateX(450px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.notification.show {
    transform: translateX(0);
    opacity: 1;
}

.notification.success {
    border-left: 5px solid #28a745;
}

.notification.error {
    border-left: 5px solid #dc3545;
}

.notification-icon {
    font-size: 28px;
    flex-shrink: 0;
}

.notification.success .notification-icon {
    color: #28a745;
}

.notification.error .notification-icon {
    color: #dc3545;
}

.notification-content {
    flex: 1;
}

.notification-title {
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 5px;
    color: var(--text-dark);
}

.notification-message {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.4;
}

.notification-close {
    cursor: pointer;
    color: var(--text-light);
    font-size: 20px;
    transition: color 0.3s ease;
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.notification-close:hover {
    color: var(--text-dark);
}

body.dark-mode .notification {
    background: var(--light-gray);
}

body.dark-mode .notification-title {
    color: var(--text-dark);
}

body.dark-mode .notification-message {
    color: var(--text-light);
}

@media (max-width: 768px) {
    .notification-container {
        left: 20px;
        right: 20px;
        top: 80px;
    }

    .notification {
        min-width: auto;
        max-width: 100%;
    }
}

.dark-mode-toggle {
    background: var(--gradient-primary);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.dark-mode-toggle:hover {
    background: var(--gradient-hover);
    transform: scale(1.1);
    box-shadow: var(--shadow);
}

.dark-mode-toggle i {
    color: white;
    font-size: 1.1rem;
}

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

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

.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--gradient-primary);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 5px solid rgba(255, 255, 255, 0.3);
    border-top: 5px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

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

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo img {
    height: 50px;
    width: auto;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-text .company-name {
    font-size: 1.4rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.logo-text .company-subtitle {
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 400;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
    padding: 5px 0;
}

.nav-links a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

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

.nav-links a:hover::before {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--gradient-primary);
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 3px;
}

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

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

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

.hero {
    background-image: url('bilder/start/hintergrund1.png');
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    background-repeat: no-repeat;
    margin-top: 80px;
    padding: 120px 5%;
    min-height: 700px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    will-change: transform;
    transform: translateZ(0);
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    z-index: 1;
    position: relative;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(245, 250, 255, 0.98) 100%);
    padding: 4rem;
    border-radius: 30px;
    box-shadow: 0 25px 80px rgba(0, 76, 153, 0.25), 
                0 10px 40px rgba(0, 0, 0, 0.15),
                inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.5);
    will-change: transform;
    transform: translateZ(0);
}

.hero h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 4.2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #001f3f 0%, #004C99 40%, #0066CC 70%, #0080FF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.8rem;
    line-height: 1.2;
    opacity: 0;
    animation: heroTextModern 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    letter-spacing: -1px;
    position: relative;
    text-shadow: none;
}

@keyframes heroTextModern {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.hero h1 span {
    background: linear-gradient(135deg, #004C99 0%, #0066CC 50%, #0080FF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 900;
    position: relative;
    display: inline-block;
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% {
        filter: brightness(1);
    }
    50% {
        filter: brightness(1.3);
    }
}

.hero p {
    font-size: 1.4rem;
    color: #2c3e50;
    font-weight: 400;
    margin-bottom: 2.5rem;
    max-width: 700px;
    opacity: 0;
    line-height: 1.9;
    animation: heroTextModern 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s forwards;
    letter-spacing: 0.3px;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    opacity: 0;
    animation: heroTextModern 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) 0.4s forwards;
}

.btn-primary, .btn-secondary {
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: var(--text-dark);
    box-shadow: 0 5px 15px rgba(255, 193, 7, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(255, 193, 7, 0.4);
}

.btn-secondary {
    background: var(--gradient-primary);
    color: var(--secondary-color);
    box-shadow: 0 5px 15px rgba(0, 76, 153, 0.3);
}

.btn-secondary:hover {
    background: var(--gradient-hover);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 76, 153, 0.4);
}

.features {
    padding: 100px 5%;
    background: linear-gradient(180deg, var(--light-gray) 0%, var(--secondary-color) 100%);
    position: relative;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.feature-card {
    background: var(--secondary-color);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    transform: translateY(-100%);
    transition: transform 0.4s ease;
    opacity: 0.95;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.feature-card:hover::before {
    transform: translateY(0);
}

.feature-card:hover .feature-icon,
.feature-card:hover h3,
.feature-card:hover p {
    color: var(--secondary-color);
    position: relative;
    z-index: 1;
}

.feature-icon {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    transition: all 0.4s ease;
    display: inline-block;
}

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

.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    color: var(--text-dark);
    transition: all 0.4s ease;
    font-weight: 600;
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.8;
    transition: all 0.4s ease;
}

.services {
    padding: 100px 5%;
    background-color: var(--secondary-color);
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

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

.section-header p {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 1.5rem auto 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.service-card {
    background: var(--secondary-color);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    cursor: pointer;
    box-shadow: var(--shadow);
    position: relative;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: var(--shadow-xl);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card.featured {
    border: 6px solid #004C99;
    box-shadow: 0 15px 50px rgba(0, 76, 153, 0.5), 
                0 0 40px rgba(0, 102, 204, 0.6),
                0 0 80px rgba(0, 102, 204, 0.3);
    transform: scale(1.02);
    animation: glowPulse 3s ease-in-out infinite;
}

.service-card.featured::after {
    content: 'Beliebt';
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #004C99 0%, #0066CC 100%);
    color: white;
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 5px 20px rgba(0, 76, 153, 0.6),
                0 0 30px rgba(0, 102, 204, 0.7),
                0 0 50px rgba(0, 102, 204, 0.4);
    z-index: 10;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes glowPulse {
    0%, 100% {
        box-shadow: 0 15px 50px rgba(0, 76, 153, 0.5), 
                    0 0 40px rgba(0, 102, 204, 0.6),
                    0 0 80px rgba(0, 102, 204, 0.3);
    }
    50% {
        box-shadow: 0 15px 50px rgba(0, 76, 153, 0.7), 
                    0 0 60px rgba(0, 102, 204, 0.9),
                    0 0 100px rgba(0, 102, 204, 0.5);
    }
}

.service-card.featured:hover {
    transform: translateY(-15px) scale(1.04);
    box-shadow: 0 20px 60px rgba(0, 76, 153, 0.6),
                0 0 70px rgba(0, 102, 204, 0.8),
                0 0 120px rgba(0, 102, 204, 0.5);
    border-color: #0066CC;
}

.service-image {
    height: 240px;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-card:nth-child(1) .service-image {
    background-image: url('bilder/start/Unterhaltsreinigung.png');
}

.service-card:nth-child(2) .service-image {
    background-image: url('bilder/start/Grundreinigung.png');
}

.service-card:nth-child(3) .service-image {
    background-image: url('bilder/start/Glasreinigung.png');
}

.service-card:nth-child(4) .service-image {
    background-image: url('bilder/start/Jalousienreinigung.png');
}

.service-card:nth-child(5) .service-image {
    background-image: url('bilder/start/Fassadenreinigung.png');
}

.service-card:nth-child(6) .service-image {
    background-image: url('bilder/start/PV-Anlagenreinigung.png');
}

.service-content {
    padding: 2rem;
}

.service-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-weight: 600;
}

.service-content p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.service-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.service-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.service-link:hover {
    gap: 15px;
    color: var(--accent-color);
}

.service-link:hover::after {
    width: 100%;
}

.about {
    padding: 100px 5%;
    background: var(--secondary-color);
    position: relative;
}

.about-container {
    max-width: 1400px;
    margin: 0 auto;
}

.about-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
    background: var(--secondary-color);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image-side {
    background-image: url('bilder/start/aboutus.png');
    background-size: cover;
    background-position: center;
    min-height: 500px;
}

.about-content-side {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-content-side h2 {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 2rem;
}

.about-text-content {
    margin-bottom: 2rem;
}

.about-text-content p {
    color: var(--text-dark);
    line-height: 1.9;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.about-text-content .highlight {
    font-weight: 700;
    color: var(--primary-color);
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--light-gray);
    padding: 1.2rem;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.about-feature:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow);
}

.about-feature i {
    font-size: 2rem;
    color: var(--primary-color);
}

.about-feature-text h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.2rem;
}

.about-feature-text p {
    font-size: 0.9rem;
    color: var(--text-light);
}

.cta {
    background: var(--gradient-primary);
    padding: 120px 5%;
    text-align: center;
    color: var(--secondary-color);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 0;
}

.bubble {
    position: absolute;
    bottom: -100px;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.3) 40%, rgba(255, 255, 255, 0.1) 70%, transparent);
    border-radius: 50%;
    opacity: 0;
    pointer-events: none;
    box-shadow: 
        inset 0 0 20px rgba(255, 255, 255, 0.5),
        0 0 20px rgba(255, 255, 255, 0.2);
    animation: rise linear infinite;
}

@keyframes rise {
    0% {
        bottom: -100px;
        opacity: 0;
        transform: translateX(0) scale(1);
    }
    10% {
        opacity: 0.7;
    }
    50% {
        opacity: 0.8;
    }
    90% {
        opacity: 0.3;
    }
    100% {
        bottom: 110%;
        opacity: 0;
        transform: translateX(var(--drift)) scale(0.8);
    }
}

@keyframes wobble {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(10px); }
    75% { transform: translateX(-10px); }
}

.bubble:nth-child(1) {
    width: 60px;
    height: 60px;
    left: 10%;
    animation-duration: 8s;
    animation-delay: 0s;
    --drift: 30px;
}

.bubble:nth-child(2) {
    width: 40px;
    height: 40px;
    left: 25%;
    animation-duration: 10s;
    animation-delay: 2s;
    --drift: -20px;
}

.bubble:nth-child(3) {
    width: 80px;
    height: 80px;
    left: 40%;
    animation-duration: 12s;
    animation-delay: 1s;
    --drift: 40px;
}

.bubble:nth-child(4) {
    width: 35px;
    height: 35px;
    left: 55%;
    animation-duration: 9s;
    animation-delay: 3s;
    --drift: -30px;
}

.bubble:nth-child(5) {
    width: 70px;
    height: 70px;
    left: 70%;
    animation-duration: 11s;
    animation-delay: 0.5s;
    --drift: 25px;
}

.bubble:nth-child(6) {
    width: 45px;
    height: 45px;
    left: 85%;
    animation-duration: 10s;
    animation-delay: 2.5s;
    --drift: -35px;
}

.bubble:nth-child(7) {
    width: 50px;
    height: 50px;
    left: 15%;
    animation-duration: 13s;
    animation-delay: 4s;
    --drift: 20px;
}

.bubble:nth-child(8) {
    width: 30px;
    height: 30px;
    left: 32%;
    animation-duration: 7s;
    animation-delay: 1.5s;
    --drift: -15px;
}

.bubble:nth-child(9) {
    width: 55px;
    height: 55px;
    left: 48%;
    animation-duration: 9.5s;
    animation-delay: 3.5s;
    --drift: 35px;
}

.bubble:nth-child(10) {
    width: 65px;
    height: 65px;
    left: 63%;
    animation-duration: 11.5s;
    animation-delay: 0.8s;
    --drift: -25px;
}

.bubble:nth-child(11) {
    width: 38px;
    height: 38px;
    left: 78%;
    animation-duration: 8.5s;
    animation-delay: 2.8s;
    --drift: 28px;
}

.bubble:nth-child(12) {
    width: 42px;
    height: 42px;
    left: 92%;
    animation-duration: 10.5s;
    animation-delay: 1.8s;
    --drift: -22px;
}

.bubble:nth-child(13) {
    width: 48px;
    height: 48px;
    left: 5%;
    animation-duration: 12.5s;
    animation-delay: 4.5s;
    --drift: 32px;
}

.bubble:nth-child(14) {
    width: 36px;
    height: 36px;
    left: 20%;
    animation-duration: 9.2s;
    animation-delay: 0.3s;
    --drift: -18px;
}

.bubble:nth-child(15) {
    width: 52px;
    height: 52px;
    left: 58%;
    animation-duration: 10.8s;
    animation-delay: 3.2s;
    --drift: 26px;
}

.cta-content {
    position: relative;
    z-index: 10;
}

.cta h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.cta p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.cta .btn-primary {
    background: linear-gradient(135deg, var(--secondary-color), var(--light-gray));
    color: var(--primary-color);
    box-shadow: 0 5px 20px rgba(255, 255, 255, 0.3);
}

.cta .btn-primary:hover {
    background: linear-gradient(135deg, var(--light-gray), var(--secondary-color));
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.5);
    transform: translateY(-5px) scale(1.05);
}

.cta .btn-secondary:hover {
    transform: translateY(-5px);
}

.contact-form-container {
    color: #333333;
    max-width: 650px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-radius: 25px;
    padding: 3rem;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    display: none;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.contact-form-container.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.contact-form h3 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 0.5rem;
    text-align: center;
    font-weight: 700;
}

.contact-form .form-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 2rem;
    font-size: 1rem;
}

.form-group {
    margin-bottom: 1.8rem;
    position: relative;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 0;
}

.form-row .form-group {
    margin-bottom: 1.8rem;
}

.form-group label {
    display: block;
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 0.7rem;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.form-group label i {
    color: var(--primary-color);
    margin-right: 5px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1.2rem 1.5rem;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
    background: var(--secondary-color);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(0, 76, 153, 0.1);
    transform: translateY(-2px);
}

.form-group textarea {
    resize: vertical;
    min-height: 140px;
}

.form-submit {
    background: var(--gradient-primary);
    color: var(--secondary-color);
    border: none;
    padding: 1.2rem 3rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s ease;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 5px 15px rgba(0, 76, 153, 0.3);
}

.form-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 76, 153, 0.4);
    background: var(--gradient-hover);
}

.form-submit:active {
    transform: translateY(-1px);
}

.form-submit i {
    transition: transform 0.3s ease;
}

.form-submit:hover i {
    transform: translateX(5px);
}

.trust {
    padding: 100px 5%;
    background: linear-gradient(180deg, var(--light-gray) 0%, var(--secondary-color) 100%);
}

.trust-badges {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    margin-top: 4rem;
}

.trust-badge {
    text-align: center;
    background: var(--secondary-color);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    min-width: 200px;
}

.trust-badge:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: var(--shadow-xl);
}

.trust-badge i {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    transition: all 0.4s ease;
}

.trust-badge:hover i {
    transform: rotateY(360deg);
    color: var(--accent-color);
}

.trust-badge h4 {
    color: var(--text-dark);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.trust-badge .counter {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
    display: block;
    margin-bottom: 0.5rem;
}

.trust-badge p {
    color: var(--text-light);
    font-size: 1rem;
}

.reviews-map {
    padding: 100px 5%;
    background: var(--secondary-color);
}

.reviews-map-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.reviews-section {
    background: var(--light-gray);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow);
}

.reviews-section h3 {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 2rem;
    text-align: center;
}

.google-reviews-embed {
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.map-section {
    background: var(--light-gray);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow);
}

.map-section h3 {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 2rem;
    text-align: center;
}

.google-map {
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

#gsar-map {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 10px;
}

.google-map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

footer {
    background: var(--gradient-dark);
    color: #fff;
    padding: 60px 5% 20px;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
    animation: footerLine 3s linear infinite;
}

@keyframes footerLine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    margin-bottom: 1.5rem;
    color: #fff;
    font-size: 1.3rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
    transition: transform 0.3s ease;
    color: rgba(255,255,255,0.8);
}

.footer-section ul li:hover {
    transform: translateX(5px);
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-section a:hover {
    color: #fff;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    display: inline-flex;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.social-links a:hover {
    background: var(--gradient-primary);
    transform: translateY(-5px) rotate(360deg);
    border-color: #fff;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
    margin: 0 10px;
}

.footer-bottom a:hover {
    color: #fff;
}

.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: var(--secondary-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
    z-index: 99;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

@media (max-width: 968px) {
    .nav-links {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.98);
        width: 100%;
        text-align: center;
        transition: left 0.3s ease;
        box-shadow: var(--shadow);
        padding: 2rem 0;
        gap: 0;
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-links li {
        margin: 1rem 0;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .about-box {
        grid-template-columns: 1fr;
    }
    
    .about-image-side {
        min-height: 300px;
    }
    
    .about-content-side {
        order: 2;
        padding: 2rem 1.5rem;
    }
    
    .about-content-side h2 {
        font-size: 1.8rem;
    }
    
    .about-text-content p {
        font-size: 0.95rem;
        line-height: 1.7;
    }
    
    .about-features {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .reviews-map-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .google-map,
    #gsar-map {
        height: 300px;
        min-height: 300px;
    }

    .google-reviews-embed {
        height: 300px;
    }

    .map-section,
    .reviews-section {
        padding: 1.2rem;
    }

    .map-section h3,
    .reviews-section h3 {
        font-size: 1.4rem;
        margin-bottom: 1rem;
    }

    .reviews-map {
        padding: 50px 4%;
    }
    
    .trust-badges {
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: 600px;
        padding: 80px 5%;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
}

.char-counter {
    font-size: 0.78rem;
    color: var(--text-light);
    text-align: right;
    margin-top: 4px;
    transition: color 0.2s;
}
.char-counter.warn { color: #e67e22; }
.char-counter.ok   { color: var(--success-color); }

.file-upload-area {
    border: 2px dashed #c0c0c0;
    border-radius: 12px;
    padding: 1.2rem 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #fafafa;
    position: relative;
}
body.dark-mode .file-upload-area {
    background: #2a2a2a;
    border-color: #505050;
}
.file-upload-area:hover,
.file-upload-area.dragover {
    border-color: var(--primary-color);
    background: rgba(0,76,153,0.04);
}
.file-upload-area input[type="file"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    width: 100%;
    height: 100%;
}
.file-upload-area i { font-size: 1.6rem; color: var(--primary-color); margin-bottom: 6px; display: block; }
.file-upload-area p { margin: 0; font-size: 0.88rem; color: var(--text-light); }
.file-upload-area strong { color: var(--text-dark); }
.file-preview-list {
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.file-preview-item {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--light-gray);
    border-radius: 8px;
    padding: 5px 10px;
    font-size: 0.82rem;
    color: var(--text-dark);
}
.file-preview-item .remove-file {
    cursor: pointer;
    color: #dc3545;
    font-size: 0.9rem;
    margin-left: 4px;
}
.file-upload-error {
    color: #dc3545;
    font-size: 0.82rem;
    margin-top: 6px;
    display: none;
}

::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--light-gray);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gradient-hover);
}

.google-reviews-embed {
    height: auto;
    min-height: 400px;
    display: block;
    text-align: left;
}

.reviews-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 400px;
    font-size: 2rem;
    color: var(--primary-color);
}

.gr-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1.2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0,0,0,0.08);
}

.gr-logo {
    font-size: 2rem;
    color: #4285F4;
    flex-shrink: 0;
}

.gr-score {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
}

.gr-count {
    font-size: 0.82rem;
    color: var(--text-light);
    margin-top: 2px;
}

.gr-btn {
    margin-left: auto;
    background: var(--gradient-primary);
    color: #fff;
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 600;
    white-space: nowrap;
    transition: opacity 0.2s;
}

.gr-btn:hover { opacity: 0.85; }

.gr-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.gr-card {
    background: var(--secondary-color);
    border-radius: 12px;
    padding: 14px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.06);
}

body.dark-mode .gr-card {
    background: #333;
    border-color: rgba(255,255,255,0.08);
}

.gr-card-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.gr-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.gr-name {
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-dark);
}

.gr-time {
    font-size: 0.75rem;
    color: var(--text-light);
}

.gr-stars {
    font-size: 0.75rem;
    margin-bottom: 6px;
}

.gr-text {
    font-size: 0.82rem;
    color: var(--text-light);
    line-height: 1.5;
}

@media (max-width: 600px) {
    .gr-list {
        grid-template-columns: 1fr;
    }
}

.gr-avatar-fb {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
}