/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f8f9fa;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

a {
  text-decoration: none;
  color: #2563eb;
  transition: color 0.3s;
}

a:hover {
  color: #1e40af;
}

ul {
  list-style: none;
}

/* Header Styles */
header {
  background-color: #2563eb;
  color: white;
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

header h1 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

header nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

header nav a {
  color: white;
  font-weight: 500;
  padding: 0.5rem;
  border-radius: 4px;
  transition: background-color 0.3s;
}

header nav a:hover {
  background-color: rgba(255, 255, 255, 0.2);
  color: white;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #4f46e5, #2563eb);
  color: white;
  padding: 4rem 0;
  text-align: center;
}

.hero h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto;
}

/* Main Content Sections */
.section {
  padding: 3rem 0;
  border-bottom: 1px solid #e5e7eb;
}

.section h2 {
  font-size: 2rem;
  color: #1e40af;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.section h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background-color: #2563eb;
}

.section p {
  margin-bottom: 1rem;
}

/* Info Box */
.info-box {
  background-color: #f0f4ff;
  border-left: 4px solid #2563eb;
  padding: 1.5rem;
  margin: 2rem 0;
  border-radius: 0 4px 4px 0;
}

.info-box h3 {
  color: #1e40af;
  margin-bottom: 1rem;
}

.info-box ul {
  list-style: disc;
  margin-left: 1.5rem;
}

.info-box li {
  margin-bottom: 0.5rem;
}

/* Career Grid */
.career-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.career-card {
  background-color: white;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s, box-shadow 0.3s;
}

.career-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.career-card h3 {
  color: #1e40af;
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.career-card p {
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

/* Exam Table */
.exam-table {
  overflow-x: auto;
  margin: 2rem 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  background-color: white;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

th,
td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid #e5e7eb;
}

th {
  background-color: #2563eb;
  color: white;
  font-weight: 500;
}

tr:nth-child(even) {
  background-color: #f8fafc;
}

tr:hover {
  background-color: #f0f4ff;
}

/* FAQ Section */
.faq-container {
  margin: 2rem 0;
}

.faq-item {
  background-color: white;
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.faq-item h3 {
  color: #1e40af;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

/* Footer Styles - New Design 2025 */
footer {
  background-color: #1e293b;
  color: #e2e8f0;
  padding: 3rem 0 1.5rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

/* Footer Logo Section */
.footer-logo h3 {
  color: white;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.footer-logo p {
  color: #cbd5e1;
  margin-bottom: 1rem;
}

.footer-address,
.footer-contact,
.footer-email {
  display: flex;
  align-items: center;
  margin-bottom: 0.8rem;
  color: #cbd5e1;
  font-size: 0.9rem;
}

.footer-address i,
.footer-contact i,
.footer-email i {
  margin-right: 0.8rem;
  color: #3b82f6;
  width: 16px;
}

.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: white;
  transition: all 0.3s;
}

.footer-social a:hover {
  background-color: #3b82f6;
  transform: translateY(-3px);
}

/* Footer Links Section */
.footer-links h4,
.footer-newsletter h4 {
  color: white;
  font-size: 1.2rem;
  margin-bottom: 1.2rem;
  position: relative;
  padding-bottom: 0.8rem;
}

.footer-links h4::after,
.footer-newsletter h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: #3b82f6;
}

.footer-links ul li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: #cbd5e1;
  font-size: 0.95rem;
  transition: all 0.3s;
  display: inline-block;
}

.footer-links a:hover {
  color: white;
  transform: translateX(5px);
}

/* Footer Newsletter Section */
.footer-newsletter p {
  color: #cbd5e1;
  margin-bottom: 1.2rem;
  font-size: 0.95rem;
}

.newsletter-form {
  display: flex;
  margin-bottom: 1rem;
}

.newsletter-form input {
  flex: 1;
  padding: 0.8rem 1rem;
  border: none;
  border-radius: 4px 0 0 4px;
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  font-family: "Poppins", sans-serif;
}

.newsletter-form input::placeholder {
  color: #94a3b8;
}

.newsletter-form button {
  background-color: #3b82f6;
  color: white;
  border: none;
  padding: 0 1.2rem;
  border-radius: 0 4px 4px 0;
  cursor: pointer;
  transition: background-color 0.3s;
}

.newsletter-form button:hover {
  background-color: #2563eb;
}

/* Footer Bottom */
.footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid #334155;
  font-size: 0.9rem;
  color: #94a3b8;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 40px;
  height: 40px;
  background-color: #3b82f6;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  z-index: 99;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background-color: #2563eb;
  transform: translateY(-5px);
}

/* Responsive Styles */
@media (max-width: 768px) {
  header h1 {
    text-align: center;
  }

  header nav ul {
    justify-content: center;
  }

  .hero h2 {
    font-size: 2rem;
  }

  .section h2 {
    font-size: 1.8rem;
  }

  .career-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-links h4::after,
  .footer-newsletter h4::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .footer-links,
  .footer-newsletter {
    text-align: center;
  }

  .footer-links a:hover {
    transform: none;
  }
}

@media (max-width: 480px) {
  header nav ul {
    flex-direction: column;
    align-items: center;
  }

  .hero h2 {
    font-size: 1.5rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .section h2 {
    font-size: 1.5rem;
  }

  th,
  td {
    padding: 0.75rem 0.5rem;
    font-size: 0.9rem;
  }

  .back-to-top {
    right: 15px;
    bottom: 15px;
  }
}

