  body {
      margin: 0;
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
      background: #f8f9fa;
      color: #333;
    }

    a {
      text-decoration: none;
      color: inherit;
    }

    /* Navbar styles */
    nav.navbar {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0 2rem;
      height: 60px;
      background-color: #002366;
      color: white;
      font-weight: 600;
      box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    }

    nav.navbar .logo {
      font-size: 1.3rem;
      letter-spacing: 1.5px;
    }

    nav.navbar ul {
      list-style: none;
      display: flex;
      gap: 2rem;
      margin: 0;
      padding: 0;
    }

    nav.navbar ul li {
      padding: 10px 0;
      cursor: pointer;
      transition: color 0.3s ease;
    }

    nav.navbar ul li:hover {
      color: #ffd700;
    }

    /* Container for main content */
    main.container {
      max-width: 1200px;
      margin: 50px auto;
      padding: 0 1rem;
    }

    /* Grid for departments */
    .department-grid {
      display: grid;
      gap: 2.5rem 2rem;
      grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
      justify-items: center;
    }

    /* Each department item */
    .department-item {
      text-align: center;
      cursor: pointer;
      transition: transform 0.25s ease, box-shadow 0.25s ease;
      max-width: 140px;
    }

    .department-item:hover {
      background: #eaeaeaff;
    }

    /* Circle image wrapper */
    .department-image {
      width: 100px;
      height: 100px;
      margin: 0 auto 0.8rem;
      border: 3px solid #002366;
      border-radius: 50%;
      overflow: hidden;
      background: white;
      box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .department-image img {
      width: 70%;
      height: 70%;
      object-fit: contain;
      border-radius: 50%;
      filter: drop-shadow(0 0 0.4px rgba(0, 0, 0, 0.12));
    }

    /* Department name text */
    .department-name {
      font-size: 0.9rem;
      font-weight: 600;
      color: #002366;
      user-select: none;
    }

    /* Responsive spacing for smaller screens */
    @media (max-width: 480px) {
      nav.navbar ul {
        gap: 1rem;
      }

      main.container {
        margin: 1rem auto 2rem;
      }

      .department-item {
        max-width: 110px;
      }

      .department-image {
        width: 80px;
        height: 80px;
      }
    }

/* General styling for mock test content */
.mock-test-info {
margin-top: 40px !important;
    margin: auto;
    padding: 1rem 1.5rem;
    background: #fff;
    border-radius: 8px;
    margin-bottom: 2rem;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

/* Text Styling */
.mock-test-info p,
.mock-test-info ul li,
.mock-test-info ol li {
    font-size: 1.1rem;
    color: #333;
}

/* Headings */
.mock-test-info h1 {
    font-size: 1.8rem;
    color: #222;
    margin-bottom: 0.5rem;
}

.mock-test-info h2 {
    font-size: 1.4rem;
    color: #222;
    margin-bottom: 0.5rem;
    border-left: 4px solid #007bff;
    padding-left: 10px;
}

/* Links */
.mock-test-info a {
    color: #007bff;
    text-decoration: none;
}

.mock-test-info a:hover {
    text-decoration: underline;
}

/* FAQ Box */
.faq-item {
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 0.8rem 1rem;
    margin-bottom: 0.8rem;
    background-color: #fdfdfd;
}

.faq-item h3 {
    font-size: 1rem;
    color: #007bff;
    margin-bottom: 0.4rem;
}

/* Mobile Responsive */
@media (max-width: 480px) {
    .mock-test-info h1 {
        font-size: 1.6rem;
    }
    .mock-test-info h2 {
        font-size: 1.2rem;
    }
    .mock-test-info {
        padding: 0rem;
    }
     .department-grid {
      display: grid;
      gap: 2.5rem 0rem;
      grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
      justify-items: center;
    }

}
