body {
    font-family: 'Comic Neue', cursive;
}

.banner {
    background: url('images/Banner\ bg.png') no-repeat center center/cover;
    padding: 2rem 0;
    position: relative;

}

.techear-grading-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.techear-grading-text {
    flex: 1 1 45%;
    min-width: 300px;

}

.techear-grading-text h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-family: 'Comic Neue', cursive;
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.blue-text {
    color: rgba(35, 142, 162, 255);
    font-size: clamp(3rem, 6vw, 4.5rem);
    font-family: 'Comic Neue', cursive;

}

.techear-grading-text p {
    font-size: clamp(1rem, 2vw, 1.2rem);
    margin-bottom: 2rem;
    color: #555;
    font-family: 'Comic Neue', cursive;

}

.techear-grading-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.techear-grading-buttons img {
    max-width: 180px;
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.techear-grading-buttons img:hover {
    transform: scale(1.05);
}

.techear-grading-image {
    flex: 1 1 45%;
    min-width: 300px;
    text-align: center;
}

.techear-grading-image img {
    max-width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: contain;
}

@media (max-width: 868px) {
    .techear-grading-container {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
    }

    .techear-grading-text {
        padding-right: 0;

    }

    .techear-grading-buttons {
        justify-content: center;
    }

    .techear-grading-image img {
        max-height: 400px;
    }
}

@media (max-width: 480px) {
    .techear-grading-text h1 {
        font-size: 1.8rem;
    }

    .techear-grading-buttons img {
        max-width: 140px;
    }
}

        /* Base Styles */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', sans-serif;
        }

        /* Features Section */
        .ahs-features {
            padding: 4rem 1.5rem;
            background: #f8f9fa;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 3rem;
        }

        .ahs-title {
            text-align: center;
            font-size: clamp(2rem, 5vw, 3.5rem);
            font-weight: 700;
            color: #181818;
            max-width: 800px;
            line-height: 1.2;
            margin: 0 auto 2rem;
        }

        /* Feature Card */
        .ahs-feature {
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 3rem;
            width: 100%;
            max-width: 1200px;
            padding: 3rem;
            border-radius: 20px;
            border: 1px solid #e0e0e0;
            background: white;
        }

        /* Content Layout */
        .ahs-text {
            flex: 1 1 55%;
            min-width: 300px;
            padding: 1rem;
        }

        .ahs-image-box {
            flex: 1 1 45%;
            min-width: 280px;
            display: grid;
            place-items: center;
        }

        /* Typography */
        .ahs-heading {
            font-size: clamp(0.75rem, 3vw, 1.55rem);
            font-weight: 800;
            margin-bottom: 0.75rem;
            line-height: 1.3;
        }

        .ahs-subheading {
            font-size: clamp(2.25rem, 2.2vw, 2.0rem);
            font-weight: 900;
            color: #2b2b2b;
            margin-bottom: 1.5rem;
        }

        .ahs-description {
            font-family: 'Comic Neue', cursive;
            font-size: clamp(1rem, 1.7vw, 1.1rem);
            font-weight: 500;
            color: #666;
            line-height: 1.7;
            max-width: 600px;
        }

        /* Image Styling */
        .ahs-image {
            width: 100%;
            max-width: 270px;
            height: auto;
            border-radius: 12px;
            object-fit: contain;
            transition: transform 0.3s ease;
        }

        /* Alternate Layout */
        .ahs-feature:nth-child(odd) {
            flex-direction: row-reverse;
        }

        /* Gradient Backgrounds */
        .ahs-feature-1, .ahs-feature-3, .ahs-feature-5 {
            background: linear-gradient(120deg, #ffffff 0%, #d7f9ff 36%, #ffffff 60%, #c7f6ff);
        }

        .ahs-feature-2, .ahs-feature-4 {
            background: linear-gradient(70deg, #ffffff 0%, #ffe4c8 36%, #ffffff 60%, #ffebd7);
        }

        /* Color Scheme */
        .ahs-heading-1, .ahs-heading-3, .ahs-heading-5 { color: #238EA2; }
        .ahs-heading-2, .ahs-heading-4 { color: #ef6c00; }

   /* Responsive Design Overhauls */
@media (max-width: 1200px) {
    .ahs-feature {
        padding: 2.5rem;
        gap: 2.5rem;
    }

    .ahs-image {
        max-width: 240px;
    }
}

@media (max-width: 1024px) {
    .ahs-feature {
        padding: 2rem;
        gap: 2rem;
    }

    .ahs-text {
        flex-basis: 60%;
    }

    .ahs-image-box {
        flex-basis: 40%;
    }

    .ahs-image {
        max-width: 220px;
    }
}

@media (max-width: 900px) {
    .ahs-feature {
        flex-direction: column !important;
        padding: 2rem 1.5rem;
    }

    .ahs-text,
    .ahs-image-box {
        flex-basis: 100%;
        min-width: auto;
    }

    .ahs-image {
        max-width: 280px;
    }

    .ahs-heading {
        font-size: clamp(1.5rem, 4vw, 2rem) !important;
        text-align: center;
    }

    .ahs-subheading {
        font-size: clamp(1.75rem, 4.5vw, 2rem) !important;
        text-align: center;
    }

    .ahs-description {
        font-size: clamp(0.95rem, 1.8vw, 1.1rem);
        line-height: 1.6;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .ahs-features {
        padding: 3rem 1rem;
    }

    .ahs-title {
        font-size: clamp(1.75rem, 7vw, 2.5rem);
        text-align: center;
    }

    .ahs-description {
        font-size: clamp(0.95rem, 1.8vw, 1.1rem);
        line-height: 1.6;
        text-align: center;
    }
}

@media (max-width: 600px) {
    .ahs-feature {
        padding: 1.75rem 1.25rem;
        border-radius: 18px;
    }

    .ahs-image {
        max-width: 240px;
    }

    .ahs-heading {
        margin-bottom: 0.5rem;
        text-align: center;
    }

    .ahs-subheading {
        margin-bottom: 1rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .ahs-features {
        padding: 2.5rem 0.5rem;
        gap: 1.5rem;
    }

    .ahs-feature {
        padding: 1.5rem 1rem;
        border-radius: 16px;
        gap: 1.5rem;
    }

    .ahs-image {
        max-width: 200px;
    }

    .ahs-heading {
        font-size: 1.2rem !important;
        text-align: center;
    }

    .ahs-subheading {
        font-size: 1.3rem !important;
        text-align: center;
    }

    .ahs-description {
        font-size: 0.9rem;
        line-height: 1.5;
        text-align: center;
    }
}

@media (max-width: 380px) {
    .ahs-image {
        max-width: 180px;
    }

    .ahs-heading {
        font-size: 1.3rem !important;
        text-align: center;
    }

    .ahs-subheading {
        font-size: 1.4rem !important;
        text-align: center;
    }

    .ahs-description {
        font-size: 0.85rem;
        text-align: center;
    }
}

/* Touch Optimization */
@media (pointer: coarse) {
    .ahs-image {
        max-width: 260px !important;
    }
}

        /* Hover Effects */
        .ahs-image:hover {
            transform: scale(1.03);
        }

        /* Accessibility */
        .ahs-feature:focus-within {
            box-shadow: 0 0 0 3px rgba(35, 142, 162, 0.3);
        }



        .landing-testimonial-section {
            background-color: #f8f8f8;
            text-align: center;
            padding: 50px 0px;
            background-position: cover;
            background-repeat: no-repeat;
        }

        .testimonial-section-container {
            max-width: 1000px;
            margin: auto;
            position: relative;
            overflow: hidden;
        }

        .testimonial-tital {
            font-size: 45px;
            color: #1a1a1a;
            margin-bottom: 10px;
            font-family: 'Comic Neue', 'Comic Sans MS', cursive;
            font-weight: bold;

        }


        .subheading {
            color: #555;
            margin-bottom: 50px;
            font-family: 'Comic Neue', 'Comic Sans MS', cursive;

        }

        .testimonial-wrapper {
            display: flex;
            transition: transform 0.5s ease;
            position: relative;
            margin-top: 100px;
            align-items: flex-start;
        }

        .testimonial-container {
            width: 30%;
            min-width: 300px;
            margin: 0 15px;
            display: flex;
            flex-direction: column;
            align-items: center;
            transition: all 0.3s ease;
        }

        .testimonial {
            background: white;
            border-radius: 30px;
            box-shadow: 0 4px 8px rgba(0,0,0,0.1);
            padding: 70px 25px 25px;
            width: 100%;
            position: relative;
            transition: all 0.3s ease;
            border: 2px solid #238ea1;

        }

        .testimonial-container.active .testimonial {
            background: #238ea1;
            color: white;
            transform: translateY(-45px);
        }

        .testimonial img {
            width: 100px;
            height: 100px;
            border-radius: 50%;
            position: absolute;
            top: -50px;
            left: 50%;
            transform: translateX(-50%);
            border: 1px solid #238ea1;
            object-fit: cover;
        }

        .user-name {
            font-size: 18px;
            margin: 15px 0 5px;
            font-family: 'Comic Neue', 'Comic Sans MS', cursive;

        }

        .user-role {
            color: #777;
            font-size: 14px;
            margin-bottom: 15px;
            font-family: 'Comic Neue', 'Comic Sans MS', cursive;

        }

        .stars {
            color: #f4b400;
            font-size: 25px;
            margin-bottom: 15px;
        }

        .testimonial p {
            font-size: 14px;
            line-height: 1.6;
            word-spacing: 1px;
            color: #555;
            font-family: 'Comic Neue', 'Comic Sans MS', cursive;

        }

        .active .testimonial p,
        .active .testimonial .user-role,
        .active .testimonial .user-name {
            color: white !important;
        }

        .arrows {
            position: absolute;
            top: 50%;
            left: 0;
            transform: translateY(100%);
            width: 100%;
            display: flex;
            justify-content: space-between;
            padding: 0 30px;

        }

        .arrow {
            background: #1E8489;
            border: none;
            width: 40px;
            height: 40px;
            border-radius: 10%;
            box-shadow: 0 2px 5px rgba(0,0,0,0.2);
            cursor: pointer;
            font-size: 24px;
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .review-button {
            background: #238ea1;
            color: white;
            border: none;
            padding: 10px 20px;
            border-radius: 20px;
            margin-top: -40px;
            cursor: pointer;
            display: none;
            position: relative;
            z-index: 1;
            font-family: 'Comic Neue', 'Comic Sans MS', cursive;

        }

        .testimonial-container.active .review-button {
            display: inline-block;
        }

        @media (max-width: 1024px) {
            .testimonial-container {
                width: 45%;
                min-width: 280px;
                margin: 0 10px;

            }
        }

        @media (max-width: 768px) {
            /* body {
                padding: 30px 15px;
                overflow: auto;
            } */

            .testimonial-section-container {
                max-width: 100%;
            }

            .testimonial-tital {
                font-size: 28px;
            }

            .subheading {
                font-size: 14px;
                margin-bottom: 30px;
            }

            .testimonial-wrapper {
                margin-top: 80px;
            }

            .testimonial-container {
                width: 80%;
                min-width: 550px;
                margin: 0 auto;
                margin-left: 25px;
            }

            .testimonial {
                padding: 60px 20px 20px;
                border-radius: 20px;
            }

            .testimonial-container.active .testimonial {
                transform: translateY(0);
            }

            .testimonial img {
                width: 80px;
                height: 80px;
            }

            .user-name {
                font-size: 16px;
            }

            .user-role {
                font-size: 12px;
            }

            .stars {
                font-size: 20px;
            }

            .testimonial p {
                font-size: 12px;
                line-height: 1.5;
            }

            .arrows {
                top: 60%;
                transform: translateY(100%);
                padding: 0 10px;
            }

            .arrow {
                width: 35px;
                height: 35px;
                font-size: 20px;
            }

            .review-button {
                padding: 8px 16px;
                font-size: 14px;
                margin-top: 15px;
            }
        }

        @media (max-width: 480px) {
            .testimonial-container {
                width: 90%;
                min-width: 70%;
                align-items: center;
                margin-left: 25px;
            }

            .testimonial-tital {
                font-size: 24px;
            }

            .subheading {
                font-size: 12px;
                margin-bottom: 20px;
            }

            .testimonial {
                padding: 50px 15px 15px;
            }

            .arrows {
                top: 50%;
            }

        }


                /* Popup Styles */
                .review-popup {
                    background: white;
                    border-radius: 15px;
                    padding: 25px;
                    width: 90%; /* Changed from min-width */
                    max-width: 600px; /* Maximum width for larger screens */
                    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
                    text-align: center;
                    position: relative;
                    margin: 20px auto; /* Center the popup */
                }

                .review-header {
                    font-family: 'Comic Neue', 'Comic Sans MS', cursive;
                    font-weight: bold;
                    font-size: 35px;
                    color: #1E8489 !important;
                    margin-bottom: 25px;

                }

                .stars i {
                    font-size: 35px;
                    color: #e0e0e0;
                    cursor: pointer;
                    transition: all 0.2s ease;
                    margin: 0 3px;
                    font-family: 'Comic Neue', 'Comic Sans MS', cursive;

                }

                .stars i.active {
                    color: #f4b400;
                    text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
                    font-family: 'Comic Neue', 'Comic Sans MS', cursive;

                }

                    /* Updated Star Styles */
            .stars i.bi-star {
                color: #e0e0e0;
            }

            .stars i.bi-star-fill {
                color: #f4b400;
                text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
            }

                .close-btn {
                    position: absolute;
                    top: 10px;
                    right: 10px;
                    cursor: pointer;
                    font-size: 25px;
                    font-weight: bold;
                    color: white !important; /* White color */
                    background: red; /* Red background */
                    border-radius: 50%;
                    width: 30px;
                    height: 30px;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    padding-bottom: 3px;
                    transition: all 0.2s ease;
                }

                .close-btn:hover {
                    background: #cc0000;
                }

                .form-control {
                    border-radius: 8px;
                    padding: 12px 15px;
                    margin-bottom: 15px;
                    border: 2px solid form-control;
                    font-family: 'Comic Neue', 'Comic Sans MS', cursive;

                }

                .form-control:focus {
                    box-shadow: 0 0 0 3px rgba(30, 132, 137, 0.2);
                }

                .techear-form-control {
            border-radius: 8px !important;
            padding: 12px 15px !important;
            margin-bottom: 15px;
            border: 2px solid #dee2e6 !important;
            width: 100%;
            font-family: 'Comic Neue', 'Comic Sans MS', cursive;

        }

        .techear-form-control:focus {
            box-shadow: 0 0 0 3px rgba(30, 132, 137, 0.2) !important;
            border-color: #1E8489 !important;
            outline: none;
        }

                .submit-btn {
                    background: #1E8489;
                    color: white;
                    padding: 12px 30px;
                    border-radius: 25px;
                    border: none;
                    font-weight: 600;
                    margin-top: 20px;
                    transition: all 0.3s ease;
                    font-family: 'Comic Neue', 'Comic Sans MS', cursive;

                }

                .submit-btn:hover {
                    transform: translateY(-2px);
                    box-shadow: 0 5px 15px rgba(30, 132, 137, 0.3);
                }


        /* Add to CSS */
        .testimonial-container:last-child {
            margin-right: 15px;
        }

        input:invalid, textarea:invalid {
            border-color: #e4e4e4 !important;
        }

        /* input:focus:invalid, textarea:focus:invalid {
            box-shadow: 0 0 0 3px rgba(255, 68, 68, 0.2) !important;
        } */

        /* Responsive adjustments */
@media (max-width: 768px) {
    .review-popup {
        padding: 20px;
        width: 85%;
    }

    .review-header {
        font-size: 28px !important;
        margin-bottom: 20px;
    }

    .stars i {
        font-size: 28px;
    }

    .close-btn {
        top: 8px;
        right: 8px;
        font-size: 20px;
        width: 25px;
        height: 25px;
    }

    .form-control, .techear-form-control {
        padding: 10px 12px !important;
        font-size: 14px;
    }

    .submit-btn {
        padding: 10px 25px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .review-popup {
        padding: 15px;
        width: 90%;
        border-radius: 12px;
    }

    .review-header {
        font-size: 24px !important;
        margin-bottom: 15px;
    }

    .stars i {
        font-size: 24px;
    }

    .close-btn {
        top: 5px;
        right: 5px;
        font-size: 18px;
        width: 22px;
        height: 22px;
    }

    .form-control, .techear-form-control {
        padding: 8px 10px !important;
        font-size: 13px;
        margin-bottom: 12px;
    }

    .submit-btn {
        padding: 8px 20px;
        margin-top: 15px;
    }
}

/* Existing styles remain the same below this line */
.stars i {
    font-size: 35px;
    /* ... other existing styles ... */
}


        .user-avatar {
            width: 100px;
            height: 100px;
            border-radius: 50%;
            position: absolute;
            top: -50px;
            left: 50%;
            transform: translateX(-50%);
            border: 1px solid #238ea1;
            display: flex;
            align-items: center;
            justify-content: center;
            font-family: 'Comic Neue', 'Comic Sans MS', cursive;
            font-size: 32px;
            font-weight: bold;
            color: white;
            text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
        }

        .download-section {
            position: relative;
            width: 100%;
            background-color: #238ea1;
            color: white;
            text-align: center;
            padding: 1rem 1rem;
            box-sizing: border-box;
        }

        .download-content {
            max-width: 1200px;
            margin: 0 auto;
        }

        .download-section h1 {
            font-weight: 600;
            font-size: clamp(2.5rem, 8vw, 4.5rem);
            margin-bottom: 1.5rem;
            line-height: 1.2;
            color: #fff;
        }

        .download-section p {
            font-size: clamp(1rem, 4vw, 1.375rem);
            max-width: 800px;
            margin: 0 auto 2rem;
            font-family: "Comic Neue", cursive;
            line-height: 1.5;
            padding: 0 1rem;
            color: #fff;
        }

        .buttons2 {
            display: flex;
            justify-content: center;
            gap: 1.5rem;
            flex-wrap: wrap;
            margin-top: 2rem;
        }

        .buttons2 img {
            width: 100%;
            max-width: 200px;
            height: auto;
            transition: transform 0.3s ease;
        }

        .buttons2 img:hover {
            transform: scale(1.05);
        }

        /* Footer Styles */
        /* .ahs-footer {
            background: #1a6a80;
            color: white;
            padding: 2rem 1rem;
            margin-top: -1px;
        }

        .footer-content {
            max-width: 1200px;
            margin: 0 auto;
            text-align: center;
        }

        .footer-links {
            margin-top: 1.5rem;
            display: flex;
            justify-content: center;
            gap: 2rem;
            flex-wrap: wrap;
        }

        .footer-links a {
            color: white;
            text-decoration: none;
            font-size: 1rem;
            transition: opacity 0.3s ease;
        }

        .footer-links a:hover {
            opacity: 0.8;
        } */

        @media (max-width: 768px) {
            .download-section {
                padding: 3rem 1rem;
            }

            .download-section h1 {
                font-size: clamp(2rem, 8vw, 3rem);
            }

            .buttons2 {
                gap: 1rem;
            }

            .buttons2 img {
                max-width: 180px;
            }

            .footer-links {
                gap: 1rem;
            }
        }

        @media (max-width: 480px) {
            .download-section p {
                font-size: 1.1rem;
            }

            .buttons2 img {
                max-width: 160px;
            }

            .footer-links {
                flex-direction: column;
            }
        }