:root {
  --primary: #0F4C81;
  --accent: #1FB6FF;
  --muted: #6B7280;
}

body,
html {
  scroll-behavior: smooth;
  background: #0a0e14;
  color: #e9eef6;
}

/* Navbar Alignment + Logo */
.navbar {
  transition: all 0.4s ease;
  padding: 0.6rem 0;
}

.navbar .navbar-brand {
  display: flex;
  align-items: center;
}

.navbar .logo {
  height: 60px;
  filter: drop-shadow(0 2px 6px rgba(31, 182, 255, 0.4));
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  padding: 4px;
}

.navbar.scrolled {
  background: rgba(10, 14, 20, 0.95);
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.4);
}


/* Active Link Highlight */
.nav-link.active,
.nav-link:hover {
  color: var(--accent) !important;
  border-bottom: 2px solid var(--accent);
  transition: 0.3s;
}

/* Video backgrounds */
.video-section {
  position: relative;
  overflow: hidden;
}

.bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(.55);
  z-index: -2;
}

.overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, .3), rgba(0, 0, 0, .6));
  z-index: -1;
}

/* Hero */
.hero h1 {
  line-height: 1.1;
}

.scroll-down {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  opacity: .8;
  animation: bounce 2s infinite;
}

@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translate(-50%, 0);
  }

  40% {
    transform: translate(-50%, -10px);
  }

  60% {
    transform: translate(-50%, -5px);
  }
}
/*to centre evn when page size changes*/
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero .container {
  height: 100%;
}

/* Glass Cards */
.glass-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 18px;
  backdrop-filter: blur(8px);
  transition: transform .3s ease, box-shadow .3s ease;
}

.glass-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, .3);
}

.text-accent {
  color: var(--accent);
}

/* Section Titles */
.section-title {
  font-weight: 800;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}




/* =================== New additions ========================= */
/* ========== Cinematic Hero Enhancements ========== */

/* Slow zoom on video */
.zoom-video {
  animation: zoomSlow 25s ease-in-out infinite alternate;
}

@keyframes zoomSlow {
  0% {
    transform: scale(1);
  }

  100% {
    transform: scale(1.1);
  }
}

/* Fade + slight rise for hero text */
.hero-content {
  opacity: 0;
  transform: translateY(30px);
  animation: heroFadeUp 1.5s ease-out forwards;
  animation-delay: 0.5s;
}

@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

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

/* Gentle glow on buttons */
.glow-btn {
  transition: all 0.3s ease;
  box-shadow: 0 0 0 rgba(31, 182, 255, 0);
}

.glow-btn:hover {
  box-shadow: 0 0 20px rgba(31, 182, 255, 0.5);
  transform: translateY(-3px);
}
.bg-video {
  opacity: 0;
  animation: fadeVideo 2s ease-in forwards;
}

@keyframes fadeVideo {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* =============================
   PARALLAX HERO SCROLL EFFECT
   ============================= */
.hero {
  perspective: 1px;
  overflow: hidden;
  position: relative;
}

.hero .bg-video {
  transform: translateZ(-1px) scale(2);
  transform-origin: center;
  will-change: transform;
  transition: transform 0.2s ease-out;
}

/* Smoothly adjust on scroll */
.parallax-active .hero .bg-video {
  transform: translateY(var(--parallax-offset, 0px)) scale(1.2);
}
/* =============================
   HERO SCROLL FADE OUT EFFECT
   ============================= */
.hero-content {
  transition: opacity 0.3s ease, transform 0.3s ease;
  will-change: opacity, transform;
}
.scroll-down a {
  color: #fff;
  opacity: 0.8;
  text-decoration: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.scroll-down a:hover {
  opacity: 1;
  transform: translateY(-5px);
  color: var(--accent);
}
.scroll-down {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
}

@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translate(-50%, 0);
  }

  40% {
    transform: translate(-50%, -10px);
  }

  60% {
    transform: translate(-50%, -5px);
  }
}
/* =============================
   WhatsApp Floating Button
   ============================= */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 25px;
  right: 25px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50%;
  text-align: center;
  font-size: 30px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  color: #fff;
}
/* =============================
   Navbar Logo Enhancement
   ============================= */
