/* style.css */
/* Enhanced Profile Popup Styles */




/* जब तक जावास्क्रिप्ट लोड न हो, तब तक इन दोनों को छिपा कर रखें */
      /* visibility:hidden लेआउट को बिगड़ने से बचाता है */
      .auth-buttons, .user-profile {
        visibility: hidden;
      }
.profile-popup {
    position: fixed;
    top: 70px;
    right: 20px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    width: 300px;
    z-index: 1001;
    display: none;
    border: 1px solid rgba(0,0,0,0.05);
    overflow: hidden;
    font-family: 'Segoe UI', 'Roboto', sans-serif;
}

.profile-header-bg {
    position: relative;
    padding: 25px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.profile-header-content {
    display: flex;
    align-items: center;
    gap: 15px;
}

.profile-avatar-large {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(45deg, rgba(255,255,255,0.2), rgba(255,255,255,0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: bold;
    color: white;
    flex-shrink: 0;
    border: 2px solid rgba(255,255,255,0.3);
}

.profile-info h4 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.profile-info p {
    margin: 5px 0 0;
    font-size: 0.85rem;
    opacity: 0.9;
}

.profile-menu {
    padding: 10px 0;
}

.profile-item {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    text-decoration: none;
    color: #2d3748;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    cursor: pointer;
    background: none;
    border: none;
    width: 100%;
    text-align: left;
}

.profile-item:hover {
    background: #f7fafc;
    color: #4a5568;
}

.profile-icon {
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    font-size: 1.1rem;
}

.profile-badge {
    background: #e53e3e;
    color: white;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 10px;
    margin-left: auto;
}

.profile-divider {
    height: 1px;
    background: #e2e8f0;
    margin: 8px 0;
}

.profile-footer {
    padding: 12px 20px;
    background: #f8f9fa;
    border-top: 1px solid #e2e8f0;
    font-size: 0.8rem;
    color: #718096;
    text-align: center;
}

#last-login {
    font-weight: 500;
    color: #0b0b0c;
}

/* User avatar hover effect */
.user-avatar {
    transition: all 0.3s ease;
    cursor: pointer;
}

.user-avatar:hover {
    transform: scale(1.1);
    box-shadow: 0 0 0 3px rgba(74,144,226,0.3);
}

/* Animation for popup */
@keyframes popupFadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.profile-popup.active {
    display: block;
    animation: popupFadeIn 0.3s ease-out;
}
.user-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}
.modal {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.5);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.modal-content {
  background: white;
  padding: 2rem;
  border-radius: 0.5rem;
  max-width: 400px;
  width: 90%;
  position: relative;
}
/* Profile Modal Styles */
.profile-photo-upload label {
  transition: all 0.3s ease;
}

.profile-photo-upload label:hover .upload-text {
  background: rgba(0,0,0,0.7);
}

.upload-text {
  transition: background 0.3s ease;
}

#profileForm input:read-only {
  cursor: not-allowed;
  background-color: #f3f4f6;
}

#profileForm input {
  transition: all 0.3s ease;
  border: 1px solid #e5e7eb;
}

#profileForm input:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

/* Header Styling */
body.pre-login-mode header {
    background: linear-gradient(90deg, #ee663d, #32f23b);
    color: #050404;
}

body.pre-login-mode #home-section h1 {
    color: #f1faee;
}

body.pre-login-mode #home-section p {
    color: #f8f9fa;
}

body.pre-login-mode .auth-buttons button {
    box-shadow: 0 4px 12px rgba(4, 231, 30, 0.2);
}

.feature-card {
    position: relative;
    background: linear-gradient(to right, #FF9933, #FFFFFF, #138808);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 2px solid #06090e;
}

.feature-card h3 {
    color: #01227d;
    font-size: 8 rem;
    margin: 1rem 0;
}

.feature-card p {
    color: #060101;
    font-size: 1rem;
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: inline-block;
    transition: transform 0.3s ease;
}

.feature-card:hover .card-icon {
    transform: rotate(360deg);
}

.shine {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.3), transparent);
    transform: rotate(45deg);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { left: -50%; }
    100% { left: 150%; }
}

.animate-slide-in {
    animation: slideIn 1s ease-out;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.feature-point {
    padding: 1.5rem;
    background: #0d7cec;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.feature-point:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px white;
}

.feature-point p {
    margin-top: 1rem;
    font-weight: 600;
    color: #1e3a8a;
}
/* my photo in home page */
.profile-image-container {
  margin-top: 20px;
  text-align: center;
}

.profile-image-container img {
  width: 5px;
  height: 10px;
  border-radius: 50%;
  border: 4px solid #4a90e2;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Bounce-in effect for the right side heading */
@keyframes bounceIn {
  0% {
    opacity: 0;
    transform: translateY(-30px) scale(0.8);
  }
  60% {
    opacity: 1;
    transform: translateY(10px) scale(1.05);
  }
  100% {
    transform: translateY(0) scale(1);
  }
}

.bounce-in {
  animation: bounceIn 0.7s ease forwards;
}

/* Fade in paragraph */
.fade-in {
  animation: fadeIn 1.5s ease forwards;
  opacity: 0;
  animation-delay: 0.5s;
  animation-fill-mode: forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}
/*highlight function*/
nav a.active {
  background: white !important;
  color: #4a90e2 !important;
  font-weight: bold;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transform: translateY(-2px);
}
/* Courses Page Styles */
.courses-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    margin-bottom: 2rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    flex-wrap: wrap;
}

.courses-nav button {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    border: 2px solid #4a90e2;
    background: white;
    color: #4a90e2;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 180px;
    justify-content: center;
}

.courses-nav button:hover {
    background: #4a90e2;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 14px rgba(74, 144, 226, 0.4);
}

.courses-nav button.active {
    background: #4a90e2;
    color: white;
    box-shadow: 0 4px 8px rgba(74, 144, 226, 0.3);
}

.courses-nav button img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.course-page-content {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    min-height: 900px;
}

.course-title {
    font-size: 2rem;
    color: #1e3a8a;
    margin-bottom: 1rem;
    text-align: center;
}

.course-description {
    font-size: 1.1rem;
    color: #4b5563;
    text-align: center;
    margin-bottom: 2rem;
}

.course-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
}

