/* Font imports for home page */
@import url('https://fonts.googleapis.com/css2?family=Bellefair:wght@400&family=Noto+Serif:wght@400;700&family=Nunito:wght@300;400;600;700&display=swap');

/* Color variables for the home page */
:root {
    --hawwa-purple: #7b79d9;
    --hawwa-lavender: #9d9ae0;
    --hawwa-sage: #dce9c2;
    --hawwa-sky: #d6e4fd;
    --lilac: #9d9ae0;
    --sage: #dce9c2;
    --sky: #d6e4fd;
}

body {
    font-family: 'Nunito', sans-serif;
}

.brand-hawwa {
    font-family: 'Bellefair', serif;
    font-weight: 400;
    color: var(--hawwa-purple) !important;
}

/* Hero Section */
.hero-gradient {
    background: linear-gradient(135deg, rgba(157, 154, 224, 0.2) 0%, rgba(214, 228, 253, 0.2) 50%, rgba(220, 233, 194, 0.2) 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Decorative elements */
.floral-decoration {
    position: absolute;
    width: 200px;
    height: 200px;
    opacity: 0.1;
    pointer-events: none;
}

.floral-top-right {
    top: 20px;
    right: 20px;
    transform: rotate(15deg);
}

.floral-bottom-left {
    bottom: 20px;
    left: 20px;
    transform: rotate(-15deg);
}

/* Animations */
.animate-fade-in {
    animation: fadeIn 1s ease-out;
}

.animate-scale-in {
    animation: scaleIn 1s ease-out;
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* Hero Image Styling */
.hero-image-container {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.hero-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.hero-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(157, 154, 224, 0.2), transparent);
}

/* Floating Stats Card */
.floating-stats {
    position: absolute;
    bottom: -24px;
    left: -24px;
    background: white;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    animation: float 6s ease-in-out infinite;
}

.stats-icon {
    width: 48px;
    height: 48px;
    background: rgba(157, 154, 224, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--hawwa-purple);
    font-size: 24px;
}

/* Service Cards */
.service-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    transform-origin: center;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-card-content {
    padding: 24px;
}

/* Process Flow */
.process-step {
    text-align: center;
    margin-bottom: 40px;
}

.process-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 32px;
    color: white;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.step-lilac {
    background: linear-gradient(135deg, var(--lilac) 0%, rgba(157, 154, 224, 0.8) 100%);
}

.step-sky {
    background: linear-gradient(135deg, var(--sky) 0%, rgba(214, 228, 253, 0.8) 100%);
}

.step-sage {
    background: linear-gradient(135deg, var(--sage) 0%, rgba(220, 233, 194, 0.8) 100%);
}

/* B2B2C Model Cards */
.model-card {
    background: white;
    padding: 32px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.model-card:hover {
    transform: translateY(-8px);
}

.model-card-center {
    background: linear-gradient(135deg, var(--lilac) 0%, var(--sky) 100%);
    color: white;
    transform: translateY(-16px);
}

.model-card-center:hover {
    transform: translateY(-24px);
}

.model-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 32px;
}

.model-icon-vendors {
    background: linear-gradient(135deg, var(--lilac) 0%, rgba(157, 154, 224, 0.8) 100%);
    color: white;
}

.model-icon-hawwa {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: white;
}

.model-icon-mothers {
    background: linear-gradient(135deg, var(--sage) 0%, rgba(220, 233, 194, 0.8) 100%);
    color: white;
}

.min-vh-75 {
    min-height: 75vh;
}

.shadow-hover {
    transition: box-shadow 0.3s ease;
}

.shadow-hover:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.15) !important;
    transform: translateY(-2px);
}

.b2b-diagram {
    background: var(--hawwa-sage);
    border-radius: 20px;
    padding: 40px;
    border: 2px solid var(--hawwa-lavender);
}

.workflow-arrow {
    color: var(--hawwa-lavender);
    font-size: 2rem;
}

/* Button Styles - Updated with purple theme and hover effects */
.btn-hawwa-primary,
.btn-hawwa-outline,
.btn-hawwa-consultation {
    position: relative;
    overflow: hidden;
    border-radius: 30px !important;
    font-weight: 600 !important;
    letter-spacing: 0.5px !important;
    padding: 15px 30px !important;
    transition: all 0.3s ease !important;
    z-index: 1 !important;
}

/* Primary button - Purple background with lighter purple hover */
.btn-hawwa-primary {
    background-color: var(--hawwa-purple) !important;
    border: 2px solid var(--hawwa-purple) !important;
    color: white !important;
}

.btn-hawwa-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--hawwa-lavender) !important;
    transition: all 0.3s ease;
    z-index: -1;
}

.btn-hawwa-primary:hover {
    color: black !important;
    border-color: var(--hawwa-lavender) !important;
    text-decoration: underline !important;
    text-decoration-color: black !important;
    text-underline-offset: 4px !important;
}

