/* --- Google Fonts & CSS Variables --- */
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&display=swap");

:root {
  --primary-color: #2ca6a4;
  --primary-color-rgb: 44, 166, 164; /* add this */
  --secondary-color: #1f5c84;
  --dark-text: #333333;
  --medium-text: #6c757d;
  --light-background: #f8f9fa;
  --white: #ffffff;
  --border-color: #e0e0e0;
  --font-family: "Montserrat", sans-serif;
  --hero-gradient: linear-gradient(135deg, #e6f7f7, #f0fafa);
}


/* --- General Styles & Reset --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  color: var(--dark-text);
  background-color: var(--white);
  line-height: 1.7;
}

.containercandidates {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

h2 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 50px;
  font-weight: 700; /* Ensure heading weight for consistency */
  color: var(--dark-text); /* Ensure color consistency */
}

section {
  padding: 100px 0;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--white);
  display: inline-block;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* --- Header & Navigation --- */
.main-header {
  background-color: var(--white);
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.07);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-color);
  text-decoration: none;
}
.logo img {
  height: 35px;
  margin-right: 12px;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 25px;
}

.main-nav a {
  text-decoration: none;
  color: var(--medium-text);
  font-weight: 500;
  transition: color 0.3s ease;
}

.main-nav a:hover {
  color: var(--primary-color);
}

/* --- Hero Section --- */
.hero-sectioncandidates {
  background: #E9F8F8;
  padding: 80px 0;
  overflow: hidden;
}

.hero-contentcandidates {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.candidateshero-text {
  flex: 1 1 55%;
  text-align: left;
}

.candidateshero-text h1 {
  font-size: 3.8rem;
  line-height: 1.2;
  margin-bottom: 20px;
  font-weight: 800; /* Ensure hero heading weight */
}

.candidateshero-text h2 {
  font-size: 1.2rem;
  text-align: left;
  color: var(--medium-text);
  margin: 0 0 20px 0;
  max-width: 500px;
  font-weight: 500; /* Ensure hero subheading weight */
}

.hero-benefit-statement {
  font-size: 1.1rem;
  color: #1f5c84;
  font-weight: 600;
  margin-top: 30px; /* Add margin to separate from h2 */
}

.download-buttons {
  display: flex;
  gap: 15px;
  margin-top: 30px;
}

.btn-app-store,
.btn-google-play,
.btn-calculatorshift {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08); /* Add shadow to app buttons */
}

.btn-app-store {
  background-color: #0066cc; /* Apple Blue */
  color: #FFFF;
}

.btn-google-play {
  background-color: #288d55; /* Google Play Green */
  color: #FFFF;
}

.btn-app-store:hover {
  background-color: #004c99; /* darker Apple blue */
  color: #ffffff; /* force white text */
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.btn-google-play:hover {
  background-color: #1f6b40; /* darker Google green */
  color: #ffffff; /* force white text */
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.btn-calculatorshift{
	background-color: #2CA6A4;
    color: #ffffff;
    width: 195px;
    margin-top: 20px;
}

.hero-mockups {
  flex: 1 1 45%;
  text-align: center;
}

.app-mockup {
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 15px 25px rgba(44, 166, 164, 0.15));
}

/* --- How It Works Section --- */
.how-it-works-section {
  background-color: #f8f9fa;
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  text-align: center;
}
.step-card {
  background-color: #FFFF;
  padding: 40px 30px;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.step-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(44, 166, 164, 0.1);
}
.step-icon {
  font-size: 3rem;
  color: #2ca6a4;
  margin-bottom: 20px;
}
.step-card h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  font-weight: 700;
}
.step-card p {
  color: var(--medium-text);
}

/* --- Why Choose Us Section (UPDATED) --- */
.why-choose-us-section {
  position: relative;
  background-color: #407496; /* Placeholder for your background image */
  background-size: cover;
  background-position: center;
  background-attachment: fixed; /* Parallax effect */
  color: var(--white); /* Default text color for this section */
  padding: 100px 0;
}
.why-choose-us-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}
.why-choose-us-section .container {
  position: relative; /* Ensure container content is above overlay */
  z-index: 2;
}
.why-choose-us-section h2 {
  color: #FFFF;
  margin-bottom: 60px; /* More space for the heading */
}
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  text-align: center;
}
.pillar-card {
  background-color: #FFFF; /* Slightly less opaque white for depth */
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  color: var(--dark-text); /* Ensure text is readable on light card */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.pillar-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(var(--primary-color-rgb), 0.2); /* Dynamic shadow with primary color */
}
.pillar-icon {
  font-size: 3.5rem; /* Slightly larger icon */
  color: #2ca6a4;
  margin-bottom: 25px; /* More space below icon */
}
.pillar-card h3 {
  font-size: 1.5rem; /* Larger heading */
  margin-bottom: 15px;
  font-weight: 700;
}
.pillar-card p {
  color: var(--medium-text);
  line-height: 1.8;
}

