/* 
   Responsive Styles
   Breakpoints: 1440px -> 360px 
*/

/* =========================================
   1440px to 1200px (Extra Large Screens) 
   ========================================= */
@media (max-width: 1440px) {
    .container {
        max-width: 1140px;
    }

    .hero-title {
        font-size: 71px;
        line-height: 72px;
    }

    .diff-list li {
        font-size: 17px;
    }

    .service-title {
        font-size: 20px;
    }

    .service-content {
        padding: 40px 19px 30px 19px;
    }

    .cs-number {
        font-size: 27px;
        line-height: 28px;
    }

    .review-text {
        font-size: 17px;
    }

    .oc-card {
        padding: 40px 16px;
    }

    .oc-card h5 {
        font-size: 18px;
    }

    .fr-title {
        font-size: 37px;
    }

    .faq-accordion .accordion-button {
        font-size: 18px;
    }
.hero-quote-card .promo-top-right {
    top: -171px;
    right: -79px;
}
.consultation-form-card .promo-top-right {
    top: 1px;
    right: 6px;
}

}

@media (max-width: 1366px) {
    .trust-title {
        font-size: 12px;
    }

    .diff-title {
        font-size: 47px;
    }

    .difference-section .col-lg-6.ps-lg-5 h3 {
        font-size: 23px;
    }

    .difference-section .col-lg-6.pe-lg-5 h3 {
        font-size: 23px;
    }

    .portfolio-card {
        padding: 18px 18px;
    }

    .faq-accordion .accordion-button {
        font-size: 17px;
    }
    .hero-title {
        font-size: 51px;
        line-height: 72px;
    }
}


@media only screen and (max-width:1280px) {
    .hero-title {
        font-size: 60px;
        line-height: 64px;
    }

    .diff-title {
        font-size: 40px;
        line-height: 41px !important;
    }

    .rfy-card-header h4 {
        font-size: 20px;
    }

    .track-record-section h2 {
        font-size: 50px !important;
        line-height: 55px !important;
    }

    .track-number {
        font-size: 19px;
    }

}

/* =========================================
   1199px to 992px (Desktops & Laptops) 
   ========================================= */
@media (max-width: 1199px) {
    .main-nav .nav-link {
        padding: 8px 10px !important;
        font-size: 13px;
    }

    .right-actions {
        gap: 15px;
    }

    .btn-gradient-red {
        padding: 8px 16px;
        font-size: 13px;
    }

    .footer-heading {
        font-size: 14px;
    }

    .footer-links li,
    .footer-checklist li {
        font-size: 12px;
    }
        .hero-title {
        font-size: 50px;
        line-height: 58px;
    }
}

/* =========================================
   991px to 768px (Tablets) 
   ========================================= */
@media (max-width: 991px) {
    .free-resources-section {
        overflow-x: hidden;
    }


    .get-in-touch-section {
        overflow-x: hidden;
    }

    /* Header Adjustments */
    .navbar-collapse {
        background-color: #ffffff;
        padding: 15px;
        border-radius: 8px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        z-index: 1050;
    }

    .main-nav .nav-link {
        padding: 12px 15px !important;
        border-bottom: 1px solid #f0f0f0;
    }

    .main-nav .nav-item:last-child .nav-link {
        border-bottom: none;
    }

    /* Hide top bar on smaller screens (already handled by bootstrap d-none d-md-block, but adding padding for safety) */
    .main-header {
        padding: 15px 0;
    }

    /* Footer Adjustments */
    .newsletter-form .input-group {
        margin-top: 20px;
    }

    .col-md-3 {
        margin-bottom: 30px;
    }

    .footer-bottom-links {
        margin-top: 15px;
    }

    .footer-bottom-links li {
        display: block;
        margin-bottom: 8px;
    }

    .final-cta-section {
        padding: 24px 23px;
    }

    .get-in-touch-section {
        padding: 20px 20px;
    }
        .hero-quote-card .promo-top-right {
        top: -171px;
        right: -46px;
    }
    .get-in-touch-section .consultation-form-card .promo-top-right {
    top: -61px;
    right: 6px;
}.promo-badge-circle {
    position: absolute;
    width: 95px;
    height: 97px;    
}
.faq-section
{
    overflow-x:hidden;
}
}

/* =========================================
   767px to 576px (Large Phones) 
   ========================================= */
