/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #2C3E50;
    background-color: #ffffff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.brand-name {
    font-size: 24px;
    font-weight: 700;
    color: #2C3E50;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: #2C3E50;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: #FF6B6B;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #FF6B6B 0%, #26D0CE 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.hero h1 {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero p {
    font-size: 20px;
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto;
}

/* Content Sections */
.content-section {
    padding: 80px 0;
}

.content-section.alt-bg {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.content-section h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 30px;
    color: #2C3E50;
    text-align: center;
}

.content-section p {
    font-size: 18px;
    line-height: 1.8;
    color: #6c757d;
    margin-bottom: 25px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Values Grid (About Page) */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.value-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    border: 1px solid #e9ecef;
}

.value-card h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #2C3E50;
}

.value-card p {
    color: #6c757d;
    line-height: 1.6;
    margin: 0;
    font-size: 16px;
}

/* Legal Content */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 30px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.legal-content p {
    font-size: 16px;
    line-height: 1.8;
    color: #6c757d;
    margin: 0;
    margin-bottom: 20px;
}

.legal-content p:last-child {
    margin-bottom: 0;
}

/* Content with Image Layout */
.content-with-image {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-top: 40px;
}

.content-with-image.reverse {
    direction: rtl;
}

.content-with-image.reverse > * {
    direction: ltr;
}

.content-text h2 {
    text-align: left;
    margin-bottom: 25px;
}

.content-text p {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
}

.content-image {
    display: flex;
    justify-content: center;
}

.content-image .image-placeholder {
    width: 100%;
    max-width: 400px;
    height: 300px;
}

/* Value Cards Enhancement */
.value-icon {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

/* Impact Section */
.impact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.impact-item {
    text-align: center;
    padding: 30px 20px;
}

.impact-icon {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.impact-item h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #2C3E50;
}

.impact-item p {
    color: #6c757d;
    line-height: 1.6;
    margin: 0;
    font-size: 16px;
}

.legal-content h3 {
    font-size: 24px;
    font-weight: 600;
    color: #2C3E50;
    margin-bottom: 20px;
    margin-top: 40px;
}

.legal-content h3:first-child {
    margin-top: 0;
}

.legal-content ul {
    padding-left: 20px;
    margin: 20px 0;
}

.legal-content li {
    margin-bottom: 10px;
    color: #6c757d;
}

.content-image-file {
    width: 100%;
    max-width: 400px;
    height: 300px;
    object-fit: cover;
    border-radius: 15px;
}

/* Footer */
.footer {
    background: #2C3E50;
    color: white;
    padding: 60px 0 20px;
    margin-top: auto;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-brand .logo-container {
    margin-bottom: 20px;
}

.footer-brand .brand-name {
    color: white;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.footer-column h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #26D0CE;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 10px;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: #26D0CE;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
}

/* Responsive Design */
@media (max-width: 768px) {
    .content-with-image {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .content-with-image.reverse {
        direction: ltr;
    }
    
    .content-text h2 {
        text-align: center;
    }
    
    .content-text p {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }
    
    .header .container {
        flex-direction: column;
        gap: 20px;
    }
    
    .nav-links {
        gap: 20px;
    }
    
    .hero h1 {
        font-size: 36px;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    .content-section h2 {
        font-size: 28px;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .content-section {
        padding: 60px 0;
    }
    
    .legal-content {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .footer-links {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 28px;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    .content-section h2 {
        font-size: 24px;
    }
    
    .value-card {
        padding: 30px 20px;
    }
}