/* ==========================================================================
   MOHACADEMY STUDY NOTES HUB STYLING
   ========================================================================== */

/* Specialized Hero Section */
.study-notes-hero-section {
    position: relative;
    width: 100%;
    min-height: 550px;
    background: url('../images/study-notes-hero-bg.jpg') no-repeat center center/cover;
    background-color: #0f172a; 
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff;
    padding: calc(var(--header-height, 80px) + 40px) 24px 60px;
    overflow: hidden;
}

.study-notes-hero-section .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(0, 86, 179, 0.75) 100%);
    z-index: 1;
}

.study-notes-hero-section .hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.study-notes-hero-section h1 {
    font-size: clamp(2.4rem, 5vw, 4.2rem);
    margin-bottom: 20px;
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    line-height: 1.15;
    text-shadow: 2px 4px 10px rgba(0,0,0,0.4);
}

.study-notes-hero-section p {
    font-size: clamp(1.05rem, 2vw, 1.35rem);
    margin-bottom: 35px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

/* Perfected Hero Button Layout */
.hero-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.hero-buttons .btn {
    min-width: 220px;
    margin: 0;
}

.btn-outline-light {
    background: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 1.05rem;
}

.btn-outline-light:hover {
    background: #ffffff;
    color: #0056b3;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    transform: translateY(-4px);
}

/* Reusable Glassmorphism Card */
.premium-glass-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border-radius: 16px;
}

/* Feature Highlights Refinement */
.why-notes-section {
    background-color: #f8fafc;
}

.feature-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.highlight-item {
    padding: 35px 25px;
    transition: transform 0.3s ease;
    border-bottom: 4px solid #007bff;
}

.highlight-item:hover {
    transform: translateY(-8px);
}

.highlight-item i {
    font-size: 3rem;
    color: #007bff;
    margin-bottom: 20px;
}

/* ==========================================================================
   SUBJECT CARD GRID
   ========================================================================== */
.notes-subjects-section {
    background-color: #ffffff;
}

.subject-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
    margin-top: 50px;
}

.subject-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 40px 30px;
    text-decoration: none; 
    color: #0f172a;
    transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.3s ease;
    border-top: 5px solid transparent; 
}

.subject-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.08);
}

.subject-icon-wrapper {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.subject-icon-wrapper i {
    font-size: 3.2rem;
}

.subject-card h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.6rem;
    color: #0f172a;
    margin-bottom: 12px;
}

.subject-card p {
    font-size: 1rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 25px;
    flex-grow: 1; 
}

.view-notes-btn {
    display: inline-flex;
    align-items: center;
    font-weight: 700;
    font-size: 1.05rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    gap: 8px;
}

.subject-card:hover .view-notes-btn {
    gap: 15px;
}



/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 992px) {
    .subject-card-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
}

@media (max-width: 768px) {
    .study-notes-hero-section { min-height: 480px; padding-top: 100px; padding-bottom: 30px; }
    .hero-buttons { flex-direction: column; gap: 15px; }
    .hero-buttons .btn { width: 100%; max-width: 280px; }
    
    .subject-card-grid { grid-template-columns: 1fr; }
    .subject-card { padding: 30px 20px; }
    
    
}