/* ==========================================================
   ExamVibe | Govt Exam Page - Modern & Elegant Design (v2)
========================================================== */






:root {
  --primary: #1565c0;
  --secondary: #1e88e5;
  --accent: #ff7043;
  --primary-dark: #0d47a1;
  --gradient: linear-gradient(135deg, var(--primary), var(--secondary));
  --radius: 12px;
  --shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  --shadow-sm: 0 3px 10px rgba(0,0,0,0.06);
  --shadow-md: 0 8px 20px rgba(0,0,0,0.10);
  --shadow-lg: 0 12px 30px rgba(0,0,0,0.12);
}

/* ---------- Page Container ---------- */
.container.page-container {
  max-width: 1200px;
  margin: 50px auto;
  padding: 25px 15px;
  font-family: var(--font);
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  position: relative;
  overflow: visible;
}
.container.page-container::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(21, 101, 192, 0.08);
}
.container.page-container::after {
  content: "";
  position: absolute;
  bottom: -70px;
  left: -70px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(21, 101, 192, 0.05);
}
body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
/* ---------- Main Heading ---------- */
.main-heading{
  color:#002752;
  text-shadow:0 2px 4px rgba(0,0,0,.08);
  background:none;
  -webkit-background-clip:initial;
  -webkit-text-fill-color:initial;
  display: inline-block;
  text-align: left;
  margin-bottom: 12px;
  text-transform: capitalize;
  position: relative;
}

.main-heading::after {
  content: "";
  display: block;
  width: 70px;
  height: 3px;
  background: var(--primary);
  margin-top: 8px;
  border-radius: 3px;
  animation: growLine 1.2s ease forwards;
}

/* ---------- Description ---------- */
.amitcategory-desc,
.desc{
  font-size:1.05rem;
  line-height:1.8;
  color:#333;
  text-align:left;
  margin:15px 0 35px;
  padding:18px 22px;
  background:rgba(255,255,255,.85);
  backdrop-filter:blur(6px);
  border-left:4px solid var(--primary);
  border-radius:var(--radius);
  box-shadow:0 3px 10px rgba(0,0,0,.06);
}


/* ---------- Category Heading ---------- */

.category-heading-wrapper{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:15px;
  margin-top:40px;
}

.category-heading{
  flex:1;
  background:var(--gradient);
  color:#fff;
  padding:16px 20px;
  font-size:1.4rem;
  font-weight:600;
  border-radius:var(--radius);
  margin:0;
  box-shadow:0 6px 14px rgba(21,101,192,.3);
}

.category-heading a{
  color:#fff;
  text-decoration:none;
}

.category-heading a:hover{
  color:#fff;
}

/* ---------- View All Button ---------- */
.view-all-btn {
  min-height:44px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(135deg,#0056b3,#0077cc);
  padding:8px 16px;
  border-radius:8px;
  color:#fff;
  font-size:14px;
  font-weight:600;
  text-decoration:none;
  transition:all .3s ease;
  box-shadow:0 4px 10px rgba(0,123,255,.35);
}

.view-all-btn:hover{
  transform:translateY(-3px) scale(1.05);
  box-shadow:0 6px 16px rgba(0,123,255,.45);
}

/* ---------- Subcategory Grid ---------- */
.subcategory-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 18px;
  margin: 25px 0 40px;
}
.subcategory-grid a {
  display: block;
  background: #fff;
  padding: 16px 12px;
  border: 1px solid #ddd;
  border-radius: var(--radius);
  text-align: center;
  text-decoration: none;
  color: var(--primary-dark);
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.2s ease-in-out;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: visible;
}




.subcategory-grid a::before {
  content: "";
  position: relative;
  inset: 0;
  background: var(--gradient);
  opacity: 0;
  z-index: 1;
  overflow: hidden;
  transition: opacity 0.4s ease;
}
.subcategory-grid a::before {
  z-index: 0;
}

.subcategory-grid a:hover::before {
  opacity: 0.15;
}
.subcategory-grid a:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

