﻿
/* ========== SLIDING BANNER ========== */
.banner-slider {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    background-size: cover;
    background-position: center;
}

    .slide.active {
        opacity: 1;
    }

.slide-content {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    color: white;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

    .slide-content h2 {
        font-size: 3rem;
        font-weight: 800;
        margin-bottom: 16px;
    }

    .slide-content p {
        font-size: 1.2rem;
        margin-bottom: 24px;
        max-width: 500px;
    }

.slide-btn {
    background: #3aaa5c;
    color: white;
    padding: 12px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: 0.3s;
}

    .slide-btn:hover {
        background: #2e8f4a;
        transform: translateY(-2px);
    }

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: 0.3s;
}

    .dot.active {
        background: #3aaa5c;
        width: 30px;
        border-radius: 10px;
    }

.slider-prev, .slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: 0.3s;
}

    .slider-prev:hover, .slider-next:hover {
        background: #3aaa5c;
    }

.slider-prev {
    left: 20px;
}

.slider-next {
    right: 20px;
}

/* ========== SEARCH BAR ========== */
.search-section {
    background: white;
    padding: 40px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.search-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.search-input {
    flex: 2;
    padding: 16px 20px;
    border: 2px solid #e2e8ec;
    border-radius: 60px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    background: #fefaf5;
}

    .search-input:focus {
        outline: none;
        border-color: #3aaa5c;
    }

.search-btn {
    background: linear-gradient(135deg, #3aaa5c, #2e8f4a);
    color: white;
    border: none;
    padding: 0 32px;
    border-radius: 60px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
}

    .search-btn:hover {
        transform: translateY(-2px);
    }

/* ========== SECTIONS ========== */
.section {
    padding: 70px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

    .section-header h2 {
        font-size: 2rem;
        font-weight: 800;
        color: #1e2f3f;
        margin-bottom: 15px;
    }

        .section-header h2 span {
            color: #3aaa5c;
        }

    .section-header p {
        color: #5a6a75;
        max-width: 700px;
        margin: 0 auto;
    }



/* Categories Grid - SMALL BOXES */
.cat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 15px;
}

.cat-card {
    background: white;
    text-align: center;
    padding: 12px 8px;
    border-radius: 16px;
    border: 1px solid #e2e8ec;
    transition: 0.3s;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}
.cat-grid a {
    text-decoration: none;
    color: inherit;
}
    .cat-card:hover {
        transform: translateY(-3px);
        border-color: #3aaa5c;
        box-shadow: 0 5px 12px rgba(0,0,0,0.05);
    }

    .cat-card i {
        font-size: 1.5rem;
        color: #3aaa5c;
        margin-bottom: 6px;
        display: block;
    }

    .cat-card h4 {
        font-size: 0.7rem;
        font-weight: 600;
    }


/* Premium Business Grid */
.premium-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
    .premium-grid a {
        text-decoration: none;
        color: inherit;
    }
.premium-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #e2e8ec;
    transition: 0.3s;
}

    .premium-card:hover {
        transform: translateY(-5px);
        border-color: #3aaa5c;
        box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    }

.premium-img {
    height: 180px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.premium-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #3aaa5c;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
}

.premium-content {
    padding: 20px;
}

.premium-name {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.premium-cat {
    color: #3aaa5c;
    font-size: 0.75rem;
    margin-bottom: 8px;
}

.premium-loc {
    color: #7e8c9e;
    font-size: 0.7rem;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.premium-rating {
    color: #f4a261;
    font-size: 0.8rem;
}

/* News Grid */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.news-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #e2e8ec;
    transition: 0.3s;
}

    .news-card:hover {
        transform: translateY(-5px);
        border-color: #3aaa5c;
    }

.news-img {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.news-content {
    padding: 20px;
}

.news-date {
    color: #3aaa5c;
    font-size: 0.7rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.news-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.news-excerpt {
    color: #5a6a75;
    font-size: 0.8rem;
    line-height: 1.6;
}

/* Video Grid */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.video-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #e2e8ec;
    cursor: pointer;
    transition: 0.3s;
}

    .video-card:hover {
        transform: translateY(-5px);
        border-color: #3aaa5c;
    }

.video-thumb {
    height: 180px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: rgba(0,0,0,0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.video-info {
    padding: 15px;
}

.video-title {
    font-weight: 700;
    margin-bottom: 5px;
}

.video-duration {
    font-size: 0.7rem;
    color: #5a6a75;
}

/* Blog Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.blog-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #e2e8ec;
    transition: 0.3s;
}

    .blog-card:hover {
        transform: translateY(-5px);
        border-color: #3aaa5c;
    }

.blog-img {
    height: 180px;
    background-size: cover;
    background-position: center;
}

.blog-content {
    padding: 20px;
}

.blog-cat {
    color: #3aaa5c;
    font-size: 0.7rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.blog-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.blog-meta {
    color: #7e8c9e;
    font-size: 0.7rem;
    margin-top: 12px;
}


