/* Sustainability Cup - Static Homepage Styles */

/* Import Google Fonts */
@import url(http://fonts.googleapis.com/css?family=Montserrat);

/* Color Variables */
:root {
    --grey-dark: #999999;
    --grey-not-so-dark: #808080;
    --grey: #A7A9AC;
    --grey-not-so-light: #B3B3B3;
    --grey-light: #CCCCCC;
    --grey-lighter: #E6E6E6;
    --blue: #0090A5;
    --blue-light: #03BFD7;
    --white: #FFFFFF;
    --green-dark: #39B54A;
    --green: #3DB54A;
    --green-light: #8DC63F;
    --green-lighter: #8BC53F;
    --gold: #FCAF17;
}

/* Base Styles */
body {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    color: var(--grey);
}

/* Header Styles */
#header {
    background-color: var(--white);
}

.navbar {
    min-height: 50px;
    max-height: 50px;
    overflow: hidden;
    background-color: var(--white) !important;
    border: none;
    box-shadow: none;
}

.navbar-brand {
    height: 50px;
    padding: 5px 15px;
    display: flex;
    align-items: center;
    margin: 0 auto;
    float: none;
    text-decoration: none;
}

.navbar-brand:hover {
    text-decoration: none;
}

.navbar-brand img {
    height: 40px;
    width: auto;
    max-height: 40px;
    margin-top: 5px;
    object-fit: contain;
}

.navbar-nav li a {
    color: var(--blue) !important;
    font-weight: 500;
    padding: 15px 20px;
    font-size: 16px;
}

.navbar-nav li a:hover {
    color: var(--blue-light) !important;
    background-color: transparent;
}


/* Body Styles */
#body {
    margin-top: 60px;
}

#body .container {
    width: auto;
}

/* Landing Section */
#body .container.landing {
    background-color: var(--blue);
    color: var(--white);
    margin: 0;
    height: 550px;
}

@media (min-width: 768px) {
    #body .container.landing {
        background-image: url("images/kids1.png");
        background-repeat: no-repeat;
        background-position: right;
    }
}

@media (min-width: 768px) {
    #body .container.landing {
        padding-top: 112px;
        padding-left: 178px; 
        padding-bottom: 100px;
    }
}

#body .container.landing .slogan h1 {
    font-size: 42.85px;
    margin-bottom: 38px;
}

#body .container.landing .slogan h1 .yellow {
    color: var(--gold);
}

#body .container.landing .slogan h1 .green {
    color: var(--green-lighter);
}

#body .container.landing .slogan .description {
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 44px;
}

@media (min-width: 768px) {
    #body .container.landing .slogan .description {
        width: 458px;
    }
}

/* Schools Thumbnail Section */
#body .container.schools-thumbnail {
    background-color: rgba(141, 198, 63, 0.2);
    margin: 0;
    height: 200px;
}

#body .container.schools-thumbnail .title h3 {
    color: var(--green-dark);
    margin: 22px 0;
}

/* Project Section */
#body .container.project {
    border-bottom: 1px solid rgba(141, 198, 63, 0.5);
    margin: 0;
}

@media (min-width: 768px) {
    #body .container.project {
        padding-top: 78px;
        padding-left: 178px; 
        padding-bottom: 204px;
    }
}

@media (min-width: 992px) {
    #body .container.project {
        background-image: url("images/how_works.png");
        background-repeat: no-repeat;
        background-position: center bottom;
    }
}

#body .container.project .how h1 {
    font-size: 42.85px;
    margin-bottom: 42px;
}

#body .container.project .how h1 .yellow {
    color: var(--gold);
}

#body .container.project .how h1 .green {
    color: var(--green-lighter);
}

#body .container.project .how p {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.7;
}

@media (min-width: 768px) {
    #body .container.project .how p {
        width: 458px;
    }
}

/* First Testimonial Section */
#body .container.testimonial.first {
    border-bottom: 1px solid rgba(204, 204, 204, 0.5); 
    height: 444px;
}

@media (min-width: 1200px) {
    #body .container.testimonial.first {
        background-image: url("images/kids2.png");
        background-repeat: no-repeat;	
    }
}

#body .container.testimonial.first .quote {
    padding-top: 93px;
}

