/* Responsive font sizing for homepage sections */
@media (max-width: 1439.98px) {
    .main-heading {
        font-size: clamp(44px, 5vw, 50px);
    }

    .sub-heading {
        font-size: 13px;
    }

    .sub-para,
    .hero-bottom .sub-para,
    .service-card p,
    .person-card p,
    .faq-answer {
        font-size: 15px;
    }

    .service-card h3,
    .person-card h3 {
        font-size: 20px;
    }

    .testimonial-para {
        font-size: 20px;
    }
}

@media (max-width: 1150px) {
    .person-card p {
        min-height: auto;
    }

    .testimonial-para {
        min-height: 32vh;
    }

    .hero-content h2 {
        font-size: clamp(40px, 9vw, 72px);
    }

    .hero-bottom {
        gap: 18px;
    }

    .service-card {
        min-height: auto;
        padding: 24px;
    }

    .service-card h3 {
        max-width: 100%;
    }

    .service-card p {
        max-width: 100%;
    }

    .contact-form {
        padding: 42px 34px;
    }
}

@media (max-width: 1023.98px) {
    .main-heading {
        font-size: clamp(38px, 6vw, 48px);
    }

    .sub-heading {
        font-size: 12.5px;
    }

    .hero-bottom .sub-para,
    .thesis-intro .sub-para,
    .service-card p,
    .person-card p,
    .faq-answer {
        font-size: 14.5px;
    }

    .service-card h3,
    .person-card h3,
    .wing-label-gold {
        font-size: 19px;
    }

    .wing-big h3 {
        font-size: 18px;
    }

    .wing-big h4 {
        font-size: 17px;
    }

    .wing-big p {
        font-size: 15px;
    }

    .testimonial-para {
        font-size: 18px;
    }

    .faq-question {
        font-size: 18px;
    }

    .form-control {
        font-size: 15px;
    }

    .hero-section {
        min-height: auto;
        padding-top: 90px;
    }

    .hero-bottom {
        /* flex-direction: column; */
        align-items: flex-start;
        gap: 20px;
        margin-bottom: 40px
    }

    .hero-bottom .sub-para {
        max-width: 100%;
    }

    .wing-copy {
        padding: 34px 24px;
    }

    /* 
    .wings-panel {
        min-height: 700px;
    }

    .wing1-big {
        bottom: -60%;
        left: -45%;
        width: 180%;
        height: 180%;
    }

    .wing2-big {
        bottom: -60%;
        right: -45%;
        width: 180%;
        height: 180%;
    }

    .wing1-big-inner,
    .wing2-big-inner {
        max-width: 380px;
    }

    .wing2-btn,
    .wing1-btn {
        width: 170px;
        height: 170px;
    }

    .wing2-btn {
        bottom: -8%;
        right: 2%;
    }

    .wing1-btn {
        bottom: -8%;
        left: 2%;
    }

    .wing2-btn span,
    .wing1-btn span {
        font-size: 22px;
        top: 30%;
        left: 20%;
    } */

    .testimonial-nav {
        position: static !important;
        width: 100%;
        justify-content: center;
        gap: 20px;
        margin-top: 40px;
    }

    .testimonial-nav .nav-btn {
        max-width: 180px;
        width: 100%;
    }

    .testimonial-para {
        min-height: auto;
    }

    .contact-form {
        padding: 36px 32px;
    }
}

