/* Contact section */
/* General Reset */
body, h1, h2, p {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  /* Promo Banner */
.promo-banner {
    position: absolute;
    top: 10%;
    width: 100%;
    height: 7%;
    background-color: #4a6473;
    color: #fff;
    padding: 10px;
    font-size: 16px;
    text-align: center;
    overflow: hidden; /* Ensures no scrollbar */
}

.promo-banner h2 {
    display: inline-block;
    white-space: nowrap;
    animation: scroll-left 15s linear infinite;
    margin: 0; /* Remove any default margin to avoid shifting */
}

/* Scroll Left Animation */
@keyframes scroll-left {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}

  
  
  /* service Section */
  .contact-section {
    background: url('../images/colse-up-solar-panels-sunset.jpg') no-repeat center center/cover;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-direction: column;
  }
  
  .contact-section h1 {
    font-size: 3rem;
    color: white;
    font-weight: bold;
    margin-top: 15%;
    margin-bottom: 5%;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  }

#enquiry {
    padding: 50px 0;
    text-align: center;
    font-family: 'Arial', sans-serif;
    display: block;
}

.enquiryform {
    width: 90%;
    margin: 0 auto;
}

.eqsubt h2 {
    font-size: 1.8rem;
    color: #4d6d7e;
    text-align: center;
    margin-bottom: 10px;
}


.eqsubt span {
    font-size: 1.8rem;
    color: red;
    text-align: left;
    margin-bottom: 30px;
}

/* Box container for the form */
.eqform {
    max-width: 1300px; /* Adjust the width of the container */
    margin: 30px auto; /* Center the container */
    padding: 20px;
    border: 1px solid #ddd; /* Light border for the box */
    border-radius: 10px; /* Rounded corners */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Subtle shadow for a 3D effect */
    background-color: #fff; /* White background for the box */
}

/* Ensure title is centered */
.eqform h3 {
    text-align: left;
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: darkgray;
}


.eqform form {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columns for large screens */
    grid-gap: 20px;
}

.form-group {
    display: contents; /* Ensures form fields occupy individual grid spots */
}


/* Submit Button */
.eqform .btn {
    background-color: red;
    color: white;
    border: none;
    padding: 15px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    grid-column: span 1; /* Button in its own grid spot */
    justify-self: center; /* Center align the button */
    width: 150px;
    height: 50px;
    margin-top: 80px;
    margin-left: 190px;
}

.eqform .btn:hover {
    background-color: #ff1c1c;
    box-shadow: 0 8px 15px rgba(255, 28, 28, 0.2);
    transform: translateY(-3px);
}

/* Default (large screens): 3 columns */
.eqform form {
    grid-template-columns: repeat(3, 1fr);
}



.eqform input,
.eqform select,
.eqform textarea {
    width: 100%;
    max-width: 100%; /* Ensures elements don’t exceed their container's width */
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    color: #333;
    background-color: #f9f9f9;
    transition: border-color 0.3s ease;
    box-sizing: border-box; /* Includes padding and border in element's total width */
}

.eqform textarea {
    grid-column: span 2; /* Takes 2 columns on large and medium screens */
    height: 150px;
    resize: none;
}

/* Medium screens (between 600px and 1000px): 2 columns */
@media (max-width: 1000px) {
    .eqform form {
        grid-template-columns: repeat(2, 1fr); /* 2 columns */
    }
    .eqform textarea {
        grid-column: span 2; /* Textarea spans 2 columns */
    }
}

/* Small screens (below 600px): 1 column */
@media (max-width: 600px) {
    .eqform form {
        grid-template-columns: 1fr; /* 1 column */
    }
    .eqform textarea {
        grid-column: span 1; /* Full width on small screens */
    }
    .eqform .btn {
        width: 100%; /* Ensure the button is responsive */
        margin-left: 0; /* Remove unwanted horizontal margin */
    }
}





.map-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    padding: 50px;
    background-color: #f7f9fc;
}

.map-container {
    flex: 1;
    min-width: 90%;
    margin-right: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
    height: 400px;
}

iframe {
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 10px;
}



