/* Global Styles */
:root {
    --primary: #FF6F3C;
    --accent: #7E57C2;
    --background: #FFF8F0;
    --heading: #2E2E2E;
    --text: #4A4A4A;
    --gradient-start: #FF6F3C;
    --gradient-end: #FF3C77;
    --white: #FFFFFF;
    --shadow: rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--background);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

main {
    flex: 1;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--heading);
    margin-bottom: 1rem;
    font-weight: 700;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--primary);
}

img {
    max-width: 100%;
    height: auto;
}

section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--heading);
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-title h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
    border-radius: 2px;
}

.button {
    display: inline-block;
    padding: 12px 25px;
    background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
    color: var(--white);
    border: none;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px var(--shadow);
    color: var(--white);
}

/* Header Styles */
.header {
    background-color: var(--white);
    box-shadow: 0 2px 10px var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo h1 {
    margin: 0;
    font-size: 2rem;
    background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-menu ul {
    display: flex;
    list-style: none;
}

.nav-menu li {
    margin-left: 30px;
}

.nav-menu a {
    color: var(--heading);
    font-weight: 500;
    position: relative;
}

.nav-menu a:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
    transition: width 0.3s ease;
}

.nav-menu a:hover:after,
.nav-menu a.active:after {
    width: 100%;
}

.cta-button {
    background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
    padding: 8px 18px;
    border-radius: 30px;
    color: var(--white) !important;
}

.cta-button:hover:after {
    display: none;
}

/* Mobile Menu */
.menu-toggle {
    display: none;
}

.toggle-button {
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    height: 21px;
    justify-content: space-between;
    position: relative;
    width: 30px;
    z-index: 10;
}

.bar {
    background-color: var(--heading);
    border-radius: 2px;
    height: 3px;
    transition: all 0.3s ease-in-out;
    width: 100%;
}

.bar.open:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.bar.open:nth-child(2) {
    opacity: 0;
}

.bar.open:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* Hero Section */
.hero {
    background: url('./img/yByxgY.jpg') no-repeat center center;
    background-size: cover;
    position: relative;
    padding: 120px 0;
    text-align: center;
    color: var(--white);
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(46, 46, 46, 0.8), rgba(126, 87, 194, 0.7));
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3.5rem;
    color: var(--white);
    margin-bottom: 20px;
    font-weight: 700;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 30px;
}

/* About Section */
.about {
    background-color: var(--white);
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 50px;
}

.about-image {
    flex: 1;
    min-width: 300px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px var(--shadow);
    transition: transform 0.3s ease;
}

.about-image:hover {
    transform: scale(1.02);
}

.about-text {
    flex: 1;
    min-width: 300px;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px var(--shadow);
}

.service-image {
    height: 200px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-content {
    padding: 25px;
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--heading);
}

/* Features Section */
.features {
    background-color: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.feature-item {
    text-align: center;
    padding: 30px 20px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    border-radius: 50%;
    color: var(--white);
    font-size: 30px;
}

/* Why Choose Us Section */
.why-us {
    background-color: var(--background);
}

.why-us-content {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
}

.why-us-image {
    flex: 1;
    min-width: 300px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px var(--shadow);
}

.why-us-text {
    flex: 1;
    min-width: 300px;
}

.why-us-list {
    list-style: none;
    margin-top: 20px;
}

.why-us-list li {
    padding: 10px 0;
    display: flex;
    align-items: center;
}

.why-us-list li:before {
    content: "✓";
    width: 25px;
    height: 25px;
    background-color: var(--accent);
    color: var(--white);
    border-radius: 50%;
    margin-right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

/* FAQ Section */
.faq {
    background-color: var(--white);
}

.faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px var(--shadow);
}

.faq-question {
    padding: 20px;
    background-color: var(--background);
    color: var(--heading);
    font-weight: 600;
    cursor: pointer;
    position: relative;
}

.faq-question::after {
    content: "+";
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-question::after {
    content: "-";
}

.faq-item.active .faq-answer {
    padding: 20px;
    max-height: 500px; /* Adjust based on your content */
}

/* Testimonials Section */
.testimonials {
    background-color: var(--background);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background-color: var(--white);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px var(--shadow);
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.testimonial-text {
    font-style: italic;
    position: relative;
    margin-bottom: 20px;
}

.testimonial-text:before {
    content: """;
    position: absolute;
    top: -20px;
    left: -10px;
    font-size: 4rem;
    color: var(--primary);
    opacity: 0.2;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
}

.testimonial-author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-author-info h4 {
    margin-bottom: 0;
    font-size: 1rem;
}

.testimonial-author-info p {
    color: var(--accent);
    font-size: 0.9rem;
}

/* Contact Form Section */
.contact {
    background-color: var(--white);
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--background);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px var(--shadow);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(126, 87, 194, 0.2);
    outline: none;
}

.checkbox-container {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.checkbox-container input[type="checkbox"] {
    margin-right: 10px;
    margin-top: 4px;
}

/* Footer Styles */
.footer {
    background-color: var(--heading);
    color: var(--white);
    padding: 60px 0 20px;
    margin-top: 50px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer h3, .footer h4 {
    color: var(--white);
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.footer h3:after, .footer h4:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
}

.footer-contact ul {
    list-style: none;
}

.footer-contact li {
    margin-bottom: 10px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
}

/* Cookie Consent */
#cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--heading);
    color: var(--white);
    z-index: 9999;
    padding: 15px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.cookie-content p {
    flex: 1;
    margin-right: 20px;
    margin-bottom: 10px;
}

#accept-cookies {
    padding: 8px 20px;
    background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
    border: none;
    color: var(--white);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

#accept-cookies:hover {
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

/* Policy Pages */
.policy-container {
    max-width: 900px;
    margin: 50px auto;
    background-color: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px var(--shadow);
    border: 1px solid #ddd;
}

.policy-title {
    color: var(--accent);
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--primary);
}

.policy-section {
    margin-bottom: 30px;
}

.policy-section h3 {
    color: var(--heading);
    margin-bottom: 15px;
}

/* Thank You Page */
.thanks-container {
    text-align: center;
    padding: 80px 20px;
    max-width: 600px;
    margin: 0 auto;
}

.thanks-icon {
    font-size: 5rem;
    color: var(--accent);
    margin-bottom: 20px;
}

.thanks-container h2 {
    color: var(--heading);
    margin-bottom: 20px;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background-color: var(--white);
        padding: 20px;
        box-shadow: 0 5px 10px var(--shadow);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease, padding 0.3s ease;
    }
    
    .nav-menu.open {
        max-height: 500px;
        padding: 20px;
    }
    
    .nav-menu ul {
        flex-direction: column;
    }
    
    .nav-menu li {
        margin: 15px 0;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .cookie-content {
        flex-direction: column;
    }
    
    .cookie-content p {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .about-content, .why-us-content {
        flex-direction: column;
    }
    
    .why-us-image {
        order: -1;
    }
    
    .service-card, .testimonial-card {
        margin-bottom: 30px;
    }
}

@media (max-width: 576px) {
    section {
        padding: 60px 0;
    }
    
    .hero {
        padding: 80px 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .policy-container {
        padding: 20px;
    }
}
