/* ============================================================
   Crevion Pharma — Theme System
   Change colours here to re-theme the entire site.
   ============================================================ */

:root {
    /* Primary palette — Magenta (Crevion Remidease logo) */
    --color-primary: #b91372;
    --color-primary-dark: #7a0d4d;
    --color-primary-light: #f5c8e0;
    --color-primary-muted: #fdf2f7;
    /* Neutral */
    --color-white: #ffffff;
    --color-text: #2a1a24;
    --color-text-muted: #6b5560;
    --color-border: #e2e8f0;
    /* Typography */
    --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-body: 'Open Sans', system-ui, -apple-system, sans-serif;
    /* Spacing & radius */
    --section-padding: 5rem 0;
    --card-radius: 0.75rem;
    --btn-radius: 2rem;
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(122, 13, 77, 0.08);
    --shadow-md: 0 4px 20px rgba(122, 13, 77, 0.14);
}

/* ---- Base ---- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    line-height: 1.7;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--color-primary-dark);
    font-weight: 700;
}

a {
    color: var(--color-primary);
    transition: color 0.2s;
}

    a:hover {
        color: var(--color-primary-dark);
    }

/* ---- Top brand bar ---- */
.top-brandbar {
    background: var(--color-white);
    color: var(--color-text);
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--color-border);
    box-shadow: none;
}

.brand-logo-link {
    display: inline-flex;
    flex-shrink: 0;
}

.brand-logo {
    height: 72px;
    width: auto;
    object-fit: contain;
}

.company-identity {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.top-brandbar .company-name {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--color-text);
    letter-spacing: 0.03em;
}

.top-brandbar .company-tagline {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    font-style: italic;
}

.top-brandbar .feature-points {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    gap: 0;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-text-muted);
}

    .top-brandbar .feature-points span {
        display: inline-flex;
        align-items: center;
        gap: 0.35rem;
        padding: 0 0.75rem;
        border-right: 1px solid var(--color-border);
    }

        .top-brandbar .feature-points span:last-child {
            border-right: none;
            padding-right: 0;
        }

        .top-brandbar .feature-points span:first-child {
            padding-left: 0;
        }

    .top-brandbar .feature-points i {
        color: var(--color-primary);
        font-size: 0.75rem;
    }

@media (max-width: 575px) {
    .brand-logo {
        height: 56px;
    }

    .top-brandbar .company-name {
        font-size: 1.15rem;
    }

    .top-brandbar .company-tagline {
        font-size: 0.75rem;
    }

    .top-brandbar .feature-points {
        justify-content: flex-start;
        margin-top: 0.5rem;
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.35rem;
    }

        .top-brandbar .feature-points span {
            border-right: none;
            padding: 0;
        }
}

/* ---- Navbar ---- */
.navbar-brand img {
    height: 44px;
    width: auto;
    object-fit: contain;
}

.navbar-brand .brand-text {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--color-primary-dark);
    letter-spacing: 0.02em;
}

.navbar {
    background: linear-gradient(90deg, var(--color-primary-dark) 0%, var(--color-primary) 100%) !important;
    box-shadow: 0 4px 14px rgba(122, 13, 77, 0.18);
    padding: 0.6rem 0;
}

    .navbar .nav-link {
        color: rgba(255, 255, 255, 0.92) !important;
        font-weight: 500;
        padding: 0.5rem 1rem !important;
        border-radius: var(--btn-radius);
        transition: background 0.2s, color 0.2s;
    }

        .navbar .nav-link:hover,
        .navbar .nav-link.active {
            color: var(--color-white) !important;
            background: rgba(255, 255, 255, 0.18);
        }

        .navbar .nav-link.active {
            box-shadow: none;
        }

    .navbar .navbar-toggler {
        border-color: rgba(255, 255, 255, 0.35);
    }

    .navbar .navbar-toggler-icon {
        filter: invert(1);
    }

/* ---- Hero Slider ---- */
.hero-slider .carousel-item {
    height: 520px;
    background-color: var(--color-primary-dark);
}

    .hero-slider .carousel-item img {
        object-fit: fill;
        height: 100%;
        width: 100%;
        opacity: 0.58;
    }

