* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
        /* border: red solid 1px;     */
  
    
    /* font-family: 'Bebas Neue', sans-serif; */
  }
html{
  cursor: none;
  overflow-x: hidden;

  scroll-behavior: smooth;
}
body {
  background: #000;
}

#page-loader {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgb(0, 7, 78);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.4s ease, visibility 0.3s ease;
}

#page-loader.loader-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-letter {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 4rem;
  color: #ffffff;
  animation: letterFade 0.8s ease-in-out infinite;
}

@keyframes letterFade {
  0%   { opacity: 0; }
  50%  { opacity: 1; }
  100% { opacity: 0; }
}

body.page-loaded > *:not(#page-loader) {
  animation: pageFadeIn 0.2s ease forwards;
}

@keyframes pageFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}


.modal-content {
        display:flex;
        flex-direction: column;
        height: 250px;
        background: rgb(0, 0, 0);
        padding: 2rem;
        border-radius: 8px;
        position: relative;
        max-width: 500px;
        width: 90%;
        color: white;
        border: red 1px solid;
        font-family: 'Bebas Neue', sans-serif;
    }

    .formm{
       display:flex;
        flex-direction: column;
        justify-content: space-evenly;
        height: 100%;
    }
    
.close-btn {
        position: absolute;
        top: 10px;
        right: 10px;
        cursor: pointer;
        font-size: 1.5rem;
    }
    
.hidden {
        display: none !important;
    }

    #inpu1{
 font-family: 'Bebas Neue', sans-serif;
 font-size: 1rem;
 height: fit-content;
    }

    #inpu2{
  font-family: 'Bebas Neue', sans-serif;
 font-size: 1rem;
 height: fit-content;
    }

    #inpu3{
  font-family: 'Bebas Neue', sans-serif;
 font-size: 1rem;
 height: fit-content;
    }

    #submitt{
       font-family: 'Bebas Neue', sans-serif;
       font-size: 1rem;
        height: fit-content;
        background-color: #170020;
        color: white;
        border-radius: 5px ;
        border: none;
    }

    #submitt:hover{
      cursor: pointer;
    }

  /* NAV */
  .navbar {
    background: transparent;
   
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
   
    z-index: 100;
  
  }
  
  .navbar__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 20px;
    min-width: 100%;
   
    background: rgb(0, 7, 78);
    z-index: 1000;
    min-height: 20vh;
    box-shadow: 0 0 10px 5px rgba(221, 219, 219, 0.37);
   
  }
  
  .navbar__toggle {
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 60px;
    height: 25px;
   
    z-index: 1001;
  }
  
  .bar {
    height: 3px;
    width: 100%;
    background-color: #ffffff;
    border-radius: 10px;
    transition: all 0.3s ease-in-out;
  }
  
  
  .navbar__menu {
    display: none;
    flex-direction: column; 
    position: fixed;
    margin-top: 250px ;
    width: 85%;
    height: 350px;
    background-color: rgb(0, 7, 78);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    list-style-type: none;
  }
  
  .navbar__menu.active {
    display: flex;
  }
  
  .navbar__item {
    margin: 15px 0;
    list-style-type: none;
    width: 100%;
    border:#ffffff solid 3px;
    height: 15%;
    border-radius: 8px;
  
    
  }
  
  .navbar__links {
    
    color: rgb(255, 255, 255);
    text-decoration: none;
    font-family: playfair Display, serif;
    position: relative;
    transition: color 0.3s;
    font-size: 1.25rem;
    z-index: 590;
    align-self: center;
    justify-self: center;
    width: 100%;
    height:50px;
  }
  
  .navbar__links::after {
    content: ''; 
    position: absolute;
    width: 0;
    height: 2px;
    display: block;
    margin-top: 5px;
    left: 50%;
    background: #0842ff;
    transition: width 0.4s ease, left 0.4s ease;
  }
  
  .navbar__links:hover::after {
    width: 100%;
    left: 0;
    background: linear-gradient(90deg, #ffffff);
  }
  
  
  .navbar__btn {
    margin-left: auto;
    font-family: 'Playfair Display', serif;
    font-weight: bold;
    text-align: center;
  }
  
  
  
  .navbar__btn .button {
    padding: 15px 20px;
    text-decoration: none;
    border-radius: 10px;
    background-image: linear-gradient(to right, #fdf7e9, #22212b), linear-gradient(to right, #020d49, #3d3d3d);
    background-size: 200% 100%, 200% 100%;
    background-position: 0% 0%, 100% 0%;
    transition: background-position 0.5s ease;
    color: #000000;
    font-family:'Playfair Display', serif; 
    font-weight: bold;
    font-size: 1.7rem;
   
  }
  
  .navbar__btn .button:hover {
    background-position: 100% 0%, 0% 0%;
  }

  .navbar__toggle.active .bar:nth-child(2) {
    opacity: 0;
  }
  
  .navbar__toggle.active .bar:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
  }
  
  .navbar__toggle.active .bar:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
  }

  .navbar__logo {
    color: rgb(212, 144, 17);
    margin-left: auto;
    font-size: 4rem;
    flex: 0 0 auto; 
    font-family: 'Playfair Display', serif;
    font-weight: bold;
    position: relative; 
    display: inline-block;
    padding-bottom: 5px; 
    margin:auto;
     text-decoration: none;
  
  }

  @media (max-width: 450px) {
    .navbar__logo {
      font-size: 3rem;
    
    }
  }
  
  .navbar__logo::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #ffffff,rgb(0, 21, 255));
    border-radius: 2px;
    transform-origin: left;
    transform: scaleX(0);
    transition: transform 0.4s ease;
  }
  
  .navbar__logo:hover::after {
    transform: scaleX(1);
    height: 2px;
  }
  