.btn-hawwa-primary:hover::before {
    left: 0 !important;
}

/* Outline button - Same styling as primary */
.btn-hawwa-outline {
    background-color: var(--hawwa-purple) !important;
    border: 2px solid var(--hawwa-purple) !important;
    color: white !important;
}

.btn-hawwa-outline::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--hawwa-lavender) !important;
    transition: all 0.3s ease;
    z-index: -1;
}

.btn-hawwa-outline:hover {
    color: black !important;
    border-color: var(--hawwa-lavender) !important;
    text-decoration: underline !important;
    text-decoration-color: black !important;
    text-underline-offset: 4px !important;
}

.btn-hawwa-outline:hover::before {
    left: 0 !important;
}

/* Consultation button - Purple outline with white background */
.btn-hawwa-consultation {
    background-color: white !important;
    border: 2px solid var(--hawwa-purple) !important;
    color: var(--hawwa-purple) !important;
}

.btn-hawwa-consultation::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--hawwa-lavender) !important;
    transition: all 0.3s ease;
    z-index: -1;
}

.btn-hawwa-consultation:hover {
    color: black !important;
    border-color: var(--hawwa-lavender) !important;
    text-decoration: underline !important;
    text-decoration-color: black !important;
    text-underline-offset: 4px !important;
}

.btn-hawwa-consultation:hover::before {
    left: 0 !important;
}

/* Smaller consultation button */
.btn-hawwa-consultation {
    padding: 12px 24px !important;
    font-size: 14px !important;
}

/* Section Styles */
.section-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.section-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* Parallax Effects */
.parallax-container {
    overflow: hidden;
    position: relative;
}

.parallax-element {
    will-change: transform;
}

.parallax-bg {
    position: absolute;
    top: -20%;
    left: 0;
    width: 100%;
    height: 120%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: -1;
}

.parallax-float {
    transition: transform 0.1s ease-out;
}

.hero-parallax {
    position: relative;
    overflow: hidden;
}

/* Enhanced hero image with parallax */
.hero-image-parallax {
    transform: translateZ(0);
    backface-visibility: hidden;
    perspective: 1000;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Performance optimizations */
.parallax-element,
.hero-image-parallax,
.floating-stats {
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
}

/* Process Flow Responsive Layout - Updated for Carousel-Style Stacked Cards */
.support-steps-container {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    height: 400px;
    perspective: 1000px;
}

.support-step-card {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 700px;
    background: white;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    min-height: 350px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    opacity: 0;
    transform: translateX(-50%) translateY(50px) scale(0.8);
    z-index: 1;
    pointer-events: none;
}

/* Active card (center) */
.support-step-card.active {
    opacity: 1;
    transform: translateX(-50%) translateY(0) scale(1);
    z-index: 5;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    pointer-events: auto;
}

/* Previous card (left side) */
.support-step-card.prev {
    opacity: 0.4;
    transform: translateX(-85%) translateY(20px) scale(0.85) rotateY(15deg);
    z-index: 2;
    pointer-events: auto;
}

/* Next card (right side) */
.support-step-card.next {
    opacity: 0.4;
    transform: translateX(-15%) translateY(20px) scale(0.85) rotateY(-15deg);
    z-index: 2;
    pointer-events: auto;
}

.support-step-card:hover {
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.3);
}

.support-step-card.prev:hover,
.support-step-card.next:hover {
    opacity: 0.6;
    transform: translateX(-85%) translateY(15px) scale(0.88) rotateY(10deg);
}

.support-step-card.next:hover {
    transform: translateX(-15%) translateY(15px) scale(0.88) rotateY(-10deg);
}

.support-step-icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 48px;
    color: white;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.support-step-title {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #333;
}

.support-step-text {
    font-size: 18px;
    line-height: 1.6;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.support-navigation {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 40px;
}

.support-nav-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(123, 121, 217, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.support-nav-dot.active {
    background: var(--hawwa-purple);
    transform: scale(1.3);
}

.support-nav-dot:hover {
    background: var(--hawwa-lavender);
    transform: scale(1.2);
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .support-steps-container {
        height: 450px;
        max-width: 100%;
        padding: 0 20px;
    }
    
    .support-step-card {
        width: 100%;
        max-width: 400px;
        padding: 30px;
        min-height: 400px;
    }
    
    .support-step-card.prev {
        transform: translateX(-120%) translateY(30px) scale(0.7);
        opacity: 0.2;
    }
    
    .support-step-card.next {
        transform: translateX(20%) translateY(30px) scale(0.7);
        opacity: 0.2;
    }
    
    .support-step-icon {
        width: 80px;
        height: 80px;
        font-size: 36px;
    }
    
    .support-step-title {
        font-size: 24px;
    }
    
    .support-step-text {
        font-size: 16px;
    }
}
