/* ============================================================
   VMS HOMEPAGE (INDEX.PHP) SYSTEM STYLES
   Isolated stylesheet for maximum mobile/tablet responsiveness
============================================================ */

/* Hero and Slider Section Layouts */
/* Hero and Slider Section Layouts with "Cho Chok Light" Glowing Visual System */
.hero {
    position: relative;
    height: 72vh !important;
    min-height: 540px;
    max-height: 750px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 6%;
    background-color: #0b132b;
}

/* Background Image Layer - Pure Fresh Clean Real Photo */
.hero-bg-layer {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: none !important;
    transition: opacity 0.8s ease-in-out, transform 8s cubic-bezier(0.25, 1, 0.5, 1);
    transform: scale(1);
    z-index: 1;
}

/* NO Black Overlay / NO Dark Shadow as requested */
.hero-lighting-overlay {
    display: none !important;
}

.hero-ambient-glow {
    display: none !important;
}

.hero-content {
    max-width: 650px;
    color: #ffffff;
    z-index: 10;
    position: relative;
    padding: 0 !important;
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border: none !important;
    box-shadow: none !important;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), opacity 0.4s ease;
}

/* Hero Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(15, 23, 42, 0.5) !important;
    border: 1px solid rgba(56, 189, 248, 0.4) !important;
    padding: 6px 16px;
    border-radius: 30px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

@keyframes badgeGlowFloat {
    0% { box-shadow: 0 4px 15px rgba(10, 170, 232, 0.25); }
    100% { box-shadow: 0 6px 25px rgba(10, 170, 232, 0.5); }
}

.hero-badge-dot {
    width: 9px;
    height: 9px;
    background-color: #38bdf8;
    border-radius: 50%;
    box-shadow: 0 0 10px #38bdf8, 0 0 18px #38bdf8;
    animation: pulseDot 1.5s infinite ease-in-out;
}

@keyframes pulseDot {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.4); opacity: 0.6; }
}

.hero-badge-text {
    font-family: var(--font-heading, 'Outfit', sans-serif);
    font-size: 0.82rem;
    font-weight: 800;
    color: #f0f9ff;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.hero-content h1 {
    font-family: var(--font-heading, 'Outfit', sans-serif);
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 18px;
    color: #ffffff !important;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.85), 0 1px 3px rgba(0, 0, 0, 0.9);
    letter-spacing: -0.5px;
}

.hero-content p {
    font-family: var(--font-body, 'Inter', sans-serif);
    font-size: 1.12rem;
    line-height: 1.65;
    margin-bottom: 30px;
    color: #ffffff !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.85), 0 1px 3px rgba(0, 0, 0, 0.9);
    max-width: 600px;
    font-weight: 600;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-hero-explore {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #C5A551 0%, #a68434 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.35) !important;
    color: #ffffff !important;
    padding: 15px 32px !important;
    border-radius: 8px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 1.2px;
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    box-shadow: 0 6px 22px rgba(197, 165, 81, 0.45), 0 0 15px rgba(197, 165, 81, 0.3) !important;
    transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
}

.btn-hero-explore::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -75%;
    width: 50%;
    height: 200%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    transform: rotate(25deg);
    transition: all 0.75s ease;
}

.btn-hero-explore:hover::before {
    left: 125%;
}

.btn-hero-explore:hover {
    transform: translateY(-3px) scale(1.02) !important;
    background: linear-gradient(135deg, #d4af37 0%, #b38f29 100%) !important;
    box-shadow: 0 10px 30px rgba(197, 165, 81, 0.65), 0 0 25px rgba(255, 255, 255, 0.4) !important;
}

.btn-hero-learn {
    background: rgba(255, 255, 255, 0.12) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border: 1.5px solid rgba(255, 255, 255, 0.5) !important;
    color: #ffffff !important;
    padding: 15px 30px !important;
    border-radius: 8px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 1.2px;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    transition: all 0.35s ease !important;
}

.btn-hero-learn:hover {
    background: rgba(255, 255, 255, 0.25) !important;
    border-color: #ffffff !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.25) !important;
}

/* Glass Floating Arrows (Left / Right) */
.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(10, 18, 38, 0.5);
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 20;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

.hero-arrow-prev { left: 2.5%; }
.hero-arrow-next { right: 2.5%; }

.hero-arrow:hover {
    background: rgba(10, 170, 232, 0.85);
    border-color: #38bdf8;
    transform: translateY(-50%) scale(1.12);
    box-shadow: 0 0 25px rgba(10, 170, 232, 0.7);
}

