/*--------------------------------------------------------------
# Custom Styles (Tailwind handles utilities)
--------------------------------------------------------------*/

/* ===== Smooth Scroll & Global Transitions ===== */
html,
body {
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
}

*,
*::before,
*::after {
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== Header & Navigation ===== */
#header {
  transition: all 0.5s;
  z-index: 997;
  padding: 12px 0;
  border-bottom: 1px solid transparent;
  background: transparent !important;
  box-shadow: none !important;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
}

#header.header-scrolled {
  padding: 10px 0;
  background: #1e293b !important;
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.3) !important;
}

#header.header-inner-pages {
  background: #1e293b !important;
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.3) !important;
}

#header .logo a {
  color: #fff;
  text-decoration: none;
}

#header .logo a span {
  color: #ffc451;
}

#header.header-scrolled .logo a {
  color: #fff;
}

#header.header-scrolled .logo a span {
  color: #ffc451;
}

/* Navbar links */
.navbar {
  padding: 0;
}

.navbar ul {
  margin: 0;
  padding: 0;
  display: flex;
  list-style: none;
  align-items: center;
}

.navbar a,
.navbar a:focus {
  display: flex;
  align-items: center;
  padding: 10px 0 10px 30px;
  font-size: 15px;
  font-weight: 600;
  color: #fff !important;
  white-space: nowrap;
  transition: 0.3s;
  text-decoration: none;
}

.navbar a:hover,
.navbar .active,
.navbar li:hover>a {
  color: #ffc451 !important;
}

#header.header-scrolled .navbar a,
#header.header-scrolled .navbar a:focus {
  color: #fff !important;
}

#header.header-scrolled .navbar a:hover,
#header.header-scrolled .navbar .active,
#header.header-scrolled .navbar li:hover>a {
  color: #ffc451 !important;
}

/* Get Started Button */
.get-started-btn {
  background: linear-gradient(135deg, #d4a017 0%, #f4d68c 100%);
  border-radius: 50px;
  padding: 10px 28px;
  white-space: nowrap;
  transition: all 0.3s;
  font-size: 14px;
  font-weight: 600;
  display: inline-block;
  border: none;
  color: #1e293b !important;
  box-shadow: 0 4px 15px rgba(212, 160, 23, 0.3);
  text-decoration: none;
}

.get-started-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(212, 160, 23, 0.4);
  color: #fff !important;
}

/* ===== Mobile Navigation ===== */
.mobile-nav-toggle {
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  display: none;
  line-height: 0;
  transition: 0.5s;
}

#header.header-scrolled .mobile-nav-toggle {
  color: #fff;
}

@media (max-width: 991px) {
  .mobile-nav-toggle {
    display: block;
  }

  .navbar ul {
    display: none !important;
  }

  .get-started-btn {
    font-size: 12px;
    padding: 8px 18px;
  }
}

@media (min-width: 992px) {
  .navbar ul {
    display: flex !important;
  }
}

.navbar-mobile {
  position: fixed;
  overflow: hidden;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.95);
  transition: 0.3s;
  z-index: 999;
}

.navbar-mobile .mobile-nav-toggle {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 32px;
  color: #fff;
}

.navbar-mobile ul {
  display: flex !important;
  flex-direction: column;
  position: absolute;
  top: 55px;
  right: 15px;
  left: 15px;
  padding: 10px 0;
  background: #1e293b;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  list-style: none;
}

.navbar-mobile a,
.navbar-mobile a:focus {
  padding: 12px 20px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.8) !important;
  text-decoration: none;
  display: block;
}

.navbar-mobile a:hover,
.navbar-mobile .active,
.navbar-mobile li:hover>a {
  color: #ffc451 !important;
}

/* ===== Hero Section ===== */
#hero {
  width: 100%;
  min-height: 100vh;
  padding: 0;
  margin: 0;
  background: url("../img/black-back.jpg") center center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

/* Dark overlay for better contrast on all screens */
#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 0;
}

#hero .container,
#hero>div {
  position: relative;
  z-index: 1;
}

@media (max-width: 768px) {
  #hero {
    /* Use gradient on mobile — photo distorts on portrait screens */
    background-image: linear-gradient(135deg, #0f172a 0%, #1e293b 40%, #0f172a 70%, #1a0a2e 100%);
    background-size: auto;
    min-height: 100svh;
    /* safe viewport height on iOS */
  }

  .floating-logo {
    animation: float-mobile 4s ease-in-out infinite;
  }
}


.floating-logo {
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-20px);
  }

  100% {
    transform: translateY(0px);
  }
}

@keyframes float-mobile {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-8px);
  }

  100% {
    transform: translateY(0px);
  }
}

.hero-subtitle {
  font-size: 1.8rem;
  font-weight: 400;
  color: #fff;
  letter-spacing: -0.5px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
  font-family: 'Inter', sans-serif;
}

@media (max-width: 768px) {
  .hero-subtitle {
    font-size: 1.2rem;
    padding: 0 20px;
  }

  .floating-logo {
    max-width: 280px !important;
  }
}

