/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #FF6B35;
    --primary-dark: #E55A2E;
    --primary-light: #FF8559;
    --primary-lighter: #FFA07A;
    --secondary-color: #2C3E50;
    --black: #1A1A1A;
    --black-light: #2D2D2D;
    --black-lighter: #404040;
    --text-dark: #1A1A1A;
    --text-light: #2D2D2D;
    --text-muted: #666666;
    --white: #FFFFFF;
    --light-gray: #F8F9FA;
    --medium-gray: #E5E7EB;
    --dark-gray: #374151;
    --orange-bg: #f1bb85;
    --orange-light: #f1bb85;
    --border-color: #E5E7EB;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-orange: 0 4px 20px rgba(255, 107, 53, 0.15);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
    background-color: transparent;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(180deg, rgba(17, 24, 39, 0.88) 0%, rgba(17, 24, 39, 0.6) 100%),
        url("images/background/bg-new.jpg") center center / cover no-repeat;
    background-blend-mode: overlay;
    pointer-events: none;
    will-change: transform;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    background: linear-gradient(90deg, var(--white) 0%, var(--orange-light) 100%);
    box-shadow: var(--shadow-orange);
    border-bottom: 2px solid var(--primary-color);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 85px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-image {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    color: var(--primary-color);
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: -0.025em;
}

/* Responsive logo adjustments */
@media (max-width: 768px) {
    .logo-text {
        font-size: 1.1rem;
    }
    
    .logo-image {
        height: 35px;
    }
}

@media (max-width: 480px) {
    .logo-text {
        display: none;
    }
    
    .logo-image {
        height: 40px;
    }
}

.nav-menu {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav-menu li {
    list-style: none;
    margin: 0;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 85px;
    color: var(--white);
    background: transparent;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(17, 24, 39, 0.75), rgba(17, 24, 39, 0.45));
    z-index: 0;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -0.025em;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    max-width: 500px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 0.875rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    border: 2px solid transparent;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-logo {
    width: clamp(220px, 28vw, 360px);
    height: auto;
    max-width: 100%;
    filter: drop-shadow(0 28px 45px rgba(15, 23, 42, 0.45));
}

/* Sections */
section {
    position: relative;
    padding: 5rem 0;
}

section:nth-of-type(even):not(.hero) {
    background: rgba(255, 255, 255, 0.85);
    color: var(--text-dark);
    backdrop-filter: blur(6px);
}

section:nth-of-type(odd):not(.hero) {
    background: rgba(17, 24, 39, 0.8);
    color: var(--white);
    backdrop-filter: blur(6px);
}

section:nth-of-type(odd):not(.hero) h2 {
    color: var(--white);
}

section:nth-of-type(odd):not(.hero) .section-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-orange);
    transition: var(--transition);
    border-top: 4px solid var(--primary-color);
    border-left: 2px solid var(--primary-light);
}

.service-card:hover {
    transform: translateY(-8px);
    background: linear-gradient(135deg, var(--white) 0%, var(--orange-light) 100%);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.service-card h3 {
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.service-card ul {
    list-style: none;
}

.service-card li {
    padding: 0.5rem 0;
    color: var(--text-light);
    position: relative;
    padding-left: 1.5rem;
}

.service-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-text h2 {
    text-align: left;
    margin-bottom: 1.5rem;
}

.about-text p {
    font-size: 1.125rem;
    color: inherit;
    margin-bottom: 2rem;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.feature i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 0.25rem;
    min-width: 24px;
}

.feature h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: inherit;
    margin-bottom: 0.25rem;
}

.feature p {
    color: inherit;
    opacity: 0.8;
    font-size: 0.95rem;
    margin: 0;
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.stat {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, var(--white) 0%, var(--orange-light) 100%);
    border-radius: 12px;
    box-shadow: var(--shadow-orange);
    border: 2px solid var(--primary-color);
}

.stat h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat p {
    color: var(--text-dark);
    font-weight: 500;
}

/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    aspect-ratio: 4/3;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 18px 35px rgba(15, 23, 42, 0.35);
    backdrop-filter: blur(6px);
}

.gallery-item:hover {
    transform: scale(1.02);
    box-shadow: 0 24px 45px rgba(15, 23, 42, 0.45);
    border-color: rgba(255, 255, 255, 0.55);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

 .gallery-item:hover img {
    transform: scale(1.06);
}

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    background: rgba(255, 255, 255, 0.12);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.35);
    backdrop-filter: blur(14px);
}

