
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

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

        body {
            font-family: "Poppins", serif;
            line-height: 1.6;
        }



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

.header {
    padding: 15px 30px;
    border-bottom: 1px solid #eee;  
    position: sticky;
    top: 0;
    background-color: #fff;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    width: 180px;
}

.header-btn {
    background: #2A756F;
    color: white;
    padding: 20px 40px;
    border: none;
    cursor: pointer;
    font-size: 14px;
    border-radius: 4px;
}

.header-btn:hover {
    background: #00897b;
}
@media screen and (max-width: 480px) {
    .header-content {
        flex-direction: row;
        gap: 30px;
    }

    .header-btn {
        padding: 15px 30px;
    }
    
}

@media screen and (max-width: 475px) {
    .header-content {
        flex-direction: row;
        gap: 30px;
    }

    .header-btn {
        padding: 10px 20px;
    }
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('../background/rehair-webbanner.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    height: 700px;
    position: relative;
    color: #666;
    text-align: center;
    padding: 80px;
}

/* Form Styles */
.consultation-form {
    background: #21918c;
    padding: 30px;
    border-radius: 8px;
    color: white;
    position: absolute;
    right: 9%;
    top: 48%;
    transform: translateY(-50%);
    width: 400px;
    text-align: left;
}

.form-group {
    margin-bottom: 15px;
}

.form-control, .select-branch {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    pointer-events: auto; 
    position: relative; 
    z-index: 10; 
}

input, select, button {
    touch-action: manipulation; 
}


.balding-grade {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.balding-grade label {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    position: relative;
    padding: 5px;
    border: 2px solid transparent; 
    border-radius: 10px;
    transition: border 0.3s ease;
}

.balding-grade input[type="radio"] {
    display: none; 
}

.balding-grade label img {
    width: 50px;
    height: 60px;
    border-radius: 50%;
    transition: border 0.3s ease;
}

/* Dot styling */
.balding-grade .dot {
    width: 20px;
    height: 20px;
    border: 2px solid white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 5px;
    transition: background 0.3s ease, border 0.3s ease;
    font-size: 16px;
    font-weight: bold;
    color: white;
}

/* When selected, dot turns into a checkmark */
.balding-grade input[type="radio"]:checked + label .dot {
    background-color: white;
    color: black;
    content: "✔";
}

/* When selected, add a border box */
.balding-grade input[type="radio"]:checked + label {
    border: 2px solid white;
}

.submit-btn {
    width: 100%;
    padding: 20px;
    background: #005350;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 15px;
}

.submit-btn:hover {
    background:#022221;
}

@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        height: auto;
        padding: 30px;
        text-align: center;
        background: url('../background/rehairbanner-tab.jpg');
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
        height: 700px;
        position: relative;
        color: #666;
        text-align: center;
        padding: 80px;
    }
    /* Adjust Consultation Form for Mobile */
    .consultation-form {
        position: absolute;
        transform: none;
        width: 100%;
        margin-top: 20px;
        padding: 15px;
        position: absolute;
        right: 2%;
        top: 48%;
        transform: translateY(-50%);
        width: 350px;
        text-align: left;
        
    }

    .form-control, .select-branch {
        font-size: 14px;
        padding: 12px;
    }

    /* Balding Grade Selection */
    .balding-grade {
        flex-wrap: wrap;
        gap: 5px;
    }

    .balding-grade label img {
        width: 40px;
        height: 50px;
    }

    .balding-grade .dot {
        width: 15px;
        height: 15px;
        font-size: 12px;
    }

    .submit-btn {
        padding: 15px;
        font-size: 16px;
    }
}

/* Ultra Small Screens */
@media (max-width: 480px) {
    .hero {
        flex-direction: column;
        height: auto;
        padding: 30px;
        text-align: center;
        background: url('../background/rehairbanner-mob.jpg');
        background-size: cover;
        background-repeat: no-repeat;
        background-position: top; /* Ensure background is at the top */
        height: 200px;
        position: relative;
        color: #666;
    }


    .consultation-form {
        transform: none;
        width: fit-content;
        margin-top: 20px;
        padding: 15px;
        bottom: 0; /* Position the form at the bottom */
        position: absolute;
        right: -50%;
        top: 50%;
        transform: translateX(-50%);
        width: auto;
        position: relative;
        margin-top: 110px;
    }

   .balding-grade {
        flex-wrap: wrap;
        gap: 5px;
    }

    .balding-grade label img {
        width: 35px;
        height: 45px;
    }

    .submit-btn {
        padding: 12px;
        font-size: 14px;
    }
}