/* --- Features Section (UPDATED) --- */
.features-section {
  background-color: var(--white);
}
.features-list {
  display: flex;
  flex-direction: column;
  gap: 120px; /* Increased gap between feature items */
}
.feature-item {
  display: flex;
  align-items: center;
  gap: 80px; /* Increased gap between image and text */
}
.feature-item-reverse {
  flex-direction: row-reverse;
}
.feature-image {
  flex: 1;
  display: flex; /* For centering the image if it's smaller */
  justify-content: center;
  align-items: center;
}
.feature-image img {
  max-width: 100%;
  height: auto;
  border-radius: 18px; /* Slightly larger border-radius */
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15); /* More prominent shadow */
  transition: transform 0.3s ease;
}
.feature-image img:hover {
  transform: translateY(-5px); /* Subtle hover effect */
}
.feature-text {
  flex: 1;
}
.feature-icon {
  font-size: 2.5rem; /* Larger icon */
  color: #2ca6a4;
  margin-bottom: 20px; /* More space below icon */
}
.feature-text h3 {
  font-size: 2rem; /* Larger heading */
  margin-bottom: 15px;
  font-weight: 700;
}
.feature-text p {
  color: var(--medium-text);
  line-height: 1.8;
  font-size: 1.1rem; /* Slightly larger paragraph text */
}

/* --- Testimonials Section (UPDATED) --- */
.testimonials-section {
  background-color: var(--light-background);
  padding: 100px 0;
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.testimonial-card {
  background-color: var(--white);
  padding: 40px 30px; /* More padding */
  border-radius: 16px; /* Larger border-radius */
  text-align: center;
  position: relative;
  border: 1px solid var(--border-color);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05); /* Subtle shadow */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
}
.testimonial-icon {
  font-size: 4rem; /* Larger icon */
  color: var(--primary-color);
  margin-bottom: 20px;
}
.quote-bg {
  position: absolute;
  top: 15px;
  left: 20px;
  font-size: 7rem; /* Larger quote background */
  color: var(--primary-color);
  opacity: 0.08;
  font-weight: 800;
  line-height: 1;
  pointer-events: none; /* Make it non-interactive */
}
.quote {
  font-style: italic;
  color: var(--dark-text); /* Darker text for better readability */
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
  font-size: 1.1rem; /* Slightly larger quote text */
  line-height: 1.7;
}
.author {
  font-weight: 700; /* Bolder author name */
  color: var(--primary-color); /* Primary color for author */
  font-size: 1rem;
}

/* --- Footer --- */
.main-footer {
  background-color: #2c3e50; /* Darker footer for contrast */
  color: var(--white);
  padding: 60px 0;
}
.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 30px;
  align-items: center; /* Vertically align items */
}
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* Align logo and text to the start */
}
.footer-brand img {
  height: 40px; /* Slightly larger logo */
  margin-bottom: 10px;
}
.footer-brand span {
  font-size: 1.8rem; /* Larger brand text */
  font-weight: 800;
  color: var(--white);
  margin-bottom: 10px;
}
.footer-brand p {
  color: #ccc;
  font-size: 0.95rem; /* Slightly larger contact info */
  line-height: 1.6;
}
.footer-social {
  display: flex;
  justify-content: flex-start; /* Align social icons to the start */
  gap: 15px; /* Add gap between icons */
}
.footer-social a {
  color: var(--white);
  font-size: 1.5rem; /* Larger social icons */
  text-decoration: none;
  transition: color 0.3s ease;
}
.footer-social a:hover {
  color: var(--primary-color);
}
.footer-links {
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-links a,
.footer-links p {
  display: block;
  color: #ccc;
  text-decoration: none;
  font-size: 0.95rem;
}
.footer-links a:hover {
  color: var(--primary-color);
}

/* --- Responsive Design --- */
@media (max-width: 992px) {
  .hero-contentcandidates {
    flex-direction: column;
    text-align: center;
  }
  .candidateshero-text {
    margin-bottom: 50px;
  }
  .candidateshero-text h1,
  .candidateshero-text h2 {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
  .download-buttons {
    justify-content: center;
  }
  .features-list {
    gap: 80px; /* Adjust gap for smaller screens */
  }
  .feature-item {
    flex-direction: column; /* Stack image and text vertically */
    gap: 40px;
  }
  .feature-item-reverse {
    flex-direction: column; /* Still stack, no reverse needed */
  }
}

@media (max-width: 768px) {
  h2 {
    font-size: 2rem;
    margin-bottom: 40px;
  }
  .main-nav,
  .btn-primary {
    /* Hide main nav and login button for smaller screens */
    display: none;
  }
  .header-content {
    justify-content: center; /* Center logo when nav is hidden */
  }
  .canndidateshero-text h1 {
    font-size: 2.5rem;
  }
  .candidateshero-text h2 {
    font-size: 1.1rem;
  }
  .download-buttons {
    flex-direction: column; /* Stack download buttons */
    align-items: center;
  }
.btn-app-store:hover {
  background-color: #0000; /* Darker Apple Blue */
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.btn-google-play:hover {
  background-color: #0000; /* Darker Google Play Green */
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

  .steps-grid,
  .testimonials-grid,
  .pillars-grid {
    /* All grids stack to a single column */
    grid-template-columns: 1fr;
  }
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  .footer-brand,
  .footer-social,
  .footer-links {
    align-items: center; /* Center footer items */
    justify-content: center;
  }
  .footer-social a {
    margin: 0 8px; /* Adjust margin for social icons */
  }
  .footer-links {
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .candidateshero-text h1 {
    font-size: 2rem;
  }
  .candidateshero-text h2 {
    font-size: 1rem;
  }
  .btn-app-store,
  .btn-google-play {
    width: 100%; /* Full width buttons */
    justify-content: center;
  }
  .pillar-card,
  .step-card,
  .testimonial-card {
    padding: 30px 20px;
  }
  .feature-text h3 {
    font-size: 1.6rem;
  }
}