/* Google Fonts (add to your HTML <head>)
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;600&family=Playfair+Display:wght@700&display=swap" rel="stylesheet">
*/

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  background-color: #fdfdfd;
  color: #2c2c2c;
  line-height: 1.5;
  scroll-behavior: smooth;
}

/* Headings */
h1,
h2,
h3,
h4 {
  font-family: "Playfair Display", serif;
}

/* Header */
header {
  background: linear-gradient(to right, #b8860b, #daa520);
  color: white;
  padding: 20px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 100;
}

header h1 {
  font-size: 2.4rem;
  margin-bottom: 8px;
  letter-spacing: 1.2px;
}

/* Mobile Toggle Button */
.menu-toggle {
  display: none;
  font-size: 1.8rem;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: white;
  cursor: pointer;
  margin: 10px auto 0;
  padding: 10px 16px;
  border-radius: 8px;
  transition: all 0.3s ease;
  width: 50px;
  height: 50px;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.menu-toggle:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.05);
}

.menu-toggle:active {
  transform: scale(0.95);
}

.menu-toggle.open {
  background: rgba(255, 255, 255, 0.3);
}

/* Navigation Container */
nav {
  backdrop-filter: blur(12px);
  background-color: rgba(255, 255, 255, 0.1);
  padding: 10px 0;
  position: relative;
  z-index: 90;
}

nav#main-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.3s ease;
}

/* Navigation List */
nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

/* Navigation Links */
nav a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  position: relative;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  display: inline-block;
}

nav a:hover {
  background-color: rgba(255, 255, 255, 0.2);
  color: #fffacd;
  box-shadow: 0 0 12px #fffacd;
  transform: translateY(-2px);
}

nav a.active {
  color: #fffacd;
  font-weight: 700;
  box-shadow: 0 0 14px #fffacd;
  background: rgba(255, 255, 255, 0.15);
}

nav a.active::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 40%;
  height: 2px;
  background-color: #fffacd;
  border-radius: 2px;
  transition: width 0.3s ease;
}

/* Enhanced Responsive Navigation */
@media (max-width: 1024px) {
  .menu-toggle {
    display: flex;
  }

  nav#main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    flex-direction: column;
    align-items: center;
    background: linear-gradient(to bottom, #b8860b, #a0750a);
    padding: 0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    transition: max-height 0.4s ease, opacity 0.4s ease, padding 0.4s ease;
  }

  nav#main-nav.active {
    max-height: 600px;
    opacity: 1;
    padding: 20px 0;
    display: flex;
  }

  nav#main-nav ul {
    flex-direction: column;
    gap: 12px;
    width: 100%;
    padding: 0 20px;
  }

  nav#main-nav li {
    width: 100%;
    opacity: 0;
    transform: translateY(-10px);
    animation: slideInMenu 0.3s ease forwards;
  }

  nav#main-nav.active li:nth-child(1) {
    animation-delay: 0.1s;
  }
  nav#main-nav.active li:nth-child(2) {
    animation-delay: 0.15s;
  }
  nav#main-nav.active li:nth-child(3) {
    animation-delay: 0.2s;
  }
  nav#main-nav.active li:nth-child(4) {
    animation-delay: 0.25s;
  }
  nav#main-nav.active li:nth-child(5) {
    animation-delay: 0.3s;
  }
  nav#main-nav.active li:nth-child(6) {
    animation-delay: 0.35s;
  }

  nav#main-nav a {
    width: 100%;
    text-align: center;
    padding: 16px 20px;
    font-size: 1.1rem;
    border-radius: 12px;
    background-color: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  }

  nav#main-nav a:active {
    transform: scale(0.97);
  }

  nav#main-nav a.active::after {
    display: none;
  }

  nav#main-nav a.active {
    background: rgba(255, 255, 255, 0.25);
    border: 2px solid #fffacd;
  }
}
/* Navigation Button Press Feedback */
nav a:active {
  background-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 0 16px #fffacd, 0 0 6px #fffacd inset;
  transform: scale(0.98);
  transition: all 0.2s ease;
}

/* Active + Hover Consistency */
nav a.active:hover {
  background-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 0 16px #fffacd, 0 0 6px #fffacd inset;
  transform: translateY(-2px) scale(1.02);
}

/* Mobile Tap Feedback */
@media (max-width: 1024px) {
  nav#main-nav a:active {
    background-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 0 16px #fffacd, 0 0 6px #fffacd inset;
    transform: scale(0.97);
  }

  nav#main-nav a:hover {
    background-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 12px #fffacd;
    transform: translateY(-2px);
  }

  nav#main-nav a.active:hover {
    box-shadow: 0 0 16px #fffacd, 0 0 6px #fffacd inset;
    transform: scale(1.02);
  }
}
@keyframes pulseGlow {
  0% {
    box-shadow: 0 0 6px #fffacd;
  }
  50% {
    box-shadow: 0 0 16px #fffacd;
  }
  100% {
    box-shadow: 0 0 6px #fffacd;
  }
}

