@import url('https://fonts.googleapis.com/css2?family=Saira:wght@300;400;500;600;700&display=swap');
body{font-family:"Saira",sans-serif}

:root{
  --primary:#1b2830;
  --secondary:#806950;
}

/* ================= HEADER OVERLAY ================= */
.main-header{
  position:absolute;
  left:50%;
  transform:translateX(-50%);
  top:40px;
  z-index:50;
  width:100%;
  max-width:1280px;
}
header{border-radius:0 0 26px 26px}

/* ================= DESKTOP NAV ================= */
.nav-item{
  position:relative;
  display:flex;
  align-items:center;
  gap:6px;
}
.nav-item i{font-size:10px;transition:.3s}
.nav-item:hover i{transform:rotate(45deg)}

nav>a,.nav-item{position:relative}
nav>a::after,.nav-item::after{
  content:'';
  position:absolute;
  left:0;
  bottom:-6px;
  width:0;
  height:2px;
  background:var(--secondary);
  transition:.3s;
}
nav>a:hover::after,.nav-item:hover::after{width:100%}

/* Dropdown */
.dropdown{
  position:absolute;
  top:120%;
  left:0;
  background:#fff;
  min-width:220px;
  box-shadow:0 25px 60px rgba(0,0,0,.18);
  opacity:0;
  visibility:hidden;
  transform:translateY(12px);
  transition:.3s;
  border-radius:10px;
  overflow:hidden;
}
.nav-item:hover .dropdown{
  opacity:1;
  visibility:visible;
  transform:translateY(0);
}
.dropdown a{
  display:block;
  padding:14px 20px;
  font-weight:500;
}
.dropdown a:hover{
  background:#f6f6f6;
  color:var(--secondary);
}

/* ================= DRAWER ================= */
.drawer{
  position:fixed;
  top:0;
  right:-100%;
  width:320px;
  height:100%;
  background:var(--primary);
  z-index:100;
  transition:.4s ease;
}
.drawer.open{right:0}
.drawer-overlay{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.6);
  z-index:90;
  display:none;
}
.drawer-overlay.show{display:block}
.drawer-submenu{display:none}
.drawer-submenu.open{display:block}

/* ================= HERO ================= */
.hero-overlay::before{
  content:'';
  position:absolute;
  inset:0;
  background: linear-gradient(110deg, rgb(27 40 48 / 61%) 38%, rgb(27 40 48 / 53%) 65%, transparent 100%);
  z-index:1;
}
.accent-line{width:4px;background:var(--secondary)}

.tns-controls{
  position:absolute;
  right:50px;
  bottom:50px;
  z-index:20;
}
.tns-controls button{
  width:45px;
  height:45px;
  background:#fff;
  color:var(--primary);
  margin-left:10px;
  box-shadow:0 15px 40px rgba(0,0,0,.35);
  transition:.3s;
}
.tns-controls button:hover{
  background:var(--secondary);
  color:#fff;
  transform:translateY(-6px);
}

@keyframes fadeUp{
  from{opacity:0;transform:translateY(55px)}
  to{opacity:1;transform:translateY(0)}
}
.anim-1{animation:fadeUp .9s ease forwards}
.anim-2{animation:fadeUp .9s ease .15s forwards}
.anim-3{animation:fadeUp .9s ease .3s forwards}

.hero-slider{overflow:hidden}
.bg-zinc-900{background:#1d2931!important}
.header-contact-button{
  background-color: var(--primary);
}
@keyframes spin360 {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.experience-ring {
  animation: spin360 14s linear infinite;
}

.experience-wrapper:hover .experience-ring {
  animation-play-state: paused;
}

.experience-wrapper{
        background: #1b2830!important;
    border-radius: 100%;
    left: 38%;
    bottom: 30%!important;
}
/* ================= HOVER IMAGE EFFECT ================= */
.img-hover {
  transition: transform 0.8s ease;
}
.img-hover:hover {
  transform: scale(1.06) rotate(0.5deg);
}

/* Play button pulse */
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(128,105,80,0.6); }
  70% { box-shadow: 0 0 0 18px rgba(128,105,80,0); }
  100% { box-shadow: 0 0 0 0 rgba(128,105,80,0); }
}
.play-pulse {
  animation: pulse 2.5s infinite;
}

