/* For Medium Screens (Large tablets, smaller desktops) */
@media (max-width: 1200px) {
    .navbar-nav .nav-link {
        padding: 8px 12px;
        margin-right: 8px;
        font-size: 0.9rem;
    }
    .nav_text {
        font-size: 16px;
        padding: 20px;
    }
}

@media (max-width: 767px) {
}

/* For Tablets and Medium Devices */
@media (max-width: 992px) {
    .navbar-nav .nav-link {
        padding: 7px 10px;
        margin-right: 6px;
        font-size: 0.85rem;
    }
    .contentSection {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .navbar-brand img {
        width: 130px;
    }
}

/* For Tablets Portrait and Smaller Screens */
@media (max-width: 768px) {
    .navbar-nav .nav-link {
        padding: 6px 8px;
        margin-right: 5px;
        font-size: 0.8rem;
    }

    .contentSection {
        flex-wrap: wrap;
        text-align: center;
        gap: 10px;
        padding: 10px;
    }

    .section-image {
        width: 100%; /* Full width for small screens */
    }

    .footer {
        padding: 20px 10px;
    }

    .navbar-brand img {
        width: 110px;
    }
}

/* For Small Screens */
@media (max-width: 576px) {
    .navbar-nav .nav-link {
        padding: 5px 6px;
        margin-right: 4px;
        font-size: 0.75rem;
    }
    .phone-icon {
        width: 12px;
        height: 12px;
    }

    .contentSection {
        margin: 15px 0;
        padding: 8px;
        flex-wrap: wrap;
    }

    h2 {
        font-size: 1.5rem;
    }

    .footer iframe {
        width: 100%;
        height: 300px;
    }

    .footer .form-label {
        font-size: 0.85rem;
    }

    .footer button {
        font-size: 0.9rem;
        padding: 8px 10px;
    }
}
@media (min-width: 390px) and (min-height: 844px) {
    .phoneItem{
        white-space: nowrap;
        flex-direction: row;
    }
}
/* For Extra Small Screens (Very Small Phones) */
@media (max-width: 400px) {
    .navbar-nav .nav-link {
        padding: 4px 5px;
        margin-right: 3px;
        font-size: 0.7rem;
    }
    .navbar-brand img {
        width: 90px;
    }

    h2 {
        font-size: 1.3rem;
    }

    .lorem-text {
        font-size: 1rem;
    }

    #scrollToTopBtn {
        padding: 8px 10px;
        font-size: 14px;
    }
    .phoneItem{
        white-space: nowrap;
        flex-direction: column;
    }
}


@media (max-width: 768px) {
    .contentSection {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        padding: 10px;
    }

    .section-image {
        width: 100%;
        height: 200px;
        object-fit: cover;
        border-radius: 10px;
    }

    .contentSection h2 {
        font-size: 1.5rem;
    }

    .contentSection p {
        font-size: 0.9rem;
    }

    /* Adjust padding for smaller screens */
    .imageSection {
        height: 50vh;
    }
}
/* Responsive Design for Mobile Devices */
@media (max-width: 768px) {
    .contentSection {
        flex-direction: column;
        text-align: center;
        gap: 10px;
        padding: 10px;
    }

    .section-image {
        width: 100%;
        margin-bottom: 10px;
    }

    .section-text {
        width: 100%;
    }

    /* Adjust headings size for mobile */
    h2 {
        font-size: 1.5rem;
    }

    .lorem-text {
        font-size: 1rem;
    }
}

/* Further Adjustments for Smaller Devices */
@media (max-width: 576px) {
    .contentSection {
        margin: 15px 0;
        padding: 15px;
    }

    h2 {
        font-size: 1.3rem;
    }

    .section-image {
        width: 100%;
    }

    .phone-icon {
        width: 12px;
        height: 12px;
    }

    /* Footer adjustments for small screens */
    .footer iframe {
        width: 100%;
        height: 300px;
    }

    .footer .form-label {
        font-size: 0.85rem;
    }

    .footer button {
        font-size: 0.9rem;
        padding: 8px 10px;
    }
}

/* Very Small Mobile View */
@media (max-width: 400px) {
    .section-image {
        width: 100%;
    }

    .navbar-nav .nav-link {
        padding: 4px 5px;
        margin-right: 3px;
        font-size: 0.7rem;
    }

    /* Reduce logo size further */
    .navbar-brand img {
        width: 90px;
    }

    h2 {
        font-size: 1.2rem;
    }

    .lorem-text {
        font-size: 1rem;
    }

    #scrollToTopBtn {
        padding: 8px 10px;
        font-size: 14px;
    }
}

/* Make responsive for small screens */
@media (max-width: 768px) {
    .contentSection {
        flex-direction: column;
        text-align: center;
    }

    .section-image,
    .section-text {
        width: 100%;
    }
}
.footer{
    height: 100%;
    background-color: #1c2331;
    padding:10px;
}

/* General Responsive Adjustments */
@media (max-width: 1200px) {
    .navbar-nav .nav-link {
        padding: 8px 12px;
        margin-right: 8px;
        font-size: 0.9rem;
    }
}

@media (max-width: 992px) {
    .navbar-nav .nav-link {
        padding: 7px 10px;
        margin-right: 6px;
        font-size: 0.85rem;
    }

    .contentSection {
        gap: 15px;
    }

    /* Smaller logo size */
    .navbar-brand img {
        width: 130px;
    }
}

@media (max-width: 768px) {
    /* Tablet Portrait View */

    .navbar-nav .nav-link {
        padding: 6px 8px;
        margin-right: 5px;
        font-size: 0.8rem;
    }

    /* Make content sections stack vertically */
    .contentSection {
        flex-direction: column;
        text-align: center;
        gap: 10px;
        padding: 10px;
    }

    .section-image {
        width: 100%;
    }

    .footer {
        padding: 20px 10px;
    }

    .navbar-brand img {
        width: 110px;
    }
}

@media (max-width: 576px) {

    /* Adjust text and buttons for mobile screens */
    .navbar-nav .nav-link {
        padding: 5px 6px;
        margin-right: 4px;
        font-size: 0.75rem;
    }

    .phone-icon {
        width: 12px;
        height: 12px;
    }

    /* Adjust padding for smaller screens */
    .contentSection {
        margin: 15px 0;
        padding: 8px;
    }

    h2 {
        font-size: 1.5rem;
    }

    /* Footer adjustments for small screens */
    .footer iframe {
        width: 100%;
        height: 300px;
    }

    .footer .form-label {
        font-size: 0.85rem;
    }

    .footer button {
        font-size: 0.9rem;
        padding: 8px 10px;
    }
}

@media (max-width: 400px) {
    /* Very Small Mobile View */

    .navbar-nav .nav-link {
        padding: 4px 5px;
        margin-right: 3px;
        font-size: 0.7rem;
    }

    /* Reduce logo size further */
    .navbar-brand img {
        width: 90px;
    }

    h2 {
        font-size: 1.3rem;
    }

    .lorem-text {
        font-size: 1rem;
    }

    #scrollToTopBtn {
        padding: 8px 10px;
        font-size: 14px;
    }
}
@media (max-width: 576px) {
    .imageSection {
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }
}
