
:root{
    /*-----colors-----*/
    --gold-crayola: rgb(255, 192, 0);
    --quick-silver: hsla(0, 0%, 65%, 1);
    --davys-grey: rgb(0, 0, 0);
    --smoky-black-1: hsla(40, 12%, 5%, 1);
    --smoky-black-2: hsla(30, 8%, 5%, 1);
    --smoky-black-3: hsla(0, 3%, 7%, 1);
    --eerie-black-1: hsla(210, 4%, 9%, 1);
    --eerie-black-2: hsla(210, 4%, 11%, 1);
    --eerie-black-3: hsla(180, 2%, 8%, 1);
    --eerie-black-4: hsla(0, 0%, 13%, 1);
    --white: rgb(0, 0, 0);
    --white-alpha-20: hsla(0, 0%, 100%, 0.2);
    --white-alpha-10: hsla(0, 0%, 100%, 0.1);
    --black: hsla(0, 0%, 0%, 1);
    --black-alpha-80: hsla(0, 0%, 0%, 0.8);
    --black-alpha-15: hsla(0, 0%, 0%, 0.15);

    /*-----Gradiant colors-----*/
    --loading-text-gradient: linear-gradient(90deg, transparent 0% 16.66%, var(--smoky-black-3) 33.33% 50%,  transparent 66.66% 75%);
    --gradient-1: linear-gradient(to top,hsla(0, 0%, 0%, 0.9),hsla(0, 0%, 0%, 0.7),transparent);

    /*-----font-family-----*/
    --fontFamily-forum: 'Arial Black', sans-serif;
    --fontFamily-dm_sans: Arial, sans-serif;

    /*-----font-size-----*/
    --fontSize-display-1: calc(1.3rem + 6.7vw);
    --fontSize-headline-1: calc(2rem + 2.5vw);
    --fontSize-headline-2: calc(1.3rem + 2.4vw);
    --fontSize-title-1: calc(1.6rem + 1.2vw);
    --fontSize-title-2: 2.2rem;
    --fontSize-title-3: 2.1rem;
    --fontSize-title-4: calc(1.6rem + 1.2vw);
    --fontSize-body-1: 2.4rem;
    --fontSize-body-2: 1.6rem;
    --fontSize-body-3: 1.8rem;
    --fontSize-body-4: 1.6rem;
    --fontSize-label-1: 1.4rem;
    --fontSize-label-2: 1.2rem;

    /*-----font-weight-----*/
    --weight-regular: 400;
    --weight-bold: 700;

    /*-----line height-----*/
    --lineHeight-1: 1em;
    --lineHeight-2: 1.2em;
    --lineHeight-3: 1.5em;
    --lineHeight-4: 1.6em;
    --lineHeight-5: 1.85em;
    --lineHeight-6: 1.4em;

    /*-----line-spacing-----*/
    --letterSpacing-1: 0.15em;
    --letterSpacing-2: 0.4em;
    --letterSpacing-3: 0.2em;
    --letterSpacing-4: 0.3em;
    --letterSpacing-5: 3px;

    /*-----spacing------*/
    --section-space: 70px;

    /*-----shadow-----*/
    --shadow-1: 0px 0px 25px 0px hsla(0, 0%, 0%, 0.25);

    /*-----border-radius-----*/
    --radius-24: 24px;
    --radius-circle: 50%;

    /*-----transition-----*/
    --transition-1: 250ms ease;
    --transition-2: 500ms ease;
    --transition-3: 1000ms ease;

    --weight: 285px;
    --height: 336px;
}

/*-----custom property end-----*/

/*-----font-face-----*/
@font-face {
    font-family: 'Arial Black';
    src: url('./assets/fonts/ARIBLK.TTF') format('truetype');
    font-weight: 900;
}

@font-face {
    font-family: 'Arial';
    src: url('./assets/fonts/ARIAL.TTF') format('truetype');
    font-weight: 400;
}
/*-----font-face end-----*/



