/* Main CSS - Imports all components */

/* Base Styles - CSS Variables and Resets */
:root {
  --primary-blue: #002b3d;
  --light-blue: #e3f2fd;
  --medium-blue: #00b4d8;
  --accent-cyan: #90e0ef;
  --dark-blue: #03045e;
  --text-dark: #000;
  --text-light: #fff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

img {
  max-width: 100%;
  height: auto;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background: #fff;
}

/* Accessibility */
@media (prefers-contrast: high) {
  :root {
    --primary-blue: #001122;
    --light-blue: #cce7ff;
    --medium-blue: #0066cc;
    --dark-blue: #002d5a;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
/* Layout Styles - Main Layout, Hero Section, Responsive Design */

/* Main Layout */
main {
  max-width: 1200px;
  margin: 3rem auto 2rem;
  padding: 0 1rem;
}

/* Section Divider */
.section-divider {
  border: none;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--primary-blue) 20%,
    var(--medium-blue) 50%,
    var(--primary-blue) 80%,
    transparent 100%
  );
  margin: 3rem auto;
  max-width: 200px;
  opacity: 0.6;
}

/* Quick Links Section */
.quick-links h2 {
  text-align: center;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 2rem;
  position: relative;
}

.quick-links h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--primary-blue),
    var(--accent-cyan),
    var(--primary-blue)
  );
  border-radius: 2px;
}

/* Columns Layout */
.columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.column {
  background: linear-gradient(
    135deg,
    var(--text-light) 0%,
    rgba(255, 255, 255, 0.95) 100%
  );
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15), 0 4px 10px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.column::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--primary-blue),
    var(--accent-cyan),
    var(--primary-blue)
  );
  border-radius: 12px 12px 0 0;
}

.column h2 {
  color: var(--text-dark);
  margin-bottom: 1rem;
  font-size: 1.5rem;
  border-bottom: 2px solid var(--medium-blue);
  padding-bottom: 0.5rem;
}

.column h3 {
  color: var(--text-dark);
  margin-bottom: 1rem;
  font-size: 1.3rem;
  border-bottom: 2px solid var(--medium-blue);
  padding-bottom: 0.5rem;
  text-align: center;
}

.column ul {
  list-style: none;
}

.column li {
  margin-bottom: 0.5rem;
  position: relative;
  padding-left: 1.5rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  padding-bottom: 0.5rem;
}

.column li:last-child {
  border-bottom: none;
}

.column li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--primary-blue);
  font-weight: bold;
  font-size: 0.9rem;
}

.column a {
  color: var(--dark-blue);
  text-decoration: none;
  transition: color 0.3s ease;
}

.column a:hover {
  color: var(--primary-blue);
}

/* Coming Soon Template */
.coming-soon {
  text-align: center;
  padding: 2rem 1rem;
  color: var(--text-dark);
}

.coming-soon-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  opacity: 0.7;
}