.contact-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    background: rgba(17, 24, 39, 0.35);
    padding: 1.5rem 1.75rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(16px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
    color: var(--white);
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 0.25rem;
    min-width: 24px;
}

.contact-item h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0.25rem;
}

.contact-item p {
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.95rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    background: rgba(255, 255, 255, 0.12);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.35);
    backdrop-filter: blur(14px);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid rgba(17, 24, 39, 0.12);
    border-radius: 10px;
    font-size: 0.95rem;
    font-family: inherit;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.92);
    color: var(--text-dark);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form ::placeholder {
    color: rgba(17, 24, 39, 0.55);
}

.contact-alternatives {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.form-note {
    margin-bottom: 1rem;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.btn-email-direct {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    transition: var(--transition);
}

.btn-email-direct:hover {
    text-decoration: none;
    transform: translateY(-2px);
}

/* Cookie Notice */
.cookie-notice {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translate(-50%, 30px);
    width: min(560px, calc(100% - 2.5rem));
    background: rgba(15, 23, 42, 0.92);
    color: rgba(248, 250, 252, 0.95);
    border: 1px solid rgba(148, 163, 184, 0.35);
    border-radius: 18px;
    padding: 1.5rem;
    box-shadow: 0 30px 60px rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(18px);
    z-index: 1500;
    opacity: 0;
    pointer-events: none;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.cookie-notice.show {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, 0);
}

.cookie-content {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.cookie-text {
    display: flex;
    align-items: center;
    gap: 1rem;
    line-height: 1.5;
    color: rgba(248, 250, 252, 0.95);
    font-size: 0.95rem;
}

.cookie-text i {
    font-size: 1.75rem;
    color: var(--primary-light);
}

.cookie-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.cookie-actions .btn {
    background: var(--primary-color);
    border-color: rgba(255, 255, 255, 0.25);
    color: var(--white);
    box-shadow: 0 12px 25px rgba(255, 107, 53, 0.35);
}

.cookie-actions .btn:hover {
    background: var(--primary-dark);
    border-color: rgba(255, 255, 255, 0.35);
}

.cookie-link {
    color: rgba(248, 250, 252, 0.85);
    text-decoration: underline;
    font-weight: 500;
}

.cookie-link:hover {
    color: var(--primary-light);
}

@media (max-width: 640px) {
    .cookie-notice {
        bottom: 1rem;
        width: calc(100% - 1.5rem);
        padding: 1.25rem;
        border-radius: 16px;
    }

    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .cookie-actions {
        width: 100%;
        justify-content: stretch;
    }

    .cookie-actions .btn {
        width: 100%;
        justify-content: center;
    }
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--black) 0%, var(--black-light) 50%, var(--primary-color) 100%);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-logo-image {
    height: 35px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

/* Colored footer logo for index.html */
.footer-logo-image.footer-logo-colored {
    filter: none;
    height: 50px;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--white);
}

.footer-section h3 {
    color: var(--primary-color);
    font-size: 1.25rem;
    margin: 0;
}

.footer-section p {
    color: rgba(255,255,255,0.8);
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255,255,255,0.6);
    font-size: 0.875rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 85px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: var(--transition);
        box-shadow: var(--shadow);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu a {
        padding: 1rem;
        display: block;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-logo {
        width: clamp(180px, 45vw, 260px);
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-text h2 {
        text-align: center;
    }
    
    .about-stats {
        flex-direction: row;
        justify-content: space-around;
    }
    
    .stat {
        padding: 1.5rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .nav-container {
        padding: 0 15px;
    }
    
    .hero-container {
        padding: 0 15px;
    }
    
    section {
        padding: 3rem 0;
    }
    
    .service-card {
        padding: 2rem;
    }
    
    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .about-stats {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Smooth scrolling */
html {
    background-color: #0f172a;
    scroll-behavior: smooth;
}

/* Loading states */
.loading {
    opacity: 0.5;
    pointer-events: none;
}

/* Logo error handling and optimization */
.logo-image,
.footer-logo-image {
    transition: var(--transition);
}

.logo-image:hover {
    transform: scale(1.05);
}

/* Fallback for logo loading errors */
.nav-logo img:not([src]),
.nav-logo img[src=""] {
    display: none;
}

.footer-logo img:not([src]),
.footer-logo img[src=""] {
    display: none;
}

/* Logo loading animation */
.logo-image,
.footer-logo-image {
    opacity: 0;
    animation: fadeInLogo 0.5s ease forwards;
}

@keyframes fadeInLogo {
    to {
        opacity: 1;
    }
}

/* Focus styles for accessibility */
:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Cost Calculator Section */
.calculator {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
}

.calculator h2 {
    color: var(--white);
}

.calculator .section-subtitle {
    color: rgba(255, 255, 255, 0.9);
}

.calculator-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.calculator-form {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.875rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 0.95rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.calculator-extras {
    margin: 2rem 0;
}

.calculator-extras h4 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.checkbox-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.95rem;
    color: var(--text-light);
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.calculator-result {
    display: flex;
    align-items: center;
}

.result-card {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    text-align: center;
    width: 100%;
    box-shadow: var(--shadow-lg);
}

.result-card h3 {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.price-display {
    margin-bottom: 2rem;
}

.price-amount {
    font-size: 3rem;
    font-weight: 700;
    display: block;
    line-height: 1;
}

.price-note {
    font-size: 0.875rem;
    opacity: 0.8;
}

.price-breakdown {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.breakdown-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.breakdown-item:last-child {
    margin-bottom: 0;
    font-weight: 600;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 0.75rem;
}

.result-disclaimer {
    font-size: 0.75rem;
    opacity: 0.8;
    margin-bottom: 1.5rem;
}

/* Emergency Banner */
.emergency-banner {
    background: linear-gradient(135deg, var(--black) 0%, #DC2626 50%, var(--primary-color) 100%);
    color: var(--white);
    padding: 2rem 0;
    border-top: 3px solid var(--primary-color);
    border-bottom: 3px solid var(--primary-color);
}

.emergency-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.emergency-text {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.emergency-icon {
    font-size: 2rem;
    animation: pulse 2s infinite;
}

.emergency-text h3 {
    margin: 0;
    font-size: 1.25rem;
}

.emergency-text p {
    margin: 0;
    opacity: 0.9;
}

.btn-emergency {
    background: var(--white);
    color: #DC2626;
    border-color: var(--white);
    font-weight: 700;
}

.btn-emergency:hover {
    background: #f3f4f6;
    transform: scale(1.05);
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Testimonials Section */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.testimonial-card {
    background: linear-gradient(135deg, var(--white) 0%, var(--orange-light) 100%);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-orange);
    transition: var(--transition);
    border-left: 4px solid var(--primary-color);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, var(--orange-light) 0%, var(--primary-lighter) 100%);
}

.testimonial-rating {
    margin-bottom: 1rem;
}

.testimonial-rating i {
    color: #FCD34D;
    margin-right: 0.25rem;
}

.testimonial-card p {
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.25rem;
}

.author-info h4 {
    margin: 0;
    font-size: 1rem;
    color: var(--text-dark);
}

.author-info p {
    margin: 0;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.testimonial-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.stat-item h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: var(--text-muted);
    font-weight: 500;
    margin: 0;
}

/* Certifications Section */
.certifications {
    background: var(--black);
    color: var(--white);
}

.certifications h2 {
    color: var(--white);
}

.certifications .section-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.cert-item {
    background: linear-gradient(135deg, var(--black-light) 0%, var(--black-lighter) 100%);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    border: 2px solid var(--primary-color);
}

.cert-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-orange);
    background: linear-gradient(135deg, var(--black-lighter) 0%, var(--primary-color) 100%);
}

.cert-item i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.cert-item h4 {
    font-size: 1.25rem;
    color: var(--white);
    margin-bottom: 0.75rem;
}

.cert-item p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    margin: 0;
}

/* FAQ Section */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
    margin-top: 3rem;
}

.faq-item {
    background: linear-gradient(135deg, var(--white) 0%, var(--orange-light) 100%);
    border-radius: 12px;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-orange);
    overflow: hidden;
    opacity: 1; /* Ensure FAQ items are visible by default */
    visibility: visible;
    border-left: 4px solid var(--primary-color);
}

.faq-question {
    padding: 1.5rem 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    background: rgba(255, 107, 53, 0.1);
}

.faq-question h4 {
    margin: 0;
    color: var(--text-dark);
    font-size: 1.125rem;
}

.faq-question i {
    color: var(--primary-color);
    transition: var(--transition);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    padding: 0 2rem;
}

.faq-item.active .faq-answer {
    max-height: 300px; /* Increased for longer answers */
    padding: 0 2rem 1.5rem;
}

.faq-answer p {
    padding: 1.5rem 0 0;
    margin: 0;
    color: var(--text-light);
    line-height: 1.6;
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.whatsapp-float a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: transparent;
    border-radius: 50%;
    text-decoration: none;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.whatsapp-float a:hover {
    transform: scale(1.1);
}

.whatsapp-icon {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

/* Privacy Page Styles */
.privacy-page {
    min-height: 100vh;
    padding-top: 120px;
    padding-bottom: 3rem;
    background: var(--white);
}

.privacy-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.privacy-content h1 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 2rem;
    text-align: center;
}

.privacy-intro {
    background: linear-gradient(135deg, var(--orange-light) 0%, var(--primary-lighter) 100%);
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 3rem;
    border-left: 4px solid var(--primary-color);
}

.privacy-page,
.imprint-page,
.legal-page {
    min-height: 100vh;
    padding-top: 140px;
    padding-bottom: 4rem;
}

.privacy-content,
.imprint-content,
.legal-page .container {
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.privacy-content,
.imprint-content {
    width: 100%;
}

.privacy-content h1,
.imprint-content h1,
.legal-header h1 {
    font-size: 2.5rem;
    text-align: center;
    color: var(--white);
    margin: 0;
    text-shadow: 0 18px 45px rgba(15, 23, 42, 0.55);
}

.legal-header h1 {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    justify-content: center;
}

.legal-header h1 i {
    font-size: 1.75rem;
    color: var(--primary-color);
}

.legal-header,
.privacy-intro,
.imprint-intro {
    background: rgba(15, 23, 42, 0.55);
    border-radius: 20px;
    padding: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.35);
    backdrop-filter: blur(18px);
    text-align: center;
}

.legal-subtitle,
.privacy-intro p,
.imprint-intro p {
    margin: 1rem auto 0;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.7;
    font-size: 1.05rem;
}

.privacy-section,
.imprint-section,
.cookies-section {
    background: rgba(15, 23, 42, 0.55);
    border-radius: 20px;
    padding: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.35);
    backdrop-filter: blur(16px);
}

.privacy-section h2,
.cookies-section h2 {
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.imprint-section h2 {
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.imprint-section h2 i {
    font-size: 1.25rem;
    color: var(--primary-color);
}

.privacy-section p,
.privacy-section li,
.cookies-section p,
.cookies-section li,
.imprint-section p {
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.privacy-section ul,
.cookies-section ul {
    margin: 0;
    padding-left: 1.25rem;
}

.privacy-section li + li,
.cookies-section li + li {
    margin-top: 0.5rem;
}

.privacy-section strong,
.cookies-section strong,
.cookie-item strong,
.info-item strong,
.tax-item strong,
.contact-grid .contact-item strong {
    color: var(--primary-color);
}

.cookie-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.cookie-type {
    background: rgba(8, 47, 73, 0.55);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid rgba(59, 130, 246, 0.18);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.35);
    backdrop-filter: blur(14px);
}

.cookie-type h3 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    color: var(--white);
    margin-bottom: 1rem;
}

.cookie-type h3 i {
    color: var(--primary-color);
}

.cookie-type ul {
    margin: 0;
    padding-left: 1.25rem;
    color: rgba(226, 232, 240, 0.9);
}

.cookie-type ul li {
    line-height: 1.6;
}

.cookie-type.no-analytics {
    border-color: rgba(34, 197, 94, 0.4);
    background: rgba(22, 101, 52, 0.4);
}

.cookie-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.cookie-item {
    background: rgba(15, 23, 42, 0.6);
    border-radius: 16px;
    padding: 1.75rem;
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.35);
    backdrop-filter: blur(14px);
}

.cookie-item h4 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 1.15rem;
}

.cookie-item p {
    margin-bottom: 0.75rem;
    color: rgba(226, 232, 240, 0.88);
}

.cookie-item p strong {
    color: var(--primary-color);
}

.browser-instructions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.browser-item {
    background: rgba(15, 23, 42, 0.55);
    border-radius: 16px;
    padding: 1.75rem;
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.35);
    backdrop-filter: blur(14px);
}

.browser-item h4 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--white);
    margin-bottom: 0.75rem;
}

.browser-item h4 i {
    color: var(--primary-color);
}

.browser-item p {
    color: rgba(226, 232, 240, 0.88);
    margin: 0;
}

.contact-info {
    color: rgba(226, 232, 240, 0.88);
}

.contact-info a {
    color: rgba(255, 255, 255, 0.92);
}

.contact-info a:hover {
    color: var(--primary-color);
}

.privacy-section .contact-info {
    padding: 2rem;
    gap: 1rem;
}

.privacy-section .contact-info p {
    margin: 0;
    color: rgba(226, 232, 240, 0.88);
}

.info-grid,
.contact-grid,
.tax-grid {
    display: grid;
    gap: 1.5rem;
}

.info-item,
.tax-item,
.contact-grid .contact-item {
    background: rgba(15, 23, 42, 0.6);
    border-radius: 16px;
    padding: 1.75rem;
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.35);
    backdrop-filter: blur(14px);
}

