:root {

  /**
   * COLORS
   */

  --gold-crayola: #667BC6;
  --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);

  /**
   * 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-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;

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

  /**
   * SPACING
   */

  --section-space: 50px;

  /**
   * 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;

}



/*-----------------------------------*\
  #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-track { background-color: transparent; }

::-webkit-scrollbar-thumb { background-color: #161D6F;}


/*-----------------------------------*\
  #TYPOGRAPHY
\*-----------------------------------*/

.display-1,
.headline-1,
.headline-2,
.title-1,
.title-2,
.title-3,
.title-4 {
  color: black;
  font-family: var(--fontFamily-dm_sans);
  font-weight: var(--weight-regular);
  line-height: var(--lineHeight-2);
}

.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-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 {
  color: black;
  position: relative;
  font-weight: var(--weight-bold);
  font-size: large;
  text-transform: uppercase;
  letter-spacing: var(--letterSpacing-2);
  margin-block-end: 12px;
  margin-bottom: 10px;
  margin-top: -40px;
}



.btn {
  position: relative;
  color: black;
  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;
  border-radius: 50px;
}

.btn::before {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 200%;
  height: 200%;
  border-radius: var(--radius-circle);
  background-color: #7FA1C3;
  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);
  height: 56px;
}

.btn-secondary::before { background-color: #BFBBA9; }

.btn-secondary .text-2 { color: black; }

.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;

}
.shape-8 {
  position: absolute;
  right: 5px;  /* Adjust this value as needed */
  top: 700px;  /* Adjust this value as needed */
  transform: translateY(-50%);
  width: 300px;  /* Adjust size */
  height: 300px;
  z-index: 1; /* Ensures it's placed correctly above or below other elements */
  opacity: 0.8; /* Optional: Adjust transparency */
}

/* Ensure parent container has relative positioning */
.container {
  position: relative;
}



.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: #3C4048;
  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;
  inset: 0; /* Shorter way to set top, right, bottom, left to 0 */
  background-color: #405D72;
  z-index: 10;
  display: grid;
  place-content: center;
  justify-items: center;
  transition: var(--transition-2);
}

.preload.loaded {
  transition-delay: 250ms;
  transform: translateY(100%);
}

.circle {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  border: 3px solid var(--white);
  border-top-color: var(--smoky-black-3);
  margin-bottom: 45px;
  animation: rotate360 1s linear infinite;
}

@keyframes rotate360 {
  0% { transform: rotate(0); }
  100% { transform: rotate(1turn); }
}

.preload .text {
  font-family: 'Sigmar', sans-serif !important;
  font-size: 50px;
  border: none;
  text-transform: uppercase;
  letter-spacing: 16px;
  padding-left: 16px;
  color: #F1F0E8;
  -webkit-text-stroke: 0.5px var(--eerie-black-3);
  animation: loadingText 2s linear infinite;
}

@keyframes loadingText {
  0% { background-position: 100%; }
  100% { background-position: 0%; }
}



/*-----------------------------------*\
  #TOPBAR
\*-----------------------------------*/


/* Hide by default */
.nav-open-btn {
  display: none;
}

/* Show on smaller screens (iPhones and other phones) */
@media screen and (max-width: 600px) {
  .nav-open-btn {
    display: block;
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 100;
  }

  .nav-open-btn .line {
    display: block;
    width: 25px;
    height: 3px;
    background: black;
    margin: 5px 0;
  }

  /* Navbar styling */
  .navbar {
    position: fixed;
    top: 0;
    left: -100%;
    width: 120vw;
    max-width: 320px;
    height: 100%;
    background: white;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
    transition: left 0.3s ease-in-out;
    padding: 60px 20px 20px;
    padding-top: 40px !important;
    z-index: 99;
  }

  /* Show navbar when active */
  .navbar.active {
    left: 0;
  }

  /* Close button */
  .close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    cursor: pointer;
  }
  
  /* Vertical navbar list */
  .navbar-list {
    display: flex !important;
    flex-direction: column;
    padding-top: 0 !important;
    margin: 0;
    list-style: none;
    margin-top: 0 !important;
  }

  .navbar-item:first-child {
    margin-top: 0;
  }
  
  .navbar-item {
    margin-bottom: 30px;
    margin-top: 0;
  }
  
  .navbar-link {
    display: block;
    text-decoration: none;
    color: #444;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 5px 0;
  }
  
  /* Hide the separator dots */
  .separator {
    display: none;
  }
 
}