@media (min-width: 768px) {
    #body .container.testimonial.first .quote {
        padding-right: 164px;
    }
}

#body .container.testimonial.first .quote blockquote {
    margin: 0;
    margin-bottom: 149px;
    padding: 0;
    border: none;
}

@media (min-width: 768px) {
    #body .container.testimonial.first .quote blockquote {
        width: 365px;
    }
}

#body .container.testimonial.first .quote blockquote p {
    color: var(--green-light);
    font-size: 28px;
    line-height: 1.5;
    margin-bottom: 20px;
}

#body .container.testimonial.first .quote blockquote footer {
    color: var(--grey-light);
    font-size: 16px;
    font-weight: 400;
}

/* Join Section */
#body .container.join {
    border-bottom: 1px solid var(--grey-lighter);
}

@media (min-width: 768px) {
    #body .container.join {
        padding-top: 74px;
        padding-left: 178px;
        padding-right: 178px;
        padding-bottom: 64px;	
    }
}

#body .container.join .title h1 {
    font-size: 42.85px;
}

@media (min-width: 768px) {
    #body .container.join .title h1 {
        margin-bottom: 92px;
    }
}

#body .container.join .title h1 .yellow {
    color: var(--gold);
}

#body .container.join .title h1 .green {
    color: var(--green-lighter);
}

#body .container.join .topic .description h2 {
    color: var(--green-dark);
    font-size: 24px;
    margin-bottom: 28px;
}

@media (max-width: 767px) {
    #body .container.join .topic .description h2 {
        padding-left: 50px;
        text-indent: -50px;
    }
}

#body .container.join .topic .description h2 img {
    padding-right: 10px;
    width: 50px;
}

#body .container.join .topic .description p {
    padding-left: 50px;
}

@media (max-width: 767px) {
    #body .container.join .topic .description p {
        padding-right: 20px;
    }
}

#body .container.join .topic .quote blockquote {
    border-left: 8px solid rgba(3, 191, 215, 0.25);
    margin-top: 76px;
}

#body .container.join .topic .quote blockquote p {
    color: var(--blue-light);
    font-size: 14px;
}

#body .container.join .topic hr {
    height: 1px;
    color: var(--grey-lighter);
    padding-left: 50px;
}

/* Other Testimonials Section */
#body .container.testimonial.other {
    background-color: rgba(252, 175, 23, 0.1);
    border-bottom: 1px solid var(--grey-lighter); 
    padding-top: 70px;
    padding-bottom: 80px;
}

@media (min-width: 768px) {
    #body .container.testimonial.other {
        padding-left: 178px;
        padding-right: 178px;
    }
}

#body .container.testimonial.other .title {
    margin-bottom: 80px;
}

#body .container.testimonial.other .title h1 {
    color: var(--green);
    font-size: 42.85px;
}

#body .container.testimonial.other .videos h3 {
    font-size: 18px;
    color: var(--blue);
    margin-top: 20px;
    margin-bottom: 10px;
}

#body .container.testimonial.other .videos p {
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 10px;
}

#body .container.testimonial.other .videos .author {
    font-weight: bold;
}

#body .container.testimonial.other .videos .video {
    margin-bottom: 50px;
}

@media (min-width: 768px) {
    #body .container.testimonial.other .videos .video {
        margin-bottom: 50px;
    }
}

@media (min-width: 992px) {
    #body .container.testimonial.other .videos .video {
        margin-bottom: 70px;
    }
}

/* Community Section */
#body .container.community {
    padding-top: 67px;
    padding-bottom: 79px;
}

@media (min-width: 768px) {
    #body .container.community {
        padding-left: 178px;
    }
}

#body .container.community h1 {
    font-size: 42.85px;
    margin-bottom: 42px;
}

#body .container.community h1 .yellow {
    color: var(--gold);
}

#body .container.community h1 .green {
    color: var(--green-lighter);
}

#body .container.community h1 .blue {
    color: var(--blue-light);
}

#body .container.community h2 {
    font-size: 18px;
    color: var(--green-light);
}

#body .container.community p {
    font-size: 18px;
    font-weight: 400;
}

/* Footer Styles */
#footer {
    background-color: var(--blue);
    color: var(--blue-light);
    padding: 20px 0;
    margin-top: 50px;
}

#footer .copyright {
    margin: 0;
    font-size: 14px;
    color: var(--white);
    text-align: center;
}

