/* Custom CSS for Sky Media - Black, White & Orange Text Theme (Fully Responsive & Aligned) */

@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&family=Playfair+Display:ital,wght@1,400;1,600;1,700&display=swap');

:root {
  --bg-black: #05070B;
  --bg-card: rgba(18, 24, 38, 0.65);
  --accent-orange: #FF5500;
  --accent-orange-hover: #ff6611;
  --accent-orange-glow: rgba(255, 85, 0, 0.35);
  --border-glass: rgba(255, 255, 255, 0.1);
  --font-sans: 'Outfit', 'Inter', sans-serif;
  --font-serif: 'Playfair Display', serif;
}

* {
  box-sizing: border-box;
  scroll-behavior: smooth;
}

html, body {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden !important;
  background-color: var(--bg-black);
  color: #f8fafc;
  font-family: var(--font-sans);
  margin: 0;
  padding: 0;
}

/* Glassmorphism Panel */
.glass-panel {
  background: rgba(18, 24, 38, 0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.4);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-panel:hover {
  border-color: rgba(255, 85, 0, 0.4);
}

/* Page 1: Infinite Auto-Running Video Marquee (100% Uniform Card Spacing) */
.video-marquee-container {
  display: flex;
  overflow: hidden;
  user-select: none;
  width: 100%;
  max-width: 100vw;
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}

.video-marquee-content {
  flex-shrink: 0;
  display: flex;
  gap: 1.5rem;
  padding-right: 1.5rem; /* Equal spacing between end of set 1 and start of set 2 */
  width: max-content;
  animation: marqueeVideo 22s linear infinite;
}

@keyframes marqueeVideo {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}

/* Page 2: Center Cutout & Perfectly Aligned Left/Right Service Cards */
.cutout-wrapper-p2 {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 480px;
  width: 100%;
  overflow: visible;
  padding: 10px 0;
}

.cutout-ring {
  position: absolute;
  width: 580px;
  height: 580px;
  border: 1px solid rgba(255, 85, 0, 0.2);
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}

.cutout-img-box-p2 {
  position: relative;
  z-index: 5;
  width: 250px; 
  height: 340px;
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 85, 0, 0.25);
}

@media (min-width: 1024px) {
  .cutout-img-box-p2 {
    width: 270px;
    height: 350px;
    border-radius: 0 !important;
    overflow: visible !important;
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
  }
}

/* Floating Interactive Service Cards */
.service-pop-card {
  background: rgba(15, 20, 30, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 85, 0, 0.4);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  border-radius: 1.25rem;
  padding: 0.85rem 1.1rem;
  display: block;
  width: 100%;
  max-width: 280px;
  text-decoration: none;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.service-pop-card:hover {
  transform: translateY(-3px) scale(1.03);
  border-color: var(--accent-orange);
  box-shadow: 0 0 28px var(--accent-orange-glow);
}

/* Desktop Absolute Position for Page 2 (Left 2 Aligned, Right 2 Aligned) */
@media (min-width: 1024px) {
  .service-pop-card {
    position: absolute;
    z-index: 10;
    width: 270px;
    max-width: 270px;
  }

  /* Left Column (Aligned Straight Vertically) */
  #pop-card-1 { left: 40px; top: 40px; }
  #pop-card-3 { left: 40px; bottom: 40px; }

  /* Right Column (Aligned Straight Vertically) */
  #pop-card-2 { right: 40px; top: 40px; }
  #pop-card-4 { right: 40px; bottom: 40px; }

  #pop-card-1:hover { transform: translateY(-4px) scale(1.03); }
  #pop-card-2:hover { transform: translateY(-4px) scale(1.03); }
  #pop-card-3:hover { transform: translateY(-4px) scale(1.03); }
  #pop-card-4:hover { transform: translateY(-4px) scale(1.03); }
}

@media (max-width: 1023px) {
  .cutout-wrapper-p2 {
    min-height: auto;
    padding: 10px 0;
    flex-direction: column;
    gap: 1rem;
  }
}

/* Page 3: Client Circle Marquee — NEVER PAUSES ON HOVER */
.client-marquee-container {
  display: flex;
  overflow: hidden;
  user-select: none;
  width: 100%;
}

.client-marquee-content {
  flex-shrink: 0;
  display: flex;
  gap: 2.5rem;
  padding-right: 2.5rem;
  width: max-content;
  animation: marqueeClients 20s linear infinite;
}

@keyframes marqueeClients {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}

.client-circle {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  padding: 8px;
}

@media (max-width: 639px) {
  .client-circle {
    width: 64px;
    height: 64px;
    padding: 5px;
  }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #05070B;
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 85, 0, 0.3);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 85, 0, 0.8);
}

/* Pulsing Orange Dot */
.pulse-dot-orange {
  width: 8px;
  height: 8px;
  background-color: #FF5500;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(255, 85, 0, 0.7);
  animation: pulse-orange 1.8s infinite;
}

@keyframes pulse-orange {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(255, 85, 0, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 10px rgba(255, 85, 0, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(255, 85, 0, 0);
  }
}

/* Play Button Glow */
.play-btn-glow {
  box-shadow: 0 0 25px rgba(255, 85, 0, 0.6);
  animation: playGlowOrange 2s infinite alternate;
}

@keyframes playGlowOrange {
  0% { transform: scale(1); box-shadow: 0 0 15px rgba(255, 85, 0, 0.5); }
  100% { transform: scale(1.08); box-shadow: 0 0 35px rgba(255, 85, 0, 0.9); }
}

/* Modal Backdrop */
.modal-backdrop {
  background: rgba(3, 7, 18, 0.9);
  backdrop-filter: blur(20px);
}

/* Custom utility for Video Card */
.video-card {
  width: 280px;
  flex-shrink: 0;
}
@media (min-width: 640px) {
  .video-card {
    width: 340px;
  }
}
@media (min-width: 1024px) {
  .video-card {
    width: 380px;
  }
}

.video-player {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease-in-out;
}

.group:hover .video-player {
  transform: scale(1.05);
}

/* Perfect 1-to-1 Infinite Marquee Animation for Reviews */
@keyframes marquee-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes marquee-right {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

.animate-marquee {
  display: flex;
  gap: 1.5rem;
  width: max-content;
  animation: marquee-left 35s linear infinite;
}

.animate-marquee-reverse {
  display: flex;
  gap: 1.5rem;
  width: max-content;
  animation: marquee-right 35s linear infinite;
}

img {
  max-width: 100%;
  height: auto;
}