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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

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

/* Header and Navigation */
.navbar {
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #1e3a8a;
    font-weight: bold;
    font-size: 1.2rem;
}

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

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

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

.nav-menu a:hover,
.nav-menu a.active {
    color: #1e3a8a;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Main Content */
main {
    margin-top: 80px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    padding: 80px 0;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-text h1 {
    font-size: 3rem;
    font-weight: 700;
    color: #1e3a8a;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-text p {
    font-size: 1.2rem;
    color: #64748b;
    margin-bottom: 2rem;
}

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

/* Buttons */
.cta-button {
    display: inline-block;
    background: #1e3a8a;
    color: white;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.cta-button:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(30, 58, 138, 0.3);
}

.cta-button.secondary {
    background: transparent;
    color: #1e3a8a;
    border: 2px solid #1e3a8a;
}

.cta-button.secondary:hover {
    background: #1e3a8a;
    color: white;
}

/* Sections */
section {
    padding: 80px 0;
}

section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #1e3a8a;
    margin-bottom: 3rem;
    font-weight: 700;
}

/* Services Section */
.services {
    background: #f8fafc;
}

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

.service-card {
    background: white;
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.service-card img {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.5rem;
    color: #1e3a8a;
    margin-bottom: 15px;
}

.service-card p {
    color: #64748b;
    line-height: 1.6;
}

/* About Preview */
.about-preview {
    background: white;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    text-align: left;
    margin-bottom: 2rem;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: #64748b;
    font-size: 1.1rem;
}

.read-more {
    color: #1e3a8a;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.read-more:hover {
    border-bottom-color: #1e3a8a;
}

.about-image img {
    width: 100%;
    max-width: 400px;
    height: auto;
}

/* Testimonials */
.testimonials {
    background: #f8fafc;
}

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

.testimonial {
    background: white;
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.testimonial img {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
}

.testimonial p {
    font-style: italic;
    color: #64748b;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.testimonial strong {
    color: #1e3a8a;
    font-weight: 600;
}

/* Blog Preview */
.blog-preview {
    background: white;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.blog-card {
    background: #f8fafc;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

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

.blog-card img {
    width: 80px;
    height: 80px;
    margin: 20px auto;
    display: block;
}

.blog-card h3 {
    padding: 0 30px 15px;
    color: #1e3a8a;
    font-size: 1.3rem;
}

.blog-card p {
    padding: 0 30px 20px;
    color: #64748b;
}

.blog-card a {
    display: inline-block;
    margin: 0 30px 30px;
    color: #1e3a8a;
    text-decoration: none;
    font-weight: 600;
}

.blog-link {
    text-align: center;
}

/* Newsletter */
.newsletter {
    background: #1e3a8a;
    color: white;
}

.newsletter h2 {
    color: white;
}

.newsletter p {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.newsletter-form {
    max-width: 600px;
    margin: 0 auto;
    display: grid;
    gap: 20px;
}

.form-group input {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    background: white;
}

.submit-button {
    background: #059669;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.submit-button:hover {
    background: #047857;
}

/* Contact */
.contact {
    background: #f8fafc;
}

.contact-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
}

.contact-info {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.contact-info img {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
}

.contact-details h3 {
    color: #1e3a8a;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.contact-details p {
    margin-bottom: 10px;
    color: #64748b;
}

.social-media h3 {
    color: #1e3a8a;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.social-links a {
    color: #1e3a8a;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #1d4ed8;
}

/* Footer */
footer {
    background: #1f2937;
    color: #d1d5db;
    padding: 60px 0 20px;
}

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

.footer-info img {
    height: 40px;
    width: 40px;
    margin-bottom: 15px;
}

.footer-info p {
    color: #9ca3af;
}

.footer-links h4,
.footer-legal h4 {
    color: white;
    margin-bottom: 15px;
}

.footer-links ul,
.footer-legal ul {
    list-style: none;
}

.footer-links a,
.footer-legal a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 20px;
    text-align: center;
    color: #9ca3af;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #1f2937;
    color: white;
    padding: 20px;
    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: 20px;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

.cookie-buttons button {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: background 0.3s ease;
}

.cookie-buttons button:first-child {
    background: #059669;
    color: white;
}

.cookie-buttons button:first-child:hover {
    background: #047857;
}

.cookie-buttons button:nth-child(2) {
    background: #6b7280;
    color: white;
}

.cookie-buttons button:nth-child(2):hover {
    background: #4b5563;
}

.cookie-buttons button:last-child {
    background: transparent;
    color: white;
    border: 1px solid #6b7280;
}

.cookie-buttons button:last-child:hover {
    background: #6b7280;
}

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

.cookie-modal.show {
    display: flex;
}

.modal-content {
    background: white;
    padding: 40px;
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
}

.modal-content h3 {
    color: #1e3a8a;
    margin-bottom: 20px;
}

.cookie-category {
    margin-bottom: 15px;
}

.cookie-category label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.modal-buttons {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.modal-buttons button {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
}

.modal-buttons button:first-child {
    background: #1e3a8a;
    color: white;
}

.modal-buttons button:last-child {
    background: #6b7280;
    color: white;
}

/* Page Header */
.page-header {
    background: #f8fafc;
    padding: 60px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    color: #1e3a8a;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.2rem;
    color: #64748b;
}

/* Legal Pages */
.legal-page {
    padding: 40px 0;
}

.legal-page h1 {
    font-size: 2.5rem;
    color: #1e3a8a;
    margin-bottom: 1rem;
}

.last-updated {
    color: #6b7280;
    font-style: italic;
    margin-bottom: 2rem;
}

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

.legal-content h2 {
    color: #1e3a8a;
    margin-top: 2rem;
    margin-bottom: 1rem;
    text-align: left;
    font-size: 1.5rem;
}

.legal-content h3 {
    color: #374151;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    text-align: left;
    font-size: 1.2rem;
}

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

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

.legal-content p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

.legal-content a {
    color: #1e3a8a;
    text-decoration: none;
}

.legal-content a:hover {
    text-decoration: underline;
}

/* Cookie Table */
.cookie-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
}

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

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

.cookie-controls {
    margin: 2rem 0;
    text-align: center;
}

/* Thanks Page */
.thanks-page {
    padding: 80px 0;
    text-align: center;
}

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

.thanks-icon img {
    width: 120px;
    height: 120px;
    margin-bottom: 2rem;
}

.thanks-content h1 {
    font-size: 2.5rem;
    color: #1e3a8a;
    margin-bottom: 1.5rem;
}

.thanks-content > p {
    font-size: 1.2rem;
    color: #64748b;
    margin-bottom: 3rem;
}

.next-steps {
    margin-bottom: 3rem;
}

.next-steps h2 {
    color: #1e3a8a;
    margin-bottom: 2rem;
    text-align: center;
}

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

.step {
    background: #f8fafc;
    padding: 30px 20px;
    border-radius: 12px;
}

.step img {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
}

.step h3 {
    color: #1e3a8a;
    margin-bottom: 10px;
}

.step p {
    color: #64748b;
}

.contact-info {
    background: #f8fafc;
    padding: 40px;
    border-radius: 12px;
    margin-bottom: 3rem;
}

.contact-info h2 {
    color: #1e3a8a;
    margin-bottom: 1rem;
    text-align: center;
}

.contact-details {
    margin-top: 1rem;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Blog Articles */
.articles-grid {
    display: grid;
    gap: 40px;
}

.article-card {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 30px;
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.article-image {
    display: flex;
    align-items: center;
}

.article-image img {
    width: 80px;
    height: 80px;
}

.article-content h2 {
    margin-bottom: 10px;
    text-align: left;
    font-size: 1.5rem;
}

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

.article-content h2 a:hover {
    text-decoration: underline;
}

.article-meta {
    color: #6b7280;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.article-content p {
    color: #64748b;
    margin-bottom: 15px;
}

/* Individual Blog Article */
.blog-article {
    padding: 40px 0;
}

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

.article-header h1 {
    font-size: 2.5rem;
    color: #1e3a8a;
    margin-bottom: 1rem;
}

.article-hero-image {
    width: 120px;
    height: 120px;
    margin: 2rem auto;
}

.article-content {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.article-intro {
    font-size: 1.2rem;
    color: #374151;
    font-weight: 500;
    margin-bottom: 2rem;
    padding: 20px;
    background: #f0f9ff;
    border-left: 4px solid #1e3a8a;
    border-radius: 0 8px 8px 0;
}

.article-content h2 {
    color: #1e3a8a;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    text-align: left;
    font-size: 1.8rem;
}

.article-content h3 {
    color: #374151;
    margin-top: 2rem;
    margin-bottom: 0.8rem;
    text-align: left;
    font-size: 1.3rem;
}

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

.article-content li {
    margin-bottom: 0.8rem;
}

.article-content p {
    margin-bottom: 1.5rem;
}

.highlight-box {
    background: #fef3c7;
    border: 1px solid #f59e0b;
    border-radius: 8px;
    padding: 20px;
    margin: 2rem 0;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.inline-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    margin-top: 2px;
}

.section-image {
    width: 100px;
    height: 100px;
    display: block;
    margin: 2rem auto;
}

.conclusion-box {
    background: #f0f9ff;
    border: 1px solid #1e3a8a;
    border-radius: 8px;
    padding: 30px;
    margin: 3rem 0;
}

.conclusion-box h3 {
    color: #1e3a8a;
    margin-bottom: 1rem;
    text-align: left;
}

.article-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.related-articles h3 {
    color: #1e3a8a;
    margin-bottom: 1rem;
}

.related-articles ul {
    list-style: none;
    padding: 0;
}

.related-articles li {
    margin-bottom: 0.5rem;
}

.related-articles a {
    color: #1e3a8a;
    text-decoration: none;
    font-weight: 500;
}

.related-articles a:hover {
    text-decoration: underline;
}

/* About Page Specific */
.story-content,
.team-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 3rem;
}

.story-text h2,
.team-content h2 {
    text-align: left;
    margin-bottom: 2rem;
}

.story-image img,
.team-image img {
    width: 100%;
    max-width: 400px;
    height: auto;
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
}

.mission-card {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    text-align: center;
}

.mission-card img {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
}

.mission-card h3 {
    color: #1e3a8a;
    margin-bottom: 15px;
}

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

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

.value-item img {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
}

.value-item h3 {
    color: #1e3a8a;
    margin-bottom: 10px;
}

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

.stat-item {
    text-align: center;
    padding: 40px 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.stat-item h3 {
    font-size: 3rem;
    color: #1e3a8a;
    margin-bottom: 10px;
}

.stat-item p {
    color: #64748b;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0,0,0,0.05);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .about-content,
    .story-content,
    .team-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .article-card {
        grid-template-columns: 1fr;
        gap: 20px;
        text-align: center;
    }
    
    .article-footer {
        flex-direction: column;
        gap: 20px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .mission-grid {
        grid-template-columns: 1fr;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 2rem;
    }
    
    section h2 {
        font-size: 2rem;
    }
    
    .services-grid,
    .testimonials-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .newsletter-form {
        grid-template-columns: 1fr;
    }
    
    .modal-content {
        margin: 20px;
        padding: 30px 20px;
    }
    
    .article-header h1 {
        font-size: 2rem;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

/* Print Styles */
@media print {
    .navbar,
    .cookie-banner,
    .cookie-modal {
        display: none;
    }
    
    main {
        margin-top: 0;
    }
    
    .hero {
        padding: 40px 0;
    }
    
    section {
        padding: 40px 0;
    }
}
