/* ==========================
   HERO AREA BASE STYLES
========================== */
.hero-area {
    width: 100%;
}

.hero-area .row {
    display: flex;
    flex-wrap: wrap;
    min-height: 70vh;
    /* Desktop height */
}

/* Columns stretch full height */
.hero-area .col-lg-8,
.hero-area .col-lg-4 {
    display: flex;
}

/* ==========================
   SLIDER
========================== */
.swiper.home-slider,
.hero-slide {
    width: 100%;
    height: 100%;
    min-height: 70vh;
}

.hero-slide {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 90%;
    margin: 0 auto;
    text-align: center;
    color: #fff;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-text {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.hero-btn {
    font-size: 1rem;
    padding: 0.75rem 2rem;
}

/* ==========================
   YOUTUBE BANNER
========================== */
.youtube-banner {
    width: 100%;
    height: 100%;
    min-height: 70vh;
    display: flex;
}

.video-link {
    display: block;
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 8px;
}

.video-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.video-link:hover .video-thumb {
    transform: scale(1.05);
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.play-button svg {
    width: 64px;
    height: 64px;
}

/* ==========================
   SWIPER NAVIGATION
========================== */
.swiper-button-next,
.swiper-button-prev {
    color: white;
}

.swiper-pagination-bullet {
    background: white;
    opacity: 0.7;
}

.swiper-pagination-bullet-active {
    opacity: 1;
}

/* ==========================
   RESPONSIVE TYPOGRAPHY & LAYOUT
========================== */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-text {
        font-size: 1rem;
    }
}

@media (max-width: 992px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-text {
        font-size: 0.95rem;
    }

    /* Stack columns vertically */
    .col-lg-8,
    .col-lg-4 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .youtube-banner {
        margin-top: 20px;
        min-height: 50vh;
    }

    .hero-slide {
        min-height: 50vh;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.5rem;
    }

    .hero-text {
        font-size: 0.9rem;
    }

    .hero-btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }

    .play-button svg {
        width: 48px;
        height: 48px;
    }

    .youtube-banner,
    .hero-slide {
        min-height: 40vh;
    }
}

/* ===============================
   SERVICE CATEGORIES (PROFESSIONAL)
   Corporate / SaaS / Agency Ready
================================= */

.service-categories {
    padding: 80px 0;
    background: #f9fafb;
}

/* Heading */
.service-categories .sub-title {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #22C55E;
    margin-bottom: 10px;
}

.service-categories .section-summary {
    font-size: 34px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 50px;
    line-height: 1.3;
    text-align: center;
}

/* Grid spacing */
.service-categories .row {
    row-gap: 30px;
}

/* ===============================
   CARD DESIGN (MODERN CORPORATE)
================================= */

.single-category {
    background: #ffffff;
    border: 1px solid #eef2f7;
    border-radius: 14px;

    padding: 35px 25px;
    text-align: center;

    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;

    transition: all 0.25s ease;

    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.single-category:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.08);
    border-color: #dbeafe;
}

/* ===============================
   ICON STYLE (CLEAN BUSINESS LOOK)
================================= */

.single-category .img-wrapper {
    width: 70px;
    height: 70px;

    margin-bottom: 18px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #f1f5f9;
    border-radius: 16px;
}

.single-category .img-wrapper img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

/* ===============================
   TEXT CONTENT
================================= */

.single-category .text {
    width: 100%;
}

.single-category h4 {
    font-size: 18px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 10px;
}

.single-category p {
    font-size: 14px;
    line-height: 1.6;
    color: #6b7280;
    margin-bottom: 18px;
    min-height: 60px;
}

/* ===============================
   BUTTON STYLE (PROFESSIONAL CTA)
================================= */

.single-category .readmore {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 10px 18px;

    font-size: 13px;
    font-weight: 600;

    color: #2563eb;
    background: #eff6ff;

    border-radius: 8px;
    text-decoration: none;

    transition: all 0.2s ease;

    margin-top: auto;
}

.single-category .readmore:hover {
    background: #2563eb;
    color: #ffffff;
}

/* See more */
.single-category .see-more {
    font-size: 13px;
    color: #2563eb;
    font-weight: 600;
    text-decoration: none;
}

