/* ============================
   GLOBAL STYLES
============================ */
/* ==== ROOT COLORS ==== */
:root {
  --green:#00542A;
  --gold:#C08329;
  --bg:#fff;
}
body {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    background: #ffffff;
    overflow-x: hidden;
}
/* ============================================================
   PAGE HEADER – MATCH FUNDRAISER EXACTLY
===============================================================*/
.kf-page-header {
    width: 100%;
    background: #ffffff;
    border-bottom: 1px solid #e5e5e5;

    /* FIXED spacing under top navbar */
    margin-top: 0 !important;
    padding-top: 1px !important;
    padding-bottom: 12px;
    text-transform: uppercase;
}

.kf-page-header-inner {
    max-width: 1600px;
    padding: 0 30px 0 70px; /* 70px ALIGN PERFECTLY under crest.png */
    margin: 0 auto;
}

/* Ensure alignment with logo/crest */
@media (min-width: 1025px) {
    .kf-page-header-inner {
        padding-left: 70px;  /* Aligns with crest.png in topbar */
    }
}

.kf-page-title {
    font-size: 21px;
    font-weight: 700;
    color: #00542A;
    text-transform: uppercase;
    margin-bottom: 4px;
}

/* Breadcrumb */
.kf-breadcrumb {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #b5b5b5;
    flex-wrap: wrap;
    text-transform: uppercase;
}

.kf-breadcrumb-home-icon {
    width: 18px;
    height: 18px;
    display: inline-block;
    transform: translateY(-1px);
    flex-shrink: 0;
}

.kf-breadcrumb i {
    font-size: 18px;
    color: #C8C8C8;
    width: 18px;
    height: 18px;
    display: inline-block;
    transform: translateY(-1px);
    text-transform: uppercase;
}

.kf-breadcrumb span {
    color: #b5b5b5;
    font-weight: 700;
}

.kf-breadcrumb-link {
    color: #b3b3b3;
    font-weight: 700;
    text-decoration: none;
}

.kf-breadcrumb-link:hover {
    color: #00542A;
}

/* ============================================================
   MAIN CONTENT WRAPPER
===============================================================*/
.program-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 20px 70px 50px;
}

/* ============================================================
   SECTION CARD - Enhanced
===============================================================*/
.program-section {
    background: transparent;
    border: none;
    padding: 40px 30px 30px;
    margin: 0 auto 35px;
    position: relative;
}

.program-section h2 {
    display: none !important;
}

/* ============================================================
   SUBTITLE (Program Title with Underline)
===============================================================*/
.program-section h3 {
    font-size: 25px;
    font-weight: 700;
    color: #00542A;
    margin-bottom: 12px;
    text-align: center;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 15px;
}

/* Underline for Program Title with Animation */
.program-section h3::after {
    content: '';
    display: block;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #D4A017, #F4C430, #D4A017);
    background-size: 200% 100%;
    margin: 10px auto 0;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    animation: expandLine 0.8s ease-out forwards, shimmer 2s ease-in-out infinite;
}

@keyframes expandLine {
    to {
        width: 300px;
    }
}

