/* ========== CUSTOM FONTS ========== */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Outfit:wght@300;400;500;600;700;800;900&display=swap");

/* ========== CSS VARIABLES ========== */
:root {
  --dark-blue: #fff;
  --dark-blue-old: #0a1628;
  --navy: #fff;
  --navyOld: #0f2241;
  --steel: #4a5568;
  --steel-light: #a0aec0;
  --accent-orange: #f59e0b;
  --accent-orange-hover: #d97706;
  --white: #ffffff;
  --off-white: #f7fafc;
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
}

/* ========== BASE ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}
body {
  font-family: "Inter", sans-serif;
  overflow-x: hidden;
  background: var(--dark-blue);
  color: var(--white);
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Outfit", sans-serif;
}

/* ========== SCROLL PROGRESS BAR ========== */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  z-index: 9999;
  background: linear-gradient(
    90deg,
    var(--accent-orange),
    #fbbf24,
    var(--accent-orange)
  );
  transition: width 0.1s linear;
  width: 0%;
}

/* ========== PRELOADER ========== */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: var(--dark-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    opacity 0.6s ease,
    visibility 0.6s ease;
}
#preloader.hidden {
  opacity: 0;
  visibility: hidden;
}
.loader-ring {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 3px solid transparent;
  border-top-color: var(--accent-orange);
  border-right-color: var(--accent-orange);
  animation: spin 1s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ========== NAVBAR ========== */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all 0.4s ease;
  background: transparent;
}
#navbar.scrolled {
  background: rgba(10, 22, 40, 0.95);
  backdrop-filter: blur(20px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}
.nav-link {
  position: relative;
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.3s ease;
}
.nav-link:hover,
.nav-link.active {
  color: var(--accent-orange);
}
.nav-link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-orange);
  transition: width 0.3s ease;
}
.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Mobile menu */
#mobile-menu {
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
#mobile-menu.open {
  transform: translateX(0);
}

/* ========== HERO SLIDER ========== */
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}
.hero-slide.active {
  opacity: 1;
}
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.35);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10, 22, 40, 0.85) 0%,
    rgba(15, 34, 65, 0.6) 50%,
    transparent 100%
  );
}
.hero-content {
  position: relative;
  z-index: 10;
}
.hero-dots button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.5);
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}
.hero-dots button.active {
  background: var(--accent-orange);
  border-color: var(--accent-orange);
  transform: scale(1.3);
}

/* ========== FLOATING PARTICLES ========== */
.particle {
  position: absolute;
  border-radius: 50%;
  background: rgba(245, 158, 11, 0.15);
  animation: float-particle linear infinite;
  pointer-events: none;
}
@keyframes float-particle {
  0% {
    transform: translateY(100vh) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(-100vh) rotate(720deg);
    opacity: 0;
  }
}

/* ========== SCROLL REVEAL ANIMATIONS ========== */
.reveal {
  opacity: 0;
  transform: translateY(60px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-80px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}
.reveal-right {
  opacity: 0;
  transform: translateX(80px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}
.reveal-scale {
  opacity: 0;
  transform: scale(0.85);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* ========== SECTION DIVIDER ========== */
.section-divider {
  width: 80px;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent-orange), #fbbf24);
  margin: 0 auto;
}

/* ========== GLASS CARD ========== */
.glass-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.glass-card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(245, 158, 11, 0.3);
  transform: translateY(-8px);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.3),
    0 0 40px rgba(245, 158, 11, 0.1);
}

/* ========== PRODUCT CARDS ========== */
.product-card {
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.241);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.product-card:hover {
  transform: translateY(-12px) scale(1.02);
  border-color: rgba(245, 158, 11, 0.4);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.4),
    0 0 50px rgba(245, 158, 11, 0.15);
}
.product-card .product-img {
  overflow: hidden;
  position: relative;
}
.product-card .product-img img {
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.product-card:hover .product-img img {
  transform: scale(1.12);
}
.product-card .product-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 22, 40, 0.8), transparent);
}

/* ========== PRODUCT SLIDER ========== */
.products-track {
  display: flex;
  gap: 24px;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.slider-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(245, 158, 11, 0.2);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: var(--accent-orange);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  font-size: 20px;
}
.slider-btn:hover {
  background: var(--accent-orange);
  color: var(--dark-blue);
  transform: scale(1.1);
}

/* ========== WHY CHOOSE US ICONS ========== */
.icon-box {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  background: linear-gradient(
    135deg,
    rgba(245, 158, 11, 0.15),
    rgba(245, 158, 11, 0.05)
  );
  border: 1px solid rgba(245, 158, 11, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s ease;
}
.glass-card:hover .icon-box {
  background: linear-gradient(
    135deg,
    var(--accent-orange),
    var(--accent-orange-hover)
  );
  border-color: var(--accent-orange);
  transform: rotateY(180deg);
}
.glass-card:hover .icon-box svg {
  color: var(--dark-blue);
}

/* ========== VISION/MISSION/COMMITMENT ========== */
.vmc-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.01));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 40px 32px;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.vmc-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-orange), #fbbf24);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
}
.vmc-card:hover::before {
  transform: scaleX(1);
}
.vmc-card:hover {
  transform: translateY(-10px);
  box-shadow:
    0 25px 70px rgba(0, 0, 0, 0.4),
    0 0 40px rgba(245, 158, 11, 0.1);
  border-color: rgba(245, 158, 11, 0.3);
}
.vmc-icon {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  background: linear-gradient(
    135deg,
    rgba(245, 158, 11, 0.2),
    rgba(245, 158, 11, 0.05)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: all 0.5s ease;
}
.vmc-card:hover .vmc-icon {
  background: linear-gradient(
    135deg,
    var(--accent-orange),
    var(--accent-orange-hover)
  );
  transform: scale(1.1) rotate(5deg);
}

/* ========== TESTIMONIAL SLIDER ========== */
.testimonial-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 40px;
  position: relative;
}
.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 16px;
  left: 24px;
  font-size: 80px;
  font-family: serif;
  color: rgba(245, 158, 11, 0.15);
  line-height: 1;
}
.testimonial-slide {
  display: none;
  animation: fadeIn 0.6s ease;
}
.testimonial-slide.active {
  display: block;
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.testimonial-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: all 0.3s ease;
}
.testimonial-dots button.active {
  background: var(--accent-orange);
  transform: scale(1.3);
}

