/* ==========================================================================
   KCC Site Manager - Frontend Styles
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Board of Directors Slider
   -------------------------------------------------------------------------- */
.kcc-bod {
    position: relative;
    overflow: hidden;
    background: linear-gradient(145deg, #0a252f 0%, #0e3d4c 100%);
    color: #ffffff;
    border-radius: 16px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
    max-width: min(1100px, 96vw);
    margin: 24px auto !important;
    padding: 0;
}

.kcc-bod .kcc-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
}

.kcc-bod .kcc-slide {
    flex: 0 0 100%;
    box-sizing: border-box;
    padding: 36px 24px 44px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
}

.kcc-bod .kcc-photo {
    width: 190px;
    height: 190px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    border: 4px solid rgba(255, 255, 255, 0.2);
    background: #0f3d8a;
}

.kcc-bod .kcc-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.kcc-bod .kcc-bod-name {
    margin: 10px 0 2px;
    font-size: 1.35rem;
    color: #ffffff;
    font-weight: 700;
}

.kcc-bod .kcc-role {
    color: #43b0ff;
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.kcc-bod .kcc-bio {
    max-width: 820px;
    font-size: 0.98rem;
    line-height: 1.7;
    margin: 0 auto;
    color: #e2f1f8;
    transition: all 0.3s ease;
}

.kcc-bod .kcc-bio[data-expanded="0"] {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}

.kcc-bod .kcc-bio-btn {
    margin-top: 10px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border-radius: 20px;
    padding: 6px 16px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.2s ease;
}

.kcc-bod .kcc-bio-btn:hover {
    background: #ffffff;
    color: #0e3d4c;
}

.kcc-bod .nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s ease;
}

.kcc-bod .nav:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: translateY(-50%) scale(1.08);
}

.kcc-bod .prev { left: 14px; }
.kcc-bod .next { right: 14px; }
.kcc-bod .nav svg { width: 20px; height: 20px; fill: #ffffff; }

.kcc-bod .dots {
    position: absolute;
    bottom: 12px;
    left: 0;
    right: 0;
    display: flex;
    gap: 8px;
    justify-content: center;
    z-index: 10;
}

.kcc-bod .dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    cursor: pointer;
    transition: all 0.3s ease;
}

.kcc-bod .dot.active {
    background: #43b0ff;
    width: 24px;
    border-radius: 10px;
}

/* --------------------------------------------------------------------------
   2. Management Team Animated Section
   -------------------------------------------------------------------------- */
.kcc-mgmt-section {
    width: 100%;
    margin: 24px auto;
}

.kcc-light-frame {
    --frame-width: 6px;
    --corner: 18px;
    --base: #0f3d8a;
    --glow: #43b0ff;
    --glow-soft: rgba(67, 176, 255, 0.45);
    position: relative;
    border-radius: var(--corner);
    padding: clamp(16px, 2.2vw, 28px);
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.kcc-gallery {
    position: relative;
}

.kcc-lines {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.kcc-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(14px, 2vw, 22px);
    z-index: 2;
}

@media (max-width: 1024px) {
    .kcc-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    .kcc-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
    .kcc-grid { grid-template-columns: 1fr; }
}

.kcc-card {
    background: #ffffff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.07);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    display: flex;
    flex-direction: column;
    border: 1px solid #edf2f7;
}

.kcc-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(15, 61, 138, 0.15);
}

.kcc-card-img-wrap {
    height: 240px;
    width: 100%;
    overflow: hidden;
    background: #f7fafc;
}

.kcc-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.kcc-card:hover .kcc-card-img-wrap img {
    transform: scale(1.04);
}

.kcc-card .kcc-info {
    padding: 14px 16px;
    flex-grow: 1;
}

.kcc-name {
    margin: 0 0 4px 0;
    font-size: clamp(15px, 1.1vw, 18px);
    color: #0f3d8a;
    font-weight: 700;
    line-height: 1.3;
}

.kcc-title {
    margin: 0;
    font-size: clamp(12px, 0.9vw, 14px);
    color: #4a5568;
    font-weight: 500;
    line-height: 1.4;
}

.kcc-link {
    stroke: rgba(15, 61, 138, 0.2);
    stroke-width: 2;
}

.kcc-link-glow {
    stroke: rgba(67, 176, 255, 0.35);
    stroke-width: 4;
    filter: blur(1px);
}

