/* ============================================
   ArtisanInc - Main Stylesheet
   Modern Artisan Discovery Platform
   ============================================ */

/* ---------- RESET & GLOBAL ---------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #fefaf5;
    color: #2c2418;
    scroll-behavior: smooth;
    line-height: 1.5;
}

/* ---------- TYPOGRAPHY ---------- */
h1, h2, h3, h4 {
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* ---------- NAVBAR (GLASSMORPHISM) ---------- */
.navbar-new {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2.5rem;
    background: rgba(255, 248, 240, 0.96);
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    border-bottom: 1px solid #f0e2d4;
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo-new {
    display: flex;
    align-items: center;
}

.logo-full {
    height: 85px;  /* Adjust this value to make logo smaller or larger */
    width: auto;   /* Keeps the aspect ratio */
    display: block;
    object-fit: contain;
}

/* Optional: Add a max-width for very wide logos */
.logo-full {
    max-width: 180px;  /* Adjust based on your logo */
}

/* Responsive - smaller on mobile */
@media (max-width: 768px) {
    .logo-full {
        height: 32px;
        max-width: 140px;
    }
}

@media (max-width: 480px) {
    .logo-full {
        height: 28px;
        max-width: 120px;
    }
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    font-weight: 600;
    color: #4a3727;
    transition: 0.2s;
    font-size: 0.95rem;
}

.nav-links a:hover {
    color: #d97747;
    transform: translateY(-1px);
}

.btn-outline-light {
    background: transparent;
    border: 1.5px solid #e0cfc0;
    padding: 0.5rem 1.2rem;
    border-radius: 40px;
    font-weight: 600;
    transition: all 0.2s;
}

.btn-outline-light:hover {
    background: #f5ede6;
    border-color: #d97747;
}

.btn-primary-sm {
    background: #d97747;
    color: white !important;
    padding: 0.5rem 1.3rem;
    border-radius: 40px;
    box-shadow: 0 2px 8px rgba(217, 119, 71, 0.2);
    transition: all 0.2s;
}

.btn-primary-sm:hover {
    background: #c25e2e;
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(217, 119, 71, 0.25);
}

/* User Menu */
        .user-menu {
            position: relative;
        }
        
        .user-menu-btn {
            display: flex;
            align-items: center;
            gap: 8px;
            background: white;
            border: 1px solid #ede4db;
            padding: 6px 12px 6px 6px;
            border-radius: 40px;
            cursor: pointer;
            font-weight: 500;
            color: #2c2418;
            transition: all 0.2s;
        }
        
        .user-menu-btn:hover {
            border-color: #d47b3a;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
        }
        
        .user-avatar-small {
            width: 32px;
            height: 32px;
            background: linear-gradient(135deg, #d47b3a, #b55f2a);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-weight: 600;
            font-size: 0.9rem;
        }
        
        .user-avatar-small img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: 50%;
        }
        
        .user-dropdown {
            position: absolute;
            top: calc(100% + 8px);
            right: 0;
            background: white;
            border-radius: 16px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
            min-width: 220px;
            padding: 8px;
            border: 1px solid #ede4db;
            display: none;
            z-index: 1000;
        }
        
        .user-dropdown.show {
            display: block;
            animation: slideDown 0.2s ease;
        }
        
        @keyframes slideDown {
            from {
                opacity: 0;
                transform: translateY(-10px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        .user-dropdown a {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 10px 14px;
            text-decoration: none;
            color: #2c2418;
            border-radius: 10px;
            transition: all 0.2s;
            font-size: 0.9rem;
            font-weight: 500;
        }
        
        .user-dropdown a i {
            width: 20px;
            color: #6b5f52;
        }
        
        .user-dropdown a:hover {
            background: #faf6f2;
            color: #d47b3a;
        }
        
        .user-dropdown a:hover i {
            color: #d47b3a;
        }
        
        .user-dropdown hr {
            margin: 8px 0;
            border: none;
            border-top: 1px solid #ede4db;
        }
        
        .user-dropdown .logout-link {
            color: #d32f2f;
        }
        
        .user-dropdown .logout-link i {
            color: #d32f2f;
        }
        
        .user-dropdown .logout-link:hover {
            background: #fdeded;
            color: #d32f2f;
        }

/* ---------- HERO SECTION (WAVE) ---------- */
.hero-wave {
    position: relative;
    padding: 5rem 5% 2rem;  
    background-image: url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 600px;
    z-index: 1;
}



/* ============================================ */
/* Search Section - Outside Hero */
/* ============================================ */

.search-section {
    padding: 3rem 5% 1rem;
    background: linear-gradient(to bottom, #faf6f2 0%, white 100%);
    margin-top: -20px;
    position: relative;
    z-index: 5;
}

.search-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Search Card */
.search-card {
    max-width: 850px;
    margin: 0 auto;
    background: white;
    padding: 1rem;
    border-radius: 60px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    display: flex;
    gap: 10px;
    border: 1px solid #ede4db;
}

.search-card select,
.search-card input {
    padding: 16px 20px;
    border: none;
    background: transparent;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
}

.search-card select {
    border-radius: 40px;
    background: #faf6f2;
    color: #2c2418;
    font-weight: 500;
    cursor: pointer;
    min-width: 180px;
    border: 1px solid #ede4db;
}

.search-card input {
    flex: 1;
    outline: none;
}

.search-card input::placeholder {
    color: #b8a89a;
}

.search-card button {
    background: #d47b3a;
    color: white;
    border: none;
    padding: 0 35px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.2s;
    box-shadow: 0 4px 12px rgba(212, 123, 58, 0.3);
}

.search-card button:hover {
    background: #b55f2a;
    transform: translateY(-2px);
}

/* Category Strip */
.category-strip {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 2.5rem;
    padding-bottom: 1rem;
}

.pill {
    background: white;
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 500;
    border: 1.5px solid #ede4db;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    color: #2c2418;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pill i {
    color: #d47b3a;
    font-size: 1.1rem;
}

.pill:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    border-color: #d47b3a;
    background: white;
}

.pill.active {
    background: #d47b3a;
    color: white;
    border-color: #d47b3a;
}

.pill.active i {
    color: white;
}

/* Adjust hero to not have bottom padding for search */
.hero-wave {
    padding-bottom: 2rem;
}

/* Responsive */
@media (max-width: 768px) {
    .search-section {
        padding: 2rem 4% 1rem;
    }
    
    .search-card {
        flex-direction: column;
        background: transparent;
        box-shadow: none;
        border: none;
        gap: 12px;
    }
    
    .search-card select,
    .search-card input,
    .search-card button {
        width: 100%;
        border-radius: 40px;
        background: white;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
        border: 1px solid #ede4db;
    }
    
    .search-card button {
        justify-content: center;
        padding: 16px;
    }
    
    .category-strip {
        gap: 10px;
        margin-top: 2rem;
    }
    
    .pill {
        padding: 10px 18px;
        font-size: 0.9rem;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hero-wave {
        min-height: 500px;
        padding: 3rem 4% 4rem;
        background-attachment: scroll;
    }
    
    .hero-wave h1 {
        font-size: 2rem;
    }
}

/* ---------- FEATURED SECTION ---------- */
.featured-section {
    max-width: 1300px;
    margin: 3rem auto;
    padding: 0 2rem;
}

.section-header1 {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.section-header1 h2 {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.3px;
    background: linear-gradient(135deg, #2c2418, #5a4230);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.sort-drop {
    padding: 0.6rem 1.2rem;
    border-radius: 40px;
    border: 1px solid #e2cfbe;
    background: white;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: all 0.2s;
}

.sort-drop:hover {
    border-color: #d97747;
}

/* ============================================ */
/* Artisan Cards - Full Profile Picture Design */
/* ============================================ */

.artisan-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.artisan-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid #ede4db;
    opacity: 0;
    transform: translateY(20px);
}

.artisan-card.animated {
    opacity: 1;
    transform: translateY(0);
}

.artisan-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

/* Card Image - Full Width */
.card-image {
    position: relative;
    width: 100%;
    height: 240px;
    overflow: hidden;
    background: linear-gradient(145deg, #f5e7dd, #edd9cb);
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: block;
}

.artisan-card:hover .card-image img {
    transform: scale(1.05);
}

/* Verified Badge on Card */
.verified-badge-card {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
    color: #0369a1;
    padding: 6px 12px;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

.verified-badge-card i {
    color: #0369a1;
}

/* Status Badge on Card */
.status-badge-card {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
    padding: 6px 12px;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

.status-badge-card.available {
    color: #2e7d32;
}

.status-badge-card.available i {
    color: #2e7d32;
    font-size: 0.6rem;
}

.status-badge-card.busy {
    color: #ed6c02;
}

.status-badge-card.busy i {
    color: #ed6c02;
    font-size: 0.6rem;
}

/* Card Content */
.card-content {
    padding: 20px;
}

.card-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: #2c2418;
    line-height: 1.3;
}

.profession-tag {
    display: inline-block;
    background: #faf6f2;
    padding: 5px 14px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #4a3f35;
    margin-bottom: 15px;
    border: 1px solid #ede4db;
}

.rating-location {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 18px;
}

.rating-stars {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #2c2418;
    font-weight: 600;
}

.rating-stars i {
    color: #f5b342;
    font-size: 0.9rem;
}

.rating-stars span {
    font-weight: 700;
}

.review-count {
    color: #6b5f52;
    font-weight: 400;
    font-size: 0.85rem;
}

.location {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #6b5f52;
    font-size: 0.9rem;
}

.location i {
    color: #d47b3a;
    font-size: 0.85rem;
}

.view-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-weight: 600;
    color: #d47b3a;
    transition: gap 0.3s ease;
    padding: 8px 0;
    border-top: 1px solid #ede4db;
    width: 100%;
    margin-top: 5px;
}

.view-link:hover {
    gap: 12px;
    color: #b55f2a;
}

.view-link i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.view-link:hover i {
    transform: translateX(3px);
}

/* Responsive */
@media (max-width: 768px) {
    .artisan-grid {
        grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
        gap: 20px;
    }
    
    .card-image {
        height: 220px;
    }
}

@media (max-width: 480px) {
    .artisan-grid {
        grid-template-columns: 1fr;
    }
    
    .card-image {
        height: 200px;
    }
}

/* ── FOOTER ── */
.footer { background: #1a1410; padding: 2.5rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 60px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-brand .logo { margin-bottom: 16px; display: inline-flex;  filter: brightness(0) invert(1); }
.footer-brand .logo-text { color: #fff; }
.footer-brand p { color: rgba(255,255,255,0.4); font-size: 0.88rem; line-height: 1.7; margin-bottom: 20px; }
.footer-socials { display: flex; gap: 10px; }
.footer-socials a {
  width: 34px; height: 34px; border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255, 255, 255, 0.5); font-size: 0.75rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
}
.footer-socials a:hover { border-color: var(--terracotta); color: var(--terracotta); }
.footer-col h4 { color: #fff; font-size: 0.85rem; font-weight: 600; margin-bottom: 16px; letter-spacing: 0.05em; text-transform: uppercase; font-family: 'DM Sans', sans-serif; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a { color: rgba(255,255,255,0.4); font-size: 0.88rem; transition: color 0.2s; }
.footer-col ul a:hover { color: rgba(255,255,255,0.85); }
.footer-bottom { padding: 24px 0; text-align: center; }
.footer-bottom p { color: rgba(255,255,255,0.25); font-size: 0.82rem; }

/* ---------- FOOTER ---------- */
/*footer {
    background: #2c2418;
    color: #cfc2b4;
    padding: 2.5rem;
    text-align: center;
    margin-top: 4rem;
}

footer p {
    font-size: 0.9rem;
}

footer i {
    margin-right: 8px;
    color: #e88b5c;
}*/

/* ---------- ANIMATIONS ---------- */
@keyframes fadeSlide {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-once {
    animation: fadeSlide 0.5s ease forwards;
}

/* ---------- RESPONSIVE DESIGN ---------- */
@media (max-width: 850px) {
    .hero-wave h1 {
        font-size: 2.3rem;
    }
    
    .section-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .navbar-new {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }
    
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
}

@media (max-width: 750px) {
    .hero-wave {
        padding: 2.5rem 1rem 3rem;
    }
    
    .hero-wave h1 {
        font-size: 1.9rem;
    }
    
    .hero-wave p {
        font-size: 1rem;
    }
    
    .search-card {
        flex-wrap: wrap;
        border-radius: 40px;
        background: transparent;
        box-shadow: none;
        gap: 12px;
        padding: 0;
    }
    
    .search-card input,
    .search-card select,
    .search-card button {
        border-radius: 60px;
        width: 100%;
    }
    
    .search-card button {
        justify-content: center;
        padding: 0.9rem;
    }
    
    .category-strip {
        gap: 0.6rem;
        padding: 0.5rem 1rem;
    }
    
    .pill {
        padding: 0.5rem 1.2rem;
        font-size: 0.8rem;
    }
    
    .featured-section {
        padding: 0 1.2rem;
        margin: 2rem auto;
    }
    
    .artisan-grid {
        gap: 1.2rem;
        grid-template-columns: 1fr;
    }
    
    .card-title {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .logo-text {
        font-size: 1.3rem;
    }
    
    .hero-wave h1 {
        font-size: 1.6rem;
    }
    
    .section-header h2 {
        font-size: 1.6rem;
    }
    
    .rating-location {
        flex-direction: column;
        gap: 0.3rem;
    }
    
    .avatar-badge {
        width: 70px;
        height: 70px;
        font-size: 2.2rem;
    }
    
    footer {
        padding: 1.8rem;
        font-size: 0.8rem;
    }
}

/* ---------- UTILITY CLASSES ---------- */
.text-center {
    text-align: center;
}

.mt-2 {
    margin-top: 0.5rem;
}

.mb-3 {
    margin-bottom: 1rem;
}

/* ---------- CUSTOM SCROLLBAR (optional) ---------- */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1e5db;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: #c2a088;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a67c5e;
}

/* ============================================ */
/* Main Body Layout with Left Side Image       */
/* ============================================ */

.main-body-wrapper {
    display: flex;
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 5%;
    position: relative;
}

/* Left side - Half profile image */
.body-image-section {
    flex: 0 0 300px;
    position: sticky;
    top: 100px;
    height: 600px;
    align-self: flex-start;
}

.body-image-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: visible;
}

.body-profile-image {
    position: absolute;
    left: -30%;
    bottom: 0;
    width: 160%;
    height: 100%;
    object-fit: contain;
    object-position: left bottom;
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.12));
    pointer-events: none;
    z-index: 2;
}

/* Decorative elements behind the image */
.body-image-bg {
    position: absolute;
    left: -20%;
    bottom: 10%;
    width: 150%;
    height: 80%;
    background: radial-gradient(circle at 30% 70%, rgba(212, 123, 58, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 1;
}

.body-image-badge {
    position: absolute;
    bottom: 80px;
    left: 20px;
    background: white;
    padding: 12px 20px;
    border-radius: 50px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 3;
    border: 1px solid rgba(212, 123, 58, 0.15);
    backdrop-filter: blur(8px);
    background: rgba(255, 255, 255, 0.95);
}

.body-image-badge i {
    color: var(--primary);
    font-size: 1.2rem;
    background: rgba(212, 123, 58, 0.1);
    padding: 6px;
    border-radius: 50%;
}

.body-image-badge span {
    font-weight: 600;
    color: var(--secondary);
    font-size: 0.9rem;
}

/* Right side - Artisans content */
.artisans-content-section {
    flex: 1;
    min-width: 0; /* Prevents flex overflow */
}

/* Adjust featured section when in body wrapper */
.main-body-wrapper .featured-section {
    padding: 0;
    max-width: 100%;
}

/* Decorative dots */
.body-dots {
    position: absolute;
    left: -10px;
    top: 20%;
    width: 100px;
    height: 100px;
    background-image: radial-gradient(circle, rgba(212, 123, 58, 0.15) 2px, transparent 2px);
    background-size: 15px 15px;
    z-index: 1;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .body-image-section {
        flex: 0 0 250px;
    }
    
    .body-profile-image {
        left: -40%;
        width: 180%;
    }
}

@media (max-width: 968px) {
    .main-body-wrapper {
        flex-direction: column;
    }
    
    .body-image-section {
        position: relative;
        top: 0;
        flex: 0 0 300px;
        width: 100%;
        margin-bottom: 20px;
    }
    
    .body-profile-image {
        left: 50%;
        transform: translateX(-50%);
        width: auto;
        max-width: 350px;
        height: 100%;
        object-position: center bottom;
    }
    
    .body-image-badge {
        left: 50%;
        transform: translateX(-50%);
        bottom: 20px;
    }
    
    .body-image-bg {
        left: 50%;
        transform: translateX(-50%);
        width: 400px;
    }
}

@media (max-width: 480px) {
    .body-image-section {
        flex: 0 0 250px;
    }
    
    .body-profile-image {
        max-width: 280px;
    }
}

/* Animation for the body image */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.body-image-section {
    animation: fadeInLeft 0.8s ease-out;
}

/* Optional: Add a subtle border to separate sections */
.body-image-section::after {
    content: '';
    position: absolute;
    right: -20px;
    top: 10%;
    height: 80%;
    width: 1px;
    background: linear-gradient(to bottom, transparent, var(--border-light), transparent);
}

@media (max-width: 968px) {
    .body-image-section::after {
        display: none;
    }
}

/* ============================================ */
/* Authentication Pages Styles (Matching Main Site) */
/* ============================================ */

.auth-section {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 5%;
    background: linear-gradient(135deg, #fefaf7 0%, var(--light-bg) 100%);
}

.auth-container-simple {
    max-width: 1200px;
    width: 100%;
    display: flex;
    gap: 40px;
    align-items: center;
    justify-content: center;
}

.auth-container-wide {
    max-width: 1300px;
}

.auth-card-simple {
    background: white;
    border-radius: 24px;
    padding: 40px;
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 480px;
    border: 1px solid var(--border-light);
}

.auth-header-simple {
    text-align: center;
    margin-bottom: 30px;
}

.auth-header-simple h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--secondary);
}

.auth-header-simple p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Account Type Selector */
.account-type-selector {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    background: var(--light-bg);
    padding: 6px;
    border-radius: 50px;
}

.type-option {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    border-radius: 40px;
    text-decoration: none;
    color: var(--text-light);
    font-weight: 500;
    transition: all 0.2s;
}

.type-option.active {
    background: white;
    color: var(--primary);
    box-shadow: var(--shadow-sm);
}

/* Auth Form */
.auth-form-simple {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.auth-form-simple .form-group-simple {
    margin-bottom: 20px;
}

.auth-form-simple label {
    display: block;
    margin-bottom: 8px;
    font-weight:500;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.auth-form-simple .input-with-icon {
    position: relative;
}

.auth-form-simple .input-with-icon i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
}

.auth-form-simple .input-with-icon input {
    width: 100%;
    padding: 12px 14px 12px 42px;
    border: 1.5px solid var(--border-light);
    border-radius: 12px;
    font-size: 0.95rem;
    transition: all 0.2s;
    font-family: 'Inter', sans-serif;
}

.auth-form-simple .input-with-icon input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(212, 123, 58, 0.1);
}

.auth-form-simple .toggle-password {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
}

/* Form Options */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 0.9rem;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
    cursor: pointer;
}

.forgot-link {
    color: var(--primary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
}

.forgot-link:hover {
    text-decoration: underline;
}

/* Auth Divider */
.auth-divider {
    position: relative;
    text-align: center;
    margin: 25px 0;
}

.auth-divider::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 1px;
    background: var(--border-light);
}

.auth-divider span {
    position: relative;
    background: white;
    padding: 0 15px;
    color: var(--text-light);
    font-size: 0.85rem;
}

/* Social Login */
.social-login {
    display: flex;
    gap: 12px;
    margin-bottom: 25px;
}

.btn-social {
    flex: 1;
    padding: 12px;
    border: 1.5px solid var(--border-light);
    background: white;
    border-radius: 12px;
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s;
}

.btn-social:hover {
    background: var(--light-bg);
    border-color: var(--primary);
}

.btn-social .fa-google {
    color: #4285f4;
}

.btn-social .fa-facebook-f {
    color: #1877f2;
}

/* Auth Footer */
.auth-footer-simple {
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-light);
}

.auth-footer-simple a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.auth-footer-simple a:hover {
    text-decoration: underline;
}

.auth-footer-secondary {
    text-align: center;
    margin-top: 15px;
}

.auth-footer-secondary a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
}

.auth-footer-secondary a:hover {
    color: var(--primary);
}

/* Auth Side Content */
.auth-side-content {
    flex: 1;
    max-width: 450px;
    display: none;
}

@media (min-width: 968px) {
    .auth-side-content {
        display: block;
    }
}

.auth-side-card {
    background: linear-gradient(135deg, var(--primary), #b55f2a);
    border-radius: 32px;
    padding: 50px 40px;
    color: white;
    box-shadow: var(--shadow-lg);
}

.auth-icon-large {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 30px;
}

.auth-side-card h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.auth-side-card p {
    opacity: 0.95;
    margin-bottom: 30px;
    line-height: 1.6;
}

.auth-features {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.feature-item i {
    color: #a5d6a7;
    font-size: 1.1rem;
}

/* Active Nav Link */
.nav-links .btn-outline-light.active,
.nav-links .btn-primary-sm.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* Responsive */
@media (max-width: 640px) {
    .auth-card-simple {
        padding: 30px 20px;
    }
    
    .auth-section {
        padding: 2rem 4%;
    }
}

/* ============================================ */
/* Full-Page Background Image for Auth Pages */
/* ============================================ */

.auth-page-full {
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

/* Dark overlay to make form readable */
.auth-page-full::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

/* For login page specific overlay */
.auth-page-full.login-bg::before {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.4) 100%);
}

/* For register page specific overlay */
.auth-page-full.register-bg::before {
    background: linear-gradient(135deg, rgba(44, 36, 24, 0.8) 0%, rgba(0, 0, 0, 0.5) 100%);
}

.auth-card-overlay {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 32px;
    padding: 45px;
    width: 100%;
    max-width: 480px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: fadeInUp 0.6s ease-out;
}

.auth-card-overlay.auth-card-wide {
    max-width: 580px;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Logo in overlay */
.auth-logo-center {
    text-align: center;
    margin-bottom: 25px;
}

.auth-logo-center img {
    height: 50px;
    width: auto;
}

/* Back to home link */
.back-to-home {
    position: absolute;
    top: 30px;
    left: 30px;
    z-index: 3;
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.2);
    padding: 10px 20px;
    border-radius: 40px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.back-to-home:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateX(-5px);
}

/* Responsive */
@media (max-width: 640px) {
    .auth-card-overlay {
        padding: 30px 20px;
        margin: 10px;
    }
    
    .back-to-home {
        top: 15px;
        left: 15px;
        padding: 8px 16px;
        font-size: 0.9rem;
    }
}

/* Form styles for overlay */
.auth-card-overlay .auth-header-simple h1 {
    color: var(--secondary);
}

.auth-card-overlay .auth-header-simple p {
    color: var(--text-light);
}

.auth-card-overlay .form-group-simple label {
    color: var(--text-dark);
}

.auth-card-overlay .auth-footer-simple {
    color: var(--text-dark);
}

.auth-card-overlay .auth-divider span {
    background: rgba(255, 255, 255, 0.95);
}

/* Form Card */
.auth-card-simple {
    background: white;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid #ede4db;
}

/* Headers */
.auth-header-simple h1 {
    color: #2c2418;
    font-weight: 700;
}

.auth-header-simple p {
    color: #6b5f52;
}

/* Input Fields */
.form-group-simple label {
    color: #2c2418;
    font-weight: 500;
}

.input-with-icon input {
    border: 1.5px solid #ede4db;
    border-radius: 12px;
    background: white;
    color: #1e1b16;
}

.input-with-icon input:focus {
    border-color: #d47b3a;
    box-shadow: 0 0 0 3px rgba(212, 123, 58, 0.1);
    outline: none;
}

.input-with-icon i {
    color: #d47b3a;
}

/* Primary Button */
.btn-primary {
    background: #d47b3a !important;
    color: white !important;
    border: none !important;
    padding: 14px 24px !important;
    border-radius: 12px !important;
    font-weight: 600 !important;
    box-shadow: 0 4px 12px rgba(212, 123, 58, 0.25) !important;
}

.btn-primary:hover {
    background: #b55f2a !important;
    box-shadow: 0 6px 16px rgba(212, 123, 58, 0.35) !important;
}

/* Outline Button */
.btn-outline-primary {
    background: transparent !important;
    color: #d47b3a !important;
    border: 1.5px solid #d47b3a !important;
    border-radius: 12px !important;
    font-weight: 600 !important;
}

.btn-outline-primary:hover {
    background: #d47b3a !important;
    color: white !important;
}

/* Links */
.forgot-link,
.auth-footer-simple a,
.auth-footer-secondary a {
    color: #d47b3a !important;
    font-weight: 600;
}

.forgot-link:hover,
.auth-footer-simple a:hover,
.auth-footer-secondary a:hover {
    color: #b55f2a !important;
}

/* Checkbox */
.checkbox-label input[type="checkbox"] {
    accent-color: #d47b3a;
}

/* Account Type Selector */
.account-type-selector {
    background: #faf6f2;
    border-radius: 50px;
    padding: 6px;
    border: 1px solid #ede4db;
}

.type-option {
    color: #6b5f52;
}

.type-option.active {
    background: white;
    color: #d47b3a;
    box-shadow: 0 2px 8px rgba(212, 123, 58, 0.1);
}

/* Divider */
.auth-divider::before {
    background: #ede4db;
}

.auth-divider span {
    color: #6b5f52;
}

/* Social Buttons */
.btn-social {
    border: 1.5px solid #ede4db;
    background: white;
    color: #2c2418;
    border-radius: 12px;
}

.btn-social:hover {
    background: #faf6f2;
    border-color: #d47b3a;
}

/* Password Requirements */
.password-requirements-simple {
    background: #faf6f2;
    border-radius: 12px;
    border: 1px solid #ede4db;
}

.password-requirements-simple li.valid {
    color: #2e7d32;
}

/* Alert Messages */
.alert-success {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #a5d6a7;
    border-radius: 12px;
}

.alert-error {
    background: #fdeded;
    color: #d32f2f;
    border: 1px solid #f5c2c2;
    border-radius: 12px;
}

/* Toggle Password Button */
.toggle-password {
    color: #6b5f52;
}

.toggle-password:hover {
    color: #d47b3a;
}

/* Form row for name fields */
.form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 5px;
}

.form-row-2 .form-group-simple {
    margin-bottom: 20px;
}

/* Ensure inputs in form row have proper styling */
.form-row-2 .input-with-icon input {
    width: 100%;
    padding: 12px 14px 12px 42px;
    border: 1.5px solid #ede4db;
    border-radius: 12px;
    font-size: 0.95rem;
    transition: all 0.2s;
    font-family: 'Inter', sans-serif;
    background: white;
}

.form-row-2 .input-with-icon input:focus {
    outline: none;
    border-color: #d47b3a;
    box-shadow: 0 0 0 3px rgba(212, 123, 58, 0.1);
}

/* Responsive */
@media (max-width: 480px) {
    .form-row-2 {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

/* ============================================ */
/* Global Button Fixes */
/* ============================================ */

button,
.btn-primary,
.btn-primary-lg,
.btn-outline-primary {
    color: white !important;
}

.btn-outline-primary,
.btn-secondary,
.btn-secondary-lg {
    color: #d47b3a !important;
    background: white !important;
}

.btn-outline-primary:hover,
.btn-secondary-lg:hover {
    background: #d47b3a !important;
    color: white !important;
}

.btn-icon,
.btn-icon-lg {
    background: white !important;
    color: #2c2418 !important;
}

/* User Menu - Ensure Name is Visible */
.user-menu-btn {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    background: white !important;
    border: 1px solid var(--border-light) !important;
    padding: 6px 12px 6px 6px !important;
    border-radius: 40px !important;
    cursor: pointer !important;
    font-weight: 500 !important;
    font-family: 'Inter', sans-serif !important;
    color: var(--text-dark) !important;
}

.user-name-display {
    display: inline-block !important;
    color: #2c2418 !important;
    font-weight: 500 !important;
}

/* Make sure it's visible on mobile */
@media (max-width: 768px) {
    .user-name-display {
        display: inline-block !important;
    }
}



/* ============================================ */
/* Hero Section - Improved Spacing */
/* ============================================ */

.hero-wave {
    position: relative;
    padding: 5rem 5% 6rem;
    background-image: url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 650px;
    z-index: 1;
}

.hero-wave::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(44, 36, 24, 0.8) 0%, rgba(0, 0, 0, 0.5) 100%);
    z-index: -1;
}

/* Hero Content Wrapper - MORE SPACE between text and collage */
.hero-content-wrapper {
    display: flex;
    align-items: center;
    gap: 80px;  /* Increased from 50px */
    max-width: 1400px;
    margin: 0 auto 3rem;  /* More space below */
    position: relative;
    z-index: 2;
}

/* Left side - Text content with more padding */
.hero-text {
    flex: 1;
    text-align: left;
    padding-right: 10px;  /* Extra breathing room */
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    padding: 10px 24px;  /* Slightly larger */
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 25px;  /* More space below */
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
}

.hero-badge i {
    color: #f5b342;
}

.hero-wave h1 {
    color: white;
    font-size: 3.5rem;  /* Slightly larger */
    font-weight: 800;
    line-height: 1.3;  /* More line height */
    margin-bottom: 1.5rem;  /* More space below */
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    text-align: left;
}

.hero-gradient-text {
    background: linear-gradient(135deg, #f5b342, #ffffff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: none;
}

.hero-wave p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    max-width: 550px;
    margin-bottom: 2.5rem;  /* More space below */
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
    text-align: left;
    line-height: 1.6;  /* Better readability */
}

/* Trust Badges - More spacing */
.hero-trust-badges {
    display: flex;
    gap: 40px;  /* Increased from 30px */
    margin-top: 35px;  /* More space above */
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 10px;  /* More space between icon and text */
    color: rgba(255, 255, 255, 0.95);
    font-size: 1rem;
    font-weight: 500;
}

.trust-badge i {
    color: #f5b342;
    font-size: 1.2rem;
}

/* ============================================ */
/* Hero Image Collage - Stable & Responsive */
/* ============================================ */

.hero-image-collage {
    flex: 1;
    position: relative;
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 500px;
    margin: 0 auto;
}

/* Container for collage items - centered */
.collage-container {
    position: relative;
    width: 100%;
    height: 100%;
    max-width: 450px;
    max-height: 450px;
}

.collage-item {
    position: absolute;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border: 3px solid rgba(255, 255, 255, 0.9);
}

.collage-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Large image - positioned left */
.collage-item.large {
    width: 65%;
    height: 75%;
    left: 0;
    bottom: 10%;
    z-index: 3;
}

/* Small top image - positioned right */
.collage-item.small.top {
    width: 45%;
    height: 45%;
    right: 0;
    top: 5%;
    z-index: 2;
}

/* Small bottom image - positioned right bottom */
.collage-item.small.bottom {
    width: 40%;
    height: 40%;
    right: 0;
    bottom: 0;
    /*top: 55%;*/
    z-index: 1;
}

/* Stats Box */
.collage-stats {
    position: absolute;
    left: 50%;
    bottom: 5%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    padding: 20px 30px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    display: flex;
    gap: 30px;
    z-index: 4;
    border: 1px solid rgba(255, 255, 255, 0.5);
    white-space: nowrap;
}

.stat-item {
    text-align: center;
}

.stat-item .stat-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    color: #d47b3a;
    line-height: 1.2;
}

.stat-item .stat-label {
    font-size: 0.85rem;
    color: #6b5f52;
    font-weight: 500;
}

/* Responsive Adjustments */
@media (max-width: 1100px) {
    .hero-image-collage {
        height: 400px;
        max-width: 450px;
    }
    
    .collage-stats {
        padding: 15px 25px;
        gap: 25px;
    }
    
    .stat-item .stat-number {
        font-size: 1.5rem;
    }
}

@media (max-width: 968px) {
    .hero-content-wrapper {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-image-collage {
        height: 380px;
        max-width: 450px;
        margin-top: 30px;
    }
    
    .hero-text {
        text-align: center;
    }
    
    .hero-wave h1 {
        text-align: center;
    }
    
    .hero-wave p {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-trust-badges {
        justify-content: center;
    }
}

@media (max-width: 600px) {
    .hero-image-collage {
        height: 320px;
        max-width: 350px;
    }
    
    .collage-stats {
        padding: 12px 18px;
        gap: 15px;
        bottom: 2%;
    }
    
    .stat-item .stat-number {
        font-size: 1.3rem;
    }
    
    .stat-item .stat-label {
        font-size: 0.75rem;
    }
}

@media (max-width: 400px) {
    .hero-image-collage {
        height: 280px;
    }
    
    .collage-stats {
        padding: 10px 15px;
        gap: 12px;
    }
    
    .stat-item .stat-number {
        font-size: 1.1rem;
    }
}

/* ============================================ */
/* How It Works Section */
/* ============================================ */

.how-it-works {
    padding: 5rem 5%;
    background: white;    
}

.section-header {
    text-align: center !important;
    max-width: 700px;
    margin: 0 auto !important;
    width: 100%;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c2418;
    margin-bottom: 15px;
    text-align: center !important;
    display: block;
    width: 100%;
}

.section-header p {
    color: #6b5f52;
    font-size: 1.2rem;
    text-align: center !important;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 3rem auto 0;
}

.step-card {
    text-align: center;
    padding: 20px;
}

.step-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.step-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.step-card:hover .step-image img {
    transform: scale(1.05);
}

.step-number {
    position: absolute;
    bottom:35px;
    left: 50%;
    transform: translateX(-50%);
    width: 45px;
    height: 45px;
    background: #d47b3a;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.3rem;
    border: 4px solid white;
    box-shadow: 0 4px 12px rgba(212, 123, 58, 0.3);
}

.step-card h3 {
    margin: 35px 0 15px;
    font-size: 1.4rem;
    font-weight: 700;
    color: #2c2418;
}

.step-card p {
    color: #6b5f52;
    line-height: 1.6;
    max-width: 300px;
    margin: 0 auto;
}

/* ============================================ */
/* Featured Categories Showcase - FIXED */
/* ============================================ */

.featured-categories {
    padding: 5rem 5% !important;
    background: #faf6f2 !important;
    display: block !important;
    width: 100% !important;
}

.featured-categories .section-header {
    text-align: center !important;
    max-width: 700px !important;
    margin: 0 auto 3rem !important;
    display: block !important;
}

.featured-categories .section-header h2 {
    font-size: 2.5rem !important;
    font-weight: 700 !important;
    color: #2c2418 !important;
    margin-bottom: 15px !important;
}

.featured-categories .section-header p {
    color: #6b5f52 !important;
    font-size: 1.2rem !important;
}

.featured-categories .category-showcase {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 30px !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
}

.featured-categories .showcase-card {
    position: relative !important;
    border-radius: 20px !important;
    overflow: hidden !important;
    text-decoration: none !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
    transition: transform 0.3s, box-shadow 0.3s !important;
    display: block !important;
    height: 280px !important;
}

.featured-categories .showcase-card:hover {
    transform: translateY(-10px) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15) !important;
}

.featured-categories .showcase-image {
    height: 100% !important;
    width: 100% !important;
    position: relative !important;
}

.featured-categories .showcase-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.3s ease !important;
    display: block !important;
}

.featured-categories .showcase-card:hover .showcase-image img {
    transform: scale(1.05) !important;
}

.featured-categories .showcase-overlay {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.2) 50%, transparent 100%) !important;
}

.featured-categories .showcase-content {
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    padding: 30px 25px !important;
    color: white !important;
    z-index: 2 !important;
}

.featured-categories .showcase-content i {
    font-size: 2rem !important;
    margin-bottom: 12px !important;
    color: #f5b342 !important;
    display: block !important;
}

.featured-categories .showcase-content h3 {
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    margin-bottom: 8px !important;
    color: white !important;
}

.featured-categories .showcase-content p {
    opacity: 0.9 !important;
    margin-bottom: 12px !important;
    font-size: 0.95rem !important;
    color: rgba(255, 255, 255, 0.9) !important;
}

.featured-categories .showcase-count {
    display: inline-block !important;
    background: rgba(255, 255, 255, 0.2) !important;
    padding: 5px 14px !important;
    border-radius: 30px !important;
    font-size: 0.8rem !important;
    font-weight: 500 !important;
    backdrop-filter: blur(5px) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    color: white !important;
}

/* Responsive for Category Showcase */
@media (max-width: 968px) {
    .featured-categories .category-showcase {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 600px) {
    .featured-categories {
        padding: 3rem 4% !important;
    }
    
    .featured-categories .category-showcase {
        grid-template-columns: 1fr !important;
    }
    
    .featured-categories .section-header h2 {
        font-size: 1.8rem !important;
    }
}

/* ============================================ */
/* Testimonials Section */
/* ============================================ */

.testimonials-section {
    padding: 5rem 5% !important;
    background: white !important;
}

.testimonials-section .section-header {
    text-align: center !important;
    max-width: 700px !important;
    margin: 0 auto 3rem !important;
}

.testimonials-section .section-header h2 {
    font-size: 2.5rem !important;
    font-weight: 700 !important;
    color: #2c2418 !important;
    margin-bottom: 15px !important;
}

.testimonials-section .section-header p {
    color: #6b5f52 !important;
    font-size: 1.2rem !important;
}

.testimonials-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 30px !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
}

.testimonial-card {
    background: #faf6f2 !important;
    padding: 30px !important;
    border-radius: 20px !important;
    border: 1px solid #ede4db !important;
    transition: transform 0.3s, box-shadow 0.3s !important;
}

.testimonial-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08) !important;
    background: white !important;
}

.testimonial-header {
    display: flex !important;
    align-items: center !important;
    gap: 15px !important;
    margin-bottom: 20px !important;
}

.testimonial-avatar {
    width: 60px !important;
    height: 60px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    border: 3px solid white !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1) !important;
}