@media (min-width: 768px) {
    .course-details {
        flex-direction: row;
        align-items: center;
    }
}

.course-image {
    border-radius: 12px;
    width: 100%;
    max-width: 500px;
    height: auto;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.course-info {
    flex: 1;
}

.course-info h3 {
    font-size: 1.5rem;
    color: #1e3a8a;
    margin-bottom: 1rem;
}

.course-info ul {
    list-style-type: disc;
    padding-left: 1.5rem;
    margin-bottom: 2rem;
}

.course-info li {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    color: #4b5563;
}

.start-quiz-btn {
    background: linear-gradient(to right, #4a90e2, #5a67d8);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.3);
}
.start-quiz-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(74, 144, 226, 0.4);
}

#currentAffairsContent {
  display: none;
}

.button-group {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  justify-content: space-around;
}

.custom-button {
  padding: 1rem 2rem;
  font-size: 1.125rem;
  font-weight: 600;
  border-radius: 1rem;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  border: none;
  transition: all 0.2s ease;
  cursor: pointer;
  min-width: 220px;
  text-align: center;
}

.custom-button:hover {
  transform: scale(1.05);
}

.green { 
  background-color: #16a34a; 
  color: white; 
}
.green:hover { 
  background-color: #15803d; 
}

.blue { 
  background-color: #2563eb; 
  color: white; 
}
.blue:hover { 
  background-color: #1d4ed8; 
}

.purple { 
  background-color: #7c3aed; 
  color: white; 
}
.purple:hover { 
  background-color: #6b21a8; 
}

.orange { 
  background-color: #ea580c; 
  color: white; 
}
.orange:hover { 
  background-color: #c2410c; 
}

.search-input {
  flex: 1;
  padding: 0.5rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  font-size: 1rem;
}

.search-button {
  padding: 0.5rem 1.5rem;
  background-color: #2563eb;
  color: white;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.2s ease;
}

.search-button:hover {
  background-color: #1d4ed8;
}

.placeholder-box {
  min-height: 300px;
  border: 2px dashed #d1d5db;
  background-color: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  color: #64748b;
  font-size: 1.125rem;
}

/* Tab system styles */
.tab-btn {
  background-color: white;
  border: 2px solid #4a90e2;
  color: #4a90e2;
  font-weight: bold;
  padding: 0.7rem 1.5rem;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.tab-btn:hover,
.tab-btn.active {
  background-color: #4a90e2;
  color: white;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.tab-content {
  margin-top: 1rem;
  background: #ffffff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.08);
}

.tab-content.hidden {
  display: none;
}

.card {
  background: white;
  padding: 1.5rem;
  margin-top: 1rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  border-radius: 0.75rem;
}
.hidden {
  display: none;
}

/* Section Backgrounds */
#daily-quiz-section {
    background-color: #178e02;
}

#learn-free-section {
    background-image: linear-gradient(135deg, #6c52e2 0%, #1e293b 100%);
}

#learn-free-section h1 span {
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

/* Blurred Background Section */
#features-section {
    position: relative;
    overflow: hidden;
}

#features-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; 
    filter: blur(1px);
    transform: scale(1.1);
}

/* =============================================================== */
/* == सेक्शन 2 (डेली क्विज़ कार्ड) के लिए फाइनल और सही स्टाइल्स == */
/* =============================================================== */

/* 1. कार्ड के टॉप पर आइकन का स्टाइल */
.card-top-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    display: block;
    object-fit: cover;
    border: 2px solid #a5b4fc;
}

/* 2. सभी कार्ड्स के लिए बेस स्टाइल और स्मूथ ट्रांजीशन */
.daily-quiz-card {
    background: linear-gradient(to bottom, #f9f6ee, #d4b987);
    min-height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: transform 0.3s ease, opacity 0.3s ease, box-shadow 0.3s ease;
}

/* 3. जब कर्सर कार्ड्स के कंटेनर पर आए, तो बाकी कार्ड्स पर लगने वाला इफ़ेक्ट */
#daily-quiz-cards-container:hover .daily-quiz-card {
    transform: scale(0.92);
    opacity: 0.6;
}

/* 4. जिस खास कार्ड पर कर्सर है, उस पर लगने वाला ट्रांजीशन इफ़ेक्ट */
#daily-quiz-cards-container .daily-quiz-card:hover {
    opacity: 1;
    transform: scale(1.05) translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

/* =============================================== */
/* ==      NEW: 3D Book Styles                  == */
/* =============================================== */

/* Grid container to set the 3D perspective */
.book-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 4rem;
    justify-items: center;
    perspective: 1500px;
}

/* The main container for each book card */
.book-card {
    width: 220px;
    height: 300px;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.7s cubic-bezier(0.25, 1, 0.5, 1);
    cursor: pointer;
}

.book-card:hover {
    transform: rotateY(-35deg) translateZ(10px);
}

/* The front cover of the book */
.book-cover {
    position: absolute;
    width: 100%;
    height: 100%;
    transform-origin: left;
    border-radius: 3px 8px 8px 3px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    color: white;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    font-family: 'Georgia', serif;
}