/* ===== Section Titles ===== */
.section-title {
  padding-bottom: 50px;
  text-align: center;
}

.section-title h2 {
  font-size: 1rem;
  font-weight: 700;
  padding: 0;
  line-height: 1.5;
  margin: 0 0 15px 0;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #d4a017;
  font-family: 'Outfit', sans-serif;
}

.section-title h2::after {
  content: "";
  width: 60px;
  height: 3px;
  display: block;
  background: linear-gradient(135deg, #d4a017 0%, #f4d68c 100%);
  margin: 15px auto 0 auto;
  border-radius: 2px;
}

.section-title p {
  margin: 0;
  font-size: 2.5rem;
  font-weight: 800;
  text-transform: uppercase;
  font-family: 'Outfit', sans-serif;
  color: #1e293b;
  letter-spacing: -1px;
}

body {
  font-family: "Open Sans", sans-serif;
  color: #444444;
  overflow-x: hidden;
  width: 100%;
}

html {
  width: 100%;
}

a {
  letter-spacing: -1px;
}

@media (max-width: 768px) {
  .section-title p {
    font-size: 1.8rem;
  }
}

/* ===== About Cards ===== */
.about-card {
  padding: 30px;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border-left: 4px solid #d4a017;
  border-radius: 0 16px 16px 0;
  transition: all 0.3s ease;
  box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1);
}

.about-card:hover {
  transform: translateX(10px);
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
  border-left-width: 6px;
}

.image-stack img {
  transition: transform 0.5s ease;
}

.image-stack:hover img {
  transform: scale(1.02);
}

/* ===== Client Logos ===== */
.client-logo {
  width: 150px;
  height: 100px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.5;
  transition: all 0.3s ease;
}

.client-logo:hover {
  filter: none;
  opacity: 1;
}

/* ===== Service Cards ===== */
.modern-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 40px 30px;
  transition: all 0.4s ease;
  text-align: center;
  overflow: hidden;
  position: relative;
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
}

.modern-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(135deg, #d4a017 0%, #f4d68c 100%);
}

.modern-card:hover {
  transform: translateY(-10px);
  border-color: #d4a017;
  box-shadow: 0 25px 50px -12px rgba(212, 160, 23, 0.25);
}

/* ===== Testimonials ===== */
.testimonials {
  padding: 100px 0;
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  background: url("../img/testimonials-bg.jpg") no-repeat;
  background-position: center center;
  background-size: cover;
  position: relative;
}

.testimonials::before {
  display: none;
}

.testimonials .section-header {
  margin-bottom: 40px;
}

.testimonial-item {
  text-align: center;
  color: #fff;
  padding: 30px;
}

.testimonial-item p {
  font-style: italic;
  margin: 0 auto 30px auto;
  font-size: 1.1rem;
  line-height: 1.8;
  max-width: 600px;
  color: rgba(255, 255, 255, 0.85);
}

.testimonial-img-container {
  margin-bottom: 20px;
}

.testimonial-img {
  width: 120px;
  border-radius: 50%;
  margin: 0 auto;
  border: 4px solid rgba(255, 255, 255, 0.15);
}

/* ===== Buttons ===== */
.btn-modern-primary {
  display: inline-block;
  padding: 12px 30px;
  background: linear-gradient(135deg, #d4a017 0%, #f4d68c 100%);
  color: #1e293b !important;
  font-weight: 700;
  border-radius: 50px;
  transition: all 0.3s ease;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 1px;
  border: none !important;
  outline: none !important;
  text-decoration: none !important;
  box-shadow: 0 4px 15px rgba(212, 160, 23, 0.3);
}

.btn-modern-primary:hover {
  background: #d4af37;
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(194, 155, 64, 0.4);
  text-decoration: none !important;
}

/* ===== Preloader ===== */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  overflow: hidden;
  background: #fff;
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid #d4a017;
  border-top-color: #fff;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* ===== Back to Top ===== */
.back-to-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 996;
  background: #d4a017;
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.4s;
  text-decoration: none;
}

.back-to-top i {
  font-size: 28px;
  color: #fff;
  line-height: 0;
}

.back-to-top:hover {
  background: #b8860b;
  color: #fff;
}

.back-to-top.active {
  visibility: visible;
  opacity: 1;
}

/* ===== Swiper Overrides (Tailwind Preflight Compatibility) ===== */
.swiper-wrapper {
  display: flex !important;
  align-items: center;
}

.swiper-slide {
  flex-shrink: 0 !important;
  display: flex !important;
  justify-content: center;
  align-items: center;
}

/* ===== Swiper Pagination ===== */
.swiper-pagination-bullet {
  background: #d4a017 !important;
}

/* =========================================================
   PREMIUM MICRO-ANIMATIONS & EFFECTS
   ========================================================= */

