/*

Kazan Africa

*/

/*---------------------------------------
  CUSTOM PROPERTIES ( VARIABLES )             
-----------------------------------------*/
:root {
  --white-color: #ffffff;
  --primary-color: #ffffff;
  --secondary-color: #E62F18;
  --section-bg-color: #000000;
  --custom-p-color: #ffe0b4;
  --dark-color: #000000;
  --p-color: #979797;
  --border-color: #c1c1c1c1;
  --custom-background-1: #640902;
  --custom-background-2: #006400;
  --custom-background-3: #000080;

  --body-font-family: 'Plus Jakarta Sans', sans-serif;

  --h1-font-size: 72px;
  --h2-font-size: 46px;
  --h3-font-size: 32px;
  --h4-font-size: 28px;
  --h5-font-size: 24px;
  --h6-font-size: 22px;
  --p-font-size: 20px;
  --btn-font-size: 16px;
  --form-btn-font-size: 18px;
  --menu-font-size: 16px;

  --border-radius-large: 100px;
  --border-radius-medium: 20px;
  --border-radius-small: 10px;

  --font-weight-thin: 200;
  --font-weight-light: 300;
  --font-weight-normal: 400;
  --font-weight-bold: 700;
}

body {
  background-color: var(--dark-color);
  font-family: var(--body-font-family);
}


/*---------------------------------------
  TYPOGRAPHY               
-----------------------------------------*/

h2,
h3,
h4,
h5,
h6 {
  color: var(--dark-color);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: var(--font-weight-bold);
}

h1 {
  font-size: var(--h1-font-size);
}

h2 {
  font-size: var(--h2-font-size);
}

h3 {
  font-size: var(--h3-font-size);
}

h4 {
  font-size: var(--h4-font-size);
}

h5 {
  font-size: var(--h5-font-size);
}

h6 {
  font-size: var(--h6-font-size);
}

p {
  color: var(--p-color);
  font-size: var(--p-font-size);
  font-weight: var(--font-weight-light);
}

ul li {
  color: var(--p-color);
  font-size: var(--p-font-size);
  font-weight: var(--font-weight-light);
}

a,
button {
  touch-action: manipulation;
  transition: all 0.3s;
}

a {
  display: inline-block;
  color: var(--secondary-color);
  text-decoration: none;
}

a:hover {
  color: var(--link-hover-color);
}

b,
strong {
  font-weight: var(--font-weight-bold);
}


/*---------------------------------------
  SECTION               
-----------------------------------------*/
.section-padding {
  padding-top: 100px;
  padding-bottom: 100px;
}

.section-bg {
  background-color: var(--section-bg-color);
}

.section-overlay {
  background-color: var(--dark-color);
  position: absolute;
  z-index: 9;
  top: 0;
  left: 0;
  pointer-events: none;
  width: 100%;
  height: 100%;
  opacity: 0.65;
}

.section-overlay+.container {
  position: relative;
  z-index: 22;
}

.back-top-icon {
  font-size: var(--h2-font-size);
}


/*---------------------------------------
  CUSTOM BUTTON               
-----------------------------------------*/
.custom-btn {
  background: var(--custom-btn-bg-color);
  border: 2px solid transparent;
  border-radius: var(--border-radius-large);
  color: var(--white-color);
  font-size: var(--btn-font-size);
  font-weight: var(--font-weight-bold);
  line-height: normal;
  transition: all 0.3s;
  padding: 12px 28px;
}

.custom-btn:hover {
  background: var(--custom-btn-bg-hover-color);
  color: var(--white-color);
}

.custom-border-btn {
  background: transparent;
  border: 2px solid var(--white-color);
  color: var(--white-color);
}

.custom-border-btn:hover {
  background: var(--white-color);
  color: var(--secondary-color);
}

.custom-btn-bg-white {
  border-color: var(--white-color);
  color: var(--white-color);
}

.custom-btn-italic {
  font-style: italic;
}


/*---------------------------------------
  NAVIGATION BAR & OFFCANVAS              
-----------------------------------------*/
.sticky-wrapper {
  position: absolute;
  z-index: 999999;
  top: 0;
  right: 0;
  left: 0;
}

.sticky-wrapper.is-sticky .container {
  background: rgba(0, 0, 0, 0.9);
  border-radius: var(--border-radius-medium);
  padding: 15px 30px;
}

.navbar {
  background: transparent;
  z-index: 999999;
  padding-top: 10px;
  padding-bottom: 30px;
  align-items: center;
  justify-content: center;
}

.navbar .container {
  background: rgba(0, 0, 0, 0.9);
  border-radius: var(--border-radius-medium);
  padding: 15px 30px;
  width: 100%;

}

.navbar-brand,
.navbar-brand:hover {
  font-size: var(--h4-font-size);
  font-weight: var(--font-weight-bold);
  display: block;
  color: var(--white-color);
}

/* .navbar .navbar-brand-image {
  filter: brightness(0) invert(1);
} */

.navbar-brand-image {
  width: 100px;
  height: auto;
  margin-right: 10px;
}

.navbar .custom-btn {
  padding: 10px 20px;
}

.navbar-expand-lg .navbar-nav .nav-link {
  border-radius: var(--border-radius-large);
  margin: 10px;
  padding: 10px;
}

