/*=============== GOOGLE FONTS ===============*/
@import url("https://fonts.googleapis.com/css2?family=Montserrat+Alternates:wght@400;600;700&display=swap");

/*=============== VARIABLES CSS ===============*/
:root {
  --header-height: 3.5rem;
  
  /*========== Colors ==========*/
  /*Color mode HSL(hue, saturation, lightness)*/
  --white-color: hsl(0, 0%, 100%);
  --black-color: hsl(0, 0%, 0%);

  /*========== Font and typography ==========*/
  /*.5rem = 8px | 1rem = 16px ...*/
  --body-font: "Montserrat Alternates", sans-serif;
  --biggest-font-size: 2rem;
  --big-font-size: 1.5rem;
  --h3-font-size: 1rem;
  --normal-font-size: .938rem;

  /*========== Font weight ==========*/
  --font-regular: 400;
  --font-semi-bold: 600;
  --font-bold: 700;

  /*========== z index ==========*/
  --z-tooltip: 10;
  --z-fixed: 100;
}

/*========== Responsive typography ==========*/
@media screen and (min-width: 1150px) {
  :root {
    --biggest-font-size: 4rem;
    --big-font-size: 3rem;
    --h3-font-size: 1.25rem;
    --normal-font-size: 1rem;
  }
}

/*=============== BASE ===============*/
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

body {
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  background-color: var(--black-color);
  color: var(--white-color);
  
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

/*=============== REUSABLE CSS CLASSES ===============*/
.container,
.swiper-container  {
  max-width: 1400px;
  margin-inline: 1.5rem;
}

.main {
  overflow: hidden;
}

/*=============== HEADER & NAV ===============*/
/* Header Base */
/* HEADER BASE */
.header {
  position: fixed !important;
  top: 0;
  left: 0;
  width: 100%;
  background-color: hsla(0, 0%, 100%, 0.08);
  z-index: 1000;
  padding: 0.75rem 1.5rem;
  display: flex;
  justify-content: center;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* NAV CONTAINER */
.nav {
  width: 100%;
  max-width: 1200px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* LOGO */
.nav__logo {
  display: flex;
  align-items: center;
  margin-right: auto;
}

.nav__logo-img {
  height: 40px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
}

/* NAV MENU */
.nav__menu {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav__list {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav__link {
  color: var(--white-color);
  font-weight: var(--font-semi-bold);
  text-decoration: none;
  transition: color 0.3s ease-in-out;
}

.nav__link:hover {
  color: #eaeaea;
  text-decoration: underline;
}

/* TOGGLE & CLOSE BUTTONS */
.nav__toggle,
.nav__close {
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--white-color);
  display: none;
  background: none;
  border: none;
}

/* MOBILE MENU STYLES */
@media (max-width: 768px) {
  .nav__menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.9);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 2rem;
    gap: 2rem;
    transition: right 0.3s ease-in-out;
    z-index: 999;
  }

  .nav__menu.active {
    right: 0;
  }

  .nav__list {
    flex-direction: column;
    gap: 1.5rem;
  }

  .nav__toggle {
    display: block;
  }

  .nav__close {
    display: block;
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
  }

  .nav__logo-img {
    height: 32px;
    max-width: 150px;
  }
}

  /* Responsive Menu for Tablets & Mobiles */
  @media screen and (max-width: 1150px) {
    .nav__menu {
      position: fixed;
      top: 0;
      right: -100%;
      width: 100%;
      height: 100vh;
      background-color: rgba(0, 0, 0, 0.7); /* Dark opaque background */
      backdrop-filter: blur(20px); /* Strong blur */
      -webkit-backdrop-filter: blur(20px);
      display: flex;
      flex-direction: column;
      justify-content: center; /* Center vertically */
      align-items: center;     /* Center horizontally */
      padding: 2rem;
      transition: right 0.4s ease-in-out;
      z-index: var(--z-fixed);
    }
  
    .nav__list {
      flex-direction: column;
      gap: 2.5rem;
      width: 100%;
      align-items: center;
      text-align: center;
    }
  
    .nav__link {
      font-size: 1.5rem;
      color: #fff;
      font-weight: 600;
    }
  
    .nav__close {
      display: block;
      position: absolute;
      top: 1.25rem;
      right: 1.5rem;
      font-size: 2rem;
      color: white;
      cursor: pointer;
    }
  
    .nav__toggle {
      display: block;
    }
  
    .show-menu {
      right: 0;
    }
  }
  
  
/*=============== HOME ===============*/
.home__swiper{
    position: relative;
    z-index: var(--z-tooltip);
}
.home__article{
    position: relative;
    padding-top: 13rem;
    width: 100%;
    height: 100%;
}
.overlay{
    width: 100%;
    height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.5),rgba(0,0,0,0.5));
    position: absolute;
    top: 0;
    pointer-events: none;
    
}
.home__img,
.home__shadow,
.home__content{
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100vh !important;
}

