/* ===== SWEET & MODERN STYLING ===== */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    font-family: 'Poppins', sans-serif;
    color: #333;
    line-height: 1.7;
}

/* ===== PROGRAM CONTAINER (Animated Card) ===== */
.progr-container {
    background: linear-gradient(135deg, #ffffff 0%, #f9f9ff 100%);
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    padding: 3rem;
    margin-bottom: 3rem;
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.progr-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

/* ===== HEADING (Gradient Text + Animated Underline) ===== */
.progr-container h2 {
    color: transparent;
    background: linear-gradient(90deg, #6e45e2, #88d3ce);
    -webkit-background-clip: text;
    background-clip: text;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 700;
    position: relative;
    padding-bottom: 10px;
}

.progr-container h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #ff7e5f, #feb47b);
    border-radius: 2px;
    animation: underlinePulse 2s infinite;
}

@keyframes underlinePulse {
    0% { width: 100px; opacity: 1; }
    50% { width: 150px; opacity: 0.7; }
    100% { width: 100px; opacity: 1; }
}

/* ===== IMAGE (Floating & Glow Effect) ===== */
/* ===== IMAGE SECTION (Fixed Height + Responsive) ===== */
.myclass {
    display: flex;
    justify-content: center;
    margin: 2.5rem 0;
}

.myeducation img {
    width: 100%;
    height: auto; /* Lets the image adjust naturally */
    max-height: 400px; /* Optional: Limits height */
    border-radius: 15px;
    object-fit: contain; /* Ensures full image is visible */
    display: block;
}

/* Keep the rest of your sweet CSS the same */
.myeducation:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 40px rgba(110, 69, 226, 0.3);
}

@keyframes floatImage {
    0% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0); }
}

/* ===== INTRODUCTION (Glassmorphism Effect) ===== */
.pro-intro {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.pro-intro:hover {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.pro-intro p {
    margin: 0;
    font-size: 1.1rem;
    color: #555;
    line-height: 1.8;
}

/* ===== ACTIVITIES SECTION (Bubble List) ===== */
.ul-container {
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.05);
}

.actions-there {
    color: #2c3e50;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-left: 1.5rem;
    font-weight: 600;
}

.actions-there::before {
    content: '✨';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.ul-container ul {
    padding-left: 0;
    margin: 0;
    list-style: none;
}

.ul-container li {
    margin-bottom: 1rem;
    padding: 1rem 1.5rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.ul-container li:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.ul-container li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: linear-gradient(to bottom, #6e45e2, #88d3ce);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .progr-container {
        padding: 2rem;
    }
    
    .progr-container h2 {
        font-size: 2rem;
    }
    
    .pro-intro, .ul-container {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .progr-container {
        padding: 1.5rem;
    }
    
    .progr-container h2 {
        font-size: 1.8rem;
    }
    
    .actions-there {
        font-size: 1.5rem;
    }
}