
/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 3px;
}

::-webkit-scrollbar-track {
    background: #f0f2f5;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: #007B55;
    border-radius: 10px;
}

/* General Styles */
body {
    margin: 0;
    font-family: "Poppins", "Inter", "Segoe UI", sans-serif;
    color: #333;
    background: #FFFFFF;
    padding-top: 70px;
    transition: padding-top 0.3s;
}

.container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0px 30px;
}

/* Fixed Header with Blur */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: background 0.3s, backdrop-filter 0.3s;
    z-index: 1000;
    padding: 10px 20px;
    box-sizing: border-box;
    height: 80px; /* Assuming header height */
}

header.scrolled {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(15px);
}

.logo img {
    height: 75px;
    width: auto;
}


nav {
    display: flex;
    align-items: center;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    margin-right: 15px;
    display: flex;
    gap: 20px;
    transition: max-height 0.3s ease-out;
}

nav a {
    font-size: 0.9rem;
     font-family: "Poppins", "Inter", "Segoe UI", sans-serif;
    font-weight: 600;
    text-decoration: none;
    color: #333;
    transition: color 0.2s;
    width: 100%;
}

nav a:hover {
    color: red;
}

.nav-links li {
  display: flex;
  align-items: center;
}

.session-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.profile-link {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: inherit;
  font-weight: 500;
  padding: 8px 0; /* match other menu items */
}

.profile-img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #00a86b;
}
.logout-btn {
  white-space: nowrap;
  font-size: 14px;
  
  display: inline-flex;
  align-items: center;
  height: 32px; /* Match profile image height */
  margin: 0;     /* Remove any margin that pushes it down */
    background: #007B55;
    color: #FFFFFF;
    border: none;
    padding: 1px 12px;
    border-radius: 5px;
}

.logout-btn:hover{
    color: white;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    background: white;
    list-style: none;
    padding: 0;
    margin-top: 0px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    z-index: 100; /* Ensure dropdown is above other content */
    min-width: 150px;
    border-radius: 5px;
    top: 100%; /* Position below the dropdown trigger */
    left: 0; /* Align to the left of the dropdown */
}

.dropdown-menu li a {
    display: block;
    padding: 8px 16px;
    text-decoration: none;
    color: black;
}

.dropdown-menu li a:hover {
    background: #f0f0f0;
    color: red;
}

.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu {
    display: block;
}

/* Mobile Menu Icon */
.menu-icon {
    display: none;
    font-size: 1.5em;
    cursor: pointer;
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 1000; /* Ensure menu icon is above other content */
}

.menu-icon.active::before {
    content: '\2715'; /* Cross icon */
}

/* New Landing Section */
.landing-section {
    display: flex;
    justify-content: center;
    gap: 80px;
    align-items: center;
    padding: 20px 50px;
    margin-top: 0px;
    background-size: 30px 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    min-height: 200px;
}


.landing-section .content {
    max-width: 650px;
}

.landing-section h1 {
    font-size: 40px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    line-height: 1.2;
    
}

.landing-section #changing-captions {
    font-family: "Caveat", cursive;
    font-size: 24px;
    color: #007B55;
    font-weight: 500;
    margin-top: 20px;
    text-align: left;
}

.landing-section .intro-text {
    font-size: 18px;
    font-family: "Manrope", sans-serif;
    font-weight: 500;
    color: #555;
    line-height: 1.6;
    margin-top: 15px;
}

.arw{
    position: absolute;
    top: 200px; 
    left: 55%;
    font-size: 3.6rem;
}

