/* ===== RESET AND BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Reduce scrollbar width */
::-webkit-scrollbar {
  width: 0px;  /* for vertical scrollbar */
  height: 6px; /* for horizontal scrollbar */
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== HEADER AND NAVIGATION ===== */
.header {
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 123, 255, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: #007bff;
    font-weight: 600;
    font-size: 1.5rem;
}

.logo {
    width: 40px;
    height: 40px;
}

.brand-text {
    font-weight: 700;
    background: linear-gradient(135deg, #007bff, #0056b3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #007bff;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #007bff;
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.bar {
    width: 25px;
    height: 3px;
    background: #007bff;
    transition: 0.3s;
}

/* ===== MAIN CONTENT ===== */
main {
    margin-top: 80px;
}

/* ===== INTRO SECTION ===== */
.intro-section {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 25%, #e3f2fd 50%, #bbdefb 75%, #007bff 100%);
    padding: 8rem 0 6rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.intro-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255,255,255,0.1) 0%, rgba(0,123,255,0.1) 100%);
    pointer-events: none;
}

.intro-content {
    position: relative;
    z-index: 2;
}

.intro-logo {
    margin-bottom: 2rem;
}

.logo-container {
    position: relative;
    display: inline-block;
}

.intro-logo-image {
    width: 120px;
    height: 120px;
    filter: drop-shadow(0 10px 30px rgba(0, 123, 255, 0.3));
    animation: floatLogo 4s ease-in-out infinite;
}

.sparkle {
    position: absolute;
    width: 8px;
    height: 8px;
    background: linear-gradient(45deg, #007bff, #ffffff);
    border-radius: 50%;
    animation: sparkle 2s ease-in-out infinite;
}

.sparkle-1 {
    top: 10%;
    left: 20%;
    animation-delay: 0s;
}

.sparkle-2 {
    top: 20%;
    right: 15%;
    animation-delay: 0.5s;
}

.sparkle-3 {
    bottom: 20%;
    left: 15%;
    animation-delay: 1s;
}

.sparkle-4 {
    bottom: 10%;
    right: 20%;
    animation-delay: 1.5s;
}

.intro-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1a1a1a;
    background: linear-gradient(135deg, #007bff, #0056b3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.intro-subtitle {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: #495057;
}

.intro-description {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 3rem;
    color: #6c757d;
    line-height: 1.7;
}

.intro-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.btn-large {
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.btn-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 123, 255, 0.4);
}

/* ===== HERO SECTION ===== */
.hero {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.hero-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.9;
}

/* ===== PAGE HEADER ===== */
.page-header {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* ===== NAVIGATION CARDS ===== */
.nav-cards {
    padding: 4rem 0;
    background: #f8f9fa;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.nav-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 123, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.nav-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 123, 255, 0.2);
}

.card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #007bff, #0056b3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
}

.nav-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
}

.nav-card p {
    color: #666;
    margin-bottom: 2rem;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
    text-align: center;
}

.btn-primary {
    background: #007bff;
    color: white;
}

.btn-primary:hover {
    background: #0056b3;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: #007bff;
    border: 2px solid #007bff;
}

.btn-outline:hover {
    background: #007bff;
    color: white;
}

.btn-whatsapp {
    background: #e918a3;
    color: white;
}

.btn-whatsapp:hover {
    background: #e918a3;
}

.btn-telegram {
    background: #0088cc;
    color: white;
}

.btn-telegram:hover {
    background: #0077b5;
}

.btn-youtube {
    background: #ff0000;
    color: white;
}

.btn-youtube:hover {
    background: #cc0000;
}

/* ===== FEATURES SECTION ===== */
.features {
    padding: 4rem 0;
    background: white;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #333;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-item {
    text-align: center;
    padding: 2rem;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #007bff, #0056b3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    color: white;
}

.feature-item h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
}

.feature-item p {
    color: #666;
}