/* ---------- Empty State ---------- */
.empty-state {
  text-align: center;
  padding: 25px;
  font-style: italic;
  color: #777;
  background: #f9f9f9;
  border-radius: var(--radius);
  border: 1px dashed #ccc;
  margin: 30px 0;
}


/* =========================
   Category Banner
========================= */
.category-banner {
    margin: 20px 0 30px;
    overflow: hidden;
    border-radius: 14px;
    box-shadow: 0 8px 25px rgba(0,0,0,.12);
}

.category-banner img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 14px;
}


/* =========================
   FAQ Section
========================= */
.faq-section {
    margin: 50px 0;
}

.faq-section h2 {
    font-size: 30px;
    font-weight: 700;
    color: #002752;
    margin-bottom: 25px;
}

.faq-item {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 15px;
    border-left: 4px solid #004085;
    box-shadow: 0 4px 12px rgba(0,0,0,.06);
    transition: all .3s ease;
}

.faq-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(0,0,0,.08);
}

.faq-item h3 {
    margin: 0 0 10px;
    color: #004085;
    font-size: 18px;
    font-weight: 600;
}

.faq-item p {
    margin: 0;
    color: #444;
    line-height: 1.8;
}




/* =========================
   Mobile
========================= */
@media (max-width: 768px) {

    .category-banner {
        margin: 15px 0 20px;
    }

    .faq-section h2 {
        font-size: 24px;
    }

    .faq-item {
        padding: 15px;
    }

    .faq-item h3 {
        font-size: 16px;
    }
}
.faq-item h3 {
  line-height: 1.4;
}

.faq-item p {
  font-size: 15px;
}














.govt-detailed-intro{
    margin:40px 0;
    padding:30px;
    background:#f8fbff;
    border-left:5px solid var(--primary);
    border-radius:12px;
    box-shadow:0 4px 12px rgba(0,0,0,.06);
    color:#333;
    line-height:1.9;
    font-size:16px;
}

.govt-detailed-intro h2{
    color:#002752;
    font-size:28px;
    margin-bottom:20px;
}

.govt-detailed-intro h3{
    color:#004085;
    font-size:22px;
    margin:25px 0 15px;
}

.govt-detailed-intro p{
    margin-bottom:15px;
}

.govt-detailed-intro ul,
.govt-detailed-intro ol{
    margin:15px 0 15px 25px;
}

.govt-detailed-intro li{
    margin-bottom:8px;
}

.govt-detailed-intro table{
    width:100%;
    border-collapse:collapse;
    margin:20px 0;
}

.govt-detailed-intro table th{
    background:#004085;
    color:#fff;
}

.govt-detailed-intro table th,
.govt-detailed-intro table td{
    border:1px solid #ddd;
    padding:12px;
}

@media(max-width:768px){
    .govt-detailed-intro{
        padding:20px;
        font-size:15px;
    }

    .govt-detailed-intro h2{
        font-size:24px;
    }

    .govt-detailed-intro h3{
        font-size:20px;
    }
}



















/* ---------- Animations ---------- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes growLine {
  from { width: 0; opacity: 0; }
  to { width: 70px; opacity: 1; }
}

/* ---------- Responsive Design ---------- */
@media (max-width: 1024px) {
  .subcategory-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .main-heading {
    font-size: 2rem;
  }
  .category-heading {
    font-size: 1.2rem;
    padding: 12px 15px;
  }
  .subcategory-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .category-desc {
    font-size: 1rem;
    padding: 14px;
  }
}

@media (max-width: 480px) {
  .subcategory-grid {
    grid-template-columns: 1fr;
  }
  .main-heading {
    font-size: 1.7rem;
  }
  .category-heading {
    font-size: 1rem;
    padding: 10px 12px;
  }
  .view-all-btn {
    font-size: 13px;
    padding: 6px 10px;
  }
}


@media (max-width: 480px) {
  body {
    font-size: 14px;
  }
}