.bg-gradient-to-tr-bg-hover{
   background: linear-gradient(110deg, rgb(27 40 48 / 83%) 38%, rgb(27 40 48 / 89%) 65%, #ffffff17 100%);
}

/* Experience badge hover */
.experience-wrapper {
  transition: transform 0.4s ease;
}
.experience-wrapper:hover {
  transform: scale(1.08);
}

/* Checklist hover */
.check-item:hover i {
  animation: bounce 0.6s;
}
@keyframes bounce {
  0%,100%{transform:translateY(0)}
  50%{transform:translateY(-6px)}
}

/* ================= SCROLL ANIMATIONS ================= */
.reveal {
  opacity: 0;
  transform: translateY(60px);
  transition: all 1s ease;
}
.reveal-left {
  opacity: 0;
  transform: translateX(-80px);
  transition: all 1s ease;
}
.reveal-right {
  opacity: 0;
  transform: translateX(80px);
  transition: all 1s ease;
}
.reveal.show,
.reveal-left.show,
.reveal-right.show {
  opacity: 1;
  transform: translate(0);
}

/* Text hover animations */
.service-card .icon-box{
  transform: translateY(0);
  transition: all .5s ease;
}
.service-card:hover .icon-box{
  transform: translateY(-6px);
}

.service-card h4,
.service-card p,
.service-card a{
  opacity: 0;
  transform: translateY(18px);
  transition: all .6s ease;
}

.service-card:hover h4{
  opacity: 1;
  transform: translateY(0);
  transition-delay: .15s;
}

.service-card:hover p{
  opacity: 1;
  transform: translateY(0);
  transition-delay: .25s;
}

.service-card:hover a{
  opacity: 1;
  transform: translateY(0);
  transition-delay: .35s;
}

/* gradient overlay */
.bg-gradient-to-tr-bg-hover{
    background: linear-gradient(135deg, rgba(27, 40, 48, 1) 0%, rgba(27, 40, 48, .95) 35%, rgb(27 40 48 / 83%) 65%, rgba(27, 40, 48, .55) 100%);
}

.stats-overlay::before{
  content:'';
  position:absolute;
  inset:0;
  background:linear-gradient(
    120deg,
    rgba(27,40,48,.95) 0%,
    rgba(27,40,48,.85) 50%,
    rgba(27,40,48,.78) 100%
  );
  z-index:1;
}

.stat-card{
  position:relative;
}

.stat-divider{
  width:1px;
  height:80px;
  background:rgba(255,255,255,.25);
}

@media(max-width:768px){
  .stat-divider{display:none;}
}

.project-filter {
  padding-bottom: 6px;
  border-bottom: 2px solid transparent;
  color: #888;
  transition: .3s;
}
.project-filter.active {
  color: var(--secondary);
  border-color: var(--secondary);
}

.project-item {
  transition: all .4s ease;
}
.project-item.hide {
  opacity: 0;
  transform: scale(.92);
  pointer-events: none;
  position: absolute;
}

/* Card */
.project-card {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  aspect-ratio: 4 / 3;
}
.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s ease;
}
.project-card:hover img {
  transform: scale(1.1);
}

/* Overlay */
.project-overlay {
  position: absolute;
  inset: 0;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(
    to top,
    rgba(0,0,0,.85),
    rgba(0,0,0,.35),
    transparent
  );
  opacity: 0;
  transition: .4s ease;
}
.project-card:hover .project-overlay {
  opacity: 1;
}

/* Text */
.project-tag {
  font-size: 11px;
  letter-spacing: 2px;
  color: #fff;
  opacity: .8;
  margin-bottom: 6px;
}
.project-overlay h4 {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
}