.navbar-nav .nav-link {
  display: inline-block;
  color: var(--white-color);
  font-size: var(--menu-font-size);
  font-weight: var(--font-weight-bold);
  padding-top: 15px;
  padding-bottom: 15px;
}

.navbar-nav .nav-link.active,
.navbar-nav .nav-link:hover {
  color: var(--secondary-color);
}

.navbar .dropdown-menu {
  background: var(--white-color);
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, .175);
  border: 0;
  display: inherit;
  opacity: 0;
  min-width: 9rem;
  margin-top: 20px;
  padding: 13px 0 10px 0;
  transition: all 0.3s;
  pointer-events: none;
}

.navbar .dropdown-menu::before {
  content: "";
  width: 0;
  height: 0;
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  border-bottom: 15px solid var(--white-color);
  position: absolute;
  top: -10px;
  left: 10px;
}

.navbar .dropdown-item {
  display: inline-block;
  color: var(--p-color);
  font-size: var(--menu-font-size);
  font-weight: var(--font-weight-medium);
  position: relative;
}

.navbar .dropdown-item.active,
.navbar .dropdown-item:active,
.navbar .dropdown-item:focus,
.navbar .dropdown-item:hover {
  background: transparent;
  color: var(--link-hover-color);
}

.navbar .dropdown-toggle::after {
  content: "\f282";
  display: inline-block;
  font-family: bootstrap-icons !important;
  font-size: var(--menu-font-size);
  font-style: normal;
  font-weight: normal !important;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  vertical-align: -.125em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
  left: 2px;
  border: 0;
}

@media screen and (min-width: 992px) {
  .navbar .dropdown:hover .dropdown-menu {
    opacity: 1;
    margin-top: 0;
    pointer-events: auto;
  }
}

.navbar-toggler {
  border: 0;
  padding: 0;
  cursor: pointer;
  margin: 0;
  width: 30px;
  height: 35px;
  outline: none;
}