/*-----------------------------------*\
  #RESET
\*-----------------------------------*/
*,
*::before,
*::after{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
li{
    list-style: none;
}
a,
img,
data,
span,
input,
button,
select,
ion-icon,
textarea{
    display: block;
}
a{
    color: inherit;
    text-decoration: none;
}
img{
    height: auto;
}
input,
button,
select,
textarea{
    background: none;
    border: none;
    font: inherit;
}
input,
select,
textarea{
    width: 100%;
    outline: none;
}
button{
    cursor: pointer;
}
address{
    font-style: normal;
}
html{
    font-size: 10px;
    scroll-behavior: smooth;
}
body{
    background-color: var(--eerie-black-1);
    color: var(--white);
    font-family: var(--fontFamily-dm_sans);
    font-size: var(--fontSize-body-4);
    font-weight: var(--weight-regular);
    line-height: var(--lineHeight-5);
    overflow: hidden;
    height: 300vh;
}
body.loaded{
    overflow: overlay;
}
body.nav-active{
    overflow: hidden;
}
::-webkit-scrollbar{
    width: 5px;
}
::-webkit-scrollbar-trach{
    background-color: transparent;
}
::-webkit-scrollbar-thumb{
    background-color: var(--gold-crayola);
}
/*-----reset end-----*/



/*-----------------------------------*\
  #TYPOGRAPHY
\*-----------------------------------*/
.display-1,
.headline-1,
.headline-2,
.title-1,
.title-2,
.title-3,
.title-4{
  color: var(--white);
  font-family: var(--fontFamily-forum);
  font-weight: var(--weight-regular);
  line-height: var(--lineHeight-2);
}
.outline-text{
  -webkit-text-stroke: 1px var(--white);
  -webkit-text-fill-color: transparent;
  display: inline;
}

.display-1{
  font-size: var(--fontSize-display-1);
  line-height: var(--lineHeight-1);
}
.headline-1{
  font-size: var(--fontSize-headline-1);
}
.headline-2{
  font-size: var(--fontSize-headline-2);
  line-height: var(--lineHeight-6);
}
.title-1{
  font-size: var(--fontSize-title-1);
}
.title-2{
  font-size: var(--fontSize-title-2);
}
.title-3{
  font-size: var(--fontSize-title-3);
}
.title-4{
  font-size: var(--fontSize-title-4);
}
.body-1{
  font-size: var(--fontSize-body-1);
  line-height: var(--lineHeight-6);
}
.body-2{
  font-size: var(--fontSize-body-2);
  line-height: var(--lineHeight-4);
}
.body-3{
  font-size: var(--fontSize-body-3);
}
.body-4{
  font-size: var(--fontSize-body-4);
}
.label-1{
  font-size: var(--fontSize-label-1);
}
.label-1{
  font-size: var(--fontSize-label-2);
}
/*-----typography end-----*/



/*-----------------------------------*\
  #REUSED STYLE
\*-----------------------------------*/
.container{
  padding-inline: 16px;
}
.separator{
  width: 8px;
  height: 8px;
  border: 1px solid var(--gold-crayola);
  transform: rotate(45deg);
}
.contact-label{
  font-weight: var(--weight-bold);
}
.contact-number{
  color: var(--gold-crayola);
  min-width: max-content;
  margin-inline: auto;
}
.hover-underline{
  position: relative;
  max-width: max-content;
}
.hover-underline::after{
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 5px;
  border-block: 1px solid var(--gold-crayola);
  transform: scaleX(0.2);
  opacity: 0;
  transition: var(--transition-2);
}
.hover-underline:is(:hover, :focus-visible)::after{
  transform: scaleX(1);
  opacity: 1;
}
.contact-number::after{
  bottom: -5px;
}
.text-center{
  text-align: center;
}
.img-cover{
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.section-subtitle{
  position: relative;
  color: var(--gold-crayola);
  font-family: var(--fontFamily-forum);
  font-weight: var(--weight-bold);
  text-transform: uppercase;
  letter-spacing: var(--letterSpacing-1);
  margin-block-end: 12px;
}
.section-subtitle::after{
  content: url(./assets/images/separator.svg);
  display: block;
  width: 100px;
  margin-inline:auto ;
  margin-block-start: 5px;
}
.section-subtitle.no-separator::after{
  display: none;
}
.btn{
  position: relative;
  color: var(--gold-crayola);
  font-size: var(--fontSize-label-2);
  font-weight: var(--weight-bold);
  text-transform: uppercase;
  letter-spacing: var(--letterSpacing-5);
  max-width: max-content;
  border: 2px solid var(--gold-crayola);
  padding: 12px 45px;
  overflow: hidden;
  z-index: 1;
}
.btn::before{
  content: "";
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 200%;
  height: 200%;
  border-radius: var(--radius-circle);
  background-color: var(--gold-crayola);
  transition: var(--transition-2);
  z-index: -1;
}
.btn .text{
  transition: var(--transition-1);
}
.btn .text-2{
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: max-content;
  color: var(--smoky-black-1);
}
.btn:is(:hover, :focus-visible)::before{
  bottom: -50%;
}
.btn:is(:hover, :focus-visible) .text-1{
  transform: translateY(-40px);
}
.btn:is(:hover, :focus-visible) .text-2{
  top: 50%;
  transform: translate(-50%, -50%);
}
.btn-secondary{
  background-color: var(--gold-crayola);
  color: var(--black);
}
.btn-secondary::before{
  background-color: var(--smoky-black-1);
}
.btn-secondary .text-2{
  color: var(--white);
}
.has-before,
.has-after{
  position: relative;
  z-index: 1;
}
.has-before::before,
.has-after::after{
  content: "";
  position: absolute;
}
.section{
  position: relative;
  padding-block: var(--section-space);
  overflow: hidden;
  z-index: 1;
}
.bg-black-10{
  background-color: var(--smoky-black-2);
}
.grid-list{
  display: grid;
  gap: 40px;
}

.img-holder{
  aspect-ratio: var(--weight) / var(--height);
  overflow: hidden;
  background-color: var(--eerie-black-4);
}
.btn-text{
  color: var(--gold-crayola);
  padding-block-end: 4px;
  margin-inline: auto;
  text-transform: uppercase;
  letter-spacing: var(--letterSpacing-3);
  font-weight: var(--weight-bold);
  transition: var(--transition-1) ;
}
.btn-text:is(:hover, :focus-visible){
  color: var(--white);
}
.shape{
  display: none;
  position: absolute;
  max-width: max-content;
  z-index: -1;
}
.w-100{
  width: 100%;
}
.move-anim{
  animation: move 5s linear infinite;
}
@keyframes move{
  0%,
  100%{transform: translateY(0);}
  50%{transform: translateY(30px);}
}
.has-bg-image{
  background-repeat: repeat;
  background-size: 50%;
  background-position: 0 0;
  box-shadow: inset 0 0 0 9999px rgba(255, 255, 255, 0);
}
.input-field{
  background-color: var(--eerie-black-2);
  color: var(--white);
  height: 56px;
  padding: 10px 20px;
  border: 1px solid var(--white-alpha-10);
  margin-block-end: 20px;
  outline: none;
  transition: border-color var(--transition-2);
}
.input-field::placeholder{
  color: inherit;
}
.input-field:focus{
  border-color: var(--gold-crayola);
}
.icon-wrapper{
  position: relative;
  margin-block-end: 20px;
}
.icon-wrapper .input-field{
  margin-block-end: 0;
  padding-inline-start: 40px;
  appearance: none;
  cursor: pointer;
}
.icon-wrapper ion-icon{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  --ionicon-stroke-width: 50px;
  pointer-events: none;
}
.icon-wrapper ion-icon:first-child{
  left: 15px;
}
.icon-wrapper ion-icon:last-child{
  right: 10px;
}
/*-----reused style end-----*/







/*-----------------------------------*\
  #PRELOAD
\*-----------------------------------*/
.preload{
  position: fixed;
  inset: 0;
  background-color: var(--black);
  z-index: 9999;
  display: grid;
  place-content: center;
  justify-items: center;
  opacity: 1;
  visibility: visible;
  pointer-events: all;
  transition: opacity 0.45s ease, visibility 0.45s ease, transform 0.45s ease;
}
.preload > *{
  transition: var(--transition-1);
}
.preload.loaded > *{
  opacity: 0;
}
.preload.loaded{
  opacity: 0;
  visibility: hidden;
  transform: translateY(10%);
  pointer-events: none;
  transition-delay: 0.1s;
}
.preload-logo{
  width: 140px;
  height: auto;
  animation: blinkLogo 1.2s linear infinite;
}
.preload-text{
  font-size: clamp(1.8rem, 3vw, 4rem);
  font-weight: var(--weight-bold);
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: var(--white);
  opacity: 0.95;
}
@keyframes blinkLogo{
  0%, 24%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  12%, 36% {
    opacity: 0.15;
    transform: scale(0.96);
  }
}
@keyframes pulseRing{
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
  }
  50% {
    box-shadow: 0 0 0 18px rgba(0, 0, 0, 0.08);
  }
}
/*-----preload end-----*/







/*-----------------------------------*\
  #HEADER
\*-----------------------------------*/
.header .btn{
  display: none;
}
.header{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: white;
  padding-block: 10px;
  z-index: 4;
  border-block-end: 1px solid transparent;
  transition: var(--transition-1);
}
.header.active{
  padding-block: 10px;
  background-color: white;
  border-color: var(--black-alpha-15);
}
.header.hide{
  transform: translateY(-100%);
  transition-delay: 250ms;
}
.header .container{
  padding-inline: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  max-width: 1400px;
  margin-inline: auto;
}
.nav-open-btn{
  padding: 12px;
  padding-inline-end: 0;
}
.nav-open-btn .line{
  width: 30px;
  height: 2px;
  background-color: var(--white);
  margin-block: 4px;
  transform-origin: left;
  animation: menuBtn 400ms ease-in-out alternate infinite;
}
@keyframes menuBtn{
  0%{transform: scaleX(1);}
  100%{transform: scaleX(0.5);}
}
.nav-open-btn .line-2{
  animation-delay: 150ms;
}
.nav-open-btn .line-3{
  animation-delay: 300ms;
}
.header-logo-center{
  display: none;
  align-items: center;
  justify-content: center;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  transition: opacity var(--transition-1), visibility var(--transition-1);
}
.header-logo-center img{
  height: 40px;
  width: auto;
  object-fit: contain;
}
.header:has(.navbar.active) .header-logo-center{
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
@media (max-width: 1199px) {
  .header-logo-center{
    display: flex;
  }
}
.navbar{
  position: fixed;
  background-color: white;
  top: 0;
  left: -360px;
  bottom: 0;
  max-width: 360px;
  width: 100%;
  padding-inline: 30px;
  padding-block-end: 50px;
  overflow-y: auto;
  visibility: hidden;
  z-index: 2;
  transition: var(--transition-2);
}
.navbar.active{
  visibility: visible;
  transform: translateX(360px);
}
.navbar.active .logo{
  display: none;
}
.navbar .close-btn{
  color: var(--black);
  border: 1px solid currentColor;
  padding: 4px;
  border-radius: var(--radius-circle);
  margin-inline-start: auto;
  margin-block: 30px 20px;
}
.navbar .close-btn ion-icon{
  --ionicon-stroke-width: 40px;
}
.navbar .close-btn:is(:hover, :focus-visible){
  color: var(--gold-crayola);
}
.header .logo,
.navbar .logo{
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: max-content;
  margin-block-end: 60px;
  font-size: 1.2rem;
  font-weight: var(--weight-bold);
}
.header .logo{
  margin-block-end: 0;
}
.header .logo img{
  display: block;
  height: 40px;
  width: 40px;
  object-fit: contain;
}
.navbar-home-link{
  display: flex;
  align-items: center;
  margin-right: 30px;
  display: none;
}
.navbar-list{
  border-block-end: 1px solid var(--black-alpha-15);
  margin-block-end: 100px;
}
.navbar-item{
  border-block-start: 1px solid var(--black-alpha-15);
}
.navbar-link{
  position: relative;
  font-size: var(--fontSize-label-2);
  text-transform: uppercase;
  padding-block: 10px;
  max-width: unset;
}
.navbar-link::after{
  display: none;
}
.navbar-link .span{
  transition: var(--transition-1);
}
.navbar-link:is(:hover, :focus-visible, .active) .span{
  color: var(--gold-crayola);
  transform: translateX(20px);
}
.navbar-link .separator{
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%) rotate(45deg);
  opacity: 0;
  transition: var(--transition-1);
}
.navbar-link:is(:hover, :focus-visible, .active) .separator{
  opacity: 1;
}
.navbar-title{
  margin-block-end: 15px;
}
.navbar-text{
  margin-block: 10px;
}
.navbar .body-4{
  color: var(--quick-silver);
}
.sidebar-link{
  transition: var(--transition-1);
}
.navbar .text-center a,
.navbar .text-center .contact-number {
  display: inline-block;
  text-align: center;
}
.sidebar-logo{
  display: block;
  max-width: 80px;
  width: 100%;
  height: auto;
  margin: 0 auto 16px;
}
.contact-icon{
  display: inline-block;
  font-size: 2.8rem;
  line-height: 1;
}
.navbar .text-center a.contact-link {
  display: block;
  margin: 12px auto 0;
  width: max-content;
}
.sidebar-link:is(:hover, :focus-visible){
  color: var(--gold-crayola);
}
.navbar .text-center .separator{
  margin-block: 30px;
  margin-inline: auto;
}
.navbar .contact-label{
  margin-block-end: 10px;
}
.navbar::-webkit-scrollbar-thumb{
  background-color: var(--white-alpha-10);
}
.overlay{
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background-color: var(--black-alpha-80);
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-2);
  z-index: 1;
}
.overlay.active{
  opacity: 1;
  pointer-events: all;
}
/*-----header end-----*/



