/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

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

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

h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: #2c5aa0;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #1a3a70;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

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

.btn-primary:hover {
    background-color: #1a3a70;
    color: white;
}

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

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

/* Header Styles */
.header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    padding: 1rem 0;
}

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

.nav-logo .logo {
    height: 50px;
    width: auto;
}

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

.nav-menu a {
    font-weight: 500;
    transition: color 0.3s ease;
}

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

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

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

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

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

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

.cookie-options {
    display: flex;
    gap: 20px;
    margin: 15px 0;
    flex-wrap: wrap;
}

.cookie-option {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.cookie-option input[type="checkbox"] {
    margin: 0;
}

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

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

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

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

.cookie-buttons button:last-child {
    background-color: #999;
    color: white;
}

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

.hero-content {
    display: flex;
    align-items: center;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-text {
    flex: 1;
}

.hero-text h1 {
    font-size: 3rem;
    color: #1a3a70;
    margin-bottom: 1rem;
}

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

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

.hero-image {
    flex: 1;
    text-align: center;
}

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

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

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

.section-header h2 {
    color: #1a3a70;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
    color: #666;
}

.section-icon {
    height: 60px;
    width: auto;
    margin-bottom: 1rem;
}

/* About Section */
.about {
    background-color: #f8f9fa;
}

.about-content {
    display: flex;
    gap: 3rem;
    align-items: center;
}

.about-text {
    flex: 2;
}

.about-features {
    list-style: none;
    margin: 1.5rem 0;
}

.about-features li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.about-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #2c5aa0;
    font-weight: bold;
}

.about-images {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.about-img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

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

.service-card h3 {
    color: #1a3a70;
    margin-bottom: 1rem;
}

.services-cta {
    text-align: center;
    margin-top: 2rem;
}

/* Services Detail Page */
.page-header {
    background: linear-gradient(135deg, #2c5aa0 0%, #1a3a70 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
}

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

.services-detail {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.services-grid-detailed {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.service-detailed {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.service-header {
    background: linear-gradient(135deg, #2c5aa0 0%, #1a3a70 100%);
    color: white;
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.service-icon {
    height: 60px;
    width: auto;
}

.service-header h2 {
    color: white;
    margin: 0;
}

.service-content {
    padding: 2rem;
}

.service-content h3 {
    color: #1a3a70;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.service-content ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

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

/* Advantages Section */
.advantages {
    background-color: #f8f9fa;
}

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

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

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

.advantage-card h3 {
    color: #1a3a70;
    margin-bottom: 1rem;
}

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

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

.testimonial-content {
    margin-bottom: 1.5rem;
}

.testimonial-content p {
    font-style: italic;
    margin-bottom: 0;
}

.testimonial-author h4 {
    color: #1a3a70;
    margin-bottom: 0.5rem;
}

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

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

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

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

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

.blog-image {
    height: 200px;
    overflow: hidden;
}

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

.blog-content {
    padding: 1.5rem;
}

.blog-content h3 {
    color: #1a3a70;
    margin-bottom: 1rem;
}

.blog-link {
    color: #2c5aa0;
    font-weight: 500;
}

/* Blog Article Styles */
.blog-article {
    padding: 60px 0;
    background-color: #f8f9fa;
}

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

.article-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #666;
}

.article-date,
.article-category {
    background-color: #e9ecef;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
}

.article-subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
}

.article-image {
    text-align: center;
    margin: 2rem 0;
}

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

.article-content {
    background: white;
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.article-content .lead {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 2rem;
}

.article-content h2 {
    color: #1a3a70;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.article-content h3 {
    color: #2c5aa0;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.article-cta {
    background: linear-gradient(135deg, #2c5aa0 0%, #1a3a70 100%);
    color: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    margin-top: 3rem;
}

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

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

.article-footer {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.article-share {
    margin-bottom: 2rem;
}

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

.share-btn {
    padding: 0.5rem 1rem;
    background-color: #f8f9fa;
    border-radius: 5px;
    text-decoration: none;
    color: #333;
    transition: background-color 0.3s ease;
}

.share-btn:hover {
    background-color: #e9ecef;
    color: #333;
}

.article-navigation {
    border-top: 1px solid #eee;
    padding-top: 1rem;
}

.prev-article,
.next-article {
    color: #2c5aa0;
    font-weight: 500;
}

/* Related Articles */
.related-articles {
    padding: 60px 0;
    background-color: white;
}

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

.related-card {
    background: #f8f9fa;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.related-image {
    height: 150px;
    overflow: hidden;
}

.related-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-content {
    padding: 1.5rem;
}

.related-link {
    color: #2c5aa0;
    font-weight: 500;
}

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

.contact-content {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
}

.contact-info {
    flex: 1;
}

.contact-details {
    margin: 2rem 0;
}

.contact-item {
    margin-bottom: 1.5rem;
}

.contact-item strong {
    display: block;
    color: #1a3a70;
    margin-bottom: 0.5rem;
}

.social-links h3 {
    color: #1a3a70;
    margin-bottom: 1rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    display: inline-block;
    padding: 0.5rem;
    background-color: white;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.social-icons a:hover {
    transform: scale(1.1);
}

.subscription-form {
    flex: 1;
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.subscription-form h3 {
    color: #1a3a70;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #333;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 2px solid #e9ecef;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #2c5aa0;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.9rem;
}

.checkbox-label input[type="checkbox"] {
    margin-top: 0.2rem;
    width: auto;
}

/* Contact CTA */
.contact-cta {
    background: linear-gradient(135deg, #2c5aa0 0%, #1a3a70 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
}

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

.cta-content p {
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}
.cta-buttons .btn-secondary{
    color: #fff;
    border: 1px solid #fff;
}

/* Thank You Page */
.thank-you {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.thank-you-content {
    display: flex;
    gap: 3rem;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.thank-you-image {
    flex: 1;
    text-align: center;
}

.thank-you-img {
    max-width: 100%;
    height: auto;
}

.thank-you-text {
    flex: 1;
}

.thank-you-text h1 {
    color: #1a3a70;
    margin-bottom: 1rem;
}

.thank-you-text .lead {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
}

.thank-you-details,
.thank-you-contact {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.thank-you-details h3,
.thank-you-contact h3 {
    color: #1a3a70;
    margin-bottom: 1rem;
}

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

.thank-you-details li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.thank-you-details li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: #2c5aa0;
    font-weight: bold;
}

.thank-you-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Legal Pages */
.legal-content {
    padding: 60px 0;
    background-color: #f8f9fa;
}

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

.legal-header h1 {
    color: #1a3a70;
    margin-bottom: 1rem;
}

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

.legal-text {
    background: white;
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    max-width: 900px;
    margin: 0 auto;
}

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

.legal-text h3 {
    color: #2c5aa0;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.legal-text ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

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

.contact-info {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
    border-left: 4px solid #2c5aa0;
}

.cookie-settings-link {
    text-align: center;
    margin-top: 2rem;
}

/* Footer */
.footer {
    background-color: #1a3a70;
    color: white;
    padding: 40px 0 20px;
}

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

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

.footer-logo {
    height: 40px;
    width: auto;
    margin-bottom: 1rem;
}

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

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

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

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

.newsletter-input {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.newsletter-input input {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 5px;
}

.newsletter-input button {
    padding: 10px 15px;
    white-space: nowrap;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #2c5aa0;
    color: #ccc;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        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;
    }

    .nav-menu li {
        margin: 1rem 0;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .about-content {
        flex-direction: column;
    }

    .contact-content {
        flex-direction: column;
    }

    .thank-you-content {
        flex-direction: column;
        text-align: center;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .advantages-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .related-grid {
        grid-template-columns: 1fr;
    }

    .newsletter-input {
        flex-direction: column;
    }

    .hero-buttons {
        justify-content: center;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .thank-you-actions {
        justify-content: center;
    }

    .cookie-options {
        flex-direction: column;
    }

    .cookie-buttons {
        justify-content: center;
    }

    .share-buttons {
        justify-content: center;
    }

    .article-content {
        padding: 2rem 1rem;
    }

    .legal-text {
        padding: 2rem 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    h1 {
        font-size: 2rem;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        padding: 1.5rem;
    }

    .subscription-form {
        padding: 1.5rem;
    }

    .article-content {
        padding: 1.5rem;
    }

    .legal-text {
        padding: 1.5rem;
    }
}

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

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

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

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

/* Print styles */
@media print {
    .header,
    .footer,
    .cookie-banner,
    .hero-buttons,
    .cta-buttons,
    .social-icons {
        display: none;
    }
}