.navbar-toggler:focus {
  outline: none;
  box-shadow: none;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
  background: transparent;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:before,
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:after {
  transition: top 300ms 50ms ease, -webkit-transform 300ms 350ms ease;
  transition: top 300ms 50ms ease, transform 300ms 350ms ease;
  transition: top 300ms 50ms ease, transform 300ms 350ms ease, -webkit-transform 300ms 350ms ease;
  top: 0;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:before {
  transform: rotate(45deg);
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:after {
  transform: rotate(-45deg);
}

.navbar-toggler .navbar-toggler-icon {
  background: var(--white-color);
  transition: background 10ms 300ms ease;
  display: block;
  width: 30px;
  height: 2px;
  position: relative;
}

.navbar-toggler .navbar-toggler-icon:before,
.navbar-toggler .navbar-toggler-icon:after {
  transition: top 300ms 350ms ease, -webkit-transform 300ms 50ms ease;
  transition: top 300ms 350ms ease, transform 300ms 50ms ease;
  transition: top 300ms 350ms ease, transform 300ms 50ms ease, -webkit-transform 300ms 50ms ease;
  position: absolute;
  right: 0;
  left: 0;
  background: var(--white-color);
  width: 30px;
  height: 2px;
  content: '';
}

.navbar-toggler .navbar-toggler-icon::before {
  top: -8px;
}

.navbar-toggler .navbar-toggler-icon::after {
  top: 8px;
}

/*-------------------------------------------------------------------------------------------------------------------------------------------------------------
  =====================================================================HOME SECTION START======================================================================        
---------------------------------------------------------------------------------------------------------------------------------------------------------------*/
/*---------------------------------------
  HERO        
-----------------------------------------*/
.hero-section {
  background-color: var(--dark-color);
  background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("../images/mountains-landscape.jpg");
  background-size: cover;
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  text-align: center;
  align-items: center;
  /* Vertically center content */
  justify-content: center;
  /* Horizontally center content */
  padding: 20px;
  /* Add padding for smaller screens */
}

.hero-section h1 {
  font-size: var(--h1-font-size);
  color: var(--white-color);
  display: inline-block;
  white-space: nowrap;
  overflow: hidden;
  letter-spacing: 0.02em;
  /* width: 0; */
  /* border-right: 2px solid var(--white-color);
  padding-right: 5px; */
  /* animation: typewriter 2s steps(30) 1s forwards, hold 5s 3s forwards; */
  animation: typing 3s linear infinite alternate-reverse;
}

/* Keyframes for typing */
@keyframes typing {
  from {
    width: 0ch;
  }
  to {
    width: 100%;
  }
}

/* Keyframes for typing in */
@keyframes typewriter {
  from {
    width: 0;
  }

  to {
    width: 100%;
  }
}

/* Keyframes to hold the text after typing */
/* @keyframes hold {
  0% {
    width: 100%;
  }

  100% {
    width: 100%;
  }
} */

/* Keyframes for blinking cursor */
/* @keyframes blink-caret {
  50% {
    border-color: transparent;
  }
} */

/* Responsive Styles */
@media (max-width: 768px) {
  .hero-section {
    min-height: 500px;
    /* Reduce height for tablets and small laptops */
    padding: 15px;
  }

  .hero-section h1 {
    font-size: var(--h3-font-size);
    /* Reduce font size for smaller screens */
  }
}

@media (max-width: 480px) {
  .hero-section {
    min-height: 400px;
    /* Further reduce height for mobile devices */
    background-position: center;
  }

  .hero-section h1 {
    font-size: var(--h4-font-size);
    /* Smaller font size for mobile devices */
    width: 100%;
    /* Ensure it doesn't overflow */
  }
}

.small-text {
  color: var(--white-color);
}

.hero-section .custom-border-btn {
  border-color: transparent;
}

.hero-section .container {
  position: relative;
  z-index: 9;
}

/*---------------------------------------
  HOME  SMALL ABOUT              
-----------------------------------------*/
.about-section {
  background-color: var(--secondary-color);
  position: relative;
}

.about-section .ratio,
.about-section img {
  border-radius: var(--border-radius-medium);
  width: 85%;
  height: 90%;
  object-fit: cover;
}

@media screen and (max-width: 768px) {
  .about-section img {
    display: none;
  }

  .known-for {
    text-align: left;
  }
}

.about-image-wrap {
  border-radius: var(--border-radius-medium);
  position: relative;
  overflow: hidden;
}

.about-video-info {
  border-radius: var(--border-radius-medium);
  border-color: var(--secondary-color);
  bottom: 0;
  height: auto;
  padding: 40px;
}

.about-video-info h4 {
  color: var(--white-color);
}

.about-section h6 {
  color: var(--secondary-color);
}

.text-white {
  padding: 15px 15px;
  color: var(--custom-p-color);
}

.why-section {
  background-color: var(--dark-color);
  padding: 40px 0;
}

.why-section h2 {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 10px;
}

.about-block {
  display: inline-block;
  vertical-align: top;
  position: relative;
  margin: 10px;
  width: 420px;
  height: 520px;
}

.about-block-wrap {
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  height: 100%;
  cursor: pointer;
  display: flex;
  flex-direction: column-reverse;
  justify-content: space-evenly;
}

.about-block-image-wrap {
  width: 100%;
  height: 60%;
  overflow: hidden;
}

.about-block-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.about-block-wrap:hover .about-block-image {
  transform: scale(1.1);
}

.about-block-info {
  height: 45%;
  background-color: var(--dark-color);
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
  padding: 20px;
}

.about-block-info h4 {
  font-weight: bold;
}

.about-block-info p {
  line-height: 1.5;
  margin: 0;
  color: var(--white-color);
}

.about-block-info-1 {
  background-color: var(--custom-background-1);
  color: var(--custom-p-color);
}

.about-block-info-2 {
  background-color: var(--custom-background-2);
}

.about-block-info-3 {
  background-color: var(--custom-background-3);
}

/* Animation keyframes */
@keyframes changeText {

  0%,
  20% {
    content: "Strategize";
  }

  25%,
  45% {
    content: "Create";
  }

  50%,
  70% {
    content: "Test";
  }

  75%,
  95% {
    content: "Deploy";
  }
}

/* Animate the text */
.rotating-text::after {
  content: "Strategize";
  animation: changeText 4s infinite;
  /* Animation runs in 8 seconds */
  display: inline-block;
  color: var(--dark-color);
}



/*---------------------------------------
  DROPDOWN QUESTIONS              
-----------------------------------------*/

.wrapper {
  max-width: 95%;
  width: 100%;
  padding: 10px 0;
  margin: 2px auto;
}

input {
  display: none;
}

.wrapper label {
  display: flex;
  width: 100%;
  height: 50px;
  cursor: pointer;
  border-bottom: 2px solid var(--p-color);
  user-select: none;
  font-size: var(--h4-font-size);
  color: var(--white-color);
}

.wrap-1,
.wrap-2,
.wrap-3,
.wrap-4,
.wrap-5 {
  padding: 10px;
}

label div:first-child {
  width: 100%;
  line-height: 45px;
  margin-left: 10px;
}

.cross {
  margin-right: 15px;
  margin-top: 3px;
}

.cross:before,
.cross:after {
  content: '';
  border-top: 2px solid #3E474F;
  width: 15px;
  display: block;
  margin-top: 18px;
  transition: 0.3s;
}

.cross:after {
  transform: rotate(90deg);
  margin-top: -2px;
}

.content {
  box-sizing: border-box;
  font-size: var(--p-font-size);
  color: var(--white-color);
  margin: 10px 10px;
  max-height: 0;
  overflow: hidden;
  transition: max-height, .5s;
}

input:checked~.content {
  max-height: 400px;
  transition: max-height, 1s;
}

input:checked~label .cross:before {
  transform: rotate(180deg);
}

input:checked~label .cross:after {
  transform: rotate(0deg);
}

@media (max-width: 768px) {
  .wrapper {
    margin: 2px 0;
    /* Remove horizontal centering */
    padding: 10px 0;
    /* Adjust padding for smaller screens */
  }

  .wrapper label {
    margin: 0;
    justify-content: flex-start;
    /* Align flex content to the left */
    text-align: left;
    /* Ensure text aligns left */
  }

  label div:first-child {
    margin-left: 0;
    /* Remove any left margin */
    padding-left: 10px;
    /* Optional padding for readability */
  }

  .cross {
    margin-right: 10px;
    /* Adjust spacing for cross icon */
  }

  .content {
    margin: 10px 0;
    /* Remove side margins for smaller screens */
    text-align: left;
    /* Align text content to the left */
  }
}

/*---------------------------------------
  CASE STUDIES            
-----------------------------------------*/

.cards {
  position: relative;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  /* 2 columns per row */
  justify-content: center;
  -webkit-justify-content: center;
  align-items: center;
  gap: 7rem;
  max-width: 1080px;
  margin: 0 auto;
}

.card__img {
  visibility: visible;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  width: 100%;
  height: 400px;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}

.card__info-hover {
  position: absolute;
  padding: 16px;
  width: 100%;
  opacity: 0;
  top: 0;
}

.card__img--hover {
  transition: 0.2s all ease-out;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 100%;
  position: absolute;
  height: 400px;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  top: 0;
}

.card {
  /* margin-right: 25px; */
  transition: all .4s cubic-bezier(0.175, 0.885, 0, 1);
  background-color: var(--white-color);
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0px 13px 10px -7px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 500px;
  transition: all 0.3s ease;
}

.card:hover {
  transform: scale(1.05);
}

.card__info {
  z-index: 2;
  background-color: var(--white-color);
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
  padding: 16px 24px 24px 24px;
}

.card__info:hover {
  color: var(--secondary-color);
}


.card__category {
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 2px;
  font-weight: 500;
  color: #868686;
}

.card__title {
  margin-top: 5px;
  margin-bottom: 10px;
  background-color: var(--white-color);
  color: var(--dark-color);
}

.card:hover .card__img--hover {
  height: 400px;
  opacity: 1;
}

.card:hover .card__info {
  background-color: transparent;
  position: relative;
}

.card:hover .card__info-hover {
  opacity: 1;
}

@media (max-width: 768px) {
  .cards {
    flex-direction: column;
    grid-template-columns: 1fr;
    /* Stack cards in one column on smaller screens */
    align-items: center;
    padding: 20px;
  }

  .card {
    margin-right: 0;
    /* Remove horizontal margins */
  }
}

/*---------------------------------------
  OUR CLIENTS       
-----------------------------------------*/
:root {
  --clients-width: 100vw;
  --clients-height: 15vh;
  --clients-elements-displayed: 5;
  --clients-element-width: calc(var(--clients-width) / var(--clients-elements-displayed));
  --clients-animation-duration: calc(var(--clients-elements) * 6s);
}

.clients {
  width: 100%;
  height: fit-content;
  background-color: #000;
  color: #eee;
  overflow: hidden;
  position: relative;
  margin-top: 50px;
}

.clients:before,
.clients:after {
  position: absolute;
  top: 0;
  width: 10rem;
  height: 100%;
  content: "";
  z-index: 1;
}

.clients:before {
  left: 0;
  background: linear-gradient(to right, #000 0%, transparent 100%);
}

.clients:after {
  right: 0;
  background: linear-gradient(to left, #000 0%, transparent 100%);
}

.clients-content {
  list-style: none;
  height: 100%;
  display: flex;
  animation: scrolling var(--clients-animation-duration) linear infinite;
}

@keyframes scrolling {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(calc(-1 * var(--clients-element-width) * var(--clients-elements)));
  }
}

.clients-content li {
  display: flex;
  justify-content: center;
  align-items: center;
  /* text-align: center; */
  flex-shrink: 0;
  width: var(--clients-element-width);
  max-height: 100%;
  font-size: calc(var(--clients-height)*3/4);
  /* 5rem; */
  white-space: nowrap;
}

.clients-content li img {
  width: auto;
  height: 120px;
  /* border: 2px solid #eee; */
}

@media (max-width: 600px) {
  html {
    font-size: 12px;
  }

  :root {
    --clients-width: 100vw;
    --clients-height: 16vh;
    --clients-elements-displayed: 3;
  }

  .clients:before,
  .clients:after {
    width: 5rem;
  }

  .clients-content li img {
    width: auto;
    height: 80px;
  }
}

/*---------------------------------------
  TESTIMONIALS              
-----------------------------------------*/
.l-card-container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: 5px;
  margin: 5px 0;
}

.l-card {
  width: auto;
  min-width: 360px;
  max-width: 380px;
  height: auto;
  background: var(--secondary-color);
  color: var(--white-color);
  padding: 50px;
  margin: 20px;
  border: 1px solid var(--secondary-color);
  border-radius: var(--border-radius-medium);
}

.l-card__text p {
  font-size: var(--p-font-size);
  font-weight: 400;
  color: var(--white-color);
  text-align: left;
}

.l-card__text p::after {
  content: "\201D";
  display: inline;
  color: var(--white-color);
}

.l-card__text p::before {
  content: "\201C";
  display: inline;
  color: var(--white-color);
}

.l-card__user {
  display: flex;
  flex-direction: row;
  padding-top: 24px;
  margin-top: 12px;
  border-top: 1px solid #c1c1c1;
  align-items: center;
}

.l-card__userImage {
  width: 42px;
  height: 42px;
  overflow: hidden;
  border-radius: 50%;
}

.l-card__userImage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.l-card__userInfo {
  display: flex;
  flex-direction: column;
  margin-left: 16px;
}

.l-card__userInfo span:nth-child(1) {
  font-weight: bold;
  font-size: 14px;
  color: var(--white-color);
}

.l-card__userInfo span:nth-child(2) {
  color: #c1c1c1;
  font-size: 12px;
  margin-top: 2px;
}

/*---------------------------------------
  CONTACT               
-----------------------------------------*/
.contact-section {
  background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), rgba(0, 0, 0)), url("https://cdn.builder.io/api/v1/image/assets/TEMP/2bc841736a4d994c3545b28b73a8b4c0fb819d7947d761fbb440cd4c9f1932ac?placeholderIfAbsent=true&apiKey=2d690f505a1440cfaedf572735be54e1");
  background-size: cover;
}

.google-map {
  border-radius: var(--border-radius-medium);
}

.contact-block-wrap {
  background: var(--primary-color);
  border-radius: var(--border-radius-medium);
  padding: 0;
  min-height: 200px;
}

.contact-block {
  background: var(--secondary-color);
  border-radius: var(--border-radius-medium);
  transform: rotate(8deg);
  height: 100%;
  padding: 20px 40px;
}

.contact-block h6 {
  transform: rotate(-8deg);
}

.contact-block .custom-icon {
  background: var(--primary-color);
  border-radius: var(--border-radius-large);
  display: block;
  width: 50px;
  height: 50px;
  line-height: 50px;
  text-align: center;
  position: relative;
}

.contact-block strong {
  display: block;
  color: var(--white-color);
  text-transform: uppercase;
  margin-top: 20px;
  margin-bottom: 10px;
}


/*---------------------------------------
  CUSTOM FORM               
-----------------------------------------*/
.custom-form .form-control {
  color: var(--white-color);
  border-radius: var(--border-radius-small);
  margin-bottom: 30px;
  padding-top: 13px;
  padding-bottom: 13px;
  box-shadow: none;
  outline: none;
  transition: all 0.3s;
}

.custom-form .form-control:hover,
.custom-form .form-control:focus {
  border-color: var(--secondary-color);
}

.custom-form .form-label {
  color: var(--white-color);
  font-size: var(--p-font-size);
  margin-bottom: 15px;
}

.custom-form button[type="submit"] {
  background: var(--custom-btn-bg-color);
  border-radius: var(--border-radius-large);
  border: 2px solid;
  color: var(--white-color);
  font-size: var(--form-btn-font-size);
  font-weight: var(--font-weight-bold);
  transition: all 0.3s;
  margin-bottom: 0;
  display: inline-block;
}

.custom-form button[type="submit"]:hover,
.custom-form button[type="submit"]:focus {
  color: var(--secondary-color);
}

.contact-form .form-control,
.booking-form .form-control {
  background-color: transparent;
  border-color: rgba(255, 255, 255, 0.25);
}

.form-control {
  color: var(--p-color);
}

.custom-form input::-webkit-input-placeholder,
.custom-form textarea::-webkit-input-placeholder {
  color: var(--p-color);
  font-size: var(--form-btn-font-size);
}

/*---------------------------------------
  SITE FOOTER              
-----------------------------------------*/
.site-footer {
  background-color: var(--dark-color);
  padding-top: 100px;
  padding-bottom: 100px;
}

.site-footer strong {
  color: var(--white-color);
  font-size: var(--p-font-size);
}

.site-footer p,
.site-footer-link {
  color: rgba(255, 255, 255, 0.75);
}

.site-footer-link {
  color: rgba(255, 255, 255, 0.75);
  transition: all 0.3s;
}

.site-footer-link:hover {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: underline;
}


/*---------------------------------------
  SOCIAL ICON               
-----------------------------------------*/
.social-icon {
  margin: 0;
  padding: 0;
}

.social-icon-item {
  list-style: none;
  display: inline-block;
  vertical-align: top;
}

.social-icon-link {
  background: var(--secondary-color);
  border-radius: var(--border-radius-large);
  color: var(--white-color);
  font-size: var(--menu-font-size);
  display: block;
  margin: 0 5px;
  text-align: center;
  width: 35px;
  height: 35px;
  line-height: 35px;
  transition: background 0.2s, color 0.2s;
}

.social-icon-link:hover {
  background: var(--white-color);
  color: var(--secondary-color);
}

.social-icon-link span {
  display: block;
}


/*---------------------------------------
  RESPONSIVE STYLES               
-----------------------------------------*/
@media screen and (max-width: 1200px) {
  h1 {
    font-size: 62px;
  }
}

@media screen and (max-width: 991px) {
  h1 {
    font-size: 54px;
  }

  h2 {
    font-size: 36px;
  }

  h3 {
    font-size: 32px;
  }

  h4 {
    font-size: 28px;
  }

  h5 {
    font-size: 20px;
  }

  h6 {
    font-size: 18px;
  }

  .section-padding {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .hero-section {
    padding-top: 148px;
    padding-bottom: 100px;
  }

  .navbar-brand,
  .navbar-brand:hover {
    font-size: var(--h5-font-size);
  }

  .navbar-expand-lg .navbar-nav {
    padding-bottom: 20px;
  }

  .navbar-expand-lg .navbar-nav .nav-link {
    padding: 0;
    margin-bottom: 0;
  }

  .navbar .custom-btn {
    margin-bottom: 10px;
  }

  .container {
    width: auto;
    margin-right: 10px;
    margin-left: 10px;
    padding: 35px;
  }

  .site-footer {
    padding-top: 50px;
    padding-bottom: 50px;
  }
}

@media screen and (max-width: 767px) {
  .custom-btn {
    font-size: 14px;
    padding: 12px 20px;
  }

  .menu-block-wrap,
  .reviews-block-image-wrap,
  .reviews-block-info {
    padding: 20px;
  }
}


@media screen and (max-width: 578px) {

  .navbar .container,
  .sticky-wrapper.is-sticky .container {
    margin-right: 10px;
    margin-left: 10px;
  }
}


@media screen and (max-width: 480px) {
  h1 {
    font-size: 38px;
  }

  h2 {
    font-size: 28px;
  }

  h3 {
    font-size: 26px;
  }

  h4 {
    font-size: 22px;
  }

  h5 {
    font-size: 20px;
  }
}

/*-------------------------------------------------------------------------------------------------------------------------------------------------------------
  =====================================================================ABOUT US SECTION START======================================================================        
---------------------------------------------------------------------------------------------------------------------------------------------------------------*/
.about-hero {
  background-color: var(--secondary-color);
  z-index: 10;
  display: flex;
  width: 100%;
  flex-direction: column;
}

.about-hero img {
  object-fit: contain;
  object-position: center;
  width: 100%;
  height: 100%;
}

.about-des {
  background-color: var(--secondary-color);
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: center;
  text-align: left;
  justify-content: center;
  padding: 168px 0;
}

.about-content {
  display: flex;
  width: 90%;
  max-width: 1280px;
  flex-direction: column;
}

@media (max-width: 768px) {
  .about-hero {
    height: 60vh;
    position: relative;
  }

  .about-hero img {
    object-fit: cover;
    object-position: center;
    width: 100%;
    height: 100%;
  }

  .about-des {
    padding: 40px 20px;
    text-align: left;
  }

  .about-content h2 {
    font-size: var(--h4-font-size);
    margin-bottom: 20px;
  }

  .about-content p {
    font-size: var(--p-font-size);
    line-height: 1.6;
    margin: 0 auto;
    max-width: 600px;
  }
}


/*-------------------------------------------------------------------------------------------------------------------------------------------------------------
  =====================================================================CASE STUDIES SECTION START======================================================================        
---------------------------------------------------------------------------------------------------------------------------------------------------------------*/
.case-studies {
  margin-top: 80px;
}

.case-study {
  height: 60vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--dark-color);
  color: var(--white-color);
  margin-top: 80px;
  padding: 20px;
}

.case-study .columns {
  display: grid;
  grid-template-columns: 1fr 0.5fr 2fr;
  align-items: center;
  width: 100%;
  max-width: 1200px;
}

.case-study .logo-column img {
  max-width: 100%;
  height: auto;
  background-color: var(--white-color);
  padding: 40px 40px 40px 40px;
  border-radius: var(--border-radius-medium);
}

.case-study .text-column {
  text-align: left;
}

.case-study .empty-column {
  width: 20px;
}

.case-study p {
  font-size: var(--h6-font-size);
  color: var(--white-color);
}

.ket-header {
  color: #DCB033;
}

.cs-img {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--dark-color);
  position: relative;
  padding: 80px;
}