@keyframes shimmer {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

/* Subsection headers (Introduction, Background, etc.) - STYLED TITLE */
.program-section h4 {
    font-size: 22px;
    font-weight: 700;
    color: #00542A;
    margin-bottom: 25px;
    text-align: left;
    position: relative;
    padding-left: 20px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

/* Elegant left border accent */
.program-section h4::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 70%;
    background: linear-gradient(180deg, #D4A017, #F4C430);
    border-radius: 3px;
}

/* Optional: Add subtle underline */
.program-section h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 20px;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, #D4A017, transparent);
}

/* ============================================================
   OVERVIEW SECTION - Enhanced Premium Design
===============================================================*/

/* Content Cards - Premium Style */
.program-section .content {
    color: #333;
    line-height: 1.9;
    font-size: 16px;
    background: linear-gradient(145deg, #ffffff 0%, #fefefe 100%);
    padding: 40px;
    border-radius: 18px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.06);
    border: 2px solid rgba(212, 160, 23, 0.15);
    margin-bottom: 30px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

/* Animated Top Border with Shimmer */
.program-section .content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #D4A017, #F4C430, #D4A017);
    background-size: 200% 100%;
    animation: shimmer 3s ease-in-out infinite;
}

/* Corner Decorative Element */
.program-section .content::after {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(212, 160, 23, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

/* Hover Effect */
.program-section .content:hover {
    box-shadow: 0 12px 40px rgba(0, 84, 42, 0.12);
    transform: translateY(-4px);
    border-color: #D4A017;
}

/* Paragraph Styling */
.program-section .content p {
    margin-bottom: 20px;
    color: #2d2d2d;
    font-weight: 400;
    text-align: justify;
}

.program-section .content p:last-child {
    margin-bottom: 0;
}

/* Section Headers (Introduction, Background, Objectives) - Premium Style */
.program-section h4 {
    font-size: 24px;
    font-weight: 800;
    color: #00542A;
    margin-bottom: 28px;
    text-align: left;
    position: relative;
    padding-left: 32px;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

/* Gradient Left Border Accent */
.program-section h4::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 7px;
    height: 80%;
    background: linear-gradient(180deg, #D4A017, #F4C430);
    border-radius: 4px;
    box-shadow: 0 0 15px rgba(212, 160, 23, 0.5);
}

/* Underline Accent */
.program-section h4::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 32px;
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, #F4C430, transparent);
    border-radius: 2px;
}

/* Lists (Objectives) - Enhanced Premium Style */
.program-section .content ul,
.program-section .content ol {
    background: linear-gradient(135deg, #f8f9fa 0%, #f5f6f7 100%);
    padding: 28px 35px 28px 55px;
    border-radius: 14px;
    border-left: 6px solid #D4A017;
    margin-top: 24px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.05);
    position: relative;
}

/* Subtle top accent for lists */
.program-section .content ul::before,
.program-section .content ol::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #D4A017, transparent);
    border-radius: 14px 14px 0 0;
}

.program-section .content ul li,
.program-section .content ol li {
    margin-bottom: 16px;
    line-height: 1.85;
    color: #2d2d2d;
    position: relative;
    font-weight: 400;
}

.program-section .content ul li:last-child,
.program-section .content ol li:last-child {
    margin-bottom: 0;
}

/* Gold Bullet Points */
.program-section .content ul li::marker {
    color: #D4A017;
    font-weight: 800;
    font-size: 1.2em;
}

/* Numbered List Styling */
.program-section .content ol {
    counter-reset: custom-counter;
    list-style: none;
}

.program-section .content ol li {
    counter-increment: custom-counter;
    padding-left: 10px;
}

.program-section .content ol li::before {
    content: counter(custom-counter) ".";
    position: absolute;
    left: -35px;
    color: #D4A017;
    font-weight: 800;
    font-size: 18px;
}

/* Expandable Section Enhancement */
.expandable-section {
    position: relative;
    margin-bottom: 30px;
}

.expandable-text {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    max-height: 9em;
    position: relative;
}

/* Enhanced Fade Effect */
.fade-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px;
    background: linear-gradient(to bottom, 
        rgba(255,255,255,0) 0%, 
        rgba(254,254,254,0.7) 40%, 
        rgba(254,254,254,0.95) 70%, 
        #fefefe 100%);
    pointer-events: none;
    opacity: 1;
    transition: opacity 0.4s ease;
    border-radius: 0 0 18px 18px;
}

.expandable-section.expanded .fade-bottom {
    opacity: 0;
}

.expandable-text.expanded {
    -webkit-line-clamp: unset;
    max-height: 10000px;
}

/* Premium "See More" Button */
.see-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 24px;
    padding: 14px 32px;
    background: linear-gradient(135deg, #00542A 0%, #007038 100%);
    color: #ffffff;
    border: none;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 84, 42, 0.25);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Shimmer Effect on Button */
.see-more-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s ease;
}

.see-more-btn:hover::before {
    left: 100%;
}

.see-more-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(0, 84, 42, 0.35);
    background: linear-gradient(135deg, #007038 0%, #00542A 100%);
}

.see-more-btn:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(0, 84, 42, 0.25);
}

