/* Base Styles */
:root {
    --bg-gradient-start: #FEF5DF;
    --bg-gradient-end: #FFD3B4;
    --text-color: #2A2A2A;
    --accent-color: #6A0572;
    --link-color: #009688;
    --block-bg-warm: #FFF4E6;
    --block-bg-coral: #FDEBEB;
    --white: #FFFFFF;
    --shadow-color: rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 70px; /* Adjust for fixed header height */
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, var(--bg-gradient-start), var(--bg-gradient-end));
    color: var(--text-color);
    line-height: 1.6;
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: var(--link-color);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-color);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3 {
    color: var(--text-color);
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    margin-top: -1rem; /* Move section titles up */
    position: relative;
}

h2:after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--accent-color);
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

section {
    padding: 3rem 0;
    padding-top: 1rem; /* Reduce top padding to position anchors higher */
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: darken(var(--accent-color), 10%);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(106, 5, 114, 0.3);
}

/* Header Styles */
.site-header {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 0.5rem 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 40px; /* Fixed height for better alignment */
}

.logo a {
    color: var(--text-color);
    font-size: 1.3rem;
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.desktop-nav ul {
    display: flex;
    list-style: none;
}

.desktop-nav li {
    margin-left: 1rem;
}

.desktop-nav a {
    color: var(--text-color);
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
    line-height: 1.3;
}

.desktop-nav a:hover {
    color: var(--accent-color);
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    position: relative;
}

.menu-toggle-input {
    display: none;
}

.menu-toggle-label {
    cursor: pointer;
    display: block;
    height: 26px;
    position: relative;
    width: 32px;
}

.bar {
    background-color: var(--text-color);
    display: block;
    height: 3px;
    position: absolute;
    transition: all 0.3s;
    width: 100%;
}

.bar:first-child {
    top: 0;
}

.bar:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.bar:last-child {
    bottom: 0;
}

.menu-toggle-input:checked + .menu-toggle-label .bar:first-child {
    transform: rotate(45deg);
    top: 11px;
}

.menu-toggle-input:checked + .menu-toggle-label .bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle-input:checked + .menu-toggle-label .bar:last-child {
    transform: rotate(-45deg);
    bottom: 11px;
}

.mobile-menu {
    display: none;
    background-color: var(--white);
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    padding: 1rem;
}

.mobile-menu ul {
    list-style: none;
}

.mobile-menu li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #eee;
}

.mobile-menu li:last-child {
    border-bottom: none;
}

.mobile-menu a {
    color: var(--text-color);
    font-weight: 500;
    display: block;
}

.menu-toggle-input:checked ~ .mobile-menu {
    display: block;
}

/* Hero Section */
.hero-section {
    padding: 4rem 0;
}

.hero-section .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-content {
    flex: 1;
    padding-right: 2rem;
}

.hero-image {
    flex: 1;
}