.image-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

.image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  /* Centers the image */
  justify-content: center;
  border-radius: var(--border-radius-small);
}

.impressions-box {
  position: absolute;
  width: 320px;
  height: auto;
  top: -90px;
  right: 160px;
  background-color: var(--secondary-color);
  color: var(--dark-color);
  padding: 70px;
  text-align: center;
  font-size: var(--h1-font-size);
  font-weight: var(--font-weight-bold);
  border-radius: var(--border-radius-medium);
  z-index: 10;
  /* Ensures it stays on top of the image */
}

.impressions-box span {
  display: block;
  line-height: 1;
  margin-bottom: 10px;
}

.impressions-box .small-text {
  font-size: var(--p-font-size);
  font-weight: var(--font-weight-normal);
  margin-top: 10px;
  color: var(--dark-color);
}

@media (max-width: 768px) {
  .case-study {
    height: auto;
    padding: 20px;
    flex-direction: column;
  }

  .case-study .columns {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .case-study .logo-column img {
    margin-top: 25px;
    margin-bottom: 20px;
    padding: 20px;
  }

  .case-study .text-column {
    text-align: left;
    margin-bottom: 35px;
  }

  .cs-img {
    padding: 20px;
  }

  .image-wrapper img {
    width: 100%;
    height: 450px;
    object-fit: cover;
  }

  .impressions-box {
    top: -45px;
    right: 50%;
    transform: translateX(50%);
    width: 230px;
    padding: 20px;
    font-size: var(--h6-font-size);
  }

  .impressions-box .small-text {
    font-size: var(--p-font-size);
  }
}

/* Objectives */

.objectives {
  text-align: left;
}

.objectives ul li {
  padding: 20px;
  text-align: left;
  font-size: var(--p-font-size);
  color: var(--white-color);
}

@media (max-width: 768px) {
  .objectives {
    margin-top: 20px;
  }

  .objectives p {
    line-height: 1.5;
  }

  .objectives ul {
    padding: 0;
    list-style-position: inside;
  }

  .objectives ul li {
    text-align: left;
    padding: 15px 10px;
    /* padding for compact spacing */
  }
}

.gallery-casestudy {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
  margin-bottom: 10px;
  background-color: var(--dark-color);
}

.gallery-casestudy .img-case-study {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  /* Add spacing between images */
  width: 100%;
  max-width: 1200px;
  /* Optional: Limit the width of the gallery */
}

.gallery-casestudy img {
  width: 100%;
  height: auto;
  /* Maintain aspect ratio */
  border-radius: var(--border-radius-small);
  /* rounded corners */
  transition: transform 0.3s ease;
  /* hover effect */
}

.gallery-casestudy-jambojet {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
  margin-bottom: 10px;
  /* background-color: var(--dark-color); */
}

.gallery-casestudy-jambojet .img-case-study-jambojet {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  /* Add spacing between images */
  width: 100%;
  max-width: 1200px;
  /* Optional: Limit the width of the gallery */
}

.gallery-casestudy-jambojet img {
  width: auto;
  height: 100%;
  /* Maintain aspect ratio */
  border-radius: var(--border-radius-small);
  /* rounded corners */
  transition: transform 0.3s ease;
  /* hover effect */
}

.gallery-casestudy img:hover {
  transform: scale(1.05);
  /* Slight zoom-in effect on hover */
}

@media (max-width: 768px) {
  .gallery-casestudy {
    flex-direction: column;
    /* Stack the gallery vertically */
    align-items: center;
    /* Center align for a clean layout */
    padding: 20px;
    /* Add padding for spacing */
  }

  .gallery-casestudy .img-case-study {
    grid-template-columns: 1fr;
    /* Single column layout */
    gap: 20px;
    /* Reduce gap for smaller screens */
  }

  .gallery-casestudy img {
    width: 100%;
    /* Ensure images are full-width */
    height: auto;
    /* Maintain aspect ratio */
    max-width: 500px;
    /* Optional: Limit image width for better visual balance */
    margin: 0 auto;
    /* Center align images */
  }
}

.bottom-img {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  width: 100%;
  max-width: 1280px;
  /* Optional: Limit the width of the gallery */
}

/* GMQ CASE STUDY */

.gmq-about {
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--dark-color);
  color: var(--white-color);
  margin-bottom: 100px;
  padding: 20px;
}