.hero-slider .carousel-caption {
    bottom: auto;
    top: 50%;
    transform: translateY(-50%);
    text-align: left;
    left: 8%;
    right: 8%;
    padding: 0;
}

    .hero-slider .carousel-caption h1 {
        font-size: clamp(1.8rem, 4vw, 3rem);
        color: var(--color-white);
        text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
        margin-bottom: 1rem;
        margin-left: 2rem;
    }

    .hero-slider .carousel-caption p {
        font-size: clamp(1rem, 2vw, 1.25rem);
        color: rgba(255, 255, 255, 0.92);
        max-width: 600px;
        margin-left: 2rem;
    }

.hero-slider .carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid var(--color-white);
    background: transparent;
}

.hero-slider .carousel-indicators .active {
    background: var(--color-white);
}

@media (max-width: 768px) {
    .hero-slider .carousel-item {
        height: 350px;
        object-fit: fill !important;
    }
}

/* ---- Section utilities ---- */
.section {
    padding: var(--section-padding);
}

.section-alt {
    background: var(--color-primary-muted);
}

.section-title {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    margin-bottom: 0.5rem;
    position: relative;
    display: inline-block;
}

    .section-title::after {
        content: '';
        display: block;
        width: 60px;
        height: 4px;
        background: var(--color-primary);
        margin-top: 0.5rem;
        border-radius: 2px;
    }

.section-subtitle {
    color: var(--color-text-muted);
    font-size: 1.05rem;
    margin-bottom: 2.5rem;
}

/* ---- Why Us cards ---- */
.why-card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--card-radius);
    padding: 2rem 1.5rem;
    height: 100%;
    transition: box-shadow 0.3s, transform 0.3s;
}

    .why-card:hover {
        box-shadow: var(--shadow-md);
        transform: translateY(-4px);
    }

    .why-card .icon-wrap {
        width: 56px;
        height: 56px;
        background: var(--color-primary-light);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 1.25rem;
        font-size: 1.4rem;
        color: var(--color-primary);
    }

    .why-card h4 {
        font-size: 1.15rem;
        margin-bottom: 0.75rem;
    }

/* ---- Content blocks (Purpose, Values, etc.) ---- */
.content-block {
    background: var(--color-white);
    border-left: 4px solid var(--color-primary);
    padding: 1.75rem 2rem;
    border-radius: 0 var(--card-radius) var(--card-radius) 0;
    box-shadow: var(--shadow-sm);
    margin-bottom: 1.5rem;
}

    .content-block h3 {
        font-size: 1.25rem;
        margin-bottom: 0.75rem;
    }

/* ---- Product slider (home) ---- */
.product-slider-wrap {
    position: relative;
    overflow: hidden;
}

.product-slider-track {
    display: flex;
    transition: transform 0.45s ease;
    gap: 1.5rem;
}

.product-slider-track .product-slide-card {
    flex: 0 0 calc(25% - 1.125rem);
    min-width: 220px;
}

.product-card,
.product-slide-card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--card-radius);
    overflow: hidden;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.3s;
}

    .product-card:hover,
    .product-slide-card:hover {
        box-shadow: var(--shadow-md);
    }

    .product-card img,
    .product-slide-card img {
        width: 100%;
        height: 180px;
        object-fit: fill;
    }

    .product-card .card-body,
    .product-slide-card .card-body {
        padding: 1rem;
    }

    .product-card h5,
    .product-slide-card h5 {
        font-size: 1rem;
        margin: 0;
        color: var(--color-primary-dark);
    }

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: var(--color-primary);
    color: var(--color-white);
    font-size: 1.1rem;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: background 0.2s;
}

    .slider-btn:hover {
        background: var(--color-primary-dark);
    }

    .slider-btn.prev {
        left: -8px;
    }

    .slider-btn.next {
        right: -8px;
    }

@media (max-width: 991px) {
    .product-slider-track .product-slide-card {
        flex: 0 0 calc(50% - 0.75rem);
    }
}