.coming-soon h3 {
  color: var(--primary-blue);
  font-size: 1.4rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.coming-soon p {
  font-size: 0.95rem;
  line-height: 1.6;
  opacity: 0.8;
  margin: 0;
}

.job-date {
  color: var(--text-dark);
  font-size: 0.8rem;
  opacity: 0.7;
  font-weight: normal;
  margin-top: 0.25rem;
  display: block;
}

.last-date-red {
  color: #dc3545;
  font-weight: 600;
  font-size: 0.8rem;
  margin-top: 0.25rem;
  display: inline-block;
}

/* Footer */
footer {
  background: var(--text-light);
  color: var(--text-dark);
  border-top: 3px solid var(--primary-blue);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-nav {
  display: flex;
  gap: 1.5rem;
}

.footer-nav a {
  color: var(--text-dark);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-nav a:hover {
  color: var(--primary-blue);
}

/* Scroll to Top Button */
.scroll-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: linear-gradient(135deg, var(--primary-blue), var(--medium-blue));
  color: var(--text-light);
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 1010;
}

.scroll-to-top.show {
  opacity: 1;
  visibility: visible;
}

.scroll-to-top:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

/* Responsive Design - Mobile First Approach */
@media (max-width: 1024px) {
  /* Tablet adjustments */
  .columns {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  main {
    padding: 0 1.5rem;
  }

  .breadcrumb {
    padding: 1rem 1.5rem;
  }
}

@media (max-width: 768px) {
  /* Mobile menu setup */
  .navbar .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--text-light);
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    padding: 2rem 0;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow-y: auto;
  }

  .navbar .nav-links.mobile-active {
    right: 0;
  }

  .navbar .nav-links li {
    width: 100%;
    margin: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }

  .navbar .nav-links li:last-child {
    border-bottom: none;
  }

  .navbar .nav-links li a {
    display: block;
    padding: 1.2rem 2rem;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-dark);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
  }

  .navbar .nav-links li a:hover {
    background: var(--light-blue);
    color: var(--primary-blue);
    padding-left: 2.5rem;
  }

  .navbar .nav-links li a:hover::before {
    content: "→";
    position: absolute;
    left: 1rem;
    color: var(--primary-blue);
    font-weight: bold;
  }

  .navbar .search-icon {
    display: block;
    order: 1;
    margin-right: 1rem;
    font-size: 1.1rem;
  }

  /* Layout adjustments */
  main {
    margin-top: 5rem;
    padding: 0 1rem;
  }

  .columns {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .footer-container {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
    padding: 1rem;
  }

  .footer-nav {
    justify-content: center;
  }

  /* Typography adjustments for mobile */
  h1 {
    font-size: 1.5rem;
    line-height: 1.3;
  }

  h2 {
    font-size: 1.2rem;
    line-height: 1.4;
  }

  h3 {
    font-size: 1.1rem;
    line-height: 1.4;
  }

  /* Button adjustments for mobile */
  .action-btn,
  .apply-btn,
  .download-btn,
  .check-btn,
  .learn-more {
    padding: 0.625rem 1.25rem;
    font-size: 0.85rem;
    min-height: 40px;
  }
}

@media (max-width: 640px) {
  /* Small mobile adjustments */
  .navbar .navbar-container {
    padding: 0.75rem 1rem;
  }

  .navbar .brand {
    font-size: 1.5rem;
  }

  .navbar .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--text-light);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem 0;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow-y: auto;
  }

  .navbar .nav-links.mobile-active {
    right: 0;
  }

  .navbar .nav-links li {
    width: 100%;
    margin: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }

  .navbar .nav-links li:last-child {
    border-bottom: none;
  }

  .navbar .nav-links li a {
    display: block;
    padding: 1.2rem 2rem;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-dark);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    text-align: center;
  }

  .navbar .nav-links li a:hover {
    background: var(--light-blue);
    color: var(--primary-blue);
  }
}

@media (max-width: 480px) {
  /* Extra small mobile */
  .navbar .nav-links {
    width: 240px;
  }

  main {
    padding: 0 0.5rem;
  }

  .search-overlay .search-container {
    width: 95%;
    padding: 1rem;
  }

  .search-overlay .search-input {
    font-size: 1rem;
    padding: 0.75rem;
  }
}

/* Large screen optimizations */
@media (min-width: 1201px) {
  main {
    margin: 3.5rem auto 3rem auto;
    padding: 0 3rem;
    max-width: 1400px;
  }

  .columns {
    gap: 3rem;
  }
}
/* Navigation Styles - Navbar, Mobile Menu, Breadcrumbs */