/* ===== SUBJECTS SECTION ===== */
.subjects-section {
    padding: 4rem 0;
    background: #f8f9fa;
}

.subjects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.subject-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 123, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.subject-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 123, 255, 0.2);
}

.subject-header {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    padding: 2rem;
    text-align: center;
}

.subject-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.subject-header h3 {
    font-size: 1.8rem;
    font-weight: 600;
}

.subject-content {
    padding: 2rem;
}

.chapters-list h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
}

.chapters-list ul {
    list-style: none;
    margin-bottom: 2rem;
}

.chapters-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
    position: relative;
    padding-left: 1.5rem;
}

.chapters-list li:before {
    content: '▸';
    position: absolute;
    left: 0;
    color: #007bff;
    font-weight: bold;
}

.video-section {
    margin-top: 2rem;
}

.video-section h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
}

.videos-container {
    display: grid;
    gap: 1rem;
}

.video-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    transition: background 0.3s ease;
}

.video-item:hover {
    background: #e9ecef;
}

.video-thumbnail {
    width: 80px;
    height: 60px;
    background: #007bff;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.video-info {
    flex: 1;
}

.video-title {
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: #333;
}

.video-date {
    font-size: 0.8rem;
    color: #666;
}

/* ===== VIDEOS PAGE ===== */
.video-filters {
    padding: 2rem 0;
    background: #f8f9fa;
}

.filter-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.8rem 1.5rem;
    background: white;
    border: 2px solid #007bff;
    color: #007bff;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
    background: #007bff;
    color: white;
}

.videos-section {
    padding: 4rem 0;
    background: white;
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.video-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 123, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 123, 255, 0.2);
}

.video-card-thumbnail {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #007bff, #0056b3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
    position: relative;
}

.video-card-content {
    padding: 1.5rem;
}

.video-card-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333;
}

.video-card-date {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.video-card-description {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
}

.loading-spinner {
    text-align: center;
    padding: 4rem 0;
}

.loading-spinner i {
    font-size: 3rem;
    color: #007bff;
    margin-bottom: 1rem;
}

.load-more-container {
    text-align: center;
    padding: 2rem 0;
}

.no-videos-message {
    text-align: center;
    padding: 4rem 0;
}

.empty-state {
    max-width: 400px;
    margin: 0 auto;
}

.empty-state i {
    font-size: 4rem;
    color: #ccc;
    margin-bottom: 1rem;
}

.empty-state h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
}

.empty-state p {
    color: #666;
}

/* ===== CHANNEL INFO ===== */
.channel-info {
    padding: 4rem 0;
    background: #f8f9fa;
}

.channel-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 123, 255, 0.1);
}

.channel-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.channel-avatar {
    width: 80px;
    height: 80px;
    background: #ff0000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
}

.channel-details {
    flex: 1;
}

.channel-details h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333;
}

.channel-details p {
    color: #666;
}

.channel-stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #666;
}

.stat-item i {
    color: #007bff;
}

/* ===== NOTES PAGE ===== */
.class-tabs {
    padding: 2rem 0;
    background: #f8f9fa;
}

.tabs-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.tab-btn {
    padding: 1rem 2rem;
    background: white;
    border: 2px solid #007bff;
    color: #007bff;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 1rem;
}

.tab-btn:hover,
.tab-btn.active {
    background: #007bff;
    color: white;
}

.notes-section {
    padding: 4rem 0;
    background: white;
}

.notes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.notes-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 123, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.notes-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 123, 255, 0.2);
}

.notes-header {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    padding: 2rem;
    text-align: center;
}

.notes-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

.notes-content {
    padding: 2rem;
}

.notes-info {
    display: flex;
    justify-content: space-around;
    margin-bottom: 1.5rem;
}

.info-item {
    text-align: center;
    color: #666;
}

.info-item i {
    display: block;
    font-size: 1.5rem;
    color: #007bff;
    margin-bottom: 0.5rem;
}