/* Contacts Page Styles */
.contacts-page {
    padding: 120px 0 80px 0;
    min-height: 80vh;
    background-color: #ffffff;
}

.contacts-page .page-title {
    font-size: 48px;
    color: var(--blue);
    text-align: center;
    margin-bottom: 80px;
    font-weight: 300;
    letter-spacing: -0.5px;
}

.team-members {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.team-card {
    background-color: #f5f5f5;
    border-radius: 12px;
    padding: 40px;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid #e8e8e8;
}

.team-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.team-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background-color: var(--blue);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 30px;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 144, 165, 0.2);
}

.team-avatar i {
    font-size: 36px;
    color: #ffffff;
}

.team-info {
    flex-grow: 1;
}

.team-name {
    font-size: 28px;
    color: #333333;
    margin-bottom: 20px;
    font-weight: 600;
    letter-spacing: -0.3px;
}

.team-contact {
    font-size: 17px;
    color: #666666;
    line-height: 1.8;
    margin: 0;
}

.contact-label {
    font-weight: 500;
    color: #999999;
    margin-right: 8px;
}

.contact-value {
    color: var(--blue);
    font-weight: 500;
}

.contact-email {
    color: #666666;
    font-weight: 500;
}


/* Responsive adjustments */
@media (max-width: 767px) {
    .navbar-brand img {
        height: 35px;
        max-height: 35px;
    }
    
    .navbar-brand {
        height: 45px;
        padding: 5px 10px;
    }
    
    .navbar-nav li a {
        padding: 12px 15px;
        font-size: 14px;
    }
    #body .container.landing {
        height: auto;
        padding: 50px 20px;
        text-align: center;
    }
    
    #body .container.landing .slogan h1 {
        font-size: 32px;
    }
    
    #body .container.landing .slogan .description {
        width: 100%;
    }
    
    #body .container.project {
        padding: 50px 20px;
        text-align: center;
    }
    
    #body .container.project .how h1 {
        font-size: 32px;
    }
    
    #body .container.project .how p {
        width: 100%;
    }
    
    #body .container.testimonial.first {
        height: auto;
        padding: 50px 20px;
    }
    
    #body .container.testimonial.first .quote {
        padding-top: 20px;
        padding-right: 0;
    }
    
    #body .container.join {
        padding: 50px 20px;
    }
    
    #body .container.join .title h1 {
        font-size: 32px;
        margin-bottom: 40px;
    }
    
    #body .container.testimonial.other {
        padding: 50px 20px;
    }
    
    #body .container.testimonial.other .title h1 {
        font-size: 32px;
    }
    
    #body .container.community {
        padding: 50px 20px;
    }
    
    #body .container.community h1 {
        font-size: 32px;
    }
    
    #footer {
        padding: 15px 0;
        margin-top: 30px;
    }
    
    #footer .copyright {
        text-align: center;
        font-size: 12px;
    }
    
    .contacts-page {
        padding: 100px 20px 50px 20px;
    }
    
    .contacts-page .page-title {
        font-size: 36px;
        margin-bottom: 60px;
    }
    
    .team-members {
        padding: 0 10px;
    }
    
    .team-card {
        padding: 30px 20px;
        flex-direction: column;
        text-align: center;
        margin-bottom: 30px;
    }
    
    .team-avatar {
        margin-right: 0;
        margin-bottom: 25px;
        width: 80px;
        height: 80px;
    }
    
    .team-avatar i {
        font-size: 32px;
    }
    
    .team-name {
        font-size: 24px;
        margin-bottom: 15px;
    }
    
    .team-contact {
        font-size: 16px;
    }
}

/* Button styles */
.btn-default {
    background-color: #8DC63F;
    border-color: #8DC63F;
    color: var(--white);
    font-weight: bold;
    padding: 12px 24px;
    font-size: 16px;
}

.btn-default:hover {
    background-color: #7BB32E;
    border-color: #7BB32E;
    color: var(--white);
}

/* Embed responsive video */
.embed-responsive {
    position: relative;
    display: block;
    height: 0;
    padding: 0;
    overflow: hidden;
}

.embed-responsive.embed-responsive-4by3 {
    padding-bottom: 75%;
}

.embed-responsive-item {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
