:root {
  --default-font: Roboto,
    "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif,
    "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --heading-font: Calibri, sans-serif;
  --nav-font: "Montserrat", sans-serif;
}

/* Global Colors - The following color variables are used throughout the website. Updating them here will change the color scheme of the entire website */
:root {
  /*--background-color: #00111e; /* Background color for the entire website, including individual sections */
  --default-color: #444444; /* Default color used for the majority of the text content across the entire website */
  --heading-color: #37517e; /* Color for headings, subheadings and title throughout the website */
  --accent-color: #47b2e4; /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
  --surface-color: #ffffff; /* The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
  --contrast-color: #ffffff; /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */
  --background-blue-color:radial-gradient(ellipse at left, #0a1e4d 60%, #0a2a9c 100%);/* Default color we use for blue background */
}

/* Nav Menu Colors - The following color variables are used specifically for the navigation menu. They are separate from the global colors to allow for more customization options */
:root {
  --nav-color: #ffffff;
  --nav-hover-color: #47b2e4;
  --nav-mobile-background-color: #00111e;
  --nav-dropdown-background-color: #00111e;
  --nav-dropdown-color: #ffffff;
  --nav-dropdown-hover-color: #47b2e4;
  --background-color: #ffffff;
  --default-color: #ffffff;
  /* --heading-color: #ffffff; */
  --surface-color: #4668a2;
  --contrast-color: #ffffff;
  --button-color:#ffb300;
  --button-hover-color: #ffcb00;
}
/* Smooth scroll */
:root {
  scroll-behavior: smooth;
}
:root {
  --background-blue-color: radial-gradient(ellipse at left, #0a1e4d 60%, #0a2a9c 100%);
  --text-light: #eee;
  --link-color: #aad4ff;
  --link-hover: #ffffff;
  --font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}
html {
  scroll-behavior: smooth;
}


body {
  line-height: 1.6;
  color: #333;
}

/* Hero Section */
.hero {
  height: 85vh;               /* 85% of viewport height */
  min-height: 55vh;
  max-height: 85vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;

  /* Background image settings */
  background: url('Synaipsys-service-images/Leadership.jpeg') no-repeat top center;
  background-size: cover;      /* scales image to cover the area */
  background-position: top center; /* ensures top of image is always visible */
  background-repeat: no-repeat;

  position: relative;
  overflow: hidden;
}

/* Responsive text scaling */
@media (max-width: 768px) {
  .hero {
    height: 60vh;  
  }

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

  .hero p {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .hero {
    height: 50vh;  
  }

  .hero h1 {
    font-size: 1.5rem;
  }

  .hero p {
    font-size: 0.9rem;
  }
}


/* Dark overlay */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7); /* adjust opacity for darkness */
  z-index: 1;
}

/* Content above overlay */
.hero * {
  position: relative;
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 20px;
  animation: fadeInUp 1.2s ease-in-out;
}
.hero-content span {
  color: var(--button-color);
  font-weight: 700;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 15px;
  color: #fff;
  font-weight: 700;
}



.hero p {
  font-size: 1.2rem;
  margin-bottom: 25px;
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  background: var(--button-color);
  color: #0a1e4d;
  font-weight: bold;
  border-radius: 25px;
  text-decoration: none;
  transition: 0.3s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.btn:hover {
  background: var(--button-hover-color);
  color: #0a1e4d;
  transform: scale(1.05);
}

/* Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}




/* Why Work With Us Section */
/* Section */
.why-work {
  padding: 100px 20px;
  background: #fff;
  text-align: center;
  font-family: 'Segoe UI', sans-serif;
}

.why-work h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 50px;
  color: #222;
  letter-spacing: 0.5px;
}

/* Card Grid */
.why-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
}

/* Card Style */
.card {
  background: #fff;
  border-radius: 16px;
  padding: 40px 25px;
  transition: all 0.35s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border: 1px solid #eee;
  cursor: pointer;
}

.card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  border-color: transparent;
  background: linear-gradient(145deg, #ffffff, #f9f9f9);
}

/* Icon Style */
.card .icon {
  font-size: 2.8rem;
  margin-bottom: 15px;
  transition: transform 0.3s ease;
}

.card:hover .icon {
  transform: scale(1.2) rotate(6deg);
}