/*-----------------------------------*
  #HEADER
\*-----------------------------------*/

/* Keep the logo completely stable */
.fixed-logo {
  position: fixed;
  top: -10px;
  left: 5px;
  z-index: 9999;
  pointer-events: none;
}

.fixed-logo img {
  width: 200px;
  height: auto;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: transparent;
  padding-block: 40px;
  z-index: 4;
  border-block-end: 1px solid transparent;
  transition: var(--transition-1);
}

.header.active {
  padding-block: 20px;
  background-color: var(--eerie-black-1);
  border-color: var(--black-alpha-15);
}

.header.hide {
  transform: translateY(-100%);
  transition-delay: 250ms;
}

.header .container {
  padding-inline: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.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 {
  position: fixed;
  background-color: #8EACCD;
  top: 0;
  right: 0;
  max-width: 600px;
  padding-inline: 30px;
  padding-block-end: 10px;
  overflow-y: auto;
  visibility: hidden;
  z-index: 2;
  transition: var(--transition-2);
  display: flex;
  justify-content: flex-end;
}

.navbar-list {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 30px;
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
}

.navbar-item {
  text-align: right;
}

.navbar.active {
  visibility: visible;
  transform: translateX(-50%);
}

.navbar .close-btn {
  color: var(--white);
  border: 1px solid currentColor;
  padding: 4px;
  border-radius: var(--radius-circle);
  margin-inline-start: auto;
  margin-block: 30px 20px;
}

.navbar .close-btn:is(:hover, :focus-visible) { color: var(--gold-crayola); }

.header .logo {
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 1000;
  pointer-events: none;
}

.navbar-link {
  position: relative;
  font-size: var(--fontSize-label-2);
  text-transform: uppercase;
  padding-block: 10px;
  text-align: center;
}

.navbar-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 0.5px;
  background-color: black;
  transition: width 0.3s ease-in-out;
  display: block;
}

.navbar-link:is(:hover, :focus-visible, .active)::after {
  width: 100%;
  height: 5px;
}

.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; }

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background-color: #8EACCD;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-2);
  z-index: 1;
}

.overlay.active {
  opacity: 1;
  pointer-events: all;
}

/*-----------------------------------*
  #HERO SECTION
\*-----------------------------------*/


/* Responsive Adjustments */
@media (max-width: 768px) {
  .hero {
    padding: 10px;
  }
  
  .hero-title {
    font-size: clamp(28px, 5vw, 50px);
  }
  
  .hero-text {
    font-size: clamp(14px, 4vw, 18px);
  }
  
  .slider-btn {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: clamp(24px, 6vw, 40px);
  }
  
  .hero-text {
    font-size: clamp(12px, 4vw, 16px);
  }
  
  .btn-primary {
    padding: 8px 16px;
  }

  .hero .slider-item .section-subtitle-hero {
    font-size: 15px;
    letter-spacing: 4px;
    padding: 0;
    bottom: 0px;
  }

  .hero .slider-item h1 {
    font-size: 60px !important;
  }

  .hero-btn {
    right: 35% !important;
    transform: translateX(50%);
    bottom: 20px !important; /* Adjust as needed */
  }

    
  
}

.hero {
  position: relative;
  padding-block: 2px !important;
  min-height: 100vh;
  overflow: hidden;
  z-index: 1;
}


.hero .container, .wrapper {
  padding: 0 !important;
  margin: 0 !important;
}


