/*
| Colour                       | HEX           | Where we used it                                  |
| ---------------------------- | ------------- | ------------------------------------------------- |
| 🟢 **Cedarwell Green**       | **`#1C7944`** | Primary brand green, hero/background, text shadow |
| 🟡 **Cedarwell Logo Gold**   | **`#FFBF00`** | Main yellow/gold from the Cedarwell logo          |
| 🟢 **Dark Teal**             | **`#034544`** | Dark teal background from your latest screenshot  |
| 🟡 **Screenshot Gold**       | **`#FEBD01`** | Yellow/gold section from your latest screenshot   |
| 🌿 **Light Cedarwell Green** | **`#E8F3ED`** | Soft slideshow transition background              |
| 🌿 **Very Light Green**      | **`#F3F9F5`** | Alternative, subtler slideshow transition         |

*/


body {
    background-color: white;
    margin: 0;
    font-family: 'Poppins', sans-serif;
}

.hero {
    /*background-color:#034544;*/
    background: linear-gradient(135deg, rgba(3, 69, 68, 0.95), rgba(28, 121, 68, 0.88));
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 120px;
    
}

.logo {
    height: 80px;
    width: auto;
    margin-right: auto;
}
.hero h2{
    color: #F3F9F5;
    font-size: 40px;
    font-family: 'Poppins', sans-serif;

}
.slideshow_container {
    width: 100%;
}

.slideshow {
    width: 100%;
    margin: 0;
}
/*This is basically the visibility setting for the slide*/
.slideshow_images {
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
    width: 100%;
    height: clamp(400px, 60vh, 900px);
    overflow: hidden;
    background-color: #F3F9F5;
    /*border: 2px solid black;*/
    /*This border bends the image*/
    border-bottom-right-radius: 50px;
    /*Dont forget the shadow design here*/
    box-shadow: 0 2px 5px rgba(255, 255, 255, 0.8);
    z-index: 3;
    
}

.slideshow_images .slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;

    opacity: 0;
    visibility: hidden;

    transition: opacity 1s ease-in-out;
     
}

.slideshow_images .slide.active {
    opacity: 1;
    visibility: visible;
    transition: opacity 1s ease-in-out
}

.slideshow_images figure {
    margin: 0;
    position: relative;
    width: 100%;
    height: 100%;
    
}

/*This is basically the image setting for the slide*/
.slideshow_images img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    
    
   
}

/*This is basically the visibility setting for the font on the  slide*/
.slideshow_images figcaption {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    font-size: clamp(28px, 3vw, 52px);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.03em;
    width: 80%;
    padding: 14px 22px;
    border-radius: 18px;
    background: rgba(3, 69, 68, 0.28);
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.6);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.slideshow_images figcaption b {
    color: #FFBF00;
    text-decoration: italic;
}

/*This is the beginning of the content*/
.warmline{
    text-align: center;
    font-size: 13px;
    color:#034544;
    
    background-color: rgba(255, 191, 0, 0.8);
    border-bottom-right-radius: 30px;
    position: relative;
    margin-top: -60px;
    padding: 12px 20px;
    z-index: 2;
    height: 70px;
    width: 100%;
    box-sizing: border-box;
    text-shadow: 0 2px 5px rgba(28, 121, 68, 0.3);
    border-top: 2px solid green;
    top: 15px;
    
}
.warmline ul{
    display:flex;
    justify-content: center;
    flex-wrap: no-wrap;
    overflow: hidden;
    gap: 15px;
    padding: 0;
    margin: 0;
    list-style: none;
}*

/*.warmline ul li{
    padding: 0 10px;
    font-weight: 600;
    white-space: nowrap;
}*/
 .rooted{
    display: flex-start;
    /*border: 2px solid black;*/
}

hr{
    border-top: 5   0px;
}

footer {
    background: linear-gradient(135deg, rgba(3, 69, 68, 0.95), rgba(28, 121, 68, 0.88));
    /*padding: 80px 20px 50px;*/
    padding-top: 150px;
    margin-top: -120px;
    border-top: 2px solid rgba(28, 121, 68, 0.88);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15);
    position: relative;
    z-index: 1;
    width: 100%;
    
    
    
    
}

