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

html {
    scroll-behavior: smooth;
}

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

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
    color: #1a365d;
}

h2 {
    font-size: 2rem;
    color: #1a365d;
}

h3 {
    font-size: 1.5rem;
    color: #000;
}

p {
    margin-bottom: 1rem;
    color: #4a5568;
}

.lead {
    font-size: 1.25rem;
    font-weight: 400;
    color: #000;
    margin-bottom: 2rem;
}

/* Buttons */
.btn-primary {
    display: inline-block;
    background-color: #3182ce;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #2c5aa0;
}

.btn-secondary {
    display: inline-block;
    background-color: transparent;
    color: #3182ce;
    padding: 12px 24px;
    border: 2px solid #3182ce;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: #3182ce;
    color: white;
}

.btn-link {
    background: none;
    border: none;
    color: #3182ce;
    text-decoration: underline;
    cursor: pointer;
    font-size: inherit;
}

.btn-link:hover {
    color: #2c5aa0;
}

/* Header */
.header {
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo {
    height: 40px;
    width: auto;
}

.brand-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a365d;
}

.nav {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: #4a5568;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #3182ce;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #000;
    color: white;
    padding: 1rem;
    z-index: 1001;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1002;
}

.cookie-modal-content {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    max-width: 500px;
    width: 90%;
}

.cookie-option {
    margin: 1rem 0;
}

.cookie-option label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.cookie-modal-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 120px 0 80px;
    margin-top: 60px;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text h1 {
    color: white;
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.hero-text p {
    color: rgba(255,255,255,0.9);
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

.hero-image img {
    width: 100%;
    height: auto;
}

/* Services Section */
.services {
    padding: 80px 0;
    background-color: #f7fafc;
}

.services h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
}

/* Features Section */
.features {
    padding: 80px 0;
}

.features h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    text-align: center;
    padding: 2rem;
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
}

/* About Preview Section */
.about-preview {
    padding: 80px 0;
    background-color: #f7fafc;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
}

.testimonials h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background-color: #f7fafc;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
}

.testimonial-card blockquote {
    font-style: italic;
    font-size: 1.125rem;
    margin-bottom: 1rem;
    color: #000;
}

.testimonial-card cite {
    font-weight: 600;
    color: #4a5568;
}

/* Subscription Section */
.subscription {
    padding: 80px 0;
    background-color: #000;
    color: white;
}

.subscription-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.subscription h2 {
    color: white;
    margin-bottom: 1rem;
}

.subscription p {
    color: rgba(255,255,255,0.9);
    margin-bottom: 2rem;
}

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

.form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #cbd5e0;
    border-radius: 6px;
    font-size: 1rem;
}

.form-group input:focus {
    outline: none;
    border-color: #3182ce;
    box-shadow: 0 0 0 3px rgba(49, 130, 206, 0.1);
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background-color: #f7fafc;
}

.contact h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.contact-item {
    text-align: center;
}

.contact-item h3 {
    margin-bottom: 0.5rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social-links a {
    color: #3182ce;
    text-decoration: none;
}

.social-links a:hover {
    text-decoration: underline;
}

/* Footer */
.footer {
    background-color: #000;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: white;
    margin-bottom: 1rem;
}

.footer-section p {
    color: rgba(255,255,255,0.8);
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
}

.footer-section ul li a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 1rem;
    text-align: center;
    color: rgba(255,255,255,0.8);
}

/* Page Hero */
.page-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 120px 0 80px;
    margin-top: 60px;
    text-align: center;
}

.page-hero h1 {
    color: white;
    margin-bottom: 1rem;
}

.page-hero p {
    color: rgba(255,255,255,0.9);
    font-size: 1.25rem;
}

/* About Page Styles */
.mission {
    padding: 80px 0;
}

.mission-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.history {
    padding: 80px 0;
    background-color: #f7fafc;
}

.timeline {
    max-width: 800px;
    margin: 0 auto;
}

.timeline-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    align-items: flex-start;
}

.timeline-year {
    background-color: #3182ce;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    flex-shrink: 0;
}

.timeline-content h3 {
    margin-bottom: 0.5rem;
}

.values {
    padding: 80px 0;
}

.values h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.value-card {
    text-align: center;
    padding: 2rem;
}

.value-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
}

.team {
    padding: 80px 0;
    background-color: #f7fafc;
}

.team h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.team-member {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
}

.team-member h3 {
    margin-bottom: 0.5rem;
}

.team-member .role {
    color: #3182ce;
    font-weight: 600;
    margin-bottom: 1rem;
}

.cta {
    padding: 80px 0;
    background-color: #3182ce;
    color: white;
    text-align: center;
}

.cta h2 {
    color: white;
    margin-bottom: 1rem;
}

.cta p {
    color: rgba(255,255,255,0.9);
    margin-bottom: 2rem;
}

/* Blog Styles */
.blog-articles {
    padding: 80px 0;
}

.articles-grid {
    display: grid;
    gap: 3rem;
    max-width: 800px;
    margin: 0 auto;
}

.article-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.article-card:hover {
    transform: translateY(-5px);
}

.article-image {
    padding: 2rem;
    background-color: #f7fafc;
    text-align: center;
}