/*-----------------------------------*\
  #HERO
\*-----------------------------------*/
.hero .slider-btn{
  display: none;
}
.hero{
  position: relative;
  padding-block: 120px;
  min-height: 100vh;
  overflow: hidden;
  z-index: 1;
}
.hero .slider-item{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  display: grid;
  place-content: center;
  padding-block-start: 100px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-3);
  z-index: 1;
}
.hero .slider-item.active{
  opacity: 1;
  visibility: visible;
}
.hero .slider-bg{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform: scale(1.15);
  pointer-events: none;
  user-select: none;
  z-index: -1;
}
.hero .slider-item.active .slider-bg{
  animation: smoothScale 7s linear forwards;
}
@keyframes smoothScale{
  0%{transform: scale(1);}
  100%{transform: scale(1.15);}
}
.hero .section-subtitle::after{
  margin-block: 14px 20px;
}
.hero-text{
  margin-block: 10px 40px;
  font-family: var(--fontFamily-forum);
  font-weight: 700;
  font-size: 1.8rem;
  line-height: 1.8;
  letter-spacing: 0.5px;
  max-width: 800px;
  margin-inline: auto;
}
.hero .btn{
  margin-inline: auto;
}
.hero-btn{
  position: absolute;
  bottom: 10px;
  right: 7px;
  z-index: 2;
  background-color: var(--gold-crayola);
  width: 120px;
  height: 120px;
  padding: 12px;
  transform: scale(0.55);
}
.hero-btn img{
  margin-inline: auto;
  margin-block-end: 6px;
}
.hero-btn .span{
  color: var(--black);
  font-weight: var(--weight-bold);
  text-transform: uppercase;
  letter-spacing: var(--letterSpacing-1);
  line-height: var(--lineHeight-3);
}
.hero-btn::after{
  inset: 0;
  border: 1px solid var(--gold-crayola);
  animation: rotate360 15s linear infinite;
}
.slider-reveal{
  transform: translateY(30px);
  opacity: 0;
}
.hero .slider-item.active .slider-reveal{
  animation: sliderReveal 1s ease forwards;
}
@keyframes sliderReveal{
  0%{
    transform: translateY(30px);
    opacity: 0;
  }
  100%{
    transform: translateY(0);
    opacity: 1;
  }
}
.hero .slider-item.active .section-subtitle{
  animation-delay: 500ms;
}
.hero .slider-item.active .hero-title{
  animation-delay: 1000ms;
}
.hero .slider-item.active .hero-text{
  animation-delay: 1.5s;
}
.hero .slider-item.active .btn{
  animation-delay: 2s;
}
.hero-logo{
  display: none;
  position: absolute;
  top: 90px;
  left: 50%;
  transform: translateX(-50%);
  max-width: 120px;
  height: auto;
  object-fit: contain;
  opacity: 0.2;
  z-index: 2;
}
.scroll-down-indicator{
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 2;
}
.scroll-text{
  color: var(--gold-crayola);
  font-size: 1.2rem;
  font-weight: var(--weight-bold);
  text-transform: uppercase;
  letter-spacing: var(--letterSpacing-1);
}
.scroll-icon{
  color: var(--gold-crayola);
  font-size: 2rem;
  animation: scrollBounce 2s infinite;
}
@keyframes scrollBounce{
  0%, 100%{
    transform: translateY(0);
    opacity: 1;
  }
  50%{
    transform: translateY(10px);
    opacity: 0.6;
  }
}
/*-----hero end-----*/



