/* ==========================================================================
   GOLDEN CRUST BAKERY - PREMIUM STYLING SYSTEM
   A warm, high-end organic design system for artisan bakeries.
   ========================================================================== */

/* 1. Design Tokens & Variables */
:root {
    --color-bg-base: #FAF8F5;          /* Warm cream linen */
    --color-bg-card: #FFFFFF;          /* Pure white card */
    --color-bg-offset: #F4EFEA;        /* Sand warm beige */
    --color-text-primary: #1C1816;     /* Deep warm sourdough charcoal */
    --color-text-muted: #6E635C;       /* Soft organic brown-gray */
    --color-accent: #C49B66;           /* Premium warm gold/bronze */
    --color-accent-hover: #AB804E;     /* Darker golden bronze */
    --color-accent-light: #F7EFE5;     /* Ultra soft gold accent */
    --color-border: #E8E2D9;           /* Light organic sand border */
    --color-success: #4E6E58;          /* Olive forest green */
    
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Plus Jakarta Sans', system-ui, sans-serif;
    
    --shadow-sm: 0 4px 12px rgba(28, 24, 22, 0.03);
    --shadow-md: 0 12px 30px rgba(28, 24, 22, 0.06);
    --shadow-lg: 0 20px 40px rgba(28, 24, 22, 0.1);
    
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    --border-radius-lg: 24px;
    --border-radius-md: 16px;
    --border-radius-sm: 10px;
}

/* 2. Global Resets & Elements */
body {
    background-color: var(--color-bg-base);
    color: var(--color-text-primary);
    font-family: var(--font-body);
    font-size: 1.05rem;
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--color-text-primary);
    letter-spacing: -0.02em;
}

h1 { font-weight: 800; }

a {
    color: var(--color-accent);
    text-decoration: none;
    transition: var(--transition-fast);
}
a:hover {
    color: var(--color-accent-hover);
}

/* 3. Header & Navigation */
.navbar-premium {
    background: rgba(250, 248, 245, 0.85) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border);
    padding: 1.2rem 0;
    transition: var(--transition-smooth);
}

.navbar-premium.scrolled {
    padding: 0.8rem 0;
    box-shadow: var(--shadow-sm);
}

.navbar-brand-premium {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--color-text-primary) !important;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.navbar-brand-premium i {
    color: var(--color-accent);
    transform: rotate(-15deg);
    transition: var(--transition-smooth);
}

.navbar-brand-premium:hover i {
    transform: rotate(0deg) scale(1.1);
}

.nav-link-premium {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--color-text-primary) !important;
    padding: 0.5rem 1.2rem !important;
    border-radius: var(--border-radius-sm);
    transition: var(--transition-fast);
}

.nav-link-premium:hover {
    color: var(--color-accent) !important;
    background-color: var(--color-accent-light);
}

.nav-link-premium.active {
    color: var(--color-accent) !important;
    background-color: var(--color-accent-light);
}

/* 4. Buttons (Premium Treatments) */
.btn-premium {
    font-weight: 600;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    transition: var(--transition-smooth);
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-premium-primary {
    background-color: var(--color-text-primary);
    color: var(--color-bg-base);
}

.btn-premium-primary:hover {
    background-color: var(--color-accent);
    color: var(--color-bg-base);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(196, 155, 102, 0.25);
}

.btn-premium-accent {
    background-color: var(--color-accent);
    color: var(--color-bg-base);
}

.btn-premium-accent:hover {
    background-color: var(--color-accent-hover);
    color: var(--color-bg-base);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(196, 155, 102, 0.3);
}

.btn-premium-outline {
    background-color: transparent;
    border: 2px solid var(--color-border);
    color: var(--color-text-primary);
}

.btn-premium-outline:hover {
    background-color: var(--color-text-primary);
    border-color: var(--color-text-primary);
    color: var(--color-bg-base);
    transform: translateY(-2px);
}

/* 5. Custom Sections & Cards */
.hero-split {
    padding: 100px 0 140px 0;
    position: relative;
}

@media (max-width: 768px) {
    .hero-split {
        padding: 10px 0 80px 0;
    }
}

.hero-tag {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    color: var(--color-accent);
    display: inline-block;
    margin-bottom: 1rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

@media (max-width: 991px) {
    .hero-title { font-size: 2.8rem; }
}

.hero-description {
    font-size: 1.15rem;
    color: var(--color-text-muted);
    margin-bottom: 2.5rem;
}

.image-stack {
    position: relative;
    display: flex;
    justify-content: center;
}

.image-stack-back {
    position: absolute;
    width: 80%;
    height: 90%;
    background-color: var(--color-bg-offset);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-lg);
    top: 30px;
    left: 40px;
    z-index: 1;
}

.img-artisan {
    position: relative;
    z-index: 2;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--color-bg-card);
    transition: var(--transition-smooth);
    object-fit: cover;
}

