/* General Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #fff8ed;
}

/* Header Styles */
.container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background-color: #fffbf5;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.logo a {
    font-size: 30px;
    color: #9faf6c;
    margin: 20px;
    text-decoration: none;
}

nav ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

nav ul li {
    margin-left: 20px;
}

nav a {
    font-size: 18px;
    text-decoration: none;
    color: #000;
    font-weight: 600;
    margin: 0 10px;
}

nav ul li a.urgent {
    border: 1px solid #9faf6c;
    padding: 5px 10px;
    border-radius: 5px;
    text-decoration: none;
    color: #9faf6c;
    font-weight: bold;
}

nav a:hover {
    color: #6a6a3b;
}

.menu-icon {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* Main Content Styles */
.homeflex {
    display: flex;
    padding: 3vw;
}

.main-content {
    text-align: center;
    padding: 50px 50px;
}

.main-content h1 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.main-content p {
    font-size: 18px;
    margin-bottom: 30px;
    color: #6d6d6d;
}

.buttons a {
    padding: 10px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 18px;
    margin: 0 10px;
    display: inline-block;
}

.buttons .btn-open-popup {
    background-color: #9faf6c;
    color: #fff;
}

.buttons .learn-more {
    border: 1px solid #000;
    color: #000;
}

.buttons .notalone {
    background-color: #9faf6c;
    color: #fff;
    font-size: 2rem;
    padding: 10px 50px;
}

.illustration {
    text-align: center;
    margin-top: 30px;
}

.illustration img {
    max-width: 35vw;
    height: auto;
    border-radius: 20px;
}

.highlight {
    color: #9faf6c;
}

.btn-open-popup {
    padding: 12px 24px;
    font-size: 18px;
    background-color: green;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-open-popup:hover {
    background-color: #165319;
}

.overlay-container {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.popup-box {
    background: #fff;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
    width: 320px;
    text-align: center;
    opacity: 0;
    transform: scale(0.8);
    animation: fadeInUp 0.5s ease-out forwards;
}

.form-container {
    display: flex;
    flex-direction: column;
}

.form-label {
    margin-bottom: 10px;
    font-size: 16px;
    color: #444;
    text-align: left;
}

.form-input {
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 16px;
    width: 100%;
    box-sizing: border-box;
}

.btn-submit,
.btn-close-popup {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-submit {
    background-color: green;
    color: #fff;
}

.btn-close-popup {
    margin-top: 12px;
    background-color: #e74c3c;
    color: #fff;
}

.btn-submit:hover,
.btn-close-popup:hover {
    background-color: #4caf50;
}

/* Keyframes for fadeInUp animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animation for popup */
.overlay-container.show {
    display: flex;
    opacity: 1;
}

/* Emotions Section */
.emotionsbox{
    padding: 10px;
    margin-top: 50px;
    background-color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    width: 70%;
    margin-left: auto;
    margin-right: auto;
    border-radius: 10px;
}
.emotioncontainer {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 10px;
}
.button-block {
    display: inline-block;
}
.emotion-button, .emotion-description {
    padding: 10px 20px;
    margin: 5px;
    font-size: 16px;
    border: none;
    cursor: pointer;
}
.emotion-button {
    background-color: white;
    color: black;
}
.emotion-description {
    display: none;
    width: 100%;
    height: auto;
    color: #9faf6c;
}

.emotion-description strong {
    font-size: 3vw;
    color:#000;
}

.button-block p{
    font-size: 2.2vw;
}

.worthybox {
    background-color: #bfda69;
    margin: 0 20%;
    border-radius: 10px;
    padding: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    max-width: 90%;
}

/* What's New Section */
.whats-new {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.new-item {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: center;
    width: 100%;
    max-width: 20%;
}

.new-item img {
    max-width: 100%;
    width: 300px;
    height: 13rem;
    border-bottom: 1px solid #9faf6c;
    padding-bottom: 10px;
    margin-bottom: 10px;
}

.new-item p {
    margin: 0;
    font-weight: bold;
    font-size: 14px;
}

.new-item a {
    text-decoration: none;
    color: #9faf6c;
}

/* About Us Section */
.urgent-content {
    background-color: #9faf6c;
    padding: 40px;
    box-shadow: 0 4px 11px rgba(0, 0, 0, 0.3);
    max-width: 100%;
    font-family: 'roboto slab';
}

.urgent-content h2{
    font-size: 2.5vw;
    color: #000;
}

.urgent-content p{
    font-size: 1.8vw;
    color: #000;
}
* {
    box-sizing: border-box;
  }
  
  /* Create two equal columns that floats next to each other */
  .column {
    float:left;
    width: 50%;
    padding: 0 10px;
    height: auto; /* Should be removed. Only for demonstration */
  }

  .column ol{
    font-size: 2.3vw;
  }

  .column ul {
    font-weight: lighter;
    font-size: 2.0vw;
  }
  
  /* Clear floats after the columns */
  .row:after {
    display: table;
    clear: both;
  }
  


.about-us {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px;
    margin: 30px;
}

.about-us h1{
    font-size: 3vw;
    color: #9faf6c;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.content {
    background-color: #fae4b3;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 11px rgba(0, 0, 0, 0.3);
    max-width: 100%;
}

.content h2 {
    font-size: 36px;
    color: #000;
    margin-bottom: 20px;
}

.section {
    margin-bottom: 20px;
}

.section h3 {
    font-size: 20px;
    color: #000;
}

.section p {
    font-size: 14px;
    color: #000;
}

.social-icons {
    display: flex;
    gap: 20px;
}

.social-icons img {
    width: 30px;
    height: 30px;
}

/* Support Section */
.support-section {
    text-align: center;
    padding:10px 13%;
    background-color: #fff8ed;
}

.support-section h1 {
    font-size: 2rem;
    text-align:left;
    color: #2c2c02;
}

.support-section h2 {
    font-size: 25px;
    margin-bottom: 50px;
}

.support-section .cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    margin-top: 20px;
}

.card {
    height: fit-content;
    background-color: #fff;
    border-radius: 30px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    text-align: center;
    width: 100%;
    max-width: 250px;
}

.card img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
}

.card-text {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 10px;
    text-align: center;
    font-size: 14px;
    font-weight: bold;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}

.overlay {
    border-radius: 20px;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    overflow: hidden;
    width: 100%;
    height: 0;
    transition: .5s ease;
}
  
.card:hover .overlay {
    height: 100%;
}
  
.overlay-text {
    white-space: wrap; 
    color: #ffffff;
    font-size: 15px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    width: 70%;
    text-align:justify;
    padding-top: 10px;
}


.banner {
    display: flex;
    background-color: #fff;
    border-radius: 10px;
    margin: 40px 60px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    flex-wrap: wrap;

}

.banner img {
    width: 200px;
    border-radius: 10px;
    margin: 15px;
}


.text-box-right {
    flex: 0 0 50%;
    background-color: #6b8e23;
    color: white;
    padding: 50px;
    border-radius: 10px;
    font-size: 18px;
    margin: 15px;
    margin-left: auto;

}

.text-box-left {
    flex: 0 0 50%;
    background-color: #6b8e23;
    color: white;
    padding: 50px;
    border-radius: 10px;
    font-size: 18px;
    text-align: left;
    margin: 15px;
    margin-right: auto;
}

.banner:nth-child(2) .text-box {
    order: -1; /* Move the text box to the left */
}

main {
    margin-top: 30px;
    padding: 20px;
}

.reason-container {
    padding: 20px;
    border-radius: 10px;
    max-width: 800px;
    margin: auto;
}

.reasons {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.reason {
    border-radius: 10px;
}

h1, h2, h3 {
    color: #5d622c;
}



/* Responsive Styles */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
        align-items: flex-start;
    }

    nav ul {
        flex-direction: column;
        padding: 0;
    }

    nav ul li {
        margin-left: 0;
        margin-bottom: 10px;
    }

    .menu-icon {
        display: block;
    }

    .homeflex {
        flex-direction: column;
    }

    .main-content h1 {
        font-size: 24px;
    }

    .buttons a {
        padding: 10px 20px;
        font-size: 14px;
    }

    .worthybox {
        margin: 0 20px;
    }

    .whats-new {
        flex-direction: column;
        align-items: center;
    }

    .new-item {
        max-width: 100%;
    }

    .about-us {
        padding: 10px;
    }

    .content {
        padding: 20px;
    }
    .column {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .logo a {
        font-size: 18px;
    }

    nav a {
        font-size: 14px;
    }

    .main-content h1 {
        font-size: 20px;
    }

    .buttons .notalone {
        font-size: 18px;
        padding: 10px 20px;
    }

    .new-item img {
        height: 150px;
    }

    .social-icons img {
        width: 20px;
        height: 20px;
    }
}