.gmq-about .columns {
  display: grid;
  grid-template-columns: 1fr 0.5fr 2fr;
  align-items: center;
  width: 100%;
  max-width: 1200px;
}

.gmq-about .logo-column img {
  max-width: 100%;
  height: auto;
  background-color: var(--white-color);
  padding: 0 40px 0 40px;
  border-radius: var(--border-radius-medium);
}

.gmq-about .text-column {
  text-align: left;
}

.gmq-about .empty-column {
  width: 20px;
}

.gmq-about p {
  font-size: var(--h6-font-size);
  color: var(--white-color);
}

@media (max-width: 768px) {
  .gmq-about {
    height: auto;
    padding: 20px;
    flex-direction: column;
  }

  .gmq-about .columns {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .gmq-about .logo-column img {
    margin-top: 25px;
    margin-bottom: 20px;
    padding: 20px;
  }

  .gmq-about .text-column {
    text-align: left;
    margin-bottom: 0px;
  }
}

/* Popup styling */
.popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 5px;
  padding: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  display: none;
}

.popup.show {
  display: block;
}

.careers {
  margin-top: 60px;
  margin-bottom: 100px;
  scroll-margin-top: 100px;
}

@media (max-width: 768px) {
  .careers {
    margin-top: 40px;
    scroll-margin-top: 90px;
  }
  .job-card-container {
    margin-bottom: 0px;
  }
}