nav a.active {
  animation: pulseGlow 2s infinite;
}

/* Slide In Menu Animation */
@keyframes slideInMenu {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Slide Down Animation (Legacy Support) */
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hero Section */
#hero {
  position: relative;
  background: url("assets/images/landing_Page.webp") no-repeat center center;
  background-size: cover;
  background-position: center top;
  height: 100vh;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
}

#hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.5),
    rgba(184, 134, 11, 0.4)
  );
  z-index: 1;
}

#hero h2,
#hero button {
  position: relative;
  z-index: 2;
}

#hero h2 {
  font-family: "Playfair Display", serif;
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 12px;
  animation: fadeInDown 1s ease-out;
}

#hero button {
  background-color: #b8860b;
  color: white;
  border: none;
  padding: 12px 28px;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  cursor: pointer;
  border-radius: 50px;
  height: 44px;
  transition: background-color 0.3s ease, transform 0.3s ease;
  animation: fadeInUp 1.4s ease-out;
}

#hero button:hover {
  background-color: #daa520;
  transform: scale(1.05);
}

/* Hero Logo */
.hero-logo {
  width: 160px;
  height: auto;
  border-radius: 50%;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  background-color: rgba(255, 255, 255, 0.1);
  padding: 10px;
  transition: transform 0.3s ease;
}

.hero-logo:hover {
  transform: scale(1.05);
}

/* Fade In Animations */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Section Layout */
.about-section {
  max-width: 900px;
  margin: 60px auto;
  padding: 0 20px;
}

.about-section h2 {
  font-family: "Playfair Display", serif;
  font-size: 2.2rem;
  margin-bottom: 20px;
  color: #b8860b;
}

.about-section h3 {
  font-size: 1.4rem;
  margin-top: 30px;
  margin-bottom: 10px;
  color: #333;
}

.about-section p {
  margin-bottom: 15px;
  font-size: 1.05rem;
}

.about-section ul {
  margin-left: 20px;
  margin-bottom: 20px;
  list-style-type: disc;
}

.about-section li {
  margin-bottom: 15px;
  font-size: 1.05rem;
}

.rtg-acronym {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 20px;
}

.rtg-letter h4 {
  font-size: 1.3rem;
  color: #b8860b;
  margin-bottom: 6px;
}

.rtg-letter p {
  font-size: 1.05rem;
  color: #333;
}

@media (min-width: 768px) {
  .rtg-acronym {
    flex-direction: row;
    justify-content: space-between;
  }

  .rtg-letter {
    flex: 1;
    padding: 0 10px;
  }
}

