/* Feature Cards Section */    
.features-container {
    padding: 40px 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.feature-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    background: white;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-header {
    padding: 25px;
    color: white;
    font-size: 22px;
    font-weight: 600;
}

.feature-content {
    padding: 25px;
}

.feature-content ul {
    padding-left: 20px;
    margin: 15px 0;
}

.feature-content li {
    margin-bottom: 12px;
    line-height: 1.6;
}

/* Color Themes */
/* Color Themes → Image Backgrounds */
.card-red {
    border-top: 6px solid #e74c3c; /* Matches red gradient */
    background: url('/images/pictures/Progress.png') center/cover;
}

.card-gold {
    border-top: 6px solid #f39c12; /* Matches gold gradient */
    background: url('/images/pictures/exam.jpg') center/cover;
}

.card-blue {
    border-top: 6px solid #3498db; /* Matches blue gradient */
    background: url('/images/pictures/teacherWithStudents.jpg') center/cover;
}

.card-purple {
    border-top: 6px solid #9b59b6; /* Matches purple gradient */
    background: url('/images/pictures/2017SummerCampStudents.jpg') center/cover;
}

.card-darkred {
    border-top: 6px solid #c0392b; /* Matches dark red gradient */
    background: url('/images/pictures/SitanChen40000winner-1.jpg') center/cover;
}

.card-darkgreen {
    border-top: 6px solid #27ae60; /* Matches dark green gradient */
    background: url('/images/pictures/graduation.jpg') center/cover;
}

/* Add overlay (optional) */
.feature-header {
    position: relative;
    height:150px;
    display: flex;          /* Enables flexbox */
align-items: center;    /* Centers vertically */
justify-content: center; /* Centers horizontally */        
}

.feature-header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 0;
}

.feature-header > * {
    position: relative;
    z-index: 1;
}    
/*
.card-red {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
}

.card-gold {
    background: linear-gradient(135deg, #f39c12, #e67e22);
}

.card-blue {
    background: linear-gradient(135deg, #3498db, #2980b9);
}

.card-purple {
    background: linear-gradient(135deg, #9b59b6, #8e44ad);
}

.card-darkred {
    background: linear-gradient(135deg, #c0392b, #a5281b);
}

.card-darkgreen {
    background: linear-gradient(135deg, #27ae60, #219653);
}
*/
/* Results Section */
.results-toggle {
    color: #3498db;
    cursor: pointer;
    font-weight: 600;
    display: inline-block;
    margin: 10px 0;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-card {
        max-width: 100%;
    }
}
   .image-background {
        background-image: url("/images/pictures/2017SummerCampStudents.jpg");
        background-size: cover;       /* Ensures the image covers the entire div */
    background-position: center;  /* Centers the image */
    background-repeat: no-repeat; /* Prevents repeating */
    height: 300px;               /* Set a fixed height or use padding */
    width: 100%;                 /* Adjust width as needed */
    color: white;                /* Text color (adjust for contrast) */
    padding: 20px;              /* Adds space inside the div */
}    