.landing-section .whats-new {
    max-width: 350px;
    height: 250px;
    padding: 20px;
    background-color: white;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

/* Updated h3 with stylish underline */
.landing-section .whats-new h3 {
    font-family: "DM Serif Text", serif;
    font-size: 22px;
    margin-bottom: 20px;
    font-weight: 600;
    color: #333;
    position: relative;
    display: inline-block;
}

.landing-section .whats-new h3::after {
    content: "";
    display: block;
    width: 60%;
    height: 3px;
    background: #C70039;
    margin-top: 5px;
    border-radius: 5px;
}

/* Scroll container */
.whats-new-scroll {
    max-height: 180px;
    overflow: hidden;
    position: relative;
}

/* Scroll speed increased, and pause on hover */
.whats-new-scroll .scroll-wrapper {
    display: flex;
    flex-direction: column;
    animation: scrollNews 20s linear infinite;
    animation-delay: 2s;
}

.whats-new-scroll:hover .scroll-wrapper {
    animation-play-state: paused;
}

/* Each item styled with dot, smaller font */
.whats-new-scroll .news-item {
    padding: 6px 0;
    font-size: 14px;
    position: relative;
    padding-left: 18px;
}

.whats-new-scroll .news-item::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0;
    color: #C70039;
    font-size: 18px;
    line-height: 1.2;
}

.news-item a {
    color: #000;
    text-decoration: none;
    transition: color 0.3s;
}

.news-item a:hover {
    color: #C70039;
}

/* Keyframes for vertical scroll */
@keyframes scrollNews {
    0% { transform: translateY(0); }
    100% { transform: translateY(-100%); }
}


/* Buttons */
.green-btn {
    background: #005B40;
    
    color: #FFFFFF;
    border: none;
    padding: 10px 20px;
    margin-top: 0px;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.2s;
}

.green-btn:hover {
    background: #007B55;
    color: #FFFFFF;
}

/* practice section */

.best-practices-section {
  background: #fff;
  padding: 40px 15px;
}

.best-practices-section .container {
  max-width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: center;
}

.practices-grid {
  display: flex;
  justify-content: center;
  align-items: stretch;
  text-align: center;
  gap: 16px;
  flex-wrap: nowrap;
}

.practice-card {
  background: #f8f8f8;
  padding: 16px;
  border-radius: 14px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.04);
  transition: box-shadow 0.3s ease;
  width: 200px;
  flex-shrink: 0;
}

