/* Base Styles */
:root {
    --primary-color: #3498db;
    --secondary-color: #2980b9;
    --accent-color: #e74c3c;
    --dark-color: #2c3e50;
    --light-color: #ecf0f1;
    --text-color: #333;
    --border-color: #ddd;
    --success-color: #27ae60;
    --warning-color: #f39c12;
    --error-color: #e74c3c;
    --grey-color: #95a5a6;
    --bg-light: #f5f7fa;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&family=Montserrat:wght@400;600;700&display=swap');

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--dark-color);
}

p {
    margin-bottom: 15px;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

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

ul, ol {
    list-style-position: inside;
    margin-bottom: 15px;
}

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

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

.section {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--bg-light);
}

.bg-primary {
    background-color: var(--primary-color);
    color: white;
}

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

.text-left {
    text-align: left;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
}

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

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

.btn-secondary {
    background-color: white;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.btn-outline {
    background-color: #2980b9;
    border: 2px solid white;
    color: white;
}

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

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

.btn-light:hover {
    background-color: var(--light-color);
    color: var(--secondary-color);
}

.full-width {
    width: 100%;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--dark-color);
    color: white;
    padding: 15px 20px;
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

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

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

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

.cookie-settings {
    background-color: var(--light-color);
    color: var(--text-color);
    padding: 20px;
    margin-top: 15px;
    border-radius: 4px;
}

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

.cookie-option p {
    font-size: 14px;
    margin-top: 5px;
    color: var(--grey-color);
}

.hidden {
    display: none;
}

/* Header */
.header {
    background-color: white;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo img {
    height: 50px;
    width: auto;
}

.main-nav {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    list-style: none;
    margin: 0;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    color: var(--dark-color);
    font-weight: 500;
}

.nav-links a.active {
    color: var(--primary-color);
}

.nav-links a.btn {
    color: white;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--dark-color);
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
    background-color: var(--primary-color);
    color: white;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.2;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 650px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 25px;
    color: white;
}

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

.hero-cta {
    display: flex;
    gap: 15px;
}

/* Services Section */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--grey-color);
    max-width: 700px;
    margin: 0 auto;
}

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

