:root {
    --bgPattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cg fill='%236c757d' fill-opacity='0.02'%3E%3Cpolygon fill-rule='evenodd' points='8 4 12 6 8 8 6 12 4 8 0 6 4 4 6 0 8 4'/%3E%3C/g%3E%3C/svg%3E");

    --bg: #f5f7fa;
    --text: #1e1e1e;
    --textSecond: #5C6670;
    --muted: #7c6f66;
    --border: #e7e5e7;

    --primary: #4361EE ;
    --primary-hover: #a6641d;

    --accent: #1f4fff ;
    --accentHover: #3A0CA3;

    --card-bg: #1e1e1e;
    --cart-bg2: #f0f2f5;
    --input-bg: #fffaf5;

    --badge: #f6e2ed;

    --shadow: 0 0.208vw 1.042vw rgba(0, 0, 0, 0.3);
    --shadowHover: 0 0.208vw 2.604vw rgba(0, 0, 0, 0.3);



    --fontLogo: 'Sora';
    --fontMain: 'Inter';

}




.mainFirst {
    width: 87vw;
    max-width: 1600px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.mainFirstInner {
    display: flex;
    justify-content: space-between;
}

.mainText {
    margin-top: 50px;
}

.mainText1 {
    font-family: var(--fontLogo);
    color: var(--textSecond);
    font-size: 48px;
    font-weight: 600;
    margin-bottom: 20px;
}

.mainText2 {
    font-family: var(--fontLogo);
    color: var(--text);
    font-size: 48px;
    font-weight: 700;
}

.mainText3 {
    font-family: var(--fontLogo);
    color: var(--textSecond);
    display: inherit;
    font-size: 16px;
    font-weight: 500;
    width: 700px;
    margin-top: 20px;
}

.fade {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease, transform 1s ease;
}

.fade.visible {
    opacity: 1;
    transform: translateY(0);
}

.burjKhalifa {
    width: 350px;
    height: auto;
    position: relative;
    z-index: 1000;
}

.mainSearchbar {
    position: absolute;
    z-index: 1000;
    width: 92vw;
    max-width: 1632px;
    height: 150px;
    left: 50%;
    top: 538px;
    transform: translate(-50%, 100px);
    opacity: 0;
    background-color: var(--textSecond);
    box-shadow: var(--shadow);
    border-radius: 20px;
    transition: transform 1s ease-out, opacity 1s ease-out;
}

.mainSearchbar.visible {
    opacity: 1;
    transform: translate(-50%, -115px);
}

.searchSection {
    height: 80px;
    margin-top: 35px;
    position: relative;
    display: flex;
    justify-content: left;
    padding-left: 40px;
}

.searchInput {
    width: 33vw;
    max-width: 600px;
    height: 80px;
    background-color: white;
    border: 3px var(--border) solid;
    border-radius: 10px;
    color: #1e1e1e;
    font-family: var(--fontMain);
    outline: none;
    font-size: 24px;
    font-weight: 600;
    padding: 10px;
}

.searchInput::placeholder {
    opacity: .6;
    font-size: 19px;
}

.locationSection {
    position: relative;
    width: 18vw;
    max-width: 300px;
    margin-left: 10px;
    font-family: var(--fontLogo);
}

.locationField {
    width: 18vw;
    max-width: 300px;
    height: 80px;
    background-color: white;
    border: 3px var(--border) solid;
    border-radius: 10px;
    color: #1e1e1e;
    font-family: var(--fontMain);
    outline: none;
    font-size: 24px;
    font-weight: 600;
    padding: 18px 12px;
}

.locationList {
    list-style: none;
    padding: 0;
    margin: 0;
    border: 2px solid var(--border);
    border-radius: 10px;
    border-top: none;
    max-height: 230px;
    overflow-y: auto;
    position: absolute;
    width: 18vw;
    max-width: 300px;
    background-color: white;
    box-shadow: var(--shadowHover);
    display: none;
    z-index: 1000;
}

.locationList li {
    padding: 12px 16px;
    cursor: pointer;
    transition: background 0.2s;
    font-size: 1.1rem;
}

.locationList li:hover {
    background-color: var(--border);
    border-radius: 5px;
}

.searchButton {
    background-color: var(--text);
    color: var(--bg);
    font-family: var(--fontMain);
    border-radius: 10px;
    font-size: 24px;
    font-weight: 600;
    height: 80px;
    width: 12vw;
    max-width: 200px;
    margin-left: 10px;
    top: 0;
    transition: all ease-in-out 0.3s;
}

.searchButton:hover {
    background-color: #1e1e1e;
    color: var(--bg);
    box-shadow: var(--shadow);
}



.postModel {
    width: 92vw;
    max-width: 1638px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.postModelInner {
    display: flex;
    justify-content: space-between;
    padding-left: 20px;
    padding-bottom: 246px;
    perspective: 900px;
    position: relative;
    overflow: hidden;
    padding-top: 150px;
}

.postModelImage {
    width: 900px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transform-origin: bottom center;
    transform: rotateX(90deg) translateY(100px);
    transition: transform 3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.postModelText {
    width: 480px;
    padding-top: 50px;
    margin-left: 40px;
}

.postModelTitle {
    font-family: var(--fontLogo);
    color: var(--text);
    font-weight: 700;
    font-size: 3.5rem;
    display: flex;
    justify-content: center;
    margin-top: 30px;
    position: relative;
    z-index: 100;
    line-height: 1.3;
}

.postModelDes {
    font-family: var(--fontLogo);
    color: var(--textSecond);
    display: inherit;
    font-size: 1rem;
    font-weight: 500;
}

.postModelButton {
    background-color: var(--textSecond);
    color: var(--bg);
    font-family: var(--fontLogo);
    font-size: 19px;
    padding: 0;
    font-weight: 500;
    width: 300px;
    height: 45px;
    border-radius: 10px;
    margin-top: 20px;
}

.postModelButton:hover {
    background-color: var(--textSecond);
    color: var(--bg);
    box-shadow: var(--shadow);
}

.arrowPoster {
    width: 92vw;
    max-width: 1632px;
    height: max-content;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.arrowPosterInner {
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.ceoQuote {
    font-family: "Crimson";
    color: var(--text);
    font-size: 32px;
    max-width: 660px;
    display: inherit;
    margin-top: 20px;
    padding-right: 20px;
}

.ceoTitle {
    margin-top: 10px;
    display: inherit;
    font-family: var(--fontMain);
    font-weight: 500;
    font-size: 16px;
    color: var(--text);
}

.ceoProfile {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    margin-bottom: 4px;
    margin-right: 5px;
}

.arrowsContainer {
    width: 750px;
    display: flex;
    justify-content: space-between;
    position: relative;
    z-index: 10;
    margin-top: 30px;
}

#connections {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.connection-line {
    opacity: 0;
    stroke: var(--textSecond);
    stroke-width: 5;
    fill: none;
    stroke-dasharray: 1000;
    stroke-dashoffset: 0;
    animation: drawLineReverse 1s ease forwards;
}

@keyframes drawLineReverse {
  from {
    stroke-dashoffset: 1000;
  }
  to {
    stroke-dashoffset: 0;
    opacity: 1;
  }
}

.candidateCards {
  display: block;
}

.candidateCard {
  width: 270px;
  height: 90px;
  background-color: var(--bg);
  border-radius: 20px;
  border: 1px var(--border) solid;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.candidateDetails {
  display: flex;
  justify-content: left;
}

.candidatePhoto {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin-top: 13px;
  margin-left: 10px;
  margin-right: 10px;
  border: 3px var(--border) solid;
}

.candidateTitle {
    display: grid;
    padding: 21px 0;
    font-size: 16px;
}

.candidateName {
  font-weight: 600;
  font-family: 'Inter';
  color: var(--text);
}

.candidateDes {
  font-weight: 500;
  color: var(--textSecond);
  font-family: 'Inter';
  font-size: 13px;
}

.employerCards {
  display: flex;
  align-items: center;
  justify-content: center;
}

.employerCard {
  width: 270px;
  height: 200px;
  background-color: var(--bg);
  border-radius: 20px;
  border: 1px var(--border) solid;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 1;
}

.employerDetails {
  display: flex;
  justify-content: left;
}

.employerPhoto {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin-top: 13px;
  margin-left: 10px;
  margin-right: 10px;
  border: 3px var(--border) solid;
}

.employerTitle {
  display: grid;
  padding-top: 21px;
}

.employerName {
  font-weight: 600;
  font-size: 16px;
  font-family: 'Inter';
  color: var(--text);
}

.employerDes {
  font-weight: 500;
  color: var(--textSecond);
  font-family: 'Inter';
  font-size: 13px;
}

.employerCompanyDes {
    font-family: var(--fontMain);
    font-size: 13px;
    color: var(--textSecond);
    text-align: justify;
    display: block;
    margin-left: auto;
    margin-right: auto;
    padding: 10px;
}