@media (max-width: 575px) {
    .product-slider-track .product-slide-card {
        flex: 0 0 calc(100% - 0rem);
    }
}

/* ---- Buttons ---- */
.btn-primary {
    background: var(--color-primary);
    border-color: var(--color-primary);
    border-radius: var(--btn-radius);
    font-weight: 600;
    padding: 0.6rem 1.5rem;
}

    .btn-primary:hover,
    .btn-primary:focus {
        background: var(--color-primary-dark);
        border-color: var(--color-primary-dark);
    }

.btn-outline-primary {
    color: var(--color-primary);
    border-color: var(--color-primary);
    border-radius: var(--btn-radius);
    font-weight: 600;
}

    .btn-outline-primary:hover {
        background: var(--color-primary);
        border-color: var(--color-primary);
    }

/* ---- Footer ---- */
.site-footer {
    background: var(--color-primary-dark);
    color: rgba(255, 255, 255, 0.85);
    padding: 3rem 0 1.5rem;
}

    .site-footer h5 {
        color: var(--color-white);
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }

    .site-footer a {
        color: rgba(255, 255, 255, 0.75);
        text-decoration: none;
    }

        .site-footer a:hover {
            color: var(--color-white);
        }

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: var(--color-white);
    font-size: 1.1rem;
    margin-right: 0.5rem;
    transition: background 0.2s, transform 0.2s;
}

    .social-icons a:hover {
        background: var(--color-primary);
        transform: translateY(-2px);
        color: var(--color-white);
    }

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    margin-top: 2rem;
    padding-top: 1.25rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

/* ---- Page header banner ---- */
.page-banner {
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
    color: var(--color-white);
    padding: 1.5rem 0;
    text-align: center;
}

    .page-banner h1 {
        color: var(--color-white);
        font-size: clamp(1.8rem, 4vw, 2.5rem);
        margin-bottom: 0.5rem;
    }

    .page-banner p {
        color: rgba(255, 255, 255, 0.85);
        margin: 0;
    }

/* ---- Products page ---- */
.product-body {
    padding: 0.2rem 0 1rem;
}

.product-detail-img {
    width: 100%;
    height: auto;
    max-height: 380px;
    object-fit: contain;
    border-radius: var(--card-radius);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
    background-color: var(--color-white);
    padding: 0.75rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .product-detail-img:hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow-md);
    }

.product-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 1.25rem 0;
}

    .product-meta .badge-custom {
        background: var(--color-primary-light);
        color: var(--color-primary-dark);
        font-weight: 600;
        padding: 0.45rem 1rem;
        border-radius: 2rem;
        font-size: 0.85rem;
    }

.product-section-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-primary);
    font-weight: 700;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.product-video-wrap {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: var(--card-radius);
    background: var(--color-primary-dark);
}

    .product-video-wrap iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border: 0;
    }

.brochure-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* ---- Career page ---- */
.career-image {
    border-radius: var(--card-radius);
    width: 100%;
    height: 360px;
    object-fit: cover;
    box-shadow: var(--shadow-md);
}

.career-form-card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--card-radius);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
}

/* ---- Contact page ---- */
.contact-info-card {
    background: var(--color-primary-muted);
    border-radius: var(--card-radius);
    padding: 2rem;
    height: 100%;
}

    .contact-info-card .info-item {
        display: flex;
        gap: 1rem;
        margin-bottom: 1.5rem;
    }

        .contact-info-card .info-item i {
            font-size: 1.3rem;
            color: var(--color-primary);
            margin-top: 0.2rem;
            flex-shrink: 0;
        }

.contact-form-card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--card-radius);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
}

/* ---- Associates / DataTable ---- */
.table-card {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
}

table.dataTable thead th {
    background: var(--color-primary);
    color: var(--color-white) !important;
    font-weight: 600;
    border: none !important;
}

table.dataTable tbody tr:hover {
    background: var(--color-primary-muted) !important;
}

.dataTables_wrapper .dataTables_filter input {
    border: 1px solid var(--color-border);
    border-radius: var(--btn-radius);
    padding: 0.4rem 0.75rem;
}

