@media screen and (max-width: 575px) {
    .side-menu .inner-wrapper {
        padding: 2.5rem 5rem 3.5rem;
    }
    .loading {
        top: 46%;
        left: 46%;
    }
    .h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
        line-height: 1.4;
    }
    .main-title h5 {
        line-height: 1;
        margin-bottom: 1rem;
    }
    .loader-box {
        position: relative;
        display: grid;
        grid-template-columns: 33% 33% 33%;
        grid-gap: 2px;
        height: 70px;
        margin: 0 auto 45px auto;
        width: 70px
    }
}
@media screen and (max-width: 480px) {
    .side-menu {
        width: 370px;
    }
}


@media screen and (max-width: 576px) {
    h1, h2, .tp-caption {
        font-size: 1.5rem;
        line-height: 1.2rem;
    }
    .tp-caption .slider-text, .tp-caption h2 {
        font-size: 24px;
    }
    .tp-caption p {
        font-size: 14px;
        padding: 10px;
    }
}



/* Ensures logo and rotating text size adjusts for smaller screens */
@media (max-width: 768px) {
    /* Adjust logo size */
    .tp-caption img {
        max-width: 100%; /* Or adjust as needed */
    }

    /* Adjust rotating text font size */
    #js-rotating {
        font-size: 36px; /* Adjust to fit your design */
        line-height: 1.2; /* Keeps text readable without wrapping */
    }

    /* Adjust subheading font size */
    .tp-caption{
        font-size: 18px !important;
        max-width: 90%; /* Ensures text doesn’t overflow */
    }
}

/* Additional adjustments for ultra-small screens */
@media (max-width: 480px) {
    #js-rotating {
        font-size: 20px; /* Further reduces font size if needed */
    }

    /* Subheading responsiveness */
    .tp-caption.color-white {
        font-size: 12px;
        line-height: 18px;
    }
}

@media (max-width: 768px) {
    /* Move logo up on smaller screens */
    .tp-caption.color-yellow {
        transform: translateY(-80px) !important; /* Moves the logo 50px up */
    }
}

@media (min-width: 768px) {
    /* Move logo up on smaller screens */
    .tp-caption.color-yellow {
        transform: translateY(-20px) !important; /* Moves the logo 50px up */
    }
}

@media (max-width: 480px) {
    /* Further adjustments on ultra-small screens if needed */
    .tp-caption.color-yellow {
        transform: translateY(-30px) !important; /* Moves the logo a bit more on very small screens */
    }
}

/* Modal Styles */
#contactModal .modal-content {
    background-color: #222; /* Dark, but not too dark */
    color: #f0f0f0; /* Light text for contrast */
    border-radius: 8px;
}

#contactModal .modal-header {
    border-bottom: 1px solid #444;
}

#contactModal .modal-title {
    color: #ffd700; /* Gold color for the title */
    font-weight: bold;
}

#contactModal .close {
    color: #f0f0f0;
    opacity: 0.8;
}

#contactModal .btn-hvr-yellow {
    background-color: #ffd700;
    color: #222;
    font-weight: 600;
    border-radius: 5px;
    padding: 10px 20px;
}

#contactModal .btn-hvr-yellow:hover {
    background-color: #ffc107;
    color: #222;
}

/* Form Styles Inside Modal */
#contactModal .form-control {
    border: 1px solid #555;
    background-color: #333;
    color: #f0f0f0;
}

#contactModal .form-control::placeholder {
    color: #bbb;
    opacity: 0.7;
}

#contactModal .form-control:focus {
    background-color: #444;
    color: #fff;
    border-color: #666;
}

#contactModal .modal-body h6 {
    color: #ffd700; /* Gold for section titles */
    margin-bottom: 15px;
}


@media (max-width: 768px) {
    .heading,
    .main-heading {
      line-height: 1.3; /* Adjust this value for more spacing if needed */
      word-wrap: break-word; /* Ensure words break properly on small screens */
    }
  }
  