:root {
    --white: #FFFFFF;
    --powder: #FFFFEB;
    --byzantium: #6D2D55;
    --wisteria: #B7ADD5;
    --wisteria-hover: #a195c2;
    --champagne: #FFE9D2;
    --champagne-hover: #fce1c4;
    --shadow-soft: 0 10px 30px rgba(109, 45, 85, 0.08);
    /* byzantium */
    --shadow-hover: 0 15px 30px rgba(109, 45, 85, 0.15);
    /* wisteria */
}

html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--byzantium);
    background: linear-gradient(135deg, #FFFFEB 0%, #FFF0F5 50%, #F5ECF9 100%);
    background-attachment: fixed;
    line-height: 1.7;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Playfair Display', serif;
    color: var(--byzantium);
    line-height: 1.2;
}

a {
    text-decoration: none;
    transition: all 0.3s ease-in-out;
}

/* Header */
header {
    background-color: #FFFFFF;
    padding: 1.2rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 4px solid var(--wisteria);
    /* Sharp accent line */
    box-shadow: 0 4px 12px rgba(109, 45, 85, 0.05);
    /* Soft shadow beneath the border */
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--byzantium);
    letter-spacing: 0.5px;
}

.logo span {
    color: var(--wisteria);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2.5rem;
}

.nav-links li a {
    color: var(--byzantium);
    font-weight: 500;
    font-size: 1.05rem;
    position: relative;
    padding-bottom: 5px;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--wisteria);
    bottom: 0;
    left: 0;
    transition: width 0.3s ease-in-out;
}

.nav-links li a:hover {
    text-shadow: 0 0 1px currentColor;
}

.nav-links li a:hover::after {
    width: 100%;
}

.nav-links li a.active {
    color: var(--wisteria);
    text-shadow: 0 0 1px currentColor;
}

.nav-links li a.active::after {
    width: 100%;
}

.btn-cta {
    background-color: var(--wisteria);
    color: var(--byzantium);
    padding: 0.9rem 2rem;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 14px rgba(109, 45, 85, 0.15);
    /* byzantium */
    transition: all 0.3s ease-in-out;
    display: inline-block;
}

.btn-cta:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(183, 173, 213, 0.25);
    /* wisteria */
    background-color: var(--wisteria-hover);
}

@keyframes subtlePulse {
    0% {
        box-shadow: 0 4px 14px rgba(109, 45, 85, 0.15);
        transform: translateY(0);
    }

    50% {
        box-shadow: 0 6px 22px rgba(183, 173, 213, 0.5);
        transform: translateY(-2px);
    }

    100% {
        box-shadow: 0 4px 14px rgba(109, 45, 85, 0.15);
        transform: translateY(0);
    }
}

header .btn-cta {
    animation: subtlePulse 3s infinite ease-in-out;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5%;
    background: linear-gradient(135deg, var(--white) 0%, var(--powder) 100%);
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 850px;
    text-align: center;
    z-index: 2;
    margin-top: 80px;
}

.hero h1 {
    font-size: 4.8rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    animation: fadeUp 1s ease-in-out forwards;
    opacity: 0;
    transform: translateY(30px);
}

.hero p {
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 3rem;
    font-weight: 300;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeUp 1s ease-in-out 0.2s forwards;
    opacity: 0;
    transform: translateY(30px);
}

.hero .btn-cta {
    font-size: 1.15rem;
    padding: 1.2rem 3rem;
    animation: fadeUp 1s ease-in-out 0.4s forwards;
    opacity: 0;
    transform: translateY(30px);
}

/* Decorative elements in Hero */
.hero-blob {
    position: absolute;
    width: 400px;
    height: 400px;
    background-color: rgba(183, 173, 213, 0.3);
    /* wisteria */
    border-radius: 50%;
    top: -50px;
    right: -100px;
    filter: blur(100px);
    z-index: -1;
}

.hero-blob-2 {
    position: absolute;
    width: 400px;
    height: 400px;
    background-color: rgba(255, 233, 210, 0.5);
    /* champagne */
    border-radius: 50%;
    bottom: -50px;
    left: -100px;
    filter: blur(100px);
    z-index: -1;
}

/* Trust Section */
.trust {
    padding: 8rem 5%;
    background-color: transparent;
    display: flex;
    align-items: center;
    gap: 6rem;
}

.trust-content {
    flex: 1;
}

.trust h2 {
    font-size: 3rem;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1.2rem;
}

.trust h2::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--wisteria), transparent);
    bottom: 0;
    left: 0;
    border-radius: 2px;
}

.trust p {
    font-size: 1.15rem;
    margin-bottom: 1.8rem;
}

.trust-image {
    flex: 1;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    position: relative;
}

.trust-image img,
.premium-visual {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(109, 45, 85, 0.12);
    display: block;
    transition: transform 0.6s ease-in-out;
}