/* Animated Arrow Icon */
.see-more-btn::after {
    content: '▼';
    font-size: 11px;
    transition: transform 0.4s ease;
    display: inline-block;
}

.see-more-btn.expanded::after {
    transform: rotate(180deg);
}

/* Responsive Adjustments for Overview */
@media (max-width: 768px) {
    .program-section .content {
        padding: 30px;
        border-radius: 14px;
    }
    
    .program-section h4 {
        font-size: 20px;
        padding-left: 28px;
    }
    
    .program-section .content ul,
    .program-section .content ol {
        padding: 22px 28px 22px 45px;
    }
}

@media (max-width: 480px) {
    .program-section .content {
        padding: 24px;
        border-radius: 12px;
    }
    
    .program-section h4 {
        font-size: 18px;
        padding-left: 24px;
    }
    
    .program-section h4::before {
        width: 5px;
    }
    
    .program-section .content ul,
    .program-section .content ol {
        padding: 20px 22px 20px 40px;
    }
    
    .see-more-btn {
        width: 100%;
        justify-content: center;
        padding: 14px 28px;
    }
}

/* ============================================================
   INFO GRID (TENTATIVE) - Enhanced Premium Design
===============================================================*/
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
    margin-top: 40px;
}

.info-item {
    padding: 28px;
    background: linear-gradient(145deg, #ffffff 0%, #fafafa 100%);
    border-radius: 16px;
    border: 2px solid rgba(212, 160, 23, 0.2);
    box-shadow: 0 4px 20px rgba(0, 84, 42, 0.06);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

/* Animated gradient border top */
.info-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--gold-dark), var(--gold-light), var(--gold-dark));
    background-size: 200% 100%;
    animation: shimmer 3s ease-in-out infinite;
}

/* Corner accent */
.info-item::after {
    content: '';
    position: absolute;
    top: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
    background: radial-gradient(circle, rgba(212, 160, 23, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.info-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 36px rgba(0, 84, 42, 0.12);
    border-color: var(--gold);
}

.info-item label {
    font-weight: 800;
    color: var(--green);
    display: block;
    margin-bottom: 12px;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 1.5px;
    position: relative;
    padding-left: 16px;
}

/* Icon-style bullet for label */
.info-item label::before {
    content: '◆';
    position: absolute;
    left: 0;
    color: var(--gold);
    font-size: 10px;
}

.info-item span {
    color: #333;
    font-size: 18px;
    font-weight: 600;
    display: block;
    padding-left: 16px;
}

/* ============================================================
   SCHEDULE LIST - Table Style with Gold Time Badges
===============================================================*/
.schedule-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.schedule-list li {
    display: flex;
    align-items: stretch;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    margin-bottom: -1px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.schedule-list li:first-child {
    border-radius: 8px 8px 0 0;
}

.schedule-list li:last-child {
    border-radius: 0 0 8px 8px;
    margin-bottom: 0;
}

.schedule-list li:hover {
    background: #fafafa;
    z-index: 1;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Time Badge (Gold Box) */
.schedule-list li strong {
    background: linear-gradient(135deg, #D4A017 0%, #C08329 100%);
    color: #f7f6f6;
    font-weight: 800;
    font-size: 15px;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 140px;
    flex-shrink: 0;
    border-right: 3px solid #F4C430;
    text-align: center;
    position: relative;
}

.schedule-list li strong::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.3) 0%, transparent 100%);
    pointer-events: none;
}

/* Description Text */
.schedule-list li span {
    flex: 1;
    padding: 20px 28px;
    color: #2d2d2d;
    font-weight: 500;
    font-size: 15px;
    line-height: 1.6;
    display: flex;
    align-items: center;
}

/* Responsive - Stack on Mobile */
@media (max-width: 768px) {
    .schedule-list li {
        flex-direction: column;
    }
    
    .schedule-list li strong {
        min-width: 100%;
        border-right: none;
        border-bottom: 3px solid #C08329;
        padding: 16px 20px;
    }
    
    .schedule-list li span {
        padding: 16px 20px;
    }
}

/* ============================================================
   VIP GRID - BIGGER, CENTERED, NO GREEN BACKGROUND
===============================================================*/
.vip-grid{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(520px, 520px)); /* fixed nice width */
    gap: 26px;
    margin: 40px auto 0;     /* center the grid block */
    padding: 20px 0;
    justify-content: center; /* center cards in grid */
}

/* Card */
.vip-card{
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid #e8e8e8;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;

    /* horizontal layout */
    display: flex;
    align-items: center;
    gap: 22px;
    padding: 24px;
}

/* Hover effect */
.vip-card:hover{
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(0, 84, 42, 0.14);
    border-color: #D4A017;
}

/* Top accent bar */
.vip-card::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #D4A017, #F4C430);
}