/* The spine of the book (side part) */
.book-card::before {
    content: '';
    position: absolute;
    left: 3px;
    top: 5px;
    width: 35px;
    height: 290px;
    transform: translateX(-100%) rotateY(90deg);
    transform-origin: right;
    border-radius: 5px 0 0 5px;
}

/* The pages of the book */
.book-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: -2px;
    width: 98%;
    height: 98%;
    background: #fdfaf4;
    transform: translateZ(-35px);
    border-radius: 3px;
    box-shadow: 
      -1px 1px 2px rgba(0,0,0,0.1),
      -3px 1px 3px rgba(0,0,0,0.1),
      -5px 1px 4px rgba(0,0,0,0.1);
}

/* Different color schemes for books */
.book-color-1 { background: linear-gradient(135deg, #0D47A1, #1976D2); }
.book-color-2 { background: linear-gradient(135deg, #4A148C, #8E24AA); }
.book-color-3 { background: linear-gradient(135deg, #BF360C, #F4511E); }
.book-color-4 { background: linear-gradient(135deg, #004D40, #00897B); }

/* Applying spine colors based on the cover color */
.book-color-1 + .book-cover::before, .book-card:has(.book-color-1)::before { background: #0D47A1; }
.book-color-2 + .book-cover::before, .book-card:has(.book-color-2)::before { background: #4A148C; }
.book-color-3 + .book-cover::before, .book-card:has(.book-color-3)::before { background: #BF360C; }
.book-color-4 + .book-cover::before, .book-card:has(.book-color-4)::before { background: #004D40; }


/* Styling for elements on the book cover */
.book-bookmark {
    position: absolute;
    top: -5px;
    right: 30px;
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.3);
}

.book-title-section {
    text-align: center;
    margin-top: 3rem;
}

.book-title {
    font-size: 2rem;
    font-weight: bold;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.4);
}

.book-subtitle {
    font-size: 1rem;
    font-style: italic;
    opacity: 0.8;
}

.book-author-section {
    border-top: 1px solid rgba(255, 255, 255, 0.4);
    padding-top: 10px;
    text-align: center;
}

.book-author {
    font-size: 0.9rem;
    font-weight: lighter;
    letter-spacing: 1px;
}
/* =============================================== */
/* == Bookshelf Background for Train Section    == */
/* =============================================== */

.bookshelf-bg {
    position: relative;
    /* A beautiful library image from Pexels, with a light overlay for readability */
    background-image: 
        linear-gradient(rgba(243, 244, 246, 0.85), rgba(243, 244, 246, 0.95)), 
      url('images/bgbanner.jpeg'); /* <-- सही तरीका यह है */
    
    background-size: cover; /* पूरी जगह में फिट होने के लिए */
    background-position: center center; /* इमेज को सेंटर में रखने के लिए */
    background-attachment: fixed; /* स्क्रॉल करने पर बैकग्राउंड स्थिर रहेगा (Parallax Effect) */
    
    /* सेक्शन को और गहरा दिखाने के लिए हल्का सा इनर शैडो */
    box-shadow: inset 0 10px 20px -10px rgba(0,0,0,0.3), 
                inset 0 -10px 20px -10px rgba(0,0,0,0.3);
}

/* सेक्शन की हेडिंग पर हल्की परछाई ताकि वो साफ दिखे */
.section-title-shadow {
    text-shadow: 0px 2px 4px rgba(255, 255, 255, 0.7);
}

/* --- Logo Slider Styles --- */
.logo-slider-container {
    background: #91c2f4;
    border-top: 1px solid #000000;
    border-bottom: 1px solid #0a0b0b;
    padding: 1rem 0;
    width: 100%;
    overflow: hidden;
    position: relative;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.logo-slider-container:before,
.logo-slider-container:after {
    content: '';
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
}

.logo-slider-container:before {
    left: 0;
    background: linear-gradient(to left, rgba(248, 249, 250, 0), #f8f9fa);
}

.logo-slider-container:after {
    right: 0;
    background: linear-gradient(to right, rgba(248, 249, 250, 0), #f8f9fa);
}

.logo-slide-track {
    display: flex;
    /* (Number of logos) * (width of each logo + margin) * 2 */
    width: calc(200px * 14); 
    animation: horizontal-scroll 30s linear infinite;
}

.logo-slide-track:hover {
    animation-play-state: paused;
}

.slide {
    height: 30px;
    width: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 40px;
}

/* --- नया सही कोड --- */
/* --- नया सही कोड --- */
.slide img {
    height: 50px;          /* सभी लोगो के लिए एक फिक्स ऊंचाई */
    width: 150px;         /* सभी लोगो के लिए एक फिक्स चौड़ाई */
    object-fit: contain;  /* यह लोगो को बिना खींचे बॉक्स में फिट करेगा */
    opacity: 1;
    transition: all 0.3s ease;
}

.slide img:hover {
    /* filter: grayscale(0); <-- अब इस लाइन की ज़रूरत नहीं है */
    opacity: 0.9; /* कर्सर ले जाने पर हल्का सा फ़ेड इफ़ेक्ट (वैकल्पिक) */
    transform: scale(1.1);
}

@keyframes horizontal-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-200px * 7));
    }
}
/* ========================================================== */
/* == MOBILE RESPONSIVE HEADER STYLES (मोबाइल के लिए कोड) == */
/* ========================================================== */

/* यह कोड सिर्फ तभी काम करेगा जब स्क्रीन की चौड़ाई 768px या उससे कम होगी। */
@media (max-width: 768px) {

    /* 1. पूरे हेडर को एडजस्ट करना */
    header {
        padding-left: 1rem;  /* बाईं ओर से स्पेस कम करना */
        padding-right: 1rem; /* दाईं ओर से स्पेस कम करना */
        gap: 1rem;           /* लोगो, मेनू और बटन के बीच स्पेस देना */
    }

    /* 2. बाईं ओर लोगो और नाम को छोटा करना */
    header .logo {
        flex-shrink: 0; /* इसे सिकुड़ने से रोकना */
    }
    header .logo img {
        height: 32px; /* लोगो की ऊंचाई कम करना */
        margin-right: 0.5rem;
    }
    header .logo span {
        font-size: 1rem; /* नाम का फॉन्ट साइज छोटा करना */
    }

    /* 3. बीच के मेनू (Navigation) को स्क्रॉल करने योग्य बनाना */
    header nav {
        display: flex; /* इसे फ्लेक्स कंटेनर बनाना */
        flex: 1; /* बची हुई पूरी जगह लेना */
        overflow-x: auto; /* सबसे ज़रूरी: हॉरिजॉन्टल स्क्रॉल को चालू करना */
        white-space: nowrap; /* सभी बटनों को एक ही लाइन में रखना, टूटने से रोकना */
        -webkit-overflow-scrolling: touch; /* iOS पर स्मूथ स्क्रॉलिंग के लिए */
        scrollbar-width: none; /* Firefox में स्क्रॉलबार छिपाना */
    }

    /* Webkit ब्राउजर (Chrome, Safari) में स्क्रॉलबार छिपाना */
    header nav::-webkit-scrollbar {
        display: none;
    }

    header nav a.nav-link {
        flex: 0 0 auto; /* बटन को उनके कंटेंट के अनुसार चौड़ाई देना */
        padding: 0.5rem 0.8rem; /* बटन के अंदर स्पेस कम करना */
        font-size: 0.875rem; /* बटन का फॉन्ट साइज छोटा करना */
    }

    /* 4. दाईं ओर के बटन और प्रोफाइल आइकन को छोटा करना */
    header .auth-container {
        flex-shrink: 0; /* इसे सिकुड़ने से रोकना */
    }

    header .auth-buttons button {
        padding: 0.3rem 0.6rem; /* लॉगिन/साइनअप बटन का साइज छोटा करना */
        font-size: 0.75rem;
    }
    
    /* लॉगिन के बाद दिखने वाले प्रोफाइल आइकन को छोटा करना */
    header .user-profile .user-avatar {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }

    header .user-profile::before {
        display: none; /* प्रोफाइल के आगे वाला छोटा तीर हटाना */
    }
    
    /* हेडर में जोड़े गए नए नोटिफिकेशन आइकन को एडजस्ट करना */
    header #header-notification-icon {
        font-size: 1.25rem; /* 2xl से 1.25rem करना */
        margin-right: 0.5rem; /* मार्जिन कम करना */
    }
}
/* ========================================================== */
/* == MOBILE RESPONSIVE HEADER STYLES (मोबाइल के लिए नया कोड) == */
/* ========================================================== */

/* यह कोड सिर्फ तभी काम करेगा जब स्क्रीन की चौड़ाई 768px या उससे कम होगी। */
@media (max-width: 768px) {

    /* 1. डेस्कटॉप वाला मेनू छिपाएं */
    header nav.hidden.md\:flex {
        display: none;
    }

    /* 2. लोगो और वेबसाइट का नाम छोटा करें */
    .mobile-logo {
        height: 32px; /* लोगो की ऊंचाई */
        margin-right: 8px; /* नाम और लोगो के बीच की दूरी */
    }
    .mobile-site-name {
        font-size: 1.1rem; /* वेबसाइट के नाम का फॉन्ट साइज़ */
    }

    /* 3. लॉगिन/साइन अप बटन छोटे करें */
    .mobile-auth-btn {
        padding: 4px 10px; /* बटन के अंदर की स्पेसिंग */
        font-size: 0.8rem; /* बटन का फॉन्ट साइज़ */
    }
    
    /* 4. पॉप-अप मेनू की स्टाइलिंग */
    #mobile-nav-popup {
        /* Pop-up is already styled with Tailwind classes in HTML */
        /* You can add more styles here if needed */
        border: 1px solid #e5e7eb;
    }
    
    /* 5. पॉप-अप के अंदर स्क्रॉलबार की स्टाइलिंग (Optional) */
    #mobile-nav-links::-webkit-scrollbar {
        width: 5px;
    }

    #mobile-nav-links::-webkit-scrollbar-track {
        background: #f1f1f1;
    }

    #mobile-nav-links::-webkit-scrollbar-thumb {
        background: #888;
        border-radius: 5px;
    }

    #mobile-nav-links::-webkit-scrollbar-thumb:hover {
        background: #555;
    }
}

/* अगर पॉप-अप खुला है, तो बाहर क्लिक करने पर उसे बंद करने के लिए बैकड्रॉप (Optional) */
#mobile-nav-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 30; /* पॉप-अप से कम z-index */
}

/*section-1*/
/* ======================================================= */
/* == NEW: Professional Hero Section (SECTION-1) STYLES == */
/* ======================================================= */

/* The main section container */
.hero-v2 {
    background: #1A237E; /* Deep blue background */
    padding: 60px 0;
    color: #fff;
    position: relative;
    overflow: hidden; /* Essential for containing the diagonal shape */
    min-height: 400px; /* <-- यह नई लाइन जोड़ें */
}

/* This pseudo-element creates the yellow diagonal shape */
.hero-v2::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-color: #ffc107; /* Bright yellow color */
    /* This clip-path creates the triangle shape from the right side */
    clip-path: polygon(80% 0, 100% 0, 100% 100%, 60% 100%); 
    z-index: 0; /* Places the shape behind the content */
}

/* Container for all content (text and image) */
.hero-v2 .hero-container {
    position: relative; /* Must be relative to stay on top of the shape */
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 40px;
}

/* Left side: Text content */
.hero-v2 .hero-content {
    flex: 1; /* Takes up the available space */
    padding-left: 3rem; /* यह लाइन टेक्स्ट को दाईं ओर खिसकाएगी */
}

.hero-v2 .hero-title {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-v2 .hero-description {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 550px;
    margin-bottom: 2.5rem;
}

/* Container for the buttons */
.hero-v2 .hero-buttons {
    display: flex;
    gap: 20px;
}

/* Styling for the new yellow buttons */
.hero-v2 .hero-btn {
    display: inline-block;
    background-color: #ffc107; /* Button yellow color */
    color: #070708;           /* Dark blue text for high contrast */
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    text-align: center;
    text-decoration: none;
    border: 2px solid #ffc107;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

/* Hover effect and animation for buttons */
.hero-v2 .hero-btn:hover {
    background-color: #ffd040; /* Lighter yellow on hover */
    transform: translateY(-5px); /* Button lifts up on hover */
    box-shadow: 0 10px 25px rgba(255, 193, 7, 0.4);
}

/* Right side: Image container */
.hero-v2 .hero-image-container {
    flex-shrink: 0;
    width: 45%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative; /* यह लाइन जोड़ें */
    left: -60px;         /* यह लाइन इमेज को दाईं ओर खिसकाएगी */
}

/* The student image itself */
.hero-v2 .hero-student-img {
    max-width: 560px; /* साइज़ को 480px से 520px किया गया */
    width: 100%;
    height: auto;
    animation: float 6s ease-in-out infinite;
    /* स्मूथ इफ़ेक्ट को 75% से 85% किया गया */
    mask-image: linear-gradient(to bottom, black 85%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 85%, transparent 100%);
}

/* Keyframes for the floating image animation */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}


/* ==================================================== */
/* == Responsive Design for Mobile and Tablets       == */
/* ==================================================== */

/* For tablets */
@media (max-width: 992px) {
    .hero-v2 .hero-title { font-size: 2.8rem; }
    .hero-v2::after {
        /* Adjust the diagonal shape for smaller screens */
        clip-path: polygon(75% 0, 100% 0, 100% 100%, 55% 100%);
    }
}

/* For mobile phones */
@media (max-width: 768px) {
    .hero-v2 { padding: 40px 0; }

    .hero-v2 .hero-container {
        flex-direction: column; /* Stacks image on top of text */
        text-align: center;
    }

    /* On mobile, the yellow shape is a simpler block at the bottom */
    .hero-v2::after {
        clip-path: none; /* Remove diagonal shape */
        height: 55%;     /* Cover the bottom half of the section */
    }

    .hero-v2 .hero-image-container {
        width: 100%;
        order: -1; /* Puts the image on top of the text */
        margin-bottom: -2rem; /* Pulls image down slightly over the text area */
    }

    .hero-v2 .hero-student-img {
        max-width: 340px; /* Make image smaller for mobile */
        animation: none;  /* Disable floating animation on mobile if preferred */
    }
    
    .hero-v2 .hero-content {
        padding: 0;
    }
    
    .hero-v2 .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-v2 .hero-buttons {
        justify-content: center; /* Center buttons horizontally */
        flex-direction: column;  /* Stack buttons vertically */
        align-items: center;
    }
}
/* =================================================== */
/* == Absolutely Positioned Hero Points (New Method) == */
/* =================================================== */

.hero-key-points-absolute {
    position: absolute; /* सबसे ज़रूरी: यह लेआउट के फ्लो से बाहर आ जाता है */
    top: 50%;
    left: 45%; /* बाईं ओर से पोजीशन (इसे आप बदल सकते हैं) */
    transform: translateY(-50%); /* वर्टिकली सेंटर करने के लिए */
    
    list-style: none;
    padding: 0;
    z-index: 2; /* यह पॉइंट्स को पीले बैकग्राउंड के ऊपर रखेगा */
}

.hero-key-points-absolute li {
    display: flex;
    align-items: center;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 0.8rem;
    font-weight: 500;
    white-space: nowrap; /* यह टेक्स्ट को एक लाइन में रखेगा */
}

.hero-key-points-absolute .fa-check-circle {
    color: #00b00c;
    margin-right: 0.75rem;
    font-size: 1.1rem;
}

/* --- मोबाइल के लिए --- */
/* मोबाइल पर इन पॉइंट्स को छिपा दें ताकि वे कंटेंट के ऊपर न आएं */
@media (max-width: 768px) {
    .hero-key-points-absolute {
        display: none;
    }
}
/* == HERO SECTION - PROFESSIONAL SEARCH BOX            == */
/* ======================================================= */

/* यह सुनिश्चित करें कि hero-v2 में position: relative; है */
.hero-v2 {
    position: relative;
    /* (आपके बाकी स्टाइल्स यहाँ रहेंगे) */
}


/* सर्च बॉक्स का मुख्य कंटेनर */
.hero-search-box {
    position: absolute;   /* सबसे ज़रूरी लाइन */
    top: 25px;            /* ऊपर से दूरी */
    right: 40px;          /* दाईं ओर से दूरी (यह इसे दाईं ओर रखता है) */
    z-index: 10;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50px;
    padding: 6px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.25);
}

/* (बाकी का CSS कोड जैसा दिया गया था) */
.hero-search-box .search-input {
    width: 200px;
    border: none;
    outline: none;
    background: transparent;
    padding: 0 15px;
    color: #1A237E;
    font-size: 1rem;
    font-weight: 500;
}
.hero-search-box .search-input::placeholder {
    color: #4c5a9e;
}
.hero-search-box .search-btn {
    width: 35px;
    height: 28px;
    flex-shrink: 0;
    border-radius: 50%;
    background: #0cc802;
    color: #1A237E;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .hero-search-box {
        display: none;
    }
}
/* ========================================================== */
/* == COMPREHENSIVE MOBILE RESPONSIVE STYLES (768px or less) == */
/* ========================================================== */

