@media(max-width: 1290px) {
    .header-wrapper {
        grid-template-columns: 1fr 180px 1fr;
        padding-left: 24px;
        padding-right: 24px;
    }
}

@media (max-width: 1199px) {
    .hero-content h1 {
        font-size: 40px;
        line-height: 52px;
    }

    .section-title {
        font-size: 40px;
        line-height: 52px;
    }

    .stats-section {
        padding: 60px 40px;
    }

    .specializing-section {
        padding: 90px 40px;
    }

    footer {
        padding: 150px 40px 44px;
    }

    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .blogs-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .social-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 991px) {
    .hero-section {
        height: auto;
        min-height: 100vh;
        padding-top: 180px;
        flex-direction: column-reverse;
        gap: 30px;
    }

    .hero-image {
        max-width: 600px;
        margin: 0 auto;
    }

    .hero-content h1 {
        font-size: 34px;
        line-height: 44px;
    }

    .stats-section {
        grid-template-columns: repeat(2, 1fr);
        padding: 50px 30px;
    }

    .about-section {
        flex-direction: column;
        padding: 40px 30px;
        gap: 40px;
    }

    .about-section>div {
        max-width: 100%;
    }

    .procedures-section {
        padding: 50px 20px;
    }

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

    .insights-section,
    .blogs-section,
    .social-wall,
    .contact-section {
        padding: 50px 30px;
    }

    .video-gallery-wrapper {
        grid-template-columns: 1fr;
    }

    .blogs-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .social-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .contact-section {
        flex-direction: column;
    }

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

    footer {
        padding: 150px 30px 40px;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px 20px;
    }
}

@media (max-width: 767px) {
    .logo {
        max-width: 140px;
    }

    .about-section {
        padding-top: 40px;
        padding-bottom: 40px;
        padding-left: 24px;
        padding-right: 24px;
    }

    .contact-form form {
        padding-top: 40px;
        padding-left: 24px;
        padding-right: 24px;
    }

    .form-group input,
    .form-group textarea {
        font-size: 16px;
        padding: 16px 24px;
    }

    .form-group input::placeholder,
    .form-group textarea::placeholder {
        font-size: 16px;
    }

    .hero-content p,
    .text-slider span,
    .stat-label,
    .stat-card p,
    .section-label,
    .about-content p,
    .procedures-section p,
    .procedure-overlay p,
    .video-info div,
    .testimonial-card p,
    .author-name,
    .author-time,
    .contact-info p,
    .blog-content p,
    .specializing-section p,
    .footer-col a,
    .footer-col p,
    .footer-bottom p {
        font-size: 15px;
    }

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

    .hero-content h1 {
        font-size: 28px;
        line-height: 36px;
        margin-bottom: 14px;
    }

    .section-title {
        font-size: 30px;
        line-height: 38px;
    }

    /* Hero */
    .hero-section {
        padding: 160px 20px 0;
    }

    /* Text Slider */
    .text-slider {
        gap: 20px;
    }

    /* Stats */
    .stats-section {
        grid-template-columns: 1fr;
        padding: 40px 20px;
        gap: 16px;
    }

    .stat-card {
        padding: 40px 24px 28px;
        border-radius: 30px;
    }

    .stat-number {
        font-size: 28px;
    }

    .stat-text {
        font-size: 22px;
    }

    /* Procedures */
    .procedures-section {
        padding: 40px 20px;
    }

    .procedure-card {
        min-height: 220px;
    }

    .procedure-card::after {
        top: 0;
    }

    .gallery-arrows {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 20px;
        margin-top: 24px;
    }

    .gallery-arrows .splide__arrow {
        position: static;
        transform: none;
    }


    .procedure-name {
        font-size: 20px;
        line-height: 24px;
    }

    .procedure-card p {
        max-height: fit-content;
        visibility: visible;
        opacity: 1;
    }

    /* Gallery */
    .gallery-section {
        padding: 40px 20px;
    }

    .gallery-arrows .splide__arrow--next {
        right: 4px;
    }

    .gallery-arrows .splide__arrow--prev {
        left: 4px;
    }

    /* Insights / Video */
    .insights-section {
        padding: 40px 20px;
    }

    .insights-section .section-title {
        margin-bottom: 30px;
    }

    .video-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding: 12px;
    }

    .video-item img {
        width: 100%;
        height: auto;
    }

    .video-info {
        padding: 0;
    }

    /* Testimonials */
    .testimonials-section {
        padding: 40px 20px;
    }

    .testimonial-card {
        padding: 28px 20px;
    }

    /* Blogs */
    .blogs-section {
        padding: 40px 20px;
    }

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

    .blog-title {
        font-size: 18px;
    }

    /* Specializing */
    .specializing-section {
        padding: 60px 20px;
    }

    /* Social wall */
    .social-wall {
        padding: 40px 20px;
    }

    .social-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        margin-bottom: 30px;
    }

    /* Contact */
    .contact-section {
        padding: 40px 20px;
        gap: 30px;
    }

    /* Map */
    .map-section {
        padding: 40px 20px 0;
        margin-bottom: -60px;
    }

    /* Footer */
    footer {
        padding: 120px 20px 30px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .footer-col {
        border-left: none;
        border-top: 2px solid var(--secondary, #1CC0F7);
        padding-left: 0;
        padding-top: 16px;
        text-align: center;
    }

    .footer-col:first-child {
        border-top: none;
        padding-top: 0;
    }

    .footer-col p {
        max-width: 100%;
    }

    .social-icons {
        justify-content: center;
    }

    .footer-logo {
        display: flex;
        justify-content: center;
    }

    .footer-logo img {
        width: 200px;
    }
}

/* ===== Small Mobile (max-width: 480px) ===== */
@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 24px;
        line-height: 32px;
    }

    .section-title {
        font-size: 24px;
        line-height: 32px;
    }

    .navbar li a img {
        width: 16px;
        height: 16px;
    }

    .btn {
        padding: 8px 14px;
    }

    .stat-number {
        font-size: 24px;
    }

    .stat-text {
        font-size: 18px;
    }

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

    .form-group input,
    .form-group textarea {
        padding: 14px 20px;
    }

    .contact-form form {
        padding-left: 20px;
        padding-right: 20px;
    }

    .about-section {
        padding-left: 20px;
        padding-right: 20px;
    }

    .mobile-menu {
        width: 100%;
    }
}