/* Main Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--text-light);
  color: var(--text-dark);
  padding: 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  border-bottom: 3px solid var(--primary-blue);
}

.navbar .navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

.navbar .brand {
  font-size: 1.8rem;
  font-weight: bold;
  text-decoration: none;
  color: var(--dark-blue);
  transition: color 0.3s ease;
}

.navbar .brand:hover {
  color: var(--dark-blue);
}

.navbar .nav-links {
  display: flex;
  list-style: none;
  gap: 1rem;
  margin: 0;
  padding: 0;
}

.navbar .nav-links li a {
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  transition: all 0.3s ease;
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  position: relative;
}

.navbar .nav-links li a:hover {
  background-color: var(--light-blue);
  color: var(--primary-blue);
}

.navbar .nav-links li a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: var(--primary-blue);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.navbar .nav-links li a:hover::after {
  width: 80%;
}

.navbar .search-icon {
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  color: var(--primary-blue);
  padding: 0.5rem;
  border-radius: 50%;
  transition: all 0.3s ease;
  margin-left: 1rem;
  display: block;
}

.navbar .search-icon:hover {
  background-color: var(--light-blue);
  transform: scale(1.1);
}

.navbar .search-icon:focus {
  outline: 2px solid var(--primary-blue);
  outline-offset: 2px;
}

/* Hamburger Menu */
.navbar .hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 24px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
  position: relative;
}

@media (max-width: 768px) {
  .navbar .hamburger {
    display: flex;
    order: 2;
    margin-left: 1rem;
  }
}

.navbar .hamburger-line {
  width: 100%;
  height: 3px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}

