﻿/* ========================================
   CORE VALUES PAGE STYLES
   Using Navy Blue (#1a2044) and Coral (#c98b7a)
   ======================================== */

:root {
    --navy-blue: #1a2044;
    --coral: #c98b7a;
    --white: #ffffff;
    --light-bg: #f8f9fa;
    --text-color: #4a4a4a;
}

/* Hero Section */
.core-values-hero {
    position: relative;
    background: linear-gradient(135deg, var(--navy-blue) 0%, rgba(26, 32, 68, 0.9) 100%), url('/images/core-values/core-values-hero.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 150px 20px 100px;
    text-align: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 32, 68, 0.1);
    z-index: 1;
}

.core-values-hero .container {
    position: relative;
    z-index: 2;
}

.core-values-hero .hero-title {
    color: var(--white);
    font-size: 3.5rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 20px;
    letter-spacing: 3px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.core-values-hero .hero-subtitle {
    color: var(--coral);
    font-size: 1.4rem;
    font-weight: 400;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Core Values Content Section */
.core-values-content {
    padding: 80px 20px;
    background: var(--light-bg);
}

/* Value Detail Cards */
.value-detail-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

    .value-detail-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 20px 60px rgba(26, 32, 68, 0.2);
    }

/* Card Image */
.card-image-wrapper {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.value-detail-card:hover .card-image {
    transform: scale(1.1);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 0%, rgba(26, 32, 68, 0.7) 100%);
}

/* Card Content */
.card-content {
    padding: 40px 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.value-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--coral), #d4a294);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: -60px auto 25px;
    box-shadow: 0 10px 30px rgba(201, 139, 122, 0.4);
    position: relative;
    z-index: 2;
}

    .value-icon i {
        font-size: 2.2rem;
        color: var(--white);
    }

.value-title {
    color: var(--navy-blue);
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.value-divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--coral), var(--navy-blue));
    margin: 0 auto 25px;
    border-radius: 2px;
}

.value-description {
    color: var(--text-color);
    font-size: 1.05rem;
    line-height: 1.8;
    text-align: justify;
    flex: 1;
}

/* ========================================
   RESPONSIVE STYLES
   ======================================== */

@media (max-width: 992px) {
    .core-values-hero .hero-title {
        font-size: 2.8rem;
    }

    .core-values-hero .hero-subtitle {
        font-size: 1.2rem;
    }

    .card-image-wrapper {
        height: 220px;
    }

    .value-title {
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    .core-values-hero {
        padding: 120px 20px 80px;
    }

        .core-values-hero .hero-title {
            font-size: 2.2rem;
            letter-spacing: 2px;
        }

        .core-values-hero .hero-subtitle {
            font-size: 1.1rem;
        }

    .core-values-content {
        padding: 60px 15px;
    }

    .card-content {
        padding: 35px 25px;
    }

    .value-icon {
        width: 70px;
        height: 70px;
        margin: -50px auto 20px;
    }

        .value-icon i {
            font-size: 2rem;
        }

    .value-title {
        font-size: 1.2rem;
    }

    .value-description {
        font-size: 1rem;
    }
}

@media (max-width: 544px) {
    .core-values-hero .hero-title {
        font-size: 1.8rem;
    }

    .card-image-wrapper {
        height: 200px;
    }

    .value-detail-card {
        margin-bottom: 30px;
    }
}
