/* Base Styles */
:root {
    --primary-bg: #c1d4d4;
    --accent-color: #1d9948;
    --footer-bg: #101010;
    --heading-color: #0a4945;
    --text-color: #1f1f1f;
    --primary-btn: #1981ff;
    --secondary-btn: #672324;
    --white: #ffffff;
    --light-gray: #f5f5f5;
    --gray: #e0e0e0;
    --dark-gray: #333333;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Jost', sans-serif;
    color: var(--text-color);
    background-color: var(--primary-bg);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Jost', sans-serif;
    color: var(--heading-color);
    font-weight: 600;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--primary-btn);
    color: var(--white);
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: #0a6fd6;
    transform: translateY(-2px);
}

.secondary-btn {
    background-color: var(--secondary-btn);
}

.secondary-btn:hover {
    background-color: #551a1b;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.subtitle {
    font-size: 18px;
    color: var(--accent-color);
    font-weight: 500;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.title {
    font-size: 36px;
    margin-bottom: 20px;
}

.text {
    font-size: 16px;
    color: var(--text-color);
    margin-bottom: 20px;
}

/* Header Styles */
.header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    padding: 15px 0;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-size: 24px;
    font-weight: 700;
    color: var(--heading-color);
}

.logo span {
    color: var(--accent-color);
}

.main-nav ul {
    display: flex;
}

.main-nav li {
    margin-left: 30px;
}

.main-nav a {
    font-weight: 500;
    transition: color 0.3s ease;
}

.main-nav a:hover {
    color: var(--accent-color);
}

.mobile-menu-btn {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    transform: translateY(-150%);
    transition: transform 0.3s ease;
    z-index: 999;
}

.mobile-menu.active {
    transform: translateY(0);
}

.mobile-menu ul {
    display: flex;
    flex-direction: column;
}

.mobile-menu li {
    margin-bottom: 15px;
}

.mobile-menu a {
    font-weight: 500;
}

/* Banner Section */
.banner {
    padding: 180px 0 100px;
    background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('../img/36958.jpg');
    background-size: cover;
    background-position: center;
    color: var(--white);
    text-align: center;
}

.banner .subtitle {
    color: var(--white);
}

.banner .title {
    font-size: 48px;
    margin-bottom: 25px;
    color: var(--white);
}

.banner .text {
    color: var(--white);
    max-width: 700px;
    margin: 0 auto 30px;
}

/* About Section */
.about {
    padding: 100px 0;
}