.navbar .hamburger.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.navbar .hamburger.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.navbar .hamburger.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(2px);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Breadcrumbs */
.breadcrumb {
  background-color: var(--text-light);
  padding: 1rem 2rem;
  margin-bottom: 1rem;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.breadcrumb ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.breadcrumb li {
  font-size: 0.9rem;
}

.breadcrumb li:not(:last-child)::after {
  content: ">";
  margin-left: 0.5rem;
  color: var(--medium-blue);
}

.breadcrumb a {
  color: var(--primary-blue);
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

/* Skip Link for Accessibility */
.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: var(--primary-blue);
  color: var(--text-light);
  padding: 8px 12px;
  text-decoration: none;
  border-radius: 4px;
  z-index: 1000;
  font-weight: bold;
  transition: top 0.3s ease;
}

.skip-link:focus {
  top: 6px;
}

/* Enhanced Focus Management */
.navbar a:focus,
.hero-btn:focus,
.learn-more:focus,
.action-btn:focus,
.search-icon:focus,
.hamburger:focus {
  outline: 2px solid var(--primary-blue);
  outline-offset: 2px;
}
/* Component Styles - Search Overlay, Overlays, UI Components */

/* Search Overlay - Consolidated Styles */
.search-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 8rem; /* Position container higher up */
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.search-overlay.active {
  opacity: 1;
  visibility: visible;
}

.search-overlay .search-container {
  background: var(--text-light);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  width: 90%;
  max-width: 500px;
  position: relative;
  max-height: 80vh; /* Prevent overflow on small screens */
  overflow-y: auto;
}

.search-overlay .search-input {
  width: 100%;
  padding: 1rem;
  border: 2px solid var(--light-blue);
  border-radius: 4px;
  font-size: 1.2rem;
  outline: none;
  transition: border-color 0.3s ease;
}

.search-overlay .search-input:focus {
  border-color: var(--primary-blue);
}

.search-overlay .close-search {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-dark);
  padding: 0.5rem;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.search-overlay .close-search:hover {
  background-color: var(--light-blue);
}

/* Search Results Page Components */
.search-results-page {
  padding: 1rem 0.5rem;
}

.search-results-page h1 {
  font-size: 1.75rem;
}

.search-input-container {
  flex-direction: column;
  gap: 0.75rem;
}

.search-input-field,
.search-btn {
  width: 100%;
}

.search-result-item {
  padding: 1rem;
}

.search-result-meta {
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
}

/* Responsive Search Results */
@media (max-width: 768px) {
  .search-results-page {
    padding: 1rem 0.5rem;
  }

  .search-results-page h1 {
    font-size: 1.75rem;
  }

  .search-input-container {
    flex-direction: column;
    gap: 0.75rem;
  }

  .search-input-field,
  .search-btn {
    width: 100%;
  }

  .search-result-item {
    padding: 1rem;
  }

  .search-result-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
}
/* Content Styles - Features, Articles, Blog Posts, Components */

/* Intro Section */
.intro-section {
  max-width: 1200px;
  margin: 3rem auto;
  padding: 0 1rem;
  text-align: center;
}

.intro-section h1 {
  color: var(--dark-blue);
  font-size: 2rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.intro-section h2 {
  color: var(--dark-blue);
  font-size: 2rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.intro-section > p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 3rem;
  color: var(--text-dark);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.feature-item {
  background: var(--text-light);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: left;
}

.feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.feature-item h3 {
  color: var(--primary-blue);
  font-size: 1.3rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.feature-item p {
  color: var(--text-dark);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.feature-item .learn-more {
  background: var(--primary-blue);
  color: var(--text-light);
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 500;
  transition: all 0.3s ease;
  display: inline-block;
}

.feature-item .learn-more:hover {
  background: var(--dark-blue);
  transform: translateY(-2px);
}

/* Blog Post Styles */
article h1 {
  color: var(--text-dark);
  font-size: 2rem;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.post-meta {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
  font-size: 0.9rem;
  color: var(--text-dark);
}

.category {
  background: var(--primary-blue);
  color: var(--text-light);
  padding: 0.25rem 0.75rem;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
}

.date {
  color: var(--text-dark);
  font-weight: 500;
}

.post-content {
  line-height: 1.7;
  color: var(--text-dark);
}

.post-content h2 {
  color: var(--text-dark);
  font-size: 1.5rem;
  margin: 2rem 0 1rem 0;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--light-blue);
}

.post-content h3 {
  color: var(--text-dark);
  font-size: 1.2rem;
  margin: 1.5rem 0 0.75rem 0;
}

.post-content p {
  margin-bottom: 1.2rem;
}

.post-content ul,
.post-content ol {
  margin: 1rem 0;
  padding-left: 2rem;
}

.post-content li {
  margin-bottom: 0.5rem;
}

.action-buttons {
  display: flex;
  gap: 1rem;
  margin: 2rem 0;
  flex-wrap: wrap;
}

.action-btn,
.apply-btn,
.download-btn,
.check-btn,
.learn-more {
  display: inline-block;
  background: var(--primary-blue);
  color: var(--text-light);
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.3s ease;
  margin-top: 1rem;
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
  min-height: 44px; /* Touch target minimum */
}

.action-btn:hover,
.apply-btn:hover,
.download-btn:hover,
.check-btn:hover,
.learn-more:hover {
  background: var(--dark-blue);
  transform: translateY(-1px);
}

/* Contact Info */
.contact-info {
  background-color: var(--light-blue);
  padding: 1.5rem;
  border-radius: 8px;
  margin: 1rem 0;
}

.contact-info p {
  margin: 0.5rem 0;
}

/* Job Post Specific Styles */
.job-header {
  text-align: center;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: var(--light-blue);
  border-radius: 8px;
}

.job-header h1 {
  color: var(--text-dark);
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.job-subtitle {
  color: var(--text-dark);
  font-size: 1rem;
  margin-bottom: 1rem;
  font-weight: 500;
}

.post-summary {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.05);
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--text-dark);
}

.social-share {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.05);
  text-align: center;
}

.social-share h3 {
  color: var(--primary-blue);
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.share-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  border: none;
  min-height: 44px;
}

.share-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.share-btn.facebook {
  background: #e3f2fd;
  color: #000;
  border: 2px solid #1877f2;
}

.share-btn.facebook:hover {
  background: #bbdefb;
}

.share-btn.whatsapp {
  background: #e8f5e8;
  color: #000;
  border: 2px solid #25d366;
}

.share-btn.whatsapp:hover {
  background: #c8e6c9;
}

.share-btn.telegram {
  background: #e3f2fd;
  color: #000;
  border: 2px solid #0088cc;
}

.share-btn.telegram:hover {
  background: #bbdefb;
}

.share-icon {
  font-size: 1.1rem;
}

.similar-posts {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.similar-posts h2 {
  color: var(--primary-blue);
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--light-blue);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.post-card {
  background: var(--light-blue);
  border-radius: 8px;
  padding: 1.5rem;
  text-decoration: none;
  display: block;
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.post-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  background: white;
}

.post-card-content h4 {
  color: var(--primary-blue);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
  line-height: 1.3;
}

.post-card-content p {
  color: var(--text-dark);
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.post-date {
  color: var(--text-dark);
  font-size: 0.8rem;
  font-weight: 500;
  opacity: 0.8;
}

.job-overview {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.overview-card {
  background: white;
  border-radius: 8px;
  padding: 1.5rem;
  text-align: center;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.card-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.card-content h3 {
  color: var(--primary-blue);
  font-size: 1rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.highlight-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-blue);
  margin: 0;
}

.highlight-date {
  font-size: 1.2rem;
  font-weight: 600;
  color: #991b1b;
  margin: 0;
}

.highlight-fee {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--primary-blue);
  margin: 0;
}

.countdown {
  margin-top: 1rem;
  text-align: center;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.5rem;
}

.countdown-number {
  font-size: 2rem;
  font-weight: 700;
  color: #991b1b;
  line-height: 1;
}

.countdown-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.intro-section {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.apply-btn {
  background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
  color: white;
  padding: 0.875rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.apply-btn:hover {
  background: linear-gradient(135deg, #229954 0%, #27ae60 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(39, 174, 96, 0.3);
}

.download-btn {
  background: linear-gradient(135deg, #3498db 0%, #5dade2 100%);
  color: white;
  padding: 0.875rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.download-btn:hover {
  background: linear-gradient(135deg, #2980b9 0%, #3498db 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.info-section {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.info-section h2 {
  color: var(--primary-blue);
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--light-blue);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}

.info-card {
  background: var(--light-blue);
  border-radius: 8px;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.info-card.highlight {
  background: linear-gradient(135deg, #ffeaa7 0%, #fab1a0 100%);
  border: 1px solid #e17055;
}

.info-card.highlight-green {
  background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
  border: 1px solid #28a745;
  box-shadow: 0 2px 8px rgba(40, 167, 69, 0.2);
}

.info-card.highlight-red {
  background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
  border: 1px solid #dc3545;
  box-shadow: 0 2px 8px rgba(220, 53, 69, 0.2);
}

.info-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.info-content h4 {
  color: var(--primary-blue);
  font-size: 1rem;
  margin-bottom: 0.25rem;
  font-weight: 600;
}

.info-content p {
  margin: 0;
  font-weight: 500;
}

.fee-table {
  background: var(--light-blue);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.fee-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.fee-row:last-child {
  border-bottom: none;
}

.fee-category {
  font-weight: 600;
  color: var(--text-dark);
}

.fee-amount {
  font-weight: 700;
  color: var(--primary-blue);
  font-size: 1.1rem;
}

.fee-amount.free {
  color: #0f5132;
}

.payment-info {
  background: rgba(255, 255, 255, 0.8);
  border-radius: 8px;
  padding: 1.5rem;
}

.payment-info h4 {
  color: var(--primary-blue);
  margin-bottom: 0.5rem;
}

/* Fee Refund Section Styles - Consistent with Payment Section */
.fee-refund-info {
  background: rgba(255, 255, 255, 0.8);
  border-radius: 8px;
  padding: 1.5rem;
  margin-top: 1.5rem;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.fee-refund-info h3 {
  color: var(--primary-blue);
  font-size: 1.2rem;
  margin-bottom: 1rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.fee-refund-info h3::before {
  content: "💰";
  font-size: 1.1rem;
}

.refund-details {
  display: grid;
  gap: 1rem;
}

.refund-category {
  background: var(--light-blue);
  border-radius: 8px;
  padding: 1.25rem;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.refund-category h4 {
  color: var(--primary-blue);
  font-size: 1rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.refund-category h4::before {
  content: "₹";
  font-size: 0.9rem;
  opacity: 0.8;
}

.refund-category p {
  margin: 0;
  color: var(--text-dark);
  line-height: 1.5;
  font-weight: 500;
}

.refund-important {
  background: rgba(220, 53, 69, 0.08);
  border: 1px solid rgba(220, 53, 69, 0.2);
  border-radius: 6px;
  padding: 1rem;
  margin-top: 1rem;
}

.refund-important p {
  margin: 0;
  color: #721c24;
  font-weight: 600;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.refund-important p::before {
  content: "⚠️";
  font-size: 1rem;
}

.vacancy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 1.5rem;
}

.vacancy-card {
  background: var(--light-blue);
  border-radius: 8px;
  padding: 1.5rem;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.vacancy-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.vacancy-header h4 {
  color: var(--primary-blue);
  font-size: 1.1rem;
  margin: 0;
}

.post-count {
  background: var(--primary-blue);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 15px;
  font-size: 0.85rem;
  font-weight: 600;
}

.vacancy-details p {
  margin: 0;
  line-height: 1.5;
}

.age-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}

.age-card {
  background: var(--light-blue);
  border-radius: 8px;
  padding: 1.5rem;
  text-align: center;
}

.age-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.age-content h4 {
  color: var(--primary-blue);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.age-note {
  background: rgba(255, 193, 7, 0.1);
  border: 1px solid rgba(255, 193, 7, 0.3);
  border-radius: 6px;
  padding: 1rem;
  text-align: center;
}

.qualification-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1rem;
}

.qual-item {
  background: var(--light-blue);
  border-radius: 8px;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.qual-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.qual-content h4 {
  color: var(--primary-blue);
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.steps-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}

.step {
  background: var(--light-blue);
  border-radius: 8px;
  padding: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  position: relative;
  transition: all 0.3s ease;
}

.step:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.step-number {
  background: var(--primary-blue);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.step-content h4 {
  color: var(--primary-blue);
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.selection-process {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.process-item {
  background: var(--light-blue);
  border-radius: 8px;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
}

.process-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.process-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.process-item h4 {
  color: var(--primary-blue);
  font-size: 1rem;
  margin: 0;
}

.links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}

.link-card {
  background: white;
  border-radius: 8px;
  padding: 1.5rem;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.link-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.link-card.primary {
  background: #e8f5e8;
  color: #000;
  border: 2px solid #27ae60;
}

.link-card.primary:hover {
  background: #c8e6c9;
}

.link-card.primary .link-content p {
  color: #000;
}

.link-card.secondary {
  background: var(--light-blue);
  color: var(--text-dark);
  border-color: var(--primary-blue);
}

.link-card.secondary:hover {
  background: white;
}

.link-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.link-content h4 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
  font-weight: 600;
}

.link-content p {
  margin: 0;
  font-size: 0.9rem;
  opacity: 0.8;
}

/* FAQ Section */
.faq {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  margin-top: 2rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.faq h2 {
  color: var(--primary-blue);
  font-size: 1.8rem;
  margin-bottom: 2rem;
  text-align: center;
}

.question {
  background: var(--light-blue);
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1rem;
  border-left: 4px solid var(--primary-blue);
}

.question strong {
  color: var(--primary-blue);
  font-size: 1.1rem;
}

.question p {
  margin: 0.5rem 0;
}

/* Post Image Styles */
.post-image {
  text-align: center;
  margin: 2rem 0;
  padding: 1rem;
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.post-image img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.post-image img:hover {
  transform: scale(1.02);
}

/* Responsive Content */
@media (max-width: 768px) {
  .intro-section {
    margin: 2rem auto;
    padding: 0 0.5rem;
  }

  .intro-section h1,
  .intro-section h2 {
    font-size: 1.5rem;
  }

  .intro-section > p {
    font-size: 1rem;
    margin-bottom: 2rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
  }

  .feature-item {
    padding: 1.25rem;
  }

  .feature-item h3 {
    font-size: 1.1rem;
  }

  /* Job post mobile styles */
  .job-header {
    padding: 1.5rem;
    margin-bottom: 2rem;
  }

  .job-header h1 {
    font-size: 2rem;
  }

  .job-subtitle {
    font-size: 1rem;
  }

  .job-overview {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .overview-card {
    padding: 1.25rem;
  }

  .info-grid {
    grid-template-columns: 1fr;
  }

  .info-card {
    padding: 1.25rem;
  }

  .qualification-list {
    grid-template-columns: 1fr;
  }

  .steps-container {
    grid-template-columns: 1fr;
  }

  .links-grid {
    grid-template-columns: 1fr;
  }

  .posts-grid {
    grid-template-columns: 1fr;
  }

  .post-card {
    padding: 1.25rem;
  }

  .post-card-content h4 {
    font-size: 1rem;
  }

  .selection-process {
    grid-template-columns: repeat(2, 1fr);
  }

  .age-info {
    grid-template-columns: 1fr;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .share-buttons {
    flex-direction: column;
  }

  .share-btn {
    justify-content: center;
  }

  .social-share {
    padding: 1.5rem;
  }

  .social-share h3 {
    font-size: 1.3rem;
  }

  .apply-btn,
  .download-btn {
    text-align: center;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .intro-section h1,
  .intro-section h2 {
    font-size: 1.3rem;
  }

  .feature-item {
    padding: 1.25rem;
  }

  .feature-item .learn-more {
    width: 100%;
    text-align: center;
  }
}

/* Custom Table Styles for Posts */
.posts-table-container {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.05);
  overflow-x: auto;
  margin: 1rem 0;
}

.posts-table-custom {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 43, 61, 0.1);
}

.posts-table-custom thead {
  background: linear-gradient(135deg, var(--primary-blue), var(--medium-blue));
  color: white;
}

.table-header-custom {
  padding: 1rem 1.5rem;
  text-align: left;
  font-weight: 600;
  font-size: 1rem;
  border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

.table-header-custom:first-child {
  border-top-left-radius: 8px;
}

.table-header-custom:last-child {
  border-top-right-radius: 8px;
}

.table-row-custom {
  border-bottom: 1px solid rgba(0, 43, 61, 0.08);
}

.table-row-custom:nth-child(even) {
  background: rgba(0, 43, 61, 0.03);
}

.table-row-custom:hover {
  background: rgba(0, 43, 61, 0.05);
}

.table-row-custom:last-child {
  border-bottom: none;
}

.table-cell-custom {
  padding: 1rem 1.5rem;
  border-right: 1px solid rgba(0, 43, 61, 0.08);
  color: var(--text-dark);
  font-weight: 500;
}

.table-cell-custom:last-child {
  border-right: none;
}

.table-cell-custom:first-child {
  font-weight: 600;
  color: var(--primary-blue);
  min-width: 300px;
}

.total-row-custom {
  background: linear-gradient(135deg, #e8f5e8, #c8e6c9);
  font-weight: 700;
  border-top: 2px solid var(--primary-blue);
}

.total-row-custom:hover {
  background: linear-gradient(135deg, #c8e6c9, #a8d5a5);
  transform: none;
}

.total-cell-custom {
  color: var(--primary-blue);
  font-size: 1.1rem;
}

.total-cell-custom:first-child {
  text-align: left;
  font-size: 1.2rem;
}



/* Show More Button Styles */
.hidden-job {
  display: none;
}

.show-more-btn {
  background: linear-gradient(135deg, var(--primary-blue), var(--medium-blue));
  color: var(--text-light);
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 1rem;
  display: block;
  width: 100%;
  max-width: 200px;
  margin-left: auto;
  margin-right: auto;
}

.show-more-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Responsive Table Styles */
@media (max-width: 768px) {
  .posts-table-container {
    padding: 1rem;
    margin: 1rem -0.5rem;
  }

  .posts-table-custom {
    font-size: 0.85rem;
  }

  .table-header-custom,
  .table-cell-custom {
    padding: 0.75rem 1rem;
  }

  .table-cell-custom:first-child {
    min-width: 200px;
  }
}