.logo-gradient {
    background: white;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
  }

  @media (max-width:400px) {
    .navbar__btn .button{
      display: none;
    }


  }
  .navbar__logo a,
a.logo-gradient {
  text-decoration: none;
}

  /* END NAV */

  /* inside section1 */
  .section1 {
   
    width: 100%;
    height: 140vh;
    margin: 0;
    padding: 0;
    z-index: 5;
    display: flex;
    background: url('/images/Skil.png') no-repeat center center;
    background-size: cover;
     backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    scroll-margin-top: 100px;
    scroll-snap-align: start
    
  }

  @media (max-width: 769px) {
    .section1 {
      height: 120vh;
    }
  }

  .intro {
   
    margin-left: 5vw;
    font-family: 'Playfair Display', serif;
    font-size: 5rem;
    font-weight: bold;
    text-align: center;
    
    z-index: 10;
    color: rgb(0, 11, 129);
    height: 30vh;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    margin-top: 20vh;
    padding: 20px;
  
    
  
  }

 
.t2{

  font-size: 1.5rem;
}

.section2 {
  width: 100%;
  height: auto;
  background: rgb(1, 1, 53);
  display: flex;
  flex-direction: column;

}

  .content{
     display: flex;
    flex-direction: column;
    justify-content: flex-start; /* start at top */
    align-items: center;
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: #ffffff;
    margin-top: 20px;
    z-index: 10;
    font-weight: bold;

  }
.services {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  width: 100%;
  margin-top: 20px;
  color: #ffffff;
  text-align: center;
 
  height: auto; /* was 100vh — let content define height */
}

.service1 { background-image: url('/images/jRUn.jpeg');  background-position: center 60%; }
.service2 { background-image: url('/images/EBike.jpeg');  background-position: center 50%; }
.service3 { background-image: url('/images/Estand.jpeg'); background-position: center 55%; }

.service1,
.service2,
.service3 {
  position: relative;
  width: 98%;
  margin: 10px 0;
  aspect-ratio: 16 / 5;
  max-height: 60vh;
  padding: 10px 20px;
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.75rem, 3vw, 3.5rem);
  border-radius: 10px;
  background-repeat: no-repeat;
  background-size: cover;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transform-style: preserve-3d;
  /* transition removed from here entirely — JS drives every transform now via rAF */
}
.card-inner {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: box-shadow 0.2s ease;
  backface-visibility: hidden; /* moved here — hides front content, doesn't block clicks */
}



.service1::after,
.service2::after,
.service3::after {
  content: attr(data-description);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 30px;
  border-radius: 10px;
  border: #ffffff solid 1px;
  background-color: rgb(0, 7, 78);
  color: #ffffff;
  font-family: 'Georgia', serif;
  font-size: clamp(0.95rem, 1.2vw, 1.15rem);
  line-height: 1.6;
  text-align: center;
  backface-visibility: hidden; /* stays here — hides back face until rotated into view */
  transform: rotateY(180deg);
  pointer-events: none; /* purely decorative text layer, clicks pass through to .service1 */
}
.contact-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  z-index: 900;
  align-items: center;
  justify-content: center;
}

.contact-modal__box {
  position: relative;
  background-color: rgb(0, 7, 78);
  color: #ffffff;
  width: 90%;
  max-width: 480px;
  padding: 30px;
  border-radius: 10px;
  border: 1px solid #ffffff;
  font-family: 'Playfair Display', serif;
}

.contact-modal__close {
  position: absolute;
  top: 10px;
  right: 15px;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 1.8rem;
  cursor: pointer;
  line-height: 1;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
  font-family: 'Bebas Neue', sans-serif;
}

.contact-form label {
  font-size: 1rem;
  text-align: left;
}

.contact-form input,
.contact-form textarea {
  padding: 10px;
  border-radius: 6px;
  border: none;
  font-family: inherit;
  font-size: 1rem;
  background-color: #ffffff;
  color: #000000;
  resize: vertical;
}

.contact-form__submit {
  margin-top: 10px;
  padding: 12px;
  background-color: #0842ff;
  color: #ffffff;
  border: none;
  border-radius: 6px;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background-color 0.3s;
}

.contact-form__submit:hover {
  background-color: #ff7b00;
}


.footer{
  height: 100px;
  color: #ffffff;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* CURSOR  */
.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 3px solid #000000;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  transition: width 0.2s ease, height 0.2s ease, background-color 0.2s ease;
  opacity: 0;
  will-change: transform;
}

.custom-cursor.is-active {
  opacity: 1;
}

.custom-cursor.is-pointer {
  width: 45px;
  height: 45px;
  background-color: rgba(255, 255, 255, 0.2);
}

@media (hover: none) and (pointer: coarse) {
  .custom-cursor { display: none; }
}

a, button, .service1, .service2, .service3, [role="button"], .navbar__toggle {
  cursor: none;
}

body {
  cursor: none;
}

@media (hover: none) and (pointer: coarse) {
  a, button, .service1, .service2, .service3, [role="button"], .navbar__toggle, body {
    cursor: auto;
  }
}