/* --- Dedicated Mobile Responsiveness (320px - 599px) --- */
@media only screen and (min-width: 320px) and (max-width: 599px) {

    /* Global Typography & Spacing */
    h1,
    .headtitle {
        font-size: 1.8rem !important;
        margin: 15px 0 !important;
        word-break: keep-all !important;
        overflow-wrap: normal !important;
        line-height: 1.2 !important;
    }

    h2 {
        font-size: 1.5rem !important;
    }

    h3 {
        font-size: 1.3rem !important;
    }

    p {
        font-size: 0.9rem !important;
    }

    section {
        padding: 40px 0 !important;
    }

    .container {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    /* Header & Navigation */
    .floating-header {
        width: 95% !important;
        top: 10px !important;
    }

    .navbar-container {
        height: 55px !important;
        padding: 0 10px !important;
    }

    .logo {
        height: 30px !important;
    }

    .btn-get-in-touch {
        padding: 6px 18px 2px;
        font-size: 16px;
    }

    .call-top-img {
        width: 24px !important;
        height: 24px !important;
    }

    /* Hero Section */
    .hero {
        padding-top: 100px !important;
        text-align: center !important;
    }

    .hero-content h2 {
        font-size: 1.4rem !important;
        line-height: 1.2 !important;
    }

    .hero-bottom {
        flex-direction: column !important;
        gap: 15px !important;
        align-items: center !important;
        text-align: center !important;
    }

    .hero-bottom-left h3 {
        font-size: 1rem !important;
        text-align: center !important;
        transform: none !important;
        max-width: 100% !important;
        margin: 0 auto !important;
    }

    /* Vision & Mission */
    .vision-mission {
        flex-direction: column !important;
        gap: 25px !important;
        text-align: center !important;
        align-items: center !important;
        width: 100% !important;
    }

    .vm-item {
        width: 100% !important;
        text-align: center !important;
    }

    .vm-item h4 {
        font-size: 16px !important;
        margin: 0 auto 10px !important;
        display: inline-block !important;
        width: auto !important;
    }

    .vm-item p {
        text-align: center !important;
        margin: 0 auto !important;
        max-width: 90% !important;
    }

    /* Stats Section */
    .stats-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .stats-info-grid {
        grid-template-columns: 1fr !important;
    }

    .stat-card {
        min-height: 150px !important;
        padding: 20px !important;
    }

    .stat-value {
        font-size: 32px !important;
    }

    /* Services Section */
    .services-header h2 {
        font-size: 24px !important;
        margin-bottom: 30px !important;
    }

    .s-card,
    .s-card.wide {
        flex: 0 0 100% !important;
        height: auto !important;
        min-height: 350px !important;
    }

    .s-card-top {
        padding: 20px !important;
    }

    .s-card-img {
        height: 180px !important;
    }

    /* Project Stack Section */
    .stack-item {
        flex-direction: column !important;
        height: auto !important;
        position: relative !important;
    }

    .image-side {
        width: 100% !important;
        height: 250px !important;
        padding: 15px !important;
    }

    .info-side {
        width: 100% !important;
        padding: 25px 15px !important;
        text-align: center !important;
    }

    .top-heading h1 {
        font-size: 22px !important;
        text-align: center !important;
    }

    .out-num {
        font-size: 32px !important;
    }

    /* Testimonials */
    .testimonial-section {
        padding-top: 60px !important;
    }

    .testimonial-badge-wrapper {
        width: 100px !important;
        height: 100px !important;
        top: -50px !important;
    }

    .badge-logo {
        width: 40px !important;
    }

    .testimonial-quote {
        font-size: 1rem !important;
        line-height: 1.4 !important;
    }

    /* WhatsApp Widget Fix */
    #chat {
        width: 220px !important;
        right: 10px !important;
        bottom: 75px !important;
    }

    .chat-img {
        width: 35px !important;
        height: 35px !important;
    }

    #chat h6 {
        padding: 5px 12px !important;
        font-size: 11px !important;
    }

    #chat p {
        font-size: 11px !important;
    }

    /* Footer Optimization */
    .footer-image-overlay {
        padding: 100px 0 150px !important;
    }

    .footer-hero-text {
        font-size: 28px !important;
    }

    .footer-big-brand {
        font-size: 50px !important;
        bottom: 80px !important;
    }

    .footer-floating-card {
        margin-top: -120px !important;
    }

    .feature-cards {
        display: block
    }

    .card {
        padding: 15px 10px !important;
        margin-bottom: 20px;
    }

    .card h4 {
        font-size: 20px !important;
        margin-top: 10px;
    }

    .card p {
        font-size: 14px !important;
        padding-top: 15px;
    }

    .icon-wrap {
        margin: 0 auto !important;
    }

    .card-link {
        margin: 0 auto;
    }

    .card-line {
        margin: 0 auto;
    }

    .card-inner {
        padding: 25px 10px !important;
        text-align: center !important;
    }

    .footer-card-logo {
        width: 60% !important;
        margin: 0 auto 15px !important;
    }

    .footer-card-desc {
        margin: 0 auto !important;
    }

    .footer-nav-grid {
        flex-direction: column !important;
        gap: 15px !important;
        align-items: center !important;
        padding: 20px 0 !important;
    }

    .footer-contact-block {
        text-align: center !important;
        padding-top: 20px !important;
    }

    .f-card-phone {
        font-size: 18px !important;
        border-bottom-width: 1px !important;
    }

    .f-card-email {
        font-size: 14px !important;
        word-break: break-all !important;
    }

    .f-card-address {
        font-size: 12px !important;
    }

    /* Swiper Navigation Mobile Fix */
    .swiper-button-next,
    .swiper-button-prev {
        display: flex !important;
        width: 32px !important;
        height: 32px !important;
        background-color: rgba(255, 255, 255, 0.7) !important;
        border-radius: 50% !important;
        color: #000 !important;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        transform: none !important;
    }

    .swiper-button-next::after,
    .swiper-button-prev::after {
        font-size: 14px !important;
        font-weight: 800 !important;
    }

    .swiper-button-next {
        right: 5px !important;
    }

    .swiper-button-prev {
        left: 5px !important;
    }
}