:root {
    --deep-blue: #003366;
    --sky-blue: #87CEEB;
    --light-green: #90EE90;
    --white: #FFFFFF;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--white);
    color: #333;
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header Styles */
header {
    background: linear-gradient(to right, var(--sky-blue), var(--light-green));
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 60px;
    margin-right: 10px;
}

.logo h1 {
    font-size: 1.8rem;
    color: var(--deep-blue);
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    text-decoration: none;
    color: var(--deep-blue);
    font-weight: 600;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #001a33;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(135, 206, 235, 0.8), rgba(144, 238, 144, 0.8)), url('https://images.unsplash.com/photo-1548839140-29a749e1cf4d?ixlib=rb-4.0.3&auto=format&fit=crop&w=1200&q=80');
    background-size: cover;
    background-position: center;
    height: 500px;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--deep-blue);
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.btn {
    display: inline-block;
    background-color: var(--deep-blue);
    color: white;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #001a33;
}

/* Products Section */
.products {
    padding: 80px 0;
    text-align: center;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 50px;
    color: var(--deep-blue);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background-color: var(--sky-blue);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.product-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.product-card:hover {
    transform: translateY(-10px);
}

.product-img {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.product-info {
    padding: 20px;
}

.product-info h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--deep-blue);
}

.product-info p {
    margin-bottom: 15px;
    color: #666;
}

.price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--deep-blue);
    margin-bottom: 15px;
}

/* Order Form */
.order-form {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--deep-blue);
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-row .form-group {
    flex: 1;
}

/* Community Section */
.community {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.community-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.community-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.community-img {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.community-info {
    padding: 20px;
}

.community-info h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--deep-blue);
}

/* Footer */
footer {
    background-color: var(--deep-blue);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    position: relative;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--sky-blue);
}

.footer-section p {
    margin-bottom: 15px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: background-color 0.3s;
}

.social-links a:hover {
    background-color: var(--sky-blue);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
    }
    
    nav ul {
        margin-top: 15px;
    }
    
    .hero h2 {
        font-size: 2rem;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
}
/* Enhanced Reviews Styles with Images */
.reviewer-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #ddd;
    margin-right: 15px;
    background-size: cover;
    background-position: center;
    border: 3px solid var(--sky-blue);
}

.review-card {
    background-color: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.review-text {
    font-style: italic;
    margin-bottom: 15px;
    line-height: 1.6;
}

.reviewer {
    display: flex;
    align-items: center;
}

.reviewer-info h4 {
    color: var(--deep-blue);
    margin-bottom: 5px;
}

.reviewer-info p {
    color: #666;
    font-size: 0.9rem;
}

/* Image Upload Styles */
.image-upload-container {
    margin-bottom: 20px;
}

.image-upload-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--deep-blue);
}

.image-upload-box {
    border: 2px dashed #ddd;
    border-radius: 5px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.3s;
}

.image-upload-box:hover {
    border-color: var(--sky-blue);
}

.image-upload-box i {
    font-size: 2rem;
    color: var(--sky-blue);
    margin-bottom: 10px;
}

.image-upload-text {
    color: #666;
    margin-bottom: 10px;
}

.upload-btn {
    background: var(--sky-blue);
    color: var(--deep-blue);
    border: none;
    padding: 8px 16px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s;
}

.upload-btn:hover {
    background: var(--light-green);
}

#reviewImage {
    display: none;
}

.image-preview {
    margin-top: 15px;
    text-align: center;
    display: none;
}

.image-preview img {
    max-width: 100px;
    max-height: 100px;
    border-radius: 50%;
    border: 3px solid var(--sky-blue);
}

/* Review Grid Layout */
.review-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

/* Review Form Enhancements */
.review-form {
    margin-top: 50px;
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.review-form h3 {
    color: var(--deep-blue);
    margin-bottom: 20px;
    text-align: center;
}

/* Responsive Design for Reviews */
@media (max-width: 768px) {
    .review-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .reviewer {
        flex-direction: column;
        text-align: center;
    }
    
    .reviewer-img {
        margin-right: 0;
        margin-bottom: 10px;
    }
    
    .review-card {
        padding: 20px;
    }
}
/* Enhanced Community Section Styles */
.community-category {
    margin-bottom: 60px;
}

.category-title {
    color: var(--deep-blue);
    font-size: 1.8rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.category-title i {
    color: var(--sky-blue);
}

.category-description {
    color: #666;
    margin-bottom: 30px;
    font-size: 1.1rem;
    max-width: 600px;
}

.community-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.community-card {
    background-color: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
}

.community-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.community-img-container {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.community-img {
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.3s;
}

.community-card:hover .community-img {
    transform: scale(1.1);
}

.community-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--light-green);
    color: var(--deep-blue);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.community-info {
    padding: 25px;
}

.community-info h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
    color: var(--deep-blue);
    line-height: 1.3;
}

.community-info p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.community-quote {
    background: linear-gradient(135deg, var(--sky-blue), var(--light-green));
    padding: 15px;
    border-radius: 10px;
    font-style: italic;
    color: var(--deep-blue);
    border-left: 4px solid var(--deep-blue);
}

/* Impact Statistics */
.impact-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 60px;
    padding: 40px;
    background: linear-gradient(135deg, var(--deep-blue), #001a33);
    border-radius: 15px;
    color: white;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--light-green);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Community Section Animations */
.community-card {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design for Community Section */
@media (max-width: 768px) {
    .community-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .category-title {
        font-size: 1.5rem;
    }
    
    .impact-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        padding: 20px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .community-img-container {
        height: 200px;
    }
}