/* ========== GALLERY ========== */
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  cursor: pointer;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.gallery-item:hover img {
  transform: scale(1.15);
}
.gallery-item .gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 22, 40, 0.9), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
  display: flex;
  align-items: flex-end;
  padding: 24px;
}
.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

/* ========== CONTACT FORM ========== */
.form-input {
  width: 100%;
  padding: 14px 18px;
  background: rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  color: rgb(0, 0, 0);
  font-family: "Inter", sans-serif;
  font-size: 15px;
  transition: all 0.3s ease;
  outline: none;
}
.form-input:focus {
  border-color: var(--accent-orange);
  background: rgba(0, 0, 0, 0.08);
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.15);
}
.form-input::placeholder {
  color: rgba(0, 0, 0, 0.35);
}

/* ========== BUTTONS ========== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 12px;
  background: linear-gradient(
    135deg,
    var(--accent-orange),
    var(--accent-orange-hover)
  );
  color: var(--dark-blue);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}
.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #fbbf24, var(--accent-orange));
  opacity: 0;
  transition: opacity 0.4s ease;
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(245, 158, 11, 0.4);
}
.btn-primary:hover::before {
  opacity: 1;
}
.btn-primary span {
  position: relative;
  z-index: 1;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 12px;
  background: transparent;
  border: 2px solid rgba(0, 0, 0, 0.3);
  color: rgb(0, 0, 0);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.4s ease;
}
.btn-outline:hover {
  border-color: var(--accent-orange);
  color: var(--accent-orange);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(245, 158, 11, 0.2);
}
.btn-outline-2 {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 12px;
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: rgb(255, 255, 255);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.4s ease;
}
.btn-outline-2:hover {
  border-color: var(--accent-orange);
  color: var(--accent-orange);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(245, 158, 11, 0.2);
}

/* ========== FLOATING CONTACT & SCROLL TOP ========== */
.floating-btn {
  position: fixed;
  z-index: 999;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}
.floating-btn:hover {
  transform: scale(1.12) translateY(-3px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}
#scroll-top {
  bottom: 30px;
  right: 30px;
  background: linear-gradient(
    135deg,
    var(--accent-orange),
    var(--accent-orange-hover)
  );
  color: var(--dark-blue);
  opacity: 0;
  visibility: hidden;
}
#scroll-top.visible {
  opacity: 1;
  visibility: visible;
}
#floating-contact {
  bottom: 100px;
  right: 30px;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: white;
  animation: pulse-green 2s infinite;
}
@keyframes pulse-green {
  0%,
  100% {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  }
  50% {
    box-shadow:
      0 8px 30px rgba(0, 0, 0, 0.3),
      0 0 20px rgba(34, 197, 94, 0.4);
  }
}

/* ========== COUNTER ANIMATION ========== */
.counter-box {
  text-align: center;
  padding: 24px;
}
.counter-num {
  font-size: 48px;
  font-weight: 800;
  font-family: "Outfit", sans-serif;
  background: linear-gradient(135deg, var(--accent-orange), #fbbf24);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ========== FOOTER ========== */
footer a {
  color: rgba(255, 255, 255, 0.6);
  transition: all 0.3s ease;
  text-decoration: none;
}
footer a:hover {
  color: var(--accent-orange);
  padding-left: 5px;
}
.social-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  transition: all 0.3s ease;
  text-decoration: none;
}
.social-icon:hover {
  background: var(--accent-orange);
  color: var(--dark-blue);
  border-color: var(--accent-orange);
  transform: translateY(-4px);
}

/* ========== SECTION BG PATTERNS ========== */
.section-dark {
  background: var(--dark-blue);
}
.section-darker {
  background: #060f1f;
}
.bg-grid-pattern {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  .counter-num {
    font-size: 36px;
  }
  .vmc-card {
    padding: 28px 20px;
  }
  .testimonial-card {
    padding: 28px 20px;
  }
  #scroll-top {
    bottom: 20px;
    right: 16px;
    width: 48px;
    height: 48px;
  }
  #floating-contact {
    bottom: 80px;
    right: 16px;
    width: 48px;
    height: 48px;
  }
}

/* ========== LIGHTBOX ========== */
#lightbox {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(0, 0, 0, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}
#lightbox.active {
  display: flex;
  opacity: 1;
}
#lightbox img {
  max-width: 90%;
  max-height: 85vh;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}
#lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}
#lightbox-close:hover {
  background: var(--accent-orange);
  color: var(--dark-blue);
}

/* ========== HAMBURGER ========== */
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: white;
  margin: 5px 0;
  transition: all 0.3s ease;
}
.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