.practice-card:hover {
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.practice-card img {
  height: 70px;
  margin-bottom: 12px;
}

.practice-card h3 {
  font-size: 1rem;
  color: #222;
  margin-bottom: 6px;
}

.practice-card p {
  font-size: 0.85rem;
  color: #555;
  line-height: 1.4;
}

/* For tablets and smaller screens */
@media (max-width: 920px) {
  .practices-grid {
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
  }

  .practice-card {
    width: 44%;
    padding: 14px;
  }
}

/* For small mobile screens */
@media (max-width: 500px) {
  .practices-grid {
    gap: 12px;
  }

  .practice-card {
    width: 100%;
    padding: 12px;
    margin-bottom: 8px;
  }

  .practice-card img {
    height: 60px;
    margin-bottom: 10px;
  }

  .practice-card h3 {
    font-size: 0.95rem;
  }

  .practice-card p {
    font-size: 0.8rem;
  }
}



.faq-section {
  max-width: 800px;
  margin: 2rem auto;
  padding: 1rem;
  background: #fff;
  color: #111;
  font-family: 'Segoe UI', sans-serif;
}

.faq-title {
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: #222;
}

.faq-item {
  border-top: 1px solid #e0e0e0;
  padding: 1rem 0;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.1rem;
  width: 100%;
  background: none;
  border: none;
  padding: 0;
  text-align: left;
  cursor: pointer;
  color: #333;
  transition: color 0.3s ease;
}

.faq-question:hover {
  color: #007B5E; /* Subtle greenish hover */
}

.faq-toggle {
  font-weight: bold;
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 1rem;
  transition: transform 0.3s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  padding-left: 1rem;
  color: #444;
}

.faq-answer p {
  margin-top: 0.5rem;
  font-size: 1rem;
  line-height: 1.6;
}

/* Footer Base Styling */
/* Footer Base Styling */
.site-footer {
  background: #f4f4f4;
  font-family: "Segoe UI", sans-serif;
  font-size: 15px;
  color: #444;
  padding: 30px 20px 15px;
}

.footer-main {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-section {
  flex: 1 1 30%;
  min-width: 250px;
  margin-bottom: 25px;
}

.footer-heading {
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 14px;
  color: #222;
  position: relative;
  text-align: left;
}

.footer-heading::after {
  content: "";
  display: block;
  width: 30px;
  height: 2px;
  background: #0077cc;
  margin: 6px 0 0 0;
}

.footer-mail,
.footer-phone {
  font-size: 0.9rem;
  color: #555;
  font-weight: 500;
  margin: 0.2rem 0;
}

.footer-contact {
  margin-top: 10px;
  line-height: 1.6;
}

.social-icons {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 8px;
}

.social-icons a img {
  width: 24px;
  height: 24px;
  opacity: 0.8;
  transition: 0.3s;
}

.social-icons a img:hover {
  opacity: 1;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  text-decoration: none;
  color: #444;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #0077cc;
}

.footer-bottom {
  text-align: center;
  font-size: 13px;
  color: #777;
  padding-top: 20px;
  border-top: 1px solid #ddd;
  margin-top: 10px;
}

/* Newsletter Box (optional, if added later) */
.newsletter {
  flex: 1 1 30%;
  max-width: 300px;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.newsletter-form input[type="email"] {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-family: "Segoe UI", sans-serif;
  font-size: 14px;
  width: 100%;
  box-sizing: border-box;
}

.newsletter-form button {
  padding: 10px;
  background-color: #0077cc;
  color: white;
  border: none;
  border-radius: 4px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.3s ease;
}

.newsletter-form button:hover {
  background-color: #005fa3;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .footer-main {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-section {
    width: 100%;
    max-width: 100%;
    margin-bottom: 30px;
  }

  .footer-heading {
    text-align: center;
  }

  .footer-heading::after {
    margin: 6px auto 0 auto; /* Center the blue line */
  }

  .social-icons {
    justify-content: center;
  }

  .newsletter {
    max-width: 100%;
  }

  .newsletter-form {
    width: 100%;
  }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
        align-items: center;
        padding: 0px 20px;
    }

    body {
        margin: 0 10px;
    }

    nav ul {
        flex-direction: column;
        gap: 20px;
        display: none; /* Initially hidden */
        width: 100%;
        background: rgba(255, 255, 255, 1);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        position: absolute;
        top: 80px; /* Adjust based on header height */
        left: 0;
        padding: 10px 20px;
        z-index: 100; /* Ensure nav is above other content */
    }

    nav ul.active {
        display: flex; /* Show when active */
    }

    .menu-icon {
        display: block; /* Make it visible */
    }
    
    .landing-section {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
        min-height: calc(100vh - 80px);
        margin-top:-30px;
        border-radius: 0px;
    }

    .landing-section .content {
        max-width: 100%;
    }
        .landing-section .content h1{
            font-size: 2rem;
        }
    .landing-section #changing-captions {
        text-align: center;
    }
    .landing-section .intro-text{
        text-align: justify;
    }
    .landing-section .whats-new{
        margin-top: -80px;
    }
    .arw{
        display: none;
    }
    .landing-section .newsletter-signup {
        max-width: 100%;
        margin-top: 20px;
    }
    
     .service-section h2 {
        font-size: 28px;
    }
    .service-section p {
        font-size: 16px;
    }
    .service-box {
        padding: 15px;
        margin-right: 20px;
    }
    .service-box h3 {
        font-size: 20px;
    }
    
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}


.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}
/* Match dark theme with image background */
.popup-content.dark-theme {
  background-color: #C70039; /* deep blue tone from image */
  color: #ffffff;
  padding: 0.8rem;
  border-radius: 12px;
  text-align: center;
  max-width: 450px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
  position: relative;
  font-family: calibri;
}

.popup-content.dark-theme h3,
.popup-content.dark-theme p {
  color: #ffffff;
}

.popup-content.dark-theme .popup-btn {
  display: inline-block;
  background: #ffffff;
  color: #0d2b57;
  padding: 5px 10px;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  margin-top: 0.3rem;
}

