body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #fff6f0; /* light tomato background */
    color: #2e2e2e;
    margin: 0;
    padding: 0;
}

header {
    background-color: transparent; /* Change from ripe tomato red */
    color: white;
    padding: 20px;
    text-align: center;
}

nav a {
    margin: 0 15px;
    color: #006400; /* Dark Green */
    text-decoration: none;
    font-weight: bold;
}

nav a:hover {
    color: #008000; /* Lighter Green */
    text-decoration: underline;
}

section {
    padding: 20px;
    text-align: center; /* Center the content */
    max-width: 800px; /* Limit the width */
    margin: 2rem auto; /* Center horizontally and add some vertical margin */
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.4), rgba(248, 248, 248, 0.4));
    border-radius: 12px;
    box-shadow: 8px 8px 16px rgba(0, 0, 0, 0.1),
               -4px -4px 8px rgba(255, 255, 255, 0.4);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(3px);
}

section:hover {
    box-shadow: 12px 12px 24px rgba(0, 0, 0, 0.15),
               -6px -6px 12px rgba(255, 255, 255, 0.4);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.6), rgba(248, 248, 248, 0.6));
}

.team-member {
    background-color: #f9e0d9; /* light tomato pulp */
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 15px;
}

/* General Styles */
body {
    margin: 0;
    font-family: 'Quicksand', sans-serif;
    background: url('/static/images/tomato-bg.jpg') no-repeat center center fixed;
    background-size: cover;
    color: #2e2e2e;
}

.background {
    background-color: rgba(200, 255, 200, 0.4);
    padding: 2rem;
    border-radius: 10px;
    max-width: 960px;
    margin: 4rem auto;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
    backdrop-filter: blur(3px);
}

header, footer {
    text-align: center;
}

h1, h2, h3 {
    color: #800000; /* Darker red */
}

/* Button Styles */
.try-app-button {
    margin-top: 1rem;
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    font-weight: bold;
    color: white;
    background-color: rgba(204, 0, 0, 0.8);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.try-app-button:hover {
    background-color: rgba(162, 0, 0, 0.9);
}

/* Contact Page Styles */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    padding: 2rem 0;
    max-width: 800px;
    margin: 0 auto;
}

.contact-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.4), rgba(248, 248, 248, 0.4));
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 8px 8px 16px rgba(0, 0, 0, 0.1),
               -4px -4px 8px rgba(255, 255, 255, 0.4);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(3px);
}

.contact-card:hover {
    box-shadow: 12px 12px 24px rgba(0, 0, 0, 0.15),
               -6px -6px 12px rgba(255, 255, 255, 0.4);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.6), rgba(248, 248, 248, 0.6));
}

.contact-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: inline-block;
    position: relative;
}

.contact-card:nth-child(1) .contact-icon {
    color: #cc0000;
}

.contact-card:nth-child(2) .contact-icon {
    color: #2e7d32;
}

form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

input, textarea {
    padding: 0.8rem;
    border: 1px solid rgba(204, 204, 204, 0.4);
    border-radius: 5px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(3px);
}

button {
    padding: 0.5rem 1rem;
    background-color: rgba(204, 0, 0, 0.8);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    width: fit-content;
    margin: 0 auto;
}

button:hover {
    background-color: rgba(162, 0, 0, 0.9);
}

/* About Page Styles */
.content-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    padding: 2rem 0;
    max-width: 800px;
    margin: 0 auto;
}

.content-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.4), rgba(248, 248, 248, 0.4));
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 8px 8px 16px rgba(0, 0, 0, 0.1),
               -4px -4px 8px rgba(255, 255, 255, 0.4);
    transition: box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(3px);
}

.content-card:hover {
    box-shadow: 12px 12px 24px rgba(0, 0, 0, 0.15),
               -6px -6px 12px rgba(255, 255, 255, 0.4);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.6), rgba(248, 248, 248, 0.6));
}

.content-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: inline-block;
    position: relative;
}

/* Different colors for each icon */
.content-card:nth-child(1) .content-icon {
    color: #cc0000; /* Tomato red */
}

.content-card:nth-child(2) .content-icon {
    color: #2e7d32; /* Leaf green */
}

.content-card:nth-child(3) .content-icon {
    color: #ff6f00; /* Orange */
}

.content-card:nth-child(4) .content-icon {
    color: #4a148c; /* Purple */
}

.content-card h3 {
    margin: 0.5rem 0;
    font-size: 1.3rem;
    color: #333;
}

.content-card p {
    color: #666;
    line-height: 1.6;
    font-size: 1rem;
}

