body {
  margin: 0;
  padding: 0;
  font-family: 'Poppins', sans-serif;
  background: #f2f2f2;
  color: #333;
}

.epfo-full {
  padding-top: 80px; /* to avoid overlap with header */
  box-sizing: border-box;
}

.epfo-main {
  display: flex;
  flex-wrap: wrap;
  padding: 20px 30px;
  gap: 20px;
}

.epfo-left {
  flex: 1;
  background: #ffffff;
  padding: 30px 35px;
  border-radius: 0px;
  box-shadow: 0 0 6px rgba(0,0,0,0.05);
  box-sizing: border-box;
  min-width: 300px;
}

.epfo-right {
  width: 320px;
   max-height: 345px;
  background: #ffffff;
  padding: 10px;
  border-radius: 0px;
  box-shadow: 0 0 6px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  gap: 15px;
  box-sizing: border-box;
}

.epfo-left h1 {
  font-size: 24px;
  color: #004085;
  margin-bottom: 10px;
}

.epfo-left h2 {
  font-size: 18px;
  margin: 20px 0 10px;
  color: #222;
}

.epfo-left .syl {
 width: fit-content;
  color: #222;
  background-color: #f5b7b1;    /* Light blue */
  padding: 6px 12px;
  box-shadow: inset 0 1px 3px rgba(0, 100, 200, 0.2);
}

.epfo-left ul {
  padding-left: 20px;
  margin: 0 0 10px;
}

.epfo-left p {
  margin: 10px 0;
  font-size: 15px;
  line-height: 1.6;
}

.epfo-left a {
  color: #0056b3;
  text-decoration: none;
}

.epfo-highlight-box {
  background-color: #f5faff;
  border-left: 2px dashed #0077cc;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 30px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.epfo-highlight-box h2 {
  margin-top: 0;
  color: #005fa3;
  font-size: 20px;
}

.epfo-highlight-box ul {
  padding-left: 20px;
  margin-top: 10px;
  margin-bottom: 20px;
}

.epfo-highlight-box li {
  margin-bottom: 8px;
  line-height: 1.6;
}

.syllabus-block {
  margin: 20px 0;
  border-radius: 6px;
  width: 100%;
  max-width: 100%;
}

.syllabus-item {
  margin-bottom: 10px;
  border: 1px solid #ddd;
  border-radius: 6px;
  overflow: hidden;
  background: #f9f9f9;
}

.toggle-btn {
  width: 100%;
  padding: 12px 16px;
  font-size: 16px;
  background-color: #e3eefd;
  border: none;
  text-align: left;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  transition: background 0.2s;
}

.toggle-btn::before {
  content: '+\00a0'; /* \00a0 is non-breaking space */
  position: absolute;
  left: 10px;
  font-weight: bold;
}


.toggle-btn.active::before {
  content: '−';
}

.toggle-content {
  display: none;
  padding: 12px 16px;
  background: #fff;
  border-top: 1px solid #ccc;
  font-size: 15px;
  color: #333;
}

.epfo-poster {
  background: #f4f7fa;
 
  padding: 24px;
  max-width: 250px;
  width: 100%;
 
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.epfo-poster-content h3 {
  font-size: 20px;
  margin-bottom: 12px;
  color: #0b3d91;
}

.epfo-poster-content ul {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  color: #333;
  font-size: 15px;
}

.epfo-poster-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.epfo-button {
  display: block;
  text-align: center;
  background: #0b3d91;
  color: white;
  padding: 10px 0;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.3s ease;
}

.epfo-button:hover {
  background: #092f72;
}


@media (max-width: 768px) {
  .epfo-main {
    flex-direction: column;
    padding: 5px 5px;
  }
   .epfo-left{
       padding: 5px 8px;
   }
  .epfo-right {
    width: 100%;
  }
}


.epfo-poster-clean {
  background: linear-gradient(to right, #f1f5f9, #e3edf6);
  padding: 30px 16px;
  border-radius: 14px;
  max-width: 1200px;
  margin: 30px auto;
  font-family: 'Poppins', sans-serif;
}

.epfo-poster-heading {
  text-align: center;
  font-size: 1.4rem;
  font-weight: 600;
  color: #1a237e;
  margin-bottom: 20px;
}

.epfo-poster-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  align-items: stretch;
}

.epfo-poster-item {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
  padding: 16px;
  text-align: center;
  transition: 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 160px;
}

.epfo-poster-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.07);
}

.epfo-poster-item i {
  font-size: 22px;
  color: #1976d2;
  margin-bottom: 8px;
}

.epfo-poster-item h3 {
  font-size: 1rem;
  color: #2e3c54;
  margin-bottom: 4px;
}

.epfo-poster-item p {
  font-size: 0.85rem;
  color: #444;
  line-height: 1.3;
}


/* EPFO Popup Styles */
.epfo-popup {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.6);
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.5s ease-in;
}

.epfo-popup-content {
  background: #fdfdfd;
  width: 90%;
  max-width: 450px;
  border-radius: 12px;
  padding: 30px 20px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  text-align: center;
  position: relative;
}

.epfo-logo {
  width: 100px;
  margin-bottom: 15px;
}

.epfo-popup h2 {
  font-size: 22px;
  color: #1a1a1a;
  margin-bottom: 10px;
}

.epfo-highlight {
  margin: 10px 0;
  font-size: 20px;
}

