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

:root {
    --primary-color: #28a745;
    --primary-dark: #218838;
    --secondary-color: #f8f9fa;
    --text-color: #333;
    --text-light: #666;
    --border-color: #ddd;
    --shadow: 0 4px 6px rgba(0,0,0,0.1);
    --gradient: linear-gradient(135deg, #28a745 0%, #20c997 100%);
}

body {
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
}

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

/* Typography */
h1, h2, h3, h4 {
    font-weight: 600;
    line-height: 1.3;
}

p {
    max-width: 700px;
    font-weight: 400;
}

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

a:hover {
    color: var(--primary-dark);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 6px;
    font-weight: 400;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    text-align: center;
}

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

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

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

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

.btn-large {
    padding: 16px 40px;
    font-size: 18px;
}

/* 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: 10000;
    display: none;
}

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

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

.cookie-content p {
    margin: 0;
    flex: 1;
}

.cookie-content a {
    color: #4fc3f7;
}

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

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

.logo a {
    font-size: 24px;
    font-weight: 600;
    color: var(--primary-color);
}

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

.nav-list a {
    color: var(--text-color);
    font-weight: 400;
    transition: color 0.3s;
}

.nav-list a:hover,
.nav-list a.active {
    color: var(--primary-color);
}

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

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-color);
    transition: all 0.3s;
}

/* Hero Section */
.hero {
    background: var(--gradient);
    color: white;
    padding: 100px 0;
    text-align: center;
}

.hero-title {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero-text {
    font-size: 20px;
    margin: 0 auto 30px;
    opacity: 0.95;
}

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

/* Page Hero */
.page-hero {
    background: var(--gradient);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.page-hero h1 {
    font-size: 42px;
    margin-bottom: 15px;
}

/* Sections */
.section {
    padding: 80px 0;
}

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

.section-title {
    font-size: 36px;
    text-align: center;
    margin-bottom: 50px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    margin: -30px auto 50px;
    max-width: 600px;
}

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

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

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

.card-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.card h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

/* Content Blocks */
.content-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 80px;
}

.content-block.reverse {
    direction: rtl;
}

.content-block.reverse > * {
    direction: ltr;
}

.content-text h2 {
    margin-bottom: 20px;
    color: var(--primary-color);
}

.content-text p {
    margin-bottom: 15px;
}

.content-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

/* Statistics */
.statistics {
    background: var(--gradient);
    color: white;
    padding: 60px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 18px;
    opacity: 0.9;
}

/* Call to Action */
.cta {
    background: var(--gradient);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.cta-content h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 18px;
    margin: 0 auto 30px;
    opacity: 0.95;
}

/* Services Detailed */
.services-detailed {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.service-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 30px;
    padding: 30px;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.service-icon {
    font-size: 64px;
}

.service-content h2 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

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

.service-features li {
    padding: 8px 0;
    color: var(--text-light);
}

/* Process Steps */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.process-step {
    text-align: center;
    padding: 30px;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 600;
    margin: 0 auto 20px;
}

/* Team Grid */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

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

.team-image {
    margin-bottom: 20px;
    overflow: hidden;
    border-radius: 12px;
}

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

/* Why Grid */
.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.why-item {
    padding: 30px;
}

.why-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-color);
    opacity: 0.3;
    margin-bottom: 15px;
}

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

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

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

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

.blog-content {
    padding: 25px;
}

.blog-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 14px;
    color: var(--text-light);
}

.blog-category {
    color: var(--primary-color);
    font-weight: 500;
}

.blog-card h2 {
    font-size: 22px;
    margin-bottom: 15px;
}

/* Article */
.article-hero {
    padding: 60px 0;
    background: var(--secondary-color);
}

.article-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    font-size: 14px;
    color: var(--text-light);
}

.article-category {
    color: var(--primary-color);
    font-weight: 500;
}

.article-hero h1 {
    font-size: 42px;
    margin-bottom: 30px;
}

.article-featured-image {
    width: 100%;
    max-width: 1000px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    margin-top: 20px;
}

.article-content {
    padding: 60px 0;
}

.article-body {
    max-width: 800px;
    margin: 0 auto;
}

.article-body .lead {
    font-size: 20px;
    color: var(--text-light);
    margin-bottom: 30px;
}

.article-body h2 {
    font-size: 32px;
    margin: 40px 0 20px;
    color: var(--primary-color);
}

.article-body h3 {
    font-size: 24px;
    margin: 30px 0 15px;
}

.article-body p {
    margin-bottom: 20px;
    max-width: 100%;
}

.article-body ul {
    margin: 20px 0 20px 30px;
}

.article-body li {
    margin-bottom: 10px;
}

.article-cta {
    background: var(--secondary-color);
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    margin: 60px 0 40px;
}

.article-nav {
    margin-top: 40px;
}

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

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin: 30px 0;
}

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

.contact-icon {
    font-size: 32px;
}

.contact-item h3 {
    margin-bottom: 5px;
}

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

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

.social-icon {
    padding: 10px 20px;
    background: var(--primary-color);
    color: white;
    border-radius: 6px;
    transition: all 0.3s;
}

.social-icon:hover {
    background: var(--primary-dark);
    color: white;
}

/* Contact Form */
.contact-form-wrapper h2 {
    margin-bottom: 15px;
}

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

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

.required {
    color: red;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    font-family: inherit;
    font-size: 16px;
    transition: border-color 0.3s;
}

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

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

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

.form-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 6px;
    display: none;
}

.form-message.success {
    display: block;
    background: #d4edda;
    color: #155724;
}

.form-message.error {
    display: block;
    background: #f8d7da;
    color: #721c24;
}

/* Map Section */
.map-section {
    padding: 60px 0 0;
}

.map-section h2 {
    text-align: center;
    margin-bottom: 40px;
}

.map-wrapper iframe {
    display: block;
}

/* Legal Content */
.legal-content {
    max-width: 900px;
    margin: 0 auto;
}

.legal-content h2 {
    color: var(--primary-color);
    margin: 40px 0 20px;
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content p {
    margin-bottom: 15px;
    max-width: 100%;
}

.legal-content ul {
    margin: 15px 0 15px 30px;
}

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

/* FAQ */
.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 20px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: white;
    border: none;
    font-size: 18px;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    transition: background 0.3s;
}

.faq-question:hover {
    background: var(--secondary-color);
}

.faq-icon {
    font-size: 24px;
    color: var(--primary-color);
    transition: transform 0.3s;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s;
    background: var(--secondary-color);
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 20px;
    margin: 0;
    max-width: 100%;
}

.faq-cta {
    text-align: center;
    margin-top: 60px;
    padding: 60px 30px;
    background: var(--secondary-color);
    border-radius: 12px;
}

.faq-cta h2 {
    margin-bottom: 15px;
}

/* Footer */
.footer {
    background: #222;
    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 h3, .footer h4 {
    margin-bottom: 20px;
    color: var(--primary-color);
}

.footer p {
    opacity: 0.8;
    line-height: 1.8;
}

.footer a {
    color: white;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.footer a:hover {
    opacity: 1;
    color: white;
}

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

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

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

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

    .nav-list {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        display: none;
    }

    .nav-list.active {
        display: flex;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-text {
        font-size: 16px;
    }

    .section-title {
        font-size: 28px;
    }

    .content-block {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .content-block.reverse {
        direction: ltr;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .service-item {
        grid-template-columns: 1fr;
    }

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

    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}