.popup-content.dark-theme .popup-btn:hover {
  background: #f0f0f0;
  color: #0d2b57;
}

.popup-closee {
  position: absolute;
  top: 8px;
  right: 16px;
  font-size: 24px;
  color: #17202a;
  cursor: pointer;
}
@media (max-width: 480px) {
  .popup-content.dark-theme {
      margin: 8px;
    padding: 1.5rem 1rem;
    border-radius: 10px;
  }

  .popup-content.dark-theme h3 {
    font-size: 1.1rem;
  }

  .popup-content.dark-theme p {
    font-size: 0.95rem;
  }

  .popup-content.dark-theme .popup-btn {
    font-size: 0.95rem;
    padding: 8px 16px;
  }

  .popup-close {
    font-size: 20px;
    top: 6px;
    right: 10px;
  }
}

/* group1 hits table */
.group1-hits-section {
  padding: 3rem 1rem;
  background-color: #f9f9f9;
}

.hits-container {
  max-width: 900px;
  margin: auto;
  background-color: #ffffff;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

.hits-title {
  text-align: center;
  font-size: 1.8rem;
  color: #1e2b4d;
  margin-bottom: 0.5rem;
}

.hits-subtitle {
  text-align: center;
  font-size: 1rem;
  color: #555;
  margin-bottom: 2rem;
}

.hit-card {
  margin-bottom: 2.5rem;
}

.hit-card h4 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: #1e2b4d;
}

.hit-card object {
  width: 100%;
  height: 400px;
  border: 1px solid #ccc;
  border-radius: 6px;
}

.pdf-fallback {
  text-align: center;
  background-color: #f0f0f0;
  padding: 1rem;
  border-radius: 6px;
  font-size: 1rem;
  color: #333;
}

.pdf-fallback a {
  color: #1a73e8;
  text-decoration: underline;
}


/*banner div */
.slider-container {
  position: relative;
  top: 10px;
  width: 100%;
  height: 260px;
  overflow: hidden;
  border-radius: 5px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  background: linear-gradient(135deg, #f7f9fc, #e3f2fd);
  transition: all 0.3s ease-in-out;
}


.slider {
  display: flex;
  transition: transform 0.5s ease;
}

.slide {
  min-width: 100%;
  height: 260px;
}




#b1{
  width: 100%;
  height: 260px;
  box-sizing: border-box;
  padding: 30px 100px; /* Add padding for overall container */
  font-family: sans-serif;
  display: flex;
  justify-content: space-between;
background: linear-gradient(-135deg, rgba(240, 248, 255, 0.8), rgba(70, 130, 180, 0.8)), 
            url('https://www.transparenttextures.com/patterns/stone.png'), 
            radial-gradient(circle, rgba(255, 255, 255, 0.2), transparent);



  background-blend-mode: multiply;
  position: relative;
}
.b1-left {
  width: calc(100% - 530px); /* Reduce left content width by 100px more */
  white-space: normal;
}

.b1-right {
  height: 100%; /* Make sure the right section fills the parent container height */
  margin-top: -20px;
}

.b1-left h1 {
  font-size: 1.4rem;
  margin-bottom: 20px;
   background-color: #c0392b;
    border-radius: 26px;
  padding: 8px 12px;
  color: white;
  margin-top: 35px;
  text-align: center;
}
.b1-right h4{
     margin-top: 55px;
    font-style: italic;
    font-size: 0.9rem;
    color: #34495e;
    font-weight: 600;
}
.b1-details {
    margin-left: 10%;
  display: flex;
  gap: 50px;
  margin-bottom: 5px;
 
}

.b1-details div {
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  gap: 6px;
 
}

.b1-materials {
  font-size: 0.95rem;
  color: #444;
}

.circle {
  display: inline-block;
  width: 36px;
  height: 36px;
  line-height: 36px;
  background-color: black;
  color: white;
  border-radius: 50%;
  text-align: center;
  font-weight: bold;
  font-size: 1.3rem;
}

