/*-----------------------------------*\
  #index.css
\*-----------------------------------*/

/**
 * copyright 2022 codewithsadee
 */





/*-----------------------------------*\
  #CUSTOM PROPERTY
\*-----------------------------------*/

:root {

  /**
   * COLORS
   */

  --gold-crayola: hsl(38, 61%, 73%);
  --quick-silver: hsla(0, 0%, 65%, 1);
  --davys-grey: hsla(30, 3%, 34%, 1);
  --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: hsla(0, 0%, 100%, 1);
  --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);
  --neon-red: hsla(0, 100%, 50%, 1); /* Neon Red */
  --neon-blue: hsla(240, 100%, 50%, 1); /* Neon Blue */
  --neon-violet: hsla(270, 100%, 50%, 1); /* Neon Violet */
  --neon-green: hsla(120, 100%, 50%, 1); /* Neon Green */
  --neon-rose: hsla(330, 100%, 50%, 1); /* Neon Rose */
  --neon-cream: hsla(60, 100%, 75%, 1); /* Neon Cream */
  --neon-radium: hsla(150, 100%, 50%, 1); /* Neon Radium */
  --neon-orange: hsla(30, 100%, 50%, 1); /* Neon Orange */
  --neon-yellow: hsla(60, 100%, 50%, 1); /* Neon Yellow */
  --neon-purple: hsla(300, 100%, 50%, 1); /* Neon Purple */


  /**
   * GRADIENT COLOR
   */
   --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);
  
  /**
   * TYPOGRAPHY
   */

  /* font-family */
  --fontFamily-forum: 'Forum', cursive;
  --fontFamily-dm_sans: 'DM Sans', sans-serif;

  /* Font sizes */
  --fontSize-display-1: calc(1.0rem + 2vw); /* Adjusted for readability on smaller screens */
  --fontSize-headline-1: calc(2rem + 1.5vw);
  --fontSize-headline-2: calc(1.3rem + 1.2vw);
  --fontSize-title-1: 2rem;
  --fontSize-title-2: 1.8rem;
  --fontSize-title-3: 1.6rem;
  --fontSize-title-4: 1.4rem;
  --fontSize-body-1: 1.6rem;
  --fontSize-body-2: 1.4rem;
  --fontSize-body-3: 1.2rem;
  --fontSize-body-4: 1rem;
  --fontSize-label-1: 1rem;
  --fontSize-label-2: 0.8rem;


  /* 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;

  /* letter-spacing */
  --letterSpacing-1: 0.15em;
  --letterSpacing-2: 0.4em;
  --letterSpacing-3: 0.2em;
  --letterSpacing-4: 0.3em;
  --letterSpacing-5: 3px;

  /**
   * SPACING
   */

  --section-space:  5%; /* Adjusted for responsiveness */

  /**
   * SHADOW
   */

  --shadow-1: 0px 0px 25px 0px hsla(0, 0%, 0%, 0.25);

  /**
   * BORDER RADIUS
   */

   --radius-24: 12px; /* Adjusted for smaller screens */
   --radius-circle: 50%;

  /**
   * TRANSITION
   */

  --transition-1: 250ms ease;
  --transition-2: 500ms ease;
  --transition-3: 1000ms ease;
  --transition-4: 1500ms ease;

}

/* Media queries for responsive adjustments */
@media (max-width: 768px) {
  :root {
    /* Adjust variables for tablet and mobile screens */
    --fontSize-display-1: calc(1.0rem + 2.5vw);
    --fontSize-headline-1: calc(2rem + 2vw);
    --fontSize-headline-2: calc(1.3rem + 1.8vw);
    --fontSize-title-1: 1.8rem;
    --fontSize-title-2: 1.6rem;
    --fontSize-title-3: 1.4rem;
    --fontSize-title-4: 1.2rem;
    --fontSize-body-1: 1.4rem;
    --fontSize-body-2: 1.2rem;
    --fontSize-body-3: 1rem;
    --fontSize-label-1: 0.9rem;
    --fontSize-label-2: 0.8rem;

    --section-space: 3%;
    --shadow-1: 0px 0px 10px 0px hsla(0, 0%, 0%, 0.15);
    --radius-24: 8px;
  }
}