/* Ultra Small Screens */
@media (max-width: 375px) {
    .hero {
        flex-direction: column;
        height: auto;
        padding: 30px;
        text-align: center;
        background: url('../background/rehairbanner-mob.jpg');
        background-size: cover;
        background-repeat: no-repeat;
        background-position: top; /* Ensure background is at the top */
        height: 200px;
        position: relative;
        color: #666;
    }

    .consultation-form {
        position: static;
        transform: none;
        width: 100%;
        margin-top: 20px;
        padding: 15px;
        transform: translateX(-50%);
        width: auto;
        position: relative;
        margin-top: 120px;
    }

    .balding-grade label img {
        width: 25px;
        height: 35px;
    }

    .submit-btn {
        padding: 12px;
        font-size: 14px;
    }
}

/*  */

.contact-section {
    background: #2A756F;
    color: white;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    margin-top: -50px;
}

.contact-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    font-size: x-large;
    position: relative;
   margin-top: 20px;
}


@media (min-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.contact-item-1{
    display: flex;
    align-items: center;
    background: #2A756F;
    padding: 1rem;
    transition: 0.3s ease;
}

.contact-item-2{
    display: flex;
    align-items: center;
    background: #005350;
    padding: 1rem;
    transition: 0.3s ease;
}

.contact-item-1 a {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
    color: white;
    width: 100%;
}

.contact-item-2 a {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
    color: white;
    width: 100%;
}

.contact-icon {
    width: 80px;
    height: 80px;
    border-radius: 40%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon img {
    width: 100%;
    height: auto;
    border-radius: 50%;
}

.contact-number {
    font-size: 1.2rem;
    font-weight: bold;
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.3);
}

@media (max-width: 480px) {
    .contact-grid {
        grid-template-columns: 1fr ;
        position: relative;
        margin-top: 615px; 
    }
}

/* General Styles */
.before-after-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    text-align: center;
}

.section-title {
    color: #2A756F;
    font-size: 2rem;
    margin-bottom: 2rem;
}

/* Slider Wrapper */
.slider-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    width: 100%;
}

/* Track (Images) */
.before-after-slider {
    width: 100%;
    overflow: hidden;
}

/* Track (Images) */
.before-after-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    padding: 0; 
    gap: 1rem;
}

/* Individual Image Card */
.before-after-card {
    flex: 0 0 32%; 
    max-width: 32%; 
    gap: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.before-after-card img {
    width: 100%;
    height: auto;
    display: block;
}

/* Navigation Buttons */
.prev-btn, .next-btn {
    /* position: absolute;
    top: 50%;
    transform: translateY(-50%); */
    background-color:#005350;
    color: white;
    border: none;
    padding: 10px 15px;
    font-size: 24px;
    cursor: pointer;
    border-radius: 50%;
    z-index: 10;
}

.prev-btn { left: 0px; }
.next-btn { right: 0px; }

.prev-btn:hover, .next-btn:hover {
    background-color: #00897b;
}

/* Responsive Design */
@media (max-width: 768px) {
    .before-after-card {
        flex: 0 0 50%; 
        max-width: 50%;
    }
}

@media (max-width: 480px) {
    .before-after-card {
        flex: 0 0 95%; 
        max-width: 100%;
    }
}
.stats-container {
    max-width: 1200px;
    background-color: #ffffff;
    height: auto;
    margin: 0 auto;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease-in-out;
    padding: 20px;
    border-radius: 50px;
}

.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-top: 10px;
    padding: 20px;
}

.stat {
    text-align: center;
}

.stat img {
    width: 70px;
    height: 70px;
    margin-bottom: 5px;
}

.stat h3 {
    font-size: 32px;
    margin-bottom: 10px;
    text-decoration: underline;
    color: #239a96;
}

