/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', Arial, sans-serif;
  line-height: 1.6;
  background-color: #f4f7fa;
  color: #333;
}

/* Header */
.oag-header {
  background-color: #1b8e3f;
  color: #fff;
  padding: 20px 40px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.header-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.oag-logo {
  height: 60px;
  margin-bottom: 10px;
}

.portal-title {
  font-size: 24px;
  font-weight: 700;
}

.nav-menu {
  display: flex;
  gap: 30px;
}

.nav-menu a {
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-menu a:hover {
  color: #e0e0e0;
}

/* Jobs Section */
.jobs-section {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
}

.jobs-section h2 {
  font-size: 28px;
  color: #1b8e3f;
  margin-bottom: 30px;
  font-weight: 600;
}

/* .job-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
} */

.job-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}


.job-card {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.3s, box-shadow 0.3s;
}

.job-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}

.job-image {
  width: 30%;        /* reduce from 100% */
  height: auto;      /* let it scale proportionally */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
  max-height: 250px; /* optional: limit height */
  margin-left: auto; /* center horizontally */
  margin-right: auto;
  display: block;    /* required for margin auto centering */
}

.job-card h3 {
  margin-bottom: 12px;
  color: #1b8e3f;
  font-size: 20px;
  font-weight: 600;
}

.job-card h3 i {
  color: #1b8e3f;
  margin-right: 8px;
}

.job-card p {
  margin-bottom: 10px;
  color: #555;
  font-size: 16px;
}

.job-card p i {
  color: #1b8e3f;
  margin-right: 8px;
}

.btn {
  display: inline-flex;
  align-items: center;
  background-color: #1b8e3f;
  color: #fff;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.3s, transform 0.2s;
}

.btn:hover {
  background-color: #146b2f;
  transform: translateY(-2px);
}

.btn i {
  margin-right: 8px;
}

/* Job Description Section */
.job-description-section {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
}

.job-description-section h2 {
  font-size: 28px;
  color: #1b8e3f;
  margin-bottom: 20px;
  font-weight: 600;
}

.pdf-container {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  overflow: hidden;
}

.pdf-container embed {
  display: block;
  width: 100%;
  height: 600px;
  border: none;
}

/* Application Form Section */
.application-section {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
}

.application-section h2 {
  font-size: 28px;
  color: #1b8e3f;
  margin-bottom: 20px;
  font-weight: 600;
}

.application-container {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  text-align: center;
}

.application-container p {
  margin-bottom: 20px;
  color: #555;
  font-size: 16px;
}

/* Footer */
.oag-footer {
  background-color: #1b8e3f;
  color: #fff;
  padding: 30px 40px;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
}

.footer-section {
  flex: 1;
}

.footer-section h3 {
  font-size: 20px;
  margin-bottom: 15px;
  font-weight: 600;
}

.footer-section p {
  font-size: 16px;
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.footer-section p i {
  margin-right: 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .nav-menu {
    flex-direction: column;
    gap: 15px;
  }

  .oag-logo {
    height: 50px;
  }

  .portal-title {
    font-size: 20px;
  }

  .jobs-section h2,
  .job-description-section h2,
  .application-section h2 {
    font-size: 24px;
  }

  .job-card {
    padding: 15px;
  }

  .job-image {
    height: 400px;
  }

  .pdf-container embed {
    height: 400px;
  }

  .footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}
/* ===== Maintenance Ticker ===== */
.notice-ticker {
  position: relative;        /* appears below header */
  width: 100%;
  background: #146b2f;       /* OAG green */
  color: #fff;
  border-top: 2px solid #0e4c22;
  border-bottom: 2px solid #0e4c22;
  overflow: hidden;
  padding: 10px 0;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.3px;
}

.ticker-track {
  display: inline-block;
  white-space: nowrap;
  animation: oag-ticker 35s linear infinite; /* slower, friendly pace */
}

.ticker-text {
  display: inline-block;
  padding: 0 5rem;   /* space between repeats */
}

@keyframes oag-ticker {
  0%   { transform: translateX(0); }     /* visible immediately */
  100% { transform: translateX(-50%); } /* slides halfway (two spans = full loop) */
}

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
}