.testimonial-header h4 {
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    color: #2c2418 !important;
    margin-bottom: 5px !important;
}

.testimonial-header .stars {
    color: #f5b342 !important;
    font-size: 0.9rem !important;
    letter-spacing: 2px !important;
}

.testimonial-text {
    color: #4a3f35 !important;
    line-height: 1.7 !important;
    margin-bottom: 20px !important;
    font-size: 0.95rem !important;
    font-style: italic !important;
}

.testimonial-date {
    color: #9a8a7a !important;
    font-size: 0.8rem !important;
    font-weight: 500 !important;
    display: block !important;
    border-top: 1px solid #ede4db !important;
    padding-top: 15px !important;
}

/* Responsive for Testimonials */
@media (max-width: 968px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    .testimonials-section .section-header h2 {
        font-size: 2rem !important;
    }
}

@media (max-width: 600px) {
    .testimonials-section {
        padding: 3rem 4% !important;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr !important;
    }
    
    .testimonials-section .section-header h2 {
        font-size: 1.8rem !important;
    }
    
    .testimonials-section .section-header p {
        font-size: 1rem !important;
    }
    
    .testimonial-card {
        padding: 25px !important;
    }
    
    .testimonial-text {
        font-size: 0.9rem !important;
    }
}

/* ============================================ */
/* Entrance Animations */
/* ============================================ */