.navbar .logo {
  height: 60px;
  width: auto;
  border-radius: 12px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.05);
  padding: 6px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  filter: drop-shadow(0 0 6px rgba(31, 182, 255, 0.5));
}

.navbar .logo:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 0 10px rgba(31, 182, 255, 0.7));
}

.navbar-brand span {
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #fff;
  font-size: 1.1rem;
}
/* =============================
   Animated Gradient Navbar
   ============================= */
.glassy-nav {
  background: linear-gradient(90deg, rgba(15, 76, 129, 0.8), rgba(31, 182, 255, 0.6), rgba(24, 169, 153, 0.8));
  background-size: 300% 300%;
  animation: gradientFlow 12s ease infinite;
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
  transition: all 0.4s ease;
}

@keyframes gradientFlow {
  0% {
    background-position: 0% 50%;
  }

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

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

/* Solidify on scroll */
.navbar.scrolled {
  background: linear-gradient(90deg, rgba(15, 76, 129, 0.95), rgba(31, 182, 255, 0.9), rgba(24, 169, 153, 0.95));
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

/* Ensure brand area blends smoothly */
.navbar .navbar-brand span {
  background: linear-gradient(90deg, #fff, #aeeaff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shineText 6s linear infinite;
}

@keyframes shineText {
  0% {
    background-position: 0% 50%;
  }

  100% {
    background-position: 200% 50%;
  }
}
.navbar .logo {
  border-radius: 14px;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.1), transparent 70%);
  padding: 8px;
  transition: all 0.3s ease;
  filter: drop-shadow(0 0 6px rgba(31, 182, 255, 0.5));
}

/* ========================= FOOTER IMPROVEMENTS ========================= */

.footer.gradient-footer {
  background: linear-gradient(135deg, #0a0e14 0%, #0f1925 45%, #0a0e14 100%);
  padding-top: 80px;
  padding-bottom: 50px;
  position: relative;
}

/* Footer Logo Improvements */
.footer .logo {
  width: 170px;
  height: auto;
  border-radius: 14px;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.35));
  transition: filter .3s ease, transform .3s ease;
}
.footer .logo:hover {
  transform: translateY(-4px);
  filter: drop-shadow(0 6px 18px rgba(0,0,0,0.55));
}

/* Footer Headings */
.footer h6 {
  margin-bottom: 1rem;
  letter-spacing: .5px;
  color: #ffffff;
  opacity: .95;
}

/* Footer Links */
.footer-links a {
  display: block;
  padding: 6px 0;
  font-size: 0.95rem;
  color: rgba(255,255,255,.75);
  text-decoration: none;
  transition: color .25s ease, transform .25s ease;
}
.footer-links a:hover {
  color: #1FB6FF;
  transform: translateX(4px);
}

/* Social Icons */
.hover-bright:hover {
  opacity: 1 !important;
  color: #1FB6FF !important;
  transform: scale(1.15);
  transition: .3s ease;
}

/* Newsletter inputs */
.footer .form-control-lg {
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
}
.footer .form-control-lg::placeholder {
  color: rgba(255,255,255,.65);
}
.footer .form-control-lg:focus {
  background: rgba(255,255,255,0.18);
  border-color: #1FB6FF;
  box-shadow: 0 0 0 0.25rem rgba(31,182,255,0.25);
}

/* Subscribe Button */
.footer .btn-light {
  font-weight: 600;
  border-radius: 8px;
}

/* Bottom Copyright line */
.footer .border-top {
  border-color: rgba(255,255,255,.25) !important;
}

/* Spacing fix desktop → mobile */
@media (max-width: 768px) {
  .footer .logo { width: 150px; }
  .footer .row > div { text-align: center; }
  .footer-links a { justify-content: center; }
}

/* ========================= CORE EXPERTISE CONTRAST FIX ========================= */

