/* Header */
body {

}
.header
{
    border-bottom: 1px solid #F2F2F7;

}
.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 22px;
    font-weight: 700;
    color: #000000;
}
.logo-icon {
    width: 40px;
    height: 40px;
    background: #007AFF;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.logo-icon svg {
    width: 32px;
    height: 32px;
    fill: white;
}
.header-buttons {
    display: flex;
    gap: 6px;
}


/* Offcanvas Menu  */
.hamburger-btn {
    border: none;
    background: transparent;
    padding: 7px 7px !important;
    cursor: pointer;
}
.hamburger-btn:hover {
    background-color: rgba(0, 0, 0, 0.05);
    border-radius: 8px;
}
.hamburger-btn:active {
    background-color: rgba(0, 0, 0, 0.05);
    border-radius: 8px;
}
.offcanvas-end {
    right: auto;
    left: 0;
}
.offcanvas-body .nav-link {
    padding: 0.75rem 0;
    transition: all 0.3s ease;
}
.offcanvas-body .nav-link:hover {
    padding-right: 0.5rem;
    color: var(--primary-color) !important;
}


.hero-home-search-input::placeholder
{
    font-size: 0.85rem !important;
}


/* Home */
.hero-home {

    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}
.hero-home h1 {
    font-size: 36px;
    font-weight: 800;
    color: #000000;
    margin-bottom: 16px;
    line-height: 1.2;
}
.hero-home p {
    font-size: 17px;
    color: #8E8E93;
    line-height: 1.6;
    margin-bottom: 32px;
}
.hero-home-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}
#cursor {
    display: inline-block;
    animation: blink 0.7s infinite;
    font-weight: bold;
}
@keyframes blink {
    0%, 50%, 100% { opacity: 1; }
    25%, 75% { opacity: 0; }
}
@media (max-width: 576px) {
    .hero-home h1 {
        font-size: 28px;
    }
}


/* App Alert - Unified & Optimized */
.app-alert-box {
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 16px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
.app-alert-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    flex-shrink: 0;
}
.app-alert-content {
    flex: 1;
}
.app-alert-title {
    font-size: 15px;
    font-weight: 600;
    color: #000;
    margin-bottom: 4px;
}
.app-alert-text {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
}
.app-alert-box.app-success {
    background: rgba(52, 199, 89, 0.1);
    border: 1px solid rgba(52, 199, 89, 0.2);
}
.app-alert-box.app-success .app-alert-icon {
    background: #34C759;
    color: white;
}
.app-alert-box.app-info {
    background: rgba(0, 122, 255, 0.1);
    border: 1px solid rgba(0, 122, 255, 0.2);
}
.app-alert-box.app-info .app-alert-icon {
    background: #007AFF;
    color: white;
}
.app-alert-box.app-warning {
    background: rgba(255, 204, 0, 0.1);
    border: 1px solid rgba(255, 204, 0, 0.2);
}
.app-alert-box.app-warning .app-alert-icon {
    background: #FFCC00;
    color: #000;
}
.app-alert-box.app-error {
    background: rgba(255, 59, 48, 0.1);
    border: 1px solid rgba(255, 59, 48, 0.2);
}
.app-alert-box.app-error .app-alert-icon {
    background: #FF3B30;
    color: white;
}