@media (max-width: 768px) {

    /* --- General Body & Layout --- */
    body {
        -webkit-text-size-adjust: 100%; /* iOS में फॉन्ट को ज़ूम होने से रोकता है */
    }

    /* --- Header --- */
    /* मोबाइल मेनू के लिए हेडर की डिफ़ॉल्ट पैडिंग को एडजस्ट करना */
    header {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    /* --- Logo Slider --- */
    .logo-slider-container {
        padding: 0.5rem 0; /* ऊंचाई कम करें */
    }
    .slide img {
        height: 35px; /* लोगो का साइज़ छोटा करें */
        width: 100px;
    }
    .logo-slider-container:before,
    .logo-slider-container:after {
        width: 50px; /* फेड-आउट इफ़ेक्ट को कम करें */
    }

    /* --- Section 1: Hero Section --- */
    .hero-v2 {
        padding: 20px 0 40px 0; /* ऊपर-नीचे की पैडिंग एडजस्ट करें */
        min-height: auto; /* मिनिमम ऊंचाई हटाएं */
    }

    .hero-v2 .hero-container {
        flex-direction: column; /* एलिमेंट्स को एक के नीचे एक लाएं */
        text-align: center;
        gap: 0; /* बीच का गैप हटाएं */
    }

    /* पीले डायगोनल बैकग्राउंड को हटाकर एक सिंपल पीला ब्लॉक बनाएं */
    .hero-v2::after {
        clip-path: none;
        height: 60%;     /* सेक्शन के निचले 60% हिस्से को कवर करें */
        top: auto;       /* ऊपर से हटाकर */
        bottom: 0;       /* नीचे से चिपका दें */
        z-index: 0;
    }

    /* छात्र की इमेज */
    .hero-v2 .hero-image-container {
        width: 85%; /* इमेज कंटेनर की चौड़ाई */
        order: -1; /* इमेज को टेक्स्ट के ऊपर रखें */
        margin-bottom: -1rem; /* इमेज और टेक्स्ट के बीच ओवरलैप */
        left: 0; /* बाईं ओर की खिसकन रीसेट करें */
    }

    .hero-v2 .hero-student-img {
        max-width: 320px; /* मोबाइल पर इमेज का साइज़ */
        animation: none;  /* फ्लोटिंग एनीमेशन बंद करें */
        mask-image: none; /* नीचे से फेड इफ़ेक्ट हटा दें */
        -webkit-mask-image: none;
    }

    /* टेक्स्ट कंटेंट */
    .hero-v2 .hero-content {
        padding: 0 1rem; /* साइड से पैडिंग दें */
        position: relative;
        z-index: 1; /* कंटेंट को पीले बैकग्राउंड के ऊपर रखें */
    }

    .hero-v2 .hero-title {
        font-size: 2.2rem; /* हेडिंग का फॉन्ट साइज़ छोटा करें */
        line-height: 1.2;
        margin-bottom: 1rem;
    }

    .hero-v2 .hero-description {
        font-size: 1rem;
        margin-bottom: 1.5rem;
        color: rgba(255, 255, 255, 0.85);
    }
    
    /* बटन */
    .hero-v2 .hero-buttons {
        justify-content: center; /* बटन को सेंटर में लाएं */
        flex-direction: column;  /* बटन को एक के नीचे एक लाएं */
        align-items: center;
        gap: 15px; /* बटन के बीच गैप */
    }

    .hero-v2 .hero-btn {
        padding: 12px 28px;
        font-size: 0.95rem;
        width: 80%; /* बटन की चौड़ाई बढ़ाएं */
    }

    /* की-पॉइंट्स (Daily Quiz, Free PDF, etc.) */
    /* इन्हें छिपाने के बजाय टेक्स्ट के नीचे दिखाएं */
    .hero-key-points-absolute {
        display: block; /* इन्हें दिखाएं */
        position: static; /* Absolute पोजीशन हटाएं */
        transform: none; /* ट्रांसफॉर्म रीसेट करें */
        margin-top: 2rem;
        padding: 0 1rem;
        z-index: 1;
        color: #1A237E; /* गहरा नीला रंग ताकि पीले बैकग्राउंड पर दिखे */
    }

    .hero-key-points-absolute li {
        justify-content: center; /* पॉइंट्स को सेंटर में लाएं */
        margin-bottom: 0.5rem;
        font-size: 0.9rem;
    }
    
    .hero-key-points-absolute .fa-check-circle {
       color: #1e88e5; /* आइकॉन का रंग बदलें */
    }

    /* सर्च बॉक्स छिपाएं (यह पहले से है, बस कन्फर्म कर रहा हूँ) */
    .hero-search-box {
        display: none;
    }

    /* --- Daily Quiz Section --- */
    #daily-quiz-section {
        padding: 3rem 1rem; /* साइड की पैडिंग कम करें */
    }
    
    .daily-quiz-card {
        min-height: auto; /* मिनिमम ऊंचाई हटाएं */
        padding: 1.5rem;
    }
    
    #daily-quiz-cards-container:hover .daily-quiz-card {
        transform: none; /* मोबाइल पर होवर इफ़ेक्ट बंद करें */
        opacity: 1;
    }

    /* --- Learn Free Section --- */
    #learn-free-section h1 {
        font-size: 2.5rem; /* हेडिंग का साइज़ छोटा करें */
    }
    
    /* --- फाउंडर की फोटो --- */
    .fixed.top-20.left-4 {
      width: 60px; /* फोटो का साइज़ */
      height: 60px;
      top: 80px; /* ऊपर से थोड़ी ज्यादा दूरी */
      left: 10px;
    }
    
    /* --- Footer --- */
    footer .grid {
      text-align: center; /* फुटर टेक्स्ट को सेंटर में करें */
    }
    footer .flex {
      justify-content: center; /* सोशल आइकॉन को सेंटर में करें */
    }
}
/* ========================================================== */
/* == FINAL MOBILE RESPONSIVE STYLES (UPDATED)             == */
/* ========================================================== */

