/* Global styles */
:root {
    --primary-color: #2a7d8c; /* Blue */
    --secondary-color: #4a8963; /* Green */
    --tertiary-color: #c9775f; /* Terracotta */
    --accent-color-1: #e3b23c; /* Warm yellow */
    --accent-color-2: #9b4dca; /* Purple */
    --light-color: #f8faf9;
    --dark-color: #2c3e50;
    --container-width: 1200px;
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --hover-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    --border-radius: 16px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.7;
    color: var(--dark-color);
    background-color: var(--light-color);
    font-size: 16px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2.2rem; }
h3 { font-size: 1.4rem; }

p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--tertiary-color), #d4845f);
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: var(--card-shadow);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--hover-shadow);
    background: linear-gradient(135deg, #d4845f, var(--tertiary-color));
}

section {
    padding: 6rem 0;
    position: relative;
}

section h2 {
    text-align: center;
    margin-bottom: 4rem;
    color: var(--primary-color);
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
    padding-bottom: 1rem;
}

section h2:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--accent-color-1), var(--tertiary-color));
    border-radius: 2px;
}

/* Header */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(74, 137, 99, 0.1);
    transition: all 0.3s ease;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 0;
    font-weight: 700;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

nav a {
    text-decoration: none;
    color: var(--dark-color);
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 25px;
}

nav a:hover {
    color: var(--secondary-color);
    background: rgba(74, 137, 99, 0.1);
}