/*-----------------------------------*\
  #SERVICE
\*-----------------------------------*/
.service .section-title{
  margin-block-end: 16px;
  white-space: nowrap;
}
.service .section-text{
  margin-block-end: 40px;
}


/* Service list layout */
.service-list{
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
}

.service-item{
  display: flex;
  align-items: center;
  gap: 60px;
  padding: 40px;
}

.service-list li:nth-child(even) .service-item {
  flex-direction: row-reverse;
}

.service-image{
  overflow: hidden;
  border-radius: 0;
  flex: 1;
  min-width: 0;
}

.service-content{
  flex: 1;
}

.service-image img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-item:is(:hover, :focus-visible) .service-image img{
  transform: scale(1);
}

.service-content{
  text-align: left;
  position: relative;
}

.service-number{
  font-size: 8rem;
  font-weight: normal;
  color: var(--gold-crayola);
  opacity: 0.3;
  line-height: 1;
  margin-block-end: 20px;
  font-family: var(--fontFamily-forum);
  letter-spacing: var(--letterSpacing-2);
}

.service-title{
  color: var(--white);
  margin-block: 0 20px;
  font-weight: var(--weight-bold);
  font-size: 3.5rem;
}

.service-description{
  color: #000;
  font-size: var(--fontSize-body-3);
  line-height: var(--lineHeight-5);
  margin-block-end: 30px;
}

.service-content .btn-text{
  color: var(--gold-crayola);
}

/*-----service end-----*/


/*-----------------------------------*\
  #PROJECTS SECTION
\*-----------------------------------*/

.projects-section {
  position: relative;
  padding-block: 80px;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 40px;
  max-width: 1400px;
  margin-inline: auto;
  max-width: 100%;
}

@media (min-width: 1200px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.project-card {
  display: flex;
  flex-direction: column;
  background: transparent;
  overflow: hidden;
  transition: all var(--transition-2);
  cursor: pointer;
}

.project-image-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 0.75;
  overflow: hidden;
  border-radius: 24px 24px 0 0;
  background: linear-gradient(135deg, var(--eerie-black-4), var(--smoky-black-2));
  margin-block-end: 0;
}

.project-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-2);
}

.project-card:hover .project-image {
  transform: scale(1.05);
}

.project-box {
  display: flex;
  flex-direction: column;
  gap: 24px;
  border: 1px solid #e0e0e0;
  border-top: none;
  padding: 24px;
  background-color: #f5f5f5;
  border-radius: 0 0 24px 24px;
}

.project-title {
  font-size: 2.4rem;
  font-weight: var(--weight-bold);
  color: #333;
  line-height: var(--lineHeight-3);
  font-family: var(--fontFamily-forum);
  transition: color var(--transition-1);
  text-align: left;
  margin-bottom: -15px;
  margin-top: -.85em;
}

.project-card:hover .project-title {
  color: transparent;
  background-image: linear-gradient(90deg, #FFC000, #FF9900, #FF7400, #FF4D00, #FF0000);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.project-description {
  font-size: 1.4rem;
  color: #666;
  line-height: var(--lineHeight-4);
  text-align: left;
  margin: 0;
  font-family: var(--fontFamily-dm_sans);
  font-weight: var(--weight-regular);
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #f5bb3d;
  font-weight: var(--weight-bold);
  font-size: 1.3rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  width: max-content;
  transition: all var(--transition-1);
  text-decoration: none;
  margin-top: 8px;
  cursor: pointer;
}

.project-card:hover .project-link,
.project-link:hover {
  color: var(--gold-crayola);
  gap: 15px;
}

.project-link .arrow {
  transition: transform var(--transition-1);
}

.project-link:hover .arrow {
  transform: translateX(5px);
}

/* Responsive Design */
@media (max-width: 768px) {
  .projects-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .project-image-wrapper {
    aspect-ratio: 1 / 0.8;
    margin-block-end: 0;
  }

  .project-title {
    font-size: 1.6rem;
  }

  .project-description {
    font-size: 1.3rem;
  }

  .project-link {
    font-size: 1.2rem;
  }

  .project-box {
    padding: 20px;
    gap: 10px;
  }

  .hero-subtitle-mobile {
    font-size: 1.2rem !important;
  }
}

@media (max-width: 480px) {
  .projects-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .project-image-wrapper {
    aspect-ratio: 1 / 0.85;
  }

  .project-title {
    font-size: 1.5rem;
  }

  .project-description {
    font-size: 1.2rem;
  }

  .project-link {
    font-size: 1.1rem;
  }

  .project-box {
    padding: 16px;
    gap: 8px;
  }

  .hero-subtitle-mobile {
    font-size: 1rem !important;
  }

  .logo-number-mini {
    font-size: 10rem;
    opacity: 0.7;
  }

  .service-item .logo-number-mini {
    font-size: 9rem;
  }
}

/*-----projects end-----*/




/*-----------------------------------*\
  #FOOTER
\*-----------------------------------*/
.footer {
  background-color: #1a1a1a;
  padding: 25px 0 15px 0;
  border-top: 1px solid #333;
}

.footer-content {
  margin-block-end: 15px;
}

.footer-brand {
  margin-block-end: 12px;
}

.footer-brand .logo {
  display: inline-block;
  max-width: max-content;
  transition: transform var(--transition-1);
}

.footer-brand .logo:hover {
  transform: scale(1.1);
}

.footer-info {
  margin-block-end: 15px;
}

.footer-info .body-4 {
  color: #aaa;
  line-height: 1.3;
  margin-block: 3px;
  font-size: 2.0rem;
}

.contact-link {
  color: #aaa;
  text-decoration: none;
  transition: color var(--transition-1);
  display: block;
  margin-block: 2px;
  font-size: 2.0rem;
}

.contact-link:hover {
  color: var(--gold-crayola);
}

.footer-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-link {
  color: #aaa;
  text-decoration: none;
  font-size: 1.8rem;
  font-weight: var(--weight-regular);
  transition: color var(--transition-1);
  letter-spacing: 0.5px;
}

.footer-link:hover {
  color: var(--gold-crayola);
}

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid #333;
}

.copyright {
  color: #777;
  font-size: 1.7rem;
  margin: 0;
  line-height: var(--lineHeight-3);
}

/*-----footer end-----*/



/*-----------------------------------*\
  #BACK TO TOP
\*-----------------------------------*/
.back-top-btn{
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: var(--gold-crayola);
  color: var(--smoky-black-1);
  font-size: 22px;
  width: 50px;
  height: 50px;
  border-radius: var(--radius-circle);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-1);
  transition: var(--transition-1);
  opacity: 0;
  visibility: hidden;
  z-index: 4;
}
.back-top-btn:is(:hover, :focus-visible){
  background-color: var(--white);
  color: var(--gold-crayola);
}
.back-top-btn.active{
  opacity: 1;
  visibility: visible;
}
/*-----back to top end-----*/





/*-----------------------------------*\
  #MEDIA QUERIES
\*-----------------------------------*/

