body {
  font-family: "Poppins", sans-serif;
  margin: 0;
  overflow-x: hidden;
  background-color: #f4f5f7;
}

/* =========================================
   NAVBAR
========================================= */
.navbar {
  background: rgba(23, 21, 112, 0.9);
  backdrop-filter: blur(10px);
  padding: 1rem 3rem;
}
.navbar-brand img { width: 140px; }
.nav-link {
  color: aqua !important;
  font-weight: 500;
}
.nav-link:hover { color: #f8e004 !important; }
.nav-link.active {
  color: white !important;
  border-bottom: 2px solid #f8e004;
}

/* MOBILE NAV */
@media (max-width: 992px) {
  .navbar { padding: 0.7rem 1.2rem; }
  .navbar-brand img { width: 120px; }
  .nav-link { font-size: 1.1rem; }
}

/* =========================================
   HERO SECTION
========================================= */
/* HERO SECTION */
.hero-section {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding: 150px 20px 50px;
  position: relative;
  overflow: hidden; /* ensures video doesn't spill outside */
}

/* BACKGROUND VIDEO */
.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0; /* IMPORTANT: must NOT be negative on iOS */
  display: block;
}

/* HERO CONTENT ON TOP */
.hero-content {
  position: relative;
  z-index: 2; /* keeps content above video */
}



.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 700;
}

.hero-content p {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 15px auto;
}

/* HERO RESPONSIVE */
@media (max-width: 768px) {
  .hero-content h1 { font-size: 2.3rem; }
  .hero-content p { font-size: 1rem; }
  .btn-custom { padding: 10px 20px; font-size: 0.95rem; }
}

@media (max-width: 480px) {
  .hero-content h1 { font-size: 2rem; }
  .hero-section { padding-top: 110px; }
}

/* =========================================
   TRACKING BOX
========================================= */
.tracking-box {
  background: rgba(0, 0, 0, 0.45);
  padding: 25px 30px;
  border-radius: 15px;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}

@media (max-width: 480px) {
  .tracking-box {
    padding: 18px 20px;
  }
}

/* =========================================
   LOADER (FULLY RESPONSIVE)
========================================= */

#loader {
  position: fixed;
  inset: 0;
  background: #0f172a;
  z-index: 999999;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

/* GLOBE CONTAINER */
.globe-3d-container {
  width: 45vw;
  height: 45vw;
  max-width: 350px;
  max-height: 350px;
  opacity: 0.15;
}

.globe-3d {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: url('images/3dglobe.png') center/cover no-repeat;
  animation: rotate3D 12s linear infinite;
}

/* ROTATION */
@keyframes rotate3D {
  0% { transform: rotateY(0deg) rotateX(5deg); }
  100% { transform: rotateY(360deg) rotateX(5deg); }
}

/* Loader Icons */
.loader-icons {
  display: flex;
  gap: 30px;
  margin-top: 10px;
}

.loader-item {
  font-size: 3rem;
  color: #f8e004;
}

/* Smaller icons for mobile */
@media (max-width: 480px) {
  .loader-item { font-size: 2.2rem; }
  .loader-icons { gap: 18px; }
}

/* Progress bar */
.progress-wrapper {
  width: 60%;
  max-width: 260px;
  height: 10px;
  background: rgba(255,255,255,0.3);
  border-radius: 20px;
  overflow: hidden;
  margin-top: 18px;
}

.progress-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #f8e004, #fff06a);
}

/* Percentage text */
.loading-percent {
  color: white;
  font-size: 1.2rem;
  margin-top: 10px;
}

/* MOBILE */
@media (max-width: 480px) {
  .loading-percent { font-size: 1rem; }
}

/* Fade-out */
.fade-out {
  animation: fadeOutLoader 1s ease forwards;
}
@keyframes fadeOutLoader {
  to { opacity: 0; visibility: hidden; }
}

/* =========================================
   FOOTER
========================================= */
footer {
  background: #0f172a;
  color: white;
  padding: 40px 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 12px;
  margin-top: 20px;
  text-align: center;
}

/* Footer responsive */
@media (max-width: 768px) {
  footer .col-md-4 {
    text-align: center;
  }
}


.stats-section {
  background: #ffffff;
  padding: 60px 0;
}

