/* Base Styles */
:root {
    --primary-color: #4a6fa5;
    --secondary-color: #e87e04;
    --accent-color: #f9a826;
    --dark-color: #2c3e50;
    --light-color: #ecf0f1;
    --gray-color: #95a5a6;
    --success-color: #27ae60;
    --error-color: #e74c3c;
    --body-font: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --heading-font: 'Montserrat', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --transition: all 0.3s ease;
    --border-radius: 4px;
    --box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-font);
    line-height: 1.6;
    color: var(--dark-color);
    background-color: #fff;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

ul {
    list-style: none;
}

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

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

section {
    padding: 80px 0;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    line-height: 1.3;
    margin-bottom: 15px;
    font-weight: 700;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background-color: var(--secondary-color);
    margin: 10px auto 0;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 15px;
}

.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
    text-align: center;
}

.btn:hover {
    background-color: var(--secondary-color);
    color: white;
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
}

.btn-text {
    background-color: transparent;
    color: var(--primary-color);
    padding: 10px 15px;
    border: none;
    text-decoration: underline;
}

.btn-text:hover {
    background-color: transparent;
    color: var(--secondary-color);
    transform: none;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

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

.logo img {
    height: 50px;
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 25px;
}

nav ul li a {
    font-weight: 600;
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--secondary-color);
    transition: var(--transition);
}

nav ul li a:hover::after {
    width: 100%;
}

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

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--dark-color);
    margin-bottom: 5px;
    border-radius: 3px;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), 
                url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1600' height='900' viewBox='0 0 1600 900'%3E%3Crect width='1600' height='900' fill='%234a6fa5'/%3E%3Cpath d='M0 700 L1600 700 L1600 900 L0 900 Z' fill='%232c3e50'/%3E%3Ccircle cx='1200' cy='200' r='80' fill='%23f9a826' opacity='0.7'/%3E%3Crect x='100' y='300' width='150' height='350' fill='%232c3e50' opacity='0.8'/%3E%3Crect x='300' y='350' width='150' height='300' fill='%232c3e50' opacity='0.8'/%3E%3Crect x='500' y='250' width='150' height='400' fill='%232c3e50' opacity='0.8'/%3E%3Crect x='700' y='400' width='150' height='250' fill='%232c3e50' opacity='0.8'/%3E%3Crect x='900' y='300' width='150' height='350' fill='%232c3e50' opacity='0.8'/%3E%3Crect x='1100' y='350' width='150' height='300' fill='%232c3e50' opacity='0.8'/%3E%3Crect x='1300' y='400' width='150' height='250' fill='%232c3e50' opacity='0.8'/%3E%3C/svg%3E") no-repeat center center/cover;
    height: 80vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
    margin-top: 80px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* About Section */
.about-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.about-text {
    flex: 1;
}

/* Services Section */
.services {
    background-color: var(--light-color);
}

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

.service-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 30px;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

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

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

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

/* Testimonials Section */
.testimonials {
    background-color: var(--primary-color);
    color: white;
}

.testimonials h2::after {
    background-color: white;
}

.testimonial-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-slide {
    display: none;
    animation: fadeEffect 1s;
}

.testimonial-slide.active {
    display: block;
}

