 /*index page Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Arial', sans-serif;
}

body {
  background: #f4f7f9;
  color: #333;
}

  /* Form container styling */
.form-container {
  position: absolute; /* Allows precise positioning */
  top: 90px; /* Moves it below the navbar */
  right: 20px; /* Aligns it to the right side */
  width: 250px; /* Width of the form container */
  padding: 20px; /* Adjust padding for height */
  min-height: 350px; /* Sets a minimum height to make it taller */
  background-color: #f0f3f8; /* Light gray background */
  border: 1px solid #ddd; /* Light border */
  border-radius: 8px; /* Rounded corners */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
  text-align: center; /* Center-align text inside */
}
  /* Form heading */
  .form-container h4 {
    margin-bottom: 15px;
    color: #333;
    font-size: 18px; /* Smaller font size */
  }
  
  
  /* Submit button */
  .login-form input[type="submit"] {
    background-color: #007bff;
    color: #fff;
    border: none;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s ease;
    padding: 8px;
  }
  
  /* Hover effect for submit button */
  .login-form input[type="submit"]:hover {
    background-color: #0056b3;
  }
  
  /* Signup link */
  .signup-link {
    margin-top: 10px;
    font-size: 12px;
    color: #555;
  }
  
  .signup-link a {
    color: #007bff;
    text-decoration: none;
  }
  
  .signup-link a:hover {
    text-decoration: underline;
  }
  .search-container {
    display: flex;
    position: absolute;
    top: 45%;
    right: 35%;
    align-items: center;
    border: 1px solid #ccc;
    border-radius: 25px;
    overflow: hidden;
    width: 720px;
    background: white;
}

 /* Style for the navbar container */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: white;
  border-bottom: 2px solid rgb(5, 5, 78);
  padding: 10px 20px;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-left {
  display: flex;
  align-items: center;
}

/* Company name */
#company-name {
  font-size: 24px;
  color: rgb(2, 2, 63);
  font-weight: bold;
  margin-right: 20px;
}

/* Navbar links */
#navbar a {
  text-decoration: none;
  color: #333;
  margin: 0 15px;
  font-weight: bold;
  font-size: 16px;
}

/* Hover effect for links */
#navbar a:hover {
  color: rgb(25, 12, 117);
  text-decoration: underline;
}

/* Dropdown container */
.dropdown {
  position: relative;
  display: inline-block;
}

/* Dropdown content */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: white;
  min-width: 200px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
  border-radius: 5px;
  z-index: 1000;
  top: 100%;
  left: 0;
}

/* Dropdown content links */
.dropdown-content a {
  color: black;
  padding: 12px 16px;
  display: block;
  text-decoration: none;
}

/* Show dropdown on hover */
.dropdown:hover .dropdown-content {
  display: block;
}

/* Hover effect for dropdown links */
.dropdown-content a:hover {
  background-color: #f1f1f1;
}

/* Register button */
.register-button {
  background-color: #ffbb00;
  color: white;
  font-size: 16px;
  font-weight: bold;
  border: none;
  border-radius: 20px;
  padding: 10px 20px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  margin-right:  100px;
}
.register-button:hover {
  background-color: #8b5a11;
}

/* Center the sign-up form-container2 */
.form-container2 {
    width: 400px; /* Set a fixed width for the box */
    margin: 0 auto; /* Center the box horizontally */
    padding: 20px; /* Add padding inside the box */
    border: 1px solid #ddd; /* Add a light border around the box */
    border-radius: 8px; /* Round the corners of the box */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Add a subtle shadow for depth */
    background-color: #f0f3f8; /* Set a white background */
    text-align: center; /* Center-align the text inside */
    position: absolute; /* Allow precise positioning */
    top: 50%; /* Move to the vertical center */
    left: 50%; /* Move to the horizontal center */
    transform: translate(-50%, -50%); /* Center using translation */
  }
  
  /* Style the heading */
  .form-container2 h1 {
    font-size: 24px; /* Increase the font size */
    margin-bottom: 20px; /* Add space below the heading */
    color: #333; /* Set the text color */
  }
  
  /* Style the input fields */
  .signup-form input[type="text"],
  .signup-form input[type="password"],
  .signup-form input[type="submit"] {
    width: 90%; /* Make the inputs fill most of the box */
    padding: 10px; /* Add padding for better appearance */
    margin-bottom: 15px; /* Add space between inputs */
    border: 1px solid #ccc; /* Add a light border */
    border-radius: 4px; /* Slightly round the corners */
    font-size: 14px; /* Set a readable font size */
    box-sizing: border-box; /* Include padding and border in width calculation */
  }
  
  /* Style the submit button */
  .signup-form input[type="submit"] {
    background-color: #007bff; /* Set button background color */
    color: #fff; /* Set button text color */
    font-weight: bold; /* Make the text bold */
    border: none; /* Remove the border */
    cursor: pointer; /* Add a pointer cursor on hover */
    transition: background-color 0.3s ease; /* Smooth hover effect */
  }
  
  /* Hover effect for the submit button */
  .signup-form input[type="submit"]:hover {
    background-color: #0056b3; /* Darker shade on hover */
  }
  
  /* Style the login link */
  .login-link p {
    font-size: 14px; /* Set a smaller font size */
    color: #555; /* Set a subtle text color */
  }
  
  .login-link a {
    color: #007bff; /* Set link color */
    text-decoration: none; /* Remove underline from link */
  }
  
  .login-link a:hover {
    text-decoration: underline; /* Add underline on hover */
  }