/* Arrow */
.project-arrow {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  background: #fff;
  color: #000;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 18px;
  transform: scale(.7);
  opacity: 0;
  transition: .4s ease;
}
.project-card:hover .project-arrow {
  opacity: 1;
  transform: scale(1);
}
/* Testimonial Card */
.testimonial-card{
  background:#fff;
  border-radius:20px;
  padding:32px;
  height:100%;
  box-shadow:0 15px 40px rgba(0,0,0,.08);
  transition:.5s ease;
}
.testimonial-card:hover{
  transform:translateY(-8px);
  box-shadow:0 25px 60px rgba(0,0,0,.15);
}

/* Stars */
.stars{
  display:flex;
  gap:4px;
  color:#f4c150;
  font-size:18px;
  margin-bottom:16px;
}

/* Text */
.testimonial-card p{
  color:#555;
  line-height:1.7;
  margin-bottom:28px;
}

/* Client */
.client{
  display:flex;
  gap:14px;
  align-items:center;
}
.avatar{
  width:48px;
  height:48px;
  border-radius:50%;
  background:var(--primary);
  color:#fff;
  font-weight:700;
  display:flex;
  align-items:center;
  justify-content:center;
}
.client h5{
  font-weight:600;
  color:var(--primary);
}
.client span{
  font-size:13px;
  color:#777;
}

/* ================= TESTIMONIAL SLIDER CONTROLS ONLY ================= */

.testimonial-wrapper .tns-controls{
  position:absolute;
  top:50%;
  left:0;
  right:0;
  transform:translateY(-50%);
  pointer-events:none;
  z-index:20;
}

.testimonial-wrapper .tns-controls button{
  pointer-events:auto;
  width:52px;
  height:52px;
  background:#fff;
  border-radius:50%;
  box-shadow:0 12px 30px rgba(0,0,0,.25);
  font-size:18px;
  color:var(--primary);
  transition:.3s ease;
}

/* LEFT */
.testimonial-wrapper .tns-controls button:first-child{
  position:absolute;
  left:-26px;
}

/* RIGHT */
.testimonial-wrapper .tns-controls button:last-child{
  position:absolute;
  right:-26px;
}

/* HOVER */
.testimonial-wrapper .tns-controls button:hover{
  background:var(--secondary);
  color:#fff;
  transform:scale(1.08);
}

/* Mobile safe */
@media(max-width:768px){
  .testimonial-wrapper .tns-controls button:first-child{ left:-10px; }
  .testimonial-wrapper .tns-controls button:last-child{ right:-10px; }
}
.faq-question {
  width: 100%;
  padding: 18px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  color: var(--primary);
  cursor: pointer;
  background: none;
}

.faq-answer {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  color: #6b7280;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
  padding: 0 24px 20px;
  max-height: 300px;
}

.faq-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary);
  transition: all 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  background: var(--secondary);
  color: #fff;
}

.icon-badge-white {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: white;
  color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.bg-gradient-to-tr-background{
  background: linear-gradient(135deg, rgb(27 40 48 / 62%) 0%, rgb(27 40 48 / 66%) 35%, rgb(27 40 48 / 74%) 65%, rgb(27 40 48 / 61%) 100%);
}


/* ===== FOOTER ANIMATED BACKGROUND ===== */
.footer-animated-bg::before,
.footer-animated-bg::after{
  content:'';
  position:absolute;
  inset:-40%;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,0.08), transparent 40%),
    radial-gradient(circle at 70% 70%, rgba(255,255,255,0.05), transparent 40%);
  animation: footerFloat 18s linear infinite;
}

.footer-animated-bg::after{
  animation-duration: 26s;
  opacity:.6;
}

@keyframes footerFloat{
  0%{transform:translate(0,0) rotate(0deg);}
  50%{transform:translate(-4%, -3%) rotate(180deg);}
  100%{transform:translate(0,0) rotate(360deg);}
}
footer a:hover i{
  filter: drop-shadow(0 0 8px rgba(255,255,255,.35));
}