/* Desktop Glassmorphic Thumbnail Panel */
.hero-thumbnails-container {
    position: absolute;
    bottom: 35px;
    right: 4%;
    width: 450px;
    overflow: hidden;
    z-index: 20;
    background: rgba(8, 15, 30, 0.65);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 12px 14px;
    border-radius: 16px;
    border: 1.5px solid rgba(255, 255, 255, 0.22);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), inset 0 0 15px rgba(255, 255, 255, 0.05);
}

.hero-thumbnails-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    padding: 0 4px;
}

.hero-thumbnails-header span {
    font-family: var(--font-heading, 'Outfit', sans-serif);
    font-size: 0.72rem;
    font-weight: 800;
    color: var(--accent-color, #C5A551);
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.hero-thumbnails-header small {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 600;
}

.hero-thumbnails-track {
    display: flex;
    gap: 12px;
    transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    width: max-content;
}

.hero-thumb {
    position: relative;
    width: 125px;
    height: 78px;
    border-radius: 10px;
    background-size: cover;
    background-position: center;
    cursor: pointer;
    border: 2px solid rgba(255, 255, 255, 0.25);
    opacity: 0.65;
    transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
    flex-shrink: 0;
    filter: brightness(0.95) contrast(1.05) saturate(1.1);
    overflow: hidden;
}

.hero-thumb-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.75) 100%);
}

.hero-thumb-title {
    position: absolute;
    bottom: 5px;
    left: 6px;
    right: 6px;
    z-index: 3;
    font-size: 0.68rem;
    font-weight: 700;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
}

.hero-thumb:hover {
    opacity: 1;
    transform: translateY(-3px) scale(1.04);
    border-color: rgba(255, 255, 255, 0.8);
    filter: brightness(1.1) contrast(1.15) saturate(1.25);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
}

.hero-thumb.active {
    opacity: 1;
    border: 2.5px solid var(--accent-color, #C5A551);
    transform: translateY(-3px) scale(1.05);
    filter: brightness(1.18) contrast(1.2) saturate(1.35);
    box-shadow: 0 0 20px rgba(197, 165, 81, 0.65), inset 0 0 10px rgba(197, 165, 81, 0.3);
}

/* Glowing Slide Progress Bar at Bottom of Hero */
.hero-progress-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.15);
    z-index: 25;
}

.hero-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #0aaae8 0%, #C5A551 100%);
    box-shadow: 0 0 12px #0aaae8;
    transition: width 0.1s linear;
}

/* Home Section Layout Grid classes */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.home-split-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
    align-items: center;
}
.home-split-grid.align-start {
    align-items: start;
}

/* Titles and Headers */
.vms-title {
    font-family: var(--font-heading, 'Outfit', sans-serif);
    font-size: 2.5rem;
    color: var(--primary-color, #213064);
    font-weight: 800;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}
.vms-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--accent-color, #C5A551);
    border-radius: var(--radius-sm, 6px);
}
.vms-title-left::after {
    left: 0;
    transform: none;
}