.notes-description {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.chapters-preview {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.chapters-preview h5 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
}

.chapters-preview ul {
    list-style: none;
}

.chapters-preview li {
    padding: 0.3rem 0;
    color: #666;
    position: relative;
    padding-left: 1.2rem;
}

.chapters-preview li:before {
    content: '•';
    position: absolute;
    left: 0;
    color: #007bff;
    font-weight: bold;
}

.download-btn {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
}

.download-info {
    padding: 4rem 0;
    background: #f8f9fa;
}

.info-card {
    background: white;
    border-radius: 15px;
    padding: 3rem;
    box-shadow: 0 5px 20px rgba(0, 123, 255, 0.1);
    text-align: center;
}

.info-card h3 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: #333;
}

.steps {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.step {
    text-align: center;
    max-width: 200px;
}

.step-number {
    width: 50px;
    height: 50px;
    background: #007bff;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 auto 1rem;
}

.step p {
    color: #666;
    font-size: 0.9rem;
}

.download-note {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #e7f3ff;
    padding: 1rem;
    border-radius: 8px;
    margin-top: 2rem;
}

.download-note i {
    color: #007bff;
    font-size: 1.2rem;
}

.download-note p {
    color: #666;
    margin: 0;
}

/* ===== CONTACT PAGE ===== */
.contact-section {
    padding: 4rem 0;
    background: #f8f9fa;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.contact-card {
    background: white;
    border-radius: 15px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 123, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 123, 255, 0.2);
}

.contact-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
}

.whatsapp-bg {
    background: #e918a3;
}

.telegram-bg {
    background: #0088cc;
}

.youtube-bg {
    background: #ff0000;
}

.contact-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
}

.contact-card p {
    color: #666;
    margin-bottom: 1.5rem;
}

.contact-details {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.contact-details p {
    margin: 0.5rem 0;
    font-size: 0.9rem;
}

.contact-form-section {
    padding: 4rem 0;
    background: white;
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
}

.form-container h2 {
    text-align: center;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
}

.form-container p {
    text-align: center;
    color: #666;
    margin-bottom: 3rem;
}

.contact-form {
    display: grid;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 1rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #007bff;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
    margin-top: 1rem;
}

.form-note {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #e7f3ff;
    padding: 1rem;
    border-radius: 8px;
    margin-top: 2rem;
}

.form-note i {
    color: #007bff;
    font-size: 1.2rem;
}

.form-note p {
    color: #666;
    margin: 0;
}

/* ===== FAQ SECTION ===== */
.faq-section {
    padding: 4rem 0;
    background: #f8f9fa;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 10px;
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 123, 255, 0.1);
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: #f8f9fa;
}

.faq-question h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
}

.faq-question i {
    color: #007bff;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 0 1.5rem 1.5rem;
}

.faq-answer p {
    color: #666;
    line-height: 1.6;
}

/* ===== VIDEO MODAL ===== */
.video-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.video-modal.active {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: 15px;
    width: 90%;
    max-width: 800px;
    position: relative;
    overflow: hidden;
}