/*media for mobile and tablet screens*/
@media (max-width: 768px){
  /*hero mobile adjustments*/
  .hero-logo{
    display: block;
    top: 120px;
    max-width: 80px;
  }
  
  .hero .slider-item{
    padding-inline: 16px;
  }
  
  .hero-title{
    font-size: calc(2rem + 6vw);
  }
  
  .hero .slider-item:first-child .hero-title{
    font-size: calc(5rem + 7vw);
  }
  
  .hero-text{
    margin-block: 15px 30px;
    padding-inline: 8px;
    font-size: 1.3rem;
    line-height: 1.6;
  }
  
  .hero .section-subtitle{
    font-size: 1rem;
    margin-block-end: 8px;
  }
  
  .scroll-down-indicator{
    display: none;
  }
  }

/*media for 575px screen*/
@media (min-width: 575px){
  /*custom property*/
  :root{
    --fontSize-body-2: 2rem;
  }
  :is(.service) .section-text{
    max-width: 420px;
    margin-inline: auto;
  }
  .contact-number{
    --fontSize-body-1: 3rem;
  }
  /*header*/
  .header{
    top: 0;
  }
  .header.active{
    top: 0;
  }
  .header .btn{
    display: block;
    margin-inline-start: auto;
  }
  /*hero*/
  .hero-btn{
    transform: scale(0.7);
  }
  /*service*/
  .service .container{
    max-width: 420px;
    margin-inline: auto;
  }

  /*footer*/
  .footer-brand > * {
    max-width: 460px;
    margin-inline: auto;
  }
  .footer .input-wrapper{
    position: relative;
  }
  .footer .input-field{
    margin-block-end: 0;
    padding-inline-end: 205px;
  }
  .footer-brand .btn{
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    min-width: max-content;
  }
}


@media (max-width: 768px){
  
  
  /* Service responsive */
  .service-item{
    flex-direction: row;
    gap: 20px;
    padding: 15px 10px;
    align-items: stretch;
  }
  
  .service-list li:nth-child(even) .service-item {
    flex-direction: row-reverse;
  }
  
  .service-image{
    flex: 0 0 40%;
    min-height: 250px;
    max-height: 100%;
  }
  
  .service-image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .service-list li:nth-child(odd) .service-image img {
    object-position: right;
  }

  .service-list li:nth-child(even) .service-image img {
    object-position: left;
  }
  
  .service-content{
    text-align: left;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  
  .service-number{
    font-size: 3rem;
  }
  
  .service-title{
    font-size: 2rem;
  }
  
  .service-description{
    font-size: 1.4rem;
    line-height: 1.4;
  }
}


/*media for 768px screen*/
@media (min-width: 768px){

  /*reused style*/
  .grid-list{
    grid-template-columns: 1fr 1fr;
  }
  .service .grid-list{
    grid-template-columns: repeat(2, 1fr);
  }
  :is(.service) .container{
    max-width: 820px;
  }
  .service .grid-list li:last-child{
    grid-column: auto;
    width: 100%;
  }
  /*header*/
  .navbar-list{
    margin-inline: 30px;
  }
  /*hero*/
  .hero .slider-btn{
    display: grid;
    position: absolute;
    z-index: 1;
    color: var(--gold-crayola);
    font-size: 2.4rem;
    border: 1px solid var(--gold-crayola);
    width: 45px;
    height: 45px;
    place-items: center;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    transition: var(--transition-1);
  }
  .hero .slider-btn ion-icon{
    transform: rotate(-45deg);
  }
  .hero .slider-btn.prev{
    left: 30px;
  }
  .hero .slider-btn.next{
    right: 30px;
  }
  .hero .slider-btn:is(:hover, :focus-visible){
    background-color: var(--gold-crayola);
    color: var(--black);
  }

  /*footer*/
  .footer-brand{
    grid-column: 1/3;
  }
}


/*media for 992px screen*/
@media (min-width: 992px){
  :root{
    --section-space: 100px; 
  }
  /*reused style*/
  .service .container{
    max-width: unset;
  }
  .service .grid-list{
    grid-template-columns: repeat(4, 1fr);
  }
  .service .grid-list li:last-child{
    grid-column: auto;
    width: 100%;
  }
  
  /* New service list styling */
  .service-item{
    gap: 60px;
    padding: 25px;
  }
  
  .service-number{
    font-size: 7rem;
  }
  
   /*service*/
   .service .shape{
    display: block;
   }
   .service .shape-1{
    bottom: 0;
    left: 0;
   }
   .service .shape-2{
    top: 0;
    right: 0;
   }
 
  /*footer*/
  .footer .grid-list{
    grid-template-columns: 0.45fr 1fr 0.45fr;
    align-items: center;
  }
  .footer-brand{
    grid-column: auto;
    order: 1;
    padding-block: 100px;
  }
  .footer-list:last-child{
    order: 2;
  }
}

/*-----------------------------------*\
  #PRODUCTION LOGO SECTION
\*-----------------------------------*/
.production-logo-section {
  padding: 80px 20px;
  background-color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
}

.production-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.logo-text-group {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.logo-subtitle {
  font-size: 2rem;
  font-weight: var(--weight-regular);
  letter-spacing: var(--letterSpacing-2);
  color: var(--gold-crayola);
  -webkit-text-stroke: 1.5px var(--gold-crayola);
  -webkit-text-fill-color: transparent;
  margin: 0;
  line-height: 1;
}

.logo-title {
  font-size: 4rem;
  font-weight: var(--weight-bold);
  letter-spacing: var(--letterSpacing-2);
  color: var(--black);
  margin: 0;
  line-height: 1;
}

.logo-number {
  font-size: 15rem;
  font-weight: normal;
  letter-spacing: var(--letterSpacing-1);
  -webkit-text-stroke: 2.5px var(--gold-crayola);
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin: 0;
  color: var(--gold-crayola);
}

/* Mini production logo for service items */
.production-logo-mini {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  margin-bottom: 20px;
  min-height: 100px;
}

.logo-text-group-mini {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  z-index: 2;
}

.logo-subtitle-mini {
  font-size: 0.9rem;
  font-weight: var(--weight-regular);
  letter-spacing: var(--letterSpacing-2);
  color: var(--gold-crayola);
  -webkit-text-stroke: 0.8px var(--gold-crayola);
  -webkit-text-fill-color: transparent;
  margin: 0;
  line-height: 1;
  text-align: left;
}

.logo-number-mini {
  position: absolute;
  right: -30px;
  top: 6%;
  transform: translateY(-50%);
  font-size: 24rem;
  font-family: 'Arial Black', sans-serif;
  font-weight: 900;
  letter-spacing: var(--letterSpacing-0.8);
  -webkit-text-stroke: 2px rgb(255, 200, 0);
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin: 0;
  color: transparent;
  z-index: 1;
}

.service-item .logo-number-mini {
  top: 20%;
}

@media (max-width: 768px) {
  .production-logo {
    gap: 20px;
    flex-direction: column;
    text-align: center;
  }

  .logo-subtitle {
    font-size: 1.5rem;
  }

  .logo-title {
    font-size: 2.5rem;
  }

  .logo-number {
    font-size: 8rem;
  }

  .production-logo-mini {
    justify-content: center;
    position: relative;
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
  }

  .logo-number-mini {
    font-size: 14rem;
    top: 10%;
    right: -10px;
    opacity: 0.4;
  }

  .service-item .logo-number-mini {
    font-size: 12rem;
    top: 35%;
  }


}


/*media for 1200px screen*/
@media (min-width: 1200px){
  :root{
    --fostSize-title-2: 2.5rem;
  }
  .container,
  :is(.service, .event) .container{
    max-width: 1200px;
    width: 100%;
    margin-inline: auto;
  }
  /*header*/
  .nav-open-btn,
  .navbar > *:not(.navbar-list),
  .header .overlay{
    display: none;
  }
  .header .container{
    max-width: 1200px;
    width: 100%;
    margin-inline: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-inline: 20px;
  }
  .navbar,
  .navbar.active,
  .navbar-list{
    all: unset;
  }
  .navbar,
  .navbar.active{
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }
  .navbar .logo{
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: rem;
    font-weight: var(--weight-bold);
  }
  .navbar-list{
    display: flex;
    gap: 20px;
  }
}

/*-----------------------------------*\
  #PROJECTS MODAL
\*-----------------------------------*/

.projects-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
}

.projects-modal.active {
  display: flex;
}

.projects-modal .modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  cursor: pointer;
}