.kcc-pulse {
    fill: #43b0ff;
    filter: drop-shadow(0 0 6px rgba(67, 176, 255, 0.9));
}

/* --------------------------------------------------------------------------
   3. Products Showcase Carousel (Auto-Sliding Motion)
   -------------------------------------------------------------------------- */
.kcc-products-carousel-wrap {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 10px;
    overflow: hidden;
}

.kcc-prod-track-window {
    width: 100%;
    overflow: hidden;
    padding: 12px 0 24px;
}

.kcc-prod-track {
    display: flex;
    transition: transform 0.65s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
    gap: 20px;
}

.kcc-prod-slide {
    flex: 0 0 calc(33.333% - 14px);
    box-sizing: border-box;
    display: flex;
}

@media (max-width: 960px) {
    .kcc-prod-slide {
        flex: 0 0 calc(50% - 10px);
    }
}

@media (max-width: 600px) {
    .kcc-prod-slide {
        flex: 0 0 100%;
    }
}

.kcc-prod-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    position: relative;
    box-shadow: 0 6px 20px rgba(15, 61, 138, 0.06);
    display: flex;
    flex-direction: column;
    width: 100%;
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.3s cubic-bezier(0.25, 1, 0.5, 1), border-color 0.3s ease;
}

.kcc-prod-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(15, 61, 138, 0.16);
    border-color: #43b0ff;
}

