/* ============================================
   ENHANCED PROGRAMS SECTION - MODERN DESIGN
   ============================================ */

/* Premium Section Background */
.program-section-inner {
    position: relative;
    /* background-image: url('../images/2.jpg'); */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

/* Multi-layer Overlay for Premium Look */
.program-section-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgb(187 212 233) 0%, rgb(233 205 211) 50%, rgba(254, 244, 222, 0.97) 100%);
    z-index: 1;
}

/* Decorative Pattern Overlay */
.program-section-inner::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(243, 159, 95, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(56, 84, 105, 0.03) 0%, transparent 50%);
    z-index: 1;
    pointer-events: none;
}

/* Ensure Content Stays Above Background */
.program-section-inner .container {
    position: relative;
    z-index: 2;
}

/* Enhanced Program Cards */
.program-box-items-2.enhanced {
    position: relative;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08),
                0 2px 8px rgba(243, 159, 95, 0.1);
    border: 2px solid rgba(243, 159, 95, 0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.program-box-items-2.enhanced:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 50px rgba(243, 159, 95, 0.25);
    border-color: rgba(243, 159, 95, 0.3);
}

.program-box-items-2.enhanced.active {
    border-color: rgba(243, 159, 95, 0.2);
}

/* Thumbnail Area */
.program-box-items-2.enhanced .thumb {
    position: relative;
    height: 200px;
    overflow: hidden;
    /* background: linear-gradient(135deg, #FEF4DE 0%, #FFE8C5 100%); */
    display: flex;
    align-items: center;
    justify-content: center;
}