/* --- Gradient Shimmer on Buttons --- */
.btn-modern-primary {
  background-size: 200% 100%;
  background-image: linear-gradient(90deg, #d4a017 0%, #f4d68c 40%, #d4a017 60%, #f4d68c 100%);
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
  0% {
    background-position: 200% center;
  }

  100% {
    background-position: -200% center;
  }
}

/* --- Get Started Button Pulse --- */
.get-started-btn {
  position: relative;
  overflow: hidden;
}

.get-started-btn::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
}

.get-started-btn:hover::after {
  opacity: 1;
}

/* --- Hero Floating Particles --- */
#hero::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-image:
    radial-gradient(4px 4px at 8% 15%, rgba(212, 160, 23, 0.9), transparent),
    radial-gradient(3px 3px at 22% 45%, rgba(255, 255, 255, 0.75), transparent),
    radial-gradient(5px 5px at 38% 72%, rgba(244, 214, 140, 0.85), transparent),
    radial-gradient(3px 3px at 55% 18%, rgba(212, 160, 23, 0.80), transparent),
    radial-gradient(4px 4px at 70% 60%, rgba(255, 255, 255, 0.70), transparent),
    radial-gradient(6px 6px at 85% 35%, rgba(244, 214, 140, 0.90), transparent),
    radial-gradient(3px 3px at 12% 85%, rgba(212, 160, 23, 0.75), transparent),
    radial-gradient(4px 4px at 28% 92%, rgba(255, 255, 255, 0.65), transparent),
    radial-gradient(3px 3px at 48% 55%, rgba(244, 214, 140, 0.80), transparent),
    radial-gradient(5px 5px at 63% 88%, rgba(212, 160, 23, 0.70), transparent),
    radial-gradient(4px 4px at 78% 12%, rgba(255, 255, 255, 0.80), transparent),
    radial-gradient(3px 3px at 93% 75%, rgba(244, 214, 140, 0.85), transparent);
  background-size: 100% 100%;
  animation: drift 12s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

@keyframes drift {
  0% {
    transform: translateY(0) translateX(0);
  }

  25% {
    transform: translateY(-18px) translateX(8px);
  }

  50% {
    transform: translateY(0) translateX(-8px);
  }

  75% {
    transform: translateY(18px) translateX(4px);
  }

  100% {
    transform: translateY(0) translateX(0);
  }
}

/* --- Card Glow on Hover --- */
.modern-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(212, 160, 23, 0.08) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}

.modern-card:hover::after {
  opacity: 1;
}

/* --- Section Separator Wave --- */
.section-wave {
  position: relative;
}

.section-wave::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 60px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60'%3E%3Cpath fill='%23f8fafc' d='M0,30 C360,60 1080,0 1440,30 L1440,60 L0,60 Z'/%3E%3C/svg%3E") no-repeat;
  background-size: cover;
  z-index: 2;
}

/* --- Gold Text Gradient for Titles --- */
.text-gradient-gold {
  background: linear-gradient(135deg, #d4a017 0%, #f4d68c 50%, #d4a017 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- Staggered Card Reveal (works with AOS) --- */
.modern-card {
  opacity: 0;
  transform: translateY(30px);
  animation: revealCard 0.6s ease forwards;
}

.modern-card:nth-child(1) {
  animation-delay: 0.1s;
}

.modern-card:nth-child(2) {
  animation-delay: 0.25s;
}

.modern-card:nth-child(3) {
  animation-delay: 0.4s;
}

.modern-card:nth-child(4) {
  animation-delay: 0.55s;
}

.modern-card:nth-child(5) {
  animation-delay: 0.7s;
}

.modern-card:nth-child(6) {
  animation-delay: 0.85s;
}

@keyframes revealCard {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- About Card Slide-In --- */
.about-card {
  position: relative;
  overflow: hidden;
}

.about-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, #d4a017, #f4d68c, #d4a017);
  background-size: 100% 200%;
  animation: borderGlow 3s ease infinite;
}

@keyframes borderGlow {

  0%,
  100% {
    background-position: 0% 0%;
  }

  50% {
    background-position: 0% 100%;
  }
}

/* --- Count Number Pop Effect --- */
.count-box span {
  display: inline-block;
  transition: transform 0.3s ease;
}

.count-box:hover span {
  transform: scale(1.15);
  color: #d4a017;
}

/* --- Testimonial Quote Style --- */
.testimonial-item p::before {
  content: '\201C';
  font-size: 4rem;
  font-family: Georgia, serif;
  color: rgba(212, 160, 23, 0.4);
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  line-height: 1;
}

.testimonial-item {
  position: relative;
}

.testimonial-item p {
  position: relative;
  padding-top: 30px;
}

/* --- Smooth Section Transitions --- */
section {
  position: relative;
}

/* --- Footer Link Hover Underline Animation --- */
#footer a {
  position: relative;
  text-decoration: none;
}

#footer a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: #d4a017;
  transition: width 0.3s ease;
}

#footer a:hover::after {
  width: 100%;
}

/* --- Scroll Progress Indicator --- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, #d4a017, #f4d68c);
  z-index: 9999;
  transition: width 0.1s linear;
}