
* {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

html {
    scroll-behavior: smooth;
    height: 100%;
}

body {
    margin: 0;
}

nav {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: white;
    border-bottom: 2px solid #000000;
    padding: 15px 25px;
    display: flex;
    align-items: center;
    z-index: 1000;
    box-sizing: border-box;
    gap: 0;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-right: auto;    /* pushes ALL links to the right as a group */
}

nav .logo {
    height: 50px;
    width: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.org-name {
    font-family:Georgia;
    font-size: 25px;
    color: #0a5f2c;
    white-space: nowrap;
}

nav a {
    color: black;
    text-decoration: none;
    margin: 0 12px;
    font-size: 18px;
    font-family: Calibri;
    white-space: nowrap;
}

nav a:hover {
    color: rgb(4, 183, 28);
}

section {
    min-height: 100vh;       
    padding: 60px 40px 40px 40px; 
    box-sizing: border-box;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

#Home h2, #Home h1, #Home ul, #Home pre{
    animation: fadeIn 1.5s ease-out forwards;
}

#About h1, #About p, .team-grid {
    animation: fadeIn 1.5s ease-out forwards;
}

#contactForm {
    animation: fadeIn 1.5s ease-out forwards;
}

#Home {
    background-image: url("Images/bg-1.png");
    background-size:cover;
    background-position: center;
    display: flex;
    color: white;
    justify-content: center;
    align-items: center;           
    min-height: 100vh;           
    padding: 60px 40px;            
    box-sizing: border-box;
}

.home-text {
    max-width: 1000px;
}

#Home h1 {
    font-size: 40px;
    font-family: Algerian;
    margin-bottom: 20px;
    text-align: left;
}

#Home h2 {
    font-size: 30px;
    font-family: "Eras Demi Bold ITC";
    margin-bottom: 30px;
    text-align: center;
}

/* Mission & Motto text */
#Home ul, #Home pre {
    font-size: 20px;
    line-height: 1.6;
    text-align: left;
}

/* INITIATIVES SECTION */
#Initiatives {
    background-color: rgba(0, 128, 0, 0.509);
    box-sizing: border-box;
    padding: 70px 40px 80px 40px;
    text-align: center;
}

.inicard video {
    width: 100%;
    height: 190px;
    object-fit: cover;
    border-radius: 6px;
    display: block;
    margin-bottom: 15px;
}

#Initiatives h1 {
    font-family: Algerian;
    font-size: 40px;
    color: #084a22;
    margin-bottom: 60px;
}

.inigrid {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;  
}

.inicard {
    width: 250px;
    background-color: #f5faf7;
    border: 4px solid #19a350;
    padding: 25px 20px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    cursor: pointer;
    border-radius: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: fadeIn 1.5s ease-out forwards;
}

.inicard:hover {
    transform: translateY(-10px);
    box-shadow: 0 16px 35px rgba(0,0,0,0.2);
}

.inicard img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 15px;
    display: block;
}

.inicard h2 {
    font-family: "Comic Sans MS", cursive;
    font-size: 18px;
    color: #0a5f2c;
    margin-bottom: 10px;
}

.inicard p {
    font-family: Calibri;
    font-size: 15px;
    line-height: 1.6;
    color: #444;
    margin: 0;
}

#About {
    text-align: center;
    padding-top: 100px;
}

/* Headings inside About */
#About h1 {
    font-family: Algerian;
    font-size: 36px;
    margin-bottom: 20px;
    text-align: center;
}

/* Paragraphs */
#About p {
    font-family: Calibri;
    font-size: 18px;
    line-height: 1.5;
    text-align: left;
}

.team-member {
    width: 245px;
    border: 1px solid green;
    padding: 15px;
    margin: 20px;
    box-sizing: border-box;
    text-align: left;
    border-radius: 12px; 
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    background-color: white;   
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;          
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    justify-items: center;
    margin-top: 30px;
    padding: 0 20px;
}

.team-member img {
    width: 180px;
    height: 180px;
    object-fit: cover;
    margin: 0 auto 20px auto; 
    display: block;
}

.team-member h3 {
    font-size: 20px;
    margin: 10px 0 5px 0;
}

.team-member p {
    font-size: 14px;
    margin-bottom: 20px;
}

