/* Commercial & Residential 2025 Styles */

.site-header .main-panel,
.sub-navigation {
    display: none!important;
}

.commercial-residental-2025-logo {
    max-width: 400px;
    margin: 40px auto;
}

/* Header Section */
.commercial-residental-2025-head {
    position: relative;
    background-size: cover;
    background-position: center;
    height: 550px;
    display: flex;
    align-items: center;
    padding: 0 130px;
    background-size: cover;
}

.commercial-residental-2025-head::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.1);
}

.commercial-residental-2025-head-title {
    max-width: 570px;
    color: #fff;
    position: relative;
    z-index: 1;
}

.commercial-residental-2025-head-title h1 {
    font-size: 48px;
    font-weight: 600;
    margin-bottom: 35px;
    line-height: 70px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    margin-top: 10px;
}

.commercial-residental-2025-head-button {
    display: inline-block;
    background-color: #6BA3B7;
    color: #fff;
    padding: 19px 43px;
    border-radius: 15px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: background-color 0.3s;
    text-transform: uppercase;
    margin-top: 30px;
}

.commercial-residental-2025-head-button:hover {
    background-color: #5A8A9C;
    color: #fff;
}

/* Content Section */
.commercial-residental-2025-content {
    padding: 40px 0;
}

.commercial-residental-2025-content .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}

/* Content Row */
.content-row {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 40px;
    align-items: center;
}

.content-image {
    flex: 0 0 42%;
}

.content-image img {
    width: 100%;
    height: auto;
    border-radius: 5px;
}

.content-text {
    flex: 0 0 58%;
    padding-left: 11%;
}

.content-text h2 {
    font-size: 24px;
    color: rgba(42, 55, 73, 1);
    margin-bottom: 10px;
    line-height: 36px;
    font-weight: 600;
}

.content-text p {
    font-size: 16px;
    line-height: 24px;
    margin-bottom: 20px;
    color: rgba(42, 55, 73, 1);
}

.content-text strong {
    font-weight: 700;
}

.call-button {
    display: inline-block;
    background-color: #2D3E50;
    color: #fff;
    padding: 19px 43px;
    border-radius: 15px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: background-color 0.3s;
    text-transform: uppercase;
}

.call-button:hover {
    background-color: #1A2530;
    color: #fff;
}

/* Services Section */
.services-section {
    margin-bottom: 65px;
}

.services-title {
    text-align: center;
    font-size: 24px;
    color: rgba(42, 55, 73, 1);
    margin-bottom: 25px;
    font-weight: 600;
}

.services-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
}

.service-card {
    flex: 1 1 calc(25% - 20px);
    min-width: 250px;
    color: rgba(42, 55, 73, 1);
}

.service-card h3 {
    font-size: 20px;
    margin-bottom: 20px;
    font-weight: 600;
    text-align: center;
    color: rgba(42, 55, 73, 1);
}

.service-card ul {
    list-style: none;
    margin: 0;
    background-color: #6BA3B7;
    border-radius: 15px;
    padding: 20px;
    color: #fff;
    height: calc(100% - 30px);
    padding-bottom: 0;
}

.service-card li {
    position: relative;
    padding-left: 10px;
    font-size: 12px;
    line-height: 1;
    font-weight: 700;
}

.service-card li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #fff;
}

/* Contact Section */
.contact-section {
    margin: 0 auto;
    margin-bottom: 55px;
    width: calc(100% - 30px);
}

.contact-container {
    background-color: #2D3E50;
    border-radius: 15px;
    padding: 25px 140px;
    padding-bottom: 30px;
    color: #fff;
}

.contact-container h2 {
    font-size: 20px;
    line-height: 30px;
    margin-bottom: 15px;
    font-weight: 600;
}

/* Contact Form 7 Styles */

.wpcf7-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 15px 40px;
}

.wpcf7-not-valid-tip {
    margin-top: 10px;
}

