/* =========================================================
   ONE CALL SOLUTIONS - RESPONSIVE REFINEMENT
========================================================= */

@media (max-width: 1200px) {

    .container,
    .services-content .wrapper,
    .bottom-content,
    .page-wrapper {
        padding-left: 20px;
        padding-right: 20px;
    }

    .stats-bar-overlay .container {
        max-width: 100%;
    }

    .banner-title {
        font-size: 48px;
    }

    .banner-title span {
        font-size: 58px;
    }

    .services-title,
    .excellence-title,
    .careers-title,
    .test-title,
    .contact-title,
    .blog-title,
    .section-title {
        font-size: 38px;
    }
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991px) {

    /* General */
    section {
        overflow: hidden;
    }

    .main-content-section,
    .services-section,
    .excellence-section,
    .careers-section,
    .testimonials-section,
    .contact-section,
    .blog-section {
        padding-top: 70px;
        padding-bottom: 70px;
    }

    /* Header */
    .header-contact-details {
        display: none;
    }

    .navbar-nav .menu-item {
        padding: 10px 0;
        margin: 0;
    }

    /* Hero */
    .banner-layer {
        height: auto;
        min-height: 620px;
        padding: 120px 0 60px;
    }

    .banner-content {
        text-align: center;
        padding: 0 15px;
    }

    .banner-title {
        font-size: 42px;
        line-height: 1.15;
    }

    .banner-title span {
        font-size: 52px;
    }

    .banner-desc {
        font-size: 16px;
        margin: 0 auto;
    }

    .banner-btn {
        margin-top: 20px;
    }

    /* Stats */
    .stats-bar-overlay {
        position: relative;
        margin-top: 30px;
        bottom: auto;
    }

    .stats-bar-overlay .container {
        padding: 20px;
    }

    .stats-bar-overlay .row {
        row-gap: 20px;
    }

    .stat-item {
        justify-content: center !important;
        text-align: center;
    }

    /* About */
    .main-content-section {
        text-align: center;
    }

    .main-content-img {
        margin-top: 35px;
        width: 100%;
        max-height: unset;
    }

    /* Services */
    .service-card {
        padding: 30px 22px;
    }

    .service-header {
        height: auto;
        margin-bottom: 15px;
    }

    /* Excellence */
    .ex-card {
        padding: 35px 25px;
    }

    /* Careers */
    .careers-section .row {
        flex-direction: column-reverse;
    }

    .careers-content {
        text-align: center;
        padding: 60px 30px;
    }

    .careers-image {
        text-align: center !important;
    }

    .careers-image img {
        width: 100%;
        min-height: auto;
        border-radius: 20px;
    }

    /* Testimonials */
    .test-card {
        margin-bottom: 30px;
    }

    .test-user {
        top: -25px;
    }

    /* Contact */
    .contact-form .row > div {
        margin-bottom: 20px;
    }

    .form-textarea,
    .qd-textarea {
        min-height: 180px;
    }

    .contact-btn,
    .qd-submit {
        width: 100%;
    }

    /* Blog */
    .blog-card {
        margin-bottom: 35px;
    }

    /* Footer */
    .footer-logo {
        margin-bottom: 25px;
    }

    .footer-contact-row {
        justify-content: center;
        margin-top: 25px;
    }

    .footer-menu {
        flex-wrap: wrap;
        gap: 15px;
    }
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {

    /* Typography */
    .section-title,
    .services-title,
    .excellence-title,
    .careers-title,
    .test-title,
    .contact-title,
    .blog-title {
        font-size: 30px;
        line-height: 1.2;
    }

    .section-subtitle,
    .services-subtitle,
    .excellence-subtitle,
    .careers-subtitle,
    .test-subtitle,
    .contact-subtitle {
        font-size: 14px !important;
    }

    p {
        font-size: 15px;
        line-height: 1.8;
    }

    /* Hero */
    .banner-layer {
        min-height: auto;
        padding: 100px 0 50px;
    }

    .banner-title {
        font-size: 32px;
    }

    .banner-title span {
        font-size: 40px;
    }

    .banner-desc {
        font-size: 15px;
        line-height: 1.7;
    }

    .banner-btn {
        width: 100%;
        text-align: center;
        padding: 14px 20px;
    }

    /* Stats */
    .stats-bar-overlay .row {
        flex-direction: column;
        gap: 20px;
    }

    .stat-item {
        flex-direction: column;
    }

    .stat-icon {
        width: 35px;
        margin-bottom: 10px;
    }

    .stat-number {
        font-size: 22px;
    }

    .stat-label {
        font-size: 13px;
    }

    /* About */
    .main-content-section {
        text-align: center;
    }

    /* Services */
    .service-card {
        text-align: center;
        padding: 30px 20px;
    }

    .service-header {
        flex-direction: column-reverse;
        align-items: center;
        text-align: center;
        gap: 15px;
        height: auto;
    }

    .service-card h4 {
        max-width: 100%;
    }

    .service-link {
        justify-content: center;
        gap: 10px;
    }

    /* Excellence */
    .ex-card {
        text-align: center;
    }

    .hex-icon {
        width: 85px;
    }

    /* Careers */
    .careers-content {
        padding: 50px 20px;
    }

    .careers-icon img {
        width: 65px;
    }

    /* Testimonials */
    .test-content {
        padding: 22px;
    }

    .test-content p {
        font-size: 14px;
        line-height: 1.7;
    }

    .test-user {
        left: 0;
        justify-content: center;
        width: 100%;
    }

    /* Contact */
    .form-input,
    .qd-input,
    .qd-textarea {
        padding: 16px 20px !important;
        border-radius: 20px !important;
    }

    .form-textarea,
    .qd-textarea {
        border-radius: 20px !important;
    }

    /* Blog */
    .blog-overlay-title {
        font-size: 14px;
        max-width: 92%;
    }

    .blog-image img {
        min-height: 220px;
    }

    /* Footer */
    .footer-menu {
        flex-direction: column;
        gap: 10px;
    }

    .footer-contact-item {
        justify-content: center;
        text-align: center;
        padding-left: 0;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-bottom {
        text-align: center;
    }
}

/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .banner-title {
        font-size: 28px;
    }

    .banner-title span {
        font-size: 34px;
    }

    .section-title,
    .services-title,
    .excellence-title,
    .careers-title,
    .test-title,
    .contact-title,
    .blog-title {
        font-size: 26px;
    }

    .service-card,
    .ex-card {
        padding: 25px 18px;
    }

    .careers-content {
        padding: 40px 18px;
    }
}

/* =========================================================
   FOOTER MOBILE REFINEMENT
========================================================= */

@media (max-width: 991px) {

    .site-footer {
        padding: 50px 0 35px;
        text-align: center;
    }

    .footer-top {
        row-gap: 25px;
    }

    .footer-logo {
        max-height: 150px;
        margin: 0 auto 10px;
        display: block;
    }

    .footer-subtitle {
        margin-bottom: 6px;
        color: var(--ocs-gray);
        font-size: 14px;
    }

    .footer-title {
        font-size: 28px;
        margin-bottom: 12px;
    }

    .footer-desc {
        max-width: 300px;
        margin: 0 auto;
        line-height: 1.7;
    }

    .footer-contact-row {
        display: flex !important;
        flex-direction: column;
        align-items: center !important;
        justify-content: center;
        gap: 12px;
        margin-bottom: 24px !important;
    }

    .footer-social {
        display: flex;
        justify-content: center;
        gap: 12px;
        margin: 0 !important;
        padding: 0;
    }

    .footer-social img {
        width: 42px;
        height: 42px;
        object-fit: contain;
    }

    .footer-contact-item {
        padding-left: 0 !important;
        justify-content: center;
        text-align: center;
        max-width: 330px;
        margin: 0 auto;
        gap: 10px;
    }

    .footer-contact-item .footer-icon {
        width: 38px;
        height: 38px;
        object-fit: contain;
        flex: 0 0 auto;
    }

    .footer-contact-item div,
    .footer-contact-item a {
        font-size: 14px;
        line-height: 1.65;
        color: var(--ocs-dark);
        word-break: break-word;
    }

    .footer-divider {
        margin: 28px 0 22px;
    }

    .footer-menu {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .footer-menu li a {
        font-size: 14px;
        padding: 4px 0;
        display: inline-block;
    }

    .footer-bottom {
        margin-top: 20px;
        font-size: 13px;
        color: var(--ocs-gray);
    }
}

@media (max-width: 480px) {

    .site-footer {
        padding-bottom: 45px;
    }

    .footer-logo {
        max-height: 130px;
    }

    .footer-title {
        font-size: 24px;
    }

    .footer-contact-item {
        max-width: 300px;
    }

    .footer-contact-item div,
    .footer-contact-item a {
        font-size: 13px;
    }
}