.projects-modal .modal-content {
  position: relative;
  background: #ffffff;
  border: none;
  border-radius: 24px;
  max-width: 1400px;
  width: min(1200px, calc(100% - 40px));
  min-height: auto;
  max-height: 96vh;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-direction: column;
  flex-direction: column;
  z-index: 1001;
  -webkit-animation: slideInUp 0.4s ease-out;
  animation: slideInUp 0.4s ease-out;
  -webkit-box-shadow: 0 40px 80px rgba(0, 0, 0, 0.4);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.4);
  overflow: hidden;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

@keyframes slideInUp {
  from {
    opacity: 0;
    -webkit-transform: translateY(50px);
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
}

@-webkit-keyframes slideInUp {
  from {
    opacity: 0;
    -webkit-transform: translateY(50px);
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
}

.projects-modal .modal-header-top {
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
  -webkit-justify-content: space-between;
  justify-content: space-between;
  padding: 20px 20px;
  gap: 15px;
}

.projects-modal .modal-close {
  display: none;
  border: none;
  font-size: 28px;
  color: #666;
  cursor: pointer;
  -webkit-transition: all var(--transition-1);
  transition: all var(--transition-1);
  width: 40px;
  height: 40px;
  -webkit-align-items: center;
  align-items: center;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-flex-shrink: 0;
  flex-shrink: 0;
  background: none;
  border-radius: 50%;
  padding: 0;
  -webkit-appearance: none;
  appearance: none;
  -webkit-user-select: none;
  user-select: none;
}

.projects-modal .modal-close:hover {
  color: #333;
  -webkit-transform: scale(1.15);
  transform: scale(1.15);
}

.projects-modal .modal-title {
  font-family: 'Arial Black', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: #333;
  margin: 0;
  text-align: center;
  -webkit-flex: 1;
  flex: 1;
  text-transform: uppercase;
  letter-spacing: 1px;
  -webkit-user-select: none;
  user-select: none;
}

.projects-modal .modal-prev-top,
.projects-modal .modal-next-top {
  background: none;
  border: none;
  color: #999;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all var(--transition-1);
  flex-shrink: 0;
  padding: 8px 14px;
  border-radius: 4px;
}

.projects-modal .modal-prev-top:hover,
.projects-modal .modal-next-top:hover {
  color: var(--gold-crayola);
  background: rgba(255, 192, 0, 0.1);
}

.projects-modal .modal-body {
  -webkit-flex: 1;
  flex: 1;
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
  -webkit-justify-content: center;
  justify-content: center;
  padding: 30px;
  position: relative;
  overflow: hidden;
  min-height: 0;
  max-height: calc(96vh - 220px);
  background: #f8f8f8;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.projects-modal .modal-image-container {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
  -webkit-justify-content: center;
  justify-content: center;
  position: relative;
  background: #F8F8F8;
  border-radius: 8px;
  overflow: hidden;
  min-height: 0;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  user-select: none;
}

.projects-modal .modal-image {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  -webkit-object-fit: contain;
  object-fit: contain;
  object-position: center center;
  opacity: 1;
  -webkit-transition: opacity 0.3s ease-in-out;
  transition: opacity 0.3s ease-in-out;
}

.projects-modal .modal-image.hidden {
  opacity: 0 !important;
  visibility: hidden !important;
}

@supports (-webkit-touch-callout: none) {
  .projects-modal .modal-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
  }
}

.projects-modal .modal-image.fade-in {
  -webkit-animation: fadeIn 0.6s ease-in-out forwards;
  animation: fadeIn 0.6s ease-in-out forwards;
  opacity: 1;
}

.projects-modal .modal-image.fade-out {
  -webkit-animation: fadeOut 0.3s ease-in-out forwards;
  animation: fadeOut 0.3s ease-in-out forwards;
  opacity: 0;
}

.projects-modal .modal-loading {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
  -webkit-justify-content: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.75);
  opacity: 0;
  pointer-events: none;
  -webkit-transition: opacity 0.3s ease-in-out;
  transition: opacity 0.3s ease-in-out;
  z-index: 10;
}

.projects-modal .modal-loading.show {
  opacity: 1;
  pointer-events: auto;
}

.projects-modal .modal-loading::before {
  display: none;
}

.modal-loading .loading-logo {
  position: relative;
  z-index: 1;
  width: 72px;
  height: 72px;
  -webkit-object-fit: contain;
  object-fit: contain;
  opacity: 1;
  animation: modal-logo-blink 1.2s ease-in-out infinite;
}

@keyframes modal-logo-blink {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.25;
  }
}

@keyframes fadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

@-webkit-keyframes fadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

@keyframes fadeInOut {
  0%, 100% {
    opacity: 0.5;
  }
  25% {
    opacity: 1;
  }
  75% {
    opacity: 1;
  }
}