.single-category .see-more:hover {
    text-decoration: underline;
}

/* ===============================
   RESPONSIVE DESIGN
================================= */

@media (max-width: 991px) {
    .service-categories {
        padding: 60px 0;
    }

    .service-categories .section-summary {
        font-size: 28px;
        margin-bottom: 40px;
    }
}

@media (max-width: 767px) {
    .single-category {
        padding: 28px 20px;
    }

    .single-category .img-wrapper {
        width: 60px;
        height: 60px;
    }

    .single-category .img-wrapper img {
        width: 30px;
        height: 30px;
    }
}

@media (max-width: 575px) {
    .service-categories {
        padding: 50px 0;
    }

    .service-categories .section-summary {
        font-size: 22px;
    }

    .service-categories .row {
        row-gap: 20px;
    }
}

/* =========================
   SERVICE GRID LAYOUT
========================= */

.single-service {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.single-service:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
}

/* Image */
.service-img-wrapper {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.service-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.single-service:hover .service-img-wrapper img {
    transform: scale(1.05);
}

/* Content */
.service-txt {
    padding: 18px 18px 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.service-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.4;
}

.service-title a {
    color: #222;
    text-decoration: none;
    transition: 0.3s;
}

.service-title a:hover {
    color: #0d6efd;
}

/* Summary */
.service-summary {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

/* Read more button */
.readmore-btn {
    margin-top: auto;
    display: inline-block;
    font-weight: 600;
    font-size: 14px;
    color: #0d6efd;
    text-decoration: none;
    transition: 0.3s;
}

.readmore-btn:hover {
    color: #0a58ca;
}

/* =========================
   PAGINATION
========================= */

.pagination-nav {
    margin-top: 25px;
    text-align: center;
}

.pagination-nav .pagination {
    justify-content: center;
}

/* =========================
   SIDEBAR
========================= */

.blog-sidebar-widgets {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
}

/* Search */
.searchbar {
    display: flex;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
}

.searchbar input {
    border: none;
    padding: 12px;
    width: 100%;
    outline: none;
    font-size: 14px;
}

.searchbar button {
    background: #0d6efd;
    border: none;
    color: #fff;
    padding: 0 18px;
    cursor: pointer;
    transition: 0.3s;
}

.searchbar button:hover {
    background: #0a58ca;
}

/* Categories */
.category-lists h4 {
    font-size: 16px;
    margin-bottom: 15px;
    font-weight: 600;
}

.category-lists ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-lists ul li {
    margin-bottom: 8px;
}

.category-lists ul li a {
    display: flex;
    justify-content: space-between;
    padding: 10px 12px;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    background: #f8f9fa;
    transition: 0.3s;
}

.category-lists ul li a:hover {
    background: #0d6efd;
    color: #fff;
}

.category-lists ul li.active a {
    background: #0d6efd;
    color: #fff;
}

.category-lists .count {
    font-size: 12px;
    opacity: 0.8;
}

/* Subscribe */
.subscribe-section {
    background-color: #3B82F6;
    color: #fff;
    padding: 42px 40px 45px;
    border-radius: 12px;
    text-align: center;
}

.subscribe-section span {
    font-size: 12px;
    letter-spacing: 2px;
    opacity: 0.9;
}

.subscribe-section h3 {
    font-size: 18px;
    margin: 10px 0 15px;
}

.subscribe-section input[type="email"] {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 8px;
    margin-bottom: 10px;
    outline: none;
}

.subscribe-section input[type="submit"] {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 8px;
    background: #fff;
    color: #0d6efd;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.subscribe-section input[type="submit"]:hover {
    background: #f1f1f1;
}

/* =========================
   RESPONSIVE DESIGN
========================= */

@media (max-width: 991px) {

    .service-img-wrapper {
        height: 180px;
    }

    .service-title {
        font-size: 16px;
    }
}

@media (max-width: 767px) {

    .single-service {
        margin-bottom: 20px;
    }

    .blog-sidebar-widgets {
        margin-top: 20px;
    }

    .subscribe-section {
        margin-bottom: 20px;
    }
}