.program-box-items-2.enhanced .thumb img {
    max-height: 180px;
    width: auto;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.program-box-items-2.enhanced:hover .thumb img {
    transform: scale(1.08);
}

/* Content Area */
.program-box-items-2.enhanced .content {
    padding: 35px 30px 30px;
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Hand Image Decoration */
.program-box-items-2.enhanced .hand-image {
    position: absolute;
    top: -25px;
    right: 30px;
    width: 50px;
    height: 50px;
    z-index: 2;
    transition: transform 0.4s ease;
}

.program-box-items-2.enhanced:hover .hand-image {
    transform: rotate(15deg) scale(1.1);
}

.program-box-items-2.enhanced .hand-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

/* Age Badge */
.program-box-items-2.enhanced .year-text {
    display: inline-block;
    padding: 8px 18px;
    background: linear-gradient(135deg, rgba(243, 159, 95, 0.12), rgba(232, 141, 77, 0.12));
    border: 1.5px solid rgba(243, 159, 95, 0.25);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    color: #dc143c;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 20px;
    width: fit-content;
    transition: all 0.3s ease;
}

.program-box-items-2.enhanced:hover .year-text {
    background: linear-gradient(135deg, rgba(243, 159, 95, 0.2), rgba(232, 141, 77, 0.2));
    border-color: #F39F5F;
    transform: translateX(3px);
}

/* Program Title */
.program-box-items-2.enhanced .title {
    font-size: 28px;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 16px;
    font-family: 'Quicksand', sans-serif;
}

.program-box-items-2.enhanced .title a {
    color: #385469;
    text-decoration: none;
    transition: color 0.3s ease;
}

.program-box-items-2.enhanced:hover .title a {
    color: #2C4A5C;
}

/* Program Introduction */
.program-box-items-2.enhanced .program-intro {
    font-size: 16px;
    line-height: 1.7;
    color: #5C707E;
    margin-bottom: 24px;
    flex-grow: 0;
}

/* Program Highlights Grid */
.program-highlights {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: rgba(243, 159, 95, 0.06);
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.program-box-items-2.enhanced:hover .highlight-item {
    background: rgba(243, 159, 95, 0.1);
    border-color: rgba(243, 159, 95, 0.15);
}

.highlight-item i {
    font-size: 18px;
    color: #dc143c;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.program-box-items-2.enhanced:hover .highlight-item i {
    transform: scale(1.1);
}

.highlight-item span {
    font-size: 14px;
    font-weight: 600;
    color: #385469;
    line-height: 1.3;
}

/* Program Meta Info */
.program-meta {
    margin-bottom: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(56, 84, 105, 0.1);
}

.duration-info {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 600;
    color: #385469;
}

.duration-info i {
    font-size: 18px;
    color: #dc143c;
}

/* CTA Button */
.program-cta-wrapper {
    margin-top: auto;
}

.program-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 16px 28px;
    background: linear-gradient(135deg, #dc143c, #dc143c);
    color: white;
    font-size: 16px;
    font-weight: 700;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(243, 159, 95, 0.25);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.program-cta-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #385469, #385469);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.program-cta-btn:hover::before {
    opacity: 1;
}

.program-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(243, 159, 95, 0.4);
    color: white;
}

.program-cta-btn i {
    font-size: 16px;
    transition: transform 0.4s ease;
}

.program-cta-btn:hover i {
    transform: translateX(5px);
}

/* Remove old arrow button styles for enhanced cards */
.program-box-items-2.enhanced .arrow-btn {
    display: none;
}

.program-box-items-2.enhanced .duration-text {
    display: none;
}

/* Section Title Enhancement on Premium Background */
.program-section-inner .section-title {
    position: relative;
    z-index: 3;
}

.program-section-inner .sec-sub {
    text-shadow: 0 2px 8px rgba(255, 255, 255, 0.8);
}

.program-section-inner .sec_title {
    text-shadow: 0 2px 12px rgba(255, 255, 255, 0.9);
}

/* Bottom Area Enhancement */
.program-bottom-area {
    position: relative;
    z-index: 3;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(8px);
    padding: 40px;
    border-radius: 20px;
    margin-top: 60px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

/* Responsive Design */
@media (max-width: 1199px) {
    .program-box-items-2.enhanced .content {
        padding: 30px 25px 25px;
    }
    
    .program-box-items-2.enhanced .title {
        font-size: 26px;
    }
    
    .program-bottom-area {
        padding: 35px;
        margin-top: 50px;
    }
}

@media (max-width: 991px) {
    /* Disable fixed background on tablets for better performance */
    .program-section-inner {
        background-attachment: scroll;
    }
    
    .program-bottom-area {
        padding: 30px;
    }
}

@media (max-width: 767px) {
    /* Adjust overlay opacity for mobile */
    .program-section-inner::before {
        background: linear-gradient(
            135deg,
            rgba(254, 244, 222, 0.98) 0%,
            rgba(255, 251, 251, 0.97) 50%,
            rgba(254, 244, 222, 0.98) 100%
        );
    }
    
    .program-bottom-area {
        padding: 25px 20px;
        margin-top: 40px;
        border-radius: 16px;
    }
}

@media (max-width: 575px) {
    .program-bottom-area {
        padding: 20px 16px;
    }
}

@media (max-width: 991px) {
    .program-highlights {
        gap: 10px;
    }
    
    .highlight-item {
        padding: 8px 10px;
    }
    
    .highlight-item span {
        font-size: 13px;
    }
}

@media (max-width: 767px) {
    .program-box-items-2.enhanced {
        margin-bottom: 30px;
    }
    
    .program-box-items-2.enhanced .thumb {
        height: 180px;
    }
    
    .program-box-items-2.enhanced .content {
        padding: 28px 22px 22px;
    }
    
    .program-box-items-2.enhanced .title {
        font-size: 24px;
        margin-bottom: 14px;
    }
    
    .program-box-items-2.enhanced .program-intro {
        font-size: 15px;
        margin-bottom: 20px;
    }
    
    .program-highlights {
        grid-template-columns: 1fr;
        gap: 8px;
        margin-bottom: 20px;
    }
    
    .program-meta {
        margin-bottom: 20px;
        padding-top: 16px;
    }
    
    .program-cta-btn {
        padding: 14px 24px;
        font-size: 15px;
    }
}

@media (max-width: 575px) {
    .program-box-items-2.enhanced .thumb {
        height: 160px;
    }
    
    .program-box-items-2.enhanced .thumb img {
        max-height: 140px;
    }
    
    .program-box-items-2.enhanced .hand-image {
        width: 40px;
        height: 40px;
        top: -20px;
        right: 20px;
    }
    
    .program-box-items-2.enhanced .year-text {
        font-size: 12px;
        padding: 6px 14px;
    }
    
    .program-box-items-2.enhanced .title {
        font-size: 22px;
    }
    
    .highlight-item i {
        font-size: 16px;
    }
}

/* Animation Enhancements */
.program-box-items-2.enhanced .highlight-item {
    opacity: 0;
    transform: translateX(-10px);
    animation: slideInLeft 0.4s ease forwards;
}

.program-box-items-2.enhanced .highlight-item:nth-child(1) {
    animation-delay: 0.1s;
}

.program-box-items-2.enhanced .highlight-item:nth-child(2) {
    animation-delay: 0.2s;
}

.program-box-items-2.enhanced .highlight-item:nth-child(3) {
    animation-delay: 0.3s;
}

.program-box-items-2.enhanced .highlight-item:nth-child(4) {
    animation-delay: 0.4s;
}

@keyframes slideInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Ensure WOW.js animations work */
.wow.fadeInUp .program-box-items-2.enhanced .highlight-item {
    animation-play-state: running;
}

/* ============================================
   TESTIMONIAL SECTION HEADING WHITE COLOR
   ============================================ */

/* Make testimonial section headings white */
.testimonial-section-3 .section-title .tx-title,
.testimonial-section-3 .section-title .sec_title {
    color: #ffffff !important;
}

/* Make testimonial section subtitle white */
.testimonial-section-3 .section-title .tx-subTitle {
    color: #ffffff !important;
}

/* Make all text elements in testimonial section title white */
.testimonial-section-3 .section-title-area .section-title * {
    color: #ffffff !important;
}

/* Add text shadow for better readability */
.testimonial-section-3 .section-title .tx-title,
.testimonial-section-3 .section-title .sec_title {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.testimonial-section-3 .section-title .tx-subTitle {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* ============================================
   HEALTHY NUTRITION SECTION HEADING WHITE COLOR
   ============================================ */

/* Make Healthy Nutrition section heading white */
.footer-kids-section .section-title-area .section-title .tx-title,
.footer-kids-section .section-title-area .section-title .sec_title {
    color: #ffffff !important;
}

/* Make Healthy Nutrition section subtitle white */
.footer-kids-section .section-title-area .section-title .tx-subTitle {
    color: #ffffff !important;
}

/* Add text shadow for better readability */
.footer-kids-section .section-title-area .section-title .tx-title,
.footer-kids-section .section-title-area .section-title .sec_title {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.footer-kids-section .section-title-area .section-title .tx-subTitle {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* ============================================
   FOOTER SECTION WHITE TEXT
   ============================================ */

/* Make all footer text white */
.footer-section {
    color: #ffffff !important;
}

/* Make footer headings white */
.footer-section .widget-title,
.footer-section .footer-title,
.footer-section h2,
.footer-section h3,
.footer-section h4,
.footer-section h5,
.footer-section h6 {
    color: #ffffff !important;
}

/* Make footer paragraph text white */
.footer-section p,
.footer-section .footer-text {
    color: #ffffff !important;
}

/* Make footer links white */
.footer-section a {
    color: #ffffff !important;
}

/* Make footer list items white */
.footer-section ul li,
.footer-section li {
    color: #ffffff !important;
}

/* Make footer contact info white */
.footer-section .contact-info,
.footer-section .footer-info,
.footer-section .footer-contact {
    color: #ffffff !important;
}

/* Make footer copyright text white */
.footer-section .copyright,
.footer-section .footer-bottom {
    color: #ffffff !important;
}

.footer-section h3 {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.footer-section p,
.footer-section .footer-text {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Video Section Styles */
.video-section {
    background-color: #ffffff;
    padding: 100px 0;
}

.video-section .section-title-area {
    display: block !important;
    text-align: center;
    margin-bottom: 48px;
}

.video-section .section-title {
    display: block !important;
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    text-align: center !important;
    margin-bottom: 16px;
}

/* ── Video Lightbox Modal ── */
.vg-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.88);
    z-index: 99999;
    align-items: center;
    justify-content: center;
}

.vg-modal-overlay.active {
    display: flex;
}

.vg-modal-content {
    position: relative;
    width: 90%;
    max-width: 900px;
}

.vg-modal-close {
    position: absolute;
    top: -48px;
    right: 0;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 44px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    opacity: 0.85;
    transition: opacity 0.2s;
}

.vg-modal-close:hover {
    opacity: 1;
}

.vg-modal-iframe-wrap {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    border-radius: 14px;
    overflow: hidden;
    background: #000;
}

.vg-modal-iframe-wrap iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-section .sec-sub {
    color: #e63946 !important;
    font-size: 20px;
    font-weight: 600;
    font-style: italic;
    font-family: Georgia, serif;
    text-transform: none;
    letter-spacing: 0;
    display: block;
    margin-bottom: 12px;
}

.video-section .tx-title {
    color: #1a1a2e !important;
    font-size: 46px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.15;
}

.video-description {
    color: #5a6c7d;
    font-size: 18px;
    line-height: 1.7;
    margin: 0 auto;
    max-width: 640px;
    font-weight: 400;
}

/* Video wrapper */
.video-wrapper {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.video-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.22);
}

/* Video container — relative positioned, cursor pointer */
.video-container {
    position: relative;
    width: 100%;
    cursor: pointer;
    display: block;
    line-height: 0;
}

/* Thumbnail is now an <img> */
img.video-thumbnail {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
    transition: transform 0.4s ease;
}

.video-container:hover img.video-thumbnail {
    transform: scale(1.03);
}

/* SVG play button — centered absolutely */
.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: transform 0.3s ease;
    line-height: 0;
    z-index: 2;
}

.video-container:hover .video-play-btn {
    transform: translate(-50%, -50%) scale(1.12);
}

/* Duration badge */
.video-duration {
    position: absolute;
    bottom: 16px;
    right: 16px;
    background: rgba(0, 0, 0, 0.72);
    color: #ffffff;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    z-index: 2;
}

/* Gallery items */
.gallery-item {
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.10);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    line-height: 0;
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
}

.gallery-item:hover img {
    transform: scale(1.06);
}

/* Responsive */
@media (max-width: 991px) {
    .video-section .tx-title {
        font-size: 36px;
    }

    .gallery-item img {
        height: 180px;
    }
}

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

    .video-section .tx-title {
        font-size: 30px;
    }

    .video-section .sec-sub {
        font-size: 17px;
    }

    .video-description {
        font-size: 16px;
    }

    .gallery-item img {
        height: 160px;
    }

    .video-play-btn svg {
        width: 60px;
        height: 60px;
    }
}

/* ============================================
   FOOTER SOCIAL ICONS - Modern & Attractive
   ============================================ */

.footer-section .footer-content .social-icon {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 22px;
    flex-wrap: wrap;
}

.footer-section .footer-content .social-icon a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    color: #ffffff;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
    position: relative;
    overflow: hidden;
}

.footer-section .footer-content .social-icon a::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255,255,255,0.25) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.footer-section .footer-content .social-icon a:hover {
    transform: translateY(-4px) scale(1.1);
    border-color: transparent;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.footer-section .footer-content .social-icon a:hover::before {
    opacity: 1;
}

/* Brand colors on hover */
.footer-section .footer-content .social-icon a:nth-child(1):hover {
    background: #1877f2;
}
.footer-section .footer-content .social-icon a:nth-child(2):hover {
    background: #1da1f2;
}
.footer-section .footer-content .social-icon a:nth-child(3):hover {
    background: #ff0000;
}
.footer-section .footer-content .social-icon a:nth-child(4):hover {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}
