body {
    font-family: Asap, sans-serif;
}
.top-bar {
    background:white;
    color: black;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: top 0.3s;
    border-bottom: 2px solid rgb(219, 218, 218); /* Added border-bottom */

}
.top-bar a {
    color: white;
    text-decoration: none;
    margin: 0 10px;
}
/* Contact Icons (Phone & Email) */
.contact-icons {
    display: flex;
}

.contact-icons a {
    font-size: 14px;
    color:black;
    text-decoration: none;
    transition: color 0.3s ease-in-out;
}

.contact-icons a i {
    margin-right: 5px;
    font-size: 14px;
    color: rgb(4, 4, 77);
    text-decoration: none;
    transition: color 0.3s ease-in-out;
}

/* Hover Effect */
.contact-icons a:hover {
    color: gray;
}

/* Social Media Icons */
.social-icons {
    display: flex;
    gap: 10px;
}

.social-icons a {
    font-size: 14px;
    color:rgb(4, 4, 77);
    text-decoration: none;
    transition: color 0.3s ease-in-out;
}

/* Hover Effect */
.social-icons a:hover {
    color: gray;
}
@media (max-width: 768px) {
    .top-bar {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        padding: 10px 15px;
    }

    .contact-icons {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 5px; /* Adds spacing between phone and email */
    }

    .social-icons {
        display: flex;
        gap: 10px;
        align-items: center;
    }

    .contact-icons a,
    .social-icons a {
        font-size: 12px; /* Adjusts font size for better readability */
    }
    .contact-icons a:nth-child(2) { /* Hide the email on small screens */
        display: none;
    }
}
@media (max-width: 576px) {
    .top-bar {
        flex-direction: row; /* Keeps left and right sections separate */
        align-items: center;
        justify-content: space-between;
    }

    .contact-icons {
        flex-direction: column;
        align-items: flex-start;
    }

    .social-icons {
        justify-content: flex-end;
    }
}
/* Hide Free Quote button and Search icon on small screens */
@media (max-width: 768px) {
    .search-icon,
    .for-more-btn {
        display: none !important;
    }
}


.navbar {
    background: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    padding-top: 70px;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: top 0.3s;
    padding:7px ;
    font-size: 15px;
}
.navbar-logo {
    height: 90px;  /* Adjust height as needed */
    width: auto;   /* Maintain aspect ratio */
    max-width: 100%;
}

.nav-link {
    color: rgb(32, 31, 31) !important;
    font-weight: 600;
}

.navbar-nav .nav-item .nav-link:hover {
    color: rgb(4, 4, 77); /* Change text color on hover */
    border-bottom: 2px solid rgb(4, 4, 77); /* Add bottom border on hover */
}
.nav-item:hover .dropdown-menu {
    display: block;
    border-radius: 0px;
    padding: 20px;
}
.dropdown-item{
    color: #adadad;
    text-decoration: none;
}
/* Dropdown Icon */
.dropdown-icon {
    font-size: 14px;
    margin-left: 5px;
    transition: transform 0.3s ease-in-out;
}

.navbar-nav .nav-link .dropdown-icon {
    color: rgba(101, 100, 100, 0.8) !important; /* Light grayish white */
    font-size: 10px;
}
.navbar-toggler {
    background-color: white; /* White background for toggle button */
    border: none; /* Remove border */
    padding: 5px 10px;
    border-radius: 5px;
}
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3E%3Cpath stroke='black' stroke-width='3' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

/* Rotate arrow when dropdown is open */
.nav-item.dropdown.show .dropdown-icon {
    transform: rotate(180deg);
}

.nav-link.dropdown-toggle::after {
    display: none !important;
}
.for-more-btn {
    background: rgb(4, 4, 77);
    color: white;
    padding: 5px 10px;
    text-decoration: none;
}
.for-more-btn:hover{
    text-decoration: none;
    color: white;
    background-color: #001F5B;
}
/* Logo Styling */
.navbar img {
    height: 70px; /* Adjust height as needed */
    width: auto; /* Maintain aspect ratio */
    max-width: 100%; /* Prevent overflow */
    object-fit: contain; /* Ensure proper fit */
}