.stat p {
    color: #666;
}

.cta-button {
    display: block;
    width: fit-content;
    margin: 2rem auto;
    padding: 1rem 2rem;
    background-color: #2A756F;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    text-align: center;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background-color:#008080;
}


.video-section {
    background: #e5e4de;
    padding: 2rem;
    max-width: 100%;
    margin: 0 auto;
}

.content-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 1rem;
    align-items: start;
}

.text-content {
    padding: 1rem;
    text-align: left;
}

.text-content h2 {
    color: #2A756F;
    margin-bottom: 1rem;
}

.video-container {
    position: relative;
    padding-bottom: 65%; 
    height: 0;
    overflow: hidden;
    border-radius: 10px;
    background-color: #f7fafc;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 10px;
}

@media (max-width: 1024px) {
    .before-after-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .before-after-grid {
        grid-template-columns: 1fr;
    }
    
    .content-section {
        grid-template-columns: 1fr;
    }

    .contact-bar {
        flex-direction: column;
        gap: 1rem;
    }
}


        .about-section {
            display: grid;
            grid-template-columns: 1fr 1.5fr;
            background-color: #fff; 
            position: relative; 
            height: auto;
        }

        .about-image {
            width: 90%;
            height: 90%;
            object-fit: scale-down;
            margin-top: -80px;
            background-repeat: no-repeat;
            background-position: center;
        }

        .about-content {
            padding: 3rem;
            display: flex;
            flex-direction: column;
            justify-content: center;
            position: relative;
            margin-top: -140px; 
        }

        .about-label {
            color: #2c5282;
            font-size: 1rem;
            margin-bottom: 1rem;
        }

        .about-title {
            color: #1a365d;
            font-size: 2.5rem;
            line-height: 1.2;
            margin-bottom: 1.5rem;
            max-width: 600px;
        }

        .about-description {
            color: #4a5568;
            margin-bottom: 1rem;
            max-width: 600px;
        }

        .read-more-btn {
            display: inline-block;
            padding: 0.75rem 2rem;
            background-color:#005350;
            color: white;
            text-decoration: none;
            border-radius: 4px;
            transition: background-color 0.3s;
            width: fit-content;
        }

        .read-more-btn:hover {
            background-color:#00897b;
        }

        @media (max-width: 768px) {
            .about-section {
                grid-template-columns: 1fr;
            }

            .about-content {
                padding: 2rem;
            }

            .about-title {
                font-size: 2rem;
            }
        }


        .why-choose-us-container{
            width: 90%;
            max-width: 1200px;
            margin: auto;
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
        }

        #why-choose-us {
            background: #005350;
            color: white;
            padding: 80px 0;
        }
        .why-text {
            flex: 1;
            max-width: 30%;
        }
        .why-text h2 {
            font-size: 32px;
            margin-bottom: 20px;
        }
        .why-text p {
            font-size: 18px;
            margin-bottom: 20px;
        }
        
        .why-text button {
            padding: 12px 24px;
            background:#008080;
            color: white;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            font-size: 16px;
        }

        .why-text button:hover {
            background:#00897b;
        }

        .features {
            flex: 1;
            max-width: 100%;
            display: grid;
            grid-template-columns: repeat(4, 1fr); /* 4 cards per row */
            gap: 10px;
            text-align: right;
        }
        .feature {
            background: #239a96;
            padding: 30px;
            border-radius: 8px;
            color: white;
            font-weight:300;
            text-align: center;
        }
        .features .feature img {
            width: 50px; 
            height: 50px;
            margin-bottom: 10px;
        }
        
        @media (max-width: 1024px) {
            .container {
                flex-direction: column;
                text-align: center;
            }
            .why-text, .features {
                max-width: 100%;
                padding: 20px;
                text-align: center;
            }
            .features {
                grid-template-columns: repeat(2, 1fr);
            }
        }
        @media (max-width: 768px) {
            .features {
                grid-template-columns: repeat(1, 1fr);
            }
        }

        .testimonial-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 2rem;  
            position: relative;
            margin-top: -50px;
        }

        /* Testimonials Section */
        .testimonials {
            margin-bottom: 4rem;
        }

        .section-title {
            text-align: center;
            color: #2c4964;
            font-size: 2rem;
            margin-bottom: 2rem;
        }

        .testimonials-wrapper {
            max-width: 1200px;
            margin: 0 auto;
            position: relative;
            padding: 0 40px;
        }
        
        .testimonials-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
            overflow: hidden;
        }
        
        .slider-container {
            display: flex;
            transition: transform 0.5s ease;
        }
        
        .testimonial-card {
            background-color: #f8f9fa;
            padding: 2rem;
            border-radius: 10px;
            position: relative;
            min-width: calc(50% - 1rem);
            margin-right: 2rem;
        }
        
        .quote-mark img{
            position: absolute;
            top: 0px;
            left: 160px;
        }
        
        .testimonial-content {
            margin-top: 2rem;
            color: #555;
            line-height: 1.6;
        }
        
        .testimonial-author {
            display: flex;
            align-items: center;
            margin-top: 1.5rem;
        }
        
        .author-image {
            width: 130px;
            height: 130px;
            border-radius: 20%;
            margin-right: 1rem;
            background-color: #ddd;
        }
        
        .author-info h4 {
            color: #2c4964;
            margin-bottom: 0.25rem;
        }
        
        .author-info p {
            color: #4aa3ba;
            font-size: 0.9rem;
        }
        
        .slider-button {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background-color:#005350;
            color: white;
            border: none;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            transition: background-color 0.3s ease;
            z-index: 20;
        }
        
        .slider-button:hover {
            background-color:#00897b
        }
        
        .prev-button {
            left: 0;
        }
        
        .next-button {
            right: 0;
        }
        
        @media (max-width: 768px) {
            .testimonial-card {
                min-width: calc(100% - 2rem);
            }
            
            .testimonials-container {
                grid-template-columns: 1fr;
            }

            .slider-button {
                display: none;
            }

            .slider-container {
                overflow-x: auto;
                scroll-snap-type: x mandatory;
                -webkit-overflow-scrolling: touch;
                scroll-behavior: smooth;
                padding-bottom: 1rem;
            }

            .testimonial-card {
                scroll-snap-align: start;
            }

            .quote-mark img{
                position: absolute;
                top: 0px;
                left: 160px;
            }

            .author-image {
                width: 100px;
                height: 100px;
            }

            .author-info h4 {
                font-size: 1.2rem;
            }

            .author-info p {
                font-size: 1rem;
            }
        }
        
        @media (max-width: 480px) {
            .testimonials-wrapper {
                padding: 0 20px;
                width: calc(100vw - 60px);
                min-width: calc(100vw - 60px);
            }
            
            .author-image {
                width: 80px;
                height: 80px;
            }
            
            .quote-mark img{
                position: absolute;
                top: -5px;
                left: 160px;
            }
        }
        
        /* FAQ Section */
        .faq {
            margin-bottom: 4rem;
            background-color: #f0f6f6;
            padding-top: 40px;
            padding-bottom: 80px;
        }

        .faq-container {
            max-width: 1200px;
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 2rem;
            margin: 0 auto;
        }   

        .faq-column {
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }

        .faq-item {
            border-bottom: 1px solid #e9ecef;
            padding: 1rem 0;
        }

        .faq-question {
            display: flex;
            align-items: center;
            justify-content: space-between;  
            cursor: pointer;
            color: #2c4964;
            font-weight: 500;
            padding: 1rem;
            border-bottom: 1px solid #e9ecef;
        }
        
        .faq-question::after {
            content: '+';
            font-size: 1.5rem;
            color: #4aa3ba;
        }
        
        .faq-item.active .faq-question::after {
            content: '-';
        }
        

        .faq-answer {
            display: none;
            padding-top: 1rem;
            color: #555;
            line-height: 1.6;
            margin-left: 20px;
        }

        .faq-item.active .faq-answer {
            display: block;
        }

        .faq-item.active .faq-question::after {
            content: '-';
        }

        @media (max-width: 768px) {
            .section-title {
                font-size: 1.5rem;
            }

            .testimonial-card {
                padding: 1.5rem;
            }

            .faq-container {
                grid-template-columns: 1fr;
                gap: 1rem;
            }
        }


        .blog-container {
            max-width: 1200px;
            margin: auto;
            padding: 20px;
        }
        .blog-section {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
            gap: 20px;
        }
        .blog-card {
            background: #fff;
            padding: 40px;
            border-radius: 5px;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
            text-align:left;
        }
        .blog-card h3 {
            font-size: 30px;
            margin-bottom: 10px;
            color: #333;
        }
        .blog-card p {
            font-size: 15px;
            color: #666;
            margin-bottom: 15px;
        }
        .blog-card .btn {
            display: inline-block;
            background:#008080;
            color: #fff;
            padding: 10px 20px;
            text-decoration: none;
            font-weight: 400;
        }

        .blog-card .btn:hover {
            background:#005350;
        }

        @media (max-width: 768px) {
            .blog-section {
                grid-template-columns: 1fr;
            }
        }

        /* contact us section */
