﻿.contact-from {
    background-color: #fff;
    padding: 23px !important;
    border-radius: 5px;
}

.contact-address {
    background-color: #fff;
    /*padding: 170px 50px 173px !important;*/
    border-radius: 5px;
}
/* Base styling for form container */
.contact-container {
    max-width: 1000px;
    margin: 30px auto;
    padding: 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: stretch;
}

.contact-info-section, .quote-request-section {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
}

h2 {
    color: #0a0909;
    /*text-align: center;*/
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 500;
}

input, textarea, select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 16px;
    /*margin-bottom: 8px;*/
}

/* Styling for the submit button */
button {
    background-color: #ffa600;
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin: 20px auto 0;
    display: block;
    font-size: 16px;
}

/* Styling for address section */
.address-group h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #333;
}

.address-details {
    color: #555;
}

    .address-details p {
        margin-bottom: 10px;
    }

    .address-details a {
        color: #007bff;
        text-decoration: none;
    }

        .address-details a:hover {
            text-decoration: underline;
        }

/* Responsive styles */
@media (max-width: 768px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .quote-request-section, .contact-info-section {
        width: auto;
        height: auto;
        margin: 0 10px;
        padding: 20px;
    }

    h2 {
        color: #0a0909;
    }

    button {
        margin: 20px auto 0;
    }

    select {
        width: 100%;
    }
  
}

@media (max-width: 480px) {
    .contact-container {
        margin: 0 10px;
        padding: 15px;
    }

    input, select, textarea {
        font-size: 14px;
    }

    h2 {
        font-size: 25px;
    }

    button {
        font-size: 14px;
        padding: 8px 16px;
    }
}

.btn-submit {
    background-color: #ffa600;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin: 20px auto 0;
    display: block;
}


.contact-address {
   
    padding: 50px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

    .contact-address ul {
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .contact-address li {
        margin-bottom: 20px;
    }

.singel-address {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.icon {
    flex-shrink: 0;
    font-size: 1.5rem;
    color: #333;
}

.cont h6 {
    margin: 0;
    font-size: 1rem;
    font-weight: bold;
    color: #444;
}

.cont p {
    margin: 5px 0 0;
    font-size: 0.9rem;
    color: #555;
}

.contact-numbers {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 0.9rem;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .singel-address {
        align-items: flex-start;
    }

    .icon {
        font-size: 1.25rem;
    }

    .cont h6 {
        font-size: 0.9rem;
    }

    .cont p {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .contact-address {
        padding: 15px;
    }

    .cont h6 {
        font-size: 0.85rem;
    }

    .cont p {
        font-size: 0.75rem;
    }

    .contact-numbers {
        flex-direction: column;
    }

    .number {
        display: block;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    #page-banner {
        padding-top: 85px;
        padding-bottom: 50px;
    }
}

.form-row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -5px;
    margin-left: -5px;
}

.form-col {
    flex: 1;
    padding-right: 5px;
    padding-left: 5px;
    margin-bottom: 15px;
}

@media (max-width: 768px) {
    .form-col {
        flex: 0 0 100%; /* Full width on mobile */
        max-width: 100%;
    }
}

.form-control {
    color: #000!important;
}
/*i, span, a {
    display: inline-block;
    color: #495057!important;
}*/

/*--------------------------- form loading -------------------------------*/
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    z-index: 9999;
    display: flex; /* Using Flexbox */
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
}

.loader-container {
    position: relative;
    width: 100px;
    height: 100px;
    /*top:50px;
    left:50px;*/
}

.rotating-circle {
    position: absolute;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    border: 4px solid transparent;
    animation: spin 5s linear infinite;
    top: -60px;
    left: -60px;
}

    .rotating-circle:nth-child(1) {
        border-top: 4px solid #6aaf08;
        animation-duration: 3s;
    }

    .rotating-circle:nth-child(2) {
        border-bottom: 4px solid black;
        animation-duration: 2s;
    }

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}



.loader-container img {
    position: absolute;
    /*   top: 0;
    left: 30%; */
    transform: translate(-50%, -50%);
    width: 90px;
    height: 90px;
    animation: fadeBounce 2s infinite alternate;
}

/* Simple fade and bounce effect */
@keyframes fadeBounce {
    0% {
        opacity: 0.5; /* Start with low opacity */
        transform: translate(-50%, -50%) translateY(-10px); /* Move image up */
    }

    100% {
        opacity: 1; /* Full opacity */
        transform: translate(-50%, -50%) translateY(10px); /* Move image down */
    }
}


input::placeholder,
textarea::placeholder {
    color: black !important;
    font-weight: 400 !important; /* Normal weight */
    opacity: 1; /* Ensure full opacity */
}