/* 
 * BAKITA Custom Styles
 * Primary Color Scheme:
 * - Primary Yellow: #fdd835
 * - Gold: #fbc02d
 * - Dark Yellow: #f9a825
 * - Blue: #1e88e5
 * - White: #ffffff
 * - Black/Dark: #2c3e50
 */

.news-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.section-header {
    position: relative;
    margin-bottom: 50px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fdd835;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 20px;
}

.title-line {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #fdd835, transparent);
}

/* News Card */
.news-card {
    background: #ffffff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    height: 100%;
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.news-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.1);
}

.news-date-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: linear-gradient(135deg, #fdd835 0%, #fbc02d 100%);
    color: #2c3e50;
    padding: 12px 15px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(253, 216, 53, 0.4);
}

.badge-day {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1;
}

.badge-month {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-top: 5px;
    letter-spacing: 0.5px;
}

.news-content {
    padding: 25px;
}

.news-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.5;
    min-height: 65px;
}

.news-link {
    color: #fdd835;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.news-link:hover {
    color: #fbc02d;
    gap: 12px;
    text-decoration: none;
}

.news-link i {
    font-size: 0.85rem;
}

/* View All Link */
.view-all-link {
    display: inline-flex;
    align-items: center;
    background-color: #fdd835;
    color: #2c3e50;
    padding: 14px 40px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 0.95rem;
}

.view-all-link:hover {
    background-color: #fbc02d;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(253, 216, 53, 0.3);
    text-decoration: none;
    color: #2c3e50;
}

/* Announcements Section */
.announcements-section {
    background: #f5f5f5;
}

.announcement-column {
    background: #ffffff;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    height: 100%;
}

.column-header {
    position: relative;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

.column-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fdd835;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 15px;
}

.title-line-sm {
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #fdd835, transparent);
}

/* Announcement Item */
.announcement-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.announcement-item {
    display: flex;
    gap: 15px;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 10px;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.announcement-item:hover {
    background: #ffffff;
    border-left-color: #fdd835;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transform: translateX(5px);
}

.announcement-icon {
    width: 45px;
    height: 45px;
    min-width: 45px;
    background: linear-gradient(135deg, #fdd835 0%, #fbc02d 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2c3e50;
    font-size: 1.2rem;
}

.publication-icon {
    background: linear-gradient(135deg, #1e88e5 0%, #1565c0 100%);
    color: #ffffff;
}

.announcement-details {
    flex: 1;
}

.announcement-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.announcement-date {
    font-size: 0.85rem;
    color: #666;
    font-weight: 500;
}

.announcement-category {
    font-size: 0.75rem;
    background: #fdd835;
    color: #2c3e50;
    padding: 3px 10px;
    border-radius: 12px;
    font-weight: 600;
}

.announcement-title {
    color: #333;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    display: block;
    line-height: 1.5;
    transition: color 0.3s ease;
}

.announcement-item:hover .announcement-title {
    color: #fdd835;
}

/* View More Link */
.view-more-link {
    display: inline-flex;
    align-items: center;
    color: #fdd835;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 2px solid #fdd835;
    padding-bottom: 5px;
}

.view-more-link:hover {
    color: #fbc02d;
    gap: 8px;
    text-decoration: none;
}

/* Responsive Design */
@media (max-width: 991px) {
    .section-title {
        font-size: 2rem;
    }

    .column-title {
        font-size: 1.5rem;
    }

    .news-image {
        height: 220px;
    }
}

@media (max-width: 767px) {
    .section-title {
        font-size: 1.6rem;
        gap: 10px;
    }

    .title-line {
        width: 40px;
    }

    .column-title {
        font-size: 1.3rem;
        gap: 10px;
    }

    .title-line-sm {
        width: 30px;
    }

    .news-image {
        height: 200px;
    }

    .news-title {
        min-height: auto;
        font-size: 1rem;
    }

    .announcement-column {
        padding: 20px;
    }

    .announcement-item {
        padding: 15px;
    }
}

@media (max-width: 575px) {
    .section-title {
        font-size: 1.4rem;
    }

    .news-date-badge {
        top: 15px;
        left: 15px;
        padding: 10px 12px;
    }

    .badge-day {
        font-size: 1.5rem;
    }

    .announcement-icon {
        width: 40px;
        height: 40px;
        min-width: 40px;
        font-size: 1rem;
    }

    .announcement-title {
        font-size: 0.9rem;
    }
}


.what-we-offer-section {
    position: relative;
    padding: 80px 0;
    overflow: hidden;
}

.offer-wrapper {
    position: relative;
    min-height: 450px;
}

.offer-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65)),
        url('/images/bakita-background.jpg') center center/cover no-repeat;
    z-index: 1;
}