/* Image (left) - bigger */
.vip-card img{
    width: 170px;
    height: 220px;
    border-radius: 10px !important;

    object-fit: cover;
    object-position: top center; /* 🔥 THIS fixes upward display */

    display: block;
    margin: 0;
    flex: 0 0 auto;

    border: 3px solid #f5f5f5;
    box-shadow: 0 4px 14px rgba(0,0,0,0.12);
    transition: all 0.3s ease;
}


.vip-card:hover img{
    border-color: #D4A017;
    transform: scale(1.02);
}

/* Right content wrapper - NO background */
.vip-card .vip-info{
    flex: 1;
    background: transparent;      /* ✅ remove green background */
    border: none;                 /* ✅ remove border box */
    padding: 0;                   /* cleaner */
}

/* Name */
.vip-card h4{
    color: #00542A !important;
    font-size: 22px !important;   /* bigger */
    font-weight: 800 !important;
    margin: 0 0 8px 0 !important;
    text-align: left !important;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    padding: 0 !important;
}

.vip-card h4::before,
.vip-card h4::after{
    display: none !important;
}

/* Position */
.vip-card p{
    color: #444;
    font-size: 15px;
    font-weight: 600;
    text-align: left !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.45;
}

/* Responsive */
@media (max-width: 600px){
    .vip-grid{
        grid-template-columns: 1fr;
        padding: 10px 0;
    }

    .vip-card{
        flex-direction: column;   /* stack on small screens */
        align-items: flex-start;
        padding: 18px;
    }

    .vip-card img{
        width: 100%;
        height: 200px;
    }

    .vip-card h4,
    .vip-card p{
        text-align: left !important;
    }
}

/* ============================================================
   PRICE LIST / PACKAGE LIST
===============================================================*/
.price-list,
.package-list {
    list-style: none;
    padding: 0;
}

.price-list li,
.package-list li {
    padding: 12px 15px;
    background: #fafafa;
    border-radius: 6px;
    border: 1px solid #e2e2e2;
    margin-bottom: 8px;

    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price-list li strong,
.package-list li strong {
    color: #00542A;
    font-size: 1rem;
}

/* ============================================================
   DOWNLOAD BUTTON
===============================================================*/
.btn-download {
    display: inline-block;
    padding: 10px 24px;
    background: #00542A;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    margin-top: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.btn-download:hover {
    background: #003d1f;
}

/* ============================================================
   PROGRAM IMAGES GRID
===============================================================*/
.program-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-top: 15px;
}

.program-images img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #e6e6e6;
}

/* ================================
   EXPANDABLE TEXT SECTION
================================ */
.expandable-section {
    position: relative;
    margin-bottom: 30px;
}