.kcc-prod-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: linear-gradient(135deg, #0f3d8a 0%, #1a56b4 100%);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 20px;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.kcc-prod-img-box {
    width: 100% !important;
    height: 230px !important;
    background: radial-gradient(circle, #f8fafc 0%, #edf2f7 100%);
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 14px !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
}

.kcc-prod-img-box img {
    max-width: 100% !important;
    max-height: 200px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    margin: 0 auto !important;
    display: block !important;
    transition: transform 0.3s ease;
}

.kcc-prod-card:hover .kcc-prod-img-box img {
    transform: scale(1.02);
}

.kcc-prod-body {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.kcc-prod-title {
    margin: 0 0 6px;
    font-size: 1.22rem;
    color: #0f3d8a;
    font-weight: 700;
}

.kcc-prod-pack {
    display: inline-block;
    color: #2b6cb0;
    background: #ebf8ff;
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 0.82rem;
    margin-bottom: 12px;
    font-weight: 600;
    align-self: flex-start;
}

.kcc-prod-desc {
    font-size: 0.92rem;
    color: #4a5568;
    line-height: 1.6;
    flex-grow: 1;
    margin-bottom: 18px;
}

.kcc-prod-btn {
    display: block;
    text-align: center;
    background: linear-gradient(135deg, #0f3d8a 0%, #1e5bb8 100%);
    color: #ffffff !important;
    padding: 11px 18px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 4px 12px rgba(15, 61, 138, 0.2);
}

.kcc-prod-btn:hover {
    background: linear-gradient(135deg, #0a295c 0%, #0f3d8a 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(15, 61, 138, 0.35);
}

/* Products Carousel Nav Arrows */
.kcc-prod-nav {
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid #cbd5e0;
    display: grid;
    place-items: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    z-index: 10;
    transition: all 0.2s ease;
}

.kcc-prod-nav:hover {
    background: #0f3d8a;
    border-color: #0f3d8a;
    transform: translateY(-50%) scale(1.1);
}

.kcc-prod-nav svg {
    width: 18px;
    height: 18px;
    fill: #0f3d8a;
    transition: fill 0.2s ease;
}

.kcc-prod-nav:hover svg {
    fill: #ffffff;
}

.kcc-prod-prev { left: 4px; }
.kcc-prod-next { right: 4px; }

/* Products Carousel Dots */
.kcc-prod-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
}

.kcc-prod-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #cbd5e0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.kcc-prod-dot.active {
    background: #0f3d8a;
    width: 26px;
    border-radius: 12px;
}

/* --------------------------------------------------------------------------
   4. Floating & Dancing Arenol Pack Bubble
   -------------------------------------------------------------------------- */
.kcc-arenol-float-wrap {
    position: fixed !important;
    z-index: 999999 !important;
    display: flex !important;
    align-items: center;
    gap: 10px;
    transition: transform 0.3s ease, opacity 0.3s ease;
    pointer-events: auto !important;
}

.kcc-arenol-float-wrap.pos-bottom-right {
    bottom: 24px !important;
    right: 24px !important;
    left: auto !important;
}

.kcc-arenol-float-wrap.pos-bottom-left {
    bottom: 24px !important;
    left: 24px !important;
    right: auto !important;
    flex-direction: row-reverse;
}

.kcc-arenol-inner-link {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #ffffff;
    border-radius: 50px;
    padding: 6px 18px 6px 6px;
    box-shadow: 0 10px 28px rgba(15, 61, 138, 0.28), 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 2px solid #43b0ff;
    text-decoration: none !important;
    color: #1a202c !important;
    animation: kcc-arenol-dance 4s ease-in-out infinite;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.kcc-arenol-inner-link:hover {
    animation-play-state: paused;
    transform: scale(1.06) translateY(-4px);
    box-shadow: 0 14px 36px rgba(15, 61, 138, 0.38);
}

.kcc-arenol-pack-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    background: #f7fafc;
    border: 2px solid #0f3d8a;
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

.kcc-arenol-pack-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.kcc-arenol-pulse-ring {
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid #43b0ff;
    animation: kcc-arenol-pulse 2s cubic-bezier(0.25, 1, 0.5, 1) infinite;
    pointer-events: none;
}

.kcc-arenol-label-box {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.kcc-arenol-badge-tag {
    background: #e53e3e;
    color: #ffffff;
    font-size: 9px;
    font-weight: 800;
    padding: 1px 6px;
    border-radius: 8px;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.kcc-arenol-name {
    font-size: 13px;
    font-weight: 700;
    color: #0f3d8a;
    line-height: 1.2;
}

.kcc-arenol-cta {
    font-size: 11px;
    font-weight: 600;
    color: #4a5568;
}

.kcc-arenol-close {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #cbd5e0;
    color: #4a5568;
    border: none;
    cursor: pointer;
    font-size: 14px;
    line-height: 1;
    display: grid;
    place-items: center;
    padding: 0;
    transition: background 0.2s ease;
}

.kcc-arenol-close:hover {
    background: #e53e3e;
    color: #ffffff;
}

@keyframes kcc-arenol-dance {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-8px) rotate(-2deg);
    }
    50% {
        transform: translateY(0) rotate(0deg);
    }
    75% {
        transform: translateY(-5px) rotate(2deg);
    }
}

@keyframes kcc-arenol-pulse {
    0% {
        transform: scale(0.9);
        opacity: 0.9;
    }
    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

/* Mobile Responsiveness */
@media (max-width: 600px) {
    .kcc-arenol-float-wrap.pos-bottom-right {
        bottom: 16px;
        right: 16px;
    }
    .kcc-arenol-float-wrap.pos-bottom-left {
        bottom: 16px;
        left: 16px;
    }
    .kcc-arenol-inner-link {
        padding: 4px 14px 4px 4px;
    }
    .kcc-arenol-pack-circle {
        width: 50px;
        height: 50px;
    }
    .kcc-arenol-name {
        font-size: 12px;
    }
}

/* --------------------------------------------------------------------------
   5. Site-wide Layout Centering & Container Normalization
   -------------------------------------------------------------------------- */
body, p, li, a, span, input, textarea, button, select, label, small, strong, em {
    font-family: 'Urbanist', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
}

/* FontAwesome 5 Enforcement */
.fa, .fas, .far, .fab, [class^="fa-"], [class*=" fa-"] {
    font-family: "Font Awesome 5 Free", "Font Awesome 5 Brands", "FontAwesome" !important;
    font-weight: 900 !important;
}
.far { font-weight: 400 !important; }
.fab { font-family: "Font Awesome 5 Brands" !important; font-weight: 400 !important; }

/* Center Page Wrappers & Expand Full-Width when Sidebar is Absent */
.page .blog-section,
.page-template-default .blog-section,
.page .post-section {
    padding: 40px 0 60px;
}

.page .blog-section .container > .row,
.page .post-section .container > .row {
    justify-content: center !important;
    align-items: center;
}

.page .blog-section .col-lg-8,
.page .blog-section .col-lg-12,
.page-template-default .blog-section .col-lg-8 {
    flex: 0 0 100% !important;
    max-width: 1140px !important;
    margin: 0 auto !important;
    float: none !important;
    width: 100% !important;
}

/* Center Section Titles, Subtitles, and Intro Texts */
.page .section-title,
.page .page-title,
.page .entry-title,
.page .site-heading {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* True Centering for Content Images without Forced Scaling or Distortion */
.page .blog-section img:not(.custom-logo):not(.kcc-hero-swiper img):not(.kcc-arenol-pack-img),
.page .post-section img:not(.custom-logo):not(.kcc-hero-swiper img):not(.kcc-arenol-pack-img),
.page .entry-content img:not(.custom-logo):not(.kcc-hero-swiper img):not(.kcc-arenol-pack-img),
.wp-block-image img {
    max-width: 100% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    margin-left: auto !important;
    margin-right: auto !important;
    display: block !important;
}

.wp-block-image,
figure.wp-block-image {
    display: flex !important;
    justify-content: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: auto !important;
}

/* --------------------------------------------------------------------------
   6. VMC Rotating "Coin" Cards (Mission, Vision, Values)
   -------------------------------------------------------------------------- */
.vmc-section {
    --orb-size: 140px;
    --ring-width: 6px;
    --ring-color: rgba(255, 255, 255, 0.18);
    --card-bg: #111a23;
    --text: #e7eef8;
    color: var(--text);
    margin: 42px auto;
    max-width: 1100px;
}
.vmc-grid {
    display: grid;
    gap: 28px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
@media (max-width: 860px) {
    .vmc-grid {
        grid-template-columns: 1fr;
    }
}
.vmc-card {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 30px 24px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    transition: transform 0.3s ease;
}
.vmc-card:hover {
    transform: translateY(-6px);
}

/* --------------------------------------------------------------------------
   7. Perched GIF Title Helper
   -------------------------------------------------------------------------- */
.perched-title {
    --perch-size: 22px;
    --perch-x: 0.02em;
    --perch-y: -0.95em;
    position: relative;
    text-align: center;
    margin-bottom: 20px;
}
.perched-title .dropcap {
    position: relative;
    display: inline-block;
}
.perched-title .perch-gif {
    position: absolute;
    width: var(--perch-size);
    height: auto;
    top: var(--perch-y);
    left: var(--perch-x);
    pointer-events: none;
}

/* --------------------------------------------------------------------------
   8. Custom Gallery Image Tooltip
   -------------------------------------------------------------------------- */
.custom-tooltip {
    position: absolute;
    background: rgba(15, 61, 138, 0.92);
    color: #ffffff;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    display: none;
    pointer-events: none;
    z-index: 99999;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* --------------------------------------------------------------------------
   9. Organization / Team Modal Styling
   -------------------------------------------------------------------------- */
.person-modal {
    display: none;
    position: fixed;
    z-index: 999999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background: rgba(10, 37, 47, 0.75);
    backdrop-filter: blur(4px);
}
.person-modal-content {
    background: #ffffff;
    margin: 8% auto;
    padding: 28px;
    max-width: 540px;
    border-radius: 16px;
    position: relative;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}
.person-modal-close {
    position: absolute;
    top: 14px;
    right: 18px;
    font-size: 24px;
    font-weight: bold;
    color: #718096;
    cursor: pointer;
    line-height: 1;
}
.person-modal-close:hover {
    color: #e53e3e;
}

/* --------------------------------------------------------------------------
   10. WordPress Calendar Widget High-Contrast Styling (Compact & Full Dates)
   -------------------------------------------------------------------------- */
.widget_calendar,
.wp-block-calendar,
.widget_block.widget_calendar,
.footer .widget_block.widget_calendar,
.footer .wp-block-calendar {
    max-width: 290px !important;
    margin: 0 auto !important;
    padding: 12px 14px !important;
    background: rgba(15, 61, 138, 0.25) !important;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(67, 176, 255, 0.25) !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15) !important;
    box-sizing: border-box !important;
    position: relative !important;
}

.widget_calendar .wp-calendar-table,
.wp-block-calendar .wp-calendar-table,
.wp-block-calendar table,
.widget_calendar table,
.footer .wp-block-calendar table,
.footer .widget_block.widget_calendar table {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    border-collapse: separate !important;
    border-spacing: 2px !important;
    table-layout: fixed !important;
    height: auto !important;
}

.widget_calendar caption,
.wp-block-calendar caption,
.footer .wp-block-calendar .wp-calendar-table caption {
    caption-side: top !important;
    text-align: center !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 0.95rem !important;
    padding: 4px 0 8px !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
    border: none !important;
    background: transparent !important;
    position: static !important;
}

.widget_calendar th,
.wp-block-calendar th,
.footer .widget_calendar .wp-block-calendar table th,
.footer .wp-block-calendar table th {
    background: transparent !important;
    color: #43b0ff !important;
    font-weight: 700 !important;
    font-size: 0.75rem !important;
    text-align: center !important;
    vertical-align: middle !important;
    padding: 4px 1px !important;
    border: none !important;
    height: auto !important;
    line-height: 1 !important;
}

.widget_calendar td,
.wp-block-calendar td,
.footer .widget_calendar .wp-block-calendar table td,
.footer .wp-block-calendar table td,
.wp-calendar-table tbody td,
.footer .widget_block.widget_calendar table tbody td {
    background: rgba(255, 255, 255, 0.08) !important;
    color: #ffffff !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: table-cell !important;
    text-align: center !important;
    vertical-align: middle !important;
    padding: 0 !important;
    border-radius: 5px !important;
    font-weight: 600 !important;
    font-size: 0.8rem !important;
    height: 26px !important;
    width: 26px !important;
    max-height: 26px !important;
    max-width: 26px !important;
    line-height: 26px !important;
    border: none !important;
    transition: all 0.2s ease !important;
}

.widget_calendar td.pad,
.wp-block-calendar td.pad,
.wp-calendar-table td.pad {
    background: transparent !important;
    border: none !important;
}

.widget_calendar td:hover:not(.pad),
.wp-block-calendar td:hover:not(.pad) {
    background: rgba(67, 176, 255, 0.3) !important;
}

.widget_calendar td a,
.wp-block-calendar td a,
.wp-calendar-table td a {
    color: #43b0ff !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    display: block !important;
    line-height: 26px !important;
}

.widget_calendar #today,
.widget_calendar td.is-today,
.wp-block-calendar #today,
.wp-block-calendar td.is-today,
.footer .widget_block.widget_calendar table #today,
.wp-calendar-table #today {
    background: #43b0ff !important;
    color: #0a252f !important;
    font-weight: 800 !important;
    box-shadow: 0 0 10px rgba(67, 176, 255, 0.8) !important;
}

.widget_calendar #today a,
.wp-block-calendar #today a,
.wp-calendar-table #today a {
    color: #0a252f !important;
}

.widget_calendar .wp-calendar-nav,
.wp-block-calendar .wp-calendar-nav,
.footer .wp-block-calendar .wp-calendar-nav {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-top: 8px !important;
    color: #d0e1fd !important;
    font-size: 0.8rem !important;
    position: static !important;
    float: none !important;
}

.widget_calendar .wp-calendar-nav a,
.wp-block-calendar .wp-calendar-nav a,
.footer .wp-block-calendar .wp-calendar-nav a {
    color: #43b0ff !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    font-size: 0.8rem !important;
}

/* --------------------------------------------------------------------------
   11. Professional Footer & Social Media Layout
   -------------------------------------------------------------------------- */
.footer-section {
    background: linear-gradient(180deg, #0a252f 0%, #06171d 100%) !important;
    color: #e2f1f8 !important;
    padding: 60px 0 20px !important;
}

.footer-section h4.widget-title,
.footer-section .widgettitle {
    color: #ffffff !important;
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    margin-bottom: 20px !important;
    position: relative !important;
    padding-bottom: 8px !important;
}

.footer-section h4.widget-title::after,
.footer-section .widgettitle::after {
    content: '' !important;
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 40px !important;
    height: 3px !important;
    background: #43b0ff !important;
    border-radius: 2px !important;
}

.kcc-footer-social-wrap {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 14px;
}

.kcc-footer-social-wrap a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: grid;
    place-items: center;
    color: #ffffff !important;
    font-size: 16px;
    transition: all 0.25s ease;
    text-decoration: none !important;
}

.kcc-footer-social-wrap a:hover {
    background: #43b0ff;
    color: #0a252f !important;
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 6px 16px rgba(67, 176, 255, 0.4);
    border-color: #43b0ff;
}

.kcc-pv-alert-box {
    background: rgba(229, 62, 62, 0.12);
    border: 1px solid rgba(229, 62, 62, 0.35);
    border-radius: 10px;
    padding: 14px 16px;
    margin: 16px 0;
}

.kcc-pv-alert-title {
    color: #fc8181;
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.kcc-pv-alert-text {
    font-size: 0.85rem;
    line-height: 1.5;
    color: #fed7d7;
    margin: 0 0 8px 0;
}

.kcc-pv-hotline {
    display: inline-block;
    background: #e53e3e;
    color: #ffffff !important;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 3px 10px;
    border-radius: 6px;
    text-decoration: none !important;
}

/* --------------------------------------------------------------------------
   12. Hero Slider Swiper Full-Feature Styles
   -------------------------------------------------------------------------- */
.kcc-hero-wrap {
    position: relative;
    width: 100%;
    min-height: 540px;
    overflow: hidden;
    background: #0a252f;
}

.kcc-hero-swiper {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
}

.kcc-hero-swiper .swiper-slide {
    position: relative;
    overflow: hidden;
}

.kcc-hero-swiper .swiper-slide img,
.kcc-hero-swiper .swiper-slide video,
.kcc-hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Ensure Site Header & Logo are NEVER blocked or covered by any hero overlay */
header.header,
.header,
.navigation-wrapper,
.main-navigation,
.main-navigation-area,
.main-mobile-nav {
    position: relative !important;
    z-index: 99999 !important;
}

.custom-logo-link,
.custom-logo,
.main-navigation .col-lg-3,
.mobile-logo,
.header a.site-title {
    position: relative !important;
    z-index: 100000 !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: inline-block !important;
}

.kcc-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    background: linear-gradient(90deg, rgba(10, 37, 47, 0.88) 0%, rgba(10, 37, 47, 0.4) 60%, transparent 100%);
    pointer-events: none;
}

.kcc-hero-overlay .container {
    pointer-events: auto;
}

.kcc-hero-content {
    max-width: 620px;
    color: #ffffff;
    padding: 20px 0;
}

.kcc-hero-content h2 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 800;
    color: #ffffff !important;
    line-height: 1.15;
    margin-bottom: 16px;
}

.kcc-hero-content h2 .kcc-health {
    color: #43b0ff;
}

.kcc-hero-content p {
    font-size: clamp(1rem, 1.3vw, 1.15rem);
    line-height: 1.6;
    color: #e2f1f8;
    margin-bottom: 24px;
}

.kcc-hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #0f3d8a 0%, #1e5bb8 100%);
    color: #ffffff !important;
    padding: 14px 28px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none !important;
    box-shadow: 0 8px 24px rgba(15, 61, 138, 0.4);
    transition: all 0.25s ease;
}

.kcc-hero-btn:hover {
    background: linear-gradient(135deg, #0a295c 0%, #0f3d8a 100%);
    transform: translateY(-3px) scale(1.04);
    box-shadow: 0 12px 30px rgba(15, 61, 138, 0.6);
}

/* --------------------------------------------------------------------------
   13. Side-by-Side Contact & Pharmacovigilance Forms Layout
   -------------------------------------------------------------------------- */
.kcc-contact-portal-wrap {
    max-width: 1200px;
    margin: 20px auto 40px;
    padding: 0 15px;
}

.kcc-portal-intro {
    text-align: center;
    margin-bottom: 36px;
}

.kcc-portal-intro h2 {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    color: #0f3d8a !important;
    font-weight: 800;
    margin-bottom: 10px;
}

.kcc-portal-intro p {
    color: #4a5568;
    font-size: 1.05rem;
    max-width: 700px;
    margin: 0 auto;
}

.kcc-dual-forms-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
    align-items: stretch;
}

@media (max-width: 860px) {
    .kcc-dual-forms-grid {
        grid-template-columns: 1fr;
    }
}

.kcc-form-column {
    display: flex;
}

.kcc-form-card-inner {
    background: #ffffff;
    border-radius: 18px;
    padding: clamp(22px, 3vw, 36px);
    box-shadow: 0 10px 30px rgba(15, 61, 138, 0.08);
    border: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    width: 100%;
    position: relative;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.kcc-form-card-inner:hover {
    box-shadow: 0 16px 36px rgba(15, 61, 138, 0.14);
}

.kcc-pv-report-box .kcc-form-card-inner {
    border-top: 4px solid #e53e3e;
    background: #fffafa;
}

.kcc-general-inquiry-box .kcc-form-card-inner {
    border-top: 4px solid #0f3d8a;
}

.kcc-form-badge {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #ebf8ff;
    color: #0f3d8a;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 12px;
}

.kcc-form-badge.pv-badge {
    background: #fed7d7;
    color: #9b2c2c;
}

.kcc-form-card-inner h3 {
    margin: 0 0 8px 0;
    font-size: 1.45rem;
    font-weight: 700;
    color: #1a202c !important;
}

.kcc-form-desc {
    font-size: 0.92rem;
    color: #4a5568;
    line-height: 1.5;
    margin-bottom: 20px;
}

.kcc-pv-urgent-callout {
    background: #fff5f5;
    border: 1px solid #feb2b2;
    color: #c53030;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
}

.kcc-ajax-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex-grow: 1;
}

.kcc-input-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.kcc-form-row-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

@media (max-width: 500px) {
    .kcc-form-row-2 {
        grid-template-columns: 1fr;
    }
}

.kcc-input-group label {
    font-size: 0.88rem;
    font-weight: 600;
    color: #2d3748;
}

.kcc-input-group label .req {
    color: #e53e3e;
}

.kcc-text-input,
.kcc-textarea,
select.kcc-text-input {
    width: 100% !important;
    padding: 10px 14px !important;
    border: 1px solid #cbd5e0 !important;
    border-radius: 8px !important;
    font-size: 0.95rem !important;
    color: #1a202c !important;
    background: #ffffff !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
    box-sizing: border-box !important;
}

select.kcc-text-input {
    cursor: pointer;
    background-color: #ffffff;
}

.kcc-file-upload-wrap {
    background: #f8fafc;
    border: 1px dashed #cbd5e0;
    border-radius: 8px;
    padding: 10px 14px;
    box-sizing: border-box;
}

.kcc-file-input {
    width: 100%;
    font-size: 0.88rem;
    color: #4a5568;
    cursor: pointer;
}

.kcc-file-help {
    display: block;
    font-size: 0.78rem;
    color: #718096;
    margin-top: 4px;
}

.kcc-text-input:focus,
.kcc-textarea:focus,
select.kcc-text-input:focus {
    border-color: #43b0ff !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(67, 176, 255, 0.25) !important;
}

.kcc-submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 24px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    margin-top: 8px;
    transition: all 0.25s ease;
}

.kcc-btn-blue {
    background: linear-gradient(135deg, #0f3d8a 0%, #1e5bb8 100%);
    color: #ffffff !important;
    box-shadow: 0 6px 16px rgba(15, 61, 138, 0.25);
}

.kcc-btn-blue:hover {
    background: linear-gradient(135deg, #0a295c 0%, #0f3d8a 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(15, 61, 138, 0.35);
}

.kcc-btn-red {
    background: linear-gradient(135deg, #c53030 0%, #e53e3e 100%);
    color: #ffffff !important;
    box-shadow: 0 6px 16px rgba(229, 62, 62, 0.25);
}

.kcc-btn-red:hover {
    background: linear-gradient(135deg, #9b2c2c 0%, #c53030 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(229, 62, 62, 0.35);
}

.kcc-submit-btn:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none !important;
}

.kcc-form-alert {
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 0.9rem;
    line-height: 1.4;
    font-weight: 600;
}

.kcc-form-alert.success {
    background: #c6f6d5;
    border: 1px solid #9ae6b4;
    color: #22543d;
}

.kcc-form-alert.error {
    background: #fed7d7;
    border: 1px solid #feb2b2;
    color: #742a2a;
}

/* --------------------------------------------------------------------------
   15. Global Page Content Centralization & Symmetry (About, Services, Products, Leadership)
   -------------------------------------------------------------------------- */
body.page .site-content,
body.page .blog-section,
body.page .post-section {
    width: 100% !important;
}

body.page .site-content .container,
body.page .blog-section .container,
body.page .post-section .container {
    max-width: 1200px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
}

/* Eliminate empty sidebar offsets on standard pages */
body.page .blog-section .col-lg-8:only-child,
body.page .blog-section .col-lg-12,
body.page .post-section .col-12,
body.page .post-section .col-lg-12 {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    margin: 0 auto !important;
}

/* Center Section Headers, Titles, and Subtitles */
body.page .page-title-section,
body.page .section-title,
body.page .section-header,
body.page .entry-header,
body.page .page-header,
body.page .wp-block-heading,
body.page h1.entry-title,
body.page h2.entry-title {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Center Lead / Introductory Paragraphs with Optimal Reading Width */
body.page .entry-content > p,
body.page .post-section p.has-text-align-center,
body.page .post-section > .container > .row > div > p,
body.page .section-title p,
body.page .section-header p {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    max-width: 860px !important;
    font-size: 1.05rem !important;
    line-height: 1.7 !important;
    color: #4a5568 !important;
}

/* Center Layout Rows & Card Grids (Services, About, Leadership, Products) */
.service-section .row,
.about-section .row,
.team-section .row,
.features-wrapper,
.service-wrapper,
.kcc-products-container,
.kcc-team-container,
.kcc-vmc-grid {
    display: flex !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Preserve Natural Dimensions & Centering for Images (No Forced Zoom/Stretch) */
body.page .entry-content img,
body.page .post-section img,
body.page .blog-section img,
.service-box img,
.about-section img {
    max-width: 100% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    margin-left: auto !important;
    margin-right: auto !important;
    display: block !important;
}

/* --------------------------------------------------------------------------
   16. Clickable Article Cards & Uniform Card Grid
   -------------------------------------------------------------------------- */
.blog-section .post-item,
.blog-section article.post-item,
article.post-item-inner {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    background: #ffffff !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06) !important;
    cursor: pointer !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease !important;
}

.blog-section .post-item:hover,
.blog-section article.post-item:hover,
article.post-item-inner:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12) !important;
}

.blog-section .post-item a,
.blog-section article.post-item a {
    cursor: pointer;
}

.blog-section .post-item .post-content {
    display: flex !important;
    flex-direction: column !important;
    flex-grow: 1 !important;
    padding: 20px !important;
}

.blog-section .post-item .post-content p {
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    font-size: 0.92rem !important;
    line-height: 1.6 !important;
    color: #4a5568 !important;
    margin-bottom: 12px !important;
    max-height: 4.8em !important;
}

.blog-section .post-item .post-image {
    height: 220px !important;
    max-height: 220px !important;
    overflow: hidden !important;
    margin: 0 !important;
}

.blog-section .post-item .post-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

/* Suppress default static theme slider in favor of KCC Site Manager Hero Slider */
#main-slider {
    display: none !important;
}

/* --------------------------------------------------------------------------
   HOMEPAGE VIDEO SHOWCASE SECTION
   -------------------------------------------------------------------------- */
.kcc-video-section {
    padding: 70px 0 80px;
    background: linear-gradient(180deg, #ffffff 0%, #f4f8fb 100%);
    position: relative;
    overflow: hidden;
}

.kcc-video-section .section-title {
    margin-bottom: 40px;
}

.kcc-video-lead-text {
    max-width: 680px;
    margin: 14px auto 0;
    color: #4a5568;
    font-size: 1.05rem;
    line-height: 1.65;
}

.kcc-video-frame-wrapper {
    max-width: 1040px;
    margin: 0 auto;
    position: relative;
    padding: 12px;
    background: linear-gradient(135deg, rgba(15, 61, 138, 0.12) 0%, rgba(67, 176, 255, 0.2) 100%);
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(10, 37, 47, 0.12), 0 4px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(67, 176, 255, 0.3);
}

.kcc-video-frame-inner {
    position: relative;
    width: 100%;
    border-radius: 18px;
    overflow: hidden;
    background: #0a252f;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.kcc-native-player-box {
    width: 100%;
    position: relative;
    aspect-ratio: 16 / 9;
    background: #0a252f;
    display: flex;
    align-items: center;
    justify-content: center;
}

.kcc-natural-video {
    width: 100%;
    height: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
    border-radius: 18px;
}

.kcc-responsive-embed {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: 18px;
}

.kcc-responsive-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.kcc-video-placeholder {
    padding: 80px 20px;
    text-align: center;
    background: #0a252f;
    color: #cbd5e0;
}

@media (max-width: 768px) {
    .kcc-video-section {
        padding: 50px 0 60px;
    }
    .kcc-video-frame-wrapper {
        padding: 6px;
        border-radius: 16px;
    }
    .kcc-video-frame-inner,
    .kcc-natural-video,
    .kcc-responsive-embed {
        border-radius: 12px;
    }
}