.contact-us-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
    background: #edf1f5;
    color: #2A756F;
    width: 100%;
}

.contact-us-container {
    display: flex;
    flex-wrap: wrap;
    max-width: 1100px;
    width: 100%;
    gap: 30px;
    justify-content: center;
}

/* Image Box */
.image-box {
    flex: 1;
    max-width: 600px;
}

.image-box img {
    width: 100%;
    border-radius: 10px;
    margin-top: 20px;
}

.buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    gap: 10px;
}

.btn {
    background: #2A756F;
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 16px;
    text-align: center;
    flex: 1;
    transition: background 0.3s ease;
}

.btn:hover {
    background: #005350;
}

/* Contact Form */
.contact-form {
    flex: 1;
    background: #21918c;
    padding: 25px;
    border-radius: 10px;
    color: white;
    max-width: 600px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-form h2 {
    margin-bottom: 15px;
    text-align: center;
}

.contact-form input,
.contact-form select {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

/* Balding Grade Section */
.contact-balding-grade {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 15px;
}

.contact-balding-grade label {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    padding: 10px;
    border: 2px solid transparent;
    border-radius: 10px;
    transition: border 0.3s ease;
}

.contact-balding-grade input[type="radio"] {
    display: none;
}

.contact-balding-grade label img {
    width: 50px;
    height: 60px;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.contact-balding-grade label:hover img {
    transform: scale(1.1);
}

.contact-balding-grade label {
    border: 2px solid transparent; 
}

.contact-balding-grade input[type="radio"]:checked + label {
    border: 2px solid white; 
}


/* Ensure the dot is always visible */
.contact-balding-grade .dot {
    width: 18px;
    height: 18px;
    border: 2px solid white;
    border-radius: 50%;
    margin-top: 5px;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    line-height: 16px;
    color: white;
    transition: background 0.3s ease, border 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Change border when selected */
.contact-balding-grade input[type="radio"]:checked + label {
    border: 2px solid white;
}

/* Change dot to a tick when selected */
.contact-balding-grade input[type="radio"]:checked + label .dot {
    content: "✔";
    color: black;
    background-color: white;
}


/* Submit Button */
.contact-form button {
    width: 100%;
    padding: 15px;
    background: #005350;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    margin-top: 20px;
    transition: background 0.3s ease;
}

.contact-form button:hover {
    background: #022221;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .contact-us-container {
        flex-direction: column;
        align-items: center;
    }

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

@media (max-width: 768px) {
    .contact-balding-grade {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: nowrap; 
        gap: 10px;
        overflow-x: auto; 
        padding-bottom: 10px;
    }

    .contact-balding-grade label {
        flex: 0 0 auto; 
        max-width: 40px; 
    }

    .contact-balding-grade label img {
        width: 35px;
        height: 40px;
    }
}


@media (max-width: 480px) {
    .contact-us-container {
        padding: 10px;
    }

    .contact-form {
        padding: 15px;
    }

    .contact-balding-grade {
        gap: 5px;
    }

    .contact-form input,
    .contact-form select {
        padding: 5px;
    }
}


        footer {
            background: #022221;
            color: #578c8b;
            text-align: center;
            padding: 20px;
        }

        footer img {
            max-width: 150px;
            margin-bottom: 10px;
        }

        @media (max-width: 768px) {
            .container {
                flex-direction: column;
                /*align-items: center;*/
            }

            .buttons {
                flex-direction: column;
                gap: 10px;
            }

            .contact-balding-grade {
                flex-wrap: wrap;
                gap: 10px;
                justify-content: center;
            }
        }

/* pop up */
.popup-container {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 1000;
    padding: 1rem;
}

.popup-content {
    display: flex;
    flex-direction: column;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
    max-width: 1000px;
    width: 100%;
    position: relative;
    transform: scale(0.7);
    opacity: 0;
    transition: all 0.3s ease-in-out;
    overflow: hidden;
    max-height: 90vh;
}

.popup-content.active {
    transform: scale(1);
    opacity: 1;
}

.image-section {
    width: 100%;
    background-image: url('../aseets/images/rehair-popup.jpg');
    background-size: cover;
    background-position: center;
    height: 300px;
}

.form-section {
    flex: 1;
    padding: 2.5rem;
    background-color: white;
    overflow-y: scroll;
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    border: none;
    background: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: white;
    z-index: 1;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    backdrop-filter: blur(4px);
}

.form-header {
    margin-bottom: 2rem;
}

.form-header h2 {
    color: #333;
    margin: 0 0 0.5rem 0;
    font-size: clamp(1.5rem, 4vw, 1.8rem);
}

.form-header p {
    color: #666;
    margin: 0;
    font-size: clamp(0.875rem, 2vw, 1rem);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #333;
    font-weight: 500;
    font-size: clamp(0.875rem, 2vw, 1rem);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: clamp(0.875rem, 2vw, 1rem);
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4CAF50;
    box-shadow: 0 0 0 2px rgba(76, 175, 80, 0.1);
}

.submit-btn {
    background-color: #005350;
    color: white;
    padding: clamp(0.75rem, 2vw, 0.875rem) 1.5rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: clamp(0.875rem, 2vw, 1rem);
    width: 100%;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background-color: #022221;
}

/* .popup-trigger {
    margin: 20px;
    padding: clamp(0.625rem, 2vw, 0.75rem) clamp(1rem, 3vw, 1.25rem);
    background-color: #008CBA;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: clamp(0.875rem, 2vw, 1rem);
} */

/* Large screens (1200px and up) */
@media (min-width: 1200px) {
    .popup-content {
        flex-direction: row;
        max-width: 1100px;
    }

    .image-section {
        width: 60%;
        height: auto;
        min-height: 700px;
        background-image: url('../images/rehair-popup.jpg');
        background-size: cover;
        background-position: center;
    }

    .form-section {
        width: 50%;
        padding: 2rem;
    }
}

/* Medium screens (992px to 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
    .popup-content {
        flex-direction: row;
    }

    .image-section {
        width: 50%;
        height: auto;
        min-height: 500px;
    }

    .form-section {
        width: 50%;
    }
}

/* Tablet screens (768px to 991px) */
@media (max-width: 991px) {
    .image-section {
        height: 450px;
        background-image: url('../images/rehair-popup.jpg');
        background-size: cover;
        background-position: center;
    }
}

/* Mobile screens (below 768px) */
@media (max-width: 767px) {
    .popup-container {
        padding: 0;
    }

    .popup-content {
        height: 100%;
        max-height: 80vh;
        border-radius: 0;
    }

    .image-section {
        height: 445px;
    }

    .form-section {
        padding: 1rem;
    }
}
/* Very small screens */
@media (max-width: 425px) {
    .image-section {
        height: 180px;
        background-image: url('../images/popup-responsive.jpg');
        background-size: cover;
        background-position: center;
    }

    .form-section {
        padding: 0.5rem;
    }
}

/* Very small screens */
@media (max-width: 375px) {
    .image-section {
        height: 150px;
        background-image: url('../images/popup-responsive.jpg');
        background-size: cover;
        background-position: center;
    }

    .form-section {
        padding: 0.5rem;
    }
}

/* Handle landscape orientation on mobile */
@media (max-width: 767px) and (orientation: landscape) {
    .image-section {
        height: 180px;
    }
}