/* Texts */
.card h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: #333;
}

.card p {
  font-size: 1rem;
  line-height: 1.6;
  color: #555;
}

/* ================== RESPONSIVE MEDIA QUERIES ================== */

/* Tablets */
@media (max-width: 1024px) {
  .why-work {
    padding: 7px 20px;
  }
  .why-work h2 {
    font-size: 2rem;
    margin-bottom: 40px;
  }
  .card {
    padding: 30px 20px;
  }
  .card h3 {
    font-size: 1.2rem;
  }
  .card p {
    font-size: 0.95rem;
  }
}

/* Mobiles */
@media (max-width: 768px) {
  .why-work {
    padding: 50px 15px;
  }
  .why-work h2 {
    font-size: 2.4rem;
    margin-bottom: 30px;
  }
  .why-cards {
    grid-template-columns: 1fr; /* single column */
    gap: 20px;
  }
  .card {
    padding: 2px 1px;
    height: 240px;
  }
  .card .icon {
    font-size: 2.2rem;
    margin-bottom: 10px;
  }
  .card h3 {
    font-size: 1.8rem;
    margin-bottom: 8px;
  }
  .card p {
    font-size: 1.1rem;
    line-height: 1.5;
  }
}



/* Jobs Section */
  .jobs {
    padding: 60px 20px;
     scroll-margin-top: 100px;
    background: var(--background-blue-color);
  }
/* Layout: Form + Hiring Process */
.jobs-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 90px;
  max-width: 1300px;
  margin: 0 auto;
}

