body{font-family: "Poppins", sans-serif; font-size:14px; background:#0e0e0e; color:#e5e5e5; }
.relative{position: relative;}

h1,h2,h3,h4,h5 {font-family: "Sora", sans-serif;}
p{line-height: 1.6rem;}

.navbar-brand{width: 160px; transition: all 0.4s ease;}
.navbar {  transition: all 0.4s ease;  background: transparent; --bs-navbar-padding-y:1rem;}
.navbar.scrolled {  background: #2c2c2c;  box-shadow: 0 4px 7px rgba(0,0,0,0.2); --bs-navbar-padding-y:0.5rem;}
.navbar.scrolled .navbar-brand{width: 120px;}
.nav-item .nav-link {color: #e5e5e5; letter-spacing: 0.5px; transition: color 0.3s ease;}
.nav-item .nav-link:hover{color: #e7ad1b; font-weight: 500;}
.nav-item .nav-link.active, .navbar .nav-link.active{color: #e7ad1b; font-weight: 500;}
.navbar-toggler{font-size: 1rem; line-height: 20px; border: none;}
.navbar-toggler:focus{box-shadow: none;}
.navbar.fixed{position: fixed; top: 0; right: 0; left: 0; z-index: 1030; }

.heading{margin-bottom: 2rem;}
.heading h5{text-transform: uppercase; color: #e7ad1b; font-weight: 400; font-size: clamp(0.rem, 2vw, 1rem); letter-spacing: 1px; margin-bottom: 1.5rem;}
.heading h2{font-weight: 700; font-size: clamp(1.5rem, 5vw, 3.3rem); color: #e5e5e5; line-height: 4rem;}
.heading h5.section-title {
  display: flex;
  align-items: center;
  gap: 22px;
}
.heading h5.section-title .title-square {
  width: 70px;
  height: 20px;
  background: #f9c334;
  display: inline-block;
}
.card{--bs-card-border-color: none!important; border-radius: 1rem; background: rgba(255, 255, 255, 0.2); box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.15); border: 2px solid #ffffff;}
.card-body{padding: 1.8rem 1.5rem; }
.card-text{font-size: 0.8rem;}
.card-title{font-size: 0.9rem; font-weight: 500;}

/*banner*/
.banner{height: 100vh;}
.bannerbg{background: url(../images/banner_bg.png); background-size: cover; padding: 5rem;}
.banner h1{font-weight: 700; color: #494646; font-size: 3.5rem;}
.banner-slider { perspective: 1200px; width: 100%; max-width: 700px; height: 300px; min-height: 300px; position: relative; overflow: hidden; }
.banner-slide { position: absolute; inset: 0; width: 100%; height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; transform-origin: center bottom; backface-visibility: hidden; transition: transform 1s ease, opacity 1s ease; text-align: left; padding: 20px 10px; }
.banner .banner-slide span { font-weight: bold; line-height: 1.15; }
.line1, .line2, .line3 { font-size: clamp(22px, 5vw, 4rem); }
.line1.first { color: #e5e5e5; }
.line2 { color: #e5e5e5; }
.line3.third { color: #e7ad1b;  }
.banner-slide.is-active { transform: rotateX(0deg); opacity: 1; z-index: 2; }
.banner-slide.is-next { transform: rotateX(90deg); opacity: 0; z-index: 1; }
.banner-slide.is-exiting { transform: rotateX(-90deg); opacity: 0; z-index: 1; }
/*banner*/

/*about*/
.about_section{padding-top: 7rem; padding-bottom: 6rem;}
.aboutimg{background: url(../images/aboutimg.jpg) center center; background-size: cover; height: 100%!important; border: none;}
.about_section .card{transition: all 0.4s ease;}
.about_section .card:hover{ transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0,0,0,0.15);}
.apisperspective h6{text-transform: uppercase;}
/*about*/

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}

.fade-up.show {
    opacity: 1;
    transform: translateY(0);
}

/* Delay classes */
.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
.delay-3 { transition-delay: 0.6s; }
.delay-4 { transition-delay: 0.8s; }
.delay-5 { transition-delay: 1s; }

/* Animations */

/*portfolio*/
.works-section {
  padding: 4rem 0;
}

.works-card {
  position: relative;
  background: #121212;
  min-height: 580px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.6);
  border: 1px solid rgba(255,255,255,0.08);
}

/* Fixed Yellow Sidebar */
.works-sidebar {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 200px;
  background: #FFC72C;
  z-index: 20;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 40px;
}

.works-sidebar h5 {
  margin: 0;
  color: #111;
  font-family: "Sora", sans-serif;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 3px;
  /*writing-mode: vertical-rl;
  transform: rotate(180deg);*/
  text-transform: uppercase;
}

/* Independent fade slider */
.works-carousel {
  position: relative;
  height: 580px;
  min-height: 580px;
  overflow: hidden;
}

.works-slides {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.works-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.75s ease-in-out, visibility 0s linear 0.75s;
}

.works-slide.is-active {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.75s ease-in-out;
  z-index: 2;
}

/* Background image */
.works-slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1);
  transition: transform 5.5s ease-out;
}

.works-slide.is-active .works-slide-bg {
  transform: scale(1.05);
}

/* Readability overlay */
.works-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0,0,0,0.85) 0%,
    rgba(0,0,0,0.65) 45%,
    rgba(0,0,0,0.3) 100%
  );
  z-index: 2;
}

/*
 * TEXT LAYER
 * This is outside .works-slide, so it NEVER moves with the image.
 * z-index 30 keeps it above the yellow sidebar (z-index 20).
 */
.works-content {
  position: absolute;
  inset: 0;
  z-index: 30;
  padding-left: 50px;
  padding-right: 40px;
  padding-bottom: 120px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  pointer-events: none;
}

.works-text {
  position: absolute;
  left: 50px;
  right: 40px;
  bottom: 180px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition:
    opacity 0.45s ease-out,
    transform 0.45s ease-out,
    visibility 0s linear 0.45s;
}

.works-text.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition:
    opacity 0.45s ease-out,
    transform 0.45s ease-out;
}

.works-title {
  font-family: "Sora", sans-serif;
  font-size: clamp(36px, 5vw, 76px);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -2px;
  color: #ffffff;
/*  text-transform: uppercase;*/
  max-width: 850px;
  margin: 0 0 15px 0;
  text-shadow: 0 10px 30px rgba(0,0,0,0.8);
}

.works-subtitle {
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: #e5e5e5;
  letter-spacing: 0.5px;
  margin: 0;
  text-shadow: 0 4px 10px rgba(0,0,0,0.8);
}

/* Navigation Controls */
.works-navigation {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 40;
  display: flex;
  height: 75px;
}

.works-nav {
  border: 0;
  width: 100px;
  height: 75px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: "Sora", sans-serif;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 700;
  text-decoration: none;
}

.works-nav.prev {
  background: #FFC72C;
  color: #111;
}

.works-nav.next {
  background: #111;
  color: #fff;
}

.works-nav:hover {
  background: #ffffff;
  color: #111;
}

/* Counter */
.works-counter {
  position: absolute;
  right: 40px;
  bottom: 30px;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-family: "Sora", sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
}

.counter-line {
  width: 40px;
  height: 2px;
  background: #FFC72C;
}

/* MOBILE */
@media (max-width: 767px) {
  .works-card {
    min-height: 450px;
  }

  .works-carousel {
    height: 450px;
    min-height: 450px;
  }

  .works-sidebar {
    width: 70px;
    padding-top: 25px;
  }

  .works-content {
    padding-left: 35px;
    padding-right: 25px;
    padding-bottom: 90px;
  }

  .works-text {
    left: 35px;
    right: 25px;
    bottom: 90px;
  }

  .works-navigation {
    height: 55px;
  }

  .works-nav {
    width: 70px;
    height: 55px;
    font-size: 10px;
  }

  .works-title {
    font-size: clamp(30px, 9vw, 50px);
  }

  .works-subtitle {
    font-size: 14px;
  }
}

/*portfolio*/
/*services*/
.service_section{padding-top: 6rem; padding-bottom: 6rem;}
.service_section .card{transition: all 0.5s ease; height: 100%; position: relative; overflow: hidden; background: transparent; border: 0;}
.service_section .card:hover{transform: translateY(-10px);}
.service_section .card * {position: relative; z-index: 2; color: #e5e5e5;}
.service_section .card.whycard::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: 0.5s;
    z-index: 0;
}
.service_section .card.whycard.wc-1::before {    background: linear-gradient(135deg, #8338eb, #3b58f1);}
.service_section .card.whycard.wc-2::before {    background: linear-gradient(135deg, #ae65ea, #d96298);}
.service_section .card.whycard.wc-3::before {    background: linear-gradient(135deg, #5a8acc, #42bfd5);}
.service_section .card.whycard.wc-4::before {    background: linear-gradient(135deg, #8e67d2, #6d88b7);}

.card.whycard:hover::before {
    opacity: 0.2;
}

/* Icon Box */
.wc-icon-box {
    /*width: 60px;
    height: 60px;*/
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
/*    margin-bottom: 20px;

    background: linear-gradient(135deg, #6c5ce7, #3a0ca3);*/
    transition: all 0.5s ease;
}





/* Loop Animation - Pulse */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.08); }
    100% { transform: scale(1); }
}

/* Floating animation */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
    100% { transform: translateY(0px); }
}

.service_section .card {
    animation: float 6s ease-in-out infinite;
}
/*services*/
/*contact*/
.contact{padding-top: 2rem; padding-bottom: 5rem;}
.contact h6{line-height: 1.5rem;}
.contact a{color: #e7ad1b; font-weight: 600;}
.contact .heading h2{line-height: 4rem;}
/*contact*/

/*footer*/
.footer {
    background: #f4f4f6;
    padding: 70px 0;
    color: #6c757d;
}

/* Title */
.footer h5 {
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
}

/* Links */
.footer a {
    text-decoration: none;
    color: #6c757d;
    display: block;
    margin-bottom: 10px;
    transition: 0.3s;
}

.footer a:hover {
    color: #6c5ce7;
    transform: translateX(5px);
}

/* Company Name */
.footer-title {
    font-size: 20px;
    font-weight: 600;
    color: #555;
}

/* Contact */
.footer p {
    margin-bottom: 10px;
}

.footer strong {
    color: #333;
}
.social-icons a {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #2e2f2f;
    color: #c1bdbd;
    margin-right: 10px;
    font-size: 13px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

/* Hover Animation */
.social-icons a:hover {
    transform: translateY(-5px) scale(1.1);
    color: #fff;
    background: #e7ad1b;
}






/* MOBILE STACK */

@media (max-width:767px){
  .works-wrapper { min-height: 450px; }
  .works-slide { min-height: 450px; }
  .works-sidebar { width: 70px; padding-top: 25px; }
  .works-content { padding-left: 35px; max-width: 90%; }
  .works-navigation { height: 55px; }
  .works-nav { width: 70px; height: 55px; font-size: 10px; }
  .works-sidebar h5 { writing-mode: vertical-rl;   transform: rotate(180deg); }
  .apisperspective{margin-top: 1.5rem;}
  .banner{margin-top: 9rem; height: inherit;}
  .bannerbg{padding: 5rem; margin: 3rem;}
}

@media (max-width: 576px) {
  .aboutimg { height: 150px !important; }
  .navbar.fixed { position: relative; }
  .banner .banner-slide { align-items: center; text-align: center; padding: 15px 5px; }
  .banner-slider { height: 210px; min-height: 210px; }
  .banner{margin-top: 1rem; height: auto;}
  .bannerbg{padding: 1rem;}
  .about_section { padding-top: 4rem; padding-bottom: 3rem; }
  .heading h2, .contact .heading h2{line-height: inherit;}
  .wc-icon-box{justify-content: start;}
}