.img-artisan:hover {
    transform: translateY(-5px);
}

/* Showcase Grid & Cards */
.section-header {
    margin-bottom: 4rem;
}

.section-subtitle {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    color: var(--color-accent);
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
}

.premium-card {
    background-color: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    overflow: hidden;
    height: 100%;
}

.premium-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-accent-light);
}

.partner-card {
    position: relative;
    padding: 2.2rem;
}

.partner-icon {
    width: 60px;
    height: 60px;
    background-color: var(--color-bg-offset);
    color: var(--color-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.8rem;
    transition: var(--transition-smooth);
}

.premium-card:hover .partner-icon {
    background-color: var(--color-accent);
    color: var(--color-bg-base);
    transform: scale(1.1) rotate(10deg);
}

.partner-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.partner-meta {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.6rem;
}

.partner-meta i {
    color: var(--color-accent);
}

/* Generic Full Width Background Helper */
.full-width-bg {
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    border-radius: 0 !important;
    border-left: none !important;
    border-right: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    width: 100vw;
}

/* Feature Showcase */
.feature-showcase {
    background-color: var(--color-bg-offset);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    padding: 5rem 0;
    margin-bottom: 6rem;
}

@media (max-width: 768px) {
    .feature-showcase { padding: 3rem 0; }
}

.feature-tag {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    color: var(--color-accent);
    margin-bottom: 1rem;
    display: block;
}

.feature-title {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.price-tag {
    display: inline-flex;
    align-items: baseline;
    gap: 0.3rem;
    background-color: var(--color-bg-base);
    border: 1px solid var(--color-border);
    padding: 0.6rem 1.4rem;
    border-radius: 50px;
    margin-bottom: 2rem;
}

.price-number {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--color-success);
    font-family: var(--font-heading);
}

.price-label {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    font-weight: 600;
}

.bullet-points {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.bullet-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 600;
}

.bullet-item i {
    color: var(--color-accent);
    font-size: 1.2rem;
}

/* 6. Footer (Premium Layout) */
.footer-premium {
    background-color: var(--color-text-primary);
    color: #DFDFDF;
    padding: 80px 0 30px 0;
    border-top: 5px solid var(--color-accent-bright);
}

.footer-brand {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.6rem;
    color: var(--color-bg-base);
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.footer-brand i {
    color: var(--color-accent-bright);
}

.footer-desc {
    color: #A69F99;
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-title {
    color: var(--color-bg-base);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.8rem;
    position: relative;
    padding-bottom: 0.6rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--color-accent-bright);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-link {
    color: #A69F99;
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.footer-link:hover {
    color: var(--color-accent-bright);
    transform: translateX(4px);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    font-size: 0.95rem;
    color: #A69F99;
}

.footer-contact-item i {
    color: var(--color-accent-bright);
    margin-top: 0.2rem;
}

.footer-newsletter-input {
    background-color: #27211E;
    border: 1px solid #362F2C;
    color: #FFF;
    padding: 0.8rem 1.2rem;
    border-radius: 50px 0 0 50px;
    width: calc(100% - 60px);
}

.footer-newsletter-input:focus {
    outline: none;
    border-color: var(--color-accent);
}

.footer-newsletter-btn {
    width: 60px;
    background-color: var(--color-accent);
    border: none;
    border-radius: 0 50px 50px 0;
    color: var(--color-bg-base);
    transition: var(--transition-fast);
}

.footer-newsletter-btn:hover {
    background-color: var(--color-accent-hover);
}

.footer-divider {
    border-top: 1px solid #27211E;
    margin: 40px 0 20px 0;
}

.footer-bottom {
    font-size: 0.85rem;
    color: #6E635C;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

/* 7. Story/About Narrative Elements */
.about-hero {
    text-align: center;
    margin-bottom: 5rem;
}

.narrative-dropcap::first-letter {
    font-family: var(--font-heading);
    font-size: 4.8rem;
    font-weight: 800;
    float: left;
    margin: 0.2rem 0.8rem 0 0;
    line-height: 0.8;
    color: var(--color-accent);
}

.premium-blockquote {
    border-left: 4px solid var(--color-accent);
    padding-left: 2rem;
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-style: italic;
    color: var(--color-text-primary);
    margin: 3rem 0;
}

/* 8. Luxury Form Treatments & Contact Page */
.premium-form-card {
    background-color: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    padding: 3rem;
}

@media (max-width: 576px) {
    .premium-form-card { padding: 1.5rem; }
}

.premium-form-label {
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-muted);
    margin-bottom: 0.5rem;
}

.premium-form-control {
    background-color: var(--color-bg-base);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-sm);
    padding: 0.9rem 1.2rem;
    font-weight: 500;
    color: var(--color-text-primary);
    transition: var(--transition-fast);
}

.premium-form-control:focus {
    background-color: var(--color-bg-card);
    border-color: var(--color-accent);
    box-shadow: 0 0 0 4px rgba(196, 155, 102, 0.1);
    outline: none;
}

/* 9. Administration Styling Panel */
.admin-login-body {
    background: radial-gradient(circle at 10% 20%, rgba(244, 239, 234, 1) 0%, rgba(250, 248, 245, 1) 90.1%);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 2rem;
}

.admin-login-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 480px;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.admin-login-header {
    background-color: var(--color-text-primary);
    color: var(--color-bg-base);
    padding: 2.5rem;
    text-align: center;
}

.admin-login-header h4 {
    font-family: var(--font-heading);
    font-weight: 800;
    margin: 0;
    font-size: 1.6rem;
    color: var(--color-bg-base);
}

.admin-login-header p {
    color: #A69F99;
    font-size: 0.9rem;
    margin: 0.5rem 0 0 0;
    font-weight: 500;
}

.admin-login-body-card {
    padding: 3rem 2.5rem;
}

/* =============================================
   11. WhatsApp Floating Button & Order Button
   ============================================= */

/* Floating WhatsApp Chat Button */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.75rem;
    text-decoration: none;
    z-index: 9999;
    box-shadow: 0 4px 18px rgba(37, 211, 102, 0.4), 0 2px 8px rgba(0, 0, 0, 0.12);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0;
    transform: translateY(30px) scale(0.8);
}

.whatsapp-float-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.whatsapp-float:hover {
    transform: translateY(-4px) scale(1.08);
    box-shadow: 0 8px 28px rgba(37, 211, 102, 0.5), 0 4px 12px rgba(0, 0, 0, 0.15);
    color: #ffffff;
}

.whatsapp-float:active {
    transform: translateY(-2px) scale(1.02);
}

/* Pulse Ring Animation */
.whatsapp-float-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: rgba(37, 211, 102, 0.3);
    animation: whatsappPulse 2.5s ease-out infinite;
    z-index: -1;
}

@keyframes whatsappPulse {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }
    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

/* Tooltip Label */
.whatsapp-float-tooltip {
    position: absolute;
    right: 72px;
    background-color: var(--color-text-primary);
    color: var(--color-bg-base);
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.whatsapp-float-tooltip::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: transparent transparent transparent var(--color-text-primary);
}

.whatsapp-float:hover .whatsapp-float-tooltip {
    opacity: 1;
    transform: translateX(0);
}

/* WhatsApp Order Button (used on order page) */
.btn-premium-whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    border: none !important;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3) !important;
}