.article-icon {
    width: 80px;
    height: 80px;
}

.article-content {
    padding: 2rem;
}

.article-content h2 a {
    color: #1a365d;
    text-decoration: none;
}

.article-content h2 a:hover {
    color: #3182ce;
}

.article-meta {
    color: #718096;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.read-more {
    color: #3182ce;
    text-decoration: none;
    font-weight: 500;
}

.read-more:hover {
    text-decoration: underline;
}

.newsletter {
    padding: 80px 0;
    background-color: #f7fafc;
    text-align: center;
}

.newsletter-content {
    max-width: 600px;
    margin: 0 auto;
}

/* Article Page Styles */
.article-header {
    background-color: #f7fafc;
    padding: 120px 0 40px;
    margin-top: 60px;
}

.breadcrumb {
    margin-bottom: 1rem;
}

.breadcrumb a {
    color: #3182ce;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.article-content {
    padding: 40px 0;
}

.article-image-header {
    text-align: center;
    margin-bottom: 3rem;
}

.article-main-image {
    width: 120px;
    height: 120px;
}

.article-text {
    max-width: 800px;
    margin: 0 auto;
}

.article-text h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.article-text h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.article-text ul, .article-text ol {
    margin-bottom: 1rem;
    padding-left: 2rem;
}

.article-text li {
    margin-bottom: 0.5rem;
}

.grammar-example {
    background-color: #f7fafc;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.test-structure {
    background-color: #f7fafc;
    padding: 2rem;
    border-radius: 8px;
    margin: 2rem 0;
}

.article-navigation {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e2e8f0;
}

.related-articles {
    padding: 60px 0;
    background-color: #f7fafc;
}

.related-articles h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.related-card {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
}

.related-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
}

.related-card h3 a {
    color: #1a365d;
    text-decoration: none;
}

.related-card h3 a:hover {
    color: #3182ce;
}

/* Thank You Page */
.thank-you {
    padding: 120px 0 80px;
    margin-top: 60px;
    text-align: center;
}

.thank-you-content {
    max-width: 800px;
    margin: 0 auto;
}

.thank-you-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 2rem;
}

.thank-you-details {
    margin: 3rem 0;
}

.next-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.step {
    background-color: #f7fafc;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
}

.step-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
}

.immediate-resources {
    margin: 3rem 0;
}

.resource-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.resource-card {
    background-color: #f7fafc;
    padding: 2rem;
    border-radius: 8px;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease;
    text-align: center;
}

.resource-card:hover {
    transform: translateY(-5px);
}

.resource-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
}

.contact-info {
    background-color: #f7fafc;
    padding: 2rem;
    border-radius: 8px;
    margin: 3rem auto;
}

.contact-methods {
    display: grid;
    gap: 1rem;
    margin-top: 1rem;
}

.contact-method {
    text-align: left;
}

.social-follow {
    margin: 3rem 0;
}

.social-link {
    display: inline-block;
    color: #3182ce;
    text-decoration: none;
    margin: 0 1rem;
}

.social-link:hover {
    text-decoration: underline;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 3rem;
}

/* Legal Pages */
.legal-header {
    background-color: #f7fafc;
    padding: 120px 0 40px;
    margin-top: 60px;
    text-align: center;
}

.last-updated {
    color: #718096;
    font-style: italic;
}

.legal-content {
    padding: 40px 0;
}

.legal-text {
    max-width: 800px;
    margin: 0 auto;
}

.legal-text h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.legal-text h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.legal-text h4 {
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.legal-text ul, .legal-text ol {
    margin-bottom: 1rem;
    padding-left: 2rem;
}

.legal-text li {
    margin-bottom: 0.5rem;
}

.contact-details {
    background-color: #f7fafc;
    padding: 2rem;
    border-radius: 8px;
    margin: 2rem 0;
}

.policy-acknowledgment {
    background-color: #e6fffa;
    border-left: 4px solid #38b2ac;
    padding: 1rem;
    margin: 2rem 0;
    border-radius: 0 8px 8px 0;
}

.cookie-settings-section {
    background-color: #f7fafc;
    padding: 2rem;
    border-radius: 8px;
    margin: 2rem 0;
    text-align: center;
}

.cookie-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
}

.cookie-table th,
.cookie-table td {
    border: 1px solid #e2e8f0;
    padding: 0.75rem;
    text-align: left;
}

.cookie-table th {
    background-color: #f7fafc;
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .header .container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav {
        gap: 1rem;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .services-grid,
    .features-grid,
    .testimonials-grid,
    .values-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline-item {
        flex-direction: column;
        gap: 1rem;
    }
    
    .timeline-year {
        align-self: flex-start;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-buttons {
        justify-content: center;
    }
    
    .article-navigation {
        flex-direction: column;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .next-steps,
    .resource-links {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }
    
    .hero-text h1 {
        font-size: 1.75rem;
    }
    
    .btn-primary,
    .btn-secondary {
        padding: 10px 20px;
        font-size: 0.875rem;
    }
    
    .service-card,
    .feature-card,
    .value-card {
        padding: 1.5rem;
    }
    
    .subscription-form {
        gap: 0.75rem;
    }
}