/* --- Careers hero (compact, content-rich) --- */
.careers-hero {
  position: relative;
  background-image: url("/images/careers.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 140px 20px 80px;
  text-align: center;
  overflow: hidden;
}

.careers-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
              rgba(0, 0, 0, 0.25) 0%,
              rgba(0, 0, 0, 0.55) 60%,
              rgba(0, 0, 0, 1) 100%);
  z-index: 1;
  pointer-events: none;
}

.careers-hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  color: #ffffff;
}

.careers-eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.8rem;
  font-weight: 700;
  color: #ffe0b4;
  margin-bottom: 1rem;
}

.careers-hero-title {
  color: #ffffff;
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.1;
}

.careers-hero-lead {
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1rem, 1.55vw, 1.2rem);
  line-height: 1.65;
  margin: 0 auto 1.75rem auto;
  max-width: 620px;
  font-weight: 400;
}

.careers-hero-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.careers-meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #ffffff;
  padding: 0.45rem 1rem;
  border-radius: 9999px;
  font-size: 0.9rem;
  font-weight: 500;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.careers-meta-pill i {
  color: #ed1c24;
  font-size: 0.95rem;
}

.careers-hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #ffffff;
  color: #ed1c24;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.85rem 1.85rem;
  border-radius: 9999px;
  border: 2px solid #ffffff;
  text-decoration: none;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.careers-hero-cta:hover,