@media (max-width: 768px) {

    /* --- Section 1: Hero Section --- */

    /* 1. सर्च बॉक्स को मोबाइल पर दिखाना और एडजस्ट करना */
    .hero-search-box {
        display: flex !important; /* !important लगाकर यह सुनिश्चित करें कि यह दिखे */
        top: 15px;      /* ऊपर से दूरी कम करें */
        right: 15px;    /* दाईं ओर से दूरी कम करें */
        padding: 4px;   /* अंदर की स्पेसिंग कम करें */
    }

    .hero-search-box .search-input {
        width: 150px;       /* इनपुट की चौड़ाई कम करें */
        font-size: 0.85rem; /* फॉन्ट साइज़ छोटा करें */
        padding: 0 10px;
    }

    .hero-search-box .search-btn {
        width: 32px;  /* बटन की चौड़ाई */
        height: 32px; /* बटन की ऊंचाई */
        font-size: 0.9rem; /* आइकॉन का साइज़ */
        background: #ffc107; /* बटन का रंग पीला करें */
    }

    /* 2. ENROLL NOW और 100% FREE बटनों का रंग बदलना */
    .hero-v2 .hero-buttons {
        justify-content: center;
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    /* पहला बटन (ENROLL NOW) */
    .hero-v2 .hero-btn:first-of-type {
        background-color: #ffffff; /* बैकग्राउंड - सफ़ेद */
        color: #1A237E;           /* टेक्स्ट का रंग - गहरा नीला */
        border: 2px solid #1A237E; /* बॉर्डर - गहरा नीला */
        width: 80%;
        padding: 12px 28px;
        font-size: 0.95rem;
    }

    /* दूसरा बटन (100% FREE) */
    .hero-v2 .hero-btn:last-of-type {
        background-color: #1A237E; /* बैकग्राउंड - गहरा नीला */
        color: #ffffff;           /* टेक्स्ट का रंग - सफ़ेद */
        border: 2px solid #1A237E; /* बॉर्डर - गहरा नीला */
        width: 80%;
        padding: 12px 28px;
        font-size: 0.95rem;
    }

    /* --- बाकी सभी मोबाइल स्टाइल्स वैसे ही रहेंगे --- */
    body {
        -webkit-text-size-adjust: 100%;
    }
    header {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    .logo-slider-container {
        padding: 0.5rem 0;
    }
    .slide img {
        height: 35px;
        width: 100px;
    }
    .logo-slider-container:before,
    .logo-slider-container:after {
        width: 50px;
    }
    .hero-v2 {
        padding: 20px 0 40px 0;
        min-height: auto;
    }
    .hero-v2 .hero-container {
        flex-direction: column;
        text-align: center;
        gap: 0;
    }
    .hero-v2::after {
        clip-path: none;
        height: 60%;
        top: auto;
        bottom: 0;
        z-index: 0;
    }
    .hero-v2 .hero-image-container {
        width: 85%;
        order: -1;
        margin-bottom: -1rem;
        left: 0;
    }
    .hero-v2 .hero-student-img {
        max-width: 320px;
        animation: none;
        mask-image: none;
        -webkit-mask-image: none;
    }
    .hero-v2 .hero-content {
        padding: 0 1rem;
        position: relative;
        z-index: 1;
    }
    .hero-v2 .hero-title {
        font-size: 2.2rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }
    .hero-v2 .hero-description {
        font-size: 1rem;
        margin-bottom: 1.5rem;
        color: rgba(255, 255, 255, 0.85);
    }
    .hero-key-points-absolute {
        display: block;
        position: static;
        transform: none;
        margin-top: 2rem;
        padding: 0 1rem;
        z-index: 1;
        color: #1A237E;
    }
    .hero-key-points-absolute li {
        justify-content: center;
        margin-bottom: 0.5rem;
        font-size: 0.9rem;
    }
    .hero-key-points-absolute .fa-check-circle {
       color: #1e88e5;
    }
    #daily-quiz-section {
        padding: 3rem 1rem;
    }
    .daily-quiz-card {
        min-height: auto;
        padding: 1.5rem;
    }
    #daily-quiz-cards-container:hover .daily-quiz-card {
        transform: none;
        opacity: 1;
    }
    #learn-free-section h1 {
        font-size: 2.5rem;
    }
    .fixed.top-20.left-4 {
      width: 60px;
      height: 60px;
      top: 80px;
      left: 10px;
    }
    footer .grid {
      text-align: center;
    }
    footer .flex {
      justify-content: center;
    }
}
/* ============================================================= */
/* == FINAL & COMPLETE MOBILE RESPONSIVE STYLES (EASY METHOD) == */
/* ============================================================= */