.dataTables_wrapper .dataTables_length select {
    border: 1px solid var(--color-border);
    border-radius: var(--btn-radius);
    padding: 0.3rem 0.5rem;
}

/* ---- Forms ---- */
.form-control,
.form-select {
    border-color: var(--color-border);
    border-radius: var(--btn-radius);
}

    .form-control:focus,
    .form-select:focus {
        border-color: var(--color-primary);
        box-shadow: 0 0 0 0.2rem rgba(185, 19, 114, 0.2);
    }

.form-label {
    font-weight: 600;
    color: var(--color-primary-dark);
    font-size: 0.9rem;
}

/* ---- Scroll to top ---- */
#scrollTop {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--color-primary);
    color: var(--color-white);
    border: none;
    font-size: 1.1rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    z-index: 999;
    box-shadow: var(--shadow-md);
}

    #scrollTop.visible {
        opacity: 1;
        visibility: visible;
    }

    #scrollTop:hover {
        background: var(--color-primary-dark);
    }

/* ============================================================
   Copied Pages Theming Styles (Gallery, Events, Updates, etc.)
   ============================================================ */

/* Gallery Page Layout */
.gallery-page {
    background-color: var(--color-white);
}

.gallery-page-title {
    font-size: 2.2rem;
    color: var(--color-primary-dark);
    font-weight: 700;
}

.gallery-page-subtitle {
    color: var(--color-text-muted);
    font-size: 1.05rem;
}

/* Category panel */
.gallery-category-panel {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--card-radius);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.gallery-panel-title {
    font-size: 1.25rem;
    color: var(--color-primary-dark);
    margin-bottom: 1.25rem;
    font-weight: 700;
    border-bottom: 2px solid var(--color-primary-light);
    padding-bottom: 0.5rem;
}

.gallery-category-panel .list-group-item {
    border: none;
    border-radius: 0.5rem;
    margin-bottom: 0.25rem;
    color: var(--color-text);
    font-weight: 500;
    transition: all 0.2s;
}

.gallery-category-panel .list-group-item:hover {
    background-color: var(--color-primary-muted);
    color: var(--color-primary-dark);
}

.gallery-category-panel .list-group-item.active {
    background-color: var(--color-primary);
    color: var(--color-white);
}

/* Gallery photo cards */
.gallery-photo-card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--card-radius);
    padding: 0.75rem;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.gallery-photo-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.gallery-photo-trigger {
    border: none;
    background: none;
    padding: 0;
    width: 100%;
    border-radius: 0.5rem;
    overflow: hidden;
    cursor: pointer;
    display: block;
}

.gallery-photo-img {
    width: 100%;
    height: 220px;
    object-fit: fill;
    border-radius: 0.5rem;
    transition: transform 0.4s ease;
    display: block;
}

.gallery-photo-trigger:hover .gallery-photo-img {
    transform: scale(1.04);
}

.gallery-photo-caption {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-primary-dark);
    margin: 0.75rem 0 0;
    text-align: center;
    line-height: 1.4;
}

/* Gallery Video Specifics */
.gallery-video-item .ratio {
    border-radius: 0.5rem;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

/* Gallery Modal */
.gallery-modal-content {
    border-radius: var(--card-radius);
    border: none;
    box-shadow: var(--shadow-md);
    background-color: var(--color-white);
}

.gallery-modal-image {
    border-radius: 0.5rem;
    width: 100%;
    height: auto;
    max-height: 70vh;
    object-fit: contain;
    background-color: #000;
}

.gallery-modal-caption {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-primary-dark);
    margin-top: 1rem;
}

.gallery-modal-description {
    font-size: 0.95rem;
    color: var(--color-text-muted);
}

/* Events & News Content Strip Listing */
.content-strip-section {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.content-strip {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--card-radius);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: row;
    gap: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.content-strip:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.content-strip-media {
    width: 280px;
    flex-shrink: 0;
    border-radius: 0.5rem;
    overflow: hidden;
}

.content-strip-media img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.content-strip-body {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: center;
}

.content-strip-title {
    font-size: 1.35rem;
    margin-bottom: 0.5rem;
}

.content-strip-title a {
    color: var(--color-primary-dark);
    text-decoration: none;
}

.content-strip-title a:hover {
    color: var(--color-primary);
}

.event-date-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: var(--color-primary-muted);
    color: var(--color-primary-dark);
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 2rem;
    font-size: 0.825rem;
    margin-bottom: 0.75rem;
    width: fit-content;
}