.careers-hero-cta:focus {
  background: transparent;
  color: #ffffff;
  transform: translateY(-2px);
  outline: none;
}

@media (max-width: 768px) {
  .careers-hero {
    min-height: 85vh;
    padding: 130px 18px 60px;
  }
}

@media (max-width: 480px) {
  .careers-hero {
    min-height: 80vh;
    padding: 120px 16px 50px;
    background-image: url("/images/careers-mobile.png");
  }
  .careers-eyebrow {
    font-size: 0.72rem;
  }
  .careers-hero-cta {
    width: 100%;
    justify-content: center;
  }
}

/* Section header under the hero */
.careers-section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 0.5rem;
}

.careers-section-sub {
  max-width: 560px;
  margin: 0 auto;
  opacity: 0.85;
  font-size: 1rem;
}

.job-card-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.5rem;
  max-width: 76rem;
  margin: 40px auto 10px auto;
  padding: 0 20px;
}

@media (min-width: 992px) {
  .job-card-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }
}

.job-card {
  background-color: #640902;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5),
              0 8px 10px -6px rgba(0, 0, 0, 0.3);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.job-card:hover,
.job-card:focus-visible {
  transform: translateY(-6px);
  box-shadow: 0 20px 35px -10px rgba(0, 0, 0, 0.65),
              0 10px 15px -5px rgba(0, 0, 0, 0.4);
  border-color: rgba(255, 255, 255, 0.35);
  text-decoration: none;
  color: inherit;
  outline: none;
}

.job-card img {
  width: 100%;
  height: 320px;
  margin: 0 auto 1rem auto;
  object-fit: contain;
  border-radius: 0.75rem;
}

.job-card-body {
  display: flex;
  flex-direction: column;
}

@media (max-width: 768px) {
  .job-card {
    margin: 0;
    padding: 1.5rem;
  }
}

.job-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.tag {
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0.3rem 0.85rem;
  border-radius: 9999px;
}

.tag.blue {
  font-weight: 600;
  background-color: #dbeafe;
  color: #1e40af;
}

.tag.green {
  font-weight: 600;
  background-color: #dcfce7;
  color: #166534;
}

.job-description {
  color: #ffe0b4;
  margin-bottom: 0;
  font-size: 1rem;
  line-height: 1.65;
}

.button-container {
  display: flex;
  justify-content: flex-start;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: center;
}

/* Solid white pill, dark red text — always visible */
.apply-button {
  display: inline-block;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.6rem 1.6rem;
  border-radius: 9999px;
  border: 2px solid #ffffff;
  background-color: #ffffff;
  color: #640902;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}

.apply-button:hover,
.apply-button:focus {
  background-color: transparent;
  color: #ffffff;
  border-color: #ffffff;
  transform: scale(1.05);
}

/* Outlined pill used for the "Read More & Apply" CTA on card and "Back to Careers" */
.read-more-button {
  display: inline-block;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.6rem 1.6rem;
  border-radius: 9999px;
  border: 2px solid #ffffff;
  color: #ffffff;
  background-color: transparent;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}

.read-more-button:hover,
.read-more-button:focus {
  background-color: #ffffff;
  color: #640902;
  transform: scale(1.05);
}

.job-card:hover .read-more-button {
  background-color: #ffffff;
  color: #640902;
}

/* --- Job detail pages --- */
.job-detail-section {
  background-color: var(--dark-color);
  /* Top padding clears the floating navbar (which sits above content with z-index) */
  padding: 160px 20px 100px 20px;
}

@media (max-width: 991px) {
  .job-detail-section {
    /* Navbar wraps taller once the toggler is in play */
    padding: 180px 16px 80px 16px;
  }
}

@media (max-width: 600px) {
  .job-detail-section {
    padding: 150px 12px 60px 12px;
  }
}

.job-detail-container {
  max-width: 900px;
  margin: 0 auto;
  background-color: #640902;
  border-radius: 1rem;
  box-shadow: 0 20px 35px -10px rgba(0, 0, 0, 0.6);
  padding: 3rem 2.5rem;
}

@media (max-width: 768px) {
  .job-detail-container {
    padding: 2rem 1.5rem;
    border-radius: 0.75rem;
  }
}

@media (max-width: 480px) {
  .job-detail-container {
    padding: 1.5rem 1.1rem;
  }
}

.job-back-link {
  display: inline-block;
  color: #ffe0b4;
  text-decoration: none;
  font-weight: 600;
  margin-bottom: 1.5rem;
  transition: color 0.2s ease;
}

.job-back-link:hover {
  color: #ffffff;
  text-decoration: underline;
}

.job-detail-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
}

.job-detail-title {
  color: #ffffff;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.15;
  word-wrap: break-word;
}

@media (max-width: 768px) {
  .job-detail-title {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .job-detail-title {
    font-size: 1.6rem;
  }
}

.job-detail-lead {
  color: #ffe0b4;
  font-size: 1.1rem;
  line-height: 1.65;
  margin-top: 1rem;
  margin-bottom: 1.5rem;
}

@media (max-width: 480px) {
  .job-detail-lead {
    font-size: 1rem;
  }
}

.job-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

@media (max-width: 480px) {
  .job-detail-actions .apply-button,
  .job-detail-actions .read-more-button {
    flex: 1 1 100%;
    text-align: center;
  }
}

.job-detail-actions-bottom {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

/* Job detail content body (also used by old expandable block, harmless if absent) */
.job-details {
  color: #ffffff;
}

.job-details p,
.job-details li {
  color: #ffffff;
  line-height: 1.7;
  font-size: 1rem;
}

.job-details ul {
  padding-left: 1.25rem;
  margin-bottom: 1.25rem;
}

.job-details li {
  margin-bottom: 0.4rem;
}

.job-subheading {
  color: #ffffff;
  font-size: 1.4rem;
  font-weight: 700;
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
}

.job-subheading-sm {
  color: #ffe0b4;
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: 1rem;
  margin-bottom: 0.4rem;
  font-style: italic;
}

@media (max-width: 480px) {
  .job-subheading {
    font-size: 1.2rem;
  }
  .job-subheading-sm {
    font-size: 1rem;
  }
  .job-details p,
  .job-details li {
    font-size: 0.95rem;
  }
}