@keyframes fadeEffect {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.testimonial-content {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: var(--border-radius);
    text-align: center;
    margin-bottom: 30px;
}

.testimonial-content p {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-author h4 {
    margin-bottom: 5px;
}

.slider-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.prev-btn, .next-btn {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: var(--transition);
}

.prev-btn:hover, .next-btn:hover {
    background-color: rgba(255, 255, 255, 0.4);
}

.slider-dots {
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background-color: white;
}

/* Blog Section */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.blog-card {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

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

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

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-content {
    padding: 20px;
}

.blog-content h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.read-more {
    display: inline-block;
    margin-top: 15px;
    font-weight: 600;
    color: var(--primary-color);
}

.read-more:hover {
    color: var(--secondary-color);
}

/* Contact Section */
.contact {
    background-color: var(--light-color);
}

.contact-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.info-item {
    margin-bottom: 25px;
}

.info-item h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.contact-form {
    flex: 2;
    min-width: 300px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-family: var(--body-font);
    transition: var(--transition);
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(74, 111, 165, 0.2);
}

.form-group input.error, .form-group textarea.error {
    border-color: var(--error-color);
}

.error-message {
    color: var(--error-color);
    font-size: 0.85rem;
    margin-top: 5px;
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 30px;
}

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

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-column h3 {
    margin-bottom: 15px;
    font-size: 1.1rem;
    position: relative;
}

.footer-column h3::after {
    content: '';
    display: block;
    width: 30px;
    height: 2px;
    background-color: var(--secondary-color);
    margin-top: 5px;
}

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

.footer-column ul li a {
    color: #bdc3c7;
    transition: var(--transition);
}

.footer-column ul li a:hover {
    color: var(--secondary-color);
}

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

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: #bdc3c7;
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: white;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1001;
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.4s ease-in-out;
}

.cookie-consent.active {
    transform: translateY(0);
}

.cookie-content h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

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

.cookie-settings {
    display: none;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.cookie-option {
    margin-bottom: 15px;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
}

.cookie-option input {
    margin-top: 5px;
    margin-right: 10px;
}

.cookie-option label {
    font-weight: 600;
    margin-right: 10px;
}

.cookie-option p {
    flex-basis: 100%;
    margin-top: 5px;
    margin-left: 25px;
    font-size: 0.9rem;
    color: var(--gray-color);
}

.cookie-actions {
    margin-top: 20px;
}

/* Media Queries */
@media (max-width: 992px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero {
        height: 70vh;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    section {
        padding: 60px 0;
    }
}

@media (max-width: 768px) {
    header .container {
        padding: 10px 15px;
    }
    
    nav ul {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: white;
        flex-direction: column;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        padding: 20px 0;
    }
    
    nav ul.show {
        display: flex;
    }
    
    nav ul li {
        margin: 0;
        width: 100%;
        text-align: center;
    }
    
    nav ul li a {
        display: block;
        padding: 15px;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .services-grid, .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        flex-direction: column;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 30px;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .hero {
        height: 60vh;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .btn {
        padding: 10px 20px;
    }
    
    .contact-form, .contact-info {
        min-width: 100%;
    }
    
    .cookie-buttons {
        flex-direction: column;
    }
    
    .cookie-buttons .btn {
        width: 100%;
    }
}

/* Blog Article Page Styles */
.blog-article {
    margin-top: 80px;
    padding: 40px 0;
    background-color: var(--light-color);
}

.blog-article .container {
    max-width: 900px;
    background-color: white;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.article-header {
    margin-bottom: 30px;
    text-align: center;
}

.article-header h1 {
    color: var(--primary-color);
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.article-meta {
    display: flex;
    justify-content: center;
    gap: 20px;
    color: var(--gray-color);
    font-size: 0.9rem;
    margin-top: 10px;
}

.article-image {
    text-align: center;
    margin-bottom: 30px;
    background-color: var(--light-color);
    padding: 20px;
    border-radius: var(--border-radius);
}

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

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

.article-content p {
    margin-bottom: 20px;
    color: #333;
}

.article-content h2 {
    margin-top: 40px;
    text-align: left;
    color: var(--primary-color);
    font-size: 1.7rem;
    border-bottom: 2px solid var(--light-color);
    padding-bottom: 10px;
}

.article-content h2::after {
    display: none;
}

.article-content h3 {
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 1.3rem;
    color: var(--secondary-color);
}

.article-content ul, .article-content ol {
    margin: 20px 0;
    padding-left: 25px;
    background-color: var(--light-color);
    padding: 20px 20px 20px 45px;
    border-radius: var(--border-radius);
}

.article-content ul li, .article-content ol li {
    margin-bottom: 10px;
    list-style-type: disc;
    line-height: 1.6;
}

.article-content ol li {
    list-style-type: decimal;
}

.article-content strong {
    color: var(--dark-color);
    font-weight: 600;
}

.article-footer {
    text-align: center;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.article-footer .btn {
    font-size: 1.05rem;
    padding: 12px 30px;
    transition: transform 0.3s ease;
}

.article-footer .btn:hover {
    transform: translateY(-3px);
}

/* Legal Pages Styles */
.legal-content {
    margin-top: 80px;
    padding: 40px 0;
}

.legal-content .container {
    max-width: 900px;
}

.legal-content h1 {
    text-align: center;
    margin-bottom: 10px;
    font-size: 2.2rem;
    color: var(--primary-color);
}

.legal-content p em {
    display: block;
    text-align: center;
    margin-bottom: 30px;
    color: var(--gray-color);
    font-size: 0.9rem;
}

.legal-content section {
    margin-bottom: 30px;
    background-color: white;
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.legal-content h2 {
    margin-bottom: 20px;
    text-align: left;
    color: var(--primary-color);
    font-size: 1.5rem;
    border-bottom: 2px solid var(--light-color);
    padding-bottom: 10px;
}

.legal-content h2::after {
    display: none;
}

.legal-content h3 {
    margin-top: 20px;
    margin-bottom: 10px;
    font-size: 1.2rem;
    color: var(--dark-color);
}

.legal-content p {
    margin-bottom: 15px;
    line-height: 1.6;
}

.legal-content ul {
    margin: 15px 0;
    padding-left: 20px;
}

.legal-content ul li {
    margin-bottom: 8px;
    list-style-type: disc;
    line-height: 1.5;
}

.legal-content a {
    color: var(--primary-color);
    text-decoration: underline;
    transition: var(--transition);
}

.legal-content a:hover {
    color: var(--secondary-color);
}

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

.thank-you-content {
    max-width: 700px;
    margin: 0 auto;
    padding: 40px;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

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

.thank-you h1 {
    margin-bottom: 20px;
    color: var(--success-color);
}

.thank-you p {
    margin-bottom: 20px;
}

.thank-you-info {
    margin: 30px 0;
    padding: 20px;
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    text-align: left;
}

.thank-you-info h2 {
    text-align: left;
    font-size: 1.5rem;
}

.thank-you-info h2::after {
    margin-left: 0;
}

.thank-you-links {
    margin: 15px 0;
    padding-left: 20px;
}

.thank-you-links li {
    margin-bottom: 10px;
    list-style-type: disc;
}

.thank-you .btn {
    margin-top: 20px;
}