/* Additional media queries for smaller screens if needed */
@media (max-width: 480px) {
  :root {
    /* Further adjustments for smaller mobile screens */
    --fontSize-display-1: calc(1.0rem + 3vw);
    --fontSize-headline-1: calc(1.8rem + 2vw);
    --fontSize-headline-2: calc(1.2rem + 1.5vw);
    --fontSize-title-1: 1.6rem;
    --fontSize-title-2: 1.4rem;
    --fontSize-title-3: 1.2rem;
    --fontSize-title-4: 1rem;
    --fontSize-body-1: 1.2rem;
    --fontSize-body-2: 1rem;
    --fontSize-label-1: 0.8rem;
  }
}
/* For smaller screens (e.g., mobile phones) */
@media (max-width: 768px) {
  :root {
    /* Modify font sizes for smaller screens */
    --fontSize-display-1: calc(1.0rem + 2.5vw);
    --fontSize-headline-1: calc(1.5rem + 2vw);
    /* Add more font size adjustments here */
  }

  body {
    /* Adjust body font size and line height */
    font-size: var(--fontSize-body-2);
    line-height: var(--lineHeight-4);
  }
}

/* For tablets and larger screens */
@media (min-width: 769px) {
  :root {
    /* Adjust font sizes for tablets */
    --fontSize-display-1: calc(1.0rem + 3vw);
    --fontSize-headline-1: calc(2rem + 2vw);
    /* Add more font size adjustments here */
  }

  body {
    /* Adjust body font size and line height */
    font-size: var(--fontSize-body-1);
    line-height: var(--lineHeight-5);
  }
}

/* Styles for devices up to 768px (e.g., mobile phones) */
@media (max-width: 768px) {
  /* Place responsive styles here */
}

/* Styles for devices between 769px and 1024px (e.g., tablets) */
@media (min-width: 769px) and (max-width: 1024px) {
  /* Place responsive styles here */
}

/* Styles for devices larger than 1024px (e.g., desktops) */
@media (min-width: 1025px) {
  /* Place responsive styles here */
}



/*-----------------------------------*\
  #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: 18px;
  scroll-behavior: smooth;
  
}

body {
  background-color: var(--eerie-black-1);
  color: var(--white);
  font-family: var(--fontFamily-dm_sans);
  font-size: var(--fontSize-body-);
  font-weight: var(--weight-regular);
  line-height: var(--lineHeight-5);
  
  text-shadow: 
  -0.8px -0.8px 0 #000000,  
  0.8px -0.8px 0 #000000,
  -0.8px 0.8px 0 #000000,
  0.8px 0.8px 0 #000000;
}

body.loaded { overflow: overlay; }

body.nav-active { overflow: hidden; }

::-webkit-scrollbar { width: 5px; }

::-webkit-scrollbar-track { background-color: transparent; }

::-webkit-scrollbar-thumb { background-color: var(--gold-crayola); }


/*-----------------------------------*\
  #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);
  
}

.display-1 {
  font-size: var(--fontSize-display-1);
  line-height: var(--lineHeight-1);
  color:#fff/* Your desired text color */;
  
}

.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-2 { font-size: var(--fontSize-label-2); }





/*-----------------------------------*\
  #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);
  max-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-weight: var(--weight-bold);
  text-transform: uppercase;
  letter-spacing: var(--letterSpacing-2);
  margin-block-end: 12px;
}

.section-subtitle::after {
  content: url('../images/separator.svg');
  display: block;
  width: 100px;
  margin-inline: auto;
  margin-block-start: 5px;
}

.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;
}

.hover\:shine { position: relative; }

.hover\:shine::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  background-image: linear-gradient(to right, transparent 0%, #fff6 100%);
  transform: skewX(-0.08turn) translateX(-180%);
}

.hover\:shine:is(:hover, :focus-within)::after {
  transform: skewX(-0.08turn) translateX(275%);
  transition: var(--transition-3);
}

.img-holder {
  aspect-ratio: var(--width) / 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: no-repeat;
  background-size: cover;
  background-position: center;
}

.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; }




/*-----------------------------------*\
  #PRELOAD
\*-----------------------------------*/