/* Section Divider */
.section-divider {
  width: 100px;
  height: 4px;
  background: linear-gradient(to right, #b8860b, #daa520);
  margin: 30px auto;
  border-radius: 2px;
}

.map-wrapper {
  margin-top: 20px;
  text-align: center;
}

.toggle-map {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #2c2c2c;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 50px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  font-size: 1rem;
  height: 44px;
}

.toggle-map:hover {
  background-color: rgba(255, 255, 255, 0.25);
}

.map-container {
  margin-top: 16px;
  border-radius: 16px;
  overflow: hidden;
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  transition: max-height 0.4s ease, opacity 0.4s ease;
}

/* Optional: collapse map on small screens by default */
@media (max-width: 768px) {
  .map-container iframe {
    height: 240px;
  }
}

/* Glass Card */
.glass-card {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Contact Form */
form {
  background-color: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  max-width: 600px;
  margin: 40px auto;
}

form label {
  font-weight: 600;
  display: block;
  margin-bottom: 6px;
  color: #333;
}

form input,
form textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 20px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
}

form button {
  background-color: #b8860b;
  color: white;
  padding: 12px 24px;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

form button:hover {
  background-color: #daa520;
}

/* Footer */
footer {
  background-color: #1a1a1a;
  color: #f0f0f0;
  padding: 40px 20px;
  font-size: 0.9rem;
  line-height: 1.6;
  text-align: center;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: left;
}

.footer-info,
.footer-links,
.footer-hours {
  flex: 1 1 280px;
  max-width: 320px;
}

/* Headings */
.footer-info h3,
.footer-links h4,
.footer-hours h4 {
  font-family: "Playfair Display", serif;
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: #fffacd;
}

/* Text Blocks */
.footer-info p,
.footer-hours p {
  margin-bottom: 10px;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a,
.footer-info a {
  color: #f0f0f0;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover,
.footer-info a:hover {
  color: #daa520;
  text-decoration: underline;
}

/* Bottom Line */
.footer-bottom {
  text-align: center;
  margin-top: 30px;
  border-top: 1px solid #444;
  padding-top: 15px;
  font-size: 0.8rem;
  color: #ccc;
}

/* Responsive Footer */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-info,
  .footer-links,
  .footer-hours {
    max-width: unset;
    text-align: center;
  }
}

/* Utility: Section Padding */
.section-padding {
  padding: 60px 20px;
}

@media (max-width: 768px) {
  .section-padding {
    padding: 40px 16px;
  }
}

/* Enhanced Headings */
h1,
h2,
h3,
h4 {
  font-family: "Playfair Display", serif;
  letter-spacing: 0.5px;
  transition: color 0.3s ease, font-size 0.3s ease;
  margin-bottom: 16px;
}

h2 {
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 24px;
}

h3 {
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 16px;
}

/* Unified Button Styling */
button,
.toggle-map,
form button {
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  height: 44px;
  padding: 12px 24px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  background-color: #b8860b;
  color: white;
}

button:hover,
.toggle-map:hover,
form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
  background-color: #daa520;
}

button:focus-visible {
  outline: 2px solid #daa520;
  outline-offset: 2px;
}

/* Glassmorphic Elevation */
.glass-card,
.map-container,
form {
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1),
    0 8px 24px rgba(0, 0, 0, 0.2);
  transition: box-shadow 0.3s ease, border 0.3s ease;
  border-radius: 12px;
}

/* Link Hover Glow */
a {
  transition: color 0.3s ease, box-shadow 0.3s ease;
}

a:hover {
  color: #daa520;
  text-decoration: none;
  box-shadow: 0 0 6px #daa520;
}

/* Footer Divider */
.footer-bottom::before {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  margin: 0 auto 15px;
  background: linear-gradient(to right, #b8860b, #daa520);
  border-radius: 2px;
}

/* Responsive Typography */
@media (max-width: 768px) {
  h2 {
    font-size: 2rem;
  }

  h3 {
    font-size: 1.3rem;
  }

  .hero-logo {
    width: 120px;
  }

  button,
  .toggle-map,
  form button {
    width: 100%;
    font-size: 1rem;
  }

  header h1 {
    font-size: 1.8rem;
  }

  #hero h2 {
    font-size: 2rem;
  }
}

/* Focus Styles for Accessibility */
input:focus-visible,
textarea:focus-visible,
button:focus-visible {
  outline: 2px solid #daa520;
  outline-offset: 2px;
}

/* Error Message Styling */
.error-message {
  color: red;
  font-size: 0.85rem;
  margin-top: -12px;
  margin-bottom: 12px;
  display: block;
}

/* Map Reveal Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.map-container {
  animation: fadeIn 0.4s ease-in-out;
}

/* Button Interaction Feedback */
button,
.toggle-map,
form button {
  transition: background-color 0.3s ease, transform 0.3s ease,
    box-shadow 0.3s ease;
}

button:hover,
.toggle-map:hover,
form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

button:active,
.toggle-map:active,
form button:active {
  transform: scale(0.98);
}

/* Form Field Enhancements */
form input,
form textarea {
  transition: border 0.3s ease, box-shadow 0.3s ease;
}

form input:focus-visible,
form textarea:focus-visible {
  border-color: #daa520;
  box-shadow: 0 0 0 2px rgba(218, 165, 32, 0.2);
}

/* Responsive Button Scaling */
@media (max-width: 768px) {
  button,
  .toggle-map,
  form button {
    width: 100%;
    font-size: 1rem;
  }
}
.client-photo {
  display: flex;
  justify-content: center;
  margin: 40px 0;
}

.client-photo img {
  max-width: 300px;
  width: 100%;
  height: auto;
  border-radius: 50%; /* Rounded corners */
  border: 2px solid #b8860b; /* Golden border */
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15); /* Soft shadow */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.client-photo img:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.2);
}
.jobseekers-photo {
  text-align: center;
  margin-top: 40px;
}

.jobseekers-photo img {
  max-width: 320px;
  width: 100%;
  height: auto;
  border-radius: 16px;
  border: 2px solid #b8860b;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.jobseekers-photo img:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.2);
}
.services-divider-image {
  text-align: center;
  margin: 40px 0;
}

.services-divider-image img {
  max-width: 100%;
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 16px;
  border: 2px solid #b8860b;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.services-divider-image img:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.2);
}
.services-image-row {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin: 40px 0;
  flex-wrap: wrap;
}

.services-image-row img {
  max-width: 380px;
  width: 100%;
  height: auto;
  border-radius: 16px;
  border: 2px solid #b8860b;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.services-image-row img:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.2);
}
.staffing-divider-image {
  text-align: center;
  margin: 40px 0;
}

.staffing-divider-image img {
  max-width: 800px;
  width: 100%;
  height: auto;
  border-radius: 16px;
  border: 2px solid #b8860b;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.staffing-divider-image img:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.2);
}
.jobseekers-divider-image {
  text-align: center;
  margin: 40px 0;
}

.jobseekers-divider-image img {
  max-width: 800px;
  width: 100%;
  height: auto;
  border-radius: 16px;
  border: 2px solid #b8860b;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.jobseekers-divider-image img:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.2);
}
.image-caption {
  font-size: 0.95rem;
  color: #555;
  margin-top: 12px;
}