.team-member a {
    display: inline-block;
    text-decoration: none;
    font-family: Calibri;
    font-size: 13px;
    font-weight: bold;
    color: white;
    background-color: #0077b5;     /* LinkedIn blue */
    padding: 7px 20px;             /* small height, wide width = elongated oval */
    border-radius: 25px;           /* high number = pill/oval shape */
    transition: background-color 0.3s ease, transform 0.2s ease;

}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 16px 35px rgba(0, 0, 0, 0.2);
}

.team-member a:hover {
    background-color: #005f8e;     /* darker blue on hover */
    transform: scale(1.05);        /* slight grow on hover */
    text-decoration: none;
}

/* MESSAGE US SECTION */
#Messageus {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #f5f5f5;
    padding: 100px 20px 60px 20px;     
    box-sizing: border-box;
}

/* FORM BOX */
#contactForm {
    width: 600px;
    background-color: #ffffff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* INPUT FIELDS */
#contactForm input,
#contactForm textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 16px;
    font-family: Calibri;
    box-sizing: border-box;
}

/* TEXTAREA HEIGHT */
#contactForm textarea {
    height: 130px;
    resize: none;
}

/* BUTTON */
#contactForm button {
    width: 100%;
    padding: 12px;
    background-color: #0a5f2c;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#contactForm button:hover {
    background-color: #084a22;
}

/* SUCCESS MESSAGE */
#successMsg {
    text-align: center;
    margin-top: 15px;
    font-weight: bold;
    color: green;
}

/* BLOG SECTION */
#blog {
    box-sizing: border-box;  
    min-height: 100vh;
    padding-top: 100px;
    padding-left: 40px;
    padding-right: 40px;
    padding-bottom: 60px;
    background-color: #f9f9f9;
}

#blog h1 {
    font-family: Georgia;
    font-size: 20px;
    text-align: left;
    margin-bottom: 40px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    max-width: 1300px;
    margin-bottom: 60px;    /* ADD THIS - pushes footer down */
    margin: 0 auto;
}

.blogcard {
    width: 90%;
    background-color: rgba(121, 246, 169, 0.74);
    border-radius: 18px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    padding: 0;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: fadeIn 1.5s ease-out forwards;
    display: flex;
    flex-direction: column;
}

.blogcard:hover {
    transform: translateY(-10px);
    box-shadow: 0 16px 35px rgba(0, 0, 0, 0.2);
}

.blog-images {
    width: 100%;
    height: 250px;
    object-fit: cover;      /* crops nicely without stretching */
    display: block;
}

.blogcard h1 {
    font-family: Calibri;
    font-size: 20px;
    font-weight: bold;
    margin: 15px 15px;
    line-height: 1.4;
    text-align: left;
    flex-grow: 1;
}

.blogcard a {
    display: inline-block;
    text-decoration: none;
    font-family: Calibri;
    font-size: 13px;
    font-weight: bold;
    color: black;
    background-color: #4997009f;     
    padding: 10px 20px;             /* small height, wide width = elongated oval */
    border-radius: 25px;           /* high number = pill/oval shape */
    transition: background-color 0.3s ease, transform 0.2s ease;
    margin: 0 15px 20px 15px;
    width: fit-content;
}

.blogcard a:hover {
    text-decoration: underline;
    transform: scale(1.05);
    text-decoration: none;
}

.download-btn-inline {
    color: white;
    font-family: Calibri;
    font-weight: bold;
    font-size: 16px;
    text-decoration: underline;
    transition: opacity 0.3s ease;  /* removed display: block */
}

.download-btn-inline:hover {
    opacity: 0.7;
}

footer {
    background-color: #19a350;
    color: white;
    padding: 40px 20px;
    text-align: left;
    font-size: 16px;
}

footer a {
    text-decoration: none;
    color: white;
}

footer a:hover {
    text-decoration: underline; 
}

.footer-container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.footer-left {
    flex: 1;
}

.footer-left p {
    margin: 8px 0;
}

.media-icons {
    margin-top: 15px;
}

.media-icon{
    width: 33px;  
    height: 33px;
    margin-right: 15px; 
}

.footer-right {
    flex: 1;
    min-width: 200px;
    text-align: center;
}

.donation-img {
    width: 200px; 
    height: auto;
    margin-top: 10px;
}

.copyright{
text-align: center;
font-size: 14px; 
margin-bottom: 1px;
}

.icon{
    width: 20px;
    height: 20px;
    margin-right: 8px;
    fill: white;
}
