.academic-section {
    font-family: "Poppins", sans-serif;
    background: linear-gradient(135deg, #f8faff 0%, #eef2fa 100%);
    padding: 90px 0;
}

.academic-section-title {
    color: #1e293b;
    font-weight: 700;
    font-size: 2.5rem;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}

.academic-section-subtitle {
    color: #64748b;
    font-size: 1.15rem;
    font-weight: 500;
    margin-bottom: 60px;
}

/* Card Container */
.academic-card {
    background: #ffffff;
    border-radius: 16px;
    border: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Smooth bouncy transition */
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* Colored Top Borders for different groups */
.academic-border-early {
    border-top: 5px solid #10b981;
} /* Green */
.academic-border-primary {
    border-top: 5px solid #3b82f6;
} /* Blue */
.academic-border-middle {
    border-top: 5px solid #f59e0b;
} /* Orange */
.academic-border-senior {
    border-top: 5px solid #8b5cf6;
} /* Purple */
.academic-border-higher {
    border-top: 5px solid #ef4444;
} /* Red */

/* Hover Effects */
.academic-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.academic-card-body {
    padding: 2.2rem 1.8rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

/* Icon Wrapper & Animation */
.academic-icon-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.academic-icon-box {
    width: 70px;
    height: 70px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    transition: all 0.3s ease;
}

.academic-card:hover .academic-icon-box {
    animation: floatIcon 2s ease-in-out infinite;
}

@keyframes floatIcon {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-6px);
    }
    100% {
        transform: translateY(0px);
    }
}

/* Icon Colors */
.academic-icon-early {
    background: #d1fae5;
    color: #047857;
}
.academic-icon-primary {
    background: #dbeafe;
    color: #1d4ed8;
}
.academic-icon-middle {
    background: #fef3c7;
    color: #b45309;
}
.academic-icon-senior {
    background: #ede9fe;
    color: #6d28d9;
}
.academic-icon-higher {
    background: #fee2e2;
    color: #b91c1c;
}

/* Session Badge */
.academic-badge {
    background-color: #f1f5f9;
    color: #475569;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 50px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Text Content */
.academic-card-title {
    font-weight: 700;
    color: #0f172a;
    font-size: 1.6rem;
    margin-bottom: 12px;
}

.academic-card-desc {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 25px;
    min-height: 48px;
}

/* Feature List */
.academic-features {
    padding-left: 0;
    list-style: none;
    margin-bottom: 35px;
    flex-grow: 1;
}

.academic-features li {
    font-size: 0.95rem;
    color: #334155;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    font-weight: 500;
}

.academic-features li i {
    color: #3b82f6;
    margin-right: 12px;
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

/* Buttons Styling */
.academic-btn-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: auto;
}

.academic-btn {
    border-radius: 10px;
    font-weight: 600;
    padding: 12px 20px;
    transition: all 0.3s ease;
    text-align: center;
    text-decoration: none;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.academic-btn-enquire {
    background-color: #f8fafc;
    color: #0f172a;
    border: 2px solid #e2e8f0;
}

.academic-btn-enquire:hover {
    background-color: #0f172a;
    color: #ffffff;
    border-color: #0f172a;
}

.academic-btn-whatsapp {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.2);
}

.academic-btn-whatsapp i {
    font-size: 1.2rem;
    margin-right: 8px;
}

.academic-btn-whatsapp:hover {
    background: linear-gradient(135deg, #1da851 0%, #075e54 100%);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    transform: translateY(-2px);
    color: #ffffff;
}
