@font-face {
    font-family: Inter;
    src: url(assets/fonts/Inter-Regular.otf);
}
@font-face {
    font-family: Playfair;
    src: url(assets/fonts/PlayfairDisplay-Regular.otf);
}
@font-face {
    font-family: Roboto;
    src: url(assets/fonts/Roboto-Regular.ttf);
}
@font-face {
    font-family: Source-Sans;
    src: url(assets/fonts/SourceSansPro-Regular.otf);
}
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body{
    font-family: Roboto;
    background-color: #31708E;
}
/* Header / Navigation Style */
.header-container{
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    overflow: hidden;
}
header{
    background-color: #333;
    color: #fff;
    padding: 10px 0;
    font-family: Playfair;
}
p{
    font-size: 1rem;
    line-height: 1.6;
}
#logo {
    float: left;
    font-size: 1.5em;
    margin-top: 5px;
    color: #8FC1E3;
}
nav {
    float: right;
    font-family: Inter;
}
.nav-links{
    list-style-type: none;
    margin: 0;
    padding: 0;
}
.nav-links li{
    display: inline-block;
    margin-left: 20px;
}
.nav-links li a{
    color: #8FC1E3;
    text-decoration: none;
    padding: 10px 15px;
    display: inline-block;
    transition: color 0.3s ease, transform 0.3s ease;
}
.nav-links li a:hover{
    color: #5085A5;
    transform: scale(1.1);
}
.burger{
    display: none;
    cursor: pointer;
}
.burger div{
    width: 25px;
    height: 3px;
    background-color: #fff;
    margin: 5px;
    transition: transform 0.3s, background-color 0.3s;
}
/* Footer Style */
footer{
    background-color: #333;
    color: #fff;
    padding: 20px 0;
    font-family: Source-Sans;
}
.footer-container{
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: left;
    gap: 20px;
}
.footer-container h5{
    font-size: 1.2em;
    margin-bottom: 10px;
    margin-top: 20px;
}
.footer-container p{
    font-size: 0.9em;
    line-height: 1.5;
}
.footer-info{
    display: flex;
    justify-content: space-between;
    width: 100%;
}
.company-info{
    width: 60%;
}
.social-media{
    width: 30%;
    text-align: center;
}
.social-media i{
    margin: 0 10px;
    color: #fff;
    transition: color 0.3s ease;
}
.social-media i:hover{
    color: #85C1E3;
}
.footer-copyright{
    text-align: center;
    font-size: 0.9em;
    margin-top: 10px;
    color: #ccc;
    width: 100%;
}
/* About Section*/
.about-hero{
    background-color: #31708E;
    color: white;
    padding: 50px 0;
    text-align: center;
}
.about-hero .hero-content h1{
    font-size: 3em;
    margin-bottom: 10px;
    font-family: Playfair;
}
.about-hero .hero-content p{
    font-size: 1.2em;
}
/* About Content */
.about-content{
    padding: 40px 20px;
    background: #f4f4f4;
}
.about-container{
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.about-section{
    padding: 20px;
}
.about-content h2{
    margin-top: 20px;
    font-size: 1.8em;
    color: #31708E;
}
.about-content p,
.about-content ul{
    margin-top: 10px;
    font-size: 1em;
    color: #333;
}
.about-content ul{
    list-style-type: disc;
    margin-left: 20px;
}
/* News Section */
.news-hero{
    color: white;
    text-align: center;
    padding: 50px 20px;
}
.news-hero h1{
    font-size: 2.5rem;
}
.news-hero p{
    font-size: 1.2rem;
}
.news-content{
    padding: 40px 20px;
    background-color: #f9f9f9;
}
.news-container{
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.news-article{
    background-color: white;
    border-radius: 8px;
    margin-bottom: 30px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.news-article img{
    width: 100%;
    height: 200px;
    border-radius: 8px;
    margin-top: 10px;
    margin-bottom: 10px;
}
.news-article .date{
    font-size: 0.9rem;
    color: #777;
    margin-bottom: 10px;
}
/* News Section */
.research-hero{
    color: white;
    text-align: center;
    padding: 60px 20px;
}
.research-hero h1{
    font-size: 3rem;
}
.research-hero p{
    font-size: 1.2rem;
}
/* Research Projects Section */
.research-projects{
    padding: 40px 20px;
    background-color: #f9f9f9;
}
.projects-container{
    max-width: 1200px;
    margin: 0 auto;
}
.projects-container h2{
    text-align: center;
    margin-bottom: 20px;
}
.projects-grid{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.research-project{
    background-color: white;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 4px 8px rgb(0, 0, 0, 0.1);
}
.research-project .date{
    font-size: 0.9rem;
    color: #777;
    margin-bottom: 10px;
}
.research-image{
    width: 100%;
    max-width: 800px;
    margin: 20px 0;
    display: block;
    border-radius: 8px;
}
/* Research Partners Section */
.research-partners{
    background-color: #f9f9f9;
    padding: 40px 20px;
}
.partners-container{
    max-width: 1200px;
    margin: 0 auto;
}
.research-partners h2{
    font-size: 2rem;
}
.research-partners ul{
    list-style: none;
    padding-left: 0;
}
.research-partners li{
    font-size: 1rem;
    margin-bottom: 10px;
}
/* Donate Section */
.donate-hero{
    color: white;
    text-align: center;
    padding: 60px 20px;
}
.donate-hero h1{
    font-size: 3rem;
}
.donate-hero p{
    font-size: 1.2rem;
}
/* Donate Options Section */
.donation-options{
    background-color: #f9f9f9;
    padding: 40px 20px;
    margin-top: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.donation-options h2{
    font-size: 2rem;
    margin-bottom: 20px;
    text-align: center;
}
.donation-options-grid{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.donation-option{
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.donate-btn{
    background-color: #31708E;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 1rem;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 15px;
}
.donate-btn:hover{
    background-color: #005f8a;
}
/* Why Donate Section */
.why-donate{
    background-color: #f9f9f9;
    padding: 40px 20px;
}
.why-container{
    max-width: 1200px;
    margin: 0 auto;
}
.impact-container{
    display: flex;
    gap: 20px;
    margin-top: 30px;
}
.impact-item{
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    flex: 1;
}
/* Secure Donation Section */
.secure-donations{
    background-color: #f9f9f9;
    padding: 40px 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.form-container form{
    display: flex;
    flex-direction: column;
    gap: 15px
}
input, select{
    padding: 10px;
    font-size: 1rem;
    border-radius: 5px;
    border: 1px solid #ddd;
}
input[type="number"], input[type="text"], input[type="email"] {
    width: 100%;
}
button {
    background-color: #31708E;
    color: white;
    padding: 12px;
    font-size: 1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}
button:hover {
    background-color: #005f8a;
}
/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
}
.modal-content {
    background-color: #fff;
    margin: 15% auto;
    padding: 20px;
    border-radius: 8px;
    width: 80%;
    max-width: 500px;
    text-align: center;
}
.close-btn {
    color: white;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    top: 5px;
    right: 15px;
}
.close-btn:hover,
.close-btn:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}
/* Contact Section */
.contact-hero {
    color: white;
    text-align: center;
    padding: 60px 20px;
}
.contact-hero h1 {
    font-size: 3rem;
}
.contact-hero p {
    font-size: 1.2rem;
}
/* Contact Form Section */
.contact-form {
    background-color: white;
    padding: 40px 20px;
    margin-top: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.contact-form h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.form-container form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

input, textarea {
    padding: 10px;
    font-size: 1rem;
    border-radius: 5px;
    border: 1px solid #ddd;
}

input[type="text"], input[type="email"] {
    width: 100%;
}

textarea {
    width: 100%;
}

button.submit-btn {
    background-color: #31708E;
    color: white;
    padding: 12px;
    font-size: 1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

button.submit-btn:hover {
    background-color: #005f8a;
}
/* Phone Style */
@media only screen and (max-width:600px){
    body{
        background-color: #8FC1E3;
    }
    /* Navigation - Hamburger */
    .nav-links{
        display: none;
        flex-direction: column;
        text-align: center;
        width: 100%;
        position: absolute;
        background-color: #333;
        top: 50px;
        left: 0;
        z-index: 1000;
    }
    .nav-links.active{
        display: flex;
    }
    .nav-links li{
        margin: 10px 0;
        text-align: center;
    }
    .burger{
        display: block;
        float: right;
        margin-top: 5px;
    }
    .burger.active .line1{
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    .burger.active .line2{
        opacity: 0;
    }
    .burger.active .line3{
        transform: rotate(45deg) translate(-5px, -6px);
    }
    #page-content{
        transition: transform 0.3s ease;
    }
    .body-pushed #page-content {
        transform: translateY(350px);
    }
    /* Footer - Vertical Stack */
    .footer-container{
        flex-direction: column;
        gap: 30px;
    }
    .footer-info{
        flex-direction: column;
        text-align: center;
    }
    .company-info{
        width: 100%;
    }
    .social-media{
        width: 100%;
        text-align: center;
        margin-top: 20px;
    }
    /* About - Hero Style */
    .about-hero{
        background-color: #8FC1E3;
    }
    .about-content h2{
        color: #8FC1E3;
    }
    /* About Container - Vertical Stack */
    .about-container{
        grid-template-columns: 1fr;
    }
    .about-section{
        padding: 20px 0;
    }
    /* News Container - 1 Article Per Row */
    .news-container{
        grid-template-columns: 1fr;
    }
    .news-hero h1{
        font-size: 2rem;
    }
    .news-content{
        padding: 20px;
    }
    /* Research Section */
    .research-hero h1{
        font-size: 2rem;
    }
    .research-projects .projects-container{
        padding: 0 10px;
    }
    .research-project{
        padding: 15px;
    }
    .research-partners{
        padding: 20px 10px
    }
    /* Research Grid - 1 Article Per Row */
    .projects-grid{
        grid-template-columns: 1fr;
    }
    /* Donation Option Grid - 1 Option Per Row */
    .donation-options-grid{
        grid-template-columns: 1fr;
    }
    .impact-container{
        flex-direction: column;
    }
    .secure-donations form{
        padding: 0 10px;
    }
}
/* Tablet Style */
@media only screen and (min-width: 600px) and (max-width: 992px){
    body{
        background-color: #5085A5;
    }
    /* Navigation - Under Header */
    .header-container{
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    #logo{
        margin-bottom: 10px;
        font-size: 1.8em;
    }
    .nav-links{
        display: flex;
        flex-direction: row;
        width: auto;
    }
    .nav-links li{
        margin: 10px 0;
    }
    .nav-links li a{
        padding: 8px 15px;
        font-size: 1.1em;
    }
    .burger{
        display: none;
    }
    /* About - Hero Style */
    .about-hero{
        background-color: #5085A5;
    }
    .about-content h2{
        color: #5085A5;
    }
    /* News Container - 2 Articles Per Row */
    .news-container{
        grid-template-columns: repeat(2, 1fr);
    }
    /* Research Grid - 2 Articles Per Row */
    .projects-grid{
        grid-template-columns: repeat(2, 1fr);
    }
}