/* 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;
}

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

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

.navbar {
    padding: 1rem 0;
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.brand-name {
    font-size: 1.5rem;
    font-weight: bold;
    color: #0066cc;
    text-decoration: none;
}

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

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

.nav-menu a:hover {
    color: #0066cc;
}

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

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

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

.btn-primary:hover {
    background: #0052a3;
}

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

.btn-secondary:hover {
    background: #0066cc;
    color: white;
}

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

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

.hero h1 {
    font-size: 3rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
    line-height: 1.2;
}

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

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

.hero-graphic svg {
    width: 100%;
    height: auto;
}

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

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

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

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

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

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

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

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

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

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

.about-text h2 {
    text-align: left;
    margin-bottom: 30px;
}

.about-text p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 25px;
    line-height: 1.7;
}

.about-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: bold;
    color: #0066cc;
}

.stat-text {
    font-size: 0.9rem;
    color: #666;
}

/* Reviews Section */
.reviews {
    background: #f8f9fa;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.review-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.stars {
    font-size: 1.5rem;
    color: #ffc107;
    margin-bottom: 15px;
}

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

.reviewer strong {
    color: #333;
    font-size: 1.1rem;
}

.reviewer span {
    color: #666;
    font-size: 0.9rem;
}

/* Blog Section */
.blog {
    background: white;
}

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

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

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.blog-image {
    width: 100%;
    height: 200px;
}

.blog-content {
    padding: 30px;
}

.blog-content h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #333;
    line-height: 1.4;
}

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

.read-more {
    color: #0066cc;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.read-more:hover {
    color: #0052a3;
}

/* Newsletter Section */
.newsletter {
    background: linear-gradient(135deg, #0066cc 0%, #0052a3 100%);
    color: white;
    text-align: center;
}

.newsletter h2 {
    color: white;
    margin-bottom: 15px;
}

.newsletter p {
    font-size: 1.1rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.newsletter-form {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.newsletter-form input[type="email"] {
    flex: 1;
    min-width: 300px;
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
}

.newsletter-form button {
    padding: 12px 30px;
    background: white;
    color: #0066cc;
    border: none;
    border-radius: 5px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.newsletter-form button:hover {
    background: #f0f7ff;
}

/* Contact Section */
.contact {
    background: #f8f9fa;
}

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

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.contact-item h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #333;
}

.contact-item p {
    color: #666;
    line-height: 1.6;
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #0066cc;
}

.contact-form button {
    width: 100%;
    margin-top: 20px;
}

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

.footer-section h3 {
    margin-bottom: 20px;
    color: white;
    font-size: 1.2rem;
}

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

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

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

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

.footer-section p {
    color: #ccc;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    transition: opacity 0.3s;
}

.social-links a:hover {
    opacity: 0.7;
}

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

.footer-bottom p {
    color: #ccc;
}

/* Cookie Banner and Settings */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #333;
    color: white;
    padding: 20px;
    z-index: 10000;
    display: none;
}

.cookie-banner.show {
    display: block;
}

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

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

.cookie-buttons button {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s;
}

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

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

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

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

.cookie-option {
    margin-bottom: 20px;
}

.cookie-option label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    cursor: pointer;
}

.cookie-option p {
    margin-top: 5px;
    color: #666;
    font-size: 0.9rem;
    margin-left: 25px;
}

/* Legal Pages Styling */
.legal-page {
    padding: 120px 0 80px;
    background: #f8f9fa;
    min-height: 80vh;
}

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

.legal-content h1 {
    color: #0066cc;
    margin-bottom: 30px;
    font-size: 2.5rem;
    text-align: center;
}

.legal-content h2 {
    color: #333;
    margin: 30px 0 20px 0;
    font-size: 1.8rem;
    border-bottom: 2px solid #0066cc;
    padding-bottom: 10px;
}

.legal-content h3 {
    color: #0066cc;
    margin: 25px 0 15px 0;
    font-size: 1.4rem;
}

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

.legal-content ul, .legal-content ol {
    margin-bottom: 20px;
    padding-left: 30px;
}

.legal-content li {
    margin-bottom: 8px;
    line-height: 1.6;
    color: #666;
}

.legal-back-button {
    text-align: center;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

/* Modern Article Styling */
.blog-article {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
    padding: 120px 0 60px;
}

.article-header {
    text-align: center;
    margin-bottom: 50px;
    padding: 60px 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    color: white;
    position: relative;
    overflow: hidden;
}

.article-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%23ffffff" fill-opacity="0.1"><circle cx="30" cy="30" r="4"/></g></svg>') repeat;
    opacity: 0.1;
}

.article-header h1 {
    color: white;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.1;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    position: relative;
    z-index: 1;
}

.article-meta {
    color: rgba(255,255,255,0.9);
    font-size: 1.1rem;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.article-image {
    margin-top: 30px;
    position: relative;
    z-index: 1;
}

.article-content {
    background: white;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    margin-top: 40px;
    position: relative;
    overflow: hidden;
}

.article-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 50%, #0066cc 100%);
}

.lead {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 40px;
    padding: 30px;
    background: linear-gradient(135deg, #e8f4fd 0%, #f0f7ff 100%);
    border-left: 5px solid #667eea;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.1);
    position: relative;
}

.lead::before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 15px;
    font-size: 3rem;
    color: #667eea;
    opacity: 0.3;
    font-family: Georgia, serif;
}

.article-content h2 {
    color: #2c3e50;
    font-size: 2.2rem;
    font-weight: 700;
    margin: 50px 0 25px 0;
    padding: 20px 0 15px 0;
    border-bottom: 3px solid;
    border-image: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    border-image-slice: 1;
    position: relative;
}

.article-content h2::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
}