/* Hide all <br> tags in the form */
.wpcf7-form br {
    display: none;
}

/* Style form paragraphs */
.wpcf7-form p {
    margin: 0;
    display: contents;
}

.wpcf7-form-control-wrap {
    display: block;
}

/* Position fields in the grid */
.wpcf7-form-control-wrap[data-name="your-name"] {
    grid-column: 1;
    grid-row: 1;
}

.wpcf7-form-control-wrap[data-name="your-phone"] {
    grid-column: 2;
    grid-row: 1;
}

.wpcf7-form-control-wrap[data-name="your-email"] {
    grid-column: 1;
    grid-row: 2;
}

.wpcf7-form-control-wrap[data-name="your-zip"] {
    grid-column: 2;
    grid-row: 2;
}

/* Message field */
.wpcf7-form-control-wrap[data-name="your-message"] {
    grid-column: 1;
    grid-row: 3;
}

/* Submit button */
.wpcf7-submit {
    grid-column: 2;
    grid-row: 3;
    align-self: end;
    justify-self: center;
}

/* All input fields */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="number"] {
    width: 100%;
    padding: 13px 25px;
    border: none;
    border-radius: 15px;
    font-size: 12px;
    background-color: #fff;
}

/* Textarea */
.wpcf7-form textarea {
    width: 100%;
    height: 150px;
    padding: 13px 25px;
    border: none;
    border-radius: 15px;
    font-size: 12px;
    resize: vertical;
    background-color: #fff;
}

/* Submit button */
.wpcf7-form input[type="submit"] {
    width: 138px;
    background-color: #6BA3B7;
    color: #fff;
    padding: 12px 20px;
    border: none;
    border-radius: 15px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
    text-transform: uppercase;
}

.wpcf7-form input[type="submit"]:hover {
    background-color: #5A8A9C;
}

/* Responsive styles for CF7 form */
@media (max-width: 768px) {
    .wpcf7-form {
        display: block;
    }
    
    .wpcf7-form-control-wrap {
        display: block;
        margin-bottom: 15px;
    }
    
    .wpcf7-form input[type="submit"] {
        width: 100%;
        margin-top: 15px;
    }
}

/* Trust Section */
.trust-section {
    text-align: center;
    margin-bottom: 60px;
}

.trust-section h2 {
    font-size: 20px;
    color: #000;
    margin-bottom: 15px;
    font-weight: 600;
}

.trust-section p {
    font-size: 12px;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #000;
    font-weight: 600;
}

.call-today-button {
    display: inline-block;
    background-color: #6BA3B7;
    color: #fff;
    padding: 17px 26px;
    border-radius: 15px;
    text-decoration: none;
    font-weight: 600;
    font-size: 20px;
    transition: background-color 0.3s;
    text-transform: uppercase;
}

.call-today-button:hover {
    background-color: #5A8A9C;
    color: #fff;
}

@media (max-width: 1200px) {
    .commercial-residental-2025-content .container {
        padding: 0 20px;
    }
}

/* Responsive Styles */
@media (max-width: 992px) {
    .content-image, .content-text {
        flex: 0 0 100%;
    }
    
    .content-text {
        padding: 15px;
    }
    
    .service-card {
        flex: 1 1 calc(50% - 20px);
    }
}

@media (max-width: 768px) {
    .commercial-residental-2025-head {
        height: 400px;
        padding: 0 30px;
    }
    
    .commercial-residental-2025-head-title h1 {
        font-size: 32px;
    }
    
    .wpcf7-form .form-row {
        flex-direction: column;
        gap: 15px;
    }
    
    .service-card {
        flex: 1 1 100%;
    }
}

@media (max-width: 576px) {
    .commercial-residental-2025-head {
        height: 350px;
        padding: 0 20px;
    }
    
    .commercial-residental-2025-head-title h1 {
        font-size: 28px;
    }
    
    .contact-container {
        padding: 30px 20px;
    }
}