/* Ticker Item Button styling */
.ticker-action-btn {
    background-color: var(--accent-color, #C5A551);
    color: white;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.76rem;
    font-weight: 800;
    margin-left: 10px;
    text-decoration: none;
    text-transform: uppercase;
    transition: all 0.2s ease;
    display: inline-block;
}
.ticker-action-btn:hover {
    background-color: #b39243 !important;
    transform: scale(1.05);
    box-shadow: 0 2px 8px rgba(197, 165, 81, 0.4);
}

/* Highlight Cards */
.highlight-card {
    background-color: var(--bg-white, #ffffff);
    border: 1.5px solid var(--border-color, #e2e8f0);
    border-radius: var(--radius-lg, 20px);
    padding: 45px 30px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05), 0 2px 4px -1px rgba(0,0,0,0.03);
    position: relative;
    overflow: hidden;
    z-index: 1;
}
.highlight-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: transparent;
    transition: background-color 0.3s ease;
}
.highlight-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(33, 48, 100, 0.1), 0 10px 10px -5px rgba(33, 48, 100, 0.04);
    border-color: var(--primary-color, #213064);
}
.highlight-card:hover::before {
    background-color: var(--primary-color, #213064);
}
.highlight-card .card-icon {
    width: 70px;
    height: 70px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.highlight-card:hover .card-icon {
    transform: scale(1.1) rotate(5deg);
    border-radius: 50%;
}

/* Editorial and Leadership frames */
.editorial-frame-container {
    position: relative;
    padding-bottom: 15px;
    padding-right: 15px;
}
.editorial-frame {
    position: relative;
    border-radius: var(--radius-lg, 20px);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1.5px solid var(--border-color, #e2e8f0);
    z-index: 2;
}
.editorial-frame-decor {
    position: absolute;
    top: 15px;
    left: 15px;
    right: -15px;
    bottom: -15px;
    border: 3px solid var(--accent-color, #C5A551);
    border-radius: var(--radius-lg, 20px);
    z-index: 1;
    pointer-events: none;
    transition: transform 0.3s ease;
}
.editorial-frame-container:hover .editorial-frame-decor {
    transform: translate(5px, 5px);
}

/* Notice Cards and Scroll system */
.notice-card {
    background-color: var(--bg-light, #f0f7ff);
    padding: 24px;
    border: 1.5px solid var(--border-color, #e2e8f0);
    border-radius: var(--radius-md, 12px);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
}
.notice-card:hover {
    transform: translateX(6px);
    border-color: var(--primary-color, #213064);
    box-shadow: var(--shadow-md);
}
.notice-scroll-container {
    height: 330px; /* Fits exactly 3 items at a time */
    overflow: hidden;
    position: relative;
}
.notice-scroll-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
    animation: scrollNoticesUp 22s linear infinite;
}
.notice-scroll-container:hover .notice-scroll-content {
    animation-play-state: paused;
}
@keyframes scrollNoticesUp {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-50%);
    }
}

/* Frosted Stats Counter */
.frosted-panel {
    background: linear-gradient(135deg, rgba(33, 48, 100, 0.94) 0%, rgba(31, 53, 135, 0.97) 100%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1.5px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-lg, 20px);
    padding: 45px 35px;
    box-shadow: var(--shadow-lg);
}
.stat-box {
    text-align: center;
    padding: 20px 15px;
    border-radius: var(--radius-md, 12px);
    background-color: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255,255,255,0.07);
    transition: all 0.3s ease;
}
.stat-box:hover {
    background-color: rgba(255, 255, 255, 0.09);
    border-color: rgba(255, 255, 255, 0.18);
    transform: scale(1.05);
}

/* Event Cards */
.event-card {
    background-color: var(--bg-white, #ffffff);
    border: 1.5px solid var(--border-color, #e2e8f0);
    border-radius: var(--radius-lg, 20px);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.event-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(33, 48, 100, 0.08), 0 10px 10px -5px rgba(33, 48, 100, 0.03);
    border-color: var(--primary-color, #213064);
}
.event-header {
    background: linear-gradient(135deg, var(--primary-color, #213064) 0%, #1a2d54 100%);
    padding: 30px;
    color: white;
    position: relative;
    border-bottom: 3.5px solid var(--accent-color, #C5A551);
}
.event-calendar-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: var(--accent-color, #C5A551);
    color: var(--primary-color, #213064);
    font-weight: 800;
    font-size: 0.8rem;
    padding: 6px 12px;
    border-radius: var(--radius-sm, 6px);
    letter-spacing: 0.5px;
    box-shadow: var(--shadow-sm);
}

/* Testimonial Cards */
.testimonial-card {
    background-color: var(--bg-light, #f0f7ff);
    border: 1.5px solid var(--border-color, #e2e8f0);
    padding: 35px 30px;
    border-radius: var(--radius-lg, 20px);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.testimonial-card:hover {
    border-color: var(--accent-color, #C5A551);
    background-color: var(--bg-white, #ffffff);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

/* ============================================================
   RESPONSIVE LAYOUT BREAKPOINTS FOR HOMEPAGE
============================================================ */

@media (max-width: 992px) {
    .hero {
        height: 60vh !important;
        justify-content: center;
        text-align: center;
        padding: 0 20px;
    }
    .hero-content h1 {
        font-size: 2.5rem;
    }
    .hero-content p {
        font-size: 0.95rem;
    }
    .hero-thumbnails-container {
        display: none; /* Hide thumbnails layout on mobile/tablet */
    }
    .hero-slider-dots {
        display: flex; /* Show dots indicators instead */
    }
    .vms-title {
        font-size: 2rem;
    }
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    .home-split-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .editorial-frame-container {
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .grid-3 {
        grid-template-columns: 1fr;
    }
    .frosted-panel {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .hero {
        height: 65vh !important;
        padding: 0 15px;
    }
    .hero-content h1 {
        font-size: 1.85rem;
    }
    .hero-content p {
        font-size: 0.88rem;
        margin-bottom: 20px;
    }
    .vms-title {
        font-size: 1.6rem;
    }
}