@media (max-width: 768px) {

    .desktop-only {
        display: none !important;
    }

    .mobile-only {
        display: block !important;
    }

    h2 {
        margin: 0 0 16px;
    }

    .main-heading {
        font-size: clamp(30px, 8vw, 42px);
        font-weight: 300;
        text-align: center;
        margin-bottom: 40px;
    }

    .thesis-intro .main-heading {
        margin-bottom: 20px;
    }

    .sub-heading {
        font-size: 14px;
        text-align: center;
        justify-content: center
    }

    .sub-para {
        text-align: center;
    }


    .hero-section {
        min-height: 100vh;
    }

    .hero-content h2 {
        text-align: center;
        font-size: clamp(32px, 9vw, 52px);
    }

    .hero-content h2 span {
        padding-top: 8px;
        text-align: center;
    }

    .hero-bottom .sub-para {
        text-align: center;
        font-size: 16px;
        max-width: 307.9px;
        margin: 0 auto;
    }

    .hero-bottom {
        width: 100%;
        gap: 50px;
        flex-direction: column-reverse;
        margin-bottom: 0;
    }

    .hero-arrow,
    .send-arrow {
        width: 80px;
        height: 80px;
        font-size: 25px;
    }

    .material-symbols-outlined {
        font-size: 24px;
    }

    .get-in-touch-btn {
        width: 88px;
        height: 88px;
        left: -25px;
        top: -5px;
    }

    .sub-para,
    .hero-bottom .sub-para,
    .service-card p,
    .person-card p,
    .faq-answer {
        font-size: 16px;
    }

    /* .service-card h3,
    .person-card h3 {
        font-size: 18px;
    } */

    .person-card img {
        max-height: 85vh;
    }

    .wings-section {
        min-height: 100vh;
    }

    .wings-section .page-wrap {
        width: 100%;
        padding: 0;
    }

    .wings-section .wings-panel {
        background-image: url(../assets/images/home/wings-panel-bg-mob.webp);
        background-position: bottom;
        border-radius: unset;
        min-height: 800px;
    }

    .wing1-big {
        width: 275%;
        height: 215%;
        bottom: auto;
        top: -143%;
        left: -100%;
    }

    .wing2-big {
        width: 275%;
        height: 215%;
        bottom: auto;
        top: -145%;
        left: -100%;
    }

    .wing2-btn,
    .wing1-btn {
        width: 140px;
        height: 140px;
    }

    .wing1-btn span {
        font-size: 18px;
        top: 40%;
        left: 30%;

    }


    .wing2-btn span {
        font-size: 18px;
        top: 40%;
        left: 20%;
    }

    .wing1-btn {
        bottom: -3%;
        left: -4%;
    }

    .wing2-btn {
        bottom: -2%;
        right: -4%;
    }

    .wing1-big-inner {
        max-width: 280px;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-36%, 58%);
    }

    .wing2-big-inner {
        max-width: 280px;
        position: absolute;
        top: 50%;
        right: 50%;
        transform: translate(65%, 118%);
    }

    .wing-label-gold {
        font-size: 18px;
        margin-bottom: 16px;
    }

    .wing-big h3 {
        font-size: 16px;
        margin-bottom: 8px;

    }

    .wing-big h4 {
        margin-bottom: 7.5px;
        font-size: 16px;
    }

    .wing-big p {
        font-size: 14px;
    }

    .testimonial-photo-wrap {
        display: none;
    }

    .testimonial-para {
        font-size: 16px;
    }

    .stars span {
        font-size: 20px;
    }

    .btn-send {
        font-size: 15px;
    }

    .page-wrap {
        width: 96%;
    }

    .section-space {
        padding: 60px 0 0;
    }


    .marquee-track {
        font-size: 24.2px;
        gap: 20px;
        padding: 22px 0;
    }

    .thesis-card {
        min-height: auto;
        padding: 30px 20px;
    }

    .thesis-symbol {
        max-height: 100px;
        margin-top: 36px;
    }

    .service-card {
        padding: 35px 23px 17.1px 23px;
        max-height: 312.1px;
    }

    .service-card h3 {
        /* font-size: 18px; */
        /* max-width: 80%; */
    }

    .service-card p {
        font-size: 14px;
        max-width: 300px;
    }



    /* Disable hover effects on mobile */
    .service-card:hover .service-icon .service-icon-default {
        display: block;
    }

    .service-card:hover .service-icon .service-icon-active {
        display: none;
    }

    .service-card:hover h3 {
        color: #fff;
    }

    .service-card:hover .service-link {
        color: #6D6D6D;
        transform: rotate(-45deg);
    }

    /* Active state for scroll animation */
    .service-card.active .service-icon .service-icon-default {
        display: none;
    }

    .service-card.active .service-icon .service-icon-active {
        display: block;
    }

    .service-card.active h3 {
        color: #fcb542;
    }

    .service-card.active .service-link {
        color: #fcb542;
        transform: rotate(0deg);
    }

    .testimonial-content-header {
        display: flex;
        gap: 16px;
        justify-content: center;
        align-items: center;
    }

    .founder-img-mob {
        width: 80px;
        height: 80px;
        object-fit: cover;
        border-radius: 80px;
        display: block;
    }

    .founder-img-dec {
        display: none;
    }

    .testimonial-slide {
        border: solid 0.9px rgba(255, 255, 255, 0.1);
        background-color: rgba(27, 27, 27, 0.4);
        border-radius: 26px;
        padding: 24px 20px;
    }

    .testimonial-content .founder-name {
        font-size: 18px;
    }

    .testimonial-content .founder-company {
        font-size: 14px;
    }

    .testimonials-carousel .testimonial-nav {
        position: static;
        width: 100%;
        justify-content: space-between;
        gap: 16px;
        margin: 30px auto;
        max-width: 120px;
    }

    .testimonials-carousel .testimonial-nav .nav-btn {
        height: 45px;
        max-width: 45px;
        padding: 0;
    }

    .testimonial-para {
        font-size: 18px;
        min-height: auto;
    }

    .contact-form {
        padding: 0;
        background-color: transparent;
        border: none;
        border-radius: unset;
        height: auto;
    }

    .contact-form .layer-bg {
        display: none;
    }

    .contact-form h3 {
        font-size: 16px;
        text-align: center;
    }

    .contact-section .faq-list {
        margin-bottom: 30px;
        margin-top: 0;
        height: auto;
    }

    .faq-item {
        border-radius: 8.5px;
    }

    .form-actions {
        justify-content: center;
        align-items: stretch;
        margin-top: 35px;
    }

    .faq-item.active .faq-answer {
        max-height: 264px;
        padding: 0 12px 16px 12px;
        color: rgba(255, 255, 255, 0.5);
    }

    .faq-question {
        font-size: 16px;
        padding: 16px 12px;
        color: #f2f2f2;
    }

    .faq-question span {
        width: 27px;
        height: 24px;
        margin-left: 18px;
        padding: 10px 10px 15px 10px;
        font-size: 16px;
    }

    .form-control {
        min-height: auto;
        font-size: 15.4px;
        padding: 17px 27px;
        color: rgba(255, 255, 255, 0.5);
        border-radius: 11.5px;
        border: solid 1px rgba(255, 255, 255, 0.2);
    }

    textarea.form-control {
        min-height: 180px;
    }


    .cta-bottom-banner-section {
        padding: 80px 0;
    }

    .cta-banner {
        padding: 0;
    }

    .send-arrow.large {
        width: 80px;
        height: 80px;
    }

    .send-arrow.large img {
        transform: rotate(0deg);
        width: 35px;
        height: 33px;
    }

}