.service-card {
    background-color: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

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

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

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

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.services-cta {
    text-align: center;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

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

.about-features li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.about-features svg {
    color: var(--success-color);
    margin-right: 15px;
    flex-shrink: 0;
}

.about-image img {
    border-radius: 8px;
    box-shadow: var(--shadow);
}

/* Testimonials Section */
.testimonials-slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    margin-bottom: 30px;
}

.testimonials-slider::-webkit-scrollbar {
    display: none;
}

.testimonial-card {
    flex: 0 0 100%;
    scroll-snap-align: start;
    padding: 0 15px;
}

.testimonial-content {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    position: relative;
}

.quote-icon {
    color: var(--primary-color);
    opacity: 0.2;
    position: absolute;
    top: 20px;
    left: 20px;
}

.testimonial-content p {
    font-style: italic;
    position: relative;
    z-index: 1;
    margin-top: 30px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    margin-top: 20px;
}

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

.author-info p {
    margin-bottom: 0;
    font-size: 14px;
    color: var(--grey-color);
}

.testimonials-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.prev-btn, .next-btn {
    background-color: white;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.prev-btn:hover, .next-btn:hover {
    background-color: var(--primary-color);
    color: white;
}

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

.blog-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

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

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

.blog-content {
    padding: 20px;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 14px;
    color: var(--grey-color);
}

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

.read-more {
    display: inline-block;
    margin-top: 10px;
    font-weight: 500;
}

/* CTA Section */
.newsletter-section {
    padding: 60px 0;
}

.newsletter-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.newsletter-form .form-group {
    margin-bottom: 15px;
}

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

.newsletter-form input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    transition: border-color 0.3s ease;
    background-color: white;
}

.newsletter-form input:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.form-check {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.form-check input {
    margin-right: 10px;
    margin-top: 4px;
    cursor: pointer;
}

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

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

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

.footer-column h3:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
    margin: 0;
}

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

.footer-links a {
    color: var(--light-color);
}

.footer-links a:hover {
    color: var(--primary-color);
}

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

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

.social-links a:hover {
    background-color: var(--primary-color);
    color: white;
}

.contact-info {
    list-style: none;
    margin: 0;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.contact-info svg {
    margin-right: 10px;
    margin-top: 3px;
    flex-shrink: 0;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Page Header */
.page-header {
    background-color: var(--primary-color);
    color: white;
    padding: 60px 0;
}

.page-header h1 {
    color: white;
    margin-bottom: 10px;
}

.breadcrumb {
    display: flex;
    list-style: none;
    margin: 0;
}

.breadcrumb li {
    margin-right: 5px;
}

.breadcrumb li:after {
    content: '/';
    margin-left: 5px;
}

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

.breadcrumb a {
    color: white;
    opacity: 0.8;
}

.breadcrumb .active {
    color: white;
}

/* Contact Page */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-details {
    margin-top: 30px;
}

.contact-item {
    display: flex;
    margin-bottom: 20px;
}

.contact-icon {
    margin-right: 20px;
    width: 50px;
    height: 50px;
    background-color: rgba(52, 152, 219, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    flex-shrink: 0;
}

.contact-text h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.contact-social {
    margin-top: 30px;
}

.form-card {
    background-color: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: var(--shadow);
}

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

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

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--primary-color);
    outline: none;
}

.map-section {
    height: 450px;
}

.map-container {
    height: 100%;
}

.map-container iframe {
    height: 100%;
    width: 100%;
    border: 0;
}

/* About Us Page */
.about-us-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-us-text p {
    margin-bottom: 20px;
}

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

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

.mission-icon {
    margin-bottom: 20px;
    color: var(--primary-color);
}

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

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

.team-avatar {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    color: var(--primary-color);
}

.team-position {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 10px;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
}

/* Services Page */
.services-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.services-hero-text p {
    margin-bottom: 20px;
}

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

.main-service-card {
    background-color: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: var(--shadow);
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 30px;
    align-items: start;
}

.main-service-icon {
    grid-row: span 3;
}

.service-features {
    list-style: disc;
    padding-left: 20px;
    margin-top: 15px;
}

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

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

.additional-service-icon {
    margin-bottom: 20px;
    color: var(--primary-color);
}

.process-steps {
    max-width: 800px;
    margin: 0 auto;
}

.process-step {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 30px;
    margin-bottom: 40px;
    position: relative;
}

.process-step:not(:last-child):after {
    content: '';
    position: absolute;
    left: 40px;
    top: 80px;
    height: calc(100% - 40px);
    width: 2px;
    background-color: var(--border-color);
}

.process-number {
    width: 80px;
    height: 80px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    z-index: 1;
}

.process-content h3 {
    margin-bottom: 10px;
}

/* Blog */
.blog-section {
    padding: 60px 0;
}

.blog-intro {
    max-width: 800px;
    margin: 0 auto 50px;
    text-align: center;
}

/* Article */
.article-container {
    max-width: 800px;
    margin: 0 auto;
}

.article-meta {
    margin-bottom: 20px;
    color: var(--grey-color);
}

.article-meta > span {
    margin-right: 15px;
}

.article-featured-image {
    margin-bottom: 30px;
}

.article-intro {
    font-size: 1.2rem;
    color: var(--dark-color);
    font-weight: 500;
    margin-bottom: 30px;
}

.article-content h2 {
    margin-top: 40px;
    margin-bottom: 20px;
}

.article-content h3 {
    margin-top: 30px;
    margin-bottom: 15px;
}

.article-image {
    margin: 30px 0;
    text-align: center;
    color: var(--primary-color);
}

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

.article-content pre {
    background-color: var(--light-color);
    padding: 15px;
    border-radius: 4px;
    overflow-x: auto;
    margin-bottom: 20px;
}

.article-content code {
    font-family: monospace;
}

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

.thanks-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 30px;
    color: var(--success-color);
}

.thanks-content h1 {
    margin-bottom: 15px;
}

.thanks-content p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 30px;
}

.thanks-cta {
    display: flex;
    gap: 15px;
    justify-content: center;
}

/* CTA Section */
.cta-section {
    text-align: center;
    padding: 80px 0;
}

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

.cta-content p {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 30px;
}

/* Subscribe Section */
.subscribe-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.subscribe-form {
    background-color: white;
    border-radius: 8px;
    padding: 25px;
    box-shadow: var(--shadow);
}

.subscribe-form .form-group {
    margin-bottom: 15px;
}

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

.subscribe-form input {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    transition: all 0.3s ease;
    background-color: white;
    font-size: 1rem;
}

.subscribe-form input:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.subscribe-form .btn {
    margin-top: 10px;
    padding: 14px 24px;
    font-weight: 500;
    font-size: 1rem;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .section {
        padding: 60px 0;
    }
    
    .hero {
        padding: 80px 0;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .main-services-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow);
        display: none;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links li {
        margin: 10px 0;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .about-grid,
    .services-hero-grid,
    .about-us-grid,
    .newsletter-grid,
    .subscribe-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .about-image,
    .services-hero-image {
        display: none;
    }
    
    .newsletter-content {
        text-align: center;
    }
    
    .section-header {
        margin-bottom: 30px;
    }
    
    .services-grid,
    .blog-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 60px 0;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .main-service-card {
        grid-template-columns: 1fr;
    }
    
    .main-service-icon {
        grid-row: auto;
        margin-bottom: 20px;
    }
    
    .service-card {
        padding: 20px;
    }
    
    .process-step {
        grid-template-columns: 60px 1fr;
    }
    
    .process-number {
        width: 60px;
        height: 60px;
    }
    
    .process-step:not(:last-child):after {
        left: 30px;
        top: 60px;
    }
    
    .thanks-cta {
        flex-direction: column;
    }
}