.home__img{
    object-fit: cover;
    object-position: center;
    z-index: -2;    
}
.home__shadow{
    background-color: hsla(0, 0%, 0%, 0.05);
    z-index: -1;
}
.home__data {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 10;
    padding: 0.5rem 1rem;
    color: var(--white-color);
    max-width: 90%;
    width: 100%;
    animation: fadeInText 1.2s ease-in-out both;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.home__subtitle {
    font-size: clamp(0.875rem, 1.5vw, 1.125rem); /* Smaller and more consistent */
    margin-bottom: 0.75rem;
    opacity: 0.85;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 500;
}

.home__title {
    font-size: clamp(1.75rem, 5vw, 3.25rem); /* Smaller max */
    margin-bottom: 2rem;
    font-weight: var(--font-bold);
    line-height: 1.3;
    padding: 0 0.5rem;
}

/*.home__button{
    color: var(--white-color);
    display: inline-flex;
    justify-content: center;
    align-items: center;
    column-gap: .5rem;
    font-weight: var(--font-semi-bold);
    cursor: pointer;
    z-index: var(--z-tooltip);
}
.home__button i{
    font-size: 1.5rem;
    font-weight: initial;
    transition: transform .4s;
}

.home__button:hover i{
    transform: translateX(0.5rem);
    color: #cda274;
} */
.home__social {
  position: absolute; /* or fixed if needed */
  bottom: 1.5rem;
  left: calc(1.5rem * 0.5);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  z-index: 1000;
}

/* Desktop only: shift left by 50% of its current position */
@media (min-width: 1025px) {
  .home__social {
    transform: translateX(-20%);
  }
}



.home__social-link {
    color: var(--white-color);
    font-size: 1.4rem;
    transition: transform 0.3s ease, color 0.3s ease;
}

.home__social-link:hover {
    transform: scale(1.2);
    color: #ffffff; /* Highlight color */
    text-decoration: none;
}



/* Optional fade-in animation */
@keyframes fadeInText {
    from {
        opacity: 0;
        transform: translate(-50%, -60%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

/* Swiper class */
.swiper{
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.swiper-pagination{
    width: initial;
    height: max-content;
    top: 6rem;
    left: initial;
    right: 4rem;
    font-size: var(--normal-font-size);
    font-weight: var(--font-semi-bold);
    display: flex;
    column-gap: 0.25rem;
    align-items: center;
}

.swiper-pagination-total{
    font-size: var(--big-font-size);
}

.swiper-button-prev::after,
.swiper-button-next::after {
    content: '';
}

.swiper-button-prev,
.swiper-button-next {
    font-size: 1rem;
    color: var(--white-color);
    width: initial;
    height: initial;
    position: initial;
    outline: none;
    cursor: pointer;
    transition: color 0.3s;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
    color: #cda274; /* Hover effect */
}

.swiper-navigation {
  position: absolute;
  z-index: var(--z-tooltip);
  bottom: 2rem; /* Reduced for better responsiveness */
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 1rem; /* Reduced spacing for responsiveness */
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  width: auto;
  max-width: 100%;
}

@media (max-width: 480px) {
  .swiper-navigation {
      bottom: 1rem;
      gap: 0.75rem;
  }
}



/*=============== BREAKPOINTS ===============*/
/* For medium devices */
@media screen and (min-width: 768px) {
    .nav__menu{
        width: 50%;
    }
}


/* For large devices */
@media screen and (min-width: 1150px){
    .container{
        margin-inline: auto;
    }
    .nav{
        height: calc(var(--header-height)) + 2rem;
    }
    .nav__toggle,
    .nav__close{
        display: none;
    }
    .nav__menu{
        width: initial;
    }
    .nav__list{
        flex-direction: row;
        column-gap: 4rem;
    }
    .home__data{
        text-align: initial;
    }
    .home__subtitle{
        margin-top: 1rem;
    }
    .home__title{
        margin-bottom: 4.5rem;
    }
    .home__content{
        max-width: 1120px;
        margin-inline: auto;
        left: 0;
        right: 0;
    }
    .home__social{
        left: 0;
    }
    .swiper-pagination{
        top: 10rem;  
    }
    .swiper-pagination-total{
        font-size: 1.5rem;
    }

    /* Swiper class */
    
    .swiper-navigation{
        right: 0;
        column-gap: 1.5rem;
    }
    .swiper-button-prev,
    .swiper-button-next{
        font-size: 2rem;
    }
}

/* For taller devices */
@media screen and (min-width: 800px) and (max-width:800px) {
    .home__article{
        padding-top: 17rem;
    }

    .swiper-pagination{
        top: 13rem;
    }
    
}


/* For 2K resolutions (2048 x 1152) */
@media screen and (min-width: 2048px){
    .container,
    .home__content{
        max-width: 1550px;
    }

    .home__swiper,
    .home__content,
    .home__img,
    .home__shadow{
        min-height: 100vh;

    }
    .swiper, .swiper-slide, .home__img {
        height: 100vh;
      }
}

.button-group {
    display: flex;
    gap: 1rem;
    margin-top: -2.5rem; /* Increased top margin for spacing */
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 0 1rem;
}

.custom-btn {
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 999px;
    background: linear-gradient(to right, #ffffff22, #ffffff08);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    backdrop-filter: blur(19px);
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1);
    text-align: center;
    min-width: 140px;
}

.custom-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: #ffffff50;
  transform: translateY(-2px);
  cursor: pointer;
  color: #fff; /* Add this line */
  text-decoration: none;
}

.custom-btn.secondary {
    background: transparent;
    border: 1px solid #ffffff30;
    color: #fff;
}

.custom-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #ffffff80;
    cursor: pointer;
}

@media screen and (max-width: 480px) {
    .button-group {
        flex-direction: column;
        gap: 1rem; /* Increased gap for mobile */
        margin-top: -2rem; /* Consistent with top margin */
    }

    .custom-btn {
        width: 100%;
        max-width: 300px;
        padding: 0.75rem; /* Adjusted padding for mobile */
    }
}
#hireUsForm.fade-in {
    animation: fadeIn 0.5s ease;
}

/* Animation for fade-in */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@media screen and (max-width: 320px) {
    :root {
      --biggest-font-size: 1.5rem;
      --big-font-size: 1.25rem;
      --h3-font-size: 0.875rem;
      --normal-font-size: 0.813rem;
    }
  
    .nav__logo-img {
      width: 150px;
      height: auto;
    }
  
    .nav__toggle,
    .nav__close {
      font-size: 1.5rem;
    }
  
    .nav__menu {
      padding: 1.5rem;
    }
  
    .nav__link {
      font-size: 1.2rem;
    }
  
    .home__subtitle {
      font-size: 0.75rem;
      letter-spacing: 1px;
    }
  
    .home__title {
      font-size: 1.5rem;
      margin-bottom: 1.5rem;
    }
  
    .home__data {
      padding: 0.25rem 0.5rem;
    }
  
    .button-group {
      gap: 0.75rem;
      padding: 0 0.5rem;
      margin-top: -1.5rem;
    }
  
    .custom-btn {
      font-size: 0.875rem;
      padding: 0.6rem 1.2rem;
      min-width: 120px;
    }
  
    .swiper-pagination {
      right: 1rem;
      top: 5rem;
    }
  
    .swiper-button-prev,
    .swiper-button-next {
      font-size: 1.5rem;
    }
  
    .home__social {
      bottom: 1rem;
      left: 1rem;
      gap: 1rem;
    }
  }