/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    opacity: 0;
    transition: opacity 0.5s ease;
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
}

body.loaded {
    opacity: 1;
}

.header-logo-de{
    max-width: 300px;
}

.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary-yellow);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.5s ease;
}

.loader.hidden {
    opacity: 0;
}

.loader-icon {
    width: 80px;
    height: 80px;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.8);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.2);
        opacity: 1;
    }
    100% {
        transform: scale(0.8);
        opacity: 0.5;
    }
}

:root {
    --primary-yellow: #FFE35B;
    --primary-black: #1c1c1c;
    --text-color: #1c1c1c;
    --light-gray: #f5f5f5;
    --white: #ffffff;
    --dark-gray: #333333;
    --medium-gray: #666666;
    --transition-speed: 0.3s;
}

/* Language Switcher */
.language-switcher {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1000;
}

.language-button {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background-color: var(--white);
    border: 2px solid var(--primary-black);
    border-radius: 30px;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.language-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    background-color: var(--light-gray);
}

.flag-icon {
    width: 20px;
    height: 15px;
    border-radius: 2px;
}

.language-button span {
    font-weight: 600;
    color: var(--primary-black);
    font-size: 0.9rem;
}

/* Utility Classes */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 900;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2rem 5%;
    position: relative;
    overflow: hidden;
    background-color: var(--primary-yellow);
}

.hero-content {
    flex: 1;
    max-width: 600px;
    z-index: 2;
    padding-right: 2rem;
}

.hero-content h1 {
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: #131313;
}

.fugaz-one{
    font-weight: 500;
    font-family: "Fugaz One", sans-serif;
}


.hero h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--primary-black);
    font-weight: 900;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--primary-black);
    font-weight: 400;
    line-height: 1.8;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    overflow: hidden;
    border: 2px solid #1c1c1c;
    border-radius: 20px;
    background: linear-gradient(145deg, var(--primary-yellow), var(--primary-black));
    margin: 0 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.hero-image img {
    max-width: 120%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.hero-product-image {
    max-width: 35%;
    max-height: 70vh;
    width: auto;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.1));
    background: rgba(255, 255, 255, 0.9);
    object-fit: contain;
}


@media (min-width: 1024px) {
    .hero-image {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .hero-product-image {
        max-width: 30%;
    }
}

/* CTA Button */
.cta-button {
    background-color: var(--primary-black);
    color: var(--primary-yellow);
    border: 2px solid #ffffff;
    padding: 1rem 2rem;
    font-size: 1.4rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    background-color: var(--primary-black);
    border-color: var(--primary-yellow);
}

.cta-button:active {
    transform: translateY(1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.1s ease;
}

.cta-button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 0;
    border-radius: 100%;
    transform: scale(1, 1) translate(-50%);
    transform-origin: 50% 50%;
}

.cta-button:focus:not(:active)::after {
    animation: ripple 1s ease-out;
}

@keyframes ripple {
    0% {
        transform: scale(0, 0);
        opacity: 0.5;
    }
    100% {
        transform: scale(20, 20);
        opacity: 0;
    }
}

/* Features Section */
.features {
    padding: 5rem 5%;
    background-color: var(--white);
}

.features .section-title,
.features h3 {
    color: var(--primary-black);
}

.features p {
    color: var(--medium-gray);
}

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

.feature-card {
    padding: 2rem;
    border-radius: 15px;
    background: linear-gradient(145deg, #ffffff, #f8f8f8);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-yellow), var(--primary-black));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: rgba(0, 0, 0, 0.2);
}

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

.feature-card h3 {
    color: var(--primary-black);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
    position: relative;
    padding-bottom: 0.5rem;
}

.feature-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary-yellow);
    transition: width 0.3s ease;
}

.feature-card:hover h3::after {
    width: 60px;
}

.feature-card p {
    color: var(--medium-gray);
    font-size: 1.1rem;
    font-weight: 400;
    line-height: 1.5;
    margin-top: 0.5rem;
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-black);
    background: linear-gradient(145deg, var(--primary-yellow), #f8f8f8);
    padding: 1rem;
    border-radius: 12px;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    background: linear-gradient(145deg, var(--primary-yellow), var(--primary-black));
    color: white;
}