.stats-section h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #0f172a;
}
.stats-section p {
  color: #555;
}

.counter.plus::after {
  content: "+";
  margin-left: 2px;
}

.section-title {
    font-size: 2.3rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 15px;
}
.section-sub {
    color: #516175;
    max-width: 750px;
    margin: 0 auto 40px;
    font-size: 1.05rem;
}

/* service cards */
.service-card {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: .3s ease;
    height: 100%;
}
.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}
.service-card i {
    font-size: 2rem;
    color: #0f172a;
    margin-bottom: 10px;
}

/* full-width image bands */
.fullwidth-image {
    width: 100%;
    margin: 60px 0;
    border-radius: 15px;
}

/* 3D Globe Parallax */
.globe-band {
    width: 100%;
    height: 300px;
    background: url('images/3dglobe.png') center/cover no-repeat;
    border-radius: 15px;
    filter: brightness(0.9);
    margin: 70px 0;
    animation: floatGlobe 15s linear infinite;
}
@keyframes floatGlobe {
    0% { background-position: center top; }
    50% { background-position: center bottom; }
    100% { background-position: center top; }
}

/* percentage circle */
.percentage-circle {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: conic-gradient(#acc1f3 var(--value), #d9e0e7 0deg);
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
}
.percentage-text {
    font-weight: 700;
    color: #0f172a;
    font-size: 1.1rem;
    text-align: center;
}

/* list styling */
.services ul li {
    margin-bottom: 10px;
    font-size: 1rem;
    line-height: 1.55rem;
}
.services ul li span {
    color: #0f172a;
    font-weight: 600;
}


.parallax {
  position: relative;
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  width: 100%;
  height: 420px;
  border-radius: 15px;
  margin: 70px 0;
  filter: brightness(0.85);
}



.timeline {
  position: relative;
  margin: 40px auto;
  padding: 10px 0;
  width: 100%;
  max-width: 900px;
}
.timeline:before {
  content: "";
  position: absolute;
  width: 4px;
  background: #0f172a;
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -2px;
}
.timeline-item {
  padding: 20px;
  width: 50%;
  position: relative;
}
.timeline-item:nth-child(odd) {
  left: 0;
  text-align: right;
}
.timeline-item:nth-child(even) {
  left: 50%;
}
.timeline-item h5 {
  font-weight: 700;
  color: #0f172a;
}
.timeline-item p {
  color: #516175;
}

/* FLOATING BUTTON */
#chatbot-btn {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 60px;
  height: 60px;
  background: #f8e004;
  color: #0f172a;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 26px;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  z-index: 999999;
}
#chatbot-btn:hover { transform: scale(1.08); }

/* CHAT WINDOW */
#chatbot-box {
  position: fixed;
  bottom: 100px;
  right: 25px;
  width: 330px;
  height: 440px;
  background: white;
  border-radius: 14px;
  display: none;
  flex-direction: column;
  box-shadow: 0 8px 25px rgba(0,0,0,0.3);
  z-index: 999999;
  overflow: hidden;
}

/* HEADER */
#chatbot-header {
  background: #0f172a;
  color: white;
  padding: 14px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
#chatbot-close {
  font-size: 22px;
  cursor: pointer;
}

/* BODY */
#chatbot-body {
  flex-grow: 1;
  padding: 12px;
  overflow-y: auto;
  background: #f4f5f7;
}

/* MESSAGES */
.message {
  max-width: 80%;
  padding: 10px 14px;
  margin: 8px 0;
  border-radius: 12px;
}
.user-msg {
  background: #0f172a;
  color: white;
  margin-left: auto;
}
.bot-msg {
  background: #eaeaea;
  color: #0f172a;
  margin-right: auto;
}

/* QUICK REPLY BUTTONS */
.quick-reply {
  background: #0f172a;
  color: white;
  padding: 8px 10px;
  border-radius: 8px;
  margin: 6px 4px;
  display: inline-block;
  cursor: pointer;
  font-size: .85rem;
}
.quick-reply:hover {
  background: #1b2238;
}