.trust-image:hover img,
.trust-image:hover .premium-visual {
    transform: scale(1.03);
}

.premium-list {
    list-style: none;
    padding: 0;
    margin: 30px 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.premium-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.premium-list .list-icon {
    color: #B7ADD5;
    font-size: 1.2rem;
    margin-top: 2px;
}

.premium-list .list-text {
    color: #6D2D55;
    line-height: 1.6;
    font-size: 1.05rem;
}

.premium-list .list-text strong {
    font-weight: 700;
    margin-right: 5px;
}

/* Services Section */
.services {
    padding: 8rem 5%;
    background-color: transparent;
}

.services-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 5rem;
}

.services-header h2 {
    font-size: 3.2rem;
    margin-bottom: 1.5rem;
}

.services-header p {
    font-size: 1.2rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
}

.service-card {
    background-color: var(--white);
    padding: 3.5rem 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(183, 173, 213, 0.15);
    /* wisteria */
    border-top: 4px solid var(--wisteria);
    transition: all 0.3s ease-in-out;
    position: relative;
    z-index: 1;
}

.service-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: var(--shadow-hover);
    border-color: rgba(183, 173, 213, 0.4);
}

.service-card .icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(183, 173, 213, 0.2), rgba(183, 173, 213, 0.05));
    color: var(--wisteria);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    transition: all 0.3s ease-in-out;
}

.service-card:hover .icon {
    transform: scale(1.08) rotate(5deg);
    background: var(--wisteria);
    color: var(--white);
}

.service-card h3 {
    font-size: 1.7rem;
    margin-bottom: 1.2rem;
}

.service-card p {
    font-size: 1.05rem;
    line-height: 1.6;
}

/* Process Section */
.process {
    padding: 8rem 5%;
    background-color: transparent;
}

.process-header {
    text-align: center;
    margin-bottom: 5rem;
}

.process-header h2 {
    font-size: 3.2rem;
    margin-bottom: 1.5rem;
}

.process-header p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

.timeline {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    gap: 2.5rem;
}

.timeline-item {
    background-color: var(--white);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease-in-out;
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    border-left: 4px solid transparent;
}

.timeline-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-left-color: var(--wisteria);
}

.timeline-number {
    width: 56px;
    height: 56px;
    background-color: var(--wisteria);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(183, 173, 213, 0.5);
    /* wisteria shadow */
    transition: all 0.3s ease-in-out;
}

.timeline-item:hover .timeline-number {
    background-color: var(--byzantium);
    color: var(--white);
    transform: scale(1.05) rotate(-5deg);
    box-shadow: var(--shadow-hover);
}

.timeline-content h3 {
    font-size: 1.6rem;
    margin-bottom: 0.8rem;
}

/* Booking Section */
.booking-section {
    padding: 8rem 5%;
    background-color: transparent;
}

.booking-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.booking-header h2 {
    font-size: 3.2rem;
    margin-bottom: 1.5rem;
}

.booking-header p {
    font-size: 1.15rem;
    color: var(--byzantium);
    line-height: 1.8;
}

.booking-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--white);
    border-radius: 12px;
    padding: 0;
    box-shadow: var(--shadow-soft);
    text-align: center;
    border: 1px dashed rgba(109, 45, 85, 0.2);
    overflow: hidden;
}

.booking-placeholder {
    color: var(--byzantium);
    opacity: 0.7;
}

.booking-placeholder i {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--wisteria);
}

.booking-placeholder p {
    font-size: 1.1rem;
    font-weight: 500;
}

/* Footer Section */
footer {
    background-color: transparent;
    padding: 6rem 5% 3rem;
    border-top: 1px solid rgba(109, 45, 85, 0.1);
    /* byzantium */
}

.footer-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 4rem;
    margin-bottom: 4rem;
    padding-bottom: 4rem;
    border-bottom: 1px solid rgba(109, 45, 85, 0.1);
}

.footer-cta {
    flex: 1;
    min-width: 320px;
    max-width: 500px;
}

.footer-cta h2 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
}

.footer-cta p {
    margin-bottom: 2.5rem;
    font-size: 1.1rem;
}

.footer-links {
    display: flex;
    gap: 5rem;
}

.footer-col h4 {
    color: var(--wisteria);
    margin-bottom: 1.8rem;
    font-family: 'Inter', sans-serif;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 1rem;
}

.footer-col ul li a {
    color: var(--byzantium);
    opacity: 0.8;
    display: inline-block;
    transition: all 0.3s ease-in-out;
}

