/* 
   Mystic Luna - Official Styles
   Palette: 
   - Primary Purple: #5B2D82
   - Secondary Purple: #7A4BA3
   - Lavender: #EDE7F6
   - Primary Gold: #C6A75E
   - Hover Gold: #E4C77B
   - Base White: #FAF9F7
   - Dark Text: #2E2E2E
*/

:root {
    --color-primary-purple: #5B2D82;
    --color-secondary-purple: #7A4BA3;
    --color-dark-purple: #2C1A47;
    --color-lavender: #EDE7F6;
    --color-primary-gold: #C6A75E;
    --color-hover-gold: #E4C77B;
    --color-bg-white: #FAF9F7;
    --color-text-dark: #2E2E2E;
    --color-text-light: #F5F5F5;
    --color-white: #FFFFFF;

    --font-heading: 'Cinzel', serif;
    --font-body: 'Lato', sans-serif;

    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;

    --border-radius-btn: 30px;
    --border-radius-card: 16px;

    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 10px 30px rgba(91, 45, 130, 0.15);

    --transition-standard: all 0.3s ease;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg-white);
    color: var(--color-text-dark);
    line-height: 1.6;
    font-size: 16px;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--color-primary-purple);
    margin-bottom: var(--spacing-sm);
    line-height: 1.3;
}

p {
    margin-bottom: var(--spacing-sm);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-standard);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Utilities */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

.text-center {
    text-align: center;
}

.section-title {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: var(--spacing-md);
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-title::after {
    content: '☾';
    display: block;
    font-size: 1.5rem;
    color: var(--color-primary-gold);
    margin-top: var(--spacing-xs);
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.center-title {
    text-align: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 32px;
    border-radius: var(--border-radius-btn);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    cursor: pointer;
    border: none;
    text-align: center;
    transition: var(--transition-standard);
    min-height: 48px;
    /* Ensure consistent height */
}

.btn-primary {
    background-color: var(--color-primary-gold);
    color: var(--color-white);
    background-image: linear-gradient(45deg, var(--color-primary-gold), var(--color-hover-gold));
    box-shadow: 0 4px 15px rgba(198, 167, 94, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(198, 167, 94, 0.6);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--color-white);
    color: var(--color-white);
}

.btn-secondary:hover {
    background-color: var(--color-white);
    color: var(--color-primary-purple);
}

.btn-block {
    display: block;
    width: 100%;
}

/* Header */
header {
    background-color: #1a0f2e;
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    padding: var(--spacing-sm) 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 85px;
    width: auto;
    object-fit: contain;
}

.logo-symbol {
    display: none;
    /* Hide if still present in other components */
}

.nav-list {
    display: flex;
    gap: var(--spacing-md);
    align-items: center;
}

.nav-link {
    font-weight: 400;
    color: var(--color-white);
    position: relative;
}

.nav-link:hover {
    color: var(--color-primary-gold);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--color-primary-gold);
    transition: width 0.3s;
}

.nav-link:hover::after {
    width: 100%;
}

.btn-header {
    background-color: var(--color-white);
    color: #1a0f2e;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 700;
}

.btn-header:hover {
    background-color: var(--color-primary-gold);
    color: var(--color-white);
}

.btn-header::after {
    display: none;
}

.nav-toggle,
.nav-close {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--color-white);
}

/* Hero Section */
/* Hero 2-Column Layout */
.hero {
    /* Existing styles maintained via cascade, just ensuring flex/grid alignment */
    padding-top: 80px;
    /* Slight adjustment for header */
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-primary-purple) 0%, var(--color-secondary-purple) 50%, var(--color-dark-purple) 100%);
    z-index: -2;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    z-index: -1;
}

/* Darker overlay for video readability */
.hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(28, 15, 46, 0.8);
    /* Semi-transparent dark purple */
    z-index: 0;
}

/* Add a subtle overlay pattern or texture if desired later */
.hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    z-index: -1;
}

.hero-subtitle {
    display: block;
    font-size: 1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: var(--spacing-sm);
    color: var(--color-primary-gold);
    animation: fadeInDown 1s ease-out;
}

.hero-title {
    margin-bottom: var(--spacing-sm);
    color: var(--color-white);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    line-height: 1.1;
}

.hero-title-main {
    display: block;
    font-size: 3.5rem;
    /* 56px */
    text-transform: uppercase;
    font-weight: 700;
    white-space: nowrap;
}

.hero-title-sub {
    display: block;
    font-size: 2.5625rem;
    /* 41px */
    color: var(--color-primary-gold);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
}

.hero-text {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 0 var(--spacing-md);
    color: rgba(255, 255, 255, 0.9);
    animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    /* Allow wrapping on small screens */
    gap: 15px;
    justify-content: flex-start;
    animation: fadeInUp 1s ease-out 0.6s both;
    margin-top: 20px;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 0.9rem;
    opacity: 0.8;
    animation: bounce 2s infinite;
}