@media (max-width: 767px) {
    .sticky-header-nav {
    top: 25px;
}
    .newsletter-title {
        font-size: 24px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-bottom .col-md-3,
    .footer-bottom .col-md-9 {
        text-align: center !important;
    }

    .footer-bottom-links li {
        display: inline-block;
        margin: 5px 8px;
    }

    .btn-subscribe {
        padding: 10px 15px;
    }

    .side-contact-tab {
        display: none;
        /* Hide side tab on mobile to save space */
    }

    .hero-title {
        font-size: 54px;
        line-height: 52px;
    }

    .trust-title {
        font-size: 13px;
        letter-spacing: 1px;
    }

    .service-list li {
        font-size: 16px;
    }

    .consultation-section {
        padding: 20px 20px;
    }

    .live-chat-section {
        padding: 20px 20px;
    }

    .free-resources-section {
        padding: 20px 20px;
    }

    .faq-section {
        padding: 20px 20px;
    }

    .disclaimer-bar {
        font-size: 11px;
        padding: 4px 0;
    }

    .disclaimer-bar strong {
        font-size: 12px;
    }
        .hero-quote-card .promo-top-right {
        top: -137px;
        right: -28px;
    }
}

/* =========================================
   575px to 360px (Phones) 
   ========================================= */
@media (max-width: 575px) {
    .newsletter-title {
        font-size: 20px;
        text-align: center;
    }

    .newsletter-subtitle {
        text-align: center;
        font-size: 13px;
    }

    .newsletter-form .input-group {
        flex-direction: column;
        background: transparent;
        border: none;
        padding: 0;
    }

    .newsletter-form .newsletter-input {
        background: rgba(255, 255, 255, 0.15);
        border: 1px solid rgba(255, 255, 255, 0.3);
        border-radius: 8px;
        padding: 12px 15px;
        margin-bottom: 15px;
        width: 100%;
    }

    .newsletter-icon-bg {
        display: none;
    }

    .btn-subscribe {
        width: 100%;
        border-radius: 8px;
    }

    .footer-logo {
        text-align: center;
    }

    .footer-logo div {
        margin: 0 auto;
    }

    .footer-text,
    .footer-contact-info {
        text-align: center;
    }

    .footer-heading {
        margin-top: 20px;
        text-align: center;
    }

    .footer-links {
        text-align: center;
    }

    .btn-footer-livechat,
    .btn-footer-contact {
        width: 100%;
    }

    .footer-checklist li {
        justify-content: center;
    }

    .floating-actions {
        bottom: 15px;
        right: 15px;
        gap: 10px;
    }

    .btn-floating {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .hero-title {
        font-size: 42px;
        line-height: 54px;
    }

    .trust-main-title {
        font-size: 32px;
    }

    .diff-title {
        font-size: 29px;
    }

    .track-record-section h2 {
        font-size: 40px !important;
        line-height: 55px !important;
    }

    .portfolio-title {
        font-size: 27px;
    }

    .client-success-section h2 {
        font-size: 31px !important;
    }

    .lc-title {
        font-size: 29px;
        line-height: 35px;
    }

    .fr-title {
        font-size: 32px;
    }

    .cta-main-title {
        font-size: 33px;
    }

    .footer-links a {
        font-size: 15px;
    }

    .footer-checklist li {
        font-size: 15px;
    }

    .footer-bottom-links li {
        color: #fff !important;
    }

    .portfolio-grid-page {
        padding: 30px 10px;
    }

    .portfolio-card {
        border-radius: 10px !important;
    }

    .portfolio-grid-img {
        /* Ensure images are sharp on mobile */
        image-rendering: -webkit-optimize-contrast;
    }
}

@media only screen and (max-width:480px) {
    .hero-title {
        font-size: 34px;
        line-height: 41px;
    }

    .hero-section {
        padding: 70px 0 70px 0;
    }

    .hero-features {
        gap: 10px 15px !important;
    }

    .trust-main-title {
        font-size: 29px;
    }

    .diff-title {
        font-size: 25px;
    }

    .difference-section .col-lg-6.ps-lg-5 h3 {
        font-size: 20px;
    }

    .difference-section .col-lg-6.pe-lg-5 h3 {
        font-size: 20px;
    }

    .diff-title {
        font-size: 25px;
        line-height: 31px !important;
    }

    .diff-list li {
        font-size: 15px;
    }

    .hiw-title {
        font-size: 35px;
    }

    .client-success-section h2 {
        font-size: 27px !important;
    }

    .cs-number {
        font-size: 21px;
        line-height: 8px;
    }

    .service-list li {
        font-size: 13px;
    }

    .hiw-cta-card h4 {
        font-size: 22px !important;
    }

    .track-record-section h2 {
        font-size: 31px !important;
        line-height: 34px !important;
    }

    .review-author h6 {
        font-size: 18px;
    }

    .hiw-step-tag {
        font-size: 13px;
    }

    .faq-accordion .accordion-button {
        font-size: 15px;
        line-height: 24px;
    }
    .modal-dialog .promo-top-left {    
    display: none;
}
}

@media only screen and (max-width:411px) {
    .hero-title {
        font-size: 29px;
        line-height: 36px;
    }

    .trust-main-title {
        font-size: 24px;
    }

    .trust-title {
        font-size: 14px;
        line-height: 19px;
    }

    .diff-title {
        font-size: 22px;
        line-height: 23px !important;
    }

    .service-title {
        font-size: 18px;
    }

    .row.g-2.mb-4 {
        flex-direction: column;
    }

    .hiw-title {
        font-size: 29px;
    }

    .track-record-section h2 {
        font-size: 28px !important;
        line-height: 34px !important;
    }

    .client-success-section h2 {
        font-size: 23px !important;
    }

    .our-commitment-section h2 {
        font-size: 32px !important;
    }

    .consultation-section h2 {
        font-size: 22px;
        line-height: 25px;
    }

    .lc-title {
        font-size: 26px;
        line-height: 29px;
    }

    .btn-consult-submit {
        font-size: 13px;
    }

    .fr-title {
        font-size: 27px;
    }

    .fr-title {
        font-size: 23px;
    }

    .cta-main-title {
        font-size: 23px;
    }

    .newsletter-title {
        font-size: 19px;
    }
    .rounded-pill {    
    color: #fff !important;
}
.rounded-pill {
        color: #fff !important;
        font-size: 12px;
        padding: 10px 10px 10px 10px !important;
    }
    .ss-glass-card .ss-timeline-badge
{
    color:#000 !important;
}
.consultation-form-card h4
{
    margin:0 !important;
}
span.promo-val {
    font-size: 15px !important;
}
.get-in-touch-section .consultation-form-card .promo-top-right
{
    display:none;
}
.policies ul
{flex-direction:column;   
}
    .our-commitment-section
{
    padding:10px 0 20px 0 !important;
}
.cs-disclaimer-bar {
    border-radius: 10px !important;    
}
}

@media only screen and (max-width:375px) {
    .final-cta-section {
        padding: 24px 15px;
    }

    .get-in-touch-section {
        padding: 20px 10px;
    }

    .consultation-section {
        padding: 20px 6px;
    }

    .our-commitment-section h2 {
        font-size: 26px !important;
    }

    .cs-card {
        padding: 32px 15px 28px;
    }

    .why-us-title {
        font-size: 17px;
    }

    .service-list li {
        font-size: 16px;
    }
    .btn-consultation-cta {    
    font-size: 16px;    
    padding: 20px 40px !important;
}
.faq-header-wrap .fr-title {
    font-size: 35px;
    line-height: 1.1;
}
.lc-title {
        font-size: 23px;
        line-height: 29px;
    }
    .client-success-section.py-5 .row.g-4.mt-5 
{
    margin:0 0 0 0 !important;
}
.client-success-section .col-6.col-md-3 
{
    margin:10px 0 10px 0;
}
.portofolio_content h2 {    
    font-size: 25px;
}
.hiw-step-body .hiw-step-title {
    font-size: 20px;    
}
    .promo-badge-circle {        
        display: none;
    }
    .difference-section .col-lg-6.pe-lg-5 h3 {
        font-size: 19px;
    }
}


@media only screen and (max-width:360px) {}

@media only screen and (max-width:320px) {}

/* Simple Services Dropdown for Mobile (991px) */
@media (max-width: 991px) {
    .mega-menu {
        width: 100% !important;
        position: relative !important;
        /* Open inside the flow */
        transform: none !important;
        left: 0 !important;
        padding: 0 0 10px 15px !important;
        /* Indent the list */
        box-shadow: none !important;
        border: none !important;
        background: transparent !important;
        min-width: unset !important;
        display: none;
        /* Hide by default, BS will show it on toggle */
        max-height: 300px;
        /* Limit height for scrolling */
        overflow-y: auto;
        /* Enable vertical scroll */
        scrollbar-width: thin;
        /* Thin scrollbar for Firefox */
    }

    /* Custom smaller scrollbar for services dropdown */
    .mega-menu::-webkit-scrollbar {
        width: 4px;
    }

    .mega-menu::-webkit-scrollbar-thumb {
        background: var(--accent-orange);
        border-radius: 10px;
    }

    .mega-menu::-webkit-scrollbar-track {
        background: transparent;
    }

    .mega-menu.show {
        display: block !important;
    }

    .mega-menu .row {
        display: block !important;
        margin: 0 !important;
    }

    .mega-menu .col-6 {
        width: 100% !important;
        padding: 0 !important;
    }

    .mega-menu-item {
        padding: 8px 0 !important;
        margin: 0 !important;
        gap: 0 !important;
        background: transparent !important;
        border: none !important;
        color: #333 !important;
        font-size: 14px !important;
    }

    .mega-menu-item:hover {
        color: var(--accent-orange) !important;
        background: transparent !important;
    }

    .mega-icon {
        display: none !important;
    }

    .mega-menu-footer {
        display: none !important;
    }

    /* Remove the rotation/styling from desktop dropdown toggle on mobile */
    .main-nav .dropdown-toggle::after {
        margin-left: 0.5em;
    }

    /* Enhanced Quote Modal Responsiveness */
    .quote-modal-content {
        border-radius: 16px !important;
        margin: 10px;
    }

    .quote-modal-content .modal-body {
        max-height: 90vh;
        overflow-y: auto;
    }

    .btn-primary-close {
        top: 15px;
        right: 15px;
        width: 32px;
        height: 32px;
        background: rgba(0, 0, 0, 0.4);
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
    }
}