.price {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 8px;
  margin-top: -5px;
  color: #2c3e50; /* dark color */
  animation: priceBounce 2.5s ease-in-out infinite;
}

/* Gentle bounce / scale animation */
@keyframes priceBounce {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.08);
  }
}

.original-price {
  text-decoration: line-through;
  color: ;
  font-size: 1.2rem;
  margin-left: 30%;
  margin-right: 10px;
  font-weight: 600;
}
.features-grid {
  display: flex;
  gap: 4px;
  margin-bottom: 15px;
  margin-top: -13px;
}

.features-left,
.features-right {
  list-style: none;
  padding: 0;
  margin: 0;
  font-weight: 600;
  font-family: calibri;
  
}

.features-left li,
.features-right li {
  font-size:1.2rem;
  margin-bottom: 6px;
  color: #222;
}


.explore-btn {
  padding: 5px 12px;
  font-size: 0.95rem;
  background-color: #c0392b;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  margin-left: 130px;
  box-shadow: 0 0 0 rgba(192, 57, 43, 0.7);
  animation: pulseGlow 2s infinite;
  transition: transform 0.2s ease;
}

@keyframes pulseGlow {
  0% {
    box-shadow: 0 0 0 0 rgba(192, 57, 43, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(192, 57, 43, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(192, 57, 43, 0);
  }
}


@media (max-width: 768px) {
.slider-container{
    height: 200px;
}
  #b1 {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 8px;
    height: 200px;
    overflow: hidden;
    position: relative;
  }

  .b1-left {
    width: 100%;
  }

  .b1-right h4, .features-grid{
    display: none;
  }

  .b1-left h1 {
    font-size: 0.85rem;
    padding: 3px 6px;
    margin-bottom: 6px;
    margin-top: 30px;
  }

  .b1-details {
    flex-direction: row; /* Keep inline */
    justify-content: center;
    gap: 14px;
    margin-bottom: 4px;
    flex-wrap: wrap;
    margin-left: -5px;
  }

  .b1-details div {
    font-size: 0.85rem;
    gap: 3px;
  }

  .circle {
    width: 20px;
    height: 20px;
    line-height: 20px;
    font-size: 0.85rem;
  }

  .features-grid {
    flex-direction: column;
    align-items: center;
    margin: 2px 0;
  }

  .features-left,
  .features-right {
    display: inline-block;
    padding: 0 5px;
  }

  .features-left li,
  .features-right li {
    font-size: 0.7rem;
    margin-bottom: 2px;
  }

  .price {
    font-size: 0.85rem;
    margin: 0;
  }

  .original-price {
    font-size: 0.75rem;
    margin: 0;
  }

  .explore-btn {
    font-size: 0.75rem;
    padding: 4px 8px;
    position: absolute;
    left: 1%;
    bottom: 28px;
    
    
  }

  .b1-materials {
    font-size: 0.7rem;
  }

}

.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: #333; /* or use black: #000 */
  border: none;
  font-size: 2rem;
  cursor: pointer;
  z-index: 10;
  background: none; /* removes background */
}

.left-arrow {
  left: 10px;
}

.right-arrow {
  right: 10px;
}


@media (max-width: 768px) {
.arrow{
    font-size: 1.3rem;
}
.left-arrow {
  left: 0px;
}
.right-arrow {
  right: 0px;
}
}





.upsc-weightage-modern {
  position: relative;
  padding: 0.5rem 0.5rem;
  background: #ffffff;
  text-align: center;
  font-family: 'Poppins', sans-serif;
  color: #1f2937;
  overflow: hidden;
  
}
.section-title {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 0.1rem;
  line-height: 1.4;
  z-index: 2;
  position: relative;
}
.section-title span {
  display: block;
  font-size: 0.9rem;
  color: #6b7280;
  margin-top: 0.25rem;
}

.donut-container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  z-index: 2;
  position: relative;
}

