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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #1F2937;
    background-color: #FFFFFF;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 16px;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 16px;
}

ul, ol {
    margin-bottom: 16px;
    padding-left: 24px;
}

li {
    margin-bottom: 8px;
    line-height: 1.6;
}

a {
    color: #1E40AF;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #0D9488;
}

/* Header */
.header {
    padding: 60px 0;
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 50%, #334155 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.header::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"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.header .container {
    position: relative;
    z-index: 2;
}

.brand {
    display: inline-block;
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 12px;
}

.logo {
    width: 56px;
    height: 56px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.brand-name {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.brand-tagline {
    font-size: 1.25rem;
    color: #94A3B8;
    margin: 0;
    text-align: center;
    font-weight: 400;
}

/* Main Content */
.main-content {
    padding: 100px 0;
    background: linear-gradient(135deg, #F8FAFC 0%, #F1F5F9 100%);
    min-height: 60vh;
}

.page-header {
    text-align: center;
    margin-bottom: 80px;
    padding: 60px 0;
    background: white;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    border: 1px solid #E5E7EB;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.02) 0%, rgba(13, 148, 136, 0.02) 100%);
}

.page-header > * {
    position: relative;
    z-index: 2;
}

.page-header h1 {
    font-size: 3.5rem;
    color: #1F2937;
    margin-bottom: 20px;
    font-weight: 700;
    background: linear-gradient(135deg, #1E40AF 0%, #0D9488 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-header p {
    font-size: 1.25rem;
    color: #6B7280;
    margin: 0;
    font-weight: 500;
}

/* Hero Image Section */
.page-hero {
    margin-bottom: 60px;
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.15);
}

.page-hero img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

.hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 40px;
    color: white;
}

.hero-overlay h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 12px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-overlay p {
    font-size: 1.25rem;
    opacity: 0.95;
    margin: 0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* Content Sections */
.content-section {
    margin-bottom: 60px;
    background: white;
    border-radius: 20px;
    padding: 48px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid #E5E7EB;
    position: relative;
    overflow: hidden;
}

.content-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(135deg, #1E40AF 0%, #0D9488 100%);
}

.content-section:not(:last-child) {
    border-bottom: none;
}

.content-section h2 {
    color: #1F2937;
    margin-bottom: 32px;
    font-size: 2.25rem;
    font-weight: 700;
    position: relative;
    padding-left: 24px;
}

.content-section h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 40px;
    background: linear-gradient(135deg, #1E40AF 0%, #0D9488 100%);
    border-radius: 2px;
}

.content-section h3 {
    color: #374151;
    margin-bottom: 20px;
    margin-top: 32px;
    font-size: 1.5rem;
    font-weight: 600;
}

.content-section p {
    color: #4B5563;
    margin-bottom: 20px;
    line-height: 1.7;
    font-size: 1.0625rem;
}

.content-section ul, .content-section ol {
    color: #4B5563;
    margin-bottom: 24px;
}

.content-section li {
    margin-bottom: 12px;
    line-height: 1.6;
    font-size: 1.0625rem;
}

.content-section strong {
    color: #1F2937;
    font-weight: 600;
}

/* Section Images */
.section-image {
    margin: 40px 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
    position: relative;
}

.section-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.section-image:hover img {
    transform: scale(1.02);
}

.image-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 24px;
    color: white;
}

.image-caption h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 8px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.image-caption p {
    font-size: 1rem;
    opacity: 0.9;
    margin: 0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* Features Grid (About Page) */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    margin-top: 40px;
}

.feature-item {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    border: 1px solid #E5E7EB;
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.feature-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.feature-item:hover .feature-image img {
    transform: scale(1.05);
}

.feature-content {
    padding: 32px;
}

.feature-item h3 {
    color: #1F2937;
    margin-bottom: 16px;
    font-size: 1.375rem;
    font-weight: 600;
}

.feature-item p {
    color: #6B7280;
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
}

/* Approach List */
.approach-list {
    background: linear-gradient(135deg, #F8FAFC 0%, #F1F5F9 100%);
    padding: 32px;
    border-radius: 16px;
    border: 1px solid #E5E7EB;
    margin-top: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
}

.approach-list li {
    color: #374151;
    font-weight: 500;
    font-size: 1.0625rem;
    padding: 8px 0;
    border-bottom: 1px solid rgba(229, 231, 235, 0.5);
}

.approach-list li:last-child {
    border-bottom: none;
}

.approach-list li::marker {
    color: #1E40AF;
}

/* Contact Info */
.contact-info {
    background: linear-gradient(135deg, #F8FAFC 0%, #F1F5F9 100%);
    padding: 32px;
    border-radius: 16px;
    border: 1px solid #E5E7EB;
    margin-top: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
}

.contact-info p {
    margin-bottom: 16px;
    color: #374151;
    font-size: 1.0625rem;
}

.contact-info p:last-child {
    margin-bottom: 0;
}

.contact-info strong {
    color: #1F2937;
    font-weight: 600;
}

.contact-info a {
    color: #1E40AF;
    font-weight: 500;
    transition: all 0.3s ease;
}

.contact-info a:hover {
    color: #0D9488;
    text-decoration: underline;
}

/* CTA Section */
.cta-section {
    text-align: center;
    background: linear-gradient(135deg, #1E40AF 0%, #0D9488 100%);
    padding: 60px 48px;
    border-radius: 20px;
    border: none;
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-section::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"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.cta-section > * {
    position: relative;
    z-index: 2;
}

.cta-section h2 {
    color: white;
    margin-bottom: 20px;
    font-size: 2.5rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.cta-section p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    margin-bottom: 40px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Buttons */
.btn-primary {
    display: inline-block;
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 1rem;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
    color: white;
    border-color: rgba(255, 255, 255, 0.5);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
    color: white;
    padding: 100px 0 40px;
    position: relative;
    overflow: hidden;
}

.footer::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"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 80px;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

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

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

.footer-description {
    color: #94A3B8;
    line-height: 1.6;
    margin: 0;
    font-size: 1.125rem;
}

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

.footer-column h4 {
    color: white;
    margin-bottom: 24px;
    font-size: 1.25rem;
    font-weight: 600;
}

.footer-column a {
    display: block;
    color: #94A3B8;
    margin-bottom: 16px;
    transition: color 0.3s ease;
    font-size: 1rem;
}

.footer-column a:hover {
    color: white;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 40px;
    border-top: 1px solid #334155;
    flex-wrap: wrap;
    gap: 20px;
    position: relative;
    z-index: 2;
}

.footer-bottom p {
    color: #94A3B8;
    margin: 0;
    font-size: 1rem;
}

.footer-legal {
    display: flex;
    gap: 32px;
}

.footer-legal a {
    color: #94A3B8;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: white;
}

/* Content Enhancement Sections */
.content-highlight {
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.05) 0%, rgba(13, 148, 136, 0.05) 100%);
    padding: 32px;
    border-radius: 16px;
    border-left: 4px solid #1E40AF;
    margin: 32px 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
}

.content-highlight h3 {
    color: #1E40AF;
    margin-bottom: 16px;
    font-weight: 600;
}

.content-highlight p {
    color: #374151;
    margin: 0;
    font-size: 1.0625rem;
    line-height: 1.6;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    margin: 40px 0;
}

.stat-card {
    background: white;
    padding: 32px 24px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    border: 1px solid #E5E7EB;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.12);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1E40AF;
    display: block;
    margin-bottom: 8px;
}

.stat-label {
    color: #6B7280;
    font-weight: 500;
    font-size: 1rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        padding: 0 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .main-content {
        padding: 80px 0;
    }
    
    .header {
        padding: 40px 0;
    }
    
    .page-header {
        margin-bottom: 60px;
        padding: 40px 24px;
    }
    
    .page-header h1 {
        font-size: 2.5rem;
    }
    
    .content-section {
        margin-bottom: 40px;
        padding: 32px 24px;
    }
    
    .content-section h2 {
        font-size: 1.875rem;
    }
    
    .hero-overlay {
        padding: 24px;
    }
    
    .hero-overlay h2 {
        font-size: 2rem;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
    
    .cta-section {
        padding: 40px 24px;
    }
    
    .cta-section h2 {
        font-size: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.375rem; }
    
    .page-header h1 {
        font-size: 2.25rem;
    }
    
    .brand-name {
        font-size: 2rem;
    }
    
    .brand-tagline {
        font-size: 1.125rem;
    }
    
    .logo-container {
        gap: 12px;
    }
    
    .content-section h2 {
        font-size: 1.625rem;
    }
    
    .approach-list,
    .contact-info,
    .content-highlight {
        padding: 24px;
    }
    
    .page-hero img {
        height: 250px;
    }
    
    .section-image img {
        height: 200px;
    }
    
    .hero-overlay {
        padding: 20px;
    }
    
    .hero-overlay h2 {
        font-size: 1.75rem;
    }
    
    .feature-content {
        padding: 24px;
    }
    
    .stat-card {
        padding: 24px 16px;
    }
}

/* Loading states */
img {
    transition: opacity 0.3s ease;
}

img[loading="lazy"] {
    opacity: 0;
}

img[loading="lazy"].loaded {
    opacity: 1;
}

/* Focus states for accessibility */
button:focus,
a:focus {
    outline: 2px solid #1E40AF;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .header {
        background: #000000;
    }
    
    .main-content {
        background: #f5f5f5;
    }
    
    .btn-primary {
        background: #000000;
        border: 2px solid #000000;
        color: #ffffff;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    * {
        transition: none !important;
        animation: none !important;
    }
}

/* Print styles */
@media print {
    .header,
    .footer,
    .cta-section {
        background: white !important;
        color: black !important;
    }
    
    .page-hero,
    .section-image,
    .feature-image {
        break-inside: avoid;
    }
    
    .content-section {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ccc;
    }
}