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

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

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

/* Buttons */
.btn-primary, .btn-secondary, .btn-tertiary {
    display: inline-block;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 16px;
}

.btn-primary {
    background: linear-gradient(135deg, #2c5aa0, #1e3a6f);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #1e3a6f, #0f1b35);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: #2c5aa0;
    border: 2px solid #2c5aa0;
}

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

.btn-tertiary {
    background: #f8f9fa;
    color: #333;
    border: 1px solid #ddd;
}

.btn-tertiary:hover {
    background: #e9ecef;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    color: white;
    padding: 20px;
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

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

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

.cookie-content h3 {
    margin-bottom: 10px;
    color: #fff;
}

.cookie-content p {
    margin-bottom: 20px;
    opacity: 0.9;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Cookie Modal */
.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1001;
    display: none;
    justify-content: center;
    align-items: center;
}

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

.cookie-modal-content {
    background: white;
    padding: 30px;
    border-radius: 10px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
}

.cookie-modal-content h3 {
    margin-bottom: 20px;
    color: #333;
}

.cookie-category {
    margin-bottom: 20px;
    padding: 15px;
    border: 1px solid #eee;
    border-radius: 5px;
}

.cookie-category label {
    display: flex;
    align-items: center;
    font-weight: 600;
    margin-bottom: 5px;
}

.cookie-category input[type="checkbox"] {
    margin-right: 10px;
}

.cookie-category p {
    font-size: 14px;
    color: #666;
    margin: 0;
}

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

/* Header */
.header {
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

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

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

.logo h1 {
    font-size: 24px;
    color: #2c5aa0;
    font-weight: 700;
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

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

.nav a:hover {
    color: #2c5aa0;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #2c5aa0;
    transition: width 0.3s ease;
}

.nav a:hover::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #333;
    transition: all 0.3s ease;
}

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

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

.hero-text h2 {
    font-size: 3rem;
    font-weight: 700;
    color: #2c5aa0;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-text p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

/* Section Styles */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: #2c5aa0;
    margin-bottom: 15px;
    font-weight: 700;
}

.section-header p {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about {
    background: white;
}

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

.about-text h3 {
    font-size: 1.8rem;
    color: #2c5aa0;
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 20px;
    color: #666;
    line-height: 1.7;
}

.features-list {
    list-style: none;
    margin-top: 30px;
}

.features-list li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    position: relative;
    padding-left: 25px;
}

.features-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: bold;
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.stat-item {
    text-align: center;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.stat-item h4 {
    font-size: 2.5rem;
    color: #2c5aa0;
    font-weight: 700;
    margin-bottom: 10px;
}

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

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

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

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

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-icon {
    margin-bottom: 25px;
}

.service-icon img {
    width: 80px;
    height: 80px;
}

.service-card h3 {
    font-size: 1.5rem;
    color: #2c5aa0;
    margin-bottom: 20px;
    font-weight: 600;
}

.service-card p {
    color: #666;
    margin-bottom: 25px;
    line-height: 1.6;
}

.service-card ul {
    list-style: none;
    text-align: left;
}

.service-card li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    position: relative;
    padding-left: 20px;
    color: #666;
}

.service-card li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #2c5aa0;
    font-weight: bold;
}

/* Testimonials Section */
.testimonials {
    background: white;
}

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

.testimonial-card {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    position: relative;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.testimonial-avatar {
    margin-bottom: 20px;
}

.testimonial-avatar img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
}

.testimonial-content p {
    font-style: italic;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.testimonial-content h4 {
    color: #2c5aa0;
    font-weight: 600;
    margin-bottom: 5px;
}

.testimonial-content span {
    color: #999;
    font-size: 0.9rem;
}

.rating {
    margin-top: 15px;
}

.rating span {
    color: #ffd700;
    font-size: 1.2rem;
}

/* Blog Section */
.blog {
    background: #f8f9fa;
}

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

.blog-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.blog-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-content {
    padding: 25px;
}

.blog-date {
    color: #999;
    font-size: 0.9rem;
    margin-bottom: 10px;
    display: block;
}

.blog-content h3 {
    margin-bottom: 15px;
}

.blog-content h3 a {
    color: #2c5aa0;
    text-decoration: none;
    font-weight: 600;
    line-height: 1.3;
}

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

.blog-content p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.read-more {
    color: #2c5aa0;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: #1e3a6f;
}

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

/* Newsletter Section */
.newsletter {
    background: linear-gradient(135deg, #2c5aa0, #1e3a6f);
    color: white;
}

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

.newsletter-content h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.newsletter-content p {
    margin-bottom: 40px;
    opacity: 0.9;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group input {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    background: rgba(255, 255, 255, 0.9);
}

.form-group input:focus {
    outline: none;
    background: white;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

/* Contact Section */
.contact {
    background: white;
}

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

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-item img {
    width: 50px;
    height: 50px;
}

.contact-item h4 {
    color: #2c5aa0;
    margin-bottom: 5px;
    font-weight: 600;
}

.contact-item p {
    color: #666;
    margin: 0;
}

.contact-item a {
    color: #666;
    text-decoration: none;
}

.contact-item a:hover {
    color: #2c5aa0;
}

.business-hours {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
}

.business-hours h4 {
    color: #2c5aa0;
    margin-bottom: 20px;
    font-weight: 600;
}

.hours-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.hours-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.hours-item span:first-child {
    font-weight: 500;
    color: #333;
}

.hours-item span:last-child {
    color: #666;
}

/* Footer */
.footer {
    background: #1a1a1a;
    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-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

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

.footer-logo h3 {
    color: #2c5aa0;
    font-weight: 700;
}

.footer-section p {
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.social-links a {
    color: #ccc;
    text-decoration: none;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #2c5aa0;
    color: white;
}

.footer-section h4 {
    color: white;
    margin-bottom: 20px;
    font-weight: 600;
}

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

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

.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #2c5aa0;
}

.footer-contact p {
    margin-bottom: 10px;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    color: #999;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-text h2 {
        font-size: 2rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .newsletter-form {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .cookie-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cookie-modal-buttons {
        flex-direction: column;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    section {
        padding: 60px 0;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .hero-text h2 {
        font-size: 1.8rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Page Specific Styles */
.page-header {
    background: linear-gradient(135deg, #2c5aa0, #1e3a6f);
    color: white;
    padding: 120px 0 80px;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.page-header p {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.page-content {
    padding: 80px 0;
    background: white;
}

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

.content-wrapper h2 {
    color: #2c5aa0;
    margin: 40px 0 20px;
    font-weight: 600;
}

.content-wrapper h3 {
    color: #333;
    margin: 30px 0 15px;
    font-weight: 600;
}

.content-wrapper p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 20px;
}

.content-wrapper ul, .content-wrapper ol {
    color: #666;
    line-height: 1.7;
    margin: 20px 0;
    padding-left: 30px;
}

.content-wrapper li {
    margin-bottom: 10px;
}

.breadcrumb {
    background: #f8f9fa;
    padding: 15px 0;
}

.breadcrumb-list {
    list-style: none;
    display: flex;
    gap: 10px;
    align-items: center;
}

.breadcrumb-list li::after {
    content: '>';
    margin-left: 10px;
    color: #999;
}

.breadcrumb-list li:last-child::after {
    display: none;
}

.breadcrumb-list a {
    color: #2c5aa0;
    text-decoration: none;
}

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

.article-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    align-items: center;
}

.article-date {
    color: #666;
    font-weight: 500;
}

.article-image {
    margin: 30px 0;
    text-align: center;
}

.article-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.back-to-blog {
    margin-top: 40px;
    text-align: center;
}