/* Hero section */
.hero {
    background: linear-gradient(135deg, rgba(42, 125, 140, 0.8), rgba(74, 137, 99, 0.8)), url('images/group-picture.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    text-align: center;
    padding: 12rem 0 8rem 0;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="white" opacity="0.1"/><circle cx="80" cy="40" r="1" fill="white" opacity="0.1"/><circle cx="40" cy="80" r="1.5" fill="white" opacity="0.1"/></svg>');
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    z-index: 2;
    position: relative;
}

.hero h2 {
    font-size: 3.5rem;
    margin-bottom: 2rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    opacity: 0.95;
    line-height: 1.6;
}

/* Project/Story section */
.project {
    background: white;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.project-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.text-content p {
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: var(--dark-color);
}

.image-content img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
}

.image-content img:hover {
    transform: scale(1.02);
    box-shadow: var(--hover-shadow);
}

/* Team section - Completely redesigned! */
.team {
    background: linear-gradient(135deg, #f8faf9 0%, #e8f1ec 50%, #f4f7f5 100%);
    position: relative;
    overflow: hidden;
    padding: 8rem 0;
}

.team:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="%234a8963" opacity="0.05"/><circle cx="80" cy="60" r="1.5" fill="%232a7d8c" opacity="0.08"/><circle cx="40" cy="80" r="2" fill="%234a8963" opacity="0.04"/><circle cx="70" cy="30" r="1" fill="%232a7d8c" opacity="0.06"/></svg>');
    animation: float 35s ease-in-out infinite;
}

.team > p {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 6rem auto;
    font-size: 1.3rem;
    color: var(--dark-color);
    line-height: 1.8;
}

.team-members {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 1.5rem;
    margin-top: 4rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    flex-wrap: nowrap;
}

.member {
    background: white;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    width: 280px;
    flex-shrink: 0;
    padding: 0;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.member:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.member-photo {
    width: 100%;
    height: 220px;
    overflow: hidden;
    position: relative;
    border-radius: 20px 20px 0 0;
}

.member img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    transition: all 0.4s ease;
    border-radius: 0 !important;
    border: none !important;
    margin-bottom: 0 !important;
}

.member:hover img {
    transform: scale(1.05);
}

.member-info {
    padding: 2rem 1.5rem;
}

.member h3 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.member-role {
    color: var(--secondary-color);
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

.member p {
    color: var(--dark-color);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0;
    opacity: 0.8;
}

/* Individual accent colors */
.member:nth-child(1) .member-role {
    color: #4a8963;
}

.member:nth-child(1):hover {
    border-left: 4px solid #4a8963;
}

.member:nth-child(2) .member-role {
    color: #c9775f;
}

.member:nth-child(2):hover {
    border-left: 4px solid #c9775f;
}

.member:nth-child(3) .member-role {
    color: #9b4dca;
}

.member:nth-child(3):hover {
    border-left: 4px solid #9b4dca;
}

.member:nth-child(4) .member-role {
    color: #e3b23c;
}

.member:nth-child(4):hover {
    border-left: 4px solid #e3b23c;
}

/* Dreams/CPO section - Much more colorful! */
.dreams {
    background: linear-gradient(135deg, #4a8963 0%, #2a7d8c 50%, #c9775f 100%);
    position: relative;
    overflow: hidden;
    padding: 8rem 0;
}

.dreams:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="3" fill="white" opacity="0.1"/><circle cx="80" cy="60" r="2" fill="white" opacity="0.15"/><circle cx="40" cy="80" r="2.5" fill="white" opacity="0.08"/><circle cx="70" cy="30" r="1.5" fill="white" opacity="0.12"/></svg>');
    animation: float 25s ease-in-out infinite;
}

.dreams-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 4rem;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.dreams h2 {
    color: white !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    margin-bottom: 3rem;
}

.dreams h2:after {
    background: linear-gradient(to right, white, rgba(255, 255, 255, 0.8));
}

.dream-text p {
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: var(--dark-color);
}

.dream-text p strong {
    color: var(--primary-color);
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.dream-text p:first-of-type:first-letter {
    color: var(--secondary-color);
    float: left;
    font-size: 4.5rem;
    line-height: 1;
    padding-right: 20px;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    text-shadow: 3px 3px 6px rgba(74, 137, 99, 0.3);
}

/* Contact section - More calm and subtle */
.contact {
    background: linear-gradient(135deg, #f8faf9 0%, #e8f1ec 50%, #f4f7f5 100%);
    position: relative;
    overflow: hidden;
    padding: 8rem 0;
}

.contact:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="%234a8963" opacity="0.05"/><circle cx="80" cy="60" r="1.5" fill="%232a7d8c" opacity="0.08"/><circle cx="40" cy="80" r="2" fill="%234a8963" opacity="0.04"/><circle cx="70" cy="30" r="1" fill="%232a7d8c" opacity="0.06"/></svg>');
    animation: float 35s ease-in-out infinite;
}

.contact h2 {
    color: var(--primary-color) !important;
    text-shadow: none;
    margin-bottom: 3rem;
}

.contact h2:after {
    background: linear-gradient(to right, var(--secondary-color), var(--primary-color));
}

.contact > p {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem auto;
    font-size: 1.3rem;
    color: var(--dark-color);
    text-shadow: none;
    line-height: 1.8;
}

.contact-info {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2;
}

.email-card {
    background: white;
    padding: 4rem 3rem;
    border-radius: 24px;
    box-shadow: 0 15px 40px rgba(74, 137, 99, 0.15);
    text-align: center;
    max-width: 500px;
    width: 100%;
    border: 1px solid rgba(74, 137, 99, 0.1);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.email-card:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
}

.email-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(74, 137, 99, 0.25);
    border-color: rgba(74, 137, 99, 0.2);
}

.email-card h3 {
    color: var(--primary-color);
    font-size: 1.6rem;
    margin-bottom: 2rem;
    font-weight: 700;
}

.email-link {
    display: inline-block;
    font-size: 1.4rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: white;
    text-decoration: none;
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    transition: all 0.4s ease;
    margin-bottom: 1.5rem;
    border: none;
    box-shadow: 0 8px 25px rgba(74, 137, 99, 0.3);
    text-shadow: none;
}

.email-link:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(74, 137, 99, 0.4);
}

.email-card p {
    color: var(--dark-color);
    font-size: 1rem;
    margin: 0;
    opacity: 0.7;
    font-style: italic;
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 3rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

footer:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></svg>');
    opacity: 0.3;
}

footer .container {
    position: relative;
    z-index: 1;
}

footer p {
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

/* Responsive design */
@media (max-width: 1300px) {
    .team-members {
        gap: 1rem;
        max-width: 1200px;
    }
    
    .member {
        width: 260px;
    }
    
    .member-photo {
        height: 200px;
    }
    
    .member-info {
        padding: 1.8rem 1.3rem;
    }
}

@media (max-width: 1100px) {
    .team-members {
        gap: 0.8rem;
        max-width: 1000px;
    }
    
    .member {
        width: 240px;
    }
    
    .member-photo {
        height: 180px;
    }
    
    .member-info {
        padding: 1.6rem 1.2rem;
    }
    
    .member h3 {
        font-size: 1.3rem;
    }
    
    .member p {
        font-size: 0.9rem;
    }
}

@media (max-width: 950px) {
    .team-members {
        flex-wrap: wrap;
        gap: 2rem;
        justify-content: center;
    }
    
    .member {
        width: 300px;
    }
    
    .member-photo {
        height: 220px;
    }
    
    .member-info {
        padding: 2rem 1.5rem;
    }
    
    .member h3 {
        font-size: 1.4rem;
    }
    
    .member p {
        font-size: 0.95rem;
    }
}

@media (max-width: 768px) {
    .hero h2 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    header .container {
        flex-direction: column;
        gap: 1rem;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
    
    .project-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .team-members {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
        max-width: 350px;
    }
    
    .member {
        width: 100%;
        max-width: 350px;
    }
    
    .member-photo {
        height: 250px;
    }
    
    .member-info {
        padding: 2rem 1.5rem;
    }
    
    .dreams-content {
        padding: 3rem 2rem;
        margin: 0 1rem;
        border-radius: 20px;
    }
    
    .email-card {
        padding: 3rem 2rem;
        margin: 0 1rem;
        border-radius: 20px;
    }
    
    section {
        padding: 4rem 0;
    }
    
    .dreams {
        padding: 6rem 0;
    }
    
    .contact {
        padding: 6rem 0;
    }
    
    .hero {
        padding: 8rem 0 6rem 0;
    }
}

@media (max-width: 480px) {
    .hero h2 {
        font-size: 2rem;
    }
    
    section h2 {
        font-size: 2rem;
    }
    
    .team-members {
        gap: 1.5rem;
        max-width: 300px;
    }
    
    .member {
        width: 100%;
    }
    
    .member-photo {
        height: 220px;
    }
    
    .member-info {
        padding: 1.5rem 1.2rem;
    }
    
    .member h3 {
        font-size: 1.2rem;
    }
    
    .member p {
        font-size: 0.9rem;
    }
} 