@media (max-width: 768px) {

    /* --- 1. जेनरल सेटिंग्स --- */
    body, html {
        width: 100%;
        overflow-x: hidden !important; /* हॉरिजॉन्टल स्क्रॉल को सख्ती से रोकें */
        -webkit-text-size-adjust: 100%;
    }

    /* --- 2. हेडर --- */
    header {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }

    /* --- 3. लोगो स्लाइडर (एनीमेशन के साथ) --- */
    .logo-slider-container {
        padding: 0.5rem 0 !important;
    }
    .slide {
        width: 140px !important; /* हर लोगो के लिए स्पेस */
    }
    .slide img {
        width: 100px !important; /* लोगो का साइज़ */
        height: 35px !important;
        max-width: 100px !important;
    }
    .logo-slider-container:before,
    .logo-slider-container:after {
        width: 50px !important;
    }
    .logo-slide-track {
        width: calc(140px * 16) !important; /* (16 लोगो) * (140px चौड़ाई) */
        animation: horizontal-scroll-mobile 40s linear infinite !important;
    }
    @keyframes horizontal-scroll-mobile {
        0% { transform: translateX(0); }
        100% { transform: translateX(calc(-140px * 8)); }
    }


    /* --- 4. सेक्शन-1 (हीरो सेक्शन) --- */
    .hero-v2 {
        padding: 20px 0 40px 0 !important;
        min-height: auto !important;
    }
    .hero-v2 .hero-container {
        flex-direction: column !important;
        text-align: center !important;
        gap: 0 !important;
    }
    .hero-v2::after {
        clip-path: none !important;
        height: 60% !important;
        top: auto !important;
        bottom: 0 !important;
        z-index: 0 !important;
    }
    .hero-v2 .hero-image-container {
        width: 85% !important;
        order: -1 !important;
        margin-bottom: -1rem !important;
        left: 0 !important;
    }
    .hero-v2 .hero-student-img {
        max-width: 320px !important;
        animation: none !important;
        mask-image: none !important;
        -webkit-mask-image: none !important;
    }
    .hero-v2 .hero-content {
        padding: 0 1rem !important;
        position: relative !important;
        z-index: 1 !important;
    }
    .hero-v2 .hero-title {
        font-size: 2.2rem !important;
        line-height: 1.2 !important;
        margin-bottom: 1rem !important;
    }
    .hero-v2 .hero-description {
        font-size: 1rem !important;
        margin-bottom: 1.5rem !important;
        color: rgba(255, 255, 255, 0.85) !important;
    }
    .hero-v2 .hero-buttons {
        justify-content: center !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 15px !important;
    }
    .hero-v2 .hero-btn {
        width: 80% !important;
        padding: 12px 28px !important;
        font-size: 0.95rem !important;
    }
    .hero-v2 .hero-btn:first-of-type {
        background-color: #ffffff !important;
        color: #1A237E !important;
        border: 2px solid #1A237E !important;
    }
    .hero-v2 .hero-btn:last-of-type {
        background-color: #1A237E !important;
        color: #ffffff !important;
        border: 2px solid #1A237E !important;
    }
    .hero-key-points-absolute {
        display: block !important;
        position: static !important;
        transform: none !important;
        margin-top: 2rem !important;
        padding: 0 1rem !important;
        z-index: 1 !important;
        color: #1A237E !important;
    }
    .hero-key-points-absolute li {
        justify-content: center !important;
        margin-bottom: 0.5rem !important;
        font-size: 0.9rem !important;
    }
    
    /* --- 5. सर्च बॉक्स (मोबाइल पर दिखेगा) --- */
    .hero-search-box {
        display: flex !important;
        position: absolute !important;
        top: 15px !important;
        right: 15px !important;
        padding: 4px !important;
        z-index: 20 !important;
        max-width: calc(100% - 30px) !important;
    }
    .hero-search-box .search-input {
        width: 150px !important;
        font-size: 0.85rem !important;
        padding: 0 10px !important;
    }
    .hero-search-box .search-btn {
        width: 32px !important;
        height: 32px !important;
        font-size: 0.9rem !important;
        background: #ffc107 !important;
    }

    /* --- 6. बाकी के सेक्शंस --- */
    #daily-quiz-section {
        padding: 3rem 1rem !important;
    }
    .daily-quiz-card {
        min-height: auto !important;
        padding: 1.5rem !important;
        transform: none !important;
        opacity: 1 !important;
    }
    #learn-free-section h1 {
        font-size: 2.5rem !important;
    }
    .book-grid {
        gap: 2rem !important;
    }
    .book-card:hover {
        transform: none !important;
    }

    /* --- 7. फाउंडर की फोटो --- */
    .fixed.top-20.left-4 {
      width: 60px !important;
      height: 60px !important;
      top: 80px !important;
      left: 10px !important;
    }
    
    /* --- 8. फुटर --- */
    footer .grid {
      text-align: center !important;
    }
    footer .flex {
      justify-content: center !important;
    }
}
/* ======================================================= */
/* == FOUNDER'S PHOTO OVER LOWER THIRD                   == */
/* ======================================================= */

.founder-photo {
    position: absolute;
    /* पोजीशन: लोअर थर्ड के ऊपर और पेज के सेंटर में */
    bottom: 35%; 
    left: 50%;
    transform: translateX(-50%);

    /* साइज़: फोटो का नया छोटा साइज़ */
    width: 77px; 
    height: 77px;

    /* स्टाइल: गोल आकार, बॉर्डर और शैडो */
    border-radius: 50%;
    border: 2px solid #020202;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
    z-index: 3; /* इसे बाकी कंटेंट के ऊपर रखने के लिए */
}

/* मोबाइल के लिए एडजस्टमेंट */
@media (max-width: 768px) {
    .founder-photo {
        width: 80px;
        height: 80px;
        bottom: 22%; /* मोबाइल पर पोजीशन थोड़ी अलग */
    }
}