.event-date-chip i {
    color: var(--color-primary);
}

.event-date-sep {
    margin: 0 0.25rem;
}

.content-strip-text {
    color: var(--color-text-muted);
    font-size: 0.925rem;
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

.content-strip-link {
    font-weight: 600;
    color: var(--color-primary);
    text-decoration: none;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    width: fit-content;
}

.content-strip-link:hover {
    color: var(--color-primary-dark);
}

@media (max-width: 768px) {
    .content-strip {
        flex-direction: column;
    }
    .content-strip-media {
        width: 100%;
    }
    .content-strip-media img {
        height: 200px;
    }
}

/* Event/Update Details Page */
.event-detail-section {
    max-width: 900px;
    margin: 0 auto;
}

.event-detail-card {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
}

@media (min-width: 768px) {
    .event-detail-card {
        padding: 0;
    }
}

.section-tag {
    display: inline-block;
    background: var(--color-primary-muted);
    color: var(--color-primary-dark);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    padding: 0.3rem 0.85rem;
    border-radius: 2rem;
}

.event-meta-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin: 1.5rem 0;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    padding: 0.85rem 0;
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.event-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.event-meta-item i {
    color: var(--color-primary);
}

.event-meta-label {
    font-weight: 600;
    color: var(--color-primary-dark);
}

.event-image-wrap {
    margin: 1.5rem 0;
    border-radius: var(--card-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.event-hero-img {
    width: 100%;
    height: auto;
    max-height: 480px;
    object-fit: cover;
}

.page-content {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--color-text);
}

/* Feature card definitions */
.feature-card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--card-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.feature-card-link {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.feature-card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.feature-card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.feature-card-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-primary-dark);
    margin-bottom: 0.5rem;
}

.feature-card-text {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    line-height: 1.6;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.feature-card-btn {
    font-weight: 600;
    color: var(--color-primary);
    font-size: 0.875rem;
}

/* Team Card styling */
.team-card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--card-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.team-card-img {
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.team-card-body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    text-align: center;
}

.team-card-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-primary-dark);
    margin-bottom: 0.25rem;
}

.team-card-role {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}

.team-card-text {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    line-height: 1.5;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: auto;
}

.team-social a {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--color-primary-muted);
    color: var(--color-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    font-size: 0.9rem;
    text-decoration: none;
}

.team-social a:hover {
    background: var(--color-primary);
    color: var(--color-white);
}

/* Video Card styling */
.video-card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--card-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.video-card-frame {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    background: #000;
}

.video-card-frame iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.video-card-body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.video-card-title {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-primary-dark);
    margin-bottom: 0.5rem;
}

.video-card-text {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    line-height: 1.5;
}

/* Gallery Card styling */
.gallery-card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--card-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.gallery-card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.gallery-card-body {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    text-align: center;
}

.gallery-card-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-primary-dark);
    margin-bottom: 0.25rem;
}

.gallery-card-text {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

/* EventsUIGenerator Home Page slider styles */
.core-features-title {
    font-size: 2rem;
    color: var(--color-primary-dark);
    position: relative;
    display: inline-block;
}

.core-title-sep {
    color: var(--color-primary-light);
    margin: 0 0.5rem;
}

.card-slider {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    padding: 1rem 0.25rem;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
}

.card-slider .feature-card {
    flex: 0 0 280px;
    scroll-snap-align: start;
}

.event-card-date {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.event-card-link {
    color: var(--color-primary);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.875rem;
}

.event-card-link:hover {
    color: var(--color-primary-dark);
}

.section-view-all-wrap {
    text-align: center;
    margin-top: 2rem;
}

.section-view-all-btn {
    border-radius: var(--btn-radius);
    font-weight: 600;
}
