/* section1 */
.page-template-template-product .section1 {
    position: relative;
    width: 100%;
    min-height: 600px;
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url("../images/image3.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    display: flex;
    align-items: center;
    text-align: center;
}

.page-template-template-product .section1 .inner-content h1 {
    font-size: 64px;
    font-weight: 700;
    line-height: 1.2;
    color: #FFFFFF;
    text-transform: uppercase;
}

.page-template-template-product .prod-main-content {
    padding: 60px 0;
}

.page-template-template-product .prod-main-content .prod-content-area {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px #0000001a;
    padding: 40px;
}

.page-template-template-product .prod-title {
    font-size: 40px;
    font-weight: 700;
    line-height: 1.2;
    color: #00223D;
    padding-bottom: 15px;
    border-bottom: 2px solid #05539C;
}

.page-template-template-product .prod-info {
    margin: 40px 0;
}

.page-template-template-product .prod-info ul {
    padding-left: 16px;
}

.page-template-template-product .prod-info ul li {
    list-style: disc;
    color: #666666;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
}

.page-template-template-product .prod-gallery-sec {
    padding-top: 32px;
    border-top: 1px solid #e9ecef;
}

.page-template-template-product .prod-gallery-sec .gallery-title {
    margin-bottom: 24px;
}

.page-template-template-product .gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.page-template-template-product .gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: white;
    cursor: pointer;
}

.page-template-template-product .gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.page-template-template-product .gallery-item:hover .gallery-item-overlay {
    opacity: 1;
}

.page-template-template-product .gallery-item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.page-template-template-product .gallery-item-overlay .gallery-item-info p {
    text-align: center;
    color: #FFFFFF;
    padding: 12px;
    font-weight: 500;
    line-height: 1.5;
}

/* form css */
.form-wrapper {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px #0000001a;
    padding: 40px;
}

.title {
    font-size: 40px;
    font-weight: 700;
    line-height: 1.2;
    color: #00223D;
    padding-bottom: 15px;
    margin-bottom: 40px;
    border-bottom: 2px solid #05539C;
}

.form-wrapper #formResponse {
    margin-top: 16px;
    font-size: 14px;
    font-weight: 500;
    color: #2ca01c;
}

.contact-form .form-group {
    position: relative;
    margin-bottom: 32px;
}

.contact-form .form-group label {
    display: block;
    color: #8e8e8e;
    font-weight: 500;
    margin-bottom: 0;
}

.contact-form .form-group label.error {
    color: #ff0000 !important;
    font-size: 12px;
    margin-top: 6px;
}

.contact-form .form-group textarea {
    resize: none;
}

.contact-form .form-group input,
.contact-form .form-group textarea {
    display: block;
    width: 100%;
    padding: 8px 0;
    border: 0;
    border-bottom: 1px solid #bababa;
    font-size: 16px;
    font-weight: 500;
    color: #323232;
    box-shadow: none;
    outline: none;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    transition: background-color 5000s ease-in-out 0s !important;
}

.contact-form .form-group input:focus,
.contact-form .form-group textarea:focus {
    outline: none;
}

@media screen and (max-width: 1399px) {
    .page-template-template-product .section1 {
        min-height: 500px;
    }
}

@media screen and (max-width: 1199px) {
    .page-template-template-product .section1 {
        min-height: 400px;
    }

    .page-template-template-product .section1 .inner-content h1 {
        font-size: 56px;
    }

    .page-template-template-product .prod-main-content .prod-content-area,
    .page-template-template-product .form-wrapper {
        padding: 32px 24px;
    }
}

@media screen and (max-width: 991px) {

    .page-template-template-product .section1 {
        min-height: auto;
        padding: 100px 0;
    }

    .page-template-template-product .section1 .inner-content h1 {
        font-size: 48px;
    }

    .page-template-template-product .prod-title,
    .title {
        font-size: 30px;
    }
}

@media screen and (max-width: 767px) {

    .page-template-template-product .section1 .inner-content h1 {
        font-size: 36px;
    }

    .page-template-template-product .prod-title,
    .title {
        font-size: 24px;
    }

    .page-template-template-product .prod-info {
        margin: 32px 0;
    }

    .page-template-template-product .form-wrapper .title {
        margin-bottom: 32px;
    }

    .page-template-template-product .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 576px) {
    .page-template-template-product .gallery-grid {
        grid-template-columns: repeat(1, 1fr);
    }
}