c/*
Theme Name: iTrust Theme
Description: Custom theme for Leb Guide
Author: Samer
Version: 1.0
*/

/* RESET & VARIABLES */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
    --primary: #c3b092; 
    --primary-light: #e5dac7;
    --primary-dark: #13033a;
    --bg-light: #eef2ef; 
    --text-main: #333;
    --text-muted: #777;
    --white: #fff;
    --border-color: #ddd;
    --success: #78a57e; 
}
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-main);
    background-color: #f9f9f9;
    line-height: 1.6;
}
.container { max-width: 1350px; margin: 0 auto; padding: 0 15px; }
a { text-decoration: none; color: inherit; }

/* HEADER */
.main-header {
    background: var(--white);
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    position: sticky; top: 0; z-index: 1000;
}
.header-container {
    display: flex; justify-content: space-between; align-items: center; height: 70px;
}
.logo { font-size: 24px; font-weight: bold; color: var(--primary-dark); }
.main-nav a { margin: 0 15px; font-weight: 500; transition: color 0.3s; }
.main-nav a:hover { color: var(--primary); }
.header-actions { display: flex; align-items: center; gap: 20px; }
.search-bar {
    display: flex; align-items: center; border: 1px solid var(--border-color); border-radius: 20px; padding: 5px 15px;
}
.search-bar input { border: none; outline: none; padding: 5px; }
.search-bar button { background: none; border: none; cursor: pointer; color: var(--text-muted); }
.login-btn { font-weight: bold; }

/* HERO SECTION (Cover & Logo) */
.page-container { background: #c7ebff73; padding-bottom: 50px; }
.hero-section {
    position: relative;
    height: 450px;
    background-size: cover;
    background-position: center;
    background: linear-gradient(90deg, rgb(255 157 178), rgb(152 149 255) 50%, rgb(228 228 255));
}
.hero-overlay {
    position: absolute; top:0; left:0; width:100%; height:100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.4) 100%);
}
.profile-logo-container {
    position: absolute;
    bottom: -60px; 
    left: 50%;
    transform: translateX(-50%);
    width: 180px; height: 180px;
    border-radius: 50%;
    border: 5px solid #dbdc35;
    overflow: hidden;
    z-index: 10;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    background: #dbdc35;
}
.profile-logo { width: 100%; height: 100%; object-fit: cover; }

