/* Seosight-inspired home page styles */

.home-seosight .section {
    padding-top: 80px;
    padding-bottom: 80px;
}

.home-seosight .section-header {
    text-align: center;
    margin-bottom: 50px;
}

.home-seosight .section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.home-seosight .section-text {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.home-seosight .section:nth-child(even) {
    background-color: #f8f9fb;
}

/* Transparent navbar on home hero */
.nav-bar.home-hero-nav {
    background-color: transparent;
    box-shadow: none;
}

.nav-bar.home-hero-nav:not(.scrolling) .link,
.nav-bar.home-hero-nav:not(.scrolling) .drop-down .drop-down-btn,
.nav-bar.home-hero-nav:not(.scrolling) .nav-bar-menu-btn {
    color: #fff;
}

.nav-bar.home-hero-nav:not(.scrolling) .btn-outline-primary {
    color: #fff;
    border-color: #fff;
}

.nav-bar.home-hero-nav:not(.scrolling) .logo-dark {
    display: none;
}

.nav-bar.home-hero-nav:not(.scrolling) .logo-light {
    display: block !important;
}

.nav-bar.home-hero-nav.scrolling {
    background-color: #fff;
}

.nav-bar.home-hero-nav.scrolling .logo-dark {
    display: block;
}

.nav-bar.home-hero-nav.scrolling .logo-light {
    display: none !important;
}

/* Hero */
.seosight-hero {
    position: relative;
    min-height: 700px;
    display: flex;
    align-items: center;
    overflow: hidden;
    margin-top: -85px;
    padding-top: 85px;
}

.seosight-hero .home-banner-swiper,
.seosight-hero .home-banner-fallback {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.seosight-hero .home-banner-slide {
    min-height: 700px;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.seosight-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.88) 0%, rgba(15, 23, 42, 0.55) 50%, rgba(15, 23, 42, 0.3) 100%);
    z-index: 1;
}

.seosight-hero-content {
    position: relative;
    z-index: 2;
    padding-top: 60px;
    padding-bottom: 60px;
}

.seosight-hero-subtitle {
    color: rgb(var(--primary_color));
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.seosight-hero-title {
    color: #fff;
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    max-width: 600px;
}

.seosight-hero-text {
    color: rgba(255, 255, 255, 0.85);
    font-size: 17px;
    font-weight: 300;
    line-height: 1.7;
    margin-bottom: 30px;
    max-width: 520px;
}

.seosight-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 10px;
}

.seosight-hero-actions .btn-primary {
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 8px 25px rgba(var(--primary_color), 0.35);
}

.seosight-hero-actions .btn-outline-light {
    border-radius: 50px;
    font-weight: 600;
    border-width: 2px;
}

.seosight-hero-search .header-search {
    max-width: 520px;
    border-radius: 50px;
    overflow: hidden;
}

.seosight-hero-search .header-search .form-control {
    min-height: 56px;
    border-radius: 50px 0 0 50px;
    padding-left: 24px;
}

.seosight-hero-search .header-search .btn {
    border-radius: 50px;
    right: 5px;
    height: calc(100% - 10px);
}

/* Banner navigation */
.home-banner-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    cursor: pointer;
    transition: background 0.3s;
}

.home-banner-nav:hover {
    background: rgba(255, 255, 255, 0.3);
}

.home-banner-nav-prev {
    left: 30px;
}

.home-banner-nav-next {
    right: 30px;
}

.home-banner-pagination {
    position: absolute;
    bottom: 30px;
    left: 0;
    width: 100%;
    z-index: 3;
    text-align: center;
}

.home-banner-pagination .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: #fff;
    opacity: 0.4;
    transition: opacity 0.3s, transform 0.3s;
}

.home-banner-pagination .swiper-pagination-bullet-active {
    opacity: 1;
    transform: scale(1.2);
}