@-webkit-keyframes fadeInOut {
  0%, 100% {
    opacity: 0.5;
  }
  25% {
    opacity: 1;
  }
  75% {
    opacity: 1;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@-webkit-keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.projects-modal .modal-footer {
  padding: 20px;
  padding-bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  display: -webkit-flex;
  display: flex;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-align-items: center;
  align-items: center;
  border-top: 1px solid #f0f0f0;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.projects-modal .modal-dots {
  display: -webkit-flex;
  display: flex;
  gap: 10px;
  -webkit-align-items: center;
  align-items: center;
  -webkit-justify-content: center;
  justify-content: center;
}

.projects-modal .modal-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d0d0d0;
  cursor: pointer;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.projects-modal .modal-dot.active {
  background: var(--gold-crayola);
  width: 12px;
  height: 12px;
}

.projects-modal .modal-dot:hover {
  background: #b0b0b0;
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
}

.projects-modal .modal-nav-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  -webkit-transform: none;
  transform: none;
}

.projects-modal .modal-nav-btn ion-icon {
  font-size: 1.4rem;
}

@media (max-width: 1100px) {
  .projects-modal .modal-content {
    width: min(100%, calc(100vw - 40px));
    max-width: 1000px;
    max-height: calc(100vh - 40px);
  }

  .projects-modal .modal-body {
    padding: 24px;
    min-height: auto;
    max-height: calc(100vh - 220px);
  }
}

@media (max-width: 768px) {
  .projects-modal {
    padding: 12px;
  }

  .projects-modal .modal-content {
    width: min(100%, calc(100vw - 24px));
    max-width: 750px;
    border-radius: 18px;
    max-height: calc(100vh - 24px);
  }

  .projects-modal .modal-header-top,
  .projects-modal .modal-footer {
    padding: 16px;
  }

  .projects-modal .modal-body {
    padding: 16px;
    min-height: auto;
    max-height: calc(100vh - 170px);
  }

  .projects-modal .modal-title {
    font-size: 1.6rem;
  }
}

.projects-modal .modal-nav-btn.prev {
  justify-content: flex-start;
}

.projects-modal .modal-nav-btn.next {
  justify-content: flex-end;
  margin-left: auto;
}

/* Fullscreen mode for mobile */
.projects-modal.fullscreen {
  padding-bottom: env(safe-area-inset-bottom, 16px);
}

.projects-modal.fullscreen .modal-content {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: calc(100vh - env(safe-area-inset-bottom, 0px));
  max-width: 100vw;
  max-height: calc(100vh - env(safe-area-inset-bottom, 0px));
  border-radius: 0;
  display: flex;
  flex-direction: column;
  z-index: 1001;
  overflow: hidden;
}

.projects-modal.fullscreen .modal-close {
  display: flex !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  z-index: 1003;
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.95) !important;
  font-size: 32px;
  color: #000;
  position: relative !important;
  top: auto !important;
  right: auto !important;
  margin: 10px auto 0 auto;
  border-radius: 50%;
}

.projects-modal.fullscreen .modal-close:hover {
  background: rgba(255, 255, 255, 1) !important;
  transform: scale(1.1);
}

.projects-modal.fullscreen .modal-header-top {
  padding: 12px 12px 10px;
  background: rgba(0, 0, 0, 0.9);
  color: white;
  z-index: 1002;
  position: relative;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
}

.projects-modal.fullscreen .modal-title {
  font-family: 'Arial Black', sans-serif;
  color: white;
  font-size: 1.2rem;
  width: 100%;
  order: -1;
}

.projects-modal.fullscreen .modal-prev-top,
.projects-modal.fullscreen .modal-next-top {
  color: #ccc;
  font-size: 0.9rem;
  display: none;
}

.projects-modal.fullscreen .modal-prev-top:hover,
.projects-modal.fullscreen .modal-next-top:hover {
  color: var(--gold-crayola);
}

.projects-modal.fullscreen .modal-body {
  padding: 12px 0 0;
  background: #000;
  min-height: 0;
  max-height: calc(100vh - 100px - env(safe-area-inset-bottom, 16px));
  flex: 1;
  overflow-y: auto;
  position: relative;
  order: 1;
  align-items: flex-start;
  justify-content: center;
}

.projects-modal.fullscreen .modal-image-container {
  border-radius: 0;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  cursor: -webkit-grab;
  cursor: grab;
  -webkit-user-select: none;
  user-select: none;
}

.projects-modal.fullscreen .modal-image-container:active {
  cursor: -webkit-grabbing;
  cursor: grabbing;
}

.projects-modal.fullscreen .modal-image {
  object-fit: contain;
  cursor: pointer;
}

.projects-modal.fullscreen .modal-footer {
  background: rgba(0, 0, 0, 0.9);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 10px calc(12px + env(safe-area-inset-left, 16px));
  padding-bottom: calc(10px + env(safe-area-inset-bottom, 16px));
  z-index: 1002;
  position: relative;
  order: 2;
}

.projects-modal.fullscreen .modal-dots {
  gap: 8px;
}

.projects-modal.fullscreen .modal-dot {
  width: 8px;
  height: 8px;
}

.projects-modal.fullscreen .modal-dot.active {
  width: 10px;
  height: 10px;
}

/* Responsive Design for Modal */
@media (max-width: 768px) {
  .projects-modal .modal-content {
    width: min(100%, 750px);
    max-width: 750px;
    max-height: calc(100vh - 24px);
    overflow: hidden;
  }

  .projects-modal .modal-header-top {
    padding: 12px 15px;
    gap: 10px;
  }

  .projects-modal .modal-title {
    font-family: 'Arial Black', sans-serif;
    font-size: 1.4rem;
    letter-spacing: 1px;
  }

  .projects-modal .modal-body {
    padding: 15px;
    min-height: 0;
    max-height: calc(95vh - 130px);
    overflow-y: auto;
    align-items: stretch;
  }

  .projects-modal .modal-image-container {
    aspect-ratio: 1920 / 1080;
  }

  .projects-modal .modal-footer {
    padding: 20px;
  }

  .projects-modal .modal-dots {
    gap: 8px;
  }

  .projects-modal .modal-dot {
    width: 8px;
    height: 8px;
  }

  .projects-modal .modal-dot.active {
    width: 10px;
    height: 10px;
  }
}

@media (max-width: 480px) {
  .projects-modal .modal-content {
    width: min(94vw, 450px);
    max-width: 450px;
    max-height: calc(100vh - 24px);
    overflow: hidden;
  }

  .projects-modal .modal-header-top {
    padding: 10px 12px;
    gap: 8px;
  }

  .projects-modal .modal-close {
    font-size: 24px;
    width: 35px;
    height: 35px;
  }

  .projects-modal .modal-title {
    font-family: 'Arial Black', sans-serif;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
  }

  .projects-modal .modal-body {
    min-height: 0;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    padding: 12px;
  }

  .projects-modal .modal-image-container {
    width: 100%;
    max-height: 100%;
    aspect-ratio: 1920 / 1080;
  }

  .projects-modal .modal-footer {
    padding: 15px;
  }

  .projects-modal .modal-dots {
    gap: 6px;
  }

  .projects-modal .modal-dot {
    width: 7px;
    height: 7px;
  }

  .projects-modal .modal-dot.active {
    width: 9px;
    height: 9px;
  }

  .projects-modal .modal-next-top {
    font-size: 0.85rem;
    padding: 6px 10px;
  }
}


/* 125-150% Zoom / High DPI devices */
@media (max-width: 1600px) {
  .projects-modal .modal-content {
    max-width: 750px;
    width: min(100%, 750px);
    max-height: 90vh;
  }

  .projects-modal .modal-header-top {
    padding: 20px 20px;
    gap: 10px;
  }

  .projects-modal .modal-title {
    font-family: 'Arial Black', sans-serif;
    font-size: 1.4rem;
    letter-spacing: 1px;
  }

  .projects-modal .modal-body {
    padding: 10px;

  }

  .projects-modal .modal-image-container {
    aspect-ratio: 1920 / 1080;
  }

  .projects-modal .modal-footer {
    padding: 20px;
  }

  .projects-modal .modal-dots {
    gap: 8px;
  }

  .projects-modal .modal-dot {
    width: 8px;
    height: 8px;
  }

  .projects-modal .modal-dot.active {
    width: 10px;
    height: 10px;
  }
}