/* Account */
.account-authentication {
    display: flex;
    align-items: center;
    justify-content: center;
}
.login-container {
    background: white;
    max-width: 100%;
    width: 100%;
}
.app-icon-account-authentication {
    width: 70px;
    height: 70px;
    background: #007AFF;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}
.app-icon-account-authentication svg {
    width: 36px;
    height: 36px;
    fill: white;
}
.subtitle-account-form {
    color: #8E8E93;
    font-size: 15px;
    line-height: 1.4;
    margin: 0;
}
.help-text-account-form {
    text-align: center;
    margin-top: 32px;
    color: #8E8E93;
    font-size: 13px;
}
.help-text-account-form a {
    color: #007AFF;
    text-decoration: none;
    font-weight: 500;
}
@media (min-width: 576px) {
    .login-container {
        max-width: 400px;
        min-height: auto;
    }
}



/* Features */
.features {
    padding: 60px 24px;
    background: #F9F9F9;
}
.section-title {
    font-size: 28px;
    font-weight: 700;
    color: #000000;
    margin-bottom: 32px;
    text-align: center;
}
.features-grid {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}
.feature-card {
    background: white;
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
}
.feature-icon
{
    width: 60px;
    height: 60px;
    background: #F2F2F7;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}
.feature-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: #000000;
    margin-bottom: 12px;
}
.feature-card p {
    font-size: 15px;
    color: #8E8E93;
    line-height: 1.6;
    margin: 0;
}
.feature-icon svg {
    width: 28px;
    height: 28px;
    fill: #007AFF;
}


/* Reviews */
.flat-card {
    background-color: #ffffff;
    border-radius: 12px;
    overflow: hidden;
}
.flat-divider {
    border-top: 1px solid #e9ecef;
}
.ai-box {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
}
.reply-box {
    background-color: #f8f9fa;
    padding: 12px;
    border-radius: 8px;
    margin-top: 12px;
}
.btn-flat-primary {
    background-color: #0d6efd;
    color: white;
    border-radius: 8px;
    font-weight: 500;
    border: none;
    padding: 10px 20px;
}
.reaction-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
}
.reaction-btn {
    border: 1px solid #dee2e6;
    border-radius: 999px;
    background-color: #ffffff;
    font-size: 0.75rem;
    padding: 4px 10px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #6c757d;
    cursor: pointer;
}
.reaction-btn.active {
    border-color: #0d6efd;
    color: #0d6efd;
    background-color: #e7f1ff;
}
.reaction-count {
    font-size: 0.75rem;
    color: #6c757d;
}
.comment-gallery {
    margin-top: 10px;
}
.comment-gallery img {
    width: 100%;
    border-radius: 8px;
    object-fit: cover;
    height: 80px;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.comment-gallery img:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

/* Footer */
.footer-border {
    border: 1px solid;
    border-image: linear-gradient(
            to right,
            #CFCFCF 0%,
            #8FB9E8 35%,
            #007AFF 50%,
            #8FB9E8 65%,
            #CFCFCF 100%
    ) 1;
}
.footer-links li {
    margin-top: 10px;
}
.footer-links a {
    color: #8E8E93;
    text-decoration: none;
    font-size: 14px;
}
.footer-links a:hover {
    color: #007AFF;
}
.footer-copy {
    color: #C7C7CC;
    font-size: 13px;
}
@media (max-width: 576px) {
    .hero h1 {
        font-size: 28px;
    }
    .header-buttons .btn-outline {
        display: none;
    }
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.categories-home-icon svg
{
    width: 32px;
    height: 32px;
}

.social-icon {
    width: 48px;
    height: 48px;
    background-color: #0d6efd;
    color: #fff;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-left: 10px;
    text-decoration: none;
}


/* Businesses */
.businesses-card {
    border-radius: 12px;
    overflow: visible;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: #fff;
    position: relative;
}
.businesses-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}
.businesses-link {
    text-decoration: none;
    color: inherit;
    display: block;
}
.businesses-cover-wrapper {
    height: 180px;
    overflow: visible;
    background: #f8f9fa;
    border-radius: 12px 12px 0 0;
    position: relative;
    z-index: 1;
}
.businesses-cover-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 12px 12px 0 0;
}
.businesses-logo-circle {
    position: absolute;
    bottom: 0;
    left: 16px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #fff;
    background: #fff;
    z-index: 20;
    transform: translateY(30%);
}
.businesses-logo-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.businesses-content {
    padding: 16px 16px 16px 16px;
    position: relative;
    z-index: 5;
}
.business-rating-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.95);
    padding: 4px 10px;
    border-radius: 20px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    font-size: 0.8rem;
    z-index: 10;
    width: fit-content;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}
.business-rating-badge .rating-star {
    color: #ffc107;
    font-size: 0.9rem;
    line-height: 1;
    padding-bottom: 2px;
}
.businesses-tag {
    background: #f1f3f5;
    padding: 6px 12px;
    border-radius: 6px;
    white-space: nowrap;
    color: #495057;
    font-weight: 500;
}
.businesses-tags-scroll {
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.businesses-tags-scroll::-webkit-scrollbar {
    display: none;
}
.text-ellipsis {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
@media (min-width: 768px) {
    .businesses-cover-wrapper {
        height: 200px;
    }
    .businesses-logo-circle {
        width: 60px;
        height: 60px;
        left: 20px;
    }
    .businesses-content {
        padding: 20px 20px 20px 20px;
    }
}
@media (min-width: 1200px) {
    .businesses-cover-wrapper {
        height: 220px;
    }
    .businesses-logo-circle {
        width: 60px;
        height: 60px;
    }
    .businesses-content {
        padding: 24px 24px 24px 24px;
    }
}


/* mobile bottom nav */
.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    background-color: #ffffff;
    border-radius: 0;
    box-shadow: 0 -2px 20px rgba(0, 0, 0, 0.08);
    padding: 5px 10px 5px;
    display: none;
    justify-content: space-between;
    align-items: center;
    z-index: 1050;
    direction: rtl;
}
.mobile-nav-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-width: 60px;
    padding: 4px 4px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: #6c757d;
    border-radius: 12px;
}
.mobile-nav-icon svg {
    width: 24px;
    height: 24px;
    stroke-width: 2;
}
.mobile-nav-label {
    font-size: 11px;
    font-weight: 500;
    white-space: nowrap;
    margin-top: 2px;
}
.mobile-nav-icon:hover:not(.mobile-nav-icon--active) {
    background-color: #f8f9fa;
    color: #1a1a1a;
}
.mobile-nav-icon--active {
    background-color: #0d6efd;
    color: #ffffff;

}
.mobile-nav-icon--active svg {
    stroke: #ffffff;
}


@media (max-width: 991.98px) {
    .mobile-bottom-nav {
        display: flex;
    }
    .logo-icon
    {
        width: 32px !important;
        height: 32px !important;
    }
    .logo-icon img
    {
        width: 32px !important;
        height: 32px !important;
    }
}
@media (max-width: 991.98px) {
    body {
        padding-bottom: 90px;
    }
}