.offer-content {
    position: relative;
    z-index: 2;
    padding: 0 15px;
    max-width: 1400px;
    margin: 0 auto;
}

.offer-title {
    text-align: center;
    color: #ffffff;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 60px;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.title-dot {
    color: #fdd835;
    font-size: 4rem;
}

.service-card {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fdd835;
    color: #2c3e50;
    text-decoration: none;
    padding: 35px 25px;
    border-radius: 10px;
    min-height: 140px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: left 0.5s ease;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    background-color: #fbc02d;
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
    text-decoration: none;
    color: #2c3e50;
}

.service-title {
    font-size: 1.15rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    line-height: 1.5;
    word-wrap: break-word;
}

/* View All Button */
.btn-view-all {
    display: inline-flex;
    align-items: center;
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
    padding: 12px 35px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 0.95rem;
}

.btn-view-all:hover {
    background-color: #ffffff;
    color: #fdd835;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

.btn-view-all i {
    transition: transform 0.3s ease;
}

.btn-view-all:hover i {
    transform: translateX(5px);
}

/* Carousel Controls Styling */
.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    background-color: rgba(253, 216, 53, 0.9);
    border-radius: 50%;
    top: 45%;
    transform: translateY(-50%);
    opacity: 0.8;
}

.carousel-control-prev {
    left: 20px;
}

.carousel-control-next {
    right: 20px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
    background-color: rgba(253, 216, 53, 1);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 20px;
    height: 20px;
}

.carousel-indicators {
    bottom: -50px;
}

.carousel-indicators li {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    border: none;
    margin: 0 5px;
}

.carousel-indicators .active {
    background-color: #fdd835;
    width: 30px;
    border-radius: 6px;
}

/* Responsive Design */
@media (max-width: 1199px) {
    .offer-title {
        font-size: 3rem;
    }

    .title-dot {
        font-size: 3.5rem;
    }
}

@media (max-width: 991px) {
    .offer-title {
        font-size: 2.5rem;
    }

    .title-dot {
        font-size: 3rem;
    }

    .service-card {
        min-height: 130px;
        padding: 30px 20px;
    }

    .service-title {
        font-size: 1.05rem;
    }

    .carousel-control-prev {
        left: 10px;
    }

    .carousel-control-next {
        right: 10px;
    }
}

@media (max-width: 767px) {
    .what-we-offer-section {
        padding: 60px 0;
    }

    .offer-title {
        font-size: 2rem;
        margin-bottom: 40px;
    }

    .title-dot {
        font-size: 2.5rem;
    }

    .service-card {
        padding: 25px 15px;
        min-height: 120px;
    }

    .service-title {
        font-size: 1rem;
    }

    .btn-view-all {
        padding: 10px 28px;
        font-size: 0.85rem;
    }
}

@media (max-width: 575px) {
    .offer-title {
        font-size: 1.6rem;
    }

    .service-card {
        padding: 20px 10px;
        min-height: 110px;
    }

    .service-title {
        font-size: 0.95rem;
    }

    .carousel-control-prev,
    .carousel-control-next {
        width: 40px;
        height: 40px;
    }
}

