/* General Styles */
body {
  font-family: 'Arial', sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  background-color: #121212; /* Matches dark theme */
  color: #ffffff; /* White text on dark background */
}

h1, h2, h3 {
  text-align: center;
  margin-bottom: 20px;
  color: #00d4ff; /* Highlighted text color */
}

/* Navbar Styles */
header {
  position: sticky;
  top: 0;
  background: rgba(0, 0, 0, 0.8);
  padding: 10px 20px;
  z-index: 1000;
  display: flex;
  align-items: center;
}

.navbar {
    display: flex;
    justify-content: space-between;
    width: 100%;
    align-items: center;
}

.logo img {
    width: 80px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
}

.nav-links li {
    position: relative; /* Enable dropdown positioning */
}

.nav-links a {
    text-decoration: none;
    color: white;
    font-size: 16px;
    padding: 8px 12px;
    transition: color 0.3s;
    display: inline-block; /* Ensure padding applies correctly */
}

.nav-links a:hover {
    color: #00d4ff;
}

/* Dropdown styles */
.dropdown-menu {
    display: none; /* Initially hidden */
    position: absolute; /* Position relative to parent */
    top: 100%; /* Align dropdown below the parent */
    left: 0; /* Align dropdown with the parent */
    background-color: #444;
    list-style: none;
    padding: 0; /* Remove extra padding */
    margin: 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Softer shadow */
    border-radius: 4px;
    z-index: 1000; /* Ensure it stays above other elements */
    min-width: 180px; /* Adjust width for better alignment */
}

.dropdown-menu li {
    margin: 0; /* Remove extra margin between items */
}

.dropdown-menu a {
    color: white;
    padding: 10px 16px; /* Larger padding for better usability */
    white-space: nowrap; /* Prevent text wrapping */
    display: block; /* Ensure each link occupies full width */
    text-align: left; /* Align text to the left */
    font-size: 14px; /* Slightly smaller font for dropdown */
}

.dropdown-menu a:hover {
    background-color: #575757;
}

/* Show dropdown on hover */
.dropdown:hover .dropdown-menu {
    display: block; /* Show dropdown */
}

/* Adjust for mobile responsiveness */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column; /* Stack logo and links */
    }

    .nav-links {
        flex-direction: column; /* Stack links vertically */
        align-items: flex-start; /* Align to left */
    }

    .dropdown-menu {
        min-width: 100%; /* Full width on smaller screens */
    }
}


/* Hero Section */
.hero {
  background: url('/images/FullTimeroleshero.png') no-repeat center center/cover;
  width: 100vw; /* Full width of the viewport */
  height: 100vh; /* Full height of the viewport */
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
}

.hero .btn {
  background-color: #00d4ff;
  padding: 15px 30px;
  border-radius: 5px;
  color: #121212;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.3s;
}

.hero .btn:hover {
  background-color: #008bbd;
}

/* Section Styles */
section {
  padding: 40px 20px;
}

.reasons, .roles-grid, .steps, .gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.reason, .role, .step {
  text-align: center;
  background: #1e1e1e;
  border-radius: 8px;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.3);
  padding: 20px;
  flex: 1 1 calc(33.333% - 20px);
  min-width: 280px;
}

.reason i, .role i, .step i {
  font-size: 2rem;
  color: #00d4ff;
  margin-bottom: 10px;
}

.role h3, .reason h3, .step h3 {
  margin-bottom: 10px;
  color: #ffffff;
}

.role p, .reason p, .step p {
  color: #cccccc;
}

/* Buttons */
.btn {
  background-color: #00d4ff;
  color: #121212;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.btn:hover {
  background-color: #008bbd;
}

