/* ==========================================================
   CLENA — About Awards Section Styles (Premium Carousel)
   File: assets/css/about/about-awards.css
   ========================================================== */

.about-awards-section {
    position: relative;
    background: #ffffff; /* Very subtle blue-tinted light background */
    padding: 100px 0;
    overflow: hidden;
    z-index: 10;
}

/* ── Header Wrapper (Centered Title & Nav Below) ─────── */
.about-awards-header-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 48px;
    gap: 24px;
}

.about-awards-header {
    text-align: center;
    max-width: 680px;
}

.about-awards-tagline {
    display: inline-block;
    font-size: 12px;
    font-weight: 800;
    color: var(--secondary, var(--secondary));
    letter-spacing: 0.15em;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.about-awards-heading {
    font-family: 'Montserrat', sans-serif;
    font-size: 40px;
    font-weight: 800;
    line-height: 1.25;
    color: var(--primary, var(--primary));
    margin: 0 0 16px 0;
    letter-spacing: -0.02em;
}

.about-awards-heading span.gradient-text {
    background: linear-gradient(135deg, var(--primary, var(--primary)) 30%, var(--secondary, var(--secondary)) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-awards-subtitle {
    font-size: 15px;
    line-height: 1.75;
    color: var(--text-secondary, #666666);
    margin: 0;
}

/* ── Navigation Buttons ────────────────────────────── */
.about-awards-nav {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.awards-nav-btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.12);
    background: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    flex-shrink: 0;
    outline: none;
}

.awards-nav-btn svg {
    width: 26px !important;
    height: 26px !important;
    min-width: 26px;
    min-height: 26px;
    display: block !important;
    flex-shrink: 0;
}

.awards-nav-btn svg path {
    stroke: #233e8e !important;
    stroke-width: 3px !important;
    fill: none !important;
    transition: stroke 0.3s ease;
}

.awards-nav-btn:hover,
.awards-nav-btn:focus,
.awards-nav-btn:active {
    background: #233e8e !important;
    border-color: #233e8e !important;
    box-shadow: 0 6px 18px rgba(35, 62, 142, 0.35) !important;
    transform: translateY(-2px);
}

.awards-nav-btn:hover svg path,
.awards-nav-btn:focus svg path,
.awards-nav-btn:active svg path {
    stroke: #ffffff !important;
}

.awards-nav-btn.prev:hover svg {
    transform: translateX(-2px);
}

.awards-nav-btn.next:hover svg {
    transform: translateX(2px);
}

.awards-nav-btn.disabled {
    opacity: 0.4;
    pointer-events: none;
    background: #f1f3f7;
    border-color: transparent;
    box-shadow: none;
}

/* ── Carousel Wrapper & Track ────────────────────────── */
.about-awards-container {
    width: 100%;
    box-sizing: border-box;
}

.awards-carousel-wrapper {
    position: relative;
    width: 100%;
    overflow: visible; /* Allows shadows to display correctly */
}

.awards-carousel-track {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 12px 4px 24px 4px;
    scrollbar-width: none; /* Firefox */
    cursor: grab;
}

.awards-carousel-track::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.awards-carousel-track.active-dragging {
    cursor: grabbing;
    scroll-behavior: auto !important;
}

/* ── Award Card Design (Premium Showcase) ─────────────── */
.awards-carousel-card {
    flex: 0 0 280px;
    scroll-snap-align: start;
    box-sizing: border-box;
}

.awards-carousel-card-inner {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 16px;
    padding: 14px;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.03);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.awards-carousel-card:hover .awards-carousel-card-inner {
    transform: translateY(-8px);
    border-color: rgba(0, 0, 0, 0.12);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.08);
}

/* Image Wrapper with Aspect Ratio & Gallery Frame style (never cropped) */
.awards-card-img-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 10px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.04);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    box-sizing: border-box;
    backface-visibility: hidden;
    transform: translate3d(0,0,0);
}

.awards-card-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.awards-carousel-card:hover .awards-card-img {
    transform: scale(1.04);
}

/* Card Text Details */
.awards-card-info {
    display: flex;
    flex-direction: column;
    padding: 2px 4px 4px;
    text-align: center;
    word-break: break-word;
    overflow-wrap: anywhere;
}

.awards-card-tag {
    font-size: 10px;
    font-weight: 800;
    color: var(--secondary, var(--secondary));
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.awards-card-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
    color: var(--primary, var(--primary));
    margin: 0;
}

/* ==========================================================
   RESPONSIVE BREAKPOINTS
   ========================================================== */

@media (max-width: 1024px) {
    .about-awards-heading {
        font-size: 34px;
    }
    
    .awards-carousel-card {
        flex: 0 0 250px;
    }
}

@media (max-width: 768px) {
    .about-awards-section {
        padding: 80px 0;
    }

    .about-awards-header-wrap {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        margin-bottom: 32px;
    }

    .about-awards-nav {
        align-self: center;
    }

    .awards-nav-btn {
        width: 46px;
        height: 46px;
    }

    .awards-nav-btn svg {
        width: 22px !important;
        height: 22px !important;
        min-width: 22px;
        min-height: 22px;
    }

    .awards-carousel-card {
        flex: 0 0 220px;
    }
}

@media (max-width: 480px) {
    .about-awards-section {
        padding: 60px 0;
    }

    .about-awards-heading {
        font-size: 28px;
    }

    .about-awards-subtitle {
        font-size: 14px;
    }

    .about-awards-header-wrap {
        margin-bottom: 24px;
    }

    .awards-nav-btn {
        width: 44px;
        height: 44px;
    }
    
    .awards-nav-btn svg {
        width: 22px !important;
        height: 22px !important;
        min-width: 22px;
        min-height: 22px;
    }

    .awards-carousel-card {
        flex: 0 0 190px;
    }
    
    .awards-carousel-card-inner {
        padding: 10px;
    }
    
    .awards-card-info {
        padding: 2px 2px;
    }
}