/* Hero Section */
  .hero-section {
    position: absolute; /* Allows precise positioning */
    top: 30%; /* Adjusts the vertical position relative to the viewport */
    left: 40%; /* Centers horizontally */
    transform: translate(-50%, -50%); /* Ensures perfect centering */
    height: 400px;
   display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  text-align: center;
  padding: 20px;
}

.hero-section h1 {
   /* Size for the main heading */
    color: #003366;
    margin-bottom: 10px;
    font-size: 4rem;
  font-weight: bold;
}

.hero-section .subheading {
    font-size: 18px; /* Size for the subheading */
    color: #00509e; /* Lighter blue for contrast */
    font-weight: 400; /* Normal font weight */
    margin-top: 10px;
}

/*nav bar styling*/
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgb(5, 5, 78);
  border-bottom: 2px solid rgb(5, 5, 78);
  padding: 10px 20px;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-left {
  display: flex;
  align-items: center;
}

/* Company name */
#company-name {
  font-size: 24px;
  color: white;
  font-weight: bold;
  margin-right: 20px;
}

/* Navbar links */
#navbar a {
  text-decoration: none;
  color: white;
  margin: 0 15px;
  font-weight: bold;
  font-size: 16px;
}

/* Hover effect for links */
#navbar a:hover {
  color: rgb(10, 33, 167);
  text-decoration: underline;
}

/* Dropdown container */
.dropdown {
  position: relative;
  display: inline-block;
}

/* Dropdown content */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: rgb(5, 5, 78);
  min-width: 200px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
  border-radius: 5px;
  z-index: 1000;
  top: 100%;
  left: 0;
}

/* Dropdown content links */
.dropdown-content a {
  color: black;
  padding: 12px 16px;
  display: block;
  text-decoration: none;
}

/* Show dropdown on hover */
.dropdown:hover .dropdown-content {
  display: block;
}

/* Hover effect for dropdown links */
.dropdown-content a:hover {
  background-color: #f1f1f1;
}

/* Register button */
.register-button {
  background-color: #ffbb00;
  color: white;
  font-size: 16px;
  font-weight: bold;
  border: none;
  border-radius: 20px;
  padding: 10px 20px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  margin-right:  100px;
}
.register-button:hover {
  background-color: #8b5a11;
}

