/* Base styles */
:root {
    --primary-color: #3D1E6D;
    --accent-color: #1FC8D5;
    --coral-color: #FF6B6B;
    --white-color: #FFFFFF;
    --dark-color: #333333;
    --gradient-primary: linear-gradient(135deg, #3D1E6D 0%, #1FC8D5 100%);
    --gradient-accent: linear-gradient(135deg, #1FC8D5 0%, #FF6B6B 100%);
    --container-width: 1200px;
    --heading-font: 'Montserrat', sans-serif;
    --body-font: 'Open Sans', sans-serif;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 40px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--body-font);
    line-height: 1.6;
    color: var(--dark-color);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

section {
    padding: 5rem 0;
}

.btn {
    display: inline-block;
    background: var(--accent-color);
    color: var(--white-color);
    padding: 0.8rem 1.8rem;
    border: none;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn:hover {
    background: var(--coral-color);
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -10px;
    width: 80px;
    height: 4px;
    background: var(--accent-color);
    transform: translateX(-50%);
}

/* Header and Navigation */
.main-header {
    background: var(--primary-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
}

.logo a {
    color: var(--white-color);
    font-size: 1.8rem;
    font-weight: 700;
    text-decoration: none;
    background: linear-gradient(90deg, var(--accent-color), var(--coral-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.main-nav ul {
    display: flex;
    list-style: none;
}

.main-nav li {
    margin-left: 1.5rem;
}

.main-nav a {
    color: var(--white-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: var(--accent-color);
    transition: width 0.3s;
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

.menu-toggle {
    display: none;
}

.menu-icon {
    display: none;
    cursor: pointer;
}

.menu-icon span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--white-color);
    margin: 5px 0;
    transition: all 0.3s;
}

/* Hero Section */
.hero {
    background: url('img/gMmty.jpg') no-repeat center center/cover;
    height: 90vh;
    color: var(--white-color);
    position: relative;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(61, 30, 109, 0.7);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    text-align: center;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--white-color);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* About Section */
.about {
    background: var(--white-color);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Services Section */
.services {
    background: #f9f9f9;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.service-card {
    background: var(--white-color);
    border-radius: 8px;
    padding: 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.service-card-content {
    padding: 2rem;
}

.service-card h3 {
    margin: 0 0 1rem 0;
    color: var(--primary-color);
}

/* Advantages Section */
.advantages {
    background: var(--gradient-primary);
    color: var(--white-color);
}

.advantages .section-title h2 {
    color: var(--white-color);
}

.advantages .section-title h2::after {
    background: var(--coral-color);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.advantage-item {
    text-align: center;
    padding: 2rem;
}

.advantage-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--coral-color);
}

/* Results Section */
.results {
    background: var(--white-color);
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.result-card {
    background: #f9f9f9;
    border-left: 4px solid var(--accent-color);
    padding: 2rem;
    border-radius: 0 8px 8px 0;
}

/* Testimonials Section */
.testimonials {
    background: #f9f9f9;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.testimonial-card {
    background: var(--white-color);
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    font-size: 5rem;
    position: absolute;
    top: 10px;
    left: 10px;
    color: rgba(31, 200, 213, 0.1);
    font-family: serif;
}

.testimonial-content {
    position: relative;
    z-index: 1;
}

.testimonial-author {
    margin-top: 1rem;
    font-weight: 600;
    color: var(--primary-color);
}

/* Contact Form Section */
.contact {
    background: var(--gradient-accent);
    color: var(--white-color);
}

.contact .section-title h2 {
    color: var(--white-color);
}

.contact .section-title h2::after {
    background: var(--white-color);
}

.contact-form-container {
    max-width: 600px;
    margin: 0 auto;
    background: var(--white-color);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.form-control {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

select.form-control {
    background-color: white;
}

select.form-control option {
    background-color: white;
    color: var(--dark-color);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.checkbox-group input {
    margin-right: 10px;
    margin-top: 5px;
}

.checkbox-group label {
    color: var(--dark-color);
    font-size: 0.9rem;
}

.checkbox-group a {
    color: var(--accent-color);
}

.submit-btn {
    background: var(--primary-color);
    color: var(--white-color);
    padding: 1rem 2rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    display: block;
    width: 100%;
}

.submit-btn:hover {
    background: var(--accent-color);
}

/* FAQ Section */
.faq {
    background: var(--white-color);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    position: relative;
    cursor: pointer;
}

.faq-question input {
    position: absolute;
    opacity: 0;
    z-index: -1;
}

.faq-question label {
    display: block;
    background: #f9f9f9;
    padding: 1rem;
    font-weight: 600;
    color: var(--primary-color);
    cursor: pointer;
}

.faq-question label::after {
    content: '+';
    position: absolute;
    right: 1rem;
    top: 1rem;
}

.faq-question input:checked + label::after {
    content: '-';
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s;
    background: var(--white-color);
}

.faq-question input:checked ~ .faq-answer {
    max-height: 500px;
}

.faq-answer-content {
    padding: 1rem;
    border-top: 1px solid #ddd;
}

/* Footer */
.main-footer {
    background: var(--primary-color);
    color: var(--white-color);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 2rem;
}

.footer-col h3 {
    color: var(--white-color);
    position: relative;
    padding-bottom: 0.8rem;
    margin-bottom: 1.5rem;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background: var(--accent-color);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a, .footer-col a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s;
}

.footer-links a:hover, .footer-col a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    background: var(--dark-color);
    color: var(--white-color);
    padding: 1rem 0;
    z-index: 1001;
    transition: bottom 0.5s;
}

.cookie-consent.active {
    bottom: 0;
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.cookie-content p {
    margin: 0.5rem 1rem 0.5rem 0;
    flex: 1;
}

.cookie-content a {
    color: var(--accent-color);
    text-decoration: underline;
}

#accept-cookies {
    background: var(--accent-color);
    color: var(--white-color);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
}

#accept-cookies:hover {
    background: var(--coral-color);
}

/* Thank You Page */
.thank-you {
    margin: 8rem auto 5rem;
    padding: 3rem;
    max-width: 600px;
    background: var(--white-color);
    border: 1px solid #ddd;
    border-radius: 8px;
    text-align: center;
}

/* Legal Pages */
.legal-page {
    padding: 5rem 0;
}

.legal-container {
    max-width: 900px;
    margin: 0 auto;
    background: var(--white-color);
    padding: 3rem;
    border: 1px solid #ddd;
    border-radius: 8px;
}

.legal-title {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #ddd;
}

.legal-content h2 {
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
}

.legal-content p, .legal-content ul, .legal-content ol {
    margin-bottom: 1.5rem;
}

.legal-content ul, .legal-content ol {
    margin-left: 1.5rem;
}

/* Media Queries */
@media (max-width: 992px) {
    .about-content {
        flex-direction: column;
    }
    
    .hero-content h1 {
        font-size: 3rem;
    }
    
    section {
        padding: 4rem 0;
    }
}

@media (max-width: 768px) {
    .menu-icon {
        display: block;
    }
    
    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        background: var(--primary-color);
        width: 100%;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .menu-toggle:checked ~ .main-nav {
        max-height: 400px;
    }
    
    .main-nav ul {
        flex-direction: column;
        padding: 1rem 0;
    }
    
    .main-nav li {
        margin: 0;
    }
    
    .main-nav a {
        display: block;
        padding: 0.8rem 1.5rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-content p {
        margin-bottom: 1rem;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    section {
        padding: 3rem 0;
    }
    
    .legal-container {
        padding: 1.5rem;
    }
}