.about .container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-image {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-image img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

.about-content {
    flex: 1;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 30px;
}

.tags span {
    background-color: var(--light-gray);
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 14px;
    color: var(--heading-color);
}

/* Services Section */
.services {
    padding: 100px 0;
    background-color: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background-color: var(--light-gray);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.service-card i {
    font-size: 40px;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

/* Why Us Section */
.why-us {
    padding: 100px 0;
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.why-us-card {
    display: flex;
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.why-us-card:hover {
    transform: translateY(-5px);
}

.why-us-card i {
    font-size: 30px;
    color: var(--accent-color);
    margin-right: 20px;
    flex-shrink: 0;
}

.why-us-content h3 {
    margin-bottom: 10px;
}

/* Stats Section */
.stats {
    padding: 80px 0;
    background-color: var(--accent-color);
    color: var(--white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.stat-card {
    text-align: center;
}

.stat-card h3 {
    font-size: 48px;
    color: var(--white);
    margin-bottom: 10px;
}

.stat-card p {
    font-size: 18px;
    opacity: 0.9;
}

/* Testimonials Section */
.testimonials {
    padding: 100px 0;
    background-color: var(--light-gray);
}

.testimonials-slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 30px;
    padding: 20px 0;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.testimonials-slider::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.testimonial-card {
    min-width: 350px;
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    scroll-snap-align: start;
}

.rating {
    color: #ffc107;
    margin-bottom: 15px;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
}

.client-name {
    font-weight: 600;
    margin-bottom: 5px;
}

.client-title {
    font-size: 14px;
    color: var(--dark-gray);
}

.slider-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.slider-prev, .slider-next {
    background-color: var(--accent-color);
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.slider-prev:hover, .slider-next:hover {
    background-color: #16853d;
}

/* Contact Section */
.contact {
    padding: 100px 0;
}

.contact .container {
    display: flex;
    gap: 50px;
}

.contact-form, .contact-info {
    flex: 1;
}

.contact-form {
    background-color: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--gray);
    border-radius: 4px;
    font-family: 'Jost', sans-serif;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
}

.form-group textarea {
    resize: vertical;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.info-item i {
    font-size: 20px;
    color: var(--accent-color);
    margin-right: 15px;
    margin-top: 3px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--light-gray);
    border-radius: 50%;
    color: var(--heading-color);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--accent-color);
    color: var(--white);
}

/* Footer */
.footer {
    background-color: var(--footer-bg);
    color: var(--white);
    padding: 70px 0 0;
}

.footer-content {
    display: flex;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-logo a {
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
    display: block;
    margin-bottom: 15px;
}

.footer-logo span {
    color: var(--accent-color);
}

.footer-logo p {
    opacity: 0.8;
    font-size: 14px;
}

.footer-links h3, .footer-legal h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-links li, .footer-legal li {
    margin-bottom: 10px;
}

.footer-links a, .footer-legal a {
    opacity: 0.8;
    font-size: 14px;
    transition: opacity 0.3s ease;
}

.footer-links a:hover, .footer-legal a:hover {
    opacity: 1;
    color: var(--accent-color);
}

.footer-bottom {
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 14px;
    opacity: 0.7;
}

/* Legal Pages */
.legal-content {
    padding: 120px 0 80px;
}

.legal-content h1 {
    font-size: 36px;
    margin-bottom: 20px;
}

.legal-content h2 {
    font-size: 24px;
    margin: 30px 0 15px;
}

.legal-content p, .legal-content ul {
    margin-bottom: 15px;
}

.legal-content ul {
    padding-left: 20px;
}

.legal-content li {
    margin-bottom: 10px;
    list-style-type: disc;
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 20px;
    max-width: 350px;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 20px;
    z-index: 1001;
    transform: translateX(-150%);
    transition: transform 0.5s ease;
}

.cookie-popup.show {
    transform: translateX(0);
}

.cookie-content p {
    margin-bottom: 15px;
    font-size: 14px;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

.cookie-btn {
    padding: 8px 15px;
    border: none;
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
    font-size: 14px;
    transition: opacity 0.3s ease;
}

.cookie-btn.accept {
    background-color: var(--accent-color);
    color: var(--white);
}

.cookie-btn.decline {
    background-color: var(--light-gray);
    color: var(--text-color);
}

.cookie-btn:hover {
    opacity: 0.9;
}

/* Thank You Popup */
.thank-you-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1002;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.thank-you-popup.show {
    opacity: 1;
    visibility: visible;
}

.thank-you-content {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    max-width: 400px;
    width: 90%;
}

.thank-you-content i {
    font-size: 50px;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.thank-you-content h3 {
    margin-bottom: 15px;
}

.thank-you-btn {
    padding: 10px 25px;
    background-color: var(--accent-color);
    color: var(--white);
    border: none;
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
    margin-top: 20px;
    transition: background-color 0.3s ease;
}

.thank-you-btn:hover {
    background-color: #16853d;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about .container {
        flex-direction: column;
    }
    
    .about-image, .about-content {
        flex: none;
        width: 100%;
    }
    
    .contact .container {
        flex-direction: column;
    }
    
    .footer-content {
        flex-wrap: wrap;
    }
}

@media (max-width: 768px) {
    .main-nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .banner {
        padding: 150px 0 80px;
    }
    
    .banner .title {
        font-size: 36px;
    }
    
    .why-us-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .footer-content > div {
        flex: 0 0 calc(50% - 25px);
        margin-bottom: 30px;
    }
}

@media (max-width: 576px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content > div {
        flex: 0 0 100%;
    }
    
    .testimonial-card {
        min-width: 280px;
    }
    
    .banner .title {
        font-size: 30px;
    }
    
    .title {
        font-size: 28px;
    }
    
    .subtitle {
        font-size: 16px;
    }
}