/* Values & School Culture Page - Modern & Colorful Design */
/* Primary Color: #26c976 (Green) */
/* Secondary Color: #FFD700 (Yellow) */

.values-section {
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.values-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* Common Block Styles */
.values-block {
    margin-bottom: 80px;
}

/* Values Header */
.values-header {
    text-align: center;
    margin-bottom: 50px;
}

.values-header h2 {
    font-size: 2.8rem;
    font-weight: 800;
    color: #333333;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.header-icon-large {
    width: 100px;
    height: 100px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, #26c976, #1fb566);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: white;
    box-shadow: 0 15px 40px rgba(38, 201, 118, 0.3);
    transition: all 0.4s ease;
}

.header-icon-large.yellow {
    background: linear-gradient(135deg, #FFD700, #FFC700);
    box-shadow: 0 15px 40px rgba(255, 215, 0, 0.3);
}

.header-icon-large:hover {
    transform: scale(1.1) rotate(10deg);
}

.header-subtitle {
    font-size: 1.2rem;
    color: #666666;
    font-weight: 400;
    max-width: 800px;
    margin: 0 auto;
}

/* ==================== Core Values Section ==================== */
.core-values-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 25px;
}

.value-badge {
    background: linear-gradient(135deg, #26c976, #1fb566);
    color: white;
    padding: 12px 28px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    box-shadow: 0 8px 20px rgba(38, 201, 118, 0.3);
    transition: all 0.3s ease;
    display: inline-block;
}

.value-badge:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(38, 201, 118, 0.4);
    background: linear-gradient(135deg, #1fb566, #26c976);
}

.values-intro {
    text-align: center;
    margin: 40px 0;
}

.values-intro p {
    font-size: 1.3rem;
    color: #333333;
    font-weight: 500;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.value-card {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    border: 3px solid transparent;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #26c976, #1fb566);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.value-card:hover::before {
    transform: scaleX(1);
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(38, 201, 118, 0.2);
    border-color: #26c976;
}

.value-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: #26c976;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: white;
    transition: all 0.4s ease;
    box-shadow: 0 8px 20px rgba(38, 201, 118, 0.3);
}

.value-card:hover .value-icon {
    transform: rotateY(360deg) scale(1.1);
    background: white;
    color: #26c976;
}

.value-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #333333;
    margin-bottom: 15px;
}

.value-card p {
    font-size: 15px;
    color: #666666;
    line-height: 1.7;
    margin: 0;
}

/* ==================== Holistic Education Section ==================== */
.holistic-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
    max-width: 900px;
    margin: 0 auto;
}

.holistic-item {
    background: white;
    border-radius: 20px;
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.holistic-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #26c976, #1fb566);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.holistic-item:hover::after {
    transform: scaleX(1);
}

.holistic-item:hover {
    transform: translateX(10px);
    box-shadow: 0 15px 40px rgba(38, 201, 118, 0.2);
}

.item-number {
    font-size: 3rem;
    font-weight: 800;
    color: #26c976;
    line-height: 1;
    min-width: 80px;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.item-content {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
}

.item-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #26c976, #1fb566);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: white;
    flex-shrink: 0;
    transition: all 0.4s ease;
    box-shadow: 0 8px 20px rgba(38, 201, 118, 0.3);
}

.holistic-item:hover .item-icon {
    transform: rotate(10deg) scale(1.1);
}

.item-content h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #333333;
    margin: 0;
}

/* ==================== Rules & Regulations Section ==================== */
.rules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.rule-card {
    background: linear-gradient(135deg, #FFD700, #FFC700);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.rule-card::before {
    content: '';
    position: absolute;
    width: 150px;
    height: 150px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    top: -50px;
    right: -50px;
}

.rule-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 50px rgba(255, 215, 0, 0.4);
}

.rule-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: #FFD700;
    transition: all 0.4s ease;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
}

.rule-card:hover .rule-icon {
    transform: rotateY(360deg) scale(1.15);
    background: #26c976;
    color: white;
}

.rule-card h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: white;
    margin: 0;
    position: relative;
    z-index: 1;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}

/* Decorative Background Elements */
.values-section::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, rgba(38, 201, 118, 0.05), rgba(31, 181, 102, 0.05));
    border-radius: 50%;
    top: 10%;
    right: -150px;
    z-index: 0;
}

.values-section::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.05), rgba(255, 199, 0, 0.05));
    border-radius: 50%;
    bottom: 15%;
    left: -100px;
    z-index: 0;
}

/* ==================== Responsive Design ==================== */
@media (max-width: 1024px) {

    .values-grid,
    .rules-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .values-section {
        padding: 60px 0;
    }

    .values-block {
        margin-bottom: 60px;
    }

    .values-header h2 {
        font-size: 2rem;
    }

    .header-icon-large {
        width: 80px;
        height: 80px;
        font-size: 38px;
    }

    .header-subtitle {
        font-size: 1rem;
    }

    .core-values-badges {
        gap: 10px;
    }

    .value-badge {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .values-intro p {
        font-size: 1.1rem;
    }

    .values-grid,
    .rules-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .value-card,
    .rule-card {
        padding: 35px 25px;
    }

    .value-icon,
    .rule-icon {
        width: 70px;
        height: 70px;
        font-size: 30px;
    }

    .value-card h3,
    .rule-card h4 {
        font-size: 1.2rem;
    }

    .holistic-item {
        padding: 25px 20px;
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .item-number {
        font-size: 2.5rem;
        min-width: auto;
    }

    .item-content {
        flex-direction: column;
        gap: 15px;
    }

    .item-icon {
        width: 55px;
        height: 55px;
        font-size: 24px;
    }

    .item-content h4 {
        font-size: 1.15rem;
    }
}

@media (max-width: 480px) {
    .values-container {
        padding: 0 15px;
    }

    .values-header h2 {
        font-size: 1.6rem;
    }

    .value-card,
    .rule-card {
        padding: 30px 20px;
    }

    .core-values-badges {
        flex-direction: column;
        align-items: center;
    }

    .value-badge {
        width: 100%;
        max-width: 250px;
        text-align: center;
    }
}

/* Animation Classes */
.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
}

.fade-in-scale {
    opacity: 0;
    transform: scale(0.9);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-40px);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(40px);
}