.preload {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--gold-crayola);
  z-index: 10;
  display: grid;
  place-content: center;
  justify-items: center;
  transition: var(--transition-2);
}

.preload > * { 
  transition: var(--transition-1); 
}

.preload.loaded > * { 
  opacity: 0; 
}

.preload.loaded {
  transition-delay: 250ms;
  transform: translateY(100%);
}

.circle {
  width: 112px;
  height: 112px;
  border-radius: var(--radius-circle);
  border: 3px solid var(--white);
  border-block-start-color: var(--smoky-black-3);
  margin-block-end: 45px;
  animation: rotate360 1s linear infinite;
}

@keyframes rotate360 {
  0% { transform: rotate(0); }
  100% { transform: rotate(1turn); }
}

.preload .text {
  background-image: var(--loading-text-gradient);
  background-size: 500%;
  font-size: calc(2rem + 3vw);
  font-weight: var(--weight-bold);
  line-height: 1em;
  text-transform: uppercase;
  letter-spacing: 16px;
  padding-inline-start: 16px;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-stroke: 0.5px var(--eerie-black-3);
  animation: loadingText linear 2s infinite;
}

@keyframes loadingText {
  0% { background-position: 100%; }
  100% { background-position: 0%; }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .circle {
    width: 80px;
    height: 80px;
    margin-block-end: 30px;
  }

  .preload .text {
    font-size: calc(1.5rem + 2vw);
    letter-spacing: 12px;
    padding-inline-start: 12px;
    -webkit-text-stroke: 0.4px var(--eerie-black-3);
  }
}

@media (max-width: 480px) {
  .circle {
    width: 60px;
    height: 60px;
    margin-block-end: 20px;
  }

  .preload .text {
    font-size: calc(1rem + 1.5vw);
    letter-spacing: 8px;
    padding-inline-start: 8px;
    -webkit-text-stroke: 0.3px var(--eerie-black-3);
  }
}





/*-----------------------------------*\
  #TOPBAR
\*-----------------------------------*/

.topbar { display: flex; }


/*-----------------------------------*\
  #HEADER
\*-----------------------------------*/

.header .btn { display: flex; }
/* Apply logo container code only for the header section */
/* Logo Position */
.header .container .logo {
  position: relative; /* Change to relative */
  display: flex;
  top: -2vw;
  left: 4vw; /* Adjusted left position with responsive units */
  align-items: center;
}
/* Logo Image */
.header .container .logo img {
  height: auto;
  max-width: 100%; /* Ensure logo scales appropriately */
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: transparent;
  padding: 2vw; /* Responsive padding based on viewport width */
  z-index: 4;
  transition: var(--transition-1);
}

.header.active {
  padding: 1.5vw; /* Responsive padding */
  background-color: var(--eerie-black-4);
  border-bottom: 1px solid 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: 1vw;
}

.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; }


/* Navbar Container */
.navbar {
  position: fixed;
  background-color: var(--smoky-black-1);
  top: 0;
  left: -80%; /* Off-canvas position */
  bottom: 0;
  width: 80%; /* Responsive width */
  padding: 10vw 5vw 20vw; /* Responsive padding */
  overflow-y: auto;
  visibility: hidden;
  z-index: 2;
  transition: var(--transition-2);
}

.navbar.active {
  visibility: visible;
  left: 0;
}

/* Navbar Links */
.navbar-list {
  border-bottom: 1px solid var(--black);
  margin-bottom: 100px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
}

.navbar-item {
  border-top: 1px solid var(--black);
}

.navbar-link {
  position: relative;
  font-size: 2vw; /* Responsive font size */
  text-transform: uppercase;
  padding: 10px;
  align-items: center;
}

.navbar-link::after {
  display: none;
}