/* Product Showcase Section */
.product-showcase {
    padding: 4rem 5%;
    background-color: var(--primary-yellow);
}

.product-showcase h2 {
    color: var(--primary-black);
}

.product-showcase p {
    color: var(--primary-black);
}

.showcase-content {
    flex: 1;
    padding-right: 2rem;
}

.showcase-image {
    flex: 1;
}

.showcase-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Applications Section */
.applications {
    padding: 5rem 5%;
    background-color: var(--white);
}

.applications .section-title,
.applications h3 {
    color: var(--primary-black);
}

.applications p {
    color: var(--medium-gray);
}

.applications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.application-card {
    padding: 2rem;
    border-radius: 15px;
    background: linear-gradient(145deg, #ffffff, #f8f8f8);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.application-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-yellow), var(--primary-black));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.application-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: rgba(0, 0, 0, 0.2);
}

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

.application-card h3 {
    color: var(--primary-black);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
    position: relative;
    padding-bottom: 0.5rem;
}

.application-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary-yellow);
    transition: width 0.3s ease;
}

.application-card:hover h3::after {
    width: 60px;
}

.application-card p {
    color: var(--medium-gray);
    font-size: 1.1rem;
    font-weight: 400;
    line-height: 1.5;
    margin-top: 0.5rem;
}

.application-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-black);
    background: linear-gradient(145deg, var(--primary-yellow), #f8f8f8);
    padding: 1rem;
    border-radius: 12px;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.application-card:hover .application-icon {
    transform: scale(1.1);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    background: linear-gradient(145deg, var(--primary-yellow), var(--primary-black));
    color: white;
}

/* Carousel Section */
.carousel-section {
    padding: 4rem 0;
    background-color: var(--primary-black);
}

.carousel-container {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    aspect-ratio: 2/3;
    overflow: hidden;
}

.carousel {
    display: flex;
    transition: transform 0.5s ease;
    height: 100%;
}

.carousel-slide {
    min-width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

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

.slide-description {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(28, 28, 28, 0.9), rgba(28, 28, 28, 0.7));
    color: var(--primary-yellow);
    padding: 1.5rem;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    transition: transform 0.3s ease;
}

.carousel-slide:hover .slide-description {
    transform: translateY(100%);
}

.slide-description h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.slide-description p {
    font-size: 0.9rem;
    opacity: 0.9;
    margin: 0;
}

.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-yellow);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-black);
    transition: all 0.3s ease;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.carousel-button:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.carousel-button i {
    font-size: 1.2rem;
}

.carousel-button.prev {
    left: 20px;
}

.carousel-button.next {
    right: 20px;
}

@media (max-width: 768px) {
    .carousel-container {
        max-width: 80%;
        aspect-ratio: 3/5;
    }
}

/* Technical Specifications */
.specifications {
    display: flex;
    align-items: center;
    padding: 5rem 5%;
    background-color: var(--white);
}

.specifications .section-title,
.specifications h3 {
    color: var(--primary-black);
}

.specifications p {
    color: var(--medium-gray);
    font-size: 1.1rem;
}

.specs-content {
    flex: 1;
    padding-right: 2rem;
}

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

.spec-item {
    padding: 1.5rem;
    background-color: var(--light-gray);
    border-radius: 10px;
}

.spec-item {
    color: var(--primary-black);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

-spech-item p{
    font-weight: 300;
}

/* Specification Icons */
.spec-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-black);
    background: var(--primary-yellow);
    padding: 0.8rem;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