/* Mission Section */
.mission-section {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.4), rgba(248, 248, 248, 0.4));
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem auto;
    text-align: center;
    box-shadow: 8px 8px 16px rgba(0, 0, 0, 0.1),
               -4px -4px 8px rgba(255, 255, 255, 0.4);
    position: relative;
    overflow: hidden;
    max-width: 800px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(3px);
}

.mission-section:hover {
    box-shadow: 12px 12px 24px rgba(0, 0, 0, 0.15),
               -6px -6px 12px rgba(255, 255, 255, 0.4);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.6), rgba(248, 248, 248, 0.6));
}

.mission-section h2 {
    margin-bottom: 1rem;
    font-size: 2rem;
    color: #cc0000;
    position: relative;
    display: inline-block;
}

.mission-section h2::after {
    content: '';
    position: absolute;
    width: 50%;
    height: 3px;
    background: linear-gradient(90deg, #cc0000, #2e7d32);
    bottom: -8px;
    left: 25%;
    border-radius: 3px;
}

.mission-section p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #555;
    max-width: 700px;
    margin: 0 auto;
}

/* Team Page Styles */
.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    padding: 2rem 0;
    max-width: 800px;
    margin: 0 auto;
}

.team-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.4), rgba(248, 248, 248, 0.4));
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 8px 8px 16px rgba(0, 0, 0, 0.1),
               -4px -4px 8px rgba(255, 255, 255, 0.4);
    transition: box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    backdrop-filter: blur(3px);
}

.team-card:hover {
    box-shadow: 12px 12px 24px rgba(0, 0, 0, 0.15),
               -6px -6px 12px rgba(255, 255, 255, 0.4);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.6), rgba(248, 248, 248, 0.6));
}

.team-avatar {
    width: 100px;
    height: 100px;
    margin: 0 auto 1rem;
    position: relative;
    border-radius: 50%;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.4), rgba(248, 248, 248, 0.4));
    box-shadow: 8px 8px 16px rgba(0, 0, 0, 0.1),
               -4px -4px 8px rgba(255, 255, 255, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(3px);
}

.team-avatar i {
    font-size: 2.5rem;
}

/* Different colors for each avatar */
.team-card:nth-child(1) .team-avatar i {
    color: #cc0000; /* Tomato red */
}

.team-card:nth-child(2) .team-avatar i {
    color: #2e7d32; /* Leaf green */
}

.team-card:nth-child(3) .team-avatar i {
    color: #ff6f00; /* Orange */
}

.team-card:nth-child(4) .team-avatar i {
    color: #4a148c; /* Purple */
}

.team-info h3 {
    margin: 0.5rem 0;
    font-size: 1.3rem;
    color: #333;
}

.team-info p {
    color: #666;
    line-height: 1.6;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.team-social a {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.4), rgba(248, 248, 248, 0.4));
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.1),
               -3px -3px 6px rgba(255, 255, 255, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(3px);
}

.team-social a i {
    font-size: 1rem;
}

/* Different colors for social icons based on card */
.team-card:nth-child(1) .team-social a {
    color: #cc0000;
}

.team-card:nth-child(2) .team-social a {
    color: #2e7d32;
}

.team-card:nth-child(3) .team-social a {
    color: #ff6f00;
}

.team-card:nth-child(4) .team-social a {
    color: #4a148c;
}

/* Different hover colors for social icons */
.team-card:nth-child(1) .team-social a:hover {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.6), rgba(248, 248, 248, 0.6));
}

.team-card:nth-child(2) .team-social a:hover {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.6), rgba(248, 248, 248, 0.6));
}

.team-card:nth-child(3) .team-social a:hover {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.6), rgba(248, 248, 248, 0.6));
}

.team-card:nth-child(4) .team-social a:hover {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.6), rgba(248, 248, 248, 0.6));
}

/* Notification Styles */
.notification {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    opacity: 0;
    visibility: hidden;
    animation: notificationIn 0.5s ease forwards, notificationOut 0.5s ease forwards 2s;
    backdrop-filter: blur(8px);
    z-index: 1000;
}

.notification.success {
    background: rgba(46, 125, 50, 0.9);
    box-shadow: 0 0 20px rgba(46, 125, 50, 0.4);
}

.notification.error {
    background: rgba(198, 40, 40, 0.9);
    box-shadow: 0 0 20px rgba(198, 40, 40, 0.4);
}

@keyframes notificationIn {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.5);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

@keyframes notificationOut {
    from {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
    to {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.5);
    }
}

/* Remove old flash messages styling */
.flash-messages {
    display: none;
}