/* Slider Items */

.hero .section-subtitle-hero {
    color: black;
    position: relative;
    font-weight: var(--weight-bold);
    font-size: large;
    text-transform: uppercase;
    letter-spacing: var(--letterSpacing-2);
    margin-block-end: 12px;
    margin-bottom: 0;
    margin-top: -70px;
    padding: 0;
}

.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: 1px !important;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-3);
  z-index: 1;
}

.hero .slider-item h1 {
  margin-top: 0px;
  padding: 0;
}

.hero .slider-item.active {
  opacity: 1;
  visibility: visible;
}

/* Slider Buttons */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.2);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
  cursor: pointer;
  z-index: 2;
}

.slider-btn:hover {
  background-color: rgba(255, 255, 255, 0.4);
}

.slider-btn.prev {
  left: 20px;
}

.slider-btn.next {
  right: 20px;
}

.slider-btn ion-icon {
  font-size: 24px;
  color: black;
}

.slider-divider {
  position: relative;
  left: 50%;
  opacity: 40%;
  transform: translate(-50%);
  width: 250px;
  height: 28px;
  z-index: 1;
  padding: 0;
}

/* Ensure slider buttons are visible */
.hero .slider-btn {
  display: flex;
}

/* Slider Background Animation */
.hero .slider-item.active .slider-bg {
  animation: smoothScale 7s linear forwards;
}

@keyframes smoothScale {
  0% { transform: scale(1); }
  100% { transform: scale(1.15); }
}

/* Hero Text Styling */
.hero .section-subtitle::after { 
  margin-block: 10px 10px; 
}


.hero-text { 
  margin-block: 10px 40px; 
  color: #31304D;
}

/* Primary Button Styling */
.btn-primary {
  background-color: rgba(255, 255, 255, 0.2);
  transition: background-color 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  border-width: 2px;
}

.btn-primary:hover {
  background-color: #55679C;
}

.hero .btn {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  border-radius: 50px !important;
}

/* Hero Floating Button */
.hero-btn {
  position: absolute;
  bottom: 15px;
  right: 15px;
  z-index: 2;
  background-color: var(--gold-crayola);
  width: 110px;
  height: 110px;
  padding: 12px;
  transform: scale(0.6);
}

.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 Animation */
.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; 
}

@media (max-width: 480px) {
  .section-subtitle {
    top: 15px;
    font-size: 15px;
    letter-spacing: 4px;
  }

  .fixed-logo {
    display: none;
  }
}


/*-----------------------------------*\
  #SERVICE
\*-----------------------------------*/

.service .section-title { 
  margin-block-end: 16px; 
}

.service .section-text { 
  margin-block-end: 40px; 
  color: black;
}

.service-card {
  border-radius: 50px; /* Softens the edges */
  overflow: hidden; /* Ensures content stays within rounded corners */
  padding: 20px; /* Adjust padding */
  transition: var(--transition-2); /* Smooth hover effect */
}

/* Ensuring the hover effect is only on the image */
.service-card .has-before {
  display: inline-block; 
  border-radius: 50px;
  overflow: hidden;
}

/* Make the image round */
.service-card .card-banner {
  border-radius: 50px; /* Slightly rounded edges for the image */
  width: 240px; /* Reduce width */
  height: 280px; /* Reduce height */
  display: block;
  margin: 0 auto; /* Centers the image */
}

/* Make sure the image inside also follows the round shape */
.service-card .card-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Keeps image proportions */
  border-radius: 30px; /* Ensures the image matches banner */
}

/* Optional: Subtle hover effect */
.service-card:hover {
  transform: scale(1.05); /* Reduced scale for a more subtle effect */
}


/* Limit hover effect to the image */
.service-card:is(:hover, :focus-within) .card-banner {
  transform: scale(1.05);
}

/* Card title styling */
.service-card .card-title {
  margin-block-end: 8px; /* Reduce margin below the title */
  margin-top: 20px;
  color: #1E2A5E;
  font-size: 20px;
  font-weight: bold;
}