/* Text preview (5 lines) */
.expandable-text {
    overflow: hidden;
    display: -webkit-box;
    display: box;
    -webkit-line-clamp: 5;
            line-clamp: 5;
    -webkit-box-orient: vertical;
            box-orient: vertical;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    max-height: 8.5em;
    position: relative;
}

/* Elegant fade effect */
.fade-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,0.95) 70%, #ffffff);
    pointer-events: none;
    opacity: 1;
    transition: opacity 0.3s ease;
    border-radius: 0 0 12px 12px;
}

/* Hide fade when expanded */
.expandable-section.expanded .fade-bottom {
    opacity: 0;
}

/* Expanded state */
.expandable-text.expanded {
    -webkit-line-clamp: unset;
            line-clamp: unset;
    max-height: 5000px;
}

/* BEAUTIFUL SEE MORE BUTTON */
.see-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
    padding: 10px 24px;
    background: linear-gradient(135deg, #00542A 0%, #007038 100%);
    color: #ffffff;
    border: none;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 84, 42, 0.2);
    position: relative;
    overflow: hidden;
}

/* Hover effect with shimmer */
.see-more-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.see-more-btn:hover::before {
    left: 100%;
}

.see-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 84, 42, 0.3);
    background: linear-gradient(135deg, #007038 0%, #00542A 100%);
}

.see-more-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0, 84, 42, 0.2);
}

/* Icon animation */
.see-more-btn::after {
    content: '▼';
    font-size: 10px;
    transition: transform 0.3s ease;
    display: inline-block;
}

.see-more-btn.expanded::after {
    transform: rotate(180deg);
    content: '▲';
}

/* ============================================================
   SUBTITLE HEADER (Section Name + Program Title)
===============================================================*/
.tgk-sub-header {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 40px;
}

/* Section Name (OVERVIEW / TENTATIVE / VIP / etc.) */
.tgk-section-title {
    font-size: 21px;
    font-weight: 700;
    color: #00542A;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

/* Program Title (Animated Underline) */
.tgk-program-title {
    font-size: 21px;
    font-weight: 700;
    color: #00542A;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 18px;
}

/* === Animated Underline (Same as your h3 animation) === */
.tgk-program-title::after {
    content: '';
    display: block;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #D4A017, #F4C430, #D4A017);
    background-size: 200% 100%;
    margin: 10px auto 0;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);

    animation: expandLine 0.8s ease-out forwards,
               shimmer 2s ease-in-out infinite;
}

/* ============================================================
   RESPONSIVE DESIGN
===============================================================*/

/* Large Desktop Screens (1440px and above) */
@media (min-width: 1440px) {
    .kf-page-header-inner,
    .program-container {
        max-width: 1600px;
    }
}

/* Desktop Screens (1025px to 1439px) */
@media (max-width: 1439px) and (min-width: 1025px) {
    .kf-page-header-inner,
    .program-container {
        max-width: 1400px;
        padding-left: 50px;
        padding-right: 50px;
    }
}

/* Tablet Landscape (769px to 1024px) */
@media (max-width: 1024px) and (min-width: 769px) {
    .kf-page-header-inner {
        padding: 0 40px;
    }
    
    .program-container {
        padding: 20px 40px 50px;
    }
    
    .program-section {
        padding: 25px;
    }
}

/* Tablet Portrait (577px to 768px) */
@media (max-width: 768px) and (min-width: 577px) {
    .kf-page-header {
        padding-top: 12px;
        padding-bottom: 10px;
    }
    
    .kf-page-header-inner {
        padding: 0 30px;
    }
    
    .kf-page-title {
        font-size: 18px;
        margin-bottom: 6px;
    }
    
    .kf-breadcrumb {
        font-size: 12px;
    }
    
    .kf-breadcrumb-home-icon {
        width: 16px;
        height: 16px;
    }
    
    .program-container {
        padding: 15px 30px 40px;
    }
    
    .program-section {
        padding: 20px;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .vip-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 20px;
    }
    
    .see-more-btn {
        padding: 12px 28px;
        font-size: 13px;
        width: 100%;
        justify-content: center;
    }
    
    .fade-bottom {
        height: 60px;
    }
}