.hero-container-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    width: 100%;
    min-height: 500px;
}

.hero-text-col {
    text-align: left;
    z-index: 2;
    max-width: 800px;
}

.hero-text-col .hero-subtitle,
.hero-text-col .hero-title,
.hero-text-col .hero-text {
    animation: none;
    /* Resetting previous animations to re-apply specific delay logic if needed, or keeping simple */
    opacity: 1;
    /* Reset for now to avoid complexity, or use new keyframes */
}

/* Override previous text alignment */
.hero-text-col .hero-buttons {
    justify-content: flex-start;
}

/* 3D Tarot Card Animation */
.hero-image-col {
    display: flex;
    justify-content: center;
    perspective: 1000px;
    /* Essential for 3D effect */
    z-index: 2;
}

.tarot-card-scene {
    width: 300px;
    /* Standard tarot ratio approx */
    height: 500px;
    position: relative;
    animation: floatingContainer 6s ease-in-out infinite;
}

.tarot-card {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 1s cubic-bezier(0.4, 0.2, 0.2, 1);
    cursor: pointer;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    border-radius: 15px;
    /* Rounded corners for the card */
}

/* Flip effect on hover or via JS class */
.tarot-card:hover {
    transform: rotateY(180deg);
}

.card-face {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 15px;
    overflow: hidden;
    border: 2px solid var(--color-primary-gold);
}

.card-face img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-front {
    transform: rotateY(180deg);
    /* This is the "revealed" side, initially hidden at back */
}

.card-back {
    transform: rotateY(0deg);
    /* This is the initial visible side (back of card) */
    background: linear-gradient(135deg, #2C1A47, #5B2D82);
}

@keyframes floatingContainer {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

@keyframes floatingCard {

    0%,
    100% {
        transform: translateY(0) rotateY(0deg);
    }

    50% {
        transform: translateY(-20px) rotateY(0deg);
    }

    /* Keep rotation consistent during float, only translateY */
}

/* Problem Section */
.problem-section {
    padding: var(--spacing-xl) 0;
    background-color: var(--color-white);
}

/* Vertical Problem Section Styles */
.problem-content-vertical {
    margin-bottom: var(--spacing-lg);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.problem-content-vertical .problem-text {
    max-width: 700px;
}

.problem-content-vertical .agitation-box {
    max-width: 800px;
}

/* Cards Grid */
.cards-grid {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    perspective: 1500px;
    padding: var(--spacing-md) 0;
    flex-wrap: wrap;
}

/* 3D Flip Card */
.card-flip-container {
    width: 280px;
    height: 420px;
    cursor: pointer;
    perspective: 1000px;
}

.card-flip-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border-radius: var(--border-radius-card);
}

.card-flip-container:hover .card-flip-inner {
    transform: rotateY(180deg);
}

.card-flip-front,
.card-flip-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: var(--border-radius-card);
    overflow: hidden;
    border: 2px solid var(--color-primary-gold);
}

.card-flip-front img,
.card-flip-back img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.card-flip-back {
    transform: rotateY(180deg);
}

/* Luxury Glow Effect */
.card-flip-container:hover .card-flip-inner {
    box-shadow: 0 0 30px rgba(198, 167, 94, 0.4);
}

/* Solution Section */
.solution-section {
    padding: var(--spacing-xl) 0;
    background-color: var(--color-bg-white);
}

.transformation-container {
    max-width: 900px;
    margin: 0 auto;
    background: var(--color-white);
    padding: var(--spacing-md);
    border-radius: var(--border-radius-card);
    box-shadow: var(--shadow-soft);
    border-top: 3px solid var(--color-primary-gold);
}

.transformation-intro {
    font-size: 1.1rem;
    margin-bottom: var(--spacing-md);
    line-height: 1.8;
}

.transformation-premisas {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.premisa-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    padding: 15px;
    border-radius: 12px;
    transition: var(--transition-standard);
    background: var(--color-bg-white);
    border: 1px solid transparent;
}

.premisa-item:hover {
    transform: translateX(10px);
    background: var(--color-lavender);
    border-color: var(--color-primary-purple);
}

.premisa-icon {
    font-size: 1.5rem;
}

.premisa-text {
    flex: 1;
}

.premisa-text strong {
    color: var(--color-primary-purple);
    display: block;
    margin-bottom: 2px;
    font-family: var(--font-heading);
}

.transformation-footer-text {
    text-align: center;
    margin: var(--spacing-md) 0 var(--spacing-sm);
    font-size: 1.2rem;
}

.divider.sm {
    width: 60px;
    height: 2px;
    background: var(--color-primary-gold);
    margin: var(--spacing-md) auto;
    opacity: 0.5;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-sm);
    margin-top: var(--spacing-sm);
}