/* Stats bar */
.seosight-stats {
    background: #fff;
    padding: 40px 0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    position: relative;
    z-index: 5;
    margin-top: -40px;
    border-radius: var(--border_radius);
    margin-left: 15px;
    margin-right: 15px;
}

.seosight-stat-number {
    font-size: 2.2rem;
    font-weight: 700;
    color: rgb(var(--primary_color));
    line-height: 1.2;
}

.seosight-stat-label {
    font-size: 14px;
    color: rgb(var(--text_muted));
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Categories — Seosight service strip */
.home-seosight .seosight-categories {
    margin-top: 40px;
    padding-top: 0;
}

.home-seosight .seosight-categories .seosight-service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0;
    background: #fff;
    border-radius: var(--border_radius);
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.home-seosight .seosight-service-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 28px 24px;
    text-decoration: none;
    color: inherit;
    border-right: 1px solid rgb(var(--border_color));
    transition: background 0.3s, transform 0.3s;
}

.home-seosight .seosight-service-item:last-child {
    border-right: none;
}

.home-seosight .seosight-service-item:hover {
    background: rgb(var(--primary_color));
    color: #fff;
    transform: translateY(-2px);
}

.home-seosight .seosight-service-item:hover .seosight-service-number,
.home-seosight .seosight-service-item:hover .seosight-service-title {
    color: #fff;
}

.home-seosight .seosight-service-number {
    font-size: 2rem;
    font-weight: 700;
    color: rgb(var(--primary_color));
    line-height: 1;
    min-width: 45px;
}

.home-seosight .seosight-service-icon {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
}

.home-seosight .seosight-service-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.home-seosight .seosight-service-title {
    font-size: 15px;
    font-weight: 600;
    margin: 0;
    color: rgb(var(--text_color));
    line-height: 1.3;
}

/* Testimonials */
.home-seosight .testimonial {
    background: #fff;
    border-radius: var(--border_radius);
    padding: 30px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.06);
    height: 100%;
}

.home-seosight .testimonials-swiper .swiper-slide {
    height: auto;
}

/* Item cards */
.home-seosight .item {
    border: none;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s, box-shadow 0.3s;
}

.home-seosight .item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

/* Item tabs — pill style */
.home-seosight .items-tabs-btn {
    border-radius: 50px;
    padding: 10px 24px;
    font-weight: 500;
    border: 2px solid rgb(var(--border_color));
    background: #fff;
    transition: all 0.3s;
}

.home-seosight .items-tabs-btn.active,
.home-seosight .items-tabs-btn:hover {
    background: rgb(var(--primary_color));
    border-color: rgb(var(--primary_color));
    color: #fff;
}

.home-seosight .btn-primary {
    border-radius: 50px;
    font-weight: 600;
}

.home-seosight .btn-outline-primary {
    border-radius: 50px;
    font-weight: 600;
}

/* FAQ section */
.home-seosight .accordion-item {
    border: none;
    margin-bottom: 12px;
    border-radius: var(--border_radius) !important;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

@media (max-width: 991.98px) {
    .seosight-hero {
        min-height: 600px;
    }

    .seosight-hero .home-banner-slide {
        min-height: 600px;
    }

    .seosight-hero-title {
        font-size: 2rem;
    }

    .seosight-hero-content {
        text-align: center;
    }

    .seosight-hero-subtitle,
    .seosight-hero-title,
    .seosight-hero-text {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .seosight-hero-actions {
        justify-content: center;
    }

    .seosight-hero-search .header-search {
        margin-left: auto;
        margin-right: auto;
    }

    .home-banner-nav {
        display: none;
    }

    .home-seosight .seosight-service-item {
        border-right: none;
        border-bottom: 1px solid rgb(var(--border_color));
    }

    .home-seosight .seosight-service-item:last-child {
        border-bottom: none;
    }

    .seosight-stats {
        margin-top: 0;
        border-radius: 0;
        margin-left: 0;
        margin-right: 0;
    }
}

@media (min-width: 1200px) {
    .seosight-hero-title {
        font-size: 3.2rem;
    }
}