.donut-chart {
  width: 380px;
  height: 380px;
  
}
.donut-bg {
  fill: none;
  stroke: #e5e7eb;
  stroke-width: 30;
}
.donut-hole {
  fill: #ffffff;
}
.segment {
  fill: none;
  stroke-width: 30;
  stroke-linecap: round;
  transition: all 0.4s ease-in-out;
}
.segment:hover {
  stroke-width: 36;
  filter: drop-shadow(0 0 6px rgba(0, 0, 0, 0.15));
}
.donut-center {
  font-size: 1rem;
  font-weight: 600;
  fill: #374151;
  dominant-baseline: middle;
  alignment-baseline: middle;
}

/* Segment colors */
.segment.polity { stroke: #3b82f6; }
.segment.history { stroke: #ef4444; }
.segment.geography { stroke: #f59e0b; }
.segment.economy { stroke: #10b981; }
.segment.environment { stroke: #059669; }
.segment.science { stroke: #6366f1; }
.segment.current { stroke: #9333ea; }

/* Legend */
.legend {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 2rem;
  font-size: 1rem;
  text-align: left;
}
.legend div {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #374151;
}
.dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  flex-shrink: 0;
}
.dot.polity { background: #3b82f6; }
.dot.history { background: #ef4444; }
.dot.geography { background: #f59e0b; }
.dot.economy { background: #10b981; }
.dot.environment { background: #059669; }
.dot.science { background: #6366f1; }
.dot.current { background: #9333ea; }

/* Background MCQ Cards */
.mcq-background {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.mcq-background .mcq {
  position: absolute;
  background: #f3f4f6;
  color: #1f2937;
  font-size: 0.75rem;
  padding: 0.75rem 1rem;
  width: max-content;
  max-width: 240px;
  border-radius: 0.5rem;
  opacity: 0.15;
  font-family: 'Poppins', sans-serif;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  transform: rotate(var(--rot, 0deg));
  animation: float 10s ease-in-out infinite alternate;
}

/* Evenly spread MCQ cards */
.mcq-background .mcq:nth-child(1)  { top: 5%; left: 5%; --rot: -6deg; }
.mcq-background .mcq:nth-child(2)  { top: 15%; left: 30%; --rot: 5deg; }
.mcq-background .mcq:nth-child(3)  { top: 10%; right: 5%; --rot: -4deg; }
.mcq-background .mcq:nth-child(4)  { top: 30%; right: 20%; --rot: 7deg; }
.mcq-background .mcq:nth-child(5)  { top: 35%; left: 10%; --rot: -5deg; }
.mcq-background .mcq:nth-child(6)  { top: 50%; left: 35%; --rot: 6deg; }
.mcq-background .mcq:nth-child(7)  { bottom: 40%; right: 5%; --rot: -3deg; }
.mcq-background .mcq:nth-child(8)  { bottom: 35%; left: 25%; --rot: 5deg; }
.mcq-background .mcq:nth-child(9)  { bottom: 25%; right: 25%; --rot: -5deg; }
.mcq-background .mcq:nth-child(10) { bottom: 20%; left: 5%; --rot: 4deg; }
.mcq-background .mcq:nth-child(11) { bottom: 15%; right: 10%; --rot: 6deg; }
.mcq-background .mcq:nth-child(12) { bottom: 10%; left: 35%; --rot: -6deg; }
.mcq-background .mcq:nth-child(13) { top: 60%; right: 10%; --rot: 3deg; }
.mcq-background .mcq:nth-child(14) { top: 70%; left: 20%; --rot: -3deg; }


@keyframes float {
  0% { transform: translateY(0) rotate(var(--rot)); }
  100% { transform: translateY(-10px) rotate(var(--rot)); }
}

@media (max-width: 768px) {
 
  .upsc-weightage-modern {
    display: none;
  }
}


.banner-slide {
  height: 260px;
  background: linear-gradient(to right, #fff 60%, #ffe5d4 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
  position: relative;
}

.banner-content {
      position: relative;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1100px;
  width: 100%;
  font-family: 'Segoe UI', sans-serif;
  color: #000;
}
.floating-banner-image {
  position: absolute;
  top: 50%;
  left: 60%;
  transform: translate(-50%, -50%);
  max-height: 260px;
  z-index: 1;
  pointer-events: none;
}
.banner-left {
  flex: 1;
  margin-left: 10px;
}

.banner-left h1 {
  font-size: 30px; /* Slightly increased */
  font-weight: bold;
  color: #d62828;
  margin-bottom: 14px;
  line-height: 1.3;
  text-align: left;
}

.spot-on {
  background: #2563eb;
  color: white;
  padding: 5px 12px;
  border-radius: 12px;
  font-size: 25px;
  margin-right: 8px;
  display: inline-block;
}

.banner-left ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.banner-left ul li {
  font-size: 15px;  /* Slightly increased */
  margin-bottom: 7px;
  display: flex;
  align-items: center;
}

/* Right Column */
.banner-right {
  width: 240px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  
}

.validity {
  font-size: 14px;
  color: #333;
  margin-bottom: 10px;
  margin-top: 20px;
}

.price-grid {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-bottom: 12px;
  flex-wrap: wrap;
  
}

.price-box {
  padding: 7px 10px;
  border-radius: 8px;
  background: #f8fafc;
  font-size: 12px;
  font-weight: bold;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.07);
  text-align: center;
  color: #000;
  transition: transform 0.3s ease;
}

.price-box span {
  display: block;
  font-size: 10px;
  font-weight: normal;
  color: #444;
  margin-top: 3px;
}

.price-box:hover {
  transform: scale(1.05);
}

.main-price {
  background: #e0f2fe;
  border: 1px solid #90cdf4;
}

.combo-price {
  background: #fef9c3;
  border: 1px solid #facc15;
}

/* Explore Button with Blink Animation */
.b1-explore-btn {
  padding: 8px 18px;
  background-color: #2563eb;
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 15px;
  cursor: pointer;
   animation: pulseGlow 2s infinite;
  transition: transform 0.2s ease;
}

.b1-explore-btn:hover {
  background-color: #1e4fbb;
  
}

/* Blink Animation */
@keyframes pulseGlow {
  0% {
    box-shadow: 0 0 0 0 rgba(192, 57, 43, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(192, 57, 43, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(192, 57, 43, 0);
  }
}

/* Mobile: DO NOT TOUCH (as per your request) */
@media (max-width: 768px) {
  .banner-slide {
    flex-direction: column;
    height: 200px;
    padding: 12px;
    align-items: flex-start;
  }

  .banner-content {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .banner-left{
      margin-left: 15px;
  }

  .banner-left h1 {
    font-size: 14px;
  }

  .spot-on {
    font-size: 10px;
    padding: 2px 6px;
  }

  .banner-left ul li {
    font-size: 10px;
    margin-bottom: 3px;
  }

  .banner-right {
    width: 100%;
    align-items: flex-start;
    margin-top: -15px;
    margin-left: 15px;
    position: relative;
  }

  .validity {
    font-size: 10px;
    margin-bottom: 4px;
  }

  .price-grid {
    gap: 6px;
    margin-bottom: 4px;
  }

  .price-box {
    font-size: 11px;
    padding: 4px 8px;
  }

  .price-box span {
    font-size: 8px;
  }

  .b1-explore-btn {
    font-size: 11px;
    padding: 6px 14px;
    position: absolute;
    bottom: 0;
    right: 0;
    margin-right: 50px;
    margin-bottom: 10px;
    
  }
  
  .floating-banner-image {
   display: none;
  }
}


.smart-reading-zone {
  background: #ffffff;
  padding: 40px 20px 40px;
  
}

.srz-container {
  position: relative;
  overflow: hidden;
  z-index: 1;

  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;

  padding: 20px 16px;
  gap: 16px;
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.srz-container::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 30%, rgba(100, 181, 246, 0.3), transparent 60%),
              radial-gradient(circle at 70% 70%, rgba(255, 138, 128, 0.3), transparent 60%);
  animation: moveBackground 10s linear infinite;
  z-index: 0;
  opacity: 0.6;
  pointer-events: none;
}

@keyframes moveBackground {
  0% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(10%, 10%);
  }
  100% {
    transform: translate(0, 0);
  }
}

.srz-container > * {
  position: relative;
  z-index: 1; /* Keeps content above the background */
}


.srz-text {
  flex: 1 1 480px;
  padding: 0 10px;
}

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@600&display=swap');

.srz-heading {
  font-size: 2rem;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  margin-bottom: 12px;
  color: #0c0b0b;
  background: linear-gradient(270deg, #0d47a1, #d32f2f, #0d47a1);
  background-size: 600% 600%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientMove 8s ease infinite;
}

/* Animation for gradient movement */
@keyframes gradientMove {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.srz-subtext {
  font-size: 1rem;
  color: #333;
  margin-bottom: 20px;
  line-height: 1.6;
}

.srz-features {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}

.srz-features li {
  font-size: 0.95rem;
  color: #2e3b4e;
  margin-bottom: 8px;
  padding-left: 1em;
}

.srz-button {
  display: inline-block;
  background-color: #0d47a1;
  color: white;
  padding: 10px 24px;
  border-radius: 6px;
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background 0.3s ease;
}

.srz-button:hover {
  background-color: #083571;
}

.srz-image {
  flex: 0 0 280px; /* smaller width */
  text-align: center;
  padding: 20px;
}

.srz-image img {
  max-width: 100%;
  height: auto;
}

/* Responsive */
@media (max-width: 768px) {
  .smart-reading-zone {
    padding: 40px 15px;
  }

  .srz-container {
    flex-direction: column;
    align-items: flex-start;
  }

  .srz-text {
    padding: 0;
  }

  .srz-heading {
    font-size: 1.6rem;
  }

  .srz-subtext {
    font-size: 0.95rem;
  }

  .srz-button {
    width: 80%;
    text-align: center;
  }

  .srz-image {
    display: none; /* hide image on mobile */
  }
}




.ca-highlight-white {
  padding: 60px 20px;
  background: #fff;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

.ca-highlight-box {
  max-width: 1140px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  justify-content: space-between;
}

.ca-highlight-left {
  flex: 1 1 600px;
}

.ca-highlight-left h2 {
  font-size: 30px;
  color: #0d47a1;
  margin-bottom: 16px;
  font-weight: 700;
}

.ca-highlight-subtext {
  font-size: 16px;
  color: #444;
  line-height: 1.6;
  margin-bottom: 24px;
}

.ca-feature-list {
  list-style: none;
  padding-left: 0;
  margin: 0 0 30px;
}

.ca-feature-list li {
  margin-bottom: 12px;
  font-size: 15px;
  color: #333;
}

.ca-feature-list li span {
  color: green;
  font-weight: bold;
  margin-right: 10px;
}

.ca-highlight-btn {
  display: inline-block;
  background: #1976d2;
  color: #fff;
  padding: 12px 22px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  transition: 0.3s ease;
}

.ca-highlight-btn:hover {
  background: #0d47a1;
}

.ca-highlight-right {
  flex: 1 1 280px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.ca-stat-box {
  background: #f8f9fa;
  border-left: 4px solid #1976d2;
  padding: 16px 20px;
  border-radius: 6px;
  box-shadow: 0 0 6px rgba(0,0,0,0.03);
}

.ca-stat-box h3 {
  margin: 0;
  font-size: 22px;
  color: #0d47a1;
  font-weight: 700;
}

.ca-stat-box p {
  margin: 6px 0 0;
  font-size: 14px;
  color: #555;
}

@media (max-width: 991px) {
  .ca-highlight-box {
    flex-direction: column;
  }
  .ca-highlight-right {
      
    flex-direction: row;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: space-between;
  }
  .ca-stat-box {
    flex: 1 1 45%;
  }
}
@media (max-width: 768px) {
    .ca-highlight-right {
      display: none;
    }
    .ca-highlight-white{
        padding: 30px 20px;
    }
}
