/* Base styles */
:root {
    --primary-color: #8A2BE2; /* Deep purple */
    --primary-light: #A96BFF;
    --primary-dark: #5D1E9E;
    --secondary-color: #FFF;
    --text-color: #333;
    --text-light: #666;
    --bg-light: #F9F7FE;
    --bg-dark: #2C2033;
    --success-color: #28a745;
    --border-color: #E1D9F0;
    --shadow: 0 5px 15px rgba(138, 43, 226, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Raleway', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 20px;
    line-height: 1.2;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
}

section {
    padding: 100px 0;
}

section:nth-child(even) {
    background-color: var(--bg-light);
}

p {
    margin-bottom: 20px;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: var(--primary-dark);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow);
    z-index: 1000;
    padding: 15px 0;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin: 0;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    color: var(--text-color);
    font-weight: 500;
    padding: 5px 0;
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

nav ul li a:hover::after,
nav ul li a.active::after {
    width: 100%;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(rgba(44, 32, 51, 0.8), rgba(44, 32, 51, 0.8)), url('img/hero.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    margin-top: 0;
    padding-top: 80px;
}

.hero h1, .hero h2 {
    margin-bottom: 15px;
}

.hero h2::after {
    background-color: white;
}

.hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin-bottom: 30px;
}

/* About Section */
.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

/* Features Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(138, 43, 226, 0.15);
}

.feature-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.feature-card h3 {
    padding: 20px 20px 10px;
    color: var(--primary-dark);
}

.feature-card p {
    padding: 0 20px 20px;
    color: var(--text-light);
}

/* Target Audience Section */
.audience-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.audience-image {
    flex: 1;
}

.audience-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.audience-text {
    flex: 1;
}

.audience-item {
    margin-bottom: 25px;
}

.audience-item h3 {
    color: var(--primary-dark);
    margin-bottom: 10px;
    font-size: 1.3rem;
}

/* How It Works Section */
.steps {
    display: flex;
    justify-content: space-between;
    margin-top: 50px;
    text-align: center;
}

.step {
    flex: 1;
    padding: 0 20px;
    position: relative;
}

.step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 40px;
    right: 0;
    width: 100%;
    height: 2px;
}

.step-number {
    width: 80px;
    height: 80px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    font-weight: bold;
    margin: 0 auto 20px;
}

/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-item {
    overflow: hidden;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Testimonials Section */
.testimonials-slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
    gap: 30px;
    padding: 20px 0;
}

.testimonials-slider::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.testimonial {
    min-width: 300px;
    flex: 1;
    scroll-snap-align: start;
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.testimonial p {
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-author h4 {
    margin-bottom: 5px;
    color: var(--primary-dark);
}

.testimonial-author p {
    margin: 0;
    font-style: normal;
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Pricing Section */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.pricing-card {
    background-color: white;
    border-radius: 10px;
    padding: 40px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    position: relative;
    z-index: 1;
}

.pricing-card.featured {
    transform: scale(1.05);
    z-index: 2;
    background-color: var(--primary-light);
    color: white;
}

.pricing-card.featured h3,
.pricing-card.featured .price {
    color: white;
}

.pricing-card h3 {
    font-size: 1.5rem;
    color: var(--primary-dark);
}

.price {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-color);
    margin: 20px 0;
}

.pricing-card ul {
    list-style: none;
    margin: 30px 0;
    text-align: left;
}

.pricing-card ul li {
    margin-bottom: 15px;
    position: relative;
    padding-left: 30px;
}

.pricing-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.pricing-card.featured ul li::before {
    color: white;
}

.pricing-card .btn {
    margin-top: 20px;
}

.pricing-card:hover {
    transform: translateY(-10px);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

/* FAQ Section */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 30px;
}

.faq-item {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: var(--shadow);
}

.faq-item h3 {
    color: var(--primary-dark);
    margin-bottom: 15px;
    position: relative;
}

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 50px;
}

.contact-form form {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    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(138, 43, 226, 0.2);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-item h3 {
    color: var(--primary-dark);
    margin-bottom: 10px;
}

.map {
    margin-top: auto;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

/* Footer */
footer {
    background-color: var(--bg-dark);
    color: white;
    padding: 80px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 50px;
    margin-bottom: 50px;
}

.footer-logo h2 {
    color: white;
    margin-bottom: 15px;
}

.footer-logo p {
    opacity: 0.8;
}

.footer-nav h3,
.footer-legal h3 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.footer-nav ul,
.footer-legal ul {
    list-style: none;
}

.footer-nav ul li,
.footer-legal ul li {
    margin-bottom: 10px;
}

.footer-nav ul li a,
.footer-legal ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-nav ul li a:hover,
.footer-legal ul li a:hover {
    color: white;
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 992px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .about-content,
    .audience-content {
        flex-direction: column;
    }

    .steps {
        flex-direction: column;
        gap: 40px;
    }

    .step:not(:last-child)::after {
        display: none;
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        gap: 15px;
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }

    nav ul li {
        margin: 0 10px 10px;
    }

    .hero {
        text-align: center;
        height: auto;
        padding: 150px 0 100px;
    }

    .hero h2::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .hero p {
        margin: 0 auto 30px;
    }

    section {
        padding: 60px 0;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }
}