.benefit-item {
    text-align: center;
    padding: var(--spacing-sm);
}

.benefit-icon {
    font-size: 1.5rem;
    color: var(--color-primary-gold);
    display: block;
    margin-bottom: 5px;
}

.benefit-item h4 {
    font-size: 1rem;
    margin-bottom: 5px;
    color: var(--color-primary-purple);
}

.benefit-item p {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.4;
}

@media (max-width: 900px) {
    .benefits-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .benefits-grid {
        grid-template-columns: 1fr;
    }
}

/* Services */
.services-section {
    padding: var(--spacing-xl) 0;
    background-color: var(--color-white);
}

.section-subtitle {
    color: #666;
    margin-bottom: var(--spacing-lg);
    margin-top: -20px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
}

.service-card {
    background: var(--color-bg-white);
    padding: var(--spacing-md);
    border-radius: var(--border-radius-card);
    text-align: center;
    transition: var(--transition-standard);
    border: 1px solid transparent;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--color-lavender);
    background: var(--color-white);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
}

.btn-link {
    color: var(--color-primary-purple);
    font-weight: 700;
    font-size: 0.9rem;
    margin-top: var(--spacing-sm);
    display: inline-block;
}

.btn-link:hover {
    color: var(--color-primary-gold);
}

/* Methodology */
.methodology-section {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(to bottom, var(--color-bg-white), var(--color-lavender));
}

.steps-container {
    display: flex;
    justify-content: space-between;
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.step-item {
    flex: 1;
    text-align: center;
    background: var(--color-white);
    padding: var(--spacing-md);
    border-radius: var(--border-radius-card);
    position: relative;
    box-shadow: var(--shadow-soft);
}

.step-number {
    width: 40px;
    height: 40px;
    background-color: var(--color-primary-purple);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    margin: -40px auto 20px;
    /* Overlap top */
    border: 3px solid var(--color-white);
}

/* Testimonials */
.testimonials-section {
    padding: var(--spacing-xl) 0;
    background-color: var(--color-white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.testimonial-card {
    background-color: var(--color-bg-white);
    padding: var(--spacing-md);
    border-radius: var(--border-radius-card);
    position: relative;
}

.testimonial-card::before {
    content: '“';
    font-family: var(--font-heading);
    font-size: 4rem;
    color: var(--color-primary-gold);
    opacity: 0.3;
    position: absolute;
    top: 10px;
    left: 10px;
    line-height: 1;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: var(--spacing-sm);
    z-index: 1;
    position: relative;
}

.testimonial-author {
    font-weight: 700;
    color: var(--color-primary-purple);
    text-align: right;
}

/* Booking Section */
.booking-section {
    padding: var(--spacing-xl) 0;
    background-color: var(--color-dark-purple);
    color: var(--color-white);
}

.booking-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
}

.booking-info h2 {
    color: var(--color-white);
}

.booking-info p {
    color: rgba(255, 255, 255, 0.8);
}

.contact-methods {
    margin-top: var(--spacing-md);
}

.method {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.method .icon {
    font-size: 1.5rem;
    background-color: rgba(255, 255, 255, 0.1);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.booking-form-container {
    background-color: var(--color-white);
    padding: var(--spacing-md);
    border-radius: var(--border-radius-card);
    color: var(--color-text-dark);
}

.custom-booking-form h3 {
    margin-bottom: var(--spacing-md);
    text-align: center;
}

.form-group {
    margin-bottom: 15px;
}

.form-row {
    display: flex;
    gap: 15px;
}

.form-row .form-group {
    flex: 1;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-size: 0.9rem;
    font-weight: 700;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: var(--font-body);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--color-primary-purple);
    outline: none;
    box-shadow: 0 0 0 2px rgba(91, 45, 130, 0.1);
}

.form-note {
    font-size: 0.8rem;
    color: #777;
    margin-top: 10px;
    text-align: center;
}

/* Footer */
.footer {
    background-color: #1a0f2e;
    /* Even darker purple */
    color: rgba(255, 255, 255, 0.7);
    padding: var(--spacing-lg) 0 var(--spacing-md);
    font-size: 0.9rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

.footer-logo .logo-symbol {
    display: none;
}

.logo-img-footer {
    height: 150px;
    width: auto;
    object-fit: contain;
    margin-bottom: 20px;
}

.footer-links h4 {
    color: var(--color-white);
    margin-bottom: 15px;
}

.footer-links ul li {
    margin-bottom: 8px;
}

.footer-legal {
    width: 100%;
    text-align: center;
    margin-top: var(--spacing-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 40px, 0);
    }

    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translate3d(0, -40px, 0);
    }

    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0) translateX(-50%);
    }

    40% {
        transform: translateY(-10px) translateX(-50%);
    }

    60% {
        transform: translateY(-5px) translateX(-50%);
    }
}