/* Login Form */
.form-container {
  background: white;
  width: 300px;
  padding: 20px;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.login-form input {
  width: 100%;
  padding: 10px;
  margin: 10px 0;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.login-form input[type="submit"] {
  background: #004080;
  color: white;
  border: none;
  cursor: pointer;
}

.login-form input[type="submit"]:hover {
  background: #002a5e;
}

/* Search Bar */
.search-container {
  display: flex;
  justify-content: center;
  margin: 50px auto;
  padding: 10px;
}

.search-input,
.dropdown1 {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  margin-right: 10px;
}

.search-button {
  background: #004080;
  color: white;
  border: none;
  padding: 10px 15px;
  border-radius: 5px;
  cursor: pointer;
}

.search-button:hover {
  background: #002a5e;
}

/* Career Paths Section */
.career-paths {
  text-align: center;
  margin: 30px auto;
  background: white;
  padding: 20px;
  width: 100%;
  border-radius: 10px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

.career-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin-top: 15px;
}

.career-step {
  background: #78b8f9;
  color: white;
  padding: 15px;
  border-radius: 8px;
  width: 150px;
  text-align: center;
}

.arrow {
  font-size: 25px;
  color: #004080;
}


/*search box*/

.search-container {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 15px;
  padding: 20px 24px;
  gap: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.input-group {
  display: flex;
  align-items: center;
  border: 1px solid #ccc;
  border-radius: 10px;
  padding: 10px 12px;
  background-color: #f9f9f9;
  gap: 8px;
}

.input-group input,
.input-group select {
  border: none;
  background: transparent;
  font-size: 16px;
  outline: none;
  padding: 0;
  margin: 0;
  min-width: 180px;
}

.input-group {
  position: relative;
  flex: 1;
}

@media screen and (max-width: 768px) {
  .search-container {
    flex-direction: column;
    gap: 15px;
  }

  .search-button {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 600px) {
  .search-container {
    flex-direction: column;
    align-items: stretch;
  }

  .search-input,
  .experience-select,
  .search-button {
    width: 100%;
  }
}

.select-group {
  position: relative;
  display: inline-block;
  margin-left: 10px;
}

.select-icon {
  position: absolute;
  top: 50%;
  left: 10px;
  transform: translateY(-50%);
  color: #6c757d;
  font-size: 14px;
  pointer-events: none;
}

.experience-select {
  height: 38px;
  padding: 0 12px 0 36px; /* Left padding for icon */
  font-size: 14px;
  text-align: center;
  border: 1px solid #ccc;
  border-radius: 6px;
  background-color: #fff;
  color: #333;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
  transition: border-color 0.2s ease;
}

.experience-select:hover {
  border-color: #007bff;
}

.experience-select:focus {
  border-color: #007bff;
  box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.2);
}

.input-group .icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: #666;
  font-size: 16px;
  z-index: 2;
}

.search-input,
.experience-select {
  width: 100%;
  padding-left: 40px; /* space for icon */
}

.search-input,
.search-select {
  padding: 10px 12px 10px 36px;
  height: 40px;
  width: 240px;
  font-size: 14px;
  border-radius: 8px;
  text-align: center;
  border: 1px solid #ccc;
  box-sizing: border-box;
}

.search-select {
  appearance: none;
  background-color: #fff;
  background-image: url('data:image/svg+xml;utf8,<svg fill="%23666" height="10" viewBox="0 0 24 24" width="10" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 10px;
}

.search-button {
  height: 60px;
  padding: 0 50px;
  border: none;
  border-radius: 8px;
  background-color: #004e92;
  color: #fff;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.search-button:hover {
  background-color: #003366;
}

/*career path */

.career-paths {
  text-align: center;
  margin: 550px auto 0 auto; /* top spacing from search bar */
  position: relative;
  width: 100%;
  padding-top: 40px;
  padding-bottom: 60px;
}

.career-paths h2 {
  font-size: 2.7rem;
  margin-bottom: 6px; /* Reduce gap */
  text-align: center;
  color: #003366;
}

.career-paths .subheading {
  font-size: 1.1rem;
  margin-top: 20px; /* Eliminate extra space */
  margin-bottom: 20px;
  text-align: center;
  color: #555;
}

.career-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.career-step {
  background: #fff;
  padding: 30px 20px;
  border-radius: 10px;
  width: 260px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  color: #fff;
  transition: transform 0.3s ease;
}

.career-step:hover {
  transform: translateY(-5px);
}

.career-step.entry {
  background-color: #00aaff;
}

.career-step.mid {
  background-color: #0047bb;
}

.career-step.senior {
  background-color: #002b62;
}

.career-step h3 {
  font-size: 20px;
  margin-bottom: 8px;
  color: white;
  text-align: center;
}

.career-step .role {
  font-size: 16px;
  color: #dfeeff;
  margin-bottom: 15px;
}

.career-step .desc {
  font-size: 14px;
  color: #dfeeff;
}

.arrow {
  font-size: 24px;
  color: #444;
}

.career-cta {
  margin-top: 50px;
}

.career-cta p {
  font-size: 18px;
  color: #6c7a89;
  margin-bottom: 15px;
}

.explore-btn {
  background: linear-gradient(to right, #fbd02b, #f7a700);
  color: #002b62;
  font-weight: 600;
  padding: 12px 24px;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: background 0.3s ease;
}

.explore-btn:hover {
  background: linear-gradient(to right, #ffe44d, #ffb533);
}

/*job category cards layout*/

.job-categories-section {

  padding: 40px 20px;
  max-width: 1200px;
  margin: auto;
}

.job-cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}

.job-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: box-shadow 0.3s ease;
}

.job-card:hover {
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.icon-container {
  background-color: #f1f5f9;
  border-radius: 15px;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 16px;
  min-width: 50px;
  height: 60px;
  width: 60px;
}

.icon-container i {
  font-size: 28px;
  color: #1f0664;
}

.icon-container.yellow {
  background-color: #fff8e1;
}

.icon-container img {
  width: 24px;
  height: 24px;
}

.card-content {
  flex: 1;
  margin-right: 12px;
}

.card-content h3 {
  margin: 0 0 6px;
  font-size: 1.2rem;
  font-weight: 600;
}

.card-content p {
  margin: 0 0 8px;
  color: #555;
  font-size: 0.95rem;
}

.card-content a {
  color: #007bff;
  font-weight: 500;
  text-decoration: none;
}

.arrow {
  font-size: 1.2rem;
  color: #003366;
}

.view-all {
  text-align: center;
  margin-top: 30px;
}

.view-all button {
  background-color: #0052cc;
  color: #fff;
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
}

.view-all button:hover {
  background-color: #003f99;
}

/*Why choose us*/

.why-choose {
  padding: 60px 20px;
  background-color: #ffffff;
  text-align: center;
}

.why-choose h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 10px;
}

.why-choose .subtitle {
  font-size: 16px;
  color: #4a4a4a;
  margin-bottom: 40px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /*3 column in 1row*/
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-box {
  background-color: #f8fbfd;
  border-radius: 10px;
  padding: 30px 20px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease;
}

.feature-box:hover {
  transform: translateY(-5px);
}

.feature-box i {
  font-size: 36px;
  color: #0077c8;
  background-color: #e6f2f9;
  padding: 20px;
  border-radius: 50%;
  margin-bottom: 15px;
}

.feature-box h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}

.feature-box p {
  font-size: 14px;
  color: #555;
}

/*trusted company name*/
.trusted-companies {
  text-align: center;
  padding: 50px 20px;
}

.trusted-companies h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 10px;
}

.trusted-companies p {
  color: #6b7280;
  margin-bottom: 30px;
}

.company-section {
  text-align: center;
  padding: 50px 20px;
  background-color: #f9fbfd;
}

.company-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.company-card {
  background-color: #f9fafb;
  padding: 20px 40px;
  min-width: 160px;
  height: 60px;
  border-radius: 6px;
  border: 1px solid #e5e7eb;
  font-weight: 600;
  color: #595a5b;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.company-card:hover {
  background: linear-gradient(135deg, #e0f2fe, #ede9fe);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
  transform: translateY(-3px);
}

/*info column and footer*/

.footer {
  background: linear-gradient(135deg, #002244, #003366);
  color: #ffffff;
  padding: 40px 20px 20px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: flex-start;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-follow-us,
.footer-contact {
  flex: 1;
  min-width: 220px;
}

.footer-follow-us h4,
.footer-contact h4 {
  margin-bottom: 12px;
  font-size: 18px;
  border-bottom: 2px solid #ffc107;
  display: inline-block;
  padding-bottom: 5px;
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icons a {
  color: white;
  font-size: 22px;
  background-color: #ffffff22;
  padding: 8px;
  border-radius: 50%;
  transition: background-color 0.3s, transform 0.3s;
}

.social-icons a:hover {
  background-color: #ffc107;
  color: #003366;
  transform: scale(1.1);
}

.footer-contact p {
  margin: 6px 0;
  font-size: 15px;
}

.footer-contact i {
  margin-right: 8px;
  color: #ffc107;
}

.footer-center a:hover {
  color: #ffc107;
}

.footer-bottom {
  text-align: center;
  padding-top: 25px;
  font-size: 13px;
  color: #ffffffaa;
  border-top: 1px solid #ffffff33;
  margin-top: 20px;
}
.footer-center {
  display: flex;
  flex-wrap: wrap;
  max-width: 600px; 
  gap: 10px 30px;   /* row and column spacing */
  color: #fff;
}

.footer-center a {
  flex: 0 0 23%;    /* 4 columns (roughly) */
  color: #fff;
  text-decoration: none;
  margin-bottom: 8px;
  font-size: 16px;
}