/* Active Navbar Link Styles */
.navbar-link:hover .span,
.navbar-link:focus-visible .span,
.navbar-link.active .span {
  color: var(--gold-crayola);
  transform: translateX(20px);
}

/* Separator Styles */
.navbar-link .separator {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%) rotate(45deg);
  opacity: 0;
  transition: var(--transition-1);
}

.navbar-link:hover .separator,
.navbar-link:focus-visible .separator,
.navbar-link.active .separator {
  opacity: 1;
}

/* Media Queries for Tablet and Mobile */
@media (max-width: 768px) {
  .header {
    padding: 50px; /* Adjusted padding for smaller screens */
  align-items: center;

  }

  .navbar {
    width: 100%; /* Full width on smaller screens */
    padding: 20vw 5vw; /* Adjusted padding */
  }

  .navbar-link {
    font-size: 5vw; /* Larger font size for mobile */
  align-items: center;

  }
}



/*-----------------------------------*\
  #SERVICE
\*-----------------------------------*/

.service .section-title { margin-block-end: 16px; }

.service .section-text { margin-block-end: 20px; }

.service-card { overflow: hidden;
  perspective: 1000px; /* Enables 3D space */ }

.service-card .has-before {
  padding-block: 30px;
  margin-block-end: 26px;
  z-index: 1;
}

.service-card .has-before::before {
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 400px;
  height: 100%;
  background-image: url('../images/img-pattern.svg');
  background-position: center;
  background-size: var(--weight-regular);
  background-repeat: repeat;
  transition: var(--transition-2);
  transition-delay: 0;
  z-index: -1;
  will-change: transform;
}

.service-card:is(:hover, :focus-within) .has-before::before {
  transform: rotateY(0.5turn) translateX(50%);
  transition-delay: 300ms;
}

.section-subtitle.label-2 {
  margin-top: 200px; /* Adjust the value as needed */
}


.service-card .card-banner { transition: var(--transition-2); }

.service-card:is(:hover, :focus-within) .card-banner { transform: scale(1.05); }

.service-card.card-title { margin-block-end: 100px; 
  margin-top: 10px;}

  .service-card .card-title a {
    text-decoration: none;
    color: inherit;
  }
  
  .flip-card {
    width: 285px;
    height: 336px;
    position: relative;
    margin: 0 auto; /* Center the card */
  }
  
  .flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;
  }
  
  .flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
  }
  
  .flip-card-front,
  .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .flip-card-front {
    background-color: #fff;
  }
  
  .flip-card-front img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .flip-card-back {
    background-color:rgb(234, 233, 213);;
    color: black;
    transform: rotateY(180deg);
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 20px; /* Adjust padding as needed */
  }
  
  .flip-card-back p {
  margin: 0;
  padding: 0;
  font-size: 15px;
  font-weight: 400;        /* normal weight */
  line-height: 1.6;        /* better spacing */
  text-align: left;
  text-shadow: none; /* Align text to the left */
  }
  
/*-----------------------------------*\
  #FOOTER
\*-----------------------------------*/

.footer-top { 
  margin-block-end: 10px; 
}

.custom-location-btn {
  position: absolute;
  top: +2%;
  
  left: 50%;
  transform: translateX(-50%);
  /* Add any custom styles you want for the button */
}

.footer-brand {
  position: relative;
  padding: 600px 80px;
  background-position: center top;
  background-repeat: repeat;
  background-color: rgba(0, 0, 0, 0.7); /* Adjust the opacity value here */
}

.footer-brand::before,
.footer-brand::after {
  top:80px;
  width: 30px;
  height: 100%;
}


.footer-brand::before { left: 0; }

.footer-brand::after { right: 0; }

.footer-brand .logo {
  max-width: max-content;
  margin-inline: auto;
  margin-block-end: 40px;
}


.footer-brand :is(.body-4, .label-1) {
  color: var(--white);
  line-height: var(--lineHeight-3);
}


.footer-brand .contact-link {
  margin-block: 10px;
  transition: var(--transition-1);
}


