:root {
    --primary-color: #4361ee;
    --secondary-color: #3a0ca3;
    --accent-color: #4cc9f0;
    --dark-color: #212529;
    --light-color: #f8f9fa;
    --success-color: #2ecc71;
    --warning-color: #f39c12;
}

body {
    padding-top: 80px;
    font-family: 'Open Sans', sans-serif;
    color: #444;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

.hero-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 6rem 0 5rem;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
}
.hero-section::before,
.hero-section::after {
  z-index: 0;
}

.hero-section * { /* ensure content stacks above decorations */
  position: relative; /* only needed where you want stacking; keep narrow if possible */
  z-index: 1;
}

/* or specifically for the CTA */
.hero-section .btn {
  position: relative;
  z-index: 2;
}


/* ---------- Stable hero: prevent CLS ---------- */
/* Reserve a stable height for the hero so the page doesn't jump.
   Adjust values if your design needs more/less vertical space. */
.hero-section {
  /* reserve enough space for hero content + image */
  min-height: 640px;            /* desktop default */
  display: flex;
  align-items: center;          /* vertically center content */
}

/* Smaller screens need less height */
@media (max-width: 992px) {
  .hero-section {
    min-height: 460px;         /* tablet / mobile */
    padding: 4rem 1rem 3rem;   /* match your responsive rules */
    text-align: center;
  }
}

/* Ensure the container content stays above decorations and doesn't change flow */
.hero-section .container {
  position: relative;  /* already used but ensure preserved */
  z-index: 1;
}

/* Hero image: explicitly reserve aspect-ratio + responsive sizing */
.hero-section .hero-image {
  display: block;
  width: 100%;
  max-width: 788px;          /* match the image intrinsic width */
  height: auto;
  aspect-ratio: 788 / 572;   /* ensures layout is stable before image loads */
  margin-left: auto;
  margin-right: 0;           /* keep image on right column by default */
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
  transform: perspective(1000px) rotateY(-10deg);
}

/* On smaller screens the hero image stacks below the text */
@media (max-width: 992px) {
  .hero-section .hero-image {
    margin: 0 auto;
    max-width: 520px;        /* use smaller max-width on mobile */
  }
}

/* Decorative pseudo-elements shouldn't change flow; keep them absolutely positioned */
.hero-section::before,
.hero-section::after {
  will-change: transform, opacity; /* hint the browser these are visual-only */
  backface-visibility: hidden;
}

/* Prevent badge & headline from changing size while fonts load */
.hero-section .badge {
  display: inline-block;
  min-height: 28px;
  line-height: 28px;
  vertical-align: middle;
}

/* Small protective rule so icons don't shift if webfont loads late */
.hero-section i[class*="fa-"] {
  display: inline-block;
  width: 18px;
  height: 18px;
  line-height: 18px;
  text-align: center;
}