.hero-image img {
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* About Section */
.about-section {
    background-color: var(--block-bg-warm);
    padding: 4rem 0;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px var(--shadow-color);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-card h3 {
    padding: 1.5rem 1.5rem 0.5rem;
}

.service-card p {
    padding: 0 1.5rem 1.5rem;
}

/* Why Choose Us Section */
.why-us-section {
    background-color: var(--block-bg-coral);
    padding: 4rem 0;
}

.badges-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.trust-badge {
    background-color: var(--white);
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    flex: 1;
    min-width: 300px;
    box-shadow: 0 5px 15px var(--shadow-color);
}

.badge-icon {
    margin: 0 auto 1rem;
    width: 60px;
    height: 60px;
    background-color: rgba(106, 5, 114, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.badge-icon svg {
    width: 30px;
    height: 30px;
    stroke: var(--accent-color);
}

/* Testimonials Section */
.testimonials-carousel {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.testimonial-card {
    background-color: var(--white);
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 5px 15px var(--shadow-color);
    max-width: 350px;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1rem;
    position: relative;
    padding: 0 1rem;
}

.testimonial-text:before,
.testimonial-text:after {
    content: """;
    font-size: 2rem;
    color: var(--accent-color);
    opacity: 0.3;
    position: absolute;
}

.testimonial-text:before {
    top: -10px;
    left: -5px;
}

.testimonial-text:after {
    content: """;
    bottom: -20px;
    right: -5px;
}

.testimonial-author {
    text-align: right;
}

.testimonial-author span {
    display: block;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* FAQ Section */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--white);
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: 0 3px 10px var(--shadow-color);
}

.faq-toggle {
    display: none;
}

.faq-question {
    display: block;
    padding: 1.5rem;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    color: var(--text-color);
}

.faq-question:after {
    content: "+";
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: var(--accent-color);
    transition: all 0.3s ease;
}

.faq-toggle:checked + .faq-question:after {
    content: "-";
    transform: translateY(-50%) rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 1.5rem;
}

.faq-toggle:checked ~ .faq-answer {
    max-height: 1000px;
    padding-bottom: 1.5rem;
}

/* Order Form Section */
.form-container {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--white);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 20px var(--shadow-color);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.input-icon, .select-icon {
    position: relative;
}

.input-icon svg, .select-icon svg {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    stroke: var(--accent-color);
    opacity: 0.5;
}

.input-icon input, .select-icon select {
    width: 100%;
    padding: 0.75rem 0.75rem 0.75rem 2.5rem;
    border: 1px solid #ddd;
    border-radius: 50px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    outline: none;
}

.input-icon input:focus, .select-icon select:focus {
    border-color: var(--accent-color);
}

.select-icon select {
    appearance: none;
    padding-right: 2.5rem;
}

.select-icon svg:last-child {
    left: auto;
    right: 12px;
}

.checkbox-group {
    display: flex;
    align-items: center;
}

.checkbox-container {
    display: flex;
    align-items: center;
}

.checkbox-container input[type="checkbox"] {
    margin-right: 10px;
    accent-color: var(--accent-color);
    width: 18px;
    height: 18px;
}

/* Contact Section */
.contact-section {
    background-color: var(--block-bg-warm);
}

.contact-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: space-between;
}

.contact-item {
    flex: 1;
    min-width: 250px;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-icon {
    width: 45px;
    height: 45px;
    background-color: rgba(106, 5, 114, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 22px;
    height: 22px;
    stroke: var(--accent-color);
}

.contact-text h3 {
    margin-bottom: 0.5rem;
}

/* Footer */
.site-footer {
    background-color: #2A2A2A;
    color: #fff;
    padding: 3rem 0 1rem;
}

.footer-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 2rem;
    gap: 2rem;
}

.footer-about, .footer-links, .footer-contact {
    flex: 1;
    min-width: 250px;
}

.site-footer h3 {
    color: #fff;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.site-footer h3:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--accent-color);
}

.site-footer ul {
    list-style: none;
}

.site-footer li {
    margin-bottom: 0.75rem;
}

.site-footer a {
    color: #ddd;
}

.site-footer a:hover {
    color: var(--accent-color);
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact svg {
    width: 18px;
    height: 18px;
    stroke: var(--accent-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.legal-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

/* Thank You Page */
.thank-you-section {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.thank-you-content {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--white);
    border-radius: 10px;
    padding: 3rem;
    box-shadow: 0 5px 20px var(--shadow-color);
}

.thank-you-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
}

.thank-you-icon svg {
    width: 100%;
    height: 100%;
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--white);
    padding: 1rem;
    box-shadow: 0 -5px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1000;
}

.cookie-text {
    flex: 1;
}

.cookie-buttons {
    margin-left: 1rem;
}

/* Policy Pages */
.policy-container {
    max-width: 800px;
    margin: 2rem auto;
    background-color: var(--white);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 20px var(--shadow-color);
}

.policy-container h1 {
    text-align: center;
    margin-bottom: 2rem;
}

.policy-container h2 {
    text-align: left;
    margin-top: 2rem;
}

.policy-container h2:after {
    left: 0;
    transform: none;
}

.policy-container ul, .policy-container ol {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-section .container,
    .about-content {
        flex-direction: column;
    }

    .hero-content, .about-text {
        padding-right: 0;
        margin-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .badges-container {
        flex-direction: column;
    }

    .trust-badge {
        width: 100%;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .legal-links {
        justify-content: center;
        margin-bottom: 1rem;
    }
}