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

body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #f8f9fa;
  color: #333;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Header and Navigation */
header {
  background-color: #0A4A70;
  color: white;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  position: relative;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  display: flex;
  align-items: center;
}

.logo img {
  height: 40px;
  margin-right: 10px;
}

.main-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 40px;
  align-items: center;
  justify-content: flex-end;
  margin: 0;
  padding: 0;
}

.nav-links li a {
  text-decoration: none;
  color: white;
  font-weight: 500;
  padding: 10px 16px;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
}

.nav-links li a:hover {
  background: rgba(255,255,255,0.12);
  color: #ffd700;
}

/* Dropdown Styles */
.dropdown {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: -100px;
  background: white;
  color: black;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  border-radius: 5px;
  min-width: 160px;
  z-index: 1000;
}

.dropdown-menu li {
  padding: 10px 15px;
}

.dropdown-menu li a {
  color: #333;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

.register-dropdown .dropdown-menu {
  left: auto;
  right: 0;
  min-width: 200px;
  white-space: nowrap;
}

/* Button Styles */
.btn {
  display: inline-block;
  padding: 12px 25px;
  background-color: #00695c;
  color: white;
  text-decoration: none;
  border-radius: 25px;
  font-weight: bold;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s;
}

.btn:hover {
  background-color: #004d40;
}

.btn-success {
  background-color: #4caf50;
}

.btn-success:hover {
  background-color: #45a049;
}

.btn-danger {
  background-color: #f44336;
}

.btn-danger:hover {
  background-color: #da190b;
}

.btn-warning {
  background-color: #ff9800;
}

.btn-warning:hover {
  background-color: #e68900;
}

.btn-secondary {
  background-color: #6c757d;
}

.btn-secondary:hover {
  background-color: #5a6268;
}

.btn-disabled {
  background-color: #ccc;
  cursor: not-allowed;
}

.nav-btn {
  background: linear-gradient(90deg, #197b88 0%, #1ec8c8 100%);
  color: #fff !important;
  padding: 10px 22px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  margin: 0 6px;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, border 0.2s;
  box-shadow: 0 2px 8px rgba(24,123,136,0.10);
  border: 2px solid #197b88;
  display: inline-block;
  cursor: pointer;
}

.nav-btn:hover, .nav-btn:focus {
  background: linear-gradient(90deg, #17606e 0%, #1ec8c8 100%);
  color: #ffd700 !important;
  box-shadow: 0 4px 16px rgba(24,123,136,0.16);
  outline: none;
  border-color: #125a66;
}

/* Form Styles */
.form-container {
  width: 90%;
  max-width: 500px;
  margin: 40px auto;
  background: #fff;
  padding: 20px 20px 32px 20px !important;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  border-radius: 10px;
  height: fit-content !important;
  min-height: unset !important;
}
.form-container > * {
  margin-bottom: 0 !important;
}
.form-container form {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}
.form-container p {
  margin: 0 !important;
  padding: 0 !important;
}

.form-container h2 {
  text-align: center;
  margin-bottom: 16px;
  border-bottom: none !important;
  box-shadow: none !important;
}

.form-container input,
.form-container select,
.form-container textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
}

.form-container .btn {
  width: 100%;
  background: #00695c;
  color: white;
  padding: 12px;
  border: none;
  font-size: 16px;
  border-radius: 6px;
  cursor: pointer;
}

/* Make the search button same size as Book Now button */
.form-container .search-btn {
  width: auto;
  padding: 7px 18px;
  font-size: 0.95rem;
  border-radius: 20px;
}

.form-container .error {
  color: red;
  margin-bottom: 10px;
}

.form-container .success {
  color: green;
  margin-bottom: 10px;
}

/* Card and Grid Styles */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.card {
  background: white;
  border: 1px solid #ccc;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  text-align: center;
}

.card img {
  width: 80px;
  height: 100px;
  border-radius: 100%;
  object-fit: cover;
  margin-bottom: 10px;
}

/* Table Styles */
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}

th, td {
  border: 1px solid #ddd;
  padding: 10px;
  text-align: center;
}

th {
  background-color: #f3f3f3;
}

/* Country Dropdown Styles */
.country-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border: 1px solid #ddd;
  border-top: none;
  max-height: 200px;
  overflow-y: auto;
  z-index: 1000;
  list-style: none;
  margin: 0;
  padding: 0;
  display: none;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.country-dropdown li {
  padding: 10px 15px;
  cursor: pointer;
  border-bottom: 1px solid #f0f0f0;
  transition: background-color 0.2s;
}

.country-dropdown li:hover {
  background-color: #f8f9fa;
}

.country-dropdown li:last-child {
  border-bottom: none;
}

#countryInput {
  position: relative;
}

/* Filter Form */
.filter-form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
  align-items: end;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  margin-bottom: 5px;
  font-weight: bold;
  color: #333;
  font-size: 14px;
}