.footer-brand .contact-link:is(:hover, :focus-visible) { color: var(--gold-crayola); }


.footer-brand .wrapper {
  display: flex;
  justify-content: center;
  gap: 2px;
  margin-block: 40px 50px;
}


.footer-brand .label-1 { margin-block-end: 80px; }

.footer-brand .label-1 .span {
  display: inline;
  color: var(--white);
}

.footer-brand .icon-wrapper .input-field { cursor: text; }

.footer-brand .btn { min-width: 100%; }

.footer-list {
  display: grid;
  gap: 40px;
}

.footer-link {
  color: var(--white);
  font-weight: var(--weight-bold);
  font-size: 20px; /* Updated property */
  text-transform: uppercase;
  letter-spacing: var(--letterSpacing-4);
  margin-inline: auto;
  transition: var(--transition-1);
  -webkit-text-stroke: 0.9px black; /* for WebKit browsers */
}

/*-----------------------------------*\
  #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;
}

/*-----------------------------------*\
  #MEDIA QUERIES
\*-----------------------------------*/

/**
 * responsive for larger than 575px screen
 */

@media (min-width: 769px) {

  

  /**
   * REUSED STYLE
   */

  :is(.service, .about) .section-text {
    max-width: 420px;
    margin-inline: auto;
  }

  .contact-number { --fontSize-body-1: 3rem; }


  /**
   * HEADER
   */

  .header { top: 10px; }

  .header.active { top: 0; }

  .header .btn {
    display: block;
    margin-inline-start: 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;
  }

}

/**
 * responsive for larger than 768px screen
 */

@media (min-width: 769px) {

  /**
   * REUSED STYLE
   */

  .grid-list { grid-template-columns: 2fr 1fr; }

  :is(.service, .event) .container { max-width: 820px; }

  :is(.service, .event) .grid-list li:last-child {
    grid-column: 1 / 3;
    width: calc(50% - 20px);
    margin-inline: auto;
  }
  /**
   * HEADER
   */

  .navbar-list { margin-inline: 30px; }
  /**
   * FOOTER
   */
  .footer-brand { grid-column: 1 / 3; }
}

/**
 * responsive for larger than 992px screen
 */

@media (min-width: 769px) {

  /**
   * CUSTOM PROPERTY
   */

  :root {

    /**
     * spacing
     */

    --section-space: 100px;

  }

  /**
   * REUSED STYLE
   */

  :is(.service, .event) .container { max-width: unset; }

  :is(.service, .event) .grid-list { grid-template-columns: repeat(3, 1fr); }

  :is(.service, .event) .grid-list li:last-child {
    grid-column: auto;
    width: 100%;
  }
  
  
  /**
   * TOPBAR
   */

  .topbar-item:not(.link) { display: flex; }

  .topbar .item-2 { margin-inline-end: auto; }


 



  /**
   * 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; }

}


/**
 * responsive for larger than 1200px screen
 */

@media (min-width: 1200px) {

  /**
   * CUSTOM PROPERTY
   */

  :root {

    /**
     * typography
     */

    --fontSize-title-2: 2.5rem;

  }


  /**
   * REUSED STYLE
   */

  .container,
  :is(.service, .event) .container {
    max-width: 1400px;
    width: 100%;
    margin-inline: auto;
  }

  /**
   * HEADER
   */

  .nav-open-btn,
  .navbar > *:not(.navbar-list),
  .header .overlay { display: none; }

  .header .container { max-width: unset; }

  .navbar,
  .navbar.active,
  .navbar-list { all: unset; }

  .navbar,
  .navbar.active { margin-inline: auto 20px; } 

  .navbar-list {
    display: flex;
    gap: 30px;
  }

  .navbar-item { border-block-start: 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;
  }

  /**
   * SERVICE
   */

  .service .grid-list { gap: 150px; }

 

  .service .section-text { margin-block-end: 75px; }



}

/**
 * responsive for larger than 1400px screen
 */

@media (min-width: 1400px) {

  /**
   * HEADER
   */

  .navbar { margin-inline: auto; }


}