/* =========================================================
   GLOBAL RESET & BASE STYLES
   (Ye tera original reset + font system hai)
========================================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --blue: #145bf5;
  --blue-glow: rgba(20, 91, 245, 0.45);
  --blue-light: #4f9cff;
  --blue-soft: #66b3ff;

  --dark: #020c18;
  --dark2: #03152c;
  --dark3: #0c1623;

  --text: #dbe3ff;
  --text-muted: #b8c1d9;
}

html, body {
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: 'Poppins', sans-serif;
  background: #ffffff;
  color: #1c1f2e;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Common container */
.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* =========================================================
   REVEAL / SCROLL ANIMATIONS (GLOBAL)
========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal-left,
  .reveal-right {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* =========================================================
   HEADER / NAVBAR (COMMON)
========================================================= */
.header {
  background: var(--dark3);
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 25px rgba(255, 255, 255, 0.03);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 40px;
  position: relative;
}

.logo img {
  width: 125px;
  transition: transform 0.3s ease;
}

.logo img:hover {
  transform: scale(1.05);
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 40px;
}

.nav-links a {
  text-decoration: none;
  color: rgb(235, 233, 233);
  font-size: 18px;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--blue-soft);
}

/* HAMBURGER ICON (mobile only) */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1100;
}

.hamburger span {
  width: 26px;
  height: 3px;
  background: #fff;
  border-radius: 2px;
  transition: 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.contact-btn-mobile {
  display: none;
}

/* MOBILE RESPONSIVE NAVBAR */
@media (max-width: 900px) {
  .navbar {
    padding: 10px 20px;
  }

  .hamburger {
    display: flex;
  }

  .contact-btn {
    display: none;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--dark3);
    flex-direction: column;
    align-items: center;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
  }

  .nav-links.active {
    max-height: 500px;
  }

  .nav-links li {
    width: 100%;
    text-align: center;
  }

  .nav-links a {
    display: block;
    padding: 16px 0;
    border-top: 1px solid rgba(255,255,255,0.08);
  }

  .contact-btn-mobile {
    display: block;
  }

  .contact-btn-mobile a {
    display: inline-block;
    margin: 16px 0;
    padding: 10px 28px;
    background: var(--blue);
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
  }
}

.contact-btn a {
  padding: 10px 28px;
  background: var(--blue);
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 500;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-btn a:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--blue-glow);
}

/* =========================================================
   COMMON BUTTONS
========================================================= */
.btn-primary {
  padding: 14px 30px;
  background: var(--blue);
  color: #fff;
  text-decoration: none;
  border-radius: 10px;
  font-weight: 600;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px var(--blue-glow);
}

.btn-outline {
  position: relative;
  font-size: 16px;
  font-weight: 500;
  color: var(--blue-soft);
  text-decoration: none;
  padding-bottom: 4px;
}

.btn-outline::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--blue-light));
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-outline:hover::after {
  width: 100%;
}

/* =========================================================
   GLOBAL SECTION DEFAULTS
========================================================= */
section {
  padding: 90px 0;
}

h2 {
  font-size: 34px;
  font-weight: 700;
  margin-bottom: 22px;
  text-align: center;
}

p {
  line-height: 1.7;
}

/* =========================================================
   FOOTER (COMMON)
========================================================= */
.footer {
  background: #060d1c;
  padding: 60px 0 20px;
  color: #d5d8e1;
}

.footer-container {
  width: 90%;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.footer-logo {
  color: #fff;
  font-weight: 700;
  font-size: 30px;
}

.footer-col h4 {
  color: #fff;
  font-size: 18px;
  margin-bottom: 18px;
}

.footer-col p,
.footer-col ul li a {
  color: #b7bcc7;
  font-size: 15px;
  line-height: 1.8;
  text-decoration: none;
}

.footer-social a img {
  width: 38px;
  height: 38px;
  margin-top: 10px;
  transition: transform 0.3s ease;
}

.footer-social a img:hover {
  transform: scale(1.15);
}

.footer-bottom {
  text-align: center;
  margin-top: 40px;
  padding: 15px 0;
  font-size: 14px;
  background: #0b1324;
  color: #a9b0c0;
  border-top: 1px solid #1b2435;
}

/* =========================================================
   RESPONSIVE (COMMON)
========================================================= */
@media (max-width: 900px) {
  .footer-container {
    grid-template-columns: repeat(2, 1fr);
  }

  .navbar {
    padding: 10px 20px;
  }
}

@media (max-width: 600px) {
  .footer-container {
    grid-template-columns: 1fr;
  }

  h2 {
    font-size: 28px;
  }
}


/* ==========================================================================
   VIDEO LIGHTBOX (full-screen playback with sound on click)
   ========================================================================== */
.video-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  background: radial-gradient(circle at 50% 35%, rgba(64, 120, 255, 0.22), rgba(5, 6, 12, 0.97) 65%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0s linear 0.3s;
}

.video-lightbox.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 0.3s ease, visibility 0s linear 0s;
}

.video-lightbox-stage {
  transform: scale(0.85);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  display: flex;
}

.video-lightbox.is-open .video-lightbox-stage {
  transform: scale(1);
  opacity: 1;
}

.video-lightbox-stage video {
  display: block;
  max-height: 85vh;
  border-radius: 14px;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(255, 255, 255, 0.08);
  background: #000;
}

/* portrait (reels) stay compact so they don't stretch oddly */
.video-lightbox.is-portrait .video-lightbox-stage video {
  max-width: min(90vw, 480px);
}

/* landscape needs real width or it looks tiny in the middle of the screen */
.video-lightbox.is-landscape .video-lightbox-stage video {
  width: min(92vw, 1150px);
  max-width: min(92vw, 1150px);
}

.video-lightbox-close {
  position: absolute;
  top: 24px;
  right: 32px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
  z-index: 1;
}

.video-lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
}