/* Hiring Process */
.hiring-process {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hiring-process h3 {
  font-size: 1.6rem;
  margin-bottom: 20px;
  color: #0a1e4d;
  font-weight: 600;
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.step {
  background: #f9f9f9;
  padding: 18px;
  border-radius: 10px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.05);
  display: flex;
  align-items: flex-start;
  gap: 15px;
  transition: transform 0.3s ease;
}

.step:hover {
  transform: translateY(-3px);
}

.step {
  background: white;
  color: black;
  font-weight: bold;
  padding: 15px 20px;
  border-radius: 8px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column; /* ensures h3 and p stack */
  align-items: flex-start; /* left align content */
  gap: 5px; /* spacing between h3 and p */
}

.step h3 {
  margin: 0;
  font-size: 1.3rem;
  color: #333;
  font-weight: 600;
}

.step p {
  margin: 0;
  font-size: 0.9rem;
  color: #555;
  font-weight: normal;
}


  /* Right Card - Application Form */
  .job-form {
    background: #fff;
    padding: 40px 35px;
    border-radius: 18px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    text-align: left;
    position: relative;
  }

  /* Floating Label Inputs */
  .form-group {
    position: relative;
    margin-bottom: 25px;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    width: 100%;
    padding: 14px 14px;
    border: 1px solid #ddd;
    border-radius: 12px;
    background: #fafafa;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
  }

  .form-group input:focus,
  .form-group select:focus,
  .form-group textarea:focus {
    border-color: #0a2a9c;
    background: #fff;
    box-shadow: 0 0 8px rgba(10, 42, 156, 0.2);
  }

  /* Floating labels */
  .form-group label {
    position: absolute;
    top: 14px;
    left: 14px;
    color: #777;
    font-size: 0.95rem;
    pointer-events: none;
    transition: 0.3s ease all;
  }

  /* Inputs + textarea floating */
  .form-group input:focus + label,
  .form-group input:not(:placeholder-shown) + label,
  .form-group textarea:focus + label,
  .form-group textarea:not(:placeholder-shown) + label {
    top: -8px;
    left: 12px;
    font-size: 0.8rem;
    color: #0a2a9c;
    background: #fff;
    padding: 0 5px;
    border-radius: 6px;
  }

  /* Special handling for select */
  .form-group select:focus + label,
  .form-group select:valid + label {
    top: -8px;
    left: 12px;
    font-size: 0.8rem;
    color: #0a2a9c;
    background: #fff;
    padding: 0 5px;
    border-radius: 6px;
  }
  .form-group select:focus + label,
  .form-group select:not([value=""]) + label {
    top: -8px;
    left: 12px;
    font-size: 0.8rem;
    color: #0a2a9c;
    background: #fff;
    padding: 0 5px;
    border-radius: 6px;
  }

  /* Remove "Select Position" overlap */
  .form-group select {
    color: #555;
  }

  .form-group select:invalid {
    color: #aaa; /* faded placeholder look */
  }


  /* Submit Button */
  .job-form button {
    width: 100%;
    padding: 14px;
    font-size: 1rem;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    color: #fff;
    background: linear-gradient(135deg, #0a2a9c, #0a1e4d);
    transition: 0.3s ease;
  }

  .job-form button:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #0a1e4d, #0a2a9c);
    box-shadow: 0 6px 15px rgba(10, 30, 77, 0.25);
  }

  /* Note */
  .note {
    margin-top: 20px;
    font-size: 0.9rem;
    color: #555;
    text-align: center;
  }

  .note a {
    color: #0a2a9c;
    text-decoration: none;
    font-weight: 600;
  }

  .note a:hover {
    text-decoration: underline;
  }

 /* Responsive Adjustments for Jobs Section */

/* Small devices (mobile phones, portrait) */
@media (max-width: 768px) {
  .jobs-container {
    flex-direction: column; /* Stack form + hiring process vertically */
    gap: 40px; /* smaller spacing */
    align-items: stretch; /* full width */
  }

  .hiring-process,
  .job-form {
    width: 100%; /* take full width */
  }

  .job-form {
    padding: 30px 20px; /* reduce padding for mobile */
  }

  .steps {
    gap: 15px; /* reduce gap between steps */
  }

  .step h3 {
    font-size: 1.2rem; /* slightly smaller font */
  }

  .step p {
    font-size: 0.85rem;
  }

  .job-form button {
    padding: 12px; /* smaller button padding */
    font-size: 0.95rem;
  }
}

/* Extra small devices (very small phones) */
@media (max-width: 480px) {
  .jobs {
    padding: 40px 15px;
  }

  .hiring-process h3 {
    font-size: 1.4rem;
  }

  .step h3 {
    font-size: 1.1rem;
  }

  .step p {
    font-size: 0.8rem;
  }

  .job-form {
    padding: 25px 15px;
  }

  .job-form button {
    font-size: 0.9rem;
  }
}


/* ----------------------------------------------------------- */
/* Freequently Asked Questions Section */
/* ----------------------------------------------------------- */

.faq-section {
  max-width: 1100px;
  margin: auto;
  padding: 50px 20px;
  font-family: Arial, sans-serif;
  background: #fff;
}

.faq-section h2 {
  text-align: center;
  font-size: 3.2rem;
  font-weight: bold;
  margin-bottom: 24px;
}

.faq-subtitle {
  text-align: center;
  color: #383838;
  margin-bottom: 60px;
  letter-spacing: 0.8px;
  font-size: 1.3rem;
  font-family: Arial, sans-serif;
}

.faq-item {
  border: 1px solid #ddd;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  background: white;
  transition: all 0.3s ease;
  color: #000;
  font-size: 1.3rem;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  font-weight: 600;
  cursor: pointer;
}

.faq-question span {
  flex: 1;
}

.faq-toggle {
  background: none;
  border: none;
  font-size: 1.7rem;
  font-weight: 600;
  color: rgb(255, 166, 0);
  cursor: pointer;
}

.faq-answer {
  display: none;
  padding: 15px 20px;
  border-top: 1px solid #eee;
  background: #fffdfb;
  font-size: 18px;
  letter-spacing: 0.6px;
  font-family: Arial, sans-serif;
  color: #555151;
}

.faq-answer ul {
  padding-left: 20px;
}

.faq-item.active .faq-answer {
  display: block;
}

.faq-item.active .faq-toggle {
  content: "-";
  color: orange;
}


/* Contact Section */
.contact {
  background: #fdf6ec;
  color: black;
  text-align: center;
  padding: 60px 20px;
}
.contact p{
  font-size: 1.1rem;
  color: #000;
}
.contact a{
  text-decoration: none;
  font-size: 1.1rem;
  color: #000;
}
.contact a:hover {
  font-weight: 400;
  text-decoration: underline;
} 

.contact h2 {
  font-size: 2.6rem;
  margin-bottom: 15px;
  font-weight: 600;
}