/* Job Browse Page Styles */
.job-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.job-card {
  background: white;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  border-left: 4px solid #197b88;
  transition: transform 0.2s, box-shadow 0.2s;
}

.job-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.job-header {
  margin-bottom: 15px;
}

.job-title {
  font-size: 18px;
  font-weight: bold;
  color: #333;
  margin: 0 0 5px 0;
}

.employer-name {
  color: #666;
  font-size: 14px;
}

.job-details {
  margin-bottom: 15px;
}

.job-details p {
  margin: 5px 0;
  color: #666;
}

.job-details strong {
  color: #333;
}

.salary {
  color: #28a745;
  font-weight: bold;
}

.job-description {
  background: #f8f9fa;
  padding: 10px;
  border-radius: 5px;
  margin: 15px 0;
  font-size: 14px;
  line-height: 1.4;
}

.job-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.applied-badge {
  background: #28a745;
  color: white;
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: bold;
  margin-bottom: 10px;
  display: inline-block;
}

.no-jobs {
  text-align: center;
  padding: 50px;
  color: #666;
  background: white;
  border-radius: 10px;
  margin-top: 20px;
}

.filter-section {
  background: white;
  padding: 20px;
  border-radius: 10px;
  margin-bottom: 30px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.clear-filters {
  text-align: center;
  margin-top: 15px;
}

/* Back Button */
.back-btn {
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 1000;
  background: #197b88;
  color: white;
  padding: 10px 15px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.2s;
}

.back-btn:hover {
  background: #125a66;
  color: white;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

/* Contact Form */
.contact-container {
  max-width: 700px;
  margin: 60px auto;
  background: #fff;
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(24,123,136,0.08);
}

.contact-title {
  color: #197b88;
  font-size: 2.2rem;
  margin-bottom: 24px;
  text-align: center;
  font-weight: 700;
}

.contact-details {
  margin-bottom: 32px;
  color: #333;
  font-size: 1.08rem;
  text-align: center;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-form label {
  font-weight: 600;
  color: #197b88;
  margin-bottom: 4px;
}

.contact-form input, .contact-form textarea {
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #b2e0e6;
  font-size: 1rem;
  font-family: inherit;
  resize: vertical;
}

.contact-form textarea {
  min-height: 100px;
}

.contact-form button {
  background: linear-gradient(90deg, #197b88 0%, #1ec8c8 100%);
  color: #fff;
  padding: 14px 0;
  font-size: 1.1rem;
  font-weight: 700;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s;
}

.contact-form button:hover {
  background: linear-gradient(90deg, #17606e 0%, #1ec8c8 100%);
}

/* FAQ Styles */
.faq-container {
  max-width: 800px;
  margin: 60px auto;
  background: #fff;
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(24,123,136,0.08);
}

.faq-title {
  color: #197b88;
  font-size: 2.2rem;
  margin-bottom: 24px;
  text-align: center;
  font-weight: 700;
}

.faq-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.faq-q {
  font-weight: 600;
  color: #197b88;
  margin-top: 24px;
  margin-bottom: 8px;
  font-size: 1.15rem;
}

.faq-a {
  color: #333;
  margin-bottom: 16px;
  font-size: 1.05rem;
  line-height: 1.7;
}

/* Main Content Area */
main, .container, .contact-container, .faq-container {
  flex: 1;
}

/* Hero Section */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  background: url('houselpbg.jpg') center center / cover no-repeat;
  color: white;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  text-align: center;
  padding: 0 20px;
}

.hero-content h1 {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 20px;
  color: white;
}

.hero-content p {
  font-size: 1.4rem;
  line-height: 1.6;
  color: #f0f0f0;
  max-width: 700px;
  margin-bottom: 30px;
}

/* Hero Action Card */
.hero-action-card.horizontal-card {
  background: none;
  box-shadow: none;
  border-radius: 0;
  padding: 0;
  max-width: none;
  margin: 48px auto 0 auto;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  justify-content: center;
  gap: 0;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: none;
}

.hero-action-card.horizontal-card .hero-action-section {
  flex: 1 1 0;
  min-width: 0;
  align-items: center;
  justify-content: center;
  display: flex;
  flex-direction: column;
  padding: 0 24px;
  height: 100%;
}

.hero-divider-vertical {
  width: 2px;
  background: rgba(255, 255, 255, 0.3);
  margin: 0 20px;
}

.hero-action-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.btn.pro-btn {
  background: linear-gradient(90deg, #197b88 0%, #1ec8c8 100%);
  color: #fff;
  padding: 18px 32px;
  width: 100%;
  min-width: 180px;
  font-size: 1.18rem;
  font-weight: 700;
  border: none;
  border-radius: 18px;
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(24,123,136,0.10);
  transition: background 0.2s, box-shadow 0.2s, transform 0.1s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  outline: none;
  margin-bottom: 8px;
  min-height: 56px;
}

.btn.pro-btn:hover, .btn.pro-btn:focus {
  background: linear-gradient(90deg, #17606e 0%, #1ec8c8 100%);
  box-shadow: 0 4px 18px rgba(24,123,136,0.16);
  transform: translateY(-2px) scale(1.03);
}

.chevron {
  font-size: 1.1em;
  margin-left: 6px;
  transition: transform 0.2s;
}

.pro-dropdown {
  display: none;
  position: absolute;
  left: 50%;
  top: 110%;
  transform: translateX(-50%) scaleY(0.95);
  background: #fff;
  box-shadow: 0 8px 32px rgba(24,123,136,0.13);
  border-radius: 16px;
  min-width: 240px;
  z-index: 1000;
  padding: 10px 0;
  text-align: left;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s cubic-bezier(.4,0,.2,1), transform 0.22s cubic-bezier(.4,0,.2,1);
}

.hero-action-section {
  position: relative;
}

.pro-dropdown.show {
  display: block;
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) scaleY(1);
}

.pro-dropdown-link {
  color: #197b88;
  background: none;
  padding: 15px 32px;
  border-radius: 10px;
  margin: 0;
  font-size: 1.08rem;
  display: block;
  text-align: left;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.18s, color 0.18s;
}

.pro-dropdown-link:hover, .pro-dropdown-link:focus {
  background: #eaf7fa;
  color: #125a66;
  outline: none;
}

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

  .nav-links {
    flex-direction: column;
    width: 100%;
    padding-top: 10px;
    gap: 10px;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-btn {
    width: 100%;
    text-align: center;
    margin: 0;
    padding: 12px 20px;
  }

  .form-container {
    padding: 20px;
    margin: 20px auto;
    width: 95%;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1.1rem;
  }

  .hero-action-card.horizontal-card {
    flex-direction: column;
    max-width: 98vw;
    padding: 18px 4vw 18px 4vw;
  }

  .hero-action-card.horizontal-card .hero-action-section {
    padding: 0 0 24px 0;
  }

  .hero-divider-vertical {
    width: 80%;
    height: 2px;
    margin: 24px auto;
    background: linear-gradient(90deg, #e0e7ea 0%, #b2e0e6 100%);
  }

  .btn.pro-btn {
    font-size: 1rem;
    padding: 15px 0;
  }

  .pro-dropdown {
    min-width: 90vw;
  }

  .contact-container {
    padding: 20px;
    margin: 20px auto;
    width: 95%;
  }

  .contact-title {
    font-size: 1.8rem;
  }

  .faq-container {
    padding: 20px;
    margin: 20px auto;
    width: 95%;
  }

  .faq-title {
    font-size: 1.8rem;
  }

  .container {
    padding: 10px;
  }

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

  .job-card {
    padding: 15px;
  }

  .filter-form {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .job-actions {
    flex-direction: column;
  }

  .job-actions .btn {
    width: 100%;
    text-align: center;
  }

  .back-btn {
    position: relative;
    top: auto;
    left: auto;
    margin: 10px;
    display: inline-block;
  }
}


/* Hide hamburger on large screens */
#hamburger {
  display: none;
}

/* Show hamburger only on mobile */
@media (max-width: 768px) {
  #hamburger {
    display: block;
    font-size: 30px;
    color: white;
    position: absolute;
    top: 15px;
    right: 20px;
    z-index: 1001;
    cursor: pointer;
  }

  #navLinks {
    display: none;
    flex-direction: column;
    background-color: #004e7c;
    position: absolute;
    top: 60px;
    right: 10px;
    padding: 10px;
    border-radius: 8px;
    z-index: 1000;
  }

  #navLinks.show {
    display: flex;
  }
}

/* footer */
/* General Footer Styling */
footer {
  
  
  /*margin-top: auto;*/
  font-family: Arial, sans-serif;
  font-size: 15px;
  color: #fff;

  /*line-height: 1.6;*/
}

/* Top Footer */
.footer-top {
  padding: 40px 20px;
  background-color: #1c1c1c;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-column h3 {
  text-align: left;
  font-size: 18px;
  margin-bottom: 12px;
  color: #f1f1f1;
}

.footer-column ul {
  list-style: none;
  text-align: left;
  padding: 0;
}

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

.footer-column ul li a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-column ul li a:hover {
  color: #fff;
}

/* Bottom Footer */
.footer-bottom {
  background-color: #2a2a2a;
  padding: 20px 15px;
}

.footer-bottom-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  gap: 15px;
  font-size: 14px;
}

.footer-links {
  display: flex;
  gap: 10px;
  align-items: center;
}

.footer-links a {
  color: #ccc;
  text-decoration: none;
}

.footer-links a:hover {
  color: #fff;
}

.footer-socials {
  display: flex;
  gap: 15px;
}

.footer-socials a img {
  width: 24px;
  height: 24px;
  filter: brightness(90%);
  transition: filter 0.3s;
}

.footer-socials a:hover img {
  filter: brightness(150%);
}

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

  .footer-socials {
    justify-content: center;
  }
}