/* Button styling */
.service-card .btn-text {
  color: #F5ECD5;
  font-size: 15px;
  font-weight: var(--weight-bold);
  text-transform: uppercase;
  position: relative; /* Ensure the underline effect is positioned correctly */
  transition: var(--transition-1);
  text-decoration: none; /* Remove default underline */
}

/* Underline effect on hover */
.service-card .btn-text::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px; /* Same thickness as footer */
  background-color: var(--quick-silver); /* Same color */
  transition: width 0.3s ease-in-out;
}

.service-card:is(:hover, :focus-visible) .btn-text::after {
  width: 100%;
  height: 5px; /* Expands the underline on hover */
}





/*-----------------------------------*\
  #MENU
\*-----------------------------------*/

.menu .section-title { margin-block-end: 40px; }
.menu .grid-list { margin-block-end: 50px; }

.menu-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.hover\:card .card-banner { background-color: var(--gold-crayola); }
.hover\:card .card-banner .img-cover { transition: var(--transition-2); }

.hover\:card:is(:hover, :focus-within) .card-banner .img-cover {
  opacity: 0.7;
  transform: scale(1.05);
}

.menu-card .card-banner {
  flex-shrink: 0;
  border-radius: var(--radius-24);
}

.menu-card .card-title { transition: var(--transition-1); }

.menu-card .title-3 {
  font-family: var(--fontFamily-dm_sans);
  font-size: var(--fontSize-title-3);
  color: #161D6F;
  font-weight: bold;
}

.menu-card .card-title:is(:hover, :focus-visible) { color: var(--gold-crayola); }

.menu-card .badge {
  background-color: var(--gold-crayola);
  color: var(--eerie-black-1);
  font-family: var(--fontFamily-dm_sans);
  max-width: max-content;
  line-height: var(--lineHeight-6);
  text-transform: uppercase;
  padding-inline: 10px;
  margin-block-start: 10px;
}

.menu-card .span {
  color: #667BC6;
  margin-block: 10px;
  text-decoration: none !important; /* Ensures no underline */
}

.menu-card .card-text {
  color: black;
  line-height: var(--lineHeight-4);
  font-size: 15px;
}

/* Removing unnecessary pseudo-elements */
.menu-card .span::before,
.menu-card .span::after,
.menu-text .span::before,
.menu-text .span::after {
  display: none !important;
}



.menu .btn {
  margin-inline: auto;
  margin-block-start: 26px;
}

.menu .shape {
  display: block;
  width: 70%;
}

.menu .shape-2 {
  top: 0;
  left: 0;
}

.menu .shape-3 {
  bottom: 0;
  right: 0;
}


/*-----------------------------------*\
  #FEATURES
\*-----------------------------------*/

.features .section-title { margin-block-end: 40px; }

.feature-card { padding: 30px 20px 40px; border-radius: 50px;}

.feature-item:nth-child(2n+1) .feature-card { background-color: var(--eerie-black-3); }

.feature-item:nth-child(2n) .feature-card { background-color: var(--smoky-black-3); }

.feature-card .card-icon {
  max-width: max-content;
  margin-inline: auto;
  transition: var(--transition-2);
}


.feature-card:hover .card-icon { transform: scale(-1) rotate(180deg); }

.feature-card .card-title { 
  margin-block: 20px; 
  font-family: var(--fontFamily-dm_sans);
  font-weight: bold;}

.feature-card .card-text {
  color: var(--quick-silver);
  line-height: var(--lineHeight-6);
  font-size: 17px;
}


/*-----------------------------------*\
  #FOOTER
\*-----------------------------------*/

.footer-top { margin-block-end: 0px; }

.footer-brand {
  position: relative;
  padding: 2px 2px;
  background-position: center top;
  background-repeat: repeat;
}

.footer-brand::before,
.footer-brand::after {
  top: 0;
  width: 15px;
  height: 100%;
}