/* Tips Section */
.tips-section {
    background: linear-gradient(135deg, #f0f4f0 0%, #ffffff 100%);
    overflow: hidden;
}

/* Section Header */
.section-header {
    margin-bottom: 60px;
}

.tips-main-title {
    font-size: 3rem;
    font-weight: 700;
    color: #2c5f2d;
    text-transform: uppercase;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.tips-subtitle {
    font-size: 1.3rem;
    color: #666;
    font-style: italic;
    margin: 0;
}

/* Carousel Container */
.tips-carousel {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Tip Cards */
.tip-card {
    background: #ffffff;
    border-radius: 15px;
    padding: 30px 25px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    transition: all 0.4s ease;
    height: 100%;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.tip-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.15);
}

/* Side Cards (Left & Right) */
.tip-card-side {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.tip-icon-wrapper {
    text-align: center;
    margin-bottom: 20px;
}

.tip-icon-image {
    width: 60px;
    height: 60px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.tip-content {
    flex: 1;
}

.tip-text-english {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    line-height: 1.6;
    margin-bottom: 15px;
}

.tip-text-swahili {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
    font-style: italic;
    margin: 0;
}

/* Featured Card (Center) */
.tip-card-featured {
    background: linear-gradient(135deg, #fdd835 0%, #fbc02d 100%);
    min-height: 350px;
    color: #2c3e50;
    position: relative;
    overflow: hidden;
}

.tip-card-featured::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: pulse 8s infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.tip-badge-wrapper-top {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 2;
}

.tip-content-featured {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 40px 20px;
}

.tip-title-english {
    font-size: 1.4rem;
    font-weight: 700;
    color: #2c3e50;
    line-height: 1.5;
    margin-bottom: 15px;
}

.tip-title-swahili {
    font-size: 1.1rem;
    color: rgba(44, 62, 80, 0.85);
    line-height: 1.5;
    font-style: italic;
    margin-bottom: 30px;
}

.tip-icon-featured {
    margin-top: 20px;
}

.tip-icon-featured img {
    width: 80px;
    height: 80px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

/* Badge Styling */
.tip-badge-wrapper {
    text-align: center;
    margin-top: 20px;
}

.tip-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #fdd835 0%, #fbc02d 100%);
    padding: 12px 20px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(253, 216, 53, 0.3);
}

.tip-badge-large {
    padding: 15px 25px;
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.3);
}

.badge-logo {
    height: 35px;
    width: auto;
}

.badge-number {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    line-height: 1;
}

/* Carousel Indicators (Dots) */
.tips-indicators {
    bottom: -50px;
}

.tips-indicators li {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(253, 216, 53, 0.3);
    border: none;
    margin: 0 6px;
    transition: all 0.3s ease;
}

.tips-indicators .active {
    width: 35px;
    border-radius: 6px;
    background-color: #fdd835;
}

/* Carousel Controls */
.tips-control-prev,
.tips-control-next {
    width: 55px;
    height: 55px;
    background-color: rgba(253, 216, 53, 0.9);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.8;
    transition: all 0.3s ease;
}

/* Poster image support for tips */
.tip-poster-wrapper { text-align:center; padding:8px 0; }
.tip-poster { max-width:100%; height:auto; display:block; margin:0 auto; border-radius:6px; }
.tip-featured-poster img { width:100%; height:auto; border-radius:8px; display:block; }
.tip-featured-caption { text-align:center; }
.tip-card-side .tip-content { padding-top:8px; }

/* Book listing styles */
.book-card { border: none; transition: transform .18s ease, box-shadow .18s ease; }
.book-card:hover { transform: translateY(-6px); box-shadow: 0 8px 24px rgba(0,0,0,0.12); }
.book-cover { height: 360px; overflow: hidden; background: #f8f9fb; display: flex; align-items: center; justify-content: center; }
.book-cover-img { width: 100%; height: 100%; object-fit: cover; display: block; min-width: 100%; min-height: 100%; }
.book-title { font-family: 'Open Sans', 'Helvetica Neue', Arial, sans-serif; font-weight: 700; font-size: 1.05rem; color: #22324a; line-height: 1.2; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.book-author { font-size: 0.9rem; }
.book-price { font-size: 1rem; }

@media (max-width: 768px) {
    .book-cover { height: 300px; }
}

/* Additional polish to ensure grid looks balanced */
.book-card { display: flex; flex-direction: column; overflow: hidden; }
.book-card .card-body { padding: 18px; }
.book-title { color: #1c2b3a; font-size: 1.1rem; }
.book-author { color: #6c757d; }
.book-price { color: #0d6efd; font-weight: 700; }

/* Ensure the cover does not push layout when image has extreme aspect ratio */
.book-cover-img { max-width: none; }



.tips-control-prev:hover,
.tips-control-next:hover {
    opacity: 1;
    background-color: rgba(253, 216, 53, 1);
    transform: translateY(-50%) scale(1.1);
}

.tips-control-prev {
    left: -30px;
}

.tips-control-next {
    right: -30px;
}

/* Responsive Design */
@media (max-width: 1199px) {
    .tips-main-title {
        font-size: 2.5rem;
    }

    .tip-card {
        min-height: 280px;
    }

    .tip-card-featured {
        min-height: 320px;
    }
}

@media (max-width: 991px) {
    .tips-main-title {
        font-size: 2rem;
    }

    .tips-subtitle {
        font-size: 1.1rem;
    }

    .tip-card {
        min-height: 260px;
        padding: 25px 20px;
    }

    .tip-card-featured {
        min-height: 300px;
        margin-bottom: 20px;
    }

    .tip-text-english {
        font-size: 0.95rem;
    }

    .tip-text-swahili {
        font-size: 0.85rem;
    }

    .tips-control-prev {
        left: 10px;
    }

    .tips-control-next {
        right: 10px;
    }
}

@media (max-width: 767px) {
    .tips-main-title {
        font-size: 1.8rem;
    }

    .tips-subtitle {
        font-size: 1rem;
    }

    .tip-card {
        min-height: 240px;
        margin-bottom: 15px;
    }

    .tip-card-featured {
        min-height: 280px;
    }

    .tip-title-english {
        font-size: 1.2rem;
    }

    .tip-title-swahili {
        font-size: 1rem;
    }

    .tip-icon-featured img {
        width: 60px;
        height: 60px;
    }

    .badge-number {
        font-size: 1.5rem;
    }

    .tips-control-prev,
    .tips-control-next {
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 575px) {
    .tips-section {
        padding: 40px 0;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .tips-main-title {
        font-size: 1.5rem;
    }

    .tip-card {
        padding: 20px 15px;
        min-height: auto;
    }

    .tip-text-english {
        font-size: 0.9rem;
    }

    .tip-text-swahili {
        font-size: 0.8rem;
    }
}

.open-sans-800 {
    font-weight: 800;
}

.books-section {
    padding: 2rem 0;
}

.content {
    background: white;
    min-height: 500px;
}

.pages-top-img-books {
    width: 200px;
    height: auto;
    padding: 2rem;
}

.info h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.book-summary {
    color: #555;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.button-scattered {
    display: inline-flex;
    background: #fdd835;
    border-radius: 2rem;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s;
}

.button-scattered:hover {
    transform: translateY(-2px);
}

.button-scattered .text {
    background: #fdd835;
    color: #2c3e50;
    padding: 0.75rem 1.5rem;
}

.button-scattered .arrow {
    background: #fbc02d;
    color: #2c3e50;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
}

.swiper-books {
    width: 100%;
    max-width: 600px;
    padding: 2rem 1rem;
}

.swiper-slide {
    position: relative;
    width: 200px;
    height: 300px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s;
    cursor: pointer;
    text-decoration: none;
}

.swiper-slide:hover {
    transform: translateY(-10px) scale(1.05);
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.6));
    padding: 2rem 1rem 1rem;
    color: white;
}

.overlay-content {
    background: rgba(0, 0, 0, 0.7);
    padding: 1rem;
    border-radius: 8px;
    backdrop-filter: blur(2px);
}

.overlay span {
    position: absolute;
    top: -30px;
    right: 10px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    background: #fdd835;
    color: #2c3e50;
}

.overlay h2 {
    font-size: 1rem;
    margin: 0;
    font-weight: 600;
}

.book-number {
    position: absolute !important;
    top: -30px !important;
    right: 10px !important;
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-weight: bold !important;
    font-size: 1.2rem !important;
    background: #fdd835 !important;
    color: #2c3e50 !important;
    z-index: 10;
}

.book-title {
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    margin-bottom: 0.5rem !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.book-author {
    font-size: 0.95rem !important;
    color: #ffffff !important;
    margin-bottom: 0.25rem !important;
    font-weight: 500 !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.book-price {
    font-size: 1rem !important;
    color: #fdd835 !important;
    font-weight: 700 !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    margin-top: 0.25rem !important;
}

.w-fit {
    width: fit-content;
}

@media (max-width: 768px) {
    .content {
        flex-direction: column !important;
    }

    .info {
        text-align: center;
    }

    .swiper-books {
        max-width: 100%;
    }
}

.video-showcase-section {
    padding: 3rem 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

.video-showcase-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.05" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,154.7C960,171,1056,181,1152,165.3C1248,149,1344,107,1392,85.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
    opacity: 0.3;
}

.video-card-featured {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    z-index: 1;
}

.video-card-featured:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}

.video-thumbnail-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    /* 16:9 aspect ratio */
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.video-thumbnail {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.video-card-featured:hover .video-thumbnail {
    transform: scale(1.1);
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.7));
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.video-card-featured:hover .video-overlay {
    opacity: 0.6;
}

.play-button-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

.play-button {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
}

.play-button::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    100% {
        transform: scale(1.3);
        opacity: 0;
    }
}

.video-card-featured:hover .play-button {
    transform: scale(1.15);
    background: #007bff;
}

.play-button i.fa-play {
    color: #007bff;
    font-size: 28px;
    margin-left: 4px;
    transition: color 0.3s ease;
}

.video-card-featured:hover .play-button i.fa-play {
    color: white;
}

.play-button i.fa-expand {
    position: absolute;
    top: 8px;
    right: 8px;
    font-size: 12px;
    color: #007bff;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.video-card-featured:hover .play-button i.fa-expand {
    color: white;
    opacity: 1;
}

.video-info-section {
    padding: 1.5rem;
    background: white;
}

.video-title-wrapper {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.video-icon-group {
    display: flex;
    align-items: center;
    margin-right: 1rem;
    flex-shrink: 0;
}

.video-icon-group i {
    transition: transform 0.3s ease;
}

.video-card-featured:hover .video-icon-group i:first-child {
    transform: translateX(5px);
}

.video-icon-group i:first-child {
    color: #6c757d;
    font-size: 18px;
    margin-right: 8px;
}

.video-icon-group i:last-child {
    color: #007bff;
    font-size: 14px;
}

.video-title {
    flex: 1;
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    line-height: 1.5;
    margin: 0;
    transition: color 0.3s ease;
}

.video-card-featured:hover .video-title {
    color: #007bff;
}

.video-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 2px solid #f0f0f0;
}

.video-date {
    display: flex;
    align-items: center;
    color: #6c757d;
    font-size: 0.9rem;
}

.video-date i {
    margin-right: 8px;
    color: #007bff;
}

.video-badge {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.video-link {
    text-decoration: none;
    display: block;
}

.video-link:hover {
    text-decoration: none;
}

.section-header-video {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.section-title-video {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.section-subtitle-video {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
}

@media (max-width: 768px) {
    .video-card-featured {
        margin-bottom: 2rem;
    }

    .section-title-video {
        font-size: 2rem;
    }

    .play-button {
        width: 60px;
        height: 60px;
    }

    .play-button i.fa-play {
        font-size: 20px;
    }
}

.testimonials-section {
    padding: 5rem 0;
    background: #f8f9fa;
    position: relative;
    overflow: hidden;
}

.testimonials-header {
    text-align: center;
    margin-bottom: 4rem;
}

.testimonials-title {
    font-size: 3rem;
    font-weight: 800;
    color: #2c3e50;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.testimonials-title .dot {
    color: #fdd835;
}

.testimonial-carousel {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 60px;
}

.testimonial-item {
    background: white;
    padding: 3rem 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    position: relative;
    transition: all 0.3s ease;
}

.testimonial-item:hover {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

.quote-icon {
    font-size: 4rem;
    color: #fdd835;
    line-height: 1;
    margin-bottom: 1.5rem;
    font-family: Georgia, serif;
}

.testimonial-text {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #2c3e50;
    margin-bottom: 2rem;
    font-weight: 500;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1rem;
}

.author-image {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #fdd835;
    box-shadow: 0 5px 15px rgba(253, 216, 53, 0.3);
}

.author-info {
    text-align: left;
}

.author-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.25rem;
}

.author-title {
    font-size: 0.9rem;
    color: #6c757d;
    line-height: 1.4;
}

/* Carousel Controls */
.testimonial-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #fdd835;
    border: none;
    color: #2c3e50;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 5px 15px rgba(253, 216, 53, 0.3);
}

.testimonial-control:hover {
    background: #fbc02d;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 20px rgba(253, 216, 53, 0.4);
}

.testimonial-control:focus {
    outline: none;
}

.testimonial-control.prev {
    left: 0;
}

.testimonial-control.next {
    right: 0;
}

/* Carousel Indicators */
.testimonial-indicators {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 2.5rem;
    padding: 0;
    list-style: none;
}

.testimonial-indicators li {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #dee2e6;
    cursor: pointer;
    transition: all 0.3s ease;
}

.testimonial-indicators li:hover {
    background: #adb5bd;
    transform: scale(1.2);
}

.testimonial-indicators li.active {
    background: #fdd835;
    width: 30px;
    border-radius: 6px;
}

/* Responsive */
@media (max-width: 768px) {
    .testimonials-title {
        font-size: 2rem;
    }

    .testimonial-carousel {
        padding: 0 40px;
    }

    .testimonial-item {
        padding: 2rem 1.5rem;
    }

    .testimonial-text {
        font-size: 1rem;
    }

    .testimonial-control {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .author-image {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 576px) {
    .testimonials-section {
        padding: 3rem 0;
    }

    .testimonial-carousel {
        padding: 0 15px;
    }

    .testimonial-control {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    .testimonial-author {
        flex-direction: column;
        align-items: flex-end;
        gap: 0.5rem;
    }
}

/* Tips carousel center zoom styling */
.tips-carousel .carousel-item {
    transition: transform .4s ease, opacity .4s ease;
}

.tips-carousel .tip-card-featured {
    transition: transform .4s ease, box-shadow .4s ease;
}

.tips-carousel .carousel-item.active .tip-card-featured {
    transform: scale(1.06);
    box-shadow: 0 30px 60px rgba(0, 0, 0, .25);
}

.tips-carousel .tips-control-prev,
.tips-carousel .tips-control-next {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(0, 0, 0, .25);
    display: flex;
    align-items: center;
    justify-content: center;
}

.tips-carousel .tips-control-prev:hover,
.tips-carousel .tips-control-next:hover {
    background: rgba(0, 0, 0, .4);
}

.tips-carousel .carousel-control-prev-icon,
.tips-carousel .carousel-control-next-icon {
    filter: invert(1);
}

/* Video Section Styling */
.video-section {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.video-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.8), transparent);
    pointer-events: none;
}

.video-section .gallery-holder {
    background: #ffffff;
    border-radius: 16px;
    padding: 1.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.video-section .gallery-holder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #1e88e5, #1565c0, #fdd835);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.video-section .gallery-holder:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(30, 136, 229, 0.2);
}

.video-section .gallery-holder:hover::before {
    transform: scaleX(1);
}

.video-section .gallery-image-holder {
    border-radius: 12px;
    overflow: hidden;
    display: block;
    position: relative;
    aspect-ratio: 16/9;
    width: 100%;
}

.video-section .gallery-image-holder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.video-section .gallery-holder:hover .gallery-image-holder img {
    transform: scale(1.1);
}

.video-section .gallery-effect {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30, 136, 229, 0.8), rgba(21, 101, 192, 0.9));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.video-section .gallery-holder:hover .gallery-effect {
    opacity: 1;
}

.video-section .gallery-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.video-section .gallery-holder:hover .gallery-image-overlay {
    opacity: 1;
}

.video-section .icon-gallery {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    z-index: 2;
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.video-section .gallery-holder:hover .icon-gallery {
    transform: translate(-50%, -50%) scale(1);
}

.video-section .icon-gallery i {
    font-size: 32px;
    color: #1e88e5;
}

.video-section .btn-gallery-view {
    position: absolute;
    bottom: 16px;
    right: 16px;
    z-index: 3;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease;
}

.video-section .gallery-holder:hover .btn-gallery-view {
    opacity: 1;
    transform: translateY(0);
}

.video-section .view-video-btn {
    width: 50px;
    height: 50px;
    background: #fdd835;
    box-shadow: 0 4px 16px rgba(253, 216, 53, 0.5);
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.video-section .view-video-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(253, 216, 53, 0.7);
}

.video-section .view-video-btn .view-icon {
    font-size: 24px;
    color: #1565c0;
}

.video-section .gallery-text-holder {
    margin-top: 1.25rem;
    font-size: 1rem;
    font-weight: 600;
    color: #2c3e50;
    line-height: 1.5;
    text-align: center;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
}

.video-section .gallery-holder:hover .gallery-text-holder {
    color: #1e88e5;
}

/* Slide up animation */
.slide-up {
    animation: slideUpFade 0.6s ease-out forwards;
    opacity: 0;
}

.slide-up:nth-child(1) {
    animation-delay: 0.1s;
}

.slide-up:nth-child(2) {
    animation-delay: 0.2s;
}

.slide-up:nth-child(3) {
    animation-delay: 0.3s;
}

.slide-up:nth-child(4) {
    animation-delay: 0.4s;
}

.slide-up:nth-child(5) {
    animation-delay: 0.5s;
}

.slide-up:nth-child(6) {
    animation-delay: 0.6s;
}

@keyframes slideUpFade {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 4px 16px rgba(253, 216, 53, 0.5);
    }

    50% {
        box-shadow: 0 4px 24px rgba(253, 216, 53, 0.8);
    }
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .video-section {
        padding: 60px 0;
    }

    .video-section .gallery-holder {
        margin-bottom: 2rem;
    }
}

@media (max-width: 767px) {
    .video-section {
        padding: 40px 0;
    }

    .video-section .icon-gallery {
        width: 60px;
        height: 60px;
    }

    .video-section .icon-gallery i {
        font-size: 28px;
    }

    .video-section .gallery-text-holder {
        font-size: 0.95rem;
    }
}