/* HERO */
.body{
color: #0F172A !important;
}

.a-z_hero{
    padding:120px 0 90px;
    background:
    linear-gradient(rgba(15,23,42,0.82), rgba(15,23,42,0.78)),
    url('https://images.unsplash.com/photo-1521791136064-7986c2920216?q=80&w=2070') center/cover;
    color:white;
}

.a-z_hero-content{
    text-align:center;
    max-width:900px;
    margin:auto;
}

.a-z_hero h1{
    font-size:72px;
    line-height:1.05;
    margin-bottom:25px;
    font-weight:800;
}

.a-z_hero p{
    font-size:21px;
    color:#CBD5E1;
    margin-bottom:40px;
}

/* SEARCH */

.search-wrapper{
    background:white;
    padding:18px;
    border-radius:24px;
    display:flex;
    gap:15px;
    max-width:950px;
    margin:auto;
    box-shadow:0 20px 60px rgba(0,0,0,0.18);
}

.search-wrapper input,
.search-wrapper select{
    flex:1;
    border:none;
    background:#F1F5F9;
    padding:18px;
    border-radius:16px;
    font-size:16px;
}

.search-btn{
    background:#2563EB;
    color:white;
    border:none;
    padding:18px 32px;
    border-radius:16px;
    font-size:16px;
    font-weight:600;
    cursor:pointer;
}

/* STATS */

.stats-bar{
    background:white;
    border-bottom:1px solid #E2E8F0;
    padding:30px 0;
}

.stats-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:30px;
    text-align:center;
}

.stat h3{
    font-size:40px;
    color:#2563EB;
}

.stat p{
    color:#64748B;
}

/* A-Z */

.az-section{
    padding-bottom:30px;
}

.az-title{
    text-align:center;
    margin-bottom:30px;
}

.az-title h2{
    font-size:42px;
}

.az-grid{
    display:flex;
    flex-wrap:wrap;
    gap:12px;
    justify-content:center;
}

.az-item{
    width:52px;
    height:52px;
    border-radius:14px;
    background:white;
    display:flex;
    align-items:center;
    justify-content:center;
    font-weight:700;
    box-shadow:0 10px 30px rgba(15,23,42,0.05);
    transition:0.3s ease;
    cursor:pointer;
}

.az-item:hover{
    background:#2563EB;
    color:white;
    transform:translateY(-3px);
}

/* DIRECTORY */

.directory{
    padding-top:30px;
}

.directory-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:40px;
    flex-wrap:wrap;
    gap:20px;
}

.directory-header h2{
    font-size:42px;
}

.directory-header p{
    color:#64748B;
}

.filter-select{
    padding:14px 18px;
    border-radius:14px;
    border:1px solid #CBD5E1;
    font-size:15px;
    background:white;
}

/* BUSINESS GRID */

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

/* BUSINESS CARD */

.business-card{
    background:white;
    border-radius:32px;
    overflow:hidden;
    box-shadow:0 10px 40px rgba(15,23,42,0.05);
    transition:0.35s ease;
}

.business-card:hover{
    transform:translateY(-10px);
    box-shadow:0 20px 60px rgba(15,23,42,0.12);
}

.business-image{
    height:240px;
    position:relative;
    overflow:hidden;
}

.business-image img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.rating{
    position:absolute;
    top:20px;
    right:20px;
    background:white;
    padding:10px 14px;
    border-radius:100px;
    font-size:14px;
    font-weight:700;
    box-shadow:0 10px 20px rgba(0,0,0,0.12);
}

.business-content{
    padding:35px;
}

.logo-row{
    display:flex;
    align-items:center;
    gap:18px;
    margin-bottom:20px;
}

.logo-row img{
    width:70px;
    height:70px;
    border-radius:18px;
    object-fit:cover;
    background:#F8FAFC;
    padding:8px;
    border:1px solid #E2E8F0;
}

.logo-row h3{
    font-size:28px;
}

.location{
    color:#64748B;
    margin-bottom:18px;
}

.description{
    color:#475569;
    margin-bottom:25px;
}

/* TAGS */

.tags{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin-bottom:30px;
}

.tag{
    background:#EFF6FF;
    color:#2563EB;
    padding:10px 14px;
    border-radius:100px;
    font-size:13px;
    font-weight:600;
}

/* BUTTONS */

.card-buttons{
    display:flex;
    gap:12px;
}

.a-z_btn{
    flex:1;
    text-align:center;
    padding:14px;
    border-radius:14px;
    text-decoration:none;
    font-weight:600;
    transition:0.3s ease;
}

.a-z_btn-primary{
    background:#2563EB;
    color:white;
}

.a-z_btn-secondary{
    background:#F1F5F9;
    color:#0F172A;
}

.a-z_btn:hover{
    transform:translateY(-2px);
}

/* PAGINATION */

.pagination{
    display:flex;
    justify-content:center;
    gap:12px;
    margin-top:70px;
}

.page{
    width:50px;
    height:50px;
    background:white;
    border-radius:14px;
    display:flex;
    align-items:center;
    justify-content:center;
    font-weight:700;
    box-shadow:0 10px 30px rgba(15,23,42,0.05);
}

.page.active{
    background:#2563EB;
    color:white;
}

/* CTA */

.cta{
    background:
    linear-gradient(135deg,#1D4ED8,#2563EB);
    color:white;
    text-align:center;
    border-radius:40px;
    margin:80px auto;
    width:90%;
    max-width:1320px;
}

.cta h2{
    font-size:58px;
    margin-bottom:20px;
}

.cta p{
    font-size:20px;
    opacity:0.92;
    margin-bottom:40px;
}

.cta-btn{
    display:inline-block;
    background:white;
    color:#1D4ED8;
    padding:18px 34px;
    border-radius:18px;
    text-decoration:none;
    font-weight:700;
}

/* MOBILE */

@media(max-width:992px){

.business-grid,
.stats-grid{
    grid-template-columns:1fr;
}

.search-wrapper{
    flex-direction:column;
}

.a-z_hero h1{
    font-size:48px;
}

.directory-header{
    flex-direction:column;
    align-items:flex-start;
}

}