/*-----projects modal end-----*/

/* Desktop/Apple device optimizations */
@media (min-width: 1024px) {
  .projects-modal .modal-content {
    max-height: 95vh;
    width: 1200px;
    max-width: 1300px;
  }

  .projects-modal .modal-body {
    min-height: 450px;
    max-height: calc(95vh - 160px);
    padding: 40px;
  }

  .projects-modal .modal-image-container {
    width: 100%;
    height: 100%;
    max-height: calc(103vh - 200px);
  }

  .projects-modal .modal-image {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
  }
}

@media (min-width: 769px) {
  .projects-modal .modal-prev-top,
  .projects-modal .modal-next-top {
    font-size: 1.10em;
  }
}

@media (min-width: 1200px) {
.navbar-item{
    border-block-start: none;
  }
  .navbar-item:first-child{
    display: none;
  }
  .navbar .separator{
    display: none;
  }
  .navbar-link:is(:hover, :focus-visible, .active) .span{
    transform: unset;
  }
  .navbar-link{
    font-weight: var(--weight-bold);
    letter-spacing: var(--letterSpacing-1);
  }
  .navbar-link::after{
    display: block;
  }
  .navbar-link.active::after{
    transform: scaleX(1);
    opacity: 1;
  }
  .header .btn{
    margin-inline-start: 0;
  }
  /*hero*/
  .hero{
    height: 880px;
  }
  .hero-btn{
    bottom: 50px;
    right: 50px;
    transform: scale(1);
  }
  /*service*/
  .service .grid-list{
    gap: 150px;
  }
  .service .grid-list li:nth-child(4n+1),
  .service .grid-list li:nth-child(4n+3){
    transform: translateY(-160px);
  }
  .service .section-text{
    margin-block-end: 75px;
  }
  
  .service-item{
    gap: 80px;
    padding: 30px;
  }
  
  .service-number{
    font-size: 10rem;
    margin-block-end: 30px;
  }
  
  .service-list{
    gap: 100px;
  }

}


/*media for 1400px screen*/
@media (min-width: 1400px){
  /*header*/
  .navbar{
    margin-inline: auto;
  }

}




/*-----------------------------------*\
  #PARTNERS CAROUSEL RIGHT TO LEFT
\*-----------------------------------*/

.carousel {
  margin: 30px auto;
  width: 90%;
  display: flex;
  gap: .5em;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%);
  -webkit-mask-size: 100% 100%;
  -webkit-mask-position: 0 0;
  isolation: isolate;
  will-change: transform;
}

.group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  animation: spin 20s infinite linear;
  flex-wrap: nowrap;
  flex-shrink: 0;
}

.card {
  flex: 0 0 180px;
  min-width: 180px;
  height: 180px;
  padding: 1em;
  background: linear-gradient(135deg, rgba(255, 192, 0, 0.05), rgba(0, 0, 0, 0.3));
  border: 2px solid rgba(255, 192, 0, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  backdrop-filter: blur(10px);
  overflow: hidden;
  flex-shrink: 0;
}

.partner-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  max-width: 150px;
  max-height: 130px;
  filter: grayscale(100%) brightness(1.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Desktop hover effects only - excluded from touch devices */
@media (hover: hover) and (pointer: fine) {
  .carousel:hover .group {
    animation-play-state: paused;
  }

  .card:hover .partner-logo {
    filter: grayscale(0%) brightness(1.3);
    transform: scale(1.15);
  }
}

.card.center-card .partner-logo {
  filter: grayscale(0%) brightness(1.3);
  transform: scale(1.05);
}

@keyframes spin {
  from {
    translate: 0;
  }
  to {
    translate: -100%;
  }
}

@media (max-width: 768px) {
  .card {
    flex: 0 0 120px;
    height: 120px;
    padding: 0.75em;
  }

  .partner-logo {
    max-width: 100px;
    max-height: 100px;
  }

  .group {
    animation: spin 30s infinite linear;
  }
}

@media (max-width: 480px) {
  .card {
    flex: 0 0 110px;
    height: 110px;
    padding: 0.5em;
  }

  .partner-logo {
    max-width: 85px;
    max-height: 85px;
  }

  .group {
    animation: spin 40s infinite linear;
  }
}

/*-----------------------------------*\
  #PARTNERS CAROUSEL END
\*-----------------------------------*/


/*-----------------------------------*\
  #SCROLL ANIMATIONS
\*-----------------------------------*/

/* Fade In Animation - reused in lightbox */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Slide In From Left */
@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-100px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Slide In From Right */
@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(100px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Slide In From Bottom */
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(80px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Scale Up Animation */
@keyframes scaleUp {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Stagger animation for lists */
@keyframes staggerFadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Scroll Animation Classes */
.scroll-animate {
  opacity: 0;
  will-change: opacity, transform;
  transition: all 0.3s ease-out;
}

.scroll-animate.fade-in.animated {
  animation: fadeIn 1s ease-out forwards;
}

.scroll-animate.slide-left.animated {
  animation: slideInLeft 1s ease-out forwards;
}

.scroll-animate.slide-right.animated {
  animation: slideInRight 1s ease-out forwards;
}

.scroll-animate.slide-up.animated {
  animation: slideInUp 1s ease-out forwards;
}

.scroll-animate.scale-up.animated {
  animation: scaleUp 1s ease-out forwards;
}

.scroll-animate.stagger.animated {
  animation: staggerFadeIn 0.8s ease-out forwards;
}

/* Service items with stagger effect */
.service-item.scroll-animate {
  animation-duration: 0.9s;
  animation-fill-mode: forwards;
}

.service-item.scroll-animate:nth-child(1).animated {
  animation: slideInUp 0.9s ease-out forwards;
}

.service-item.scroll-animate:nth-child(2).animated {
  animation: slideInUp 0.9s ease-out 0.1s forwards;
}

.service-item.scroll-animate:nth-child(3).animated {
  animation: slideInUp 0.9s ease-out 0.2s forwards;
}

.service-item.scroll-animate:nth-child(4).animated {
  animation: slideInUp 0.9s ease-out 0.3s forwards;
}

/* Project cards with stagger */
.project-card.scroll-animate {
  animation-duration: 0.8s;
  animation-fill-mode: forwards;
}

.project-card.scroll-animate:nth-child(1).animated {
  animation: scaleUp 0.8s ease-out forwards;
}

.project-card.scroll-animate:nth-child(2).animated {
  animation: scaleUp 0.8s ease-out 0.1s forwards;
}

.project-card.scroll-animate:nth-child(3).animated {
  animation: scaleUp 0.8s ease-out 0.2s forwards;
}

.project-card.scroll-animate:nth-child(4).animated {
  animation: scaleUp 0.8s ease-out 0.3s forwards;
}

/* Service images slide from left */
.service-image.scroll-animate.animated {
  animation: slideInLeft 1s ease-out forwards;
}

/* Buttons slide up */
.btn.scroll-animate.animated {
  animation: slideInUp 1s ease-out forwards;
}

/*-----scroll animations end-----*/