/* TYPING INDICATOR */
.typing {
  width: 45px;
  height: 25px;
  background: #eaeaea;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: auto;
  margin-top: 10px;
}
.typing span {
  width: 7px;
  height: 7px;
  background: #0f172a;
  border-radius: 50%;
  display: inline-block;
  animation: blink 1.4s infinite;
}
.typing span:nth-child(2) { animation-delay: .2s; }
.typing span:nth-child(3) { animation-delay: .4s; }
@keyframes blink {
  0% { opacity: .2; }
  50% { opacity: 1; }
  100% { opacity: .2; }
}

/* INPUT AREA */
#chatbot-input-area {
  display: flex;
  padding: 10px;
  background: white;
  border-top: 1px solid #ccc;
}
#chatbot-input {
  flex-grow: 1;
  border: none;
  padding: 10px;
}
#chatbot-send {
  background: #0f172a;
  color: white;
  border: none;
  width: 45px;
  border-radius: 8px;
}

/* ============================
   PREMIUM LUXURY FOOTER
   Aviantic Logistics Brand
============================ */
.main-footer {
    background: linear-gradient(180deg, #0a0a0a 0%, #000 100%);
    color: #fff;
    font-family: "Poppins", sans-serif;
    padding-top: 60px;
    box-shadow: 0px -2px 20px rgba(0,0,0,0.4);
}

/* GOLD ACCENTS */
:root {
    --gold: #d4af37;
    --gold-soft: #b8962e;
}

/* ============================
   TOP CONTACT SECTION
============================ */
.top-footer {
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-address ul {
    padding: 0;
    list-style: none;
}

.footer-address ul li {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    margin-bottom: 28px;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.03);
    border-left: 3px solid var(--gold);
    border-radius: 6px;
    transition: 0.3s ease;
}

.footer-address ul li:hover {
    background: rgba(212, 175, 55, 0.1);
}

.footer-address i {
    font-size: 28px;
    color: var(--gold);
    margin-top: 3px;
}

.footer-address h5 {
    font-size: 18px;
    margin: 0;
    font-weight: 600;
    color: var(--gold);
}

.footer-address p {
    margin: 0;
    font-size: 15px;
    opacity: 0.9;
    margin-top: 3px;
}

/* ============================
   MIDDLE FOOTER AREA
============================ */
.footer-area {
    padding: 70px 0;
}

.footer-item h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 25px;
    position: relative;
    color: var(--gold);
    letter-spacing: 0.5px;
}

.footer-item h3::after {
    content: "";
    width: 60px;
    height: 3px;
    background: var(--gold);
    position: absolute;
    left: 0;
    bottom: -8px;
    border-radius: 5px;
}

.footer-item p {
    font-size: 15px;
    opacity: 0.85;
    line-height: 1.7;
    margin-top: 10px;
}

/* Important links */
.footer-item ul.lost li {
    margin-bottom: 12px;
}

.footer-item ul.lost li a {
    color: #ddd;
    font-size: 15px;
    text-decoration: none;
    transition: 0.3s;
}

.footer-item ul.lost li a:hover {
    color: var(--gold);
    padding-left: 6px;
}

/* ============================
   COPYRIGHT
============================ */
.footer-copyright {
    background: #000;
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,0.08);
    margin-top: 40px;
}

.footer-copyright p {
    margin: 0;
    font-size: 14px;
    opacity: 0.75;
}

/* ============================
   ANIMATED SCROLL EFFECTS
============================ */

/* Fade-In Up */
.fade-up {
    opacity: 0;
    transform: translateY(25px);
    transition: 0.8s ease-out;
}

.fade-up.active {
    opacity: 1;
    transform: translateY(0);
}

/* Fade-in from left */
.fade-left {
    opacity: 0;
    transform: translateX(-25px);
    transition: 0.8s ease-out;
}

.fade-left.active {
    opacity: 1;
    transform: translateX(0);
}

/* Fade-in from right */
.fade-right {
    opacity: 0;
    transform: translateX(25px);
    transition: 0.8s ease-out;
}

.fade-right.active {
    opacity: 1;
    transform: translateX(0);
}

/* ============================
   RESPONSIVE DESIGN
============================ */
@media (max-width: 991px) {
    .footer-item {
        margin-bottom: 40px;
    }
}

@media (max-width: 575px) {
    .footer-address ul li {
        flex-direction: column;
    }
}