.footer-col ul li a:hover {
    opacity: 1;
    color: #780DA7;
    /* Grape */
    transform: translateX(5px);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.95rem;
    opacity: 0.8;
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-links a {
    color: var(--byzantium);
    font-size: 1.4rem;
}

.social-links a:hover {
    color: var(--wisteria);
    transform: translateY(-3px) scale(1.1);
}

/* --- HelixEvos Logo Animations --- */

/* 1. The Keyframe for the Page Load (Refresh) */
@keyframes premiumFadeIn {
    0% {
        opacity: 0;
        transform: translateY(-15px);
        /* Starts slightly above */
    }

    100% {
        opacity: 1;
        transform: translateY(0);
        /* Glides into place */
    }
}

/* 2. Applying the Load Animation & Setting up the Hover Transition */
header .logo {
    display: inline-block;
    /* Required for transforms to work smoothly */
    animation: premiumFadeIn 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    /* The refresh animation */
    transition: transform 0.3s ease-in-out, text-shadow 0.3s ease-in-out;
}

header .logo span {
    transition: color 0.3s ease-in-out;
}

/* 3. The Hover Effect (When Navigating) */
header .logo:hover {
    transform: scale(1.03);
    /* A very subtle, premium size increase */
    text-shadow: 0 8px 20px rgba(109, 45, 85, 0.25);
    /* A soft Byzantium glow */
}

/* Optional: Make the "Evos" part change to Wisteria on hover for an extra visual pop */
header .logo:hover span {
    color: #B7ADD5;
}

/* Animations */
@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Global Image Responsiveness just to be safe */
img {
    max-width: 100%;
    height: auto;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 3.5rem;
    }

    .trust {
        flex-direction: column;
        gap: 4rem;
        padding: 6rem 5%;
    }

    .footer-links {
        gap: 3rem;
    }
}

@media (max-width: 768px) {

    /* Header/Nav Updates */
    .nav-links {
        display: none;
    }

    header {
        padding: 1rem 15px;
    }

    .logo {
        font-size: 1.5rem;
    }

    .btn-cta {
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
    }

    /* Reduce global section padding */
    .trust,
    .services,
    .process,
    .footer,
    .booking-section {
        padding: 40px 15px !important;
    }

    /* Hero Section */
    .hero {
        min-height: auto;
        padding: 120px 15px 60px 15px;
    }

    .hero h1 {
        font-size: 2.5rem;
        line-height: 1.2;
    }

    .hero p {
        font-size: 1.05rem;
        margin-bottom: 2rem;
    }

    /* Grid & Flex Fallbacks (Stack layout) */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .timeline-item {
        flex-direction: column;
        padding: 20px;
        gap: 20px;
    }

    .timeline {
        gap: 20px;
    }

    /* Trust Section adjustments */
    .trust h2,
    .services-header h2,
    .process-header h2,
    .booking-header h2,
    .footer-cta h2 {
        font-size: 2rem;
    }

    .trust-image {
        width: 100%;
    }

    /* Booking updates */
    .booking-container {
        padding: 0;
    }

    /* Footer Updates */
    .footer-top {
        flex-direction: column;
        gap: 2rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 2rem;
    }
}

/* Legal Page Back Button */
.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #6D2D55;
    /* Dark Byzantium for high visibility */
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 10px 20px;
    background-color: rgba(183, 173, 213, 0.15);
    /* Very soft Wisteria background */
    border-radius: 8px;
    transition: all 0.3s ease-in-out;
    margin-bottom: 20px;
}

.back-btn .arrow {
    transition: transform 0.3s ease-in-out;
}

.back-btn:hover {
    background-color: #B7ADD5;
    /* Solid Wisteria on hover */
    color: #FFFFEB;
    /* Powder text on hover */
    box-shadow: 0 4px 12px rgba(109, 45, 85, 0.15);
}

.back-btn:hover .arrow {
    transform: translateX(-5px);
    /* Motion graphic: Arrow slides to the left */
}

.faq-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    /* This creates the distinct separation between questions */
}

.faq-item {
    background-color: #FFFFFF;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(109, 45, 85, 0.05);
    overflow: hidden;
    transition: all 0.3s ease-in-out;
}

.faq-item:hover {
    box-shadow: 0 8px 25px rgba(109, 45, 85, 0.1);
}

.faq-item summary {
    padding: 1.5rem 2rem;
    font-size: 1.15rem;
    font-weight: 600;
    color: #6D2D55;
    /* Byzantium */
    cursor: pointer;
    list-style: none;
    position: relative;
    display: block;
}

/* Hide the default browser arrow */
.faq-item summary::-webkit-details-marker {
    display: none;
}

/* Create the custom chevron (v) icon like the screenshot */
.faq-item summary::after {
    content: '';
    position: absolute;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    width: 10px;
    height: 10px;
    border-bottom: 2px solid #780DA7;
    /* Grape color */
    border-right: 2px solid #780DA7;
    transition: transform 0.3s ease;
}

/* Flip the chevron (^) when the accordion is open */
.faq-item[open] summary::after {
    transform: translateY(-50%) rotate(225deg);
}

.faq-item p {
    padding: 0 2rem 1.5rem;
    color: #6D2D55;
    opacity: 0.85;
    line-height: 1.7;
    margin-top: 0;
}