
.contact-five {
    position: relative;
    padding: 100px 0;
    text-align: center;
}
.main-section p{
    text-align: center;
}

.contact-five__bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.1;
    z-index: 1;
}

.contact-five .container {
    position: relative;
    z-index: 2;
}

.section-title {
    margin-bottom: 80px;
}

.section-title__tagline-box {
    text-align: center;
    padding: 0 20px;
    height:50px;
}

.section-title__tagline h2 {
    font-size: 36px;
    font-weight: 700;
    color: #333;
    margin: 0;
}

.contact-five__btn-box {
    margin-top: 30px;
}

.thm-btn2 {
    display: inline-block;
    padding: 12px 30px;
    background-color:#8bc975;
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    border: none;
    transition: all 0.3s ease;
    text-decoration: none;
}

.thm-btn2:hover {
    background-color:#8bc975;
    color: white;
}

hr {
    border-top: 1px solid #333;
    opacity: 0.2;
    margin: 20px 0;
}

.text-center h5 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
}

.text-center p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col-4 {
    flex: 0 0 33.33%;
    max-width: 33.33%;
    padding: 0 15px;
}

.subhd {
    font-size: 18px;
    font-weight: 600;
    margin-bottom:3px;
}

/* .sub-para {
    font-size: 15px;
    line-height: 1.6;
} */
/* 
.sub-para a {
    color: rgba(0, 0, 0, 0.884);
    text-decoration: none;
    transition: color 0.3s ease;
} */
/* 
.sub-para a:hover {
    color: #8bc975;
} */


/* General Form Styling */
.containercontct {
    max-width: 800px !important;
    margin: 0 auto;
    padding-top:100px;
    position: relative;
    z-index: 1;
}



.section-title__tagline h2 {
    font-size: 36px;
    color: #333;
    text-transform: uppercase;
}

.section-title__border-box {
    width: 100px;
    height: 3px;
    background-color: #8bc975;
    margin: 0 auto;
}

/* Form Input Styling */
.contact-five__form-box {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    margin-top:40px;
}

.contact-five__input-box {
    margin-bottom: 20px;
}

.contact-five__input-box input,
.contact-five__input-box textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.contact-five__input-box input:focus,
.contact-five__input-box textarea:focus {
    border-color: #8bc975;
    outline: none;
    box-shadow: 0 0 5px rgba(244, 128, 68, 0.5);
}

.contact-five__input-box textarea {
    height: 150px;
    resize: vertical;
}


label {
    display: flex !important;
    cursor: pointer;
    font-size: 14px;
    line-height: 1.5;
    color: #555;
}

input[type="checkbox"] {
    margin-right: 10px;
    margin-top: 3px;
}

/* Link Styling */
.linkcolour {
    color:#8bc975;
    text-decoration: none;
    font-size: 14px;
}

.linkcolour:hover {
    text-decoration: underline;
}

/* Button Styling */
.contact-five__btn-box {
    margin-top: 30px;
    text-align: center;
}

.thm-btn {
    display: inline-block;
    padding: 15px 35px;
    background-color:#8bc975;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}

.thm-btn:hover {
    background-color: #8bc975;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Text Styling */
.textss {
    margin: 20px 0;
    color: #555;
    line-height: 1.6;
}

.textss p {
    margin-bottom: 10px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .section-title__tagline h2 {
        font-size: 28px;
        text-align: center;
    }
    
    .contact-five__form-box {
        padding: 20px;
    }
    
    /* .row {
        flex-direction: column;
        align-items: center; 
        text-align: center; 
    } */
    
    .col-xl-6 {
        width: 100%;
    }
    
    .contacmob {
        margin-top: 70px;
    }
    
    .contact-five {
        padding: 60px 0;
    }
    
    .col-4 {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 30px;
        text-align: center; /* Center text inside columns */
    }
    
    .text-center {
        text-align: center;
    }

    .text-center h5 {
        font-size: 20px;
    }

    .subhd {
        font-size: 18px;
        font-weight: 600;
        margin-bottom: 3px;
        display: flex;
        flex-direction: column;
        align-items: center; /* Center items inside the block */
    }
}



/* Error message styling (for form validation) */
.error {
    color: #ff0000;
    font-size: 14px;
    margin-top: 5px;
}