.btn-premium-whatsapp:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45) !important;
    color: #ffffff !important;
    background: linear-gradient(135deg, #2EE370 0%, #15A76E 100%) !important;
}

.btn-premium-whatsapp:active {
    transform: translateY(-1px) !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 54px;
        height: 54px;
        font-size: 1.5rem;
    }

    .whatsapp-float-tooltip {
        display: none;
    }
}

/* ==========================================================================
   GALLERY & LIGHTBOX STYLES
   ========================================================================== */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

@media (max-width: 992px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    background-color: var(--color-bg-card);
    cursor: pointer;
    width: 100%;
    aspect-ratio: 4 / 3;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(28, 24, 22, 0.85) 0%, rgba(28, 24, 22, 0.25) 60%, rgba(28, 24, 22, 0) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 2;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-caption {
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
    transform: translateY(10px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item:hover .gallery-caption {
    transform: translateY(0);
}

/* Lightbox Styles */
.premium-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(28, 24, 22, 0.95);
    backdrop-filter: blur(10px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.premium-lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content-wrapper {
    max-width: 90%;
    max-height: 85vh;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.lightbox-image {
    max-width: 100%;
    max-height: 75vh;
    object-fit: contain;
    border-radius: var(--border-radius-sm);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    transform: scale(0.95);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.premium-lightbox.active .lightbox-image {
    transform: scale(1);
}

.lightbox-caption {
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 1.4rem;
    text-align: center;
    margin-top: 1rem;
    padding: 0 1rem;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 25px;
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 2.2rem;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 10000;
}

.lightbox-close:hover {
    opacity: 1;
    transform: scale(1.1);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #ffffff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    cursor: pointer;
    opacity: 0.7;
    transition: all 0.3s ease;
    z-index: 10000;
    backdrop-filter: blur(5px);
}

.lightbox-nav:hover {
    opacity: 1;
    background: var(--color-accent);
    color: #ffffff;
    transform: translateY(-50%) scale(1.1);
}

.lightbox-nav-left {
    left: 30px;
}

.lightbox-nav-right {
    right: 30px;
}

@media (max-width: 768px) {
    .lightbox-nav {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
    .lightbox-nav-left { left: 10px; }
    .lightbox-nav-right { right: 10px; }
    .lightbox-close { top: 10px; right: 15px; font-size: 1.8rem; }
}

/* ==========================================================================
   ORDER TRACKER & TIMELINE STYLES
   ========================================================================== */

.tracker-container {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-lg);
    padding: 3rem;
    box-shadow: var(--shadow-md);
    margin-top: 2rem;
}

.timeline-wrapper {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 3rem 0;
    width: 100%;
}

.timeline-line {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--color-border);
    transform: translateY(-50%);
    z-index: 1;
}

.timeline-progress {
    position: absolute;
    top: 50%;
    left: 0;
    height: 4px;
    background: var(--color-accent);
    transform: translateY(-50%);
    z-index: 2;
    transition: width 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.timeline-step {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 3;
    text-align: center;
    width: 120px;
}

.step-node {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--color-bg-base);
    border: 3px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--color-text-muted);
    transition: all 0.4s ease;
    cursor: default;
    box-shadow: var(--shadow-sm);
}

.timeline-step.active .step-node {
    border-color: var(--color-accent);
    color: var(--color-accent);
    background: var(--color-bg-card);
    box-shadow: 0 0 15px rgba(196, 155, 102, 0.4);
    transform: scale(1.1);
}

.timeline-step.completed .step-node {
    border-color: var(--color-accent);
    background: var(--color-accent);
    color: #ffffff;
}

.step-label {
    margin-top: 1rem;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-text-muted);
    transition: color 0.3s ease;
    font-family: var(--font-body);
}

.timeline-step.active .step-label {
    color: var(--color-text-primary);
}

.timeline-step.completed .step-label {
    color: var(--color-accent);
}

.step-desc {
    font-size: 0.72rem;
    color: var(--color-text-muted);
    margin-top: 0.2rem;
    line-height: 1.3;
}

@media (max-width: 768px) {
    .timeline-wrapper {
        flex-direction: column;
        align-items: flex-start;
        gap: 2.5rem;
        margin: 2rem 0;
        padding-left: 20px;
    }
    
    .timeline-line {
        top: 0;
        left: 44px;
        width: 4px;
        height: 100%;
        transform: translateX(-50%);
    }
    
    .timeline-progress {
        top: 0;
        left: 44px;
        width: 4px;
        transform: translateX(-50%);
        transition: height 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    }
    
    .timeline-step {
        flex-direction: row;
        text-align: left;
        width: 100%;
        gap: 1.5rem;
    }
    
    .step-label {
        margin-top: 0;
    }
    
    .step-desc {
        margin-top: 0;
    }
}

/* ==========================================================================
   TESTIMONIALS SECTION — "What Clients Say"
   ========================================================================== */

.testimonials-section {
    background: linear-gradient(160deg, var(--color-bg-offset) 0%, var(--color-bg-base) 50%, var(--color-bg-offset) 100%);
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--color-border);
    padding: 4rem 2rem;
}

/* Allow decorative elements to overflow Swiper slides without being clipped */
.testimonials-swiper,
.testimonials-swiper .swiper-wrapper,
.testimonials-swiper .swiper-slide {
    overflow: visible !important;
}

/* Position pagination dots beneath the testimonial cards */
.testimonials-swiper {
    position: relative; /* ensure absolute pagination positions relative to this */
    width: 100%;
    display: block;
    /* create extra space below slides so pagination can sit outside the cards */
    padding-bottom: 72px; /* increased to push dots further down */
}
.testimonials-swiper .swiper-pagination {
    /* Use document flow so pagination centers under the swiper container reliably */
    position: relative;
    left: auto;
    transform: none;
    bottom: auto;
    margin: 12px auto 0; /* small gap before the bullets */
    display: flex;
    justify-content: center;
    gap: 6px;
    z-index: 5;
}
.testimonials-swiper .swiper-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    opacity: 0.9;
}
.testimonials-swiper .swiper-pagination .swiper-pagination-bullet-active {
    background: var(--color-accent) !important;
}

@media (min-width: 992px) {
    .testimonials-section {
        padding: 5rem 3rem;
    }
}

/* Individual testimonial card */
.testimonial-card {
    position: relative;
    background-color: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-lg);
    padding: 2.5rem 2rem 2rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: visible;
    animation: testimonialFadeIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

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

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-accent-light);
}