/* Mobile Landscape (481px to 576px) */
@media (max-width: 576px) and (min-width: 481px) {
    .kf-page-header {
        padding-top: 10px;
        padding-bottom: 10px;
    }
    
    .kf-page-header-inner {
        padding: 0 20px;
    }
    
    .kf-page-title {
        font-size: 16px;
        margin-bottom: 8px;
    }
    
    .kf-breadcrumb {
        font-size: 11px;
        flex-wrap: wrap;
    }
    
    .kf-breadcrumb-home-icon {
        width: 16px;
        height: 16px;
    }
    
    .program-container {
        padding: 12px 20px 30px;
    }
    
    .program-section {
        padding: 18px;
        border-radius: 8px;
    }
    
    .program-section h3 {
        font-size: 1rem;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .vip-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .vip-card img {
        width: 120px;
        height: 120px;
    }
    
    .see-more-btn {
        padding: 12px 28px;
        font-size: 13px;
        width: 100%;
        justify-content: center;
    }
    
    .fade-bottom {
        height: 60px;
    }
}

/* Mobile Portrait (320px to 480px) */
@media (max-width: 480px) {
    .kf-page-header {
        padding-top: 8px;
        padding-bottom: 10px;
    }
    
    .kf-page-header-inner {
        padding: 0 15px;
    }
    
    .kf-page-title {
        font-size: 15px;
        margin-bottom: 10px;
    }
    
    .kf-breadcrumb {
        font-size: 10px;
        gap: 4px;
        flex-wrap: wrap;
    }
    
    .kf-breadcrumb-home-icon {
        width: 16px;
        height: 16px;
    }
    
    .kf-breadcrumb i {
        width: 16px;
        height: 16px;
        font-size: 16px;
    }
    
    .program-container {
        padding: 10px 15px 25px;
    }
    
    .program-section {
        padding: 15px;
        border-radius: 6px;
    }
    
    .program-section::before {
        font-size: 1.1rem;
        margin-bottom: 20px;
    }
    
    .program-section h3 {
        font-size: 0.95rem;
        margin-bottom: 10px;
    }
    
    .program-section h4 {
        font-size: 0.9rem;
    }
    
    .program-section h4::before {
        width: 4px;
    }
    
    .program-section h4::after {
        width: 40px;
    }
    
    .program-section .content {
        padding: 18px;
        font-size: 0.85rem;
        line-height: 1.6;
    }
    
    .program-section .content ul,
    .program-section .content ol {
        padding: 15px 18px 15px 35px;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
        gap: 10px;
        margin-top: 15px;
    }
    
    .info-item {
        padding: 12px;
    }
    
    .schedule-list li {
        padding: 10px 12px;
        font-size: 0.85rem;
    }
    
    .vip-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .vip-card {
        padding: 15px;
    }
    
    .vip-card img {
        width: 100px;
        height: 100px;
    }
    
    .vip-card h4 {
        font-size: 0.9rem;
    }
    
    .vip-card p {
        font-size: 0.8rem;
    }
    
    .price-list li,
    .package-list li {
        padding: 10px 12px;
        font-size: 0.85rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .btn-download {
        padding: 8px 20px;
        font-size: 0.85rem;
        width: 100%;
        text-align: center;
    }
    
    .program-images {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .program-images img {
        height: 200px;
    }
    
    .see-more-btn {
        padding: 12px 28px;
        font-size: 13px;
        width: 100%;
        justify-content: center;
    }
    
    .fade-bottom {
        height: 60px;
    }
}

/* Extra Small Mobile (max 319px) */
@media (max-width: 319px) {
    .kf-page-header-inner {
        padding: 0 10px;
    }
    
    .kf-page-title {
        font-size: 14px;
    }
    
    .program-container {
        padding: 8px 10px 20px;
    }
    
    .program-section {
        padding: 12px;
    }
    
    .vip-card img {
        width: 80px;
        height: 80px;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .btn-download:hover {
        background: #00542A;
    }
    
    .kf-breadcrumb-link:hover {
        color: #b3b3b3;
    }
    
    /* Increase tap target size for mobile */
    .btn-download {
        min-height: 44px;
    }
    
    .see-more-btn:hover {
        transform: none;
        background: linear-gradient(135deg, #00542A 0%, #007038 100%);
    }
}

/* High DPI/Retina screens */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .kf-breadcrumb i,
    .program-images img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}
/* ADD THESE STYLES TO program-show.css */

/* ============================================================
   PROGRAMME ITEMS - PUBLIC VIEW
===============================================================*/

.programme-item-public {
    background: #ffffff;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 40px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid #f0f0f0;
    transition: all 0.3s;
}

.programme-item-public:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.programme-item-public:last-child {
    margin-bottom: 0;
}

.programme-item-title {
    font-size: 22px !important;
    font-weight: 700;
    color: #00542A;
    text-align: center;
    text-transform: uppercase;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

/* Title underline animation */
.programme-item-title::after {
    content: '';
    display: block;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #D4A017, #F4C430, #D4A017);
    background-size: 200% 100%;
    margin: 12px auto 0;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    animation: expandLine 0.8s ease-out forwards, shimmer 2s ease-in-out infinite;
}

/* Programme Images Gallery */
.programme-item-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 25px;
    align-items: center;
    justify-items: center;
}

.programme-gallery-item {
    width: 100%;
    max-width: 400px;
    position: relative;
    padding-top: 75%; /* 4:3 Aspect Ratio */
    border-radius: 10px;
    overflow: hidden;
    background: #f5f5f5;
    border: 2px solid #e6e6e6;
    transition: all 0.3s;
}

.programme-gallery-item:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    border-color: #D4A017;
}

.programme-gallery-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.programme-gallery-item:hover img {
    transform: scale(1.05);
}

/* Programme Description */
.programme-description {
    background: #fafafa !important;
    padding: 25px;
    border-radius: 10px;
    border-left: 4px solid #D4A017;
}

.programme-description p {
    color: #444;
    line-height: 1.8;
    margin-bottom: 15px;
}

.programme-description p:last-child {
    margin-bottom: 0;
}

/* Responsive - Programme Items */
@media (max-width: 768px) {
    .programme-item-public {
        padding: 20px;
        margin-bottom: 30px;
    }
    
    .programme-item-title {
        font-size: 18px !important;
    }
    
    .programme-item-gallery {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .programme-gallery-item {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .programme-item-public {
        padding: 15px;
    }
    
    .programme-item-title {
        font-size: 16px !important;
        margin-bottom: 20px;
    }
    
    .programme-description {
        padding: 20px;
        font-size: 14px;
    }
}

/* Grid layout for 1 image */
.programme-item-gallery:has(.programme-gallery-item:only-child) {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* Grid layout for 2 images */
.programme-item-gallery:has(.programme-gallery-item:nth-child(2):last-child) {
    grid-template-columns: repeat(2, 1fr);
}

/* Grid layout for 3 images */
.programme-item-gallery:has(.programme-gallery-item:nth-child(3):last-child) {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* Mobile: always stack images vertically */
@media (max-width: 576px) {
    .programme-item-gallery,
    .programme-item-gallery:has(.programme-gallery-item:nth-child(2):last-child),
    .programme-item-gallery:has(.programme-gallery-item:nth-child(3):last-child) {
        grid-template-columns: 1fr !important;
    }
}

/* ============================================================
   PHOTO GALLERY - Enhanced
===============================================================*/
.photo-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 30px;
    padding: 20px 0;
}

.photo-gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    cursor: pointer;
    aspect-ratio: 1;
    background-color: #f5f5f5;
    border: 2px solid rgba(212, 160, 23, 0.1);
}

.photo-gallery-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--gold);
}

.photo-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.photo-gallery-item:hover .photo-image {
    transform: scale(1.08);
}

/* ============================================================
   PHOTO MODAL - FULL VIEW WITH NAVIGATION & DOWNLOAD
============================================================= */

.photo-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Modal Image */
.photo-modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.5);
    transition: opacity 0.3s ease;
    opacity: 0;
    border: 4px solid rgba(212, 160, 23, 0.3);
}

/* Close Button */
.photo-modal-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: #ffffff;
    font-size: 48px;
    font-weight: 300;
    cursor: pointer;
    z-index: 10001;
    transition: all 0.3s ease;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.photo-modal-close:hover {
    transform: rotate(90deg) scale(1.1);
    background: rgba(212, 160, 23, 0.9);
    border-color: #D4A017;
    color: #ffffff;
}

/* Download Button */
.photo-modal-download {
    position: absolute;
    top: 30px;
    right: 110px;
    color: #ffffff;
    cursor: pointer;
    z-index: 10001;
    transition: all 0.3s ease;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.2);
    text-decoration: none;
}