/* Base Animation Classes */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Animation Delays */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* Different Animation Types */
.fade-in {
    opacity: 0;
    transition: opacity 0.8s ease-out;
}

.fade-in.animated {
    opacity: 1;
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.slide-in-left.animated {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.slide-in-right.animated {
    opacity: 1;
    transform: translateX(0);
}

.zoom-in {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.zoom-in.animated {
    opacity: 1;
    transform: scale(1);
}

/* Hero Section Animations */
.hero-text {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.hero-text.animated {
    opacity: 1;
    transform: translateX(0);
}

.hero-image-collage {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.8s ease-out 0.2s, transform 0.8s ease-out 0.2s;
}

.hero-image-collage.animated {
    opacity: 1;
    transform: translateX(0);
}

.hero-badge {
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.hero-badge.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Search Card Animation */
.search-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out 0.3s, transform 0.6s ease-out 0.3s;
}

.search-card.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Category Pills Animation */
.category-strip .pill {
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}

.category-strip .pill.animated {
    opacity: 1;
    transform: scale(1);
}

/* Staggered delays for pills */
.category-strip .pill:nth-child(1) { transition-delay: 0.4s; }
.category-strip .pill:nth-child(2) { transition-delay: 0.45s; }
.category-strip .pill:nth-child(3) { transition-delay: 0.5s; }
.category-strip .pill:nth-child(4) { transition-delay: 0.55s; }
.category-strip .pill:nth-child(5) { transition-delay: 0.6s; }
.category-strip .pill:nth-child(6) { transition-delay: 0.65s; }
.category-strip .pill:nth-child(7) { transition-delay: 0.7s; }

/* Section Headers Animation */
.section-header {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.section-header.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Step Cards Animation */
.step-card {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.step-card.animated {
    opacity: 1;
    transform: translateY(0);
}

.steps-container .step-card:nth-child(1) { transition-delay: 0.1s; }
.steps-container .step-card:nth-child(2) { transition-delay: 0.2s; }
.steps-container .step-card:nth-child(3) { transition-delay: 0.3s; }

/* Artisan Cards Animation */
.artisan-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.artisan-card.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Showcase Cards Animation */
.showcase-card {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.showcase-card.animated {
    opacity: 1;
    transform: translateY(0);
}

.category-showcase .showcase-card:nth-child(1) { transition-delay: 0.1s; }
.category-showcase .showcase-card:nth-child(2) { transition-delay: 0.2s; }
.category-showcase .showcase-card:nth-child(3) { transition-delay: 0.3s; }

/* Testimonial Cards Animation */
.testimonial-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.testimonial-card.animated {
    opacity: 1;
    transform: translateY(0);
}

.testimonials-grid .testimonial-card:nth-child(1) { transition-delay: 0.1s; }
.testimonials-grid .testimonial-card:nth-child(2) { transition-delay: 0.2s; }
.testimonials-grid .testimonial-card:nth-child(3) { transition-delay: 0.3s; }

/* Trust Badges Animation */
.trust-badge {
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}

.trust-badge.animated {
    opacity: 1;
    transform: translateY(0);
}

.hero-trust-badges .trust-badge:nth-child(1) { transition-delay: 0.5s; }
.hero-trust-badges .trust-badge:nth-child(2) { transition-delay: 0.6s; }
.hero-trust-badges .trust-badge:nth-child(3) { transition-delay: 0.7s; }

/* Collage Stats Animation */
.collage-stats {
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.5s ease-out 0.4s, transform 0.5s ease-out 0.4s;
}

.collage-stats.animated {
    opacity: 1;
    transform: scale(1);
}

/* Password Toggle Button - Guaranteed to Work */
.input-with-icon {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
}

.input-with-icon > i {
    position: absolute !important;
    left: 16px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    color: #d47b3a !important;
    z-index: 1 !important;
    pointer-events: none !important;
}

.input-with-icon input {
    width: 100% !important;
    padding: 14px 50px 14px 46px !important;
    border: 1.5px solid #ede4db !important;
    border-radius: 14px !important;
    font-size: 1rem !important;
    background: white !important;
}

.toggle-password {
    position: absolute !important;
    right: 5px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    background: transparent !important;
    border: none !important;
    padding: 12px !important;
    cursor: pointer !important;
    z-index: 10 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #6b5f52 !important;
    width: 44px !important;
    height: 44px !important;
}

.toggle-password:hover {
    color: #d47b3a !important;
}

.toggle-password i {
    font-size: 1.3rem !important;
    pointer-events: none !important;
    color: #6b5f52 !important;
}

.toggle-password:hover i {
    color: #d47b3a !important;
}

/* ============================================ */
/* Search Section Heading */
/* ============================================ */

.search-heading {
    text-align: center;
    margin-bottom: 2rem;
}

.search-heading h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #2c2418;
    margin-bottom: 10px;
}

.search-heading p {
    color: #6b5f52;
    font-size: 1.1rem;
}

/* Add animation to search heading */
.search-heading {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.search-heading.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    .search-heading h2 {
        font-size: 1.8rem;
    }
    
    .search-heading p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .search-heading h2 {
        font-size: 1.5rem;
    }
}

/* ============================================ */
/* Hero Slideshow - Rotating Images */
/* ============================================ */

.hero-image-slideshow {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 500px;
    margin: 0 auto;
    /* Entrance animation */
    opacity: 0;
    transform: scale(0.9) translateX(30px);
    animation: slideInRight 0.8s ease-out 0.3s forwards;
}

@keyframes slideInRight {
    0% {
        opacity: 0;
        transform: scale(0.9) translateX(30px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateX(0);
    }
}

.slideshow-container {
    position: relative;
    width: 100%;
    height: 420px;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    border: 3px solid rgba(255, 255, 255, 0.9);
    animation: floatIn 0.6s ease-out 0.5s forwards;
    opacity: 0;
    transform: translateY(20px);
}

@keyframes floatIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    z-index: 1;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    animation: subtleZoom 8s ease-in-out infinite alternate;
}

@keyframes subtleZoom {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.05);
    }
}


/* Slide Indicators */
.slide-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
    /* Entrance animation */
    opacity: 0;
    animation: fadeInUp 0.5s ease-out 1s forwards;
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateX(-50%) translateY(10px);
    }
    100% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.8);
}

.indicator.active {
    background: #d47b3a;
    width: 25px;
    border-radius: 10px;
    border-color: white;
}

/* Stats Box Overlay - Slideshow */
.slideshow-stats {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 18px 30px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    display: flex;
    gap: 30px;
    z-index: 5;
    border: 1px solid rgba(255, 255, 255, 0.5);
    white-space: nowrap;
}

.slideshow-stats .stat-item {
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: baseline;
    gap: 2px;
}

.slideshow-stats .stat-number {
    font-size: 1.8rem;
    font-weight: 800;
    color: #d47b3a;
    line-height: 1.2;
}

.slideshow-stats .stat-suffix {
    font-size: 1.4rem;
    font-weight: 800;
    color: #d47b3a;
}

.slideshow-stats .stat-label {
    font-size: 0.85rem;
    color: #6b5f52;
    font-weight: 500;
    width: 100%;
    text-align: center;
    margin-top: 2px;
}

@keyframes popIn {
    0% {
        opacity: 0;
        transform: translateX(-50%) scale(0.8);
    }
    70% {
        transform: translateX(-50%) scale(1.05);
    }
    100% {
        opacity: 1;
        transform: translateX(-50%) scale(1);
    }
}

.slideshow-stats .stat-item {
    text-align: center;
}

.slideshow-stats .stat-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    color: #d47b3a;
    line-height: 1.2;
}

.slideshow-stats .stat-label {
    font-size: 0.85rem;
    color: #6b5f52;
    font-weight: 500;
}

.slideshow-container:hover .slide img {
    animation-play-state: paused;
}

/* Responsive */
@media (max-width: 968px) {
    .hero-image-slideshow {
        max-width: 450px;
        margin-top: 30px;
    }
    
    .slideshow-container {
        height: 380px;
    }
    
    .slideshow-stats {
        padding: 15px 25px;
        gap: 25px;
    }
    
    .slideshow-stats .stat-number {
        font-size: 1.5rem;
    }
}

@media (max-width: 600px) {
    .slideshow-container {
        height: 320px;
        border-radius: 20px;
    }
    
    .slideshow-stats {
        padding: 12px 18px;
        gap: 15px;
        bottom: 50px;
    }
    
    .slideshow-stats .stat-number {
        font-size: 1.3rem;
    }
    
    .slideshow-stats .stat-label {
        font-size: 0.75rem;
    }
    
    .indicator {
        width: 8px;
        height: 8px;
    }
    
    .indicator.active {
        width: 20px;
    }
}

@media (max-width: 400px) {
    .slideshow-container {
        height: 280px;
    }
}