/* TITLE BAR */
.title-bar {
    background: linear-gradient(90deg, rgb(255 157 178), rgb(152 149 255) 50%, rgb(228 228 255));
    padding: 70px 20px 20px; 
    text-align: center;
    position: relative;
}
.title-container {
    max-width: 1200px; margin: 0 auto; position: relative;
}
.place-title { color: #ffffff; font-size: 28px; font-weight: normal; margin-bottom: 15px; }

/* SOCIAL ICONS GRID (Square Colored Boxes) */
.social-icons-grid {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 15px;
    flex-wrap: wrap;
}
.social-icon-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 4px;
    color: #fff !important;
    font-size: 24px;
    text-decoration: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
.social-icon-box:hover {
    transform: translateY(-3px);
    opacity: 0.9;
}

/* Alwan l Icons */
.bg-twitter { background-color: #E72370; }
.bg-facebook { background-color: #38C6FA; }
.bg-tiktok { background-color: #000000; }
.bg-youtube { background-color: #ff0000; }
.bg-instagram { background-color: #ED1B68; }
.bg-whatsapp { background-color: #00ff0f; }
.bg-phone { background-color: #001dff; }
.bg-maps { background-color: #EA4335; }
.bg-website { background-color: #4A90E2; }
.bg-share { background-color: #13033a; } 

.share-icon {
    position: absolute; right: 20px; top: 30px;
    font-size: 18px; cursor: pointer; color: #03b306;
}

/* INFO & DESCRIPTION BAR */
.info-action-bar {
    display: flex; justify-content: center; align-items: center;
    padding: 30px 15px; border-bottom: 1px solid var(--border-color);
    text-align: center;
}
.slogan-text {
    max-width: 800px; margin: 0 auto; font-style: italic; color: var(--text-muted); font-size: 16px; line-height: 1.5;
}
.slogan-text i { color: var(--primary); font-size: 12px; vertical-align: top; margin: 0 5px; }

/* GALLERY */
.gallery-section { padding: 40px 15px; }
.gallery-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 15px;
}
.gallery-grid img {
    width: 100%; height: 200px; object-fit: cover; border-radius: 8px; transition: transform 0.3s; cursor: pointer;
}
.gallery-grid img:hover { transform: scale(1.02); }

/* REVIEW SECTION */
.review-section { padding: 40px 15px; }
.review-box {
    background-color: var(--bg-light);
    border-radius: 10px; padding: 30px; max-width: 800px; margin: 0 auto;
}
.review-title {
    font-size: 22px; margin-bottom: 25px; color: var(--text-main); font-weight: normal;
    border-bottom: 2px solid var(--primary-dark); display: inline-block; padding-bottom: 5px;
}
.form-row { display: flex; gap: 15px; margin-bottom: 15px; flex-wrap: wrap; }
.input-group {
    flex: 1; min-width: 200px; display: flex; align-items: center; background: var(--white);
    border-radius: 5px; padding: 10px 15px; border: 1px solid transparent; transition: border 0.3s;
}
.input-group:focus-within { border-color: var(--primary); }
.input-group i, .input-group .flag-icon { color: var(--text-muted); margin-right: 10px; font-size: 18px; }
.input-group input, .input-group select {
    border: none; outline: none; width: 100%; font-size: 16px; background: transparent; color: var(--text-main);
}
.input-group.full-width { flex: 100%; }
.form-note { font-size: 13px; color: var(--text-muted); margin-bottom: 20px; text-align: center; }

/* RATING GRID */
.rating-grid { background: var(--white); border-radius: 5px; padding: 20px; margin-bottom: 20px; }
.rating-row { display: flex; align-items: center; padding: 10px 0; border-bottom: 1px solid #f0f0f0; }
.rating-row:last-child { border-bottom: none; }
.rating-label { width: 140px; font-size: 15px; color: var(--text-muted); }

.stars-header, .faces { display: flex; flex: 1; justify-content: space-around; text-align: center; }
.stars-header div { color: #ccc; font-size: 12px; cursor: pointer; }
.stars-header div i { font-size: 24px; margin-bottom: 5px; }
.stars-header div:hover i, .stars-header div:hover span { color: var(--primary-dark); }

.faces i { font-size: 24px; color: #ccc; cursor: pointer; transition: color 0.2s, transform 0.2s; }
.faces i:hover { color: var(--primary-dark); transform: scale(1.2); }

.comment-area textarea {
    width: 100%; padding: 15px; border: none; border-radius: 5px; background: var(--white); font-size: 15px; resize: vertical; outline: none;
}
.comment-area textarea:focus { box-shadow: 0 0 0 1px var(--primary); }

.submit-btn {
    width: 100%; padding: 15px; background-color: var(--success); color: var(--white); border: none;
    border-radius: 5px; font-size: 18px; cursor: pointer; transition: background 0.3s;
}
.submit-btn:hover { background-color: #658f6b; }

/* MAP SECTION */
.map-section { padding: 40px 15px; text-align: center; }
.map-title { font-size: 24px; margin-bottom: 20px; font-weight: normal; color: var(--text-main); }
.map-container { border-radius: 10px; overflow: hidden; box-shadow: 0 4px 10px rgba(0,0,0,0.1); margin-bottom: 20px; }

/* FOOTER */
.main-footer { background: #13033a; color: #ffffff; padding: 0px 0 20px; }
.footer-content {
    display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; margin-bottom: 30px;
}
.footer-logo-menu { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; }
.footer-logo-menu .logo { color: var(--primary-light); }
.footer-nav a { margin-right: 15px; font-size: 14px; color: #ffffff; transition: color 0.3s; }
.footer-nav a:hover { color: var(--primary-dark); }

/* --- FOOTER SOCIAL ICONS HORIZONTAL FIX --- */
.footer-social-top { 
    display: flex !important; 
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important; 
    justify-content: flex-end !important;
    gap: 15px !important; 
}

.footer-social-top a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 42px !important;
    height: 42px !important;
    border-radius: 8px !important;
    color: #13033a !important;
    font-size: 18px !important;
    text-decoration: none !important;
}

.footer-social-top .move-top-btn {
    background-color: #ffffff !important;
}

.copyright { text-align: center; border-top: 1px solid rgba(0,0,0,0.1); padding-top: 20px; font-size: 13px; color: #ffffff; }

/* RESPONSIVE */
@media (max-width: 768px) {
    .header-container { flex-direction: column; height: auto; padding: 15px 0; gap: 15px; }
    .hero-section { height: 300px; }
    .profile-logo-container { width: 140px; height: 140px; bottom: -50px; }
    .title-bar { padding-top: 60px; }
    .info-action-bar { flex-direction: column; align-items: center; text-align: center; }
    .footer-content { flex-direction: column; text-align: center; }
    .footer-logo-menu { justify-content: center; }
    .rating-row { flex-direction: column; align-items: flex-start; gap: 10px; }
    .rating-label { width: 100%; border-bottom: 1px dashed #eee; padding-bottom: 5px; }
    .faces, .stars-header { width: 100%; justify-content: space-between; }
}

/* --- SWIPER GALLERY STYLES (FIXED) --- */
.myGallerySwiper {
    border-radius: 10px;
    overflow: hidden;
    padding-bottom: 50px !important;
    width: 100%;
}
.myGallerySwiper .swiper-wrapper {
    align-items: center;
}
.myGallerySwiper .swiper-slide {
    display: flex;
    justify-content: center;
    background: transparent;
}
.myGallerySwiper .swiper-slide img {
    width: 100%;
    height: 300px !important;
    object-fit: cover !important;
    border-radius: 12px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.myGallerySwiper .swiper-slide img:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* Customizing Arrows */
.myGallerySwiper .swiper-button-next, 
.myGallerySwiper .swiper-button-prev {
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--primary-dark) !important;
    width: 40px !important;
    height: 40px !important;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}
.myGallerySwiper .swiper-button-next:after, 
.myGallerySwiper .swiper-button-prev:after {
    font-size: 16px !important;
    font-weight: bold;
}
.myGallerySwiper .swiper-button-next:hover, 
.myGallerySwiper .swiper-button-prev:hover {
    background-color: var(--primary-dark);
    color: #fff !important;
}

/* Customizing Pagination Dots */
.myGallerySwiper .swiper-pagination-bullet {
    background-color: var(--text-muted) !important;
    opacity: 0.5;
}
.myGallerySwiper .swiper-pagination-bullet-active {
    background-color: var(--primary-dark) !important;
    opacity: 1;
    transform: scale(1.2);
}

/* =========================================
   HOME PAGE STYLES
========================================= */
.home-page-container {
    background-color: #96edff;
    padding-bottom: 50px;
}

/* Hero Section (Blue Background) */
.home-hero-section {
    background-color: #d1edff;
    border-radius: 0 0 30px 30px;
    padding: 40px 15px 50px;
    margin-bottom: 40px;
}
.home-search-wrapper {
    max-width: 600px;
    margin: 0 auto 30px;
}
.home-search-form {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 30px;
    padding: 10px 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.home-search-form i {
    color: var(--text-main);
    font-size: 18px;
    margin-right: 15px;
}
.home-search-form input {
    border: none;
    outline: none;
    width: 100%;
    font-size: 16px;
}
.home-section-title {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 20px;
    color: var(--text-main);
}
.text-center { text-align: center; }

/* Categories Horizontal Slider */
.home-categories-slider {
    display: flex;
    overflow-x: auto;
    gap: 15px;
    padding-bottom: 15px;
    scrollbar-width: none; 
}
.home-categories-slider::-webkit-scrollbar { display: none; } 
.home-cat-card {
    text-align: center;
    flex-shrink: 0;
    width: 120px;
    text-decoration: none;
    color: var(--text-main);
}
.cat-img-box {
    width: 120px;
    height: 80px;
    border-radius: 12px;
    background-size: cover;
    background-position: center;
    position: relative;
    margin-bottom: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.cat-count {
    position: absolute;
    top: 5px;
    right: 5px;
    background: #fff;
    color: #333;
    font-size: 11px;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 10px;
}
.home-cat-card p {
    font-size: 13px;
    font-weight: 500;
}

/* Places Horizontal Slider (Cards) */
.home-places-section {
    margin-bottom: 50px;
}

/* Horizontal Slider Fix - NO SCROLL, FIT 6 CARDS + VIEW ALL */
.places-horizontal-slider {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important; 
    align-items: stretch !important;
    gap: 15px; /* Saghgharna l masefe bayn l cards la tse3 aktar */
    padding: 10px 0 25px !important;
    overflow-x: hidden !important; /* Hawn shilna l scroll 3al desktop */
    width: 100%;
}

/* Kermal l user ye2dar ya3mel scroll bas 3al Mobile/Tablet */
@media (max-width: 1200px) {
    .places-horizontal-slider {
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
    }
}

/* Jbarna l card tsir asghar kermal yse3 6 + View All (Total 7 items) */
.places-horizontal-slider .home-place-card {
    flex: 0 0 auto !important; 
    width: 175px !important; /* Kan 220px, saghgharneha la 175px */
}

/* Khfayna l Scrollbar Design la2anno ma 3ad elo lzoum 3al desktop */
.places-horizontal-slider::-webkit-scrollbar { 
    display: none !important; 
}

/* Kermal l View All tdalla e5de nafs l 7ajem wl chakel */
.home-place-card {
    width: 185px;
    height: 265px; 
    flex-shrink: 0 !important;
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    text-align: center;
    border: 1px solid #eaeaea;
    transition: transform 0.2s ease;
}
.view-all-card {
    background: transparent;
    border: none;
    box-shadow: none;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hp-cover {
    height: 140px;
    background-size: cover;
    background-position: center;
}
.hp-logo-wrapper {
    margin-top: -30px; 
}
.hp-logo-wrapper img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid #fff;
    object-fit: cover;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.hp-info {
    padding: 10px 15px 20px;
}
.hp-info h3 {
    font-size: 15px;
    margin: 5px 0;
    color: var(--text-main);
}
.hp-info p {
    font-size: 12px;
    color: var(--text-muted);
}

/* View All Button Card */
.view-all-circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 2px solid #8fc9ff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #333;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.3s;
}
.view-all-circle i {
    font-size: 24px;
    margin-bottom: 5px;
    color: #4A90E2;
}
.view-all-circle:hover {
    background: #e0f0ff;
}

/* Pagination Styles */
.pagination-wrapper .page-numbers {
    display: inline-block;
    padding: 8px 16px;
    margin: 0 4px;
    background: var(--white);
    color: var(--primary-dark);
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}
.pagination-wrapper .page-numbers:hover {
    background: var(--bg-light);
}
.pagination-wrapper .page-numbers.current {
    background: var(--primary-dark);
    color: var(--white);
    border-color: var(--primary-dark);
}

/* 5 Cards per row layout for Category Results Grid */
.places-grid-layout {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

/* Responsive lal Grid */
@media (max-width: 1200px) {
    .places-grid-layout { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 900px) {
    .places-grid-layout { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 650px) {
    .places-grid-layout { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 450px) {
    .places-grid-layout { grid-template-columns: repeat(1, 1fr); }
}

/* Zabbat 7ajm l card bel grid la tkoon mratabe */
.places-grid-layout .home-place-card {
    width: 100% !important;
    height: auto !important;
}

/* --- VIEW ALL CARD FIX --- */
.home-place-card.view-all-card {
    background: #ffffff !important;
    border: 1px solid #eaeaea !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 265px !important;
    min-height: 265px !important;
}

.home-place-card.view-all-card a {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.view-all-circle {
    background: #f8fbff; 
    transition: all 0.3s ease;
}

.home-place-card.view-all-card:hover .view-all-circle {
    background: #e0f0ff;
    transform: scale(1.05);
}




/* =========================================
   MODERN CATEGORY PILLS (Home Page)
========================================= */
.modern-categories-wrapper {
    max-width: 1000px;
    margin: 0 auto 40px;
    text-align: center;
}

.categories-pills-container {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    max-height: 105px; /* Byfarje ta2riban awwal satren bas */
    overflow: hidden;
    transition: max-height 0.5s ease-in-out;
}

.categories-pills-container.expanded {
    max-height: 2000px; /* Byekbar la yse3 kel l categories */
}

.category-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    padding: 10px 18px;
    border-radius: 50px;
    font-size: 14px;
    color: var(--text-main);
    text-decoration: none;
    box-shadow: 0 2px 5px rgba(0,0,0,0.03);
    transition: all 0.3s ease;
}

.category-pill i {
    color: var(--primary-dark);
    font-size: 12px;
}

.category-pill:hover {
    background: var(--primary-dark);
    color: #ffffff;
    border-color: var(--primary-dark);
    transform: translateY(-2px);
}

.category-pill:hover i {
    color: #ffffff;
}

.cat-count {
    background: var(--bg-light);
    color: var(--text-muted);
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 20px;
    font-weight: bold;
    margin-left: 4px;
}

.category-pill:hover .cat-count {
    background: rgba(255,255,255,0.2);
    color: #ffffff;
}

.toggle-cats-btn {
    margin-top: 20px;
    background: transparent;
    border: none;
    color: var(--primary-dark);
    font-weight: bold;
    cursor: pointer;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s;
}

.toggle-cats-btn:hover {
    color: var(--primary);
}


/* =========================================
   A TO Z CATEGORY FILTER
========================================= */
.atoz-wrapper {
    max-width: 1250px;
    margin: 0 auto 40px;
    text-align: center;
}
.atoz-filter {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0,0,0,0.08);
}
/* =========================================
   A TO Z CATEGORY FILTER (Gradient Colors)
========================================= */
.atoz-btn {
    border-radius: 12px;
    width: 42px;
    height: 42px;
    font-size: 12px;
    font-weight: 700;
    color: #fff; /* L khatt abiad la kel l alwan kermal l gradient */
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border: none; /* Shelna l border kermal ybayyen l gradient ndif */
}

/* Gradient Spectrum Colors - N2asmeen 3a 26 7aref + # */
.atoz-btn:nth-child(1) { background: #8BC34A; } /* Green */
.atoz-btn:nth-child(2) { background: #7CB342; }
.atoz-btn:nth-child(3) { background: #689F38; }
.atoz-btn:nth-child(4) { background: #00BCD4; } /* Blue/Cyan */
.atoz-btn:nth-child(5) { background: #00ACC1; }
.atoz-btn:nth-child(6) { background: #0097A7; }
.atoz-btn:nth-child(7) { background: #039BE5; }
.atoz-btn:nth-child(8) { background: #0288D1; }
.atoz-btn:nth-child(9) { background: #9C27B0; } /* Purple */
.atoz-btn:nth-child(10) { background: #8E24AA; }
.atoz-btn:nth-child(11) { background: #7B1FA2; }
.atoz-btn:nth-child(12) { background: #E91E63; } /* Pink */
.atoz-btn:nth-child(13) { background: #D81B60; }
.atoz-btn:nth-child(14) { background: #C2185B; }
.atoz-btn:nth-child(15) { background: #FF5722; } /* Orange */
.atoz-btn:nth-child(16) { background: #F4511E; }
.atoz-btn:nth-child(17) { background: #E64A19; }
.atoz-btn:nth-child(18) { background: #FF9800; } 
.atoz-btn:nth-child(19) { background: #FB8C00; }
.atoz-btn:nth-child(20) { background: #F57C00; }
.atoz-btn:nth-child(21) { background: #FFC107; color: #333; } /* Yellow (dark text for contrast) */
.atoz-btn:nth-child(22) { background: #FFB300; color: #333; }
.atoz-btn:nth-child(23) { background: #FFA000; color: #333; }
.atoz-btn:nth-child(24) { background: #8BC34A; } /* Back to Green for loop effect */
.atoz-btn:nth-child(25) { background: #00BCD4; } 
.atoz-btn:nth-child(26) { background: #9C27B0; } 
.atoz-btn:nth-child(27) { background: #E91E63; } 

/* Hover & Active Effects */
.atoz-btn:hover, .atoz-btn.active { 
    transform: translateY(-4px) scale(1.1); 
    box-shadow: 0 8px 15px rgba(0,0,0,0.2); 
    filter: brightness(1.1); /* Bt3ti lam3a zghire 3al hover */
}
.atoz-group {
    display: none;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    animation: fadeIn 0.4s ease-in-out;
}
.atoz-group.active {
    display: flex;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Category Pills */
.category-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    padding: 10px 18px;
    border-radius: 50px;
    font-size: 14px;
    color: var(--text-main);
    text-decoration: none;
    box-shadow: 0 2px 5px rgba(0,0,0,0.03);
    transition: all 0.3s ease;
}
.category-pill i {
    color: var(--primary-dark);
    font-size: 12px;
}
.category-pill:hover {
    background: var(--primary-dark);
    color: #ffffff;
    border-color: var(--primary-dark);
    transform: translateY(-2px);
}
.category-pill:hover i {
    color: #ffffff;
}
.cat-count {
    background: var(--bg-light);
    color: var(--text-muted);
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 20px;
    font-weight: bold;
    margin-left: 4px;
}
.category-pill:hover .cat-count {
    background: rgba(255,255,255,0.2);
    color: #ffffff;
}