/* Life at [Your Company] Gallery */
.gallery img {
  width: 300px;
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery img:hover {
  transform: scale(1.05);
  box-shadow: 0px 8px 12px rgba(0, 0, 0, 0.4);
}

/* Footer Section */
.footer {
    background: linear-gradient(135deg, #000428, #004e92); /* Gradient background */
    color: white;
    padding: 40px 20px 10px;
    font-family: Arial, sans-serif;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    text-align: left;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-logo img {
    width: 100px; /* Adjust logo size */
    margin-bottom: 10px;
}

.footer-logo p {
    font-size: 18px;
    font-weight: bold;
}

.footer-links {
    margin: 20px 0;
}

.footer-links h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links ul li {
    margin-bottom: 8px;
}

.footer-links ul li a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links ul li a:hover {
    color: #00d4ff; /* Highlight color on hover */
}

.footer-social h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.footer-social a {
    color: white;
    font-size: 24px;
    margin-right: 10px;
    text-decoration: none;
    transition: transform 0.3s ease, color 0.3s ease;
}

.footer-social a:hover {
    transform: scale(1.2);
    color: #00d4ff;
}

.footer-bottom {
    text-align: center;
    margin-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 10px;
    font-size: 14px;
}

@media screen and (max-width: 1024px) {
  .navbar {
    flex-wrap: wrap;
    padding: 10px;
  }

  .nav-links {
    gap: 15px;
  }

  .hero {
    height: 80vh;
    background-position: center;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero .btn {
    padding: 12px 25px;
  }

  .reason,
  .role,
  .step {
    flex: 1 1 calc(45% - 20px);
  }

  .gallery img {
    width: 250px;
  }

  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-links,
  .footer-social {
    margin: 15px 0;
  }
}

/* ✅ For Tablets and Large Phones (max-width: 768px) */
@media screen and (max-width: 768px) {
  /* Navbar */
  .navbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links {
    flex-direction: column;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: none;
    margin-top: 10px;
  }

  .nav-links.show {
    display: flex; /* Use JS toggle for hamburger */
  }

  .nav-links a {
    display: block;
    width: 100%;
    padding: 12px 20px;
  }

  .dropdown-menu {
    position: static;
    box-shadow: none;
    width: 100%;
  }

  /* Hero Section */
  .hero {
    height: auto;
    padding: 80px 20px;
    flex-direction: column;
  }

  .hero .btn {
    font-size: 16px;
    padding: 10px 20px;
  }

  /* Sections */
  section {
    padding: 30px 10px;
  }

  .reasons,
  .roles-grid,
  .steps,
  .gallery {
    flex-direction: column;
    align-items: center;
  }

  .reason,
  .role,
  .step {
    width: 90%;
    max-width: 400px;
  }

  .gallery img {
    width: 90%;
    max-width: 350px;
  }

  /* Footer */
  .footer-container {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .footer-logo img {
    width: 80px;
  }

  .footer-links h3,
  .footer-social h3 {
    font-size: 18px;
  }

  .footer-links ul li a {
    font-size: 14px;
  }

  .footer-bottom {
    font-size: 13px;
  }
}

/* ✅ For Small Phones (max-width: 480px) */
@media screen and (max-width: 480px) {
  body {
    font-size: 14px;
  }

  .logo img {
    width: 60px;
  }

  .hero {
    padding: 60px 10px;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .hero .btn {
    font-size: 14px;
    padding: 8px 15px;
  }

  .reason,
  .role,
  .step {
    padding: 15px;
  }

  .reason i,
  .role i,
  .step i {
    font-size: 1.8rem;
  }

  .reason h3,
  .role h3,
  .step h3 {
    font-size: 20px;
  }

  .reason p,
  .role p,
  .step p {
    font-size: 14px;
  }

  .gallery img {
    width: 100%;
    max-width: 320px;
  }

  .footer {
    padding: 30px 10px;
  }

  .footer-logo img {
    width: 70px;
  }

  .footer-links h3,
  .footer-social h3 {
    font-size: 16px;
  }

  .footer-bottom {
    font-size: 12px;
  }
}