@media (max-width: 575.98px) {
    /* .main-heading {
        font-size: clamp(26px, 12vw, 36px);
    } */

    /* .hero-content h2 {
        font-size: clamp(24px, 9vw, 34px);
    } */

    /* .sub-heading {
        font-size: 11px;
    } */

    .sub-para,
    .hero-bottom .sub-para,
    .service-card p,
    .person-card p,
    .faq-answer {
        font-size: 13px;
    }

    .service-card h3,
    .person-card h3 {
        font-size: 20px;
    }

    .service-card h3 {
        /* max-width: 78%; */

    }

    /* .wing-label-gold {
        font-size: 16px;
    }

    .wing-big h3 {
        font-size: 15px;
    }

    .wing-big h4 {
        font-size: 14px;
    } */

    .testimonial-para {
        font-size: 16px;
    }

    .stars span {
        font-size: 18px;
    }

    .btn-send {
        font-size: 14px;
    }

    .hero-bottom {
        align-items: flex-start;
    }

    /* .service-card {
        padding: 18px;
    } */

    .person-card {
        padding: 11.8px 11.8px 21.9px;
    }

    .person-card img {
        max-height: 70vh;
    }

    .wing1-btn {
        bottom: -2%;
        left: -7%;
    }

    .wing2-btn {
        bottom: -2%;
        right: -7%;
    }

    .testimonial-content .founder-name {
        font-size: 16px;
    }

    .testimonial-content .founder-company {
        font-size: 12px;
    }

    .testimonial-nav .nav-btn {
        width: 100%;
    }

}