footer h2 {
    /*color:rgba(255, 191, 0, 0.8);*/
color: #FFBF00;
font-size: 45px;
font-weight: 800;
    font-family: 'Poppins', sans-serif;
    /*text-shadow: 0 2px 5px rgba(255, 191, 0, 0.8);*/
    text-align: center;
    margin: 0 0 30px 0;
    padding: 0 20px;
    padding-top: 70px;

}
.questionnaire {
    max-width: 800px;
    margin: 0 auto;
    padding: 28px 26px;
    display: flex;
    flex-direction: column;
    gap: 22px;
    background: rgba(243, 249, 245, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 20px;
    box-shadow: 0 20px 35px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding-bottom: 20px;

}

.questionnaire .submit-one{
    color: #034544;
    font-weight: 600;
    font-family: 'Poppins' sans-serif;
    font-size: large;
    border: 1px solid  #034544;
    max-width: 200px;
    height: 45px;
    background-color: #FFBF00;
    margin: 30px auto;
    border-radius: 20px;
    cursor: pointer;
    align-self: center;
}

.question {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.question label {
    font-weight: 600;
    color: #F3F9F5;
    letter-spacing: 0.02em;
}

.choice-select,
.other-input,
.question textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 12px;
    font-size: 16px;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    background: rgba(255, 255, 255, 0.08);
    color: #F3F9F5;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.choice-select:focus,
.other-input:focus,
.question textarea:focus {
    border-color: rgba(255, 191, 0, 0.9);
    box-shadow: 0 0 0 3px rgba(255, 191, 0, 0.2);
}

.choice-select option {
    color: #034544;
    background: #F3F9F5;
}

.question textarea {
    min-height: 120px;
    resize: vertical;
}

.question textarea::placeholder,
.other-input::placeholder {
    color: rgba(243, 249, 245, 0.8);
}

.other-input {
    margin-top: 8px;
}

.subscribe-form p{
font-family: 'Poppins' sans-serif;
font-size: 18px;
font-weight: 500;
margin-top: 50px;
color: #F3F9F5 ;
display:block;
text-transform: capitalize;
word-spacing: 4px;
text-align: center;
padding: 0 20px;

}

.subscribe-form span{

color: #FFBF00;
font-size: 45px;
font-weight: 800;
display:inline-block;

}

.subscribe-form form{
    max-width: 800px;
    margin: 0 auto;
    padding: 28px 26px;
    display: flex;
    flex-direction: column;
    gap: 22px;
    background: rgba(243, 249, 245, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 20px;
    box-shadow: 0 20px 35px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    margin-bottom: 100px;   
}

.submit{
    color: #034544;
    font-weight: 600;
    font-family: 'Poppins' sans-serif;
    font-size: large;
    border: 1px solid  #034544;
    max-width: 200px;
    height: 45px;
    background-color: #FFBF00;
    margin: 20px auto;
    border-radius: 20px;
    cursor: pointer;
    align-self: center;
}
.submit:hover{
    background-color:#034544;
    color: #FFBF00;
    border: 1px solid  #FFBF00;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}


.contacts li a {
    text-decoration: none;
    color:rgba(255, 255, 255, 0.25);
}

.contacts li {
list-style: none;
}

.contacts p{
    color: rgba(255, 255, 255, 0.25);
    font-size: 16px;
    margin-bottom: 20px;
}

/* Form Validation Messages */
.form-message {
    font-size: 14px;
    padding: 10px 12px;
    border-radius: 8px;
    margin-top: 8px;
    display: none;
}

.form-message.error {
    display: block;
    background: rgba(220, 53, 69, 0.15);
    color: #ffcccb;
    border: 1px solid rgba(220, 53, 69, 0.4);
}

.form-message.success {
    display: block;
    background: rgba(40, 167, 69, 0.15);
    color: #90ee90;
    border: 1px solid rgba(40, 167, 69, 0.4);
}

/* Submit Button Loading State */
.submit:not(:disabled):hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 191, 0, 0.3);
}

.submit.loading {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Form Divider */
.form-divider {
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 191, 0, 0.6), transparent);
    margin: 30px 0;
    width: 100%;
    display: block;
}

/* Social Media Links */
.social-links {
    display: flex;
    justify-content: center;
    gap: 25px;
    list-style: none;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 191, 0, 0.15);
    color: #FFBF00;
    border: 2px solid rgba(255, 191, 0, 0.4);
    text-decoration: none;
    font-size: 24px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #FFBF00;
    color: #034544;
    transform: translateY(-4px) scale(1.1);
    box-shadow: 0 8px 20px rgba(255, 191, 0, 0.3);
}