.spec-item:hover .spec-icon {
    transform: scale(1.1);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* CTA Section */
.cta-section {
    padding: 5rem 5%;
    background-color: var(--primary-yellow);
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

/* Contact Form */
.contact-form {
    max-width: 500px;
    margin: 2rem auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-form input,
.contact-form textarea {
    padding: 1rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    background-color: white;
    color: var(--primary-black);
    font-family: 'Inter', sans-serif;
    font-weight: 400;
}

.contact-form textarea {
    height: 150px;
    resize: vertical;
}

.form-option {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1rem 0;
    padding: 1.2rem;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.form-option:hover {
    background-color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Custom checkbox container */
.checkbox-container {
    position: relative;
    display: flex;
    align-items: center;
}

/* Hide the default checkbox */
.form-option input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

/* Create a custom checkbox */
.checkbox-custom {
    width: 28px;
    height: 28px;
    border: 2px solid var(--primary-black);
    border-radius: 6px;
    display: inline-block;
    position: relative;
    background-color: white;
    transition: all 0.3s ease;
    cursor: pointer;
}

/* Create checkmark (hidden when not checked) */
.checkbox-custom:after {
    content: '';
    position: absolute;
    display: none;
    left: 7.2px;
    top: 2px;
    width: 6px;
    height: 12px;
    border: solid white;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
}

/* Show the checkmark when checked */
.form-option input[type="checkbox"]:checked ~ .checkbox-custom {
    background-color: var(--primary-black);
    border-color: var(--primary-black);
}

.form-option input[type="checkbox"]:checked ~ .checkbox-custom:after {
    display: block;
}

/* Style the active form-option when checkbox is checked */
.form-option.active {
    border-color: var(--primary-yellow);
    background-color: white;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.form-option input[type="checkbox"]:checked ~ .checkbox-custom:hover {
    background-color: #333;
}

.form-option label {
    font-size: 1.1rem;
    color: var(--primary-black);
    cursor: pointer;
    user-select: none;
    font-weight: 500;
    flex: 1;
}

/* Footer */
footer {
    background-color: var(--primary-black);
    color: var(--white);
    padding: 3rem 5% 1rem;
}

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

.footer-section h3 {
    margin-bottom: 1rem;
    color: var(--white);
    font-size: 1.3rem;
    font-weight: 600;
}

.footer-section p {
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.6;
}

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

.social-links a {
    color: var(--white);
    text-decoration: none;
    font-size: 1.5rem;
    transition: color var(--transition-speed), transform var(--transition-speed);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    margin: 0 0.5rem;
}

.social-links a:hover {
    color: var(--primary-yellow);
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.2);
}

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

.footer-bottom p {
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 0.3px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 2rem 5% 3rem;
        min-height: auto;
    }

    .hero-content {
        padding-right: 0;
        margin-bottom: 2rem;
        max-width: 100%;
    }

    .hero h1 {
        font-size: 2.8rem;
        margin-bottom: 1rem;
    }

    .hero h2 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .hero p {
        font-size: 1rem;
        line-height: 1.6;
    }

    .hero-image {
        margin: 0;
        max-width: 90%;
    }

    .hero-product-image {
        max-width: 80%;
    }

    .product-showcase,
    .specifications {
        flex-direction: column;
        padding: 3rem 5%;
    }

    .showcase-content,
    .specs-content {
        padding-right: 0;
        margin-bottom: 2rem;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }

    .features, 
    .applications {
        padding: 3rem 5%;
    }

    .features-grid,
    .applications-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .feature-card,
    .application-card {
        padding: 1.5rem;
    }

    .feature-icon,
    .application-icon {
        font-size: 2rem;
        width: 60px;
        height: 60px;
        margin-bottom: 1rem;
    }

    .feature-card h3,
    .application-card h3 {
        font-size: 1.2rem;
    }

    .specs-grid {
        grid-template-columns: 1fr;
    }

    .spec-item {
        padding: 1.2rem;
    }

    .spec-icon {
        width: 50px;
        height: 50px;
        font-size: 1.6rem;
    }

    .cta-section {
        padding: 3rem 5%;
    }

    .cta-section h2 {
        font-size: 2rem;
    }

    .contact-form {
        max-width: 100%;
    }

    .form-option label {
        font-size: 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .social-links {
        justify-content: center;
        margin-top: 1rem;
    }

    .footer-section {
        text-align: center;
    }

    .certification-details {
        flex-direction: column;
        gap: 2rem;
    }
    
    .certification-image {
        order: -1;
    }

    .language-switcher {
        top: 10px;
        left: 10px;
    }

    .language-button {
        padding: 6px 12px;
    }

    .carousel-section {
        padding: 2rem 1rem;
    }

    .logo-container {
        padding: 0.5rem 0;
    }

    .header-logo {
        max-width: 180px;
    }

    .header-logo-de {
        max-width: 220px;
    }

    .comparison-img-container {
        height: 300px;
    }
}

/* Extra Small Devices - Smartphones */
@media (max-width: 480px) {
    .hero {
        padding: 1.5rem 1rem 2.5rem;
    }

    .hero h1 {
        font-size: 2.3rem;
    }

    .hero h2 {
        font-size: 1.3rem;
    }

    .section-title {
        font-size: 1.8rem;
        padding: 1em;
    }
    
    .cta-button {
        padding: 0.8rem 1.5rem;
        font-size: 1.2rem;
    }

    .features, 
    .applications,
    .specifications,
    .cta-section {
        padding: 2.5rem 1rem;
    }

    .prefix-dropdown {
        width: 250px;
    }
    
    .selected-prefix {
        width: 80px;
    }

    .phone-input-container {
        flex-direction: column;
    }

    .selected-prefix {
        width: 100%;
        border-radius: 5px 5px 0 0;
        border-right: 1px solid rgba(0, 0, 0, 0.1);
        border-bottom: none;
    }

    .phone-input {
        width: 100%;
        border-radius: 0 0 5px 5px;
        border-top: none;
    }

    .comparison-item {
        flex-basis: 100%;
        margin-bottom: 1.5rem;
    }

    .comparison-img-container {
        height: 250px;
    }

    .comparison-description {
        padding: 1rem;
    }

    .comparison-description h3 {
        font-size: 1.1rem;
    }

    .comparison-description p {
        font-size: 0.9rem;
    }

    .appointment-options {
        padding: 1rem;
    }

    .appointment-option {
        padding: 0.6rem;
    }
}

.logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.5rem 0;
    margin-bottom: 0.5rem;
    background-color: white;
}

.header-logo {
    max-width: 240px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.clean-room-certification {
    padding: 4rem 5%;
    background-color: var(--primary-yellow);
}

.clean-room-certification .section-title {
    color: var(--primary-black);
}

.clean-room-certification .certification-text p,
.clean-room-certification .certification-text li {
    color: var(--primary-black);
}

.clean-room-certification .certification-text li:before {
    color: var(--primary-yellow);
}

.certification-content {
    max-width: 1200px;
    margin: 0 auto;
}

.certification-details {
    display: flex;
    align-items: center;
    gap: 3rem;
    margin-top: 2rem;
}

.certification-text {
    flex: 1;
}

.certification-text ul {
    list-style-type: none;
    padding: 0;
    margin-top: 1.5rem;
}

.certification-text li {
    margin-bottom: 1rem;
    padding-left: 2.5rem;
    position: relative;
    color: var(--primary-black);
}

.certification-text li:before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    background-color: var(--primary-black);
    color: var(--primary-yellow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
}

.certification-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
}

.certification-image img, 
.certification-image video {
    max-width: 70%;
    height: 20%;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    object-fit: contain;
}

@media (max-width: 768px) {
    .certification-details {
        flex-direction: column;
    }
    
    .certification-text {
        padding: 0 1.5rem;
        margin-bottom: 1rem;
    }
    
    .certification-image {
        margin-top: 2rem;
        width: 100%;
    }
    
    .certification-image video {
        width: 100%;
        height: auto;
    }
}

/* Appointment Options Styles */
.appointment-options {
    background-color: white;
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-left: 4px solid var(--primary-yellow);
    animation: fadeIn 0.3s ease-in-out;
}

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

.appointment-header {
    margin-bottom: 1rem;
    font-weight: 600;
    color: var(--primary-black);
}

/* Custom radio buttons */
.appointment-option {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem;
    background-color: var(--light-gray);
    border-radius: 6px;
    transition: all 0.3s ease;
    margin-bottom: 0.5rem;
    cursor: pointer;
}

.appointment-option:hover {
    background-color: var(--primary-yellow);
    transform: translateY(-2px);
}

.radio-container {
    position: relative;
    display: flex;
    align-items: center;
}

.appointment-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.radio-custom {
    width: 22px;
    height: 22px;
    border: 2px solid var(--primary-black);
    border-radius: 50%;
    display: inline-block;
    position: relative;
    background-color: white;
    transition: all 0.3s ease;
}

.radio-custom:after {
    content: '';
    position: absolute;
    display: none;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--primary-black);
    transform: translate(-50%, -50%);
}

.appointment-option input[type="radio"]:checked ~ .radio-custom:after {
    display: block;
}

.appointment-option.selected {
    background-color: var(--primary-yellow);
}

.appointment-option input[type="radio"]:checked ~ .radio-custom {
    border-color: var(--primary-black);
}

.appointment-option label {
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    user-select: none;
    flex: 1;
}

/* Phone Input Styles */
.phone-input-container {
    display: flex;
    position: relative;
    margin-bottom: 1.5rem;
    width: 100%;
}

.phone-prefix-selector {
    position: relative;
    z-index: 10;
}

.selected-prefix {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 15px;
    height: 50px;
    background-color: var(--white);
    border-radius: 5px 0 0 5px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-right: none;
    cursor: pointer;
    width: 100px;
    transition: all 0.3s ease;
}

.selected-prefix:hover {
    background-color: var(--light-gray);
}

.prefix-flag {
    width: 20px;
    height: 15px;
    border-radius: 2px;
    object-fit: cover;
}

.selected-prefix span {
    font-weight: 500;
    font-size: 0.9rem;
}

.prefix-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 300px;
    max-height: 0;
    overflow: hidden;
    background-color: white;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: max-height 0.3s ease, opacity 0.3s ease;
    opacity: 0;
    z-index: 1000;
}

.phone-prefix-selector.active .prefix-dropdown {
    max-height: 350px;
    opacity: 1;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.prefix-search {
    padding: 15px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.prefix-search input {
    width: 100%;
    padding: 10px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    font-size: 0.9rem;
}

.prefix-list {
    max-height: 250px;
    overflow-y: auto;
}

.prefix-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.prefix-item:hover {
    background-color: var(--light-gray);
}

.prefix-country {
    flex: 1;
    font-size: 0.9rem;
}

.prefix-code {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--dark-gray);
}

.phone-input {
    flex: 1;
    height: 50px;
    padding: 10px 15px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 0 5px 5px 0;
    font-size: 1rem;
}

.phone-input:focus, 
.prefix-search input:focus {
    outline: none;
    border-color: var(--primary-yellow);
    box-shadow: 0 0 0 2px rgba(255, 227, 91, 0.3);
}

@media (max-width: 480px) {
    .prefix-dropdown {
        width: 250px;
    }
    
    .selected-prefix {
        width: 80px;
    }
}

/* Comparison Section (replacing carousel) */
.comparison-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
}

.comparison-item {
    flex-basis: 48%;
    margin-bottom: 2rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.comparison-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

.comparison-img-container {
    height: 400px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.comparison-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.comparison-item:first-child .comparison-img-container img {
    transform: scale(1.1);
}

.comparison-item:last-child .comparison-img-container img {
    transform: scale(1.1);
}

.comparison-description {
    padding: 1.5rem;
    background-color: white;
    z-index: 2;
    position: relative;
}

.comparison-description h3 {
    margin-top: 0;
    color: #2d3748;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.comparison-description p {
    color: #4a5568;
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .comparison-item {
        flex-basis: 100%;
    }
}

/* Mobile Optimization */
input, 
select, 
textarea, 
button {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

body {
    opacity: 0;
    transition: opacity 0.5s ease;
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
}

img {
    max-width: 100%;
    height: auto;
}

/* Add smooth scroll with better mobile performance */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

/* Focus styles that work better on mobile */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 2px solid var(--primary-yellow);
    outline-offset: 2px;
}

/* Improve touch targets for mobile */
@media (max-width: 768px) {
    button,
    a,
    input[type="checkbox"],
    input[type="radio"],
    .prefix-item,
    .application-card,
    .feature-card {
        min-height: 44px;
        min-width: 44px;
    }
    
    .application-icon,
    .feature-icon {
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 1rem auto;
    }
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Appointment grid layout */
.appointment-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

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

/* Custom radio buttons */
.appointment-option {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem;
    background-color: var(--light-gray);
    border-radius: 6px;
    transition: all 0.3s ease;
    margin-bottom: 0.5rem;
    cursor: pointer;
} 