.close-modal {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 2rem;
    color: white;
    cursor: pointer;
    z-index: 2001;
    background: rgba(0, 0, 0, 0.5);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* ===== SHOWCASE NOTIFICATION ===== */
.showcase-notification {
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
    border: 1px solid #2196f3;
    border-radius: 8px;
    margin: 1rem 0 2rem;
    padding: 0;
    box-shadow: 0 4px 12px rgba(33, 150, 243, 0.15);
    animation: slideDown 0.5s ease-out;
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    position: relative;
}

.notification-content i {
    color: #2196f3;
    font-size: 1.2rem;
}

.notification-content span {
    flex-grow: 1;
    color: #1976d2;
    font-weight: 500;
}

.close-notification {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #666;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.close-notification:hover {
    background: rgba(0, 0, 0, 0.1);
    color: #333;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== FLOATING SOCIAL ICONS ===== */
.floating-social {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 100;
}

.social-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.social-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.social-icon.whatsapp {
    background: #25d345;
}

.social-icon.telegram {
    background: #0088cc;
}

.social-icon.youtube {
    background: #ff0000;
}

/* ===== FOOTER ===== */
.footer {
    background: #333;
    color: white;
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #007bff;
}

.footer-section p {
    color: #ccc;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #007bff;
}

.footer-social {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-social a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: #007bff;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #555;
    color: #ccc;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: white;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding: 2rem 0;
        transition: left 0.3s ease;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    /* Intro Section Responsive */
    .intro-section {
        padding: 6rem 0 4rem;
    }

    .intro-logo-image {
        width: 80px;
        height: 80px;
    }

    .intro-title {
        font-size: 2.5rem;
    }

    .intro-subtitle {
        font-size: 1.4rem;
    }

    .intro-description {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .intro-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-large {
        padding: 12px 30px;
        font-size: 1rem;
        width: 100%;
        max-width: 250px;
    }

    .hero-content h2 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .page-title {
        font-size: 2rem;
    }

    .cards-grid {
        grid-template-columns: 1fr;
    }

    .subjects-grid {
        grid-template-columns: 1fr;
    }

    .notes-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .filter-tabs {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 1rem;
    }

    .filter-tabs::-webkit-scrollbar {
        display: none;
    }

    .videos-grid {
        grid-template-columns: 1fr;
    }

    .channel-header {
        flex-direction: column;
        text-align: center;
    }

    .channel-stats {
        justify-content: center;
    }

    .steps {
        flex-direction: column;
        align-items: center;
    }

    .floating-social {
        bottom: 10px;
        right: 10px;
    }

    .social-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero {
        padding: 4rem 0;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

    .page-header {
        padding: 3rem 0;
    }

    .nav-card {
        padding: 2rem;
    }

    .subject-card {
        margin-bottom: 1rem;
    }

    .notes-card {
        margin-bottom: 1rem;
    }

    .contact-card {
        padding: 2rem;
    }

    .modal-content {
        width: 95%;
        margin: 20px;
    }
}

/* ===== UTILITY CLASSES ===== */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mb-1 {
    margin-bottom: 1rem;
}

.mb-2 {
    margin-bottom: 2rem;
}

.mb-3 {
    margin-bottom: 3rem;
}

.mt-1 {
    margin-top: 1rem;
}

.mt-2 {
    margin-top: 2rem;
}

.mt-3 {
    margin-top: 3rem;
}

.hidden {
    display: none;
}

.visible {
    display: block;
}

/* ===== LOADING STATES ===== */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}.subject-content {
      max-width: 600px;
      margin: auto;
      background: #fff;
      padding: 20px;
      border-radius: 10px;
      box-shadow: 0 0 10px rgba(0,0,0,0.1);
    }



    .chapter-item {
      margin-bottom: 12px;
     
      border-radius: 6px;
      overflow: hidden;
    }

    .chapter-title {
      background-color: #f1f1f1;
      padding: 12px;
      font-weight: bold;
      cursor: pointer;
      transition: background-color 0.3s;
    }

    .chapter-title:hover {
      background-color: #e0e0e0;
    }

    .material-content {
      display: none;
      padding: 15px;
      background-color: #fff;
      animation: fadeIn 0.3s ease;
      border-top: 1px solid #ccc;
    }

    .material-content p {
      margin: 0 0 10px;
    }

    .material-content button {
      margin-right: 10px;
      padding: 8px 16px;
      border: none;
      color: white;
      background-color: #4CAF50;
      border-radius: 5px;
      cursor: pointer;
    }

    .material-content button:last-child {
      background-color: #f44336;
    }

    @keyframes fadeIn {
      from { opacity: 0; transform: translateY(-5px); }
      to { opacity: 1; transform: translateY(0); }
    }