/* Input Hover Effects */
.other-input:hover,
.choice-select:hover,
.question textarea:hover {
    border-color: rgba(255, 191, 0, 0.6);
    background: rgba(255, 255, 255, 0.12);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .hero {
        height: 100px;
        flex-direction: column;
        gap: 10px;
    }
    .logo {
        height: 60px;
        margin-right: auto;
    }
    .slideshow_images {
        height: 400px;
        border-bottom-right-radius: 30px;
    }
    .slideshow_images figcaption {
        font-size: clamp(18px, 2vw, 28px);
    }
    /*.warmline {
        border-bottom-right-radius: 25px;
        border-top-right-radius: 15px;
        padding: 10px 15px;
        margin-top: -40px;
    }
    .warmline ul {
        gap: 10px;
        padding: 0;
        margin: 0;
    }
    .warmline ul li {
        padding: 0 8px;
        font-size: 12px;
    }*/
    .warmline {
        
        border-bottom-right-radius: 25px;
        width: auto;
        max-width: 775px;

    }
    footer {
        padding-top: 100px;
        margin-top: -40px;
    }
    footer h2 {
        font-size: 32px;
        margin-bottom: 20px;
    }
    .questionnaire {
        margin: 15px;
        padding: 20px 15px;
    }
    .questionnaire .submit-one {
        max-width: 100%;
        margin: 20px auto;
    }
    .submit {
        max-width: 100%;
        margin: 15px auto;
    }
    .subscribe-form p {
        font-size: 16px;
        margin-top: 30px;
    }
    .subscribe-form span {
        font-size: 32px;
    }
    .social-links {
        gap: 15px;
    }
    .social-links a {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
}

/* Mobile Responsiveness */
@media (max-width: 480px) {
    body {
        font-size: 14px;
    }
    .hero {
        height: 80px;
        padding: 10px;
    }
    .logo {
        height: 50px;
        width: auto;
    }
    .hero h2 {
        font-size: 24px;
    }
    .slideshow_container {
        width: 100%;
    }
    .slideshow_images {
        height: 350px;
       border-bottom-right-radius: 20px;
    }
    .slideshow_images figcaption {
        font-size: clamp(14px, 1.5vw, 20px);
        padding: 10px 15px;
        width: 85%;
    }
    /*.warmline {
        border-bottom-right-radius: 20px;
        box-sizing: border-box;
        padding: 8px 10px;
        margin-top: -35px;
    }
    .warmline ul {
        gap: 8px;
        padding-bottom: 0;
        margin: 0;
        align-items: center;
    }
    .warmline ul li {
        padding-bottom: 0;
        font-size: 11px;
        margin: 0;
        display: relative;
        
    }*/
    /*.contents{
        padding-left: 0px;
    }
     .warmline{
        max-width: 483px;
        width: auto;
        
     } 
    .contents {
        padding: 0 10px;
    }*/
    footer {
        padding-top: 80px;
        margin-top: -30px;
    }
    footer h2 {
        font-size: 24px;
        margin-bottom: 15px;
        padding: 0 10px;
    }
    .questionnaire {
        margin: 10px;
        padding: 15px 12px;
        gap: 15px;
    }
    .question {
        gap: 8px;
    }
    .question label {
        font-size: 14px;
    }
    .choice-select,
    .other-input,
    .question textarea {
        font-size: 14px;
        padding: 10px 10px;
    }
    .question textarea {
        min-height: 100px;
    }
    .questionnaire .submit-one {
        max-width: 100%;
        width: 100%;
        margin: 15px 0;
        height: 40px;
        font-size: 14px;
    }
    .subscribe-form {
        padding: 10px;
    }
    .subscribe-form p {
        font-size: 14px;
        margin-top: 20px;
        padding: 0 10px;
    }
    .subscribe-form span {
        font-size: 24px;
        display: block;
        margin: 10px 0;
    }
    .subscribe-form form {
        margin: 15px;
        padding: 15px 12px;
        gap: 15px;
    }
    .other-input#email {
        font-size: 14px;
    }
    .submit {
        max-width: 100%;
        width: 100%;
        margin: 10px 0;
        height: 40px;
        font-size: 14px;
    }
    .form-divider {
        margin: 20px 0;
    }
    .contacts {
        padding: 0 10px;
    }
    .contacts p {
        font-size: 14px;
        margin-bottom: 15px;
    }
    .social-links {
        gap: 12px;
    }
    .social-links a {
        width: 38px;
        height: 38px;
        font-size: 16px;
    }
}

/* Extra Small Devices */
@media (max-width: 360px) {
    .logo {
        height: 45px;
    }
    .slideshow_images {
        height: 700px;
    }
    footer h2 {
        font-size: 20px;
    }
    .warmline{
        border-bottom-right-radius: 11px;
    }
    /*.warmline ul li {
        font-size: 10px;
        padding: 5px;
        margin-left: 15px;
    }*/
}