/* Darken overlay *only* for this section */
#expertise .overlay {
  background: rgba(0, 0, 0, 0.55) !important; /* was too light */
}

/* Strengthen text to bright white */
#expertise,
#expertise .section-title,
#expertise .lead,
#expertise .card-title,
#expertise .card-text,
#expertise i {
  color: #ffffff !important;
}

/* Improve glass-card readability */
#expertise .glass-card {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(14px);
}

/* On hover: lift and glow slightly */
#expertise .glass-card:hover {
  transform: translateY(-6px);
  border-color: rgba(31, 182, 255, 0.65);
  box-shadow: 0 0 22px rgba(31, 182, 255, 0.3);
  transition: 0.35s ease;
}
/* ========================= CINEMATIC SCROLL — CORE EXPERTISE ========================= */

#expertise.cinematic-active .overlay {
  transition: opacity 0.6s ease-out;
  opacity: var(--cinematic-opacity, 0.7);
}

/* Fade content in stronger as scene reveals */
#expertise.cinematic-active .container {
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  opacity: var(--cinematic-content-opacity, 0.95);
  transform: translateY(var(--cinematic-content-shift, 0px));
}
/* =============================
   CORE EXPERTISE VISIBILITY FIX
   ============================= */

#expertise .overlay {
  background: rgba(0, 0, 0, 0.55) !important;
}

/* Desktop: darken more because video is brighter on wide screens */
@media (min-width: 992px) {
  #expertise .overlay {
    background: rgba(0, 0, 0, 0.78) !important;
  }
}

/* Make text fully readable */
#expertise .section-title,
#expertise .lead,
#expertise .card-title,
#expertise .card-text,
#expertise i {
  color: #ffffff !important;
  opacity: 1 !important;
}

/* Strengthen glass card for clarity */
#expertise .glass-card {
  background: rgba(0, 0, 0, 0.55) !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
}

/* Improve icon visibility */
#expertise .glass-card i {
  color: #4DA8FF !important;
  /* subtle tech blue accent */
}

/* =============================
   MODAL DARK GLASS THEME FIX
   ============================= */

.modal-backdrop.show {
  opacity: 0.6 !important;
  background: rgba(0, 0, 0, 0.85) !important;
}

/* Modal Container */
.modal-content {
  background: rgba(10, 14, 22, 0.82) !important;
  /* deep glass */
  backdrop-filter: blur(18px) !important;
  -webkit-backdrop-filter: blur(18px) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  border-radius: 14px !important;
  color: #fff !important;
}

/* Header */
.modal-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.18) !important;
}

.modal-title {
  color: #ffffff !important;
  font-weight: 600 !important;
}

/* Body Text */
.modal-body p {
  color: #e6e6e6 !important;
  font-size: 1.05rem !important;
  line-height: 1.6;
}

/* Close Button */
.btn-close {
  filter: invert(1) brightness(200%) !important;
  opacity: 0.8 !important;
}

.btn-close:hover {
  opacity: 1 !important;
}

/* Button inside modal if any */
.modal-content .btn {
  border-radius: 8px !important;
}
/* =============================
   BRANDED MODAL HEADERS
   ============================= */

.modal-header {
  border-bottom: none !important;
  padding-bottom: 0 !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Fix Modal Title Layout */
.modal-title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600 !important;
  font-size: 1.45rem !important;
  color: #4DA8FF !important;
  text-shadow: 0 0 8px rgba(77, 168, 255, 0.4);
  white-space: nowrap;
  /* <-- Prevent line breaking */
  margin-bottom: 0;
}

.modal-title i {
  font-size: 1.6rem;
  color: #4DA8FF;
  filter: drop-shadow(0 0 6px rgba(77, 168, 255, 0.6));
}

/* Title underline accent */
.modal-title::after {
  content: "";
  display: block;
  width: 100%;
  height: 2px;
  margin-top: 8px;
  background: linear-gradient(90deg, #4DA8FF, transparent);
}

/* Modal Body Typography */
.modal-body p {
  color: #e9eef7 !important;
  font-size: 1.1rem;
  line-height: 1.7;
}