/* ==================================================
  সম্পূর্ণ ওয়েবসাইট স্টাইলশিট (সংস্করণ ৩.০ - ফাইনাল ডিজাইন)
  ডেস্কটপ ও মোবাইল রেসপন্সিভ ডিজাইন উন্নত করা হয়েছে
================================================== */

/* --- ১. ভ্যারিয়েবলস ও বেসিক স্টাইল --- */
:root {
    --primary-blue: #0052cc;
    --secondary-dark: #192335;
    --text-color: #333;
    --grey-text: #555;
    --bg-light: #f8f9fa;
    --white-color: #ffffff;
    --border-color: #e7e9ec;
    --heading-font: 'Baloo Da 2', cursive;
    --body-font: 'Hind Siliguri', sans-serif;
    --special-font: 'Poppins', sans-serif;
    --gradient-primary: linear-gradient(135deg, #0052cc 0%, #007bff 100%);
}

/* ১. গ্লোবাল ফিক্স: সাইড স্ক্রলিং বন্ধ করা */
html, body {
    overflow-x: hidden; /* ডানে-বামে স্ক্রল বন্ধ করবে */
    width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

*, *:before, *:after {
    box-sizing: inherit;
}

html { scroll-behavior: smooth; }
body { font-family: var(--body-font); background-color: var(--white-color); color: var(--text-color); line-height: 1.7; }
.container { max-width: 1200px; margin: auto; padding: 0 15px; }

/* ২. কন্টেইনার ফিক্স */
main {
    max-width: 100%;
    padding: 0;
    overflow-x: hidden;
}
.section-title { 
    font-family: var(--heading-font); 
    font-size: 2.5rem; 
    text-align: center; 
    margin-bottom: 3rem; 
    color: var(--secondary-dark); 
    position: relative; 
    padding-bottom: 15px; 
    display: block;
    width: 100%;
}
.section-title::after { 
    content: ''; 
    display: block;
    width: 80px; 
    height: 4px; 
    background: linear-gradient(90deg, #4a90e2, #357abd);
    margin: 12px auto 0;
    border-radius: 10px;
}
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* --- ২. হেডার ডিজাইন --- */
.site-header { position: relative; top: 0; left: 0; width: 100%; z-index: 1000; background-color: rgba(255, 255, 255, 0.95); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border-color); transition: box-shadow 0.3s ease; padding-top: 0 !important; margin-top: 0 !important;}
.site-header.scrolled { box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07); }
.header-grid { display: flex; justify-content: space-between; align-items: center; max-width: 1200px; margin: auto; padding: 10px 15px; min-height: 60px; }

/* ৫. হেডার ফিক্স */
@media (max-width: 768px) {
    .main-header {
        flex-direction: column;
        text-align: center;
        padding: 20px 10px;
    }

    .header-actions {
        position: static; /* মোবাইলে ফিক্সড পজিশন সরিয়ে দেওয়া */
        margin-top: 15px;
        justify-content: center;
    }
}
.logo-link { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.logo-img { width: 50px; height: 50px; max-height: 45px; border-radius: 50%; object-fit: cover; border: 2px solid var(--white-color); box-shadow: 0 2px 8px rgba(0,0,0,0.06); transition: transform 0.3s ease; }
.logo-img:hover { transform: scale(1.08) rotate(-5deg); }

/* ডেস্কটপ নেভিগেশন */
.primary-navigation { display: none; }

/* Header Actions & Auth Links */
.header-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.nav-user-name { font-weight: 600; color: var(--secondary-dark); white-space: nowrap; }
.auth-link a.login { background: var(--primary-blue); color: var(--white-color); padding: 8px 16px; border-radius: 20px; transition: background-color 0.3s; }
.auth-link a.login:hover { background: #0041a3; color: var(--white-color); }

/* --- ৩. মোবাইল নেভিগেশন --- */
.mobile-nav-toggle {
    display: block;
    position: relative;
    background: transparent;
    border: 0;
    width: 32px;
    height: 32px;
    background-repeat: no-repeat;
    background-size: contain;
    cursor: pointer;
    z-index: 9999;
    flex-shrink: 0;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgb(25, 35, 53)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
.mobile-nav-toggle[aria-expanded="true"] {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgb(25, 35, 53)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M6 6l18 18M6 24L24 6'/%3e%3c/svg%3e");
}

.mobile-navigation-menu {
    display: block;
    position: fixed;
    inset: 0 0 0 60%;
    background: var(--white-color);
    box-shadow: -10px 0 25px rgba(0,0,0,0.1);
    z-index: 9999;
    transform: translateX(100%);
    transition: transform 350ms ease-out;
    padding: min(20vh, 8rem) 2em;
}
.mobile-navigation-menu[data-visible="true"] { transform: translateX(0%); }
.mobile-navigation-menu ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 2rem; }
.mobile-navigation-menu a { font-size: 1.2rem; font-family: var(--heading-font); font-weight: 600; color: var(--secondary-dark); text-decoration: none; }


/* --- ৪. হিরো সেকশন ও অন্যান্য সেকশন --- */
.hero-section-new { padding: 6rem 1rem; background: linear-gradient(135deg, #eaf2ff 0%, #ffffff 100%); overflow: hidden; }
.hero-container { display: flex; align-items: center; gap: 3rem; }
.hero-left { flex: 1; text-align: left; animation: fadeInUp 1s ease-out; }
.hero-right { flex: 1; animation: fadeInRight 1s ease-out; }
.hero-subtitle { color: var(--primary-blue); font-weight: 700; margin-bottom: 1rem; font-size: 1.1rem; text-transform: uppercase; letter-spacing: 1px; }
.hero-title { font-family: var(--special-font); font-size: 3.8rem; line-height: 1.2; color: var(--secondary-dark); margin-bottom: 1.5rem; font-weight: 700; }
.hero-description { font-size: 1.1rem; color: var(--grey-text); max-width: 550px; margin-bottom: 2.5rem; }
.hero-buttons .btn { display: inline-flex; align-items: center; gap: 10px; padding: 1rem 2.5rem; background-color: var(--primary-blue); color: var(--white-color); font-size: 1rem; font-weight: 600; text-decoration: none; border-radius: 50px; box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3); transition: all 0.3s ease; }
.hero-buttons .btn:hover { background-color: #0056b3; transform: translateY(-3px); box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4); }
.image-wrapper img { width: 100%; border-radius: 25px; box-shadow: 0 10px 30px rgba(44, 62, 80, 0.15); transition: transform 0.3s ease; }
.image-wrapper img:hover { transform: scale(1.05); }

.subjects-section, .features-section { padding: 5rem 1rem; }
.features-section { background-color: var(--bg-light); }

/* ৩. গ্রিড লেআউট ফিক্স (মোবাইলের জন্য) */
.subject-cards-new {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); /* অটোমেটিক অ্যাডজাস্ট হবে */
    gap: 10px;
    width: 100%;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr; /* মোবাইলে একটির নিচে একটি থাকবে */
    gap: 15px;
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 2rem;
    }
    .subject-cards-new {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 2rem;
    }
}
/* ৪. ইমেজ এবং কার্ড ফিক্স */
.card-new { 
    height: 350px; 
    border-radius: 15px; 
    background-size: cover; 
    background-position: center; 
    position: relative; 
    display: flex; 
    justify-content: center; 
    align-items: flex-end; 
    padding: 2rem; 
    color: var(--white-color); 
    text-decoration: none; 
    overflow: hidden; 
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    max-width: 100%;
    min-height: 200px;
}

@media (max-width: 768px) {
    .card-new {
        height: auto;
        min-height: 150px;
        padding: 1rem;
    }
}

img, .card {
    max-width: 100%;
    height: auto;
}
.card-new:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0, 82, 204, 0.2); }
.card-new::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.85), transparent 50%); border-radius: 15px; z-index: 1; }
.card-new h3 { font-family: var(--heading-font); font-size: 2rem; margin: 0; z-index: 2; position: relative; transition: transform 0.3s ease; }
.card-new:hover h3 { transform: translateY(-10px); }
.feature-item { background-color: var(--white-color); padding: 2.5rem 1.5rem; text-align: center; border-radius: 15px; box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08); border: 1px solid transparent; transition: all 0.3s ease; }
.feature-item:hover { transform: translateY(-10px); box-shadow: 0 12px 35px rgba(0, 82, 204, 0.15); border-color: var(--primary-blue); }
.feature-item i { color: var(--primary-blue); width: 70px; height: 70px; display: inline-flex; align-items: center; justify-content: center; font-size: 2.5rem; border-radius: 50%; margin-bottom: 1.5rem; background-color: #eaf2ff; transition: all 0.3s ease; }
.feature-item:hover i { background-color: var(--primary-blue); color: var(--white-color); transform: rotate(360deg) scale(1.1); }
.feature-item h4 { font-family: var(--heading-font); font-size: 1.3rem; color: var(--secondary-dark); margin-bottom: 0.75rem; }


/* --- ৫. অ্যাবাউট পেজ সেকশন --- */
.about-section { padding: 80px 0; }
.about-grid { display: grid; grid-template-columns: 400px 1fr; gap: 60px; align-items: center; }
.about-image-wrapper { position: relative; text-align: center; }
.about-image { width: 300px; height: 300px; border-radius: 50%; object-fit: cover; position: relative; z-index: 2; border: 10px solid var(--white-color); box-shadow: 0 10px 40px rgba(0,0,0,0.1); }
.about-image-wrapper::before { content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 310px; height: 310px; background: var(--gradient-primary); border-radius: 50%; z-index: 1; transition: transform 0.4s ease; }
.about-image-wrapper:hover::before { transform: translate(-50%, -50%) scale(1.08); }
.about-content h1 { font-family: var(--special-font); font-weight: 700; font-size: 3rem; color: var(--secondary-dark); margin-bottom: 1rem; line-height: 1.3; }
.about-content h1 span { background: var(--gradient-primary); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; text-fill-color: transparent; }
.about-content .intro-text { font-size: 1.1rem; color: var(--grey-text); margin-bottom: 2rem; max-width: 600px; }
.info-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.5rem; margin-top: 2rem; }
.info-card { background: var(--white-color); padding: 1.5rem; border-radius: 12px; border: 1px solid var(--border-color); display: flex; align-items: center; gap: 1rem; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.info-card:hover { transform: translateY(-8px); box-shadow: 0 12px 30px rgba(0, 82, 204, 0.1); }
.info-card i { font-size: 1.8rem; color: var(--primary-blue); }
.info-card-text strong { display: block; color: var(--secondary-dark); font-weight: 600; }
.info-card-text span { font-size: 0.9rem; color: var(--grey-text); }
.journey-section { background-color: var(--white-color); padding: 80px 0; }
.timeline-container { position: relative; max-width: 800px; margin: 0 auto; }
.timeline-container::after { content: ''; position: absolute; width: 4px; background: var(--border-color); top: 0; bottom: 0; left: 50%; margin-left: -2px; z-index: 1; }
.timeline-item { padding: 10px 40px; position: relative; background-color: inherit; width: 50%; z-index: 2; }
.timeline-item::after { content: ''; position: absolute; width: 20px; height: 20px; right: -10px; background-color: var(--white-color); border: 4px solid var(--primary-blue); top: 25px; border-radius: 50%; z-index: 2; }
.timeline-item.left { left: 0; }
.timeline-item.right { left: 50%; }
.timeline-item.right::after { left: -10px; }
.timeline-content { padding: 20px 30px; background: var(--bg-light); position: relative; border-radius: 8px; border: 1px solid var(--border-color); transition: box-shadow 0.3s ease; }
.timeline-content:hover { box-shadow: 0 10px 30px rgba(0, 82, 204, 0.1); }
.timeline-content h3 { font-family: var(--heading-font); color: var(--primary-blue); font-size: 1.5rem; }
.location-section { padding: 80px 0; }
.map-container { border-radius: 15px; overflow: hidden; box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1); max-width: 900px; margin: 0 auto; aspect-ratio: 16 / 9; border: 5px solid var(--white-color); }
.map-container iframe { width: 100%; height: 100%; border: none; }