.article-content h3 {
    color: #667eea;
    font-size: 1.7rem;
    font-weight: 600;
    margin: 35px 0 20px 0;
    padding-left: 20px;
    border-left: 4px solid #667eea;
    background: linear-gradient(135deg, #f8f9ff 0%, #fff 100%);
    padding: 15px 20px;
    border-radius: 8px;
}

.article-content p {
    line-height: 1.8;
    margin-bottom: 25px;
    color: #4a5568;
    font-size: 1.1rem;
}

.article-content ul, .article-content ol {
    margin-bottom: 30px;
    padding-left: 0;
}

.article-content li {
    margin-bottom: 12px;
    line-height: 1.7;
    color: #4a5568;
    padding-left: 30px;
    position: relative;
    font-size: 1.05rem;
}

.article-content ul li::before {
    content: '▶';
    position: absolute;
    left: 10px;
    color: #667eea;
    font-size: 0.8rem;
    top: 2px;
}

.article-content ol {
    counter-reset: item;
}

.article-content ol li {
    counter-increment: item;
}

.article-content ol li::before {
    content: counter(item);
    position: absolute;
    left: 0;
    color: white;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 600;
    top: -2px;
}

.article-content strong {
    color: #2c3e50;
    font-weight: 600;
}

.article-content blockquote,
.article-content div[style*="background: #f8f9fa"] {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    color: white !important;
    padding: 25px 30px !important;
    border-radius: 15px !important;
    border: none !important;
    margin: 30px 0 !important;
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.2) !important;
    position: relative;
}

.article-content blockquote *,
.article-content div[style*="background: #f8f9fa"] * {
    color: white !important;
}

.article-cta {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    margin: 50px 0;
    border: none;
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.3);
    color: white;
    position: relative;
    overflow: hidden;
}

.article-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.article-cta h3 {
    color: white;
    font-size: 1.8rem;
    margin-bottom: 15px;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.article-cta p {
    margin-bottom: 25px;
    font-size: 1.1rem;
    position: relative;
    z-index: 1;
    color: rgba(255,255,255,0.9);
}

.article-cta .btn-primary {
    background: white;
    color: #667eea;
    border: none;
    font-weight: 700;
    transform: translateY(0);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    font-size: 1.1rem;
    padding: 15px 35px;
}

.article-cta .btn-primary:hover {
    background: rgba(255,255,255,0.95);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* Thank You Page */
.thank-you {
    padding: 120px 0 80px;
    background: #f8f9fa;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

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

.thank-you-icon {
    margin-bottom: 30px;
}

.thank-you h1 {
    font-size: 3rem;
    color: #0066cc;
    margin-bottom: 20px;
}

.thank-you-message {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 40px;
    line-height: 1.6;
}

.thank-you-details {
    background: white;
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 40px;
    text-align: left;
}

.thank-you-details h3 {
    color: #333;
    margin-bottom: 15px;
}

.thank-you-details ul {
    list-style: none;
    padding: 0;
}

.thank-you-details li {
    padding: 8px 0;
    color: #666;
    position: relative;
    padding-left: 20px;
}

.thank-you-details li::before {
    content: '✓';
    color: #0066cc;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.contact-info-box {
    background: #e6f3ff;
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 40px;
    border-left: 4px solid #0066cc;
}

.contact-info-box h3 {
    color: #0066cc;
    margin-bottom: 15px;
}

.thank-you-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.social-share {
    margin-top: 40px;
}

.social-share p {
    margin-bottom: 15px;
    color: #666;
}

/* SVG Text Styles */
.hero-svg-text,
.about-svg-text,
.blog-svg-text {
    font-size: 12px;
    fill: #0066cc;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .about-text h2 {
        text-align: center;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .about-stats {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .newsletter-form {
        flex-direction: column;
        align-items: center;
    }
    
    .newsletter-form input[type="email"] {
        min-width: 100%;
    }
    
    .about-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .thank-you-actions {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    section {
        padding: 60px 0;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .service-card,
    .contact-form {
        padding: 25px 20px;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .thank-you h1 {
        font-size: 2rem;
    }
}