.footer {
  background-color: #405D72; /* Changed entire footer background */
  padding-block-start: 0px; /* Reduced space between footer and previous section */
  padding-block-end: 20px; /* Reduced space below copyright */
}


.footer-brand::before { left: 0; }

.footer-brand::after { right: 0; }

.footer-brand .logo {
  max-width: max-content;
  margin-inline: auto;
  justify-content: center;
  margin-bottom: 0px;
  display: flex;
  align-items: center;
} 



.footer-brand :is(.body-4, .label-1) {
  color: var(--quick-silver);
  line-height: var(--lineHeight-3);
}

/* Style the email input field */
.input-field {
  border-radius: 50px;
  padding: 12px 20px;
  border: none;
  width: 100%;
  outline: none;
}


.footer-brand .wrapper {
  display: flex;
  justify-content: center;
  gap: 2px;
  margin-block: 40px 25px;
}

.footer-brand .separator { animation: rotate360 15s linear infinite; }

.footer-brand .label-1 { margin-block-end: 30px; }

.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: 20px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.footer-list li {
  margin-block-end: 8px;
  margin-bottom: 2px; /* Reduced spacing between list items */
}


.footer-link {
  color: var(--quick-silver);
  font-weight: var(--weight-bold);
  text-transform: uppercase;
  letter-spacing: var(--letterSpacing-4);
  margin-inline: auto;
  transition: var(--transition-1);
  font-size: 15px;
  position: relative; /* Add relative positioning */
}

.footer-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px; /* Thickness of the underline */
  background-color: var(--quick-silver); /* Dark blue color */
  transition: width 0.3s ease-in-out;
}

.footer-link:is(:hover, :focus-visible)::after {
  width: 100%;
  height: 5px; /* Expands the underline on hover */
}

.footer-bottom {
  text-align: center;
  font-size: 100px; 
}

.copyright {
  color: #F5ECD5;
  line-height: var(--lineHeight-3);
  margin-top: 15px;
}

.copyright .link {
  display: inline;
  color: var(--quick-silver);
  text-decoration: underline;
}

@media screen and (max-width: 430px) {
  .footer-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-brand {
    width: 100%;
    padding: 10px;
  }

  .footer-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
  }

  .footer-link {
    font-size: 14px; /* Reduce font size for better fit */
  }

  .input-wrapper {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
  }

  .input-field, .footer .btn {
    width: 100px;
    max-width: 100%;
  }

  .icon-wrapper {
    display: flex;
    align-items: center;
    background-color: black; /* Match the current style */
    padding: 0px 0px;
    border-radius: 50px;
    width: 100%;
    max-width: 400px; /* Match subscribe button */
  

  .footer-bottom {
    font-size: 14px; /* Adjust font size */
  }
}}

.input-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 400px; /* Adjust for better layout */
  margin: 0 auto;
}


.input-field {
  width: 100%;
  max-width: 100%;
  text-align: center;
}


/*-----------------------------------*\
  #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: 575px) {

 

  /**
   * CUSTOM PROPERTY
   */

  :root {

    /**
     * typography
     */

    --fontSize-body-2: 2rem;

  }

  


  /**
   * REUSED STYLE
   */

  :is(.service, .about) .section-text {
    max-width: 420px;
    margin-inline: auto;
  }






  /**
   * HEADER
   */

  .header { top: 1px; }

  .header.active {
    padding-block: 20px;
    background-color: #D2E0FB; /* Change this to your desired color */
    border-color: var(--black-alpha-15);
  }
  

  .header .btn {
    display: block;
    margin-inline-start: auto;
  }



  /**
   * HERO
   */

  .hero-btn { transform: scale(0.7); }

  .hero .slider-item .hero-title {
    font-size: 5px;
  }




  /**
   * SERVICE
   */

  .service .container {
    max-width: 420px;
    margin-inline: auto;
  }



  /**
   * ABOUT
   */

  .about .container { gap: 80px; }

  .about-banner > .w-100 { padding-inline-start: 90px; }

  .about .abs-img-1 { width: 285px; }

  .about .contact-number { --fontSize-body-1: 2.4rem; }



  /**
   * MENU
   */

  .menu-card .title-wrapper {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 15px;
  }

  .menu-card .badge { margin-block-start: 0; }

  .menu-card .span {
    flex-grow: 1;
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
  }

  .menu-card .span::before {
    content: "";
    height: 6px;
    flex-grow: 1;
    border-block: 1px solid var(--white-alpha-20);
  }


  /**
   * 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: 768px) {

  /**
   * REUSED STYLE
   */

  .grid-list { grid-template-columns: 1fr 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; }



  /**
   * 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; }

}





/**
 * responsive for larger than 992px screen
 */