.feature-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.testimonial-card {
    border-radius: 10px;
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
    border-left: 4px solid var(--primary-color);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.pricing-card {
    transition: all 0.3s;
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    overflow: hidden;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.pricing-card .card-header {
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 2rem 1rem;
    text-align: center;
}



#pricing a {
    color: #084298 !important;
}

.btn-primary {
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    border: none;
    padding: 0.75rem 2rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 0.75rem 2rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.btn-outline-primary:hover {
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    color: white;
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

footer {
    background-color: var(--dark-color);
    color: var(--light-color);
    position: relative;
}

.job-category {
    border-radius: 12px;
    transition: all 0.3s;
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 2rem;
    height: 100%;
    background: white;
}

.job-category:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.section-title {
    position: relative;
    display: inline-block;
    margin-bottom: 2rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
}

.bg-light {
    background-color: #f9fafc !important;
}

.nav-pills .nav-link.active {
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
}

.stats-counter {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contact-info-card {
    border-radius: 10px;
    padding: 2rem;
    background: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
    height: 100%;
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.process-step {
    position: relative;
    padding-left: 80px;
    margin-bottom: 3rem;
}

.process-step-number {
    position: absolute;
    left: 0;
    top: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
}

.navbar {
    padding: 1rem 0;
    transition: all 0.3s;
}

.navbar.scrolled {
    background: white !important;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    padding: 0.5rem 0;
}

.hero-image {
    /*border-radius: 12px;*/
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    transform: perspective(1000px) rotateY(-10deg);
    /*border: 10px solid white;*/
}

.accordion-button:not(.collapsed) {
    background-color: rgba(67, 97, 238, 0.1);
    color: var(--primary-color);
}

.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(67, 97, 238, 0.2);
}

.social-icon {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    margin-right: 10px;
    transition: all 0.3s;
}

.social-icon:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.form-control {
    padding: 0.75rem 1rem;
    border: 1px solid #e1e5ee;
    border-radius: 8px;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(67, 97, 238, 0.1);
}

.badge-primary {
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    padding: 0.35rem 0.75rem;
}

@media (max-width: 768px) {
    .hero-section {
        padding: 4rem 0 3rem;
        text-align: center;
    }
    
    .process-step {
        padding-left: 0;
        padding-top: 70px;
        text-align: center;
    }
    
    .process-step-number {
        left: 50%;
        transform: translateX(-50%);
        top: 0;
    }
}
:root {
    --primary-color: #4361ee;
    --secondary-color: #3a0ca3;
    --accent-color: #4cc9f0;
    --dark-color: #212529;
    --light-color: #f8f9fa;
    --success-color: #2ecc71;
    --warning-color: #f39c12;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: #444;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

.hero-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 6rem 0 5rem;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
}
.hero-section::before,
.hero-section::after {
  z-index: 0;
}

.hero-section * { /* ensure content stacks above decorations */
  position: relative; /* only needed where you want stacking; keep narrow if possible */
  z-index: 1;
}

/* or specifically for the CTA */
.hero-section .btn {
  position: relative;
  z-index: 2;
}


.feature-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.testimonial-card {
    border-radius: 10px;
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
    border-left: 4px solid var(--primary-color);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.pricing-card {
    transition: all 0.3s;
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    overflow: hidden;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.pricing-card .card-header {
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 2rem 1rem;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    border: none;
    padding: 0.75rem 2rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 0.75rem 2rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.btn-outline-primary:hover {
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    color: white;
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

footer {
    background-color: var(--dark-color);
    color: var(--light-color);
    position: relative;
}

.text-warning-strong,
.temp-unavailable {
    color: #b30000; /* darker red, WCAG AA compliant */
    font-weight: 600;
}

.job-category {
    border-radius: 12px;
    transition: all 0.3s;
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 2rem;
    height: 100%;
    background: white;
}

.job-category:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.section-title {
    position: relative;
    display: inline-block;
    margin-bottom: 2rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
}

.bg-light {
    background-color: #f9fafc !important;
}

.nav-pills .nav-link.active {
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
}

.stats-counter {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contact-info-card {
    border-radius: 10px;
    padding: 2rem;
    background: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
    height: 100%;
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.process-step {
    position: relative;
    padding-left: 80px;
    margin-bottom: 3rem;
}

.process-step-number {
    position: absolute;
    left: 0;
    top: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
}

.navbar {
    padding: 1rem 0;
    transition: all 0.3s;
}

.navbar.scrolled {
    background: white !important;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    padding: 0.5rem 0;
}

.hero-image {
    /*border-radius: 12px;*/
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    transform: perspective(1000px) rotateY(-10deg);
    /*border: 10px solid white;*/
}

.accordion-button:not(.collapsed) {
    background-color: rgba(67, 97, 238, 0.1);
    color: var(--primary-color);
}

.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(67, 97, 238, 0.2);
}

.social-icon {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    margin-right: 10px;
    transition: all 0.3s;
}

.social-icon:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.form-control {
    padding: 0.75rem 1rem;
    border: 1px solid #e1e5ee;
    border-radius: 8px;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(67, 97, 238, 0.1);
}

.badge-primary {
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    padding: 0.35rem 0.75rem;
}

@media (max-width: 768px) {
    .hero-section {
        padding: 4rem 0 3rem;
        text-align: center;
    }
    
    .process-step {
        padding-left: 0;
        padding-top: 70px;
        text-align: center;
    }
    
    .process-step-number {
        left: 50%;
        transform: translateX(-50%);
        top: 0;
    }
}