/* Responsive Logo Size */
@media (max-width: 992px) {
    .navbar img {
        height: 50px; /* Reduce size for tablets */
    }
}

@media (max-width: 768px) {
    .navbar img {
        height: 60px; /* Smaller logo for mobile */
    }
}

@media (max-width: 991px) {
    .navbar-nav {
        text-align: center;
    }
}




/*whatsapp floating */
.whatsapp-button {
    position: fixed;
    left: 20px; /* Positioned on the left */
    bottom: 20px; /* Stays at the bottom */
    background-color: #25D366; /* WhatsApp Green */
    color: white;
    padding: 15px;
    font-size: 24px;
    text-decoration: none;
    border-radius: 50%;
    text-align: center;
    cursor: pointer;
    z-index: 9999; /* Ensures it's above other elements */
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.whatsapp-button:hover {
    background-color: #1ebe57;
    text-decoration: none;
}

/*Inquiry button-form css*/
.inquiry-button {
    position: fixed;
    right: 0;
    top: 60%;
    transform: translateY(-50%);
    background-color: #192655;
    color: white;
    padding: 15px;
    font-size: 14px;
    text-decoration: none;
    border-radius: 5px;
    writing-mode: vertical-rl;
    text-align: center;
    cursor: pointer;
    z-index: 9999;
    width: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}
.inquiry-button:hover{
    text-decoration: none;
    color: white;
}
.inquiry-form {
    position: fixed;
    top: 0;
    right: -300px;
    width: 280px;
    height: auto;
    background: white;
    box-shadow: -2px 0 5px rgba(0,0,0,0.5);
    transition: right 0.3s;
    z-index: 10000;
}

.inquiry-form .form-header {
    display: flex;
    justify-content: space-between;
    font-size: 16px;
    background: #192655;
    color: white;
    padding: 12px;
    font-weight: bold;
    width: 100%;
    box-sizing: border-box;
}

.close-button {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    outline: none;
}

.close-button:hover {
    color: #ccc;
}

.inquiry-form .form-container {
    padding: 12px;
}

.inquiry-form label {
    font-weight: bold;
    display: block;
    margin-top: 8px;
    color: #333;
    font-size: 14px;
}

.inquiry-form input, .inquiry-form select, .inquiry-form textarea {
    width: 100%;
    padding: 6px;
    margin-top: 4px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
}

.inquiry-form textarea {
    resize: none;
    height: 60px;
}

.submit-button {
    background-color: #0e1739;
    color: white;
    font-size: 14px;
    padding: 8px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
    margin-top: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.submit-button:hover {
    background-color: #0d1b38;
}



/*  contact-map section*/
.contact-container {
    padding-top: 30px;
    margin-bottom: 0;
}

.contact-info h3 {
    font-weight: 700;
    font-size: 36px;
    padding-bottom: 25px;
}
.cont-head{
    font-size: 22px;
}
.con-para{
    font-size: 16px;
}
.map-container {
    height: 600px;
    width: 100%;
}
.map-container iframe {
    width: 100%;
    height: 70%;
    border: 0;
}
@media (max-width: 768px) {
    .contact-container {
        padding: 30px;
    }
    .contact-info h3 {
        font-size: 26px;
    }
    .contact-info p {
        font-size: 20px;
    }
    .map-container {
        height: 400px;
    }
}





/*imag-contact form section*/
.img-form-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding-left: 10px;
    padding-right: 30px;

}
.img-form.left-section {
    background-color: #1E3A8A;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    text-align: center;
}
.img-form.left-section img {
    width: 100%;
    height: 90%;
    max-width: 450px;
}
.img-form.right-section {
    padding-left: 50px;
    background-color: white;
}
.img-form.form-control {
    border: none;
    border-bottom: 1px solid #d9d9d9;
    border-radius: 0;
    box-shadow: none;
}
.img-form.form-control:focus {
    border-bottom: 1px solid black;
    outline: none;
    box-shadow: none;
}
.img-form.btn-custom {
    background-color: black;
    color: white;
    border-radius: 0;
    padding: 10px 20px;
}
.fw-bold{
    padding-bottom: 40px;
}
@media (max-width: 768px) {
    .img-form-container {
        flex-direction: column;
    }
    .img-form.left-section, .img-form.right-section {
        padding: 30px;
    }
}


/*Footer*/
.footer {
    padding-top: 30px;
    padding-left: 40px;
    padding-right: 30px;
    color: black;
    position: relative;
    padding-bottom: 50px;
    background-color: rgb(253, 253, 253);
}
.footer-logo {
    max-width: 180px;
    height: auto;
}
.footer a {
    color: rgb(92, 91, 91);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 14px;
}
.footer a:hover {
    color: #5c85dc;
}
.address-main {
    font-weight: 600;
    color: (92, 91, 91);
}
.add-text{
    color: rgb(92, 91, 91) ;
    text-align: justify;
    font-size: 13px;
}
.footer h5 {
    border-bottom: 7px double rgb(31, 25, 125);
    display: inline-block; /* Ensures the underline only spans the text width */
    padding-bottom: 5px;
    margin-bottom: 15px;
    color: black;
    padding-top: 20px;
}

.social-icons a {
    font-size: 18px;
    margin-right: 12px;
    color: rgb(20, 15, 81);
    transition: transform 0.3s ease, color 0.3s ease;
    
}
.social-icons a:hover {
    color: black;
    transform: scale(1.2);
}
.info-section {
    font-family: Arial, sans-serif;
    color: #333;
    font-size: 14px;
}

.info-title {
    font-weight: bold;
    margin-top: 15px;
}

.social-links {
    display: flex;
    gap: 10px;
    justify-content: left;
    margin-bottom: 10px;
}

.social-links a {
    display: inline-block;
    color: rgb(21, 17, 97);
    text-align: center;
    font-size: 18px;
    transition: transform 0.3s ease, color 0.3s ease;
}
.social-links a:hover {
    color: black;
    transform: scale(1.2);
}

.footer-container {
    max-width: 1200px;
}
.list-unstyled {
    padding-top: 20px;
}
.list-unstyled a {
    gap: 20px;
}
@media (max-width: 767px) {
    .footer {
        text-align: left; /* Ensures the container itself is left-aligned */
        padding: 20px;
    }
    .footer-logo {
        max-width: 150px;
    }
    .footer h5 {
        display: inline-block; /* Ensures the underline is only under the text */
        border-bottom: 7px double rgb(31, 25, 125);
        color: black;
        font-size: 18px;
        text-align: left; /* Ensures text inside is left-aligned */
        width: auto; /* Prevents stretching */
    }
    .social-icons {
        text-align: left;
        margin-top: 15px;
    }
    .footer, 
    .footer h5, 
    .footer a, 
    .social-icons, 
    .list-unstyled {
        text-align: left !important;
    }
}





/* Fullscreen background overlay */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
}