/* Decorative large quote mark */
.testimonial-quote-mark {
    position: absolute;
    top: -16px;
    left: 24px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-hover) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(196, 155, 102, 0.35);
    z-index: 2;
}

.testimonial-quote-mark i {
    color: #ffffff;
    font-size: 1rem;
}

/* Star rating row */
.testimonial-stars {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1.2rem;
    margin-top: 0.4rem;
}

.testimonial-stars i {
    color: #E4A853;
    font-size: 0.9rem;
    animation: starPop 0.35s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.testimonial-stars i:nth-child(1) { animation-delay: 0.1s; }
.testimonial-stars i:nth-child(2) { animation-delay: 0.18s; }
.testimonial-stars i:nth-child(3) { animation-delay: 0.26s; }
.testimonial-stars i:nth-child(4) { animation-delay: 0.34s; }
.testimonial-stars i:nth-child(5) { animation-delay: 0.42s; }

@keyframes starPop {
    from {
        opacity: 0;
        transform: scale(0.3) rotate(-30deg);
    }
    to {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

/* Quote body text */
.testimonial-text {
    font-size: 1.02rem;
    line-height: 1.75;
    color: var(--color-text-muted);
    font-style: italic;
    flex: 1;
    margin-bottom: 1.5rem;
    position: relative;
}

/* Author info block */
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1.2rem;
    border-top: 1px solid var(--color-border);
}

/* CSS letter-initial avatar */
.testimonial-avatar {
    width: 50px;
    height: 50px;
    min-width: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.3rem;
    color: #ffffff;
    letter-spacing: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    transition: var(--transition-smooth);
}

.testimonial-card:hover .testimonial-avatar {
    transform: scale(1.1) rotate(5deg);
}

/* Image-based avatar (photo portrait) */
.testimonial-avatar-img {
    width: 50px;
    height: 50px;
    min-width: 50px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    border: 2px solid var(--color-accent-light);
    transition: var(--transition-smooth);
}

.testimonial-card:hover .testimonial-avatar-img {
    transform: scale(1.1) rotate(5deg);
    border-color: var(--color-accent);
}

.testimonial-author-info {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.testimonial-author-name {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-text-primary);
}

.testimonial-author-role {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    font-weight: 500;
}

/* Responsive */
@media (max-width: 576px) {
    .testimonials-section {
        padding: 3rem 1rem;
    }
    .testimonial-card {
        padding: 2rem 1.5rem 1.5rem;
    }
}