/* --- ৬. উন্নত কন্টাক্ট ও ফিডব্যাক সেকশন --- */
.contact-section, .feedback-section { padding: 80px 0; background-image: radial-gradient(circle at 100% 0%, rgba(0, 82, 204, 0.05) 0%, transparent 30%), radial-gradient(circle at 0% 100%, rgba(0, 82, 204, 0.05) 0%, transparent 30%); }
.feedback-section { background-color: var(--bg-light); }
.contact-section .section-title h1, .feedback-section .section-title { font-size: 2.8rem; }
.contact-section .section-title p, .feedback-section .section-title + p { max-width: 600px; margin: 1rem auto 0; font-size: 1.1rem; color: var(--grey-text); }
.contact-wrapper { display: grid; grid-template-columns: 1fr 1.5fr; gap: 40px; background: var(--white-color); padding: 40px; border-radius: 20px; box-shadow: 0 20px 50px rgba(0, 82, 204, 0.1); }
.contact-info h2, .contact-form h2 { font-family: var(--heading-font); font-size: 1.8rem; color: var(--primary-blue); margin-bottom: 2rem; }
.info-item { display: flex; align-items: center; gap: 1.5rem; margin-bottom: 2rem; }
.info-item .icon { font-size: 1.5rem; color: var(--primary-blue); background: #eaf2ff; width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; }
.info-item-text strong { display: block; color: var(--secondary-dark); font-weight: 600; }
.info-item-text a, .info-item-text span { color: var(--grey-text); text-decoration: none; transition: color 0.3s; word-break: break-all; }
.info-item-text a:hover { color: var(--primary-blue); }
.contact-social-links { margin-top: 3rem; display: flex; gap: 1rem; }
.contact-social-links a { color: var(--primary-blue); font-size: 1.2rem; width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--border-color); border-radius: 50%; transition: background-color 0.3s, color 0.3s; }
.contact-social-links a:hover { background-color: var(--primary-blue); color: var(--white-color); }
.contact-form h2 { color: var(--secondary-dark); }
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; font-weight: 600; margin-bottom: 0.5rem; color: var(--secondary-dark); }
.form-control { width: 100%; padding: 12px 15px; font-family: var(--body-font); font-size: 1rem; border: 1px solid var(--border-color); border-radius: 8px; background: var(--bg-light); transition: border-color 0.3s, box-shadow 0.3s; }
.form-control:focus { outline: none; border-color: var(--primary-blue); box-shadow: 0 0 0 3px rgba(0, 82, 204, 0.15); }
textarea.form-control { resize: vertical; min-height: 120px; }
.btn-submit { display: inline-block; background: var(--gradient-primary); color: var(--white-color); padding: 12px 30px; border: none; border-radius: 50px; font-family: var(--heading-font); font-weight: 600; font-size: 1.1rem; cursor: pointer; transition: transform 0.3s, box-shadow 0.3s; box-shadow: 0 5px 15px rgba(0, 82, 204, 0.2); }
.btn-submit:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0, 82, 204, 0.3); }