.photo-modal-download:hover {
    background: rgba(0, 84, 42, 0.9);
    border-color: #00542A;
    transform: scale(1.1);
}

.photo-modal-download svg {
    width: 24px;
    height: 24px;
}

/* Navigation Arrows */
.photo-modal-prev,
.photo-modal-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10001;
    backdrop-filter: blur(10px);
}

.photo-modal-prev {
    left: 40px;
}

.photo-modal-next {
    right: 40px;
}

.photo-modal-prev:hover,
.photo-modal-next:hover {
    background: rgba(212, 160, 23, 0.9);
    border-color: #D4A017;
    transform: translateY(-50%) scale(1.1);
}

.photo-modal-prev:active,
.photo-modal-next:active {
    transform: translateY(-50%) scale(0.95);
}

/* Photo Counter */
.photo-modal-counter {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    color: #ffffff;
    background: rgba(0, 84, 42, 0.9);
    padding: 12px 28px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 700;
    z-index: 10001;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(212, 160, 23, 0.5);
    letter-spacing: 2px;
}

/* Responsive - Photo Modal */
@media (max-width: 768px) {
    .photo-modal-content {
        max-width: 95%;
        max-height: 70vh;
    }
    
    .photo-modal-close {
        top: 20px;
        right: 20px;
        font-size: 40px;
        width: 44px;
        height: 44px;
    }
    
    .photo-modal-download {
        top: 20px;
        right: 80px;
        width: 44px;
        height: 44px;
    }
    
    .photo-modal-download svg {
        width: 20px;
        height: 20px;
    }
    
    .photo-modal-prev,
    .photo-modal-next {
        width: 50px;
        height: 50px;
    }
    
    .photo-modal-prev {
        left: 20px;
    }
    
    .photo-modal-next {
        right: 20px;
    }
    
    .photo-modal-counter {
        bottom: 20px;
        font-size: 14px;
        padding: 10px 24px;
    }
}

@media (max-width: 480px) {
    .photo-modal-content {
        max-width: 100%;
        max-height: 60vh;
        border-radius: 8px;
    }
    
    .photo-modal-close {
        top: 10px;
        right: 10px;
        font-size: 35px;
        width: 40px;
        height: 40px;
    }
    
    .photo-modal-download {
        top: 10px;
        right: 60px;
        width: 40px;
        height: 40px;
    }
    
    .photo-modal-download svg {
        width: 18px;
        height: 18px;
    }
    
    .photo-modal-prev,
    .photo-modal-next {
        width: 44px;
        height: 44px;
    }
    
    .photo-modal-prev {
        left: 10px;
    }
    
    .photo-modal-next {
        right: 10px;
    }
    
    .photo-modal-counter {
        bottom: 15px;
        font-size: 12px;
        padding: 6px 12px;
    }
}