/* Centering the modal-content */
.modal-content {
    background-color: #fff;
    width: 100%;
    max-width: 400px;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    
    /* Centering */
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

/* Close Button */
.close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 20px;
    cursor: pointer;
}

/* Form Styling */
h2 {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 15px;
    text-align: center;
}

input, textarea {
    width: 100%;
    padding: 10px;
    margin: 5px 0;
    border: 1px solid #ccc;
    border-radius: 3px;
    font-size: 14px;
}

textarea {
    height: 100px;
    resize: none;
}

/* Product Code Field */
input[name="product"] {
    background: #f5f5f5;
    font-weight: bold;
    border: none;
    cursor: not-allowed;
}

/* Button */
.button-con {
    width: 100%;
    background: #222;
    color: #fff;
    padding: 12px;
    font-size: 16px;
    font-weight: bold;
    border: none;
    cursor: pointer;
    border-radius: 3px;
    text-align: center;
    transition: background 0.3s ease;
}

.button-con:hover {
    background: #444;
}

/* Responsive Design */
@media screen and (max-width: 480px) {
    .modal-content {
        max-width: 90%;
        padding: 15px;
    }

    h2 {
        font-size: 18px;
    }

    input, textarea {
        font-size: 14px;
        padding: 8px;
    }

    .button-con {
        font-size: 14px;
        padding: 10px;
    }
}