/* Google Form কন্টেইনার */
.feedback-form-container { max-width: 800px; margin: auto; background-color: var(--white-color); padding: 20px; border-radius: 8px; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); }
.feedback-form-container iframe { width: 100%; height: 600px; border: none; border-radius: 8px; }
.feedback-note { margin-top: 20px; font-size: 0.9em; color: var(--grey-text); }


/* --- ৭. Premium Footer Design --- */
footer { 
    background-color: #0f172a;
    color: #e2e8f0; 
    padding: 60px 0 30px; 
}

.footer-top { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
    gap: 40px; 
    margin-bottom: 40px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 15px;
}

.footer-logo-section img,
.footer-logo { 
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid #3b82f6;
    margin-bottom: 15px;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.footer-logo-section p {
    line-height: 1.6;
    color: #94a3b8;
}

footer h4,
.footer-links h4, 
.footer-social h4 { 
    color: #ffffff; 
    font-size: 1.2rem; 
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
    border-left: none;
    padding-left: 0;
}

footer h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background: #3b82f6;
    border-radius: 2px;
}

.footer-links ul, 
.social-icons { 
    list-style: none; 
    padding: 0; 
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links a { 
    color: #94a3b8; 
    text-decoration: none; 
    transition: all 0.3s ease; 
    display: flex;
    align-items: center; 
    gap: 10px; 
}

.footer-links a:hover { 
    color: #3b82f6; 
    transform: translateX(5px); 
}

.footer-social .social-icons { 
    display: flex; 
    gap: 15px; 
    margin-top: 0;
    flex-wrap: wrap;
}

.footer-social .social-icons a { 
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    border-radius: 50%; 
    font-size: 1.2rem; 
    text-decoration: none; 
    transition: all 0.3s ease; 
    border: none;
}

.social-icons a.facebook:hover { background: #1877F2; transform: translateY(-5px); box-shadow: 0 5px 15px rgba(24, 119, 242, 0.4); }
.social-icons a.youtube:hover { background: #FF0000; transform: translateY(-5px); box-shadow: 0 5px 15px rgba(255, 0, 0, 0.4); }
.social-icons a.twitter:hover { background: #1DA1F2; transform: translateY(-5px); box-shadow: 0 5px 15px rgba(29, 161, 242, 0.4); }
.social-icons a.instagram:hover { 
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(214, 36, 159, 0.4);
}

.footer-bottom { 
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 25px; 
    text-align: center; 
    color: #64748b; 
    font-size: 0.9rem; 
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 15px;
    padding-right: 15px;
}

/* --- ৮. ইউটিলিটি ও অ্যানিমেশন --- */
#scrollTopBtn { position: fixed; bottom: 30px; right: 30px; z-index: 1000; background-color: var(--primary-blue); color: var(--white-color); border: none; outline: none; padding: 12px 16px; border-radius: 50%; font-size: 20px; cursor: pointer; box-shadow: 0 6px 20px rgba(0, 82, 204, 0.3); display: none; transition: all 0.3s ease; }
#scrollTopBtn:hover { background-color: #003d99; transform: scale(1.1); }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInRight { from { opacity: 0; transform: translateX(50px); } to { opacity: 1; transform: translateX(0); } }

/* --- ৯. ফাইনাল রেসপন্সিভ ডিজাইন --- */

/* ট্যাবলেট ভিউ (992px এর নিচে) */
@media (max-width: 992px) {
    .header-grid { padding: 0 20px; }
    .primary-navigation ul { gap: 1rem; }
    .primary-navigation a { font-size: 1rem; }
    .features-grid { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
    .about-grid { grid-template-columns: 1fr; text-align: center; }
    .about-image-wrapper { margin-bottom: 2rem; }
    .contact-wrapper { grid-template-columns: 1fr; }
}

/* মোবাইল ভিউ (768px বা তার কম) */
@media (max-width: 768px) {
    .section-title { font-size: 1.6rem; margin-bottom: 2rem; }
    .section-title::after { width: 60px; }
    
    /* হেডার ও নেভিগেশন */
    .header-grid { padding: 0 10px; height: 70px; }
    .header-actions { margin-left: auto; gap: 8px; }
    .nav-user-name { display: none; }
    
    .mobile-nav-toggle { width: 30px; height: 30px; margin-right: 5px; }
    
    /* অন্যান্য সেকশনের রেসপনসিভ স্টাইল */
    .hero-section-new { padding: 4rem 0; }
    .hero-container { flex-direction: column; text-align: center; }
    .hero-left { order: 2; margin-top: 2rem; }
    .hero-right { order: 1; }
    .hero-title { font-size: 2.5rem; }
    .hero-description { margin-left: auto; margin-right: auto; }
    .features-grid, .subject-cards-new { grid-template-columns: 1fr; }
    
    /* কন্টাক্ট ও ফিডব্যাক ফর্ম মোবাইল */
    .contact-wrapper, .feedback-form-container { padding: 20px; }
    .contact-info { text-align: center; }
    .info-item { flex-direction: column; text-align: center; }
    .contact-social-links { justify-content: center; }
    .feedback-form-container iframe { height: 500px; }

    .timeline-container::after { left: 20px; }
    .timeline-item { width: 100%; padding-left: 60px; padding-right: 10px; }
    .timeline-item.left, .timeline-item.right { left: 0; }
    .timeline-item::after { left: 10px; }

    /* ফুটার রেসপনসিভনেস */
    .footer-top { grid-template-columns: 1fr; text-align: center; gap: 30px; }
    .footer-logo-section p { margin-left: auto; margin-right: auto; max-width: 300px; }
    .footer-social .social-icons { justify-content: center; }
}
/* =================================== */
/*  নতুন এবং উন্নত নোটিফিকেশন ফিড স্টাইল  */
/* =================================== */

/* মূল কন্টেইনার */
.notification-feed-container {
    max-width: 900px;
    margin: 0 auto;
}

/* প্রতিটি নোটিফিকেশন আইটেম (কার্ড) */
.notification-feed-item {
    display: flex;
    align-items: flex-start; 
    background-color: #ffffff;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 15px;
    text-decoration: none;
    color: #333;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.07);
    transition: transform 0.3s, box-shadow 0.3s;
    border-left: 5px solid #007bff; 
}

.notification-feed-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* আইকনের জন্য একটি নতুন অংশ */
.notification-icon-wrapper {
    flex-shrink: 0; 
    margin-right: 20px;
    background-color: #e6f2ff; 
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.notification-icon-wrapper i {
    font-size: 22px;
    color: #007bff; 
}

/* লেখার অংশ */
.notification-content {
    flex-grow: 1;
}

.notification-feed-title {
    font-weight: 700;
    font-size: 1.1rem; 
    margin-bottom: 5px;
    color: #1a253c;
}

.notification-feed-body {
    font-size: 0.95rem; 
    color: #555;
    margin-bottom: 12px;
    line-height: 1.5;
}

.notification-feed-time {
    font-size: 0.8rem; 
    color: #888;
    display: flex;
    align-items: center;
}
.notification-feed-time::before {
    content: '\f017'; 
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-right: 6px;
}

/* =================================== */
/*      🔥 নতুন মোডাল স্টাইল 🔥         */
/* =================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background-color: var(--white-color);
    padding: 25px 30px;
    border-radius: 15px;
    width: 90%;
    max-width: 650px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transform: scale(0.9);
    transition: transform 0.3s ease;

    /* ===== 👇 স্ক্রল সমস্যার সমাধান এখানে 👇 ===== */
    max-height: 85vh; /* স্ক্রিনের ৮৫% এর বেশি উঁচু হবে না */
    overflow-y: auto; /* কনটেন্ট বেশি হলে ভার্টিক্যাল স্ক্রলবার দেখাবে */
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-content h2 {
    font-family: var(--heading-font);
    color: var(--primary-blue);
    margin-top: 0;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border-color);
}

.modal-content ul {
    list-style-type: none;
    padding-left: 0;
}

.modal-content li {
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.modal-content li:last-child {
    border-bottom: none;
}

.modal-content strong {
    color: var(--secondary-dark);
}

.modal-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    font-size: 2rem;
    color: #aaa;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    transition: color 0.2s, transform 0.2s;
}

.modal-close-btn:hover {
    color: #333;
    transform: rotate(90deg);
}
html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  background: #f0f2f5;
}

/* Safe area support for notched devices (iPhone, Android) */
@supports (padding: max(0px)) {
  body {
    padding-top: env(safe-area-inset-top);
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
    padding-bottom: env(safe-area-inset-bottom);
  }
}

/* Stats Counter Section */
.stats-section { padding: 4rem 0; background: linear-gradient(135deg, #0052cc 0%, #007bff 100%); }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; }
.stat-item { text-align: center; color: white; }
.stat-item i { font-size: 3rem; margin-bottom: 1rem; opacity: 0.9; }
.stat-number { font-size: 3rem; font-weight: 700; margin: 0.5rem 0; }
.stat-item p { font-size: 1.1rem; opacity: 0.9; }

/* Loading Skeleton */
.loading-skeleton { display: flex; flex-direction: column; gap: 15px; }
.skeleton-item { height: 80px; background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%); background-size: 200% 100%; animation: loading 1.5s infinite; border-radius: 8px; }
@keyframes loading { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }


/* Improved Navigation Buttons */
.primary-navigation a {
    padding: 10px 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
}
.primary-navigation a:hover {
    background: rgba(74, 144, 226, 0.1);
    transform: translateY(-2px);
}
.primary-navigation a.active {
    background: rgba(74, 144, 226, 0.15);
}

.mobile-navigation-menu a {
    padding: 12px 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}
.mobile-navigation-menu a:hover {
    background: rgba(74, 144, 226, 0.1);
    transform: translateX(5px);
}

.auth-link a.login {
    background: linear-gradient(135deg, #4a90e2, #357abd);
    padding: 10px 20px;
    border-radius: 25px;
    box-shadow: 0 2px 8px rgba(74, 144, 226, 0.3);
}
.auth-link a.login:hover {
    background: linear-gradient(135deg, #357abd, #2868a8);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.4);
}


/* Header Profile Picture */
#header-profile-pic {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
#header-profile-pic:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.4);
}


/* Mobile Header Fix - Screen Top */
@media (max-width: 768px) {
    body {
        padding-top: 0 !important;
    }
    
    .site-header {
        margin-top: 0;
        position: relative;
    }
    
    .header-grid {
        padding: 15px 15px;
        min-height: 60px;
    }
    
    .logo-img {
        width: 45px;
        height: 45px;
    }
}

/* Safe area for notched devices */
@supports (padding: max(0px)) {
    .site-header {
        padding-top: env(safe-area-inset-top);
    }
}


/* Sidebar Dark Overlay */
.menu-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    opacity: 0;
    transition: opacity 350ms ease-out;
}

.menu-overlay.active {
    display: block;
    opacity: 1;
}

/* Ensure sidebar is above everything */
.mobile-navigation-menu {
    background: #ffffff !important;
}

.site-header {
    z-index: 1000;
}


/* Page Transition Animation */



/* Beautiful Page Transition */
.page-transition {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    pointer-events: none;
    display: flex;
    justify-content: center;
    align-items: center;
}

.transition-circle {
    position: absolute;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #4a90e2 0%, #357abd 100%);
    border-radius: 50%;
    transform: scale(0);
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.page-transition.active .transition-circle {
    transform: scale(30);
}

.transition-logo {
    position: relative;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    opacity: 0;
    transform: scale(0.5) rotate(-180deg);
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 1;
}

.page-transition.active .transition-logo {
    opacity: 1;
    transform: scale(1) rotate(0deg);
}

body {
    animation: pageLoad 0.6s ease-out;
}

@keyframes pageLoad {
    from { opacity: 0; }
    to { opacity: 1; }
}