/* Responsive Design */
@media (max-width: 900px) {
    .section-title {
        font-size: 1.8rem;
    }

    .hero-title {
        text-align: center;
        align-items: center;
        line-height: 1.1;
    }

    .hero-title-main {
        font-size: 1.7rem;
        /* Adjusted to fit no-wrap on small screens */
        font-weight: 700;
        white-space: nowrap;
    }

    .hero-title-sub {
        font-size: 1.0625rem;
        /* 17px */
        font-weight: 700;
        letter-spacing: 0.5px;
        white-space: nowrap;
    }

    .problem-grid,
    .comparison-grid,
    .booking-wrapper,
    .steps-container,
    .hero-container-grid,
    .benefits-grid {
        grid-template-columns: 1fr;
        flex-direction: column;
    }

    .hero-container-grid {
        text-align: center;
        gap: var(--spacing-md);
        padding-top: 40px;
        /* Reduced from 100px to move text up */
        align-content: center;
    }

    .hero-text-col {
        text-align: left;
        order: 1;
    }

    .hero-text-col .hero-buttons {
        justify-content: flex-start;
    }

    .hero-image-col {
        display: flex;
        order: 2;
        height: 350px;
        /* Slightly smaller to fit better */
        justify-content: center;
    }

    .tarot-card-scene {
        width: 220px;
        height: 350px;
        margin: 0 auto;
    }

    .benefits-grid {
        grid-template-columns: 1fr 1fr;
    }

    /* Mobile Menu Fixes */
    .nav-list {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        height: 100vh;
        background-color: var(--color-white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.4s ease-in-out;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        z-index: 2000;
        padding: 2rem;
    }

    .nav-list.show-menu {
        right: 0;
    }

    .nav-link {
        font-size: 1.2rem;
        margin: 1rem 0;
    }

    /* Toggle visibility logic */
    .nav-toggle {
        display: block;
        font-size: 1.8rem;
        cursor: pointer;
        z-index: 2001;
        /* Ensure visible */
    }

    /* Hide hamburger when menu is open */
    body.menu-open .nav-toggle {
        opacity: 0;
        pointer-events: none;
    }

    .nav-close {
        display: block;
        position: absolute;
        top: 25px;
        right: 25px;
        font-size: 2rem;
        cursor: pointer;
        color: var(--color-primary-purple);
        z-index: 2002;
        background: rgba(255, 255, 255, 0.9);
        width: 45px;
        height: 45px;
        text-align: center;
        line-height: 45px;
        border-radius: 50%;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }

    .problem-visual {
        height: 300px;
        order: -1;
        width: 100%;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    /* Fix horizontal overflow */
    body,
    html {
        overflow-x: hidden;
        width: 100%;
    }

    .container {
        width: 90%;
        padding: 0;
        margin: 0 auto;
    }
}

/* =========================================
   Carousel Styles (Sliding)
   ========================================= */
.carousel-container {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    background: transparent;
}

.carousel-slide {
    min-width: 100%;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.65, 0, 0.35, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.carousel-slide img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    /* Subtle glow for the mistic look */
    filter: drop-shadow(0 0 10px rgba(198, 167, 94, 0.3));
}

/* Dots */
.carousel-dots {
    position: absolute;
    bottom: 15px;
    width: 100%;
    text-align: center;
    z-index: 10;
    left: 0;
}

.dot {
    cursor: pointer;
    height: 10px;
    width: 10px;
    margin: 0 5px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.dot.active,
.dot:hover {
    background-color: var(--color-primary-gold);
}

@keyframes fadeEffect {
    from {
        opacity: 0.4
    }

    to {
        opacity: 1
    }
}

/* =========================================
   Reveal Animations (SCROLL BASED)
   ========================================= */
.reveal {
    position: relative;
    opacity: 0;
    transition: all 1.2s cubic-bezier(0.17, 0.55, 0.55, 1);
    will-change: transform, opacity;
}

.reveal.active {
    opacity: 1;
    transform: translate(0, 0) scale(1);
}

.fade-bottom {
    transform: translateY(50px);
}

.fade-left {
    transform: translateX(-50px);
}

.fade-right {
    transform: translateX(50px);
}

.fade-scale {
    transform: scale(0.9);
}

/* Delay modifiers */
.delay-100 {
    transition-delay: 100ms;
}

.delay-200 {
    transition-delay: 200ms;
}

.delay-300 {
    transition-delay: 300ms;
}

.delay-400 {
    transition-delay: 400ms;
}