@media (min-width: 992px) {

  /**
   * CUSTOM PROPERTY
   */

  :root {

    /**
     * spacing
     */

    --section-space: 100px;

  }

  @media screen and (max-width: 390px) {
    .hero .slider-item .hero-title {
      font-size: 5px;
    }
  }
  

  /**
   * 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%;
  }




  /**
   * SERVICE
   */

  .service .shape { display: block; }

  .service .shape-1 {
    bottom: 0;
    left: 0;
  }

  .service .shape-2 {
    top: 0;
    right: 0;
  }



  /**
   * ABOUT
   */

  .about .container {
    grid-template-columns: 0.7fr 1fr;
    gap: 30px;
  }



  /**
   * MENU
   */

  .menu .grid-list {
    position: relative;
    column-gap: 90px;
  }

  .menu .grid-list::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    height: 100%;
    border-inline-start: 1px solid var(--white-alpha-20);
  }





  /**
   * 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;

  }

  .hero .slider-item h1 {
    font-size: smaller;
  }



  /**
   * REUSED STYLE
   */

  .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: unset; }

  .navbar,
  .navbar.active,
  .navbar-list { all: unset; color: black;}

  .navbar,
  .navbar.active { margin-inline: auto 20px; }

  .navbar-list {
    display: flex;
    gap: 30px;
  }

  .navbar-item { border-block-start: none; font-size: 25px;}

  .navbar .separator { display: none; }

  .navbar-link:is(:hover, :focus-visible, .active) .span {
    transform: unset;
    color: black
  }

  .navbar-link {
    position: relative;
    text-decoration: none;
    color: black;
    font-weight: bold;
    letter-spacing: var(--letterSpacing-1);
  }

  .navbar-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px; /* Adjust the position of the underline */
    width: 100%;
    height: 2px; /* Thickness of the underline */
    background-color: black; /* Make it black */
    transform: scaleX(0);
    transition: transform 0.3s ease-in-out;
  }

  .navbar-link:hover::after,
  .navbar-link:focus-visible::after {
    transform: scaleX(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(2n+1) { transform: translateY(-160px); }

  .service .section-text { margin-block-end: 75px; }



  /**
   * ABOUT
   */

  .about { padding-block: 170px 100px; }





  /**
   * MENU
   */

  .menu .grid-list {
    gap: 55px 200px;
    margin-block-end: 55px;
  }






  /**
   * FEATURES
   */

  .features .grid-list { grid-template-columns: repeat(4, 1fr); }

}





/**
 * responsive for larger than 1400px screen
 */

@media (min-width: 1400px) {

  /**
   * HEADER
   */

  .navbar { margin-inline: auto; }



  /**
   * ABOUT
   */

  .about-content { padding-inline-end: 90px; }

  .about .shape {
    display: block;
    top: 46%;
    left: 0;
  }



 



  /**
   * FEATURES
   */

  .features { overflow: visible; }

  .features .shape { display: block; }

  .features .shape-1 {
    top: -100px;
    right: 0;
  }

  .features .shape-2 {
    bottom: 80px;
    left: 0;
  }

}