.info-item,
.tax-item {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.info-item span,
.tax-item span {
    color: rgba(226, 232, 240, 0.88);
    line-height: 1.6;
}

.contact-grid .contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-grid .contact-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    min-width: 24px;
    margin-top: 0.25rem;
}

.contact-grid .contact-item a {
    color: rgba(255, 255, 255, 0.92);
    text-decoration: none;
    transition: var(--transition);
}

.contact-grid .contact-item a:hover {
    color: var(--primary-color);
}

.last-updated {
    text-align: center;
    color: rgba(226, 232, 240, 0.75);
    font-size: 0.95rem;
}

.last-updated strong {
    color: var(--primary-color);
}

.back-to-home {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.back-to-home .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

@media (max-width: 1024px) {
    .privacy-content,
    .imprint-content,
    .legal-page .container {
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .privacy-content h1,
    .imprint-content h1,
    .legal-header h1 {
        font-size: 2rem;
    }

    .legal-header,
    .privacy-intro,
    .imprint-intro,
    .privacy-section,
    .imprint-section,
    .cookies-section {
        padding: 1.75rem;
    }

    .cookie-types,
    .cookie-details,
    .browser-instructions {
        grid-template-columns: 1fr;
    }

    .imprint-section h2 {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 120px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 1000;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

/* Language Switcher */
.language-switcher {
    display: flex;
    align-items: center;
    margin-left: 1rem;
}

.lang-btn {
    background: var(--white);
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    padding: 0.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-color);
    min-width: 44px;
    min-height: 44px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.lang-btn:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 4px 8px rgba(255, 107, 53, 0.3);
}

.flag-icon {
    font-size: 1.4rem;
    line-height: 1;
}

/* Responsive Updates */
@media (max-width: 768px) {
    .language-switcher {
        order: -1;
        margin-left: 0;
        margin-right: 1rem;
    }
    
    .lang-btn {
        padding: 0.5rem;
        min-width: 40px;
        min-height: 40px;
    }
    
    .flag-icon {
        font-size: 1.2rem;
    }
    .calculator-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .checkbox-group {
        grid-template-columns: 1fr;
    }
    
    .emergency-content {
        flex-direction: column;
        text-align: center;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonial-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .certifications-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .whatsapp-float a {
        width: 55px;
        height: 55px;
    }
    
    .whatsapp-icon {
        width: 45px;
        height: 45px;
    }
    
    .back-to-top {
        bottom: 140px;
        right: 20px;
        width: 55px;
        height: 55px;
    }
}

@media (max-width: 480px) {
    .testimonial-stats {
        grid-template-columns: 1fr;
    }
    
    .certifications-grid {
        grid-template-columns: 1fr;
    }
    
    .price-amount {
        font-size: 2.5rem;
    }
    
    .result-card {
        padding: 2rem;
    }
}

/* Content Overlay for API hiding functionality */
#content-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: #ffffff !important;
    z-index: 999999 !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
}

/* Print styles */
@media print {
    .navbar,
    .hamburger,
    .hero-buttons,
    .contact-form,
    .footer,
    .whatsapp-float,
    .back-to-top {
        display: none;
    }
}