.striked-price {
  text-decoration: line-through;
  color: #888;
  margin-right: 10px;
  font-weight: 500;
}

.free-tag {
  background: #28a745;
  color: white;
  padding: 4px 10px;
  border-radius: 4px;
  font-weight: bold;
}

.epfo-description {
  color: #444;
  margin: 15px 0;
  font-size: 14px;
}

.epfo-btn {
  display: inline-block;
  background: #0057b7;
  color: white;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.epfo-btn:hover {
  background: #003f8a;
}

.epfo-close-btn {
  position: absolute;
  top: 12px;
  right: 15px;
  font-size: 22px;
  color: #999;
  cursor: pointer;
  transition: color 0.3s;
}

.epfo-close-btn:hover {
  color: #000;
}

@keyframes fadeIn {
  from { opacity: 0; } 
  to { opacity: 1; }
}

/* Responsive */
@media (max-width: 480px) {
  .epfo-popup-content {
    padding: 20px 15px;
  }

  .epfo-popup h2 {
    font-size: 18px;
  }

  .epfo-highlight {
    font-size: 18px;
  }
}



/* ===== WRAPPER — BREATHING SPACE ===== */
.epfo-upsc-banner-wrapper {
    margin: 40px auto;
    max-width: 1200px;
    padding: 0 20px;
}

/* ===== MAIN BANNER — SOFT DARK THEME ===== */
.epfo-upsc-banner {
    background: linear-gradient(135deg, #1e293b, #334155); /* Softer charcoal */
    border: 1px solid #475569; /* Lighter border */
    border-radius: 20px;
    padding: 30px;
    display: flex;
    align-items: center;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15); /* Softer shadow */
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.epfo-upsc-banner:hover {
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.2); /* Slightly stronger on hover */
    transform: translateY(-3px);
}

/* ===== MEDIA (IMAGE) — SOFT BORDER FOR CONTRAST ===== */
.epfo-banner-media {
    flex: 0 0 auto;
    margin-right: 30px;
    animation: float 3s ease-in-out infinite;
}

.epfo-banner-media img {
    max-width: 100%;
    height: auto;
    max-height: 120px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); /* Softer shadow */
    border: 1px solid rgba(255, 255, 255, 0.15); /* Slightly more visible */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.epfo-banner-media img:hover {
    transform: scale(1.03);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* ===== CONTENT — WHITE TEXT, SOFT SUBTITLES ===== */
.epfo-banner-content {
    flex: 1;
    min-width: 0;
    color: white;
}

.epfo-badge {
    background: #fbbf24; /* Amber gold */
    color: #1e293b;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 10px;
    display: inline-block;
    margin-bottom: 12px;
    animation: pulse 2s infinite;
    letter-spacing: 0.5px;
    font-family: 'Poppins', sans-serif;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.epfo-banner-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin: 0 0 12px;
    line-height: 1.4;
}

.epfo-banner-subtitle {
    font-size: 1.05rem;
    color: #e2e8f0; /* Lighter soft-white (was #cbd5e1) */
    margin: 0 0 22px;
    line-height: 1.6;
    font-weight: 500;
}

.price-tag {
    background: #10b981; /* Emerald green */
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 1rem;
    box-shadow: 0 3px 8px rgba(16, 185, 129, 0.25); /* Softer glow */
    animation: pulseGlow 2s infinite alternate;
}

@keyframes pulseGlow {
    from { box-shadow: 0 3px 8px rgba(16, 185, 129, 0.25); }
    to { box-shadow: 0 5px 12px rgba(16, 185, 129, 0.4); }
}

.epfo-banner-btn {
    display: inline-block;
    background: #10b981;
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 14px 36px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25); /* Softer */
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.epfo-banner-btn:hover {
    background: #059669;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.35);
}

/* ===== RESPONSIVE MOBILE — STACK LAYOUT ===== */
@media (max-width: 992px) {
    .epfo-upsc-banner {
        flex-direction: column;
        text-align: center;
        padding: 30px 25px;
    }
    .epfo-banner-media {
        margin-right: 0;
        margin-bottom: 25px;
    }
    .epfo-banner-media img {
        max-height: 100px;
    }
    .epfo-banner-title {
        font-size: 1.4rem;
    }
    .epfo-banner-subtitle {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .epfo-upsc-banner-wrapper {
        margin: 30px 15px;
    }
    .epfo-upsc-banner {
        padding: 25px 20px;
    }
    .epfo-banner-title {
        font-size: 1.3rem;
    }
    .epfo-banner-btn {
        padding: 12px 32px;
        font-size: 1.05rem;
    }
    .price-tag {
        font-size: 0.95rem;
        padding: 3px 10px;
    }
}

@media (max-width: 480px) {
    .epfo-upsc-banner-wrapper {
        margin: 15px 5px;
        
    }
    .epfo-upsc-banner {
        padding: 20px 15px;
    }
    .epfo-banner-title {
        font-size: 1.2rem;
    }
    .epfo-banner-subtitle {
        font-size: 0.95rem;
    }
    .epfo-banner-btn {
        padding: 12px 28px;
        font-size: 1rem;
    }
    .epfo-banner-media img {
        max-height: 90px;
        display: none;
    }
    .epfo-badge {
        font-size: 0.8rem;
        padding: 3px 12px;
        border-radius: 5px;
    }
}
