/* =========================================
   LOCAL SELF-HOSTED FONTS (WOFF2)
   ========================================= */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('font/montserrat-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('font/outfit-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* =========================================
   1. VARIABLES & THEME
   ========================================= */
:root {
  /* Colors */
  --color-bg-dark: #0a0a12; /* Deep Night Blue/Black */
  --color-bg-card: #14141e;
  --color-primary: #b739ff; /* Electric Cyan */
  --color-secondary: #7000ff; /* Deep Purple/Neon */
  --color-text-main: #ffffff;
  --color-text-muted: #e0e0e0;
  --color-accent: #ff0055; /* For CTAs or highlights */
  --color-gold: #ffd700; /* Cinematic Gold for special accents */

  /* Typography */
  --font-heading: "Outfit", sans-serif;
  --font-body: "Montserrat", sans-serif;

  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
  --spacing-xl: 8rem;

  /* Transitions */
  --transition-fast: 0.3s ease;
  --transition-smooth: 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  /* Layout sizes */
  --header-height: 100px;
}

/* =========================================
   2. GLOBAL RESET & UTILITIES
   ========================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg-dark);
  color: var(--color-text-main);
  line-height: 1.6;
  overflow-x: hidden;
  /* Ensure content doesn't hide under fixed header */
  padding-top: var(--header-height);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--spacing-sm);
}

.section {
  padding: var(--spacing-xl) 0;
  position: relative;
  overflow: hidden;
}

/* Typography Utilities */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--color-text-main);
  line-height: 1.2;
  margin-bottom: var(--spacing-sm);
}

h1 {
  font-size: 3.5rem;
  font-weight: 700;
  text-transform: uppercase;
}
h2 {
  font-size: 2.5rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}
h3 {
  font-size: 1.5rem;
  font-weight: 500;
}
p {
  color: var(--color-text-muted);
  margin-bottom: var(--spacing-sm);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 8px 24px;
  font-family: var(--font-heading);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 2px solid transparent;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-text-muted);
  box-shadow: 0 0 15px rgba(0, 242, 255, 0.1);
}

.btn-primary:hover {
  background-color: transparent;
  border-color: var(--color-primary);
  color: var(--color-primary);
  box-shadow: 0 0 25px rgba(0, 242, 255, 0.4);
}

.btn-secondary {
  background-color: transparent;
  border-color: var(--color-text-main);
  color: var(--color-text-main);
}

.btn-secondary:hover {
  background-color: var(--color-text-main);
  color: var(--color-bg-dark);
}

/* Animation Classes */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

.text-white { color: var(--color-text-main); }

.justify-align { text-align: justify; }

.tm-10px { margin-top: 10px; }
.tm-20px { margin-top: 20px; }
.tm-40px { margin-top: 40px; }
.tm-60px { margin-top: 60px; }

/* =========================================
   3. VISUAL HEADER
   ========================================= */
.global-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  height: var(--header-height);
  padding: 0;
  background: linear-gradient(
    to bottom,
    rgba(10, 10, 18, 0.9),
    rgba(10, 10, 18, 0)
  );
  transition:
    background-color 0.4s ease,
    padding 0.4s ease;
}

.global-header.scrolled {
  background-color: rgba(10, 10, 18, 0.95);
  backdrop-filter: blur(10px);
  padding: 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.global-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-container {
  padding-top: 12px;
}

.logo a {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 700;
  font-family: var(--font-heading);
  letter-spacing: 2px;
}

.logo img {
  height: 60px;
  width: auto;
  margin-right: 0;
}

.main-nav ul {
  display: flex;
  gap: 30px;
}

.main-nav a {
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  position: relative;
}

.main-nav a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-primary);
  transition: width 0.3s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 100%;
}

.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--color-bg-card);
  min-width: 250px;
  padding: 10px 0;
  border-top: 2px solid var(--color-primary);
  display: none !important;
  visibility: hidden;
  opacity: 0;
  transform: translateY(6px);
  flex-direction: column;
  gap: 0 !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  z-index: 1500;
}

.dropdown.open .dropdown-menu {
  /* keep for legacy but hide unless hovered/focus-within (overridden below) */
  animation: dropdownFade 0.3s ease forwards;
}

/* Show dropdown on hover for pointer devices (desktop) */
@media (hover: hover) and (min-width: 993px) {
  /* Ensure dropdowns are hidden by default and only shown on hover or keyboard focus */
  .main-nav .dropdown > .dropdown-menu {
    display: none !important;
    visibility: hidden;
    opacity: 0;
    transform: translateY(6px);
  }
  .main-nav .dropdown:hover > .dropdown-menu,
  .main-nav .dropdown:focus-within > .dropdown-menu {
    display: flex !important;
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    animation: dropdownFade 0.18s ease forwards;
  }
  .main-nav .dropdown:hover > a,
  .main-nav .dropdown:focus-within > a {
    color: var(--color-primary);
  }
}

@keyframes dropdownFade {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.dropdown-menu li a {
  display: block;
  padding: 10px 20px;
  font-size: 0.85rem;
  text-transform: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.dropdown-menu li a::after {
  display: none;
}

.dropdown-menu li a:hover {
  background-color: rgba(0, 242, 255, 0.1);
  color: var(--color-primary);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 15px;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--color-primary); /* Use primary color for visibility */
  font-size: 1.8rem;
  padding: 5px;
  cursor: pointer;
  z-index: 1002;
  transition: var(--transition-fast);
}

.mobile-menu-toggle:hover {
  color: var(--color-text-main);
}

/* Mobile Nav Overlay */
.mobile-nav-overlay {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 300px;
  height: 100%;
  background-color: var(--color-bg-card);
  z-index: 1001;
  padding: 50px 30px;
  transition: right 0.4s ease;
  box-shadow: -5px 0 30px rgba(0, 0, 0, 0.5);
}

.mobile-nav-overlay.active {
  right: 0;
}

.close-menu {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
}

.mobile-nav-overlay nav > ul {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mobile-dropdown-menu {
  margin-left: 15px;
  margin-top: 5px;
  display: none;
  border-left: 1px solid var(--color-primary);
  padding-left: 10px;
}

.mobile-dropdown-menu.active {
  display: block;
}

/* =========================================
   4. GLOBAL FOOTER
   ========================================= */
.global-footer {
  background-color: #050508;
  padding: 60px 0 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.global-footer .container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h3 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: var(--color-primary);
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.footer-col ul li a:hover {
  color: var(--color-primary);
  padding-left: 5px;
}

.footer-col p {
  font-size: 0.9rem;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-logo {
  max-height: 80px;
  max-width: 160px;
  margin: 10px 0;
}

.brand-description {
  text-align: justify;
  padding-right: 12px;
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icons a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: var(--transition-fast);
}

.social-icons a:hover {
  background-color: var(--color-primary);
  color: var(--color-bg-dark);
  border-color: var(--color-primary);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: #555;
  font-size: 0.8rem;
}

/* =========================================
   5. RESPONSIVE
   ========================================= */
@media (max-width: 992px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .header-cta .btn {
    display: none;
  }
}

/* =========================================
   6. HERO SECTION
   ========================================= */
.hero-section {
  min-height: 100vh;
  width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: calc(var(--header-height) + 30px) 20px 90px 20px;
}

.video-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.video-background video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-background .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 10, 18, 0.45);
  background: linear-gradient(
    to bottom,
    rgba(10, 10, 18, 0.8) 0%,
    rgba(10, 10, 18, 0.45) 50%,
    rgba(10, 10, 18, 0.95) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
}

.hero-content h1 {
  font-size: 3.5rem;
  line-height: 1.15;
  margin-bottom: 15px;
  text-shadow: 0 4px 25px rgba(0, 0, 0, 0.8);
}

.hero-content h2 {
  font-size: 1.8rem;
  color: var(--color-primary);
  margin-bottom: 20px;
  font-weight: 400;
  text-shadow: 0 2px 15px rgba(0, 0, 0, 0.8);
}

.hero-content p {
  font-size: 1.15rem;
  max-width: 850px;
  margin: 0 auto 35px;
  color: #eee;
  text-align: center;
  text-shadow: 0 2px 15px rgba(0, 0, 0, 0.8);
}

.hero-ctas {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.scroll-indicator {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0.7;
  animation: bounce 2s infinite;
}

.scroll-indicator span {
  font-size: 0.8rem;
  margin-bottom: 5px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translate(-50%, 0);
  }
  40% {
    transform: translate(-50%, -10px);
  }
  60% {
    transform: translate(-50%, -5px);
  }
}

/* =========================================
   7. CLIENT BAR
   ========================================= */
.client-bar {
  background-color: #ececec;
  padding: 30px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  overflow: hidden;
}

.client-title {
  text-align: center;
  color: #06060c;
  text-transform: uppercase;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2px;
  margin-bottom: 20px;
  opacity: 0.5;
}

.client-logo-wrapper {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.client-logos {
  display: flex;
  width: max-content;
  animation: scroll 30s linear infinite;
  gap: 50px;
}

.client-logos img {
  height: 175px;
  width: auto;
  filter: grayscale(0.3) brightness(0.9);
  opacity: 0.8;
  transition: var(--transition-fast);
}

.client-logos img:hover {
  opacity: 1;
  filter: grayscale(0) brightness(1) invert(0);
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* =========================================
   8. ABOUT PREVIEW SECTION
   ========================================= */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-features {
  margin: 30px 0;
}

.about-features li {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
}

.about-features li i {
  color: var(--color-primary);
}

.about-image {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
}

.about-image img {
  width: 100%;
  border-radius: 10px;
  transition: transform 0.5s ease;
}

.about-image:hover img {
  transform: scale(1.05);
}

.experience-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background-color: var(--color-primary);
  color: var(--color-bg-dark);
  padding: 16px 20px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.experience-badge .count {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
}

/* =========================================
   9. SERVICES OVERVIEW
   ========================================= */
.services-overview {
  background-color: var(--color-bg-card);
}

.center-align {
  text-align: center;
  margin-bottom: 60px;
}

.center-align h3 {
  color: var(--color-primary);
  font-size: 1rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.services-grid-wrapper {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.services-row {
  display: grid;
  gap: 30px;
}

.services-row.row-1 {
  grid-template-columns: repeat(2, 1fr);
}

.services-row.row-2 {
  grid-template-columns: repeat(3, 1fr);
}

.service-card {
  position: relative;
  background-color: #0d0d14;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 40px;
  overflow: hidden;
  height: 350px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition:
    transform 0.4s ease,
    border-color 0.4s ease;
  /* group: service-card; removed */
}

.service-card:hover {
  transform: translateY(-10px);
  border-color: var(--color-primary);
}

.service-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
  z-index: 0;
}

.service-card:hover .service-bg {
  opacity: 0.8;
  transform: scale(1.08);
}

.service-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background: linear-gradient(to bottom,  rgba(0, 0, 0, 0), rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.9));
}

.service-card:hover .service-overlay {
  opacity: 0.85;
}

.service-icon {
  position: absolute;
  top: 30px;
  right: 30px;
  font-size: 3rem;
  color: rgba(255, 255, 255, 0.1);
  transition: color 0.4s ease;
  z-index: 1;
}

.service-card:hover .service-icon {
  color: var(--color-primary);
}

.service-content {
  position: relative;
  z-index: 2;
}

.service-content h4 {
  font-size: 1.5rem;
  margin-bottom: 8px;
  color: #fff;
}

.service-content p {
  font-size: 0.95rem;
  margin-bottom: 10px;
  opacity: 0.9;
  transition: opacity 0.3s ease;
}

.service-card:hover .service-content p {
  opacity: 1;
}

.learn-more {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text-muted);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  opacity: 1;
  transition: all 0.3s ease;
  padding: 5px 10px;
  border-radius: 20px;
  border: solid thin var(--color-primary);
}

.learn-more:hover{
  border-color: var(--color-text-main);
  color: var(--color-text-muted);
}

.service-card:hover .learn-more {
  transform: translateX(0);
  opacity: 1;
}

/* Pyro Drones Full-Width Preview Card */
.pyro-service-preview {
  margin-top: 40px;
  background-color: #0d0d14;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 40px;
  transition: border-color 0.4s ease, transform 0.4s ease;
}

.pyro-service-preview:hover {
  border-color: var(--color-primary);
}

.pyro-preview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.pyro-preview-image {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  height: 340px;
}

.pyro-preview-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  transition: transform 0.5s ease;
}

.pyro-service-preview:hover .pyro-preview-image img {
  transform: scale(1.05);
}

.pyro-preview-text h3 {
  color: var(--color-primary);
  font-size: 1rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.pyro-preview-text h2 {
  font-size: 1.8rem;
  color: #fff;
  margin-bottom: 16px;
  line-height: 1.2;
}

.pyro-preview-text p {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
}

@media (max-width: 992px) {
  .pyro-preview-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .pyro-service-preview {
    padding: 25px;
  }
  
  .pyro-preview-image {
    height: 250px;
  }
}

/* Service Applications Slider */
.service-applications-container {
  overflow: hidden;
  width: 100%;
  margin-top: 60px;
  position: relative;
  padding: 20px 0;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}

.service-applications-container.is-dragging {
  cursor: grabbing;
}

.service-applications-container h2 {
  color: var(--color-text-main);
  font-size: 2rem;
  text-align: center;
  align-content: center;
  margin-bottom: 20px;
}

.service-applications-inner {
  display: flex;
  gap: 30px;
  width: max-content;
  will-change: transform;
}

.service-application {
  flex: 0 0 auto; /* Width will be set via JS */
  background: var(--color-bg-card);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition:
    transform 0.3s ease,
    border-color 0.3s ease;
  box-sizing: border-box;
}

.service-application:hover {
  transform: translateY(-5px);
  border-color: var(--color-primary);
}

.service-application img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.service-application-info {
  padding: 25px;
}

.service-application-info h4 {
  font-size: 1.25rem;
  margin-bottom: 10px;
  color: #fff;
}

.service-application-info p {
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* =========================================
   10. FEATURED PROJECTS
   ========================================= */
.featured-projects .fluid-container {
  padding-left: 0;
  /* padding-right: 0; Optional if we want it completely full width */
}

.featured-projects .section-header {
  padding-left: var(--spacing-sm);
  margin-bottom: 40px;
}

.featured-projects .section-header h3 {
  color: var(--color-primary);
  font-size: 1rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.projects-slider {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  padding-bottom: 30px;
  padding-left: var(--spacing-sm);
  padding-right: var(--spacing-sm);
}

.project-card {
  width: 100%;
  height: 400px;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.project-card:hover img {
  transform: scale(1.1);
}

.project-info {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 20px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
  transform: translateY(10px);
  transition: transform 0.3s ease;
}

.project-card:hover .project-info {
  transform: translateY(0);
}

.project-info h4 {
  font-size: 1.3rem;
  margin-bottom: 5px;
}

.project-info p {
  margin-bottom: 0;
  font-size: 0.9rem;
  color: var(--color-primary);
}

/* =========================================
   11. TECH & SAFETY PREVIEW
   ========================================= */
.tech-safety {
  background: radial-gradient(
    circle at 30% 50%,
    #1a1a2e 0%,
    var(--color-bg-dark) 60%
  );
}

.tech-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.tech-content h3 {
  color: var(--color-primary);
  font-size: 1rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.tech-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin: 40px 0;
}

.point {
  display: flex;
  gap: 15px;
}

.point i {
  font-size: 2rem;
  color: var(--color-primary);
}

.point h5 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 5px;
  color: #fff;
}

.point p {
  font-size: 0.9rem;
  line-height: 1.4;
}

.tech-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.tech-visual img {
  max-width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: contain;
  border-radius: 12px;
  filter: drop-shadow(0 15px 35px rgba(0, 0, 0, 0.5));
  transition: transform 0.5s ease;
}

.tech-visual:hover img {
  transform: translateY(-8px) scale(1.03);
}

@media (max-width: 992px) {
  .tech-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .tech-visual img {
    max-height: 320px;
  }
}

/* =========================================
   12. SHOWREEL SECTION
   ========================================= */
.showreel {
  background-color: #000;
}

.video-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #000;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* =========================================
   13. DUBAI DIVISION HIGHLIGHT
   ========================================= */
.dubai-division {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  background-color: #0c0c16;
}

.dubai-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("https://images.unsplash.com/photo-1512453979798-5ea904ac66de?ixlib=rb-4.0.3&auto=format&fit=crop&w=1600&q=80");
  background-size: cover;
  background-position: center;
  filter: grayscale(100%) brightness(0.3);
  transition: filter 0.8s ease;
}

.dubai-division:hover .dubai-bg {
  filter: grayscale(0%) brightness(0.5);
}

.dubai-content {
  position: relative;
  z-index: 2;
  background: rgba(10, 10, 18, 0.8);
  backdrop-filter: blur(10px);
  padding: 50px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.location-tag {
  display: inline-block;
  color: var(--color-primary);
  font-weight: 600;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.dubai-content h2 {
  margin-bottom: 20px;
}

.dubai-content p {
  margin-bottom: 30px;
}

/* =========================================
   14. FINAL CTA
   ========================================= */
.final-cta {
  background: linear-gradient(135deg, var(--color-bg-dark) 0%, #1a1a3a 100%);
  text-align: center;
}

.final-cta h2 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.btn-large {
  padding: 18px 50px;
  font-size: 1.1rem;
}

/* =========================================
   15. FAQ & CONTACT
   ========================================= */
.faq-contact-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 80px;
}

.faq-wrapper h3,
.quick-contact h3 {
  margin-bottom: 30px;
  color: var(--color-primary);
}

.faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 20px;
}

.faq-question {
  padding: 15px 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.1rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

.faq-question:hover {
  color: var(--color-primary);
}

.faq-question i {
  font-size: 0.9rem;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
  transform: rotate(45deg);
  color: var(--color-primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-answer p {
  padding-bottom: 20px;
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

.faq-item.active .faq-answer {
  max-height: 800px; /* Allow for variable answer height */
}

/* Contact Cards */
.contact-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: rgba(255, 255, 255, 0.03);
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 20px;
  transition: background 0.3s ease;
}

.contact-card:hover {
  background: rgba(255, 255, 255, 0.08);
}

.contact-card a:hover {
  scale: 1.2;
  font-weight: 600;
  color: var(--color-primary);
}

.contact-card i {
  font-size: 1.5rem;
  color: var(--color-primary);
}

.contact-card h5 {
  font-size: 0.9rem;
  margin-bottom: 5px;
  color: #fff;
}

.contact-card p {
  margin-bottom: 0;
  color: var(--color-text-muted);
}

.social-links-row {
  display: flex;
  gap: 20px;
  margin-top: 30px;
}

.social-links-row a {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.social-links-row a:hover {
  background: var(--color-primary);
  color: var(--color-bg-dark);
  transform: translateY(-5px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .services-row.row-1,
  .services-row.row-2,
  .about-grid,
  .tech-grid,
  .faq-contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .projects-slider {
    grid-template-columns: 1fr;
  }

  .project-card {
    height: 300px;
  }

  .project-info {
    transform: translateY(0);
  }

  .client-logos {
    gap: 35px;
  }

  .client-logos img {
    height: 100px;
    max-width: 160px;
    object-fit: contain;
  }

  .experience-badge {
    bottom: 15px;
    left: 15px;
    padding: 12px 18px;
  }

  .experience-badge .count {
    font-size: 1.8rem;
  }

  .experience-badge .label {
    font-size: 0.8rem;
  }

  .stats-grid {
    margin-top: 30px;
    gap: 20px;
  }

  .stat-item {
    min-width: unset;
    width: 100%;
    max-width: 320px;
    padding: 20px;
  }

  .content-image {
    margin: 25px 0;
  }

  .hero-content h1 {
    font-size: 2.2rem;
    line-height: 1.2;
  }

  .hero-content h2 {
    font-size: 1.25rem;
    margin-bottom: 15px;
  }

  .hero-content p {
    font-size: 0.95rem;
    margin-bottom: 25px;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .hero-ctas .btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  .dubai-content {
    margin: 20px;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 1.75rem;
  }

  .hero-content h2 {
    font-size: 1.15rem;
  }

  .hero-content p {
    font-size: 0.9rem;
  }

  .client-logos {
    gap: 25px;
  }

  .client-logos img {
    height: 70px;
    max-width: 130px;
    object-fit: contain;
  }

  .pyro-preview-image {
    height: 220px;
  }

  .service-application img {
    height: 190px;
  }

  .project-card {
    height: 240px;
  }

  .project-info {
    padding: 15px;
  }

  .project-info h4 {
    font-size: 1.1rem;
  }

  .tech-visual img {
    max-height: 220px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item {
    height: 220px;
  }

  .blog-image {
    height: 200px;
  }

  .page-header {
    min-height: 200px;
  }

  .page-header h1 {
    font-size: 2rem;
  }
}

/* =========================================
   16. ABOUT PAGE SPECIFIC STYLES
   ========================================= */
.page-header {
  height: 35vh;
  min-height: 260px;
  background-color: var(--color-bg-dark);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.page-header-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0.4;
}

.page-header-content {
  position: relative;
  z-index: 2;
}

.about-overview-section {
  padding: 80px 0;
}

.overview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
@media (max-width: 992px) {
  .overview-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}
.overview-grid img {
  width: 100%;
  height: auto;
  display: block;
}

.overview-text h2 {
  font-size: 2.5rem;
  margin-bottom: 30px;
  color: var(--color-text-main);
}

.overview-text h3 {
  color: var(--color-primary);
}

.overview-text p {
  margin-bottom: 20px;
  font-size: 1.1rem;
  text-align: justify;
}

.global-presence {
  background-color: #0f0f1a;
  text-align: center;
}

.map-placeholder {
  margin-top: 50px;
  height: 400px;
  background-image: url("https://upload.wikimedia.org/wikipedia/commons/e/ec/World_map_blank_without_borders.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.2;
  position: relative;
}

.stats-grid {
  display: flex;
  justify-content: center;
  gap: 50px;
  flex-wrap: wrap;
  margin-top: -100px; /* Overlap map */
  position: relative;
  z-index: 2;
}

.stat-item {
  background: rgba(10, 10, 18, 0.9);
  border: 1px solid var(--color-primary);
  padding: 30px;
  border-radius: 8px;
  min-width: 200px;
}

.stat-item h3 {
  font-size: 3rem;
  color: var(--color-primary);
  margin-bottom: 5px;
}

.safety-section {
  background-color: var(--color-bg-dark);
}

.why-us-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.why-card {
  background: var(--color-bg-card);
  padding: 40px;
  border-radius: 8px;
  border-top: 2px solid transparent;
  transition: all 0.3s ease;
}

.why-card p {
  text-align: justify;
}

/* =========================================
   17. SERVICE PAGE STYLES
   ========================================= */
.service-overview-section {
  padding: 80px 0;
}

.service-gallery {
  background-color: #000;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.gallery-item {
  position: relative;
  height: 300px;
  overflow: hidden;
  border-radius: 8px;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.process-section {
  background-color: var(--color-bg-card);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-top: 50px;
}

.step-card {
  background: rgba(255, 255, 255, 0.02);
  padding: 30px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  transition: transform 0.3s ease;
}

.step-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.05);
}

.step-number {
  font-size: 3rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.05);
  position: absolute;
  top: 20px;
  right: 20px;
  line-height: 1;
}

.step-card h4 {
  margin-top: 20px;
  margin-bottom: 15px;
  color: var(--color-primary);
}

.step-card p {
  font-size: 0.95rem;
}

.why-card:hover {
  border-top-color: var(--color-primary);
  transform: translateY(-5px);
}

.why-card i {
  font-size: 2.5rem;
  color: var(--color-primary);
  margin-bottom: 20px;
}

/* =========================================
   18. PORTFOLIO PAGE STYLES
   ========================================= */
.portfolio-filters {
  margin-bottom: 50px;
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.filter-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 10px 25px;
  color: #fff;
  font-family: var(--font-heading);
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 30px;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--color-primary);
  color: var(--color-bg-dark);
  border-color: var(--color-primary);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
}

.portfolio-item {
  position: relative;
  height: 400px;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.portfolio-item:hover img {
  transform: scale(1.15);
}

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.95), transparent);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-content {
  transform: translateY(20px);
  transition: transform 0.4s ease;
}

.portfolio-item:hover .portfolio-content {
  transform: translateY(0);
}

.portfolio-content span {
  color: var(--color-primary);
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 1px;
  margin-bottom: 5px;
  display: block;
}

.portfolio-content h3,
.portfolio-title {
  color: #fff;
  font-weight: 700;
  margin-bottom: 6px;
  font-size: 1.4rem;
  line-height: 1.2;
}

.portfolio-meta {
  color: var(--color-primary);
  font-size: 0.95rem;
  font-weight: 600;
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.portfolio-meta i {
  color: var(--color-primary);
}

.section-description {
  color: var(--color-primary);
  font-size: 1rem;
  font-weight: 600;
}

.portfolio-link {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  font-size: 1.2rem;
  transition: background 0.3s ease;
}

.portfolio-link:hover {
  background: var(--color-primary);
  color: var(--color-bg-dark);
}

.youtube-btn {
  margin-top: 28px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: #ff0000;
  color: #ffffff !important;
  font-weight: 600;
  border-radius: 30px;
  padding: 12px 30px;
  border: 1px solid #ff0000;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 0, 0, 0.3);
}

.youtube-btn i.fa-youtube {
  font-size: 1.4rem;
}

.youtube-btn:hover {
  background-color: #cc0000;
  border-color: #cc0000;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 0, 0, 0.5);
  color: #ffffff !important;
}

/* =========================================
   19. BLOG PAGE STYLES
   ========================================= */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 40px;
}

.blog-card {
  background: var(--color-bg-card);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.blog-card:hover {
  transform: translateY(-10px);
}

.blog-image {
  height: 250px;
  position: relative;
  overflow: hidden;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-card:hover .blog-image img {
  transform: scale(1.1);
}

.blog-date {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--color-primary);
  color: var(--color-bg-dark);
  padding: 10px 15px;
  border-radius: 8px;
  text-align: center;
  font-weight: 700;
  line-height: 1.2;
}

.blog-date span {
  display: block;
}

.blog-date .day {
  font-size: 1.5rem;
}

.blog-date .month {
  font-size: 0.8rem;
  text-transform: uppercase;
}

.blog-content {
  padding: 30px;
}

.blog-meta {
  display: flex;
  gap: 20px;
  margin-bottom: 15px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

.blog-meta i {
  color: var(--color-primary);
  margin-right: 5px;
}

.blog-content h3 {
  margin-bottom: 15px;
  font-size: 1.3rem;
  line-height: 1.4;
}

.blog-content p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 20px;
}

.read-more {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: gap 0.3s ease;
}

.read-more:hover {
  gap: 15px;
}

.pagination {
  margin-top: 60px;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.page-link {
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.3s ease;
}

.page-link.active,
.page-link:hover {
  background: var(--color-primary);
  color: var(--color-bg-dark);
}

/* =========================================
   20. CONTACT PAGE STYLES
   ========================================= */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: flex-start;
}

.contact-info h3,
.contact-form-container h3 {
  margin-bottom: 10px;
  color: #fff;
}

.contact-info p {
  margin-bottom: 40px;
  opacity: 0.8;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
  background: rgba(255, 255, 255, 0.03);
  padding: 20px;
  border-radius: 8px;
  transition: background 0.3s ease;
}

.info-item:hover {
  background: rgba(255, 255, 255, 0.08);
}

.info-item .icon {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--color-primary);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.info-item h4 {
  margin-bottom: 5px;
  color: #fff;
}

.info-item p {
  margin-bottom: 0;
  font-size: 0.95rem;
}

.social-connect h4 {
  margin-bottom: 15px;
  margin-top: 40px;
}

.contact-form-container {
  background: var(--color-bg-card);
  padding: 40px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-form .form-group {
  margin-bottom: 20px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 15px;
  border-radius: 6px;
  color: #fff;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--color-primary);
}

.map-section {
  height: 450px;
  width: 100%;
  filter: invert(90%) hue-rotate(180deg); /* Dark mode map effect */
}

@media (max-width: 900px) {
  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .logo img {
    height: 50px;
  }
}

/* =========================================
   21. PORTFOLIO PAGE STYLES
   ========================================= */
.portfolio-filters {
  margin-bottom: 40px;
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.filter-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  padding: 10px 25px;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.9rem;
  font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-bg-dark);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

@media (max-width: 992px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
}

/* Video Gallery Grid */
.video-gallery {
  margin-top: 100px;
}

.video-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-top: 40px;
}

.video-gallery-item {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  overflow: hidden;
  border-radius: 12px;
  background: #000;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.video-gallery-item iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* =========================================
   YouTube Facade / Lite Embed
   ========================================= */
.yt-facade {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  cursor: pointer;
  background-color: #000;
  display: block;
  overflow: hidden;
  border-radius: 12px;
}

.yt-facade img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.3s ease, filter 0.3s ease;
  display: block;
  z-index: 1;
}

.yt-facade:hover img {
  transform: scale(1.03);
  filter: brightness(1.08);
}

.yt-facade .yt-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 68px;
  height: 48px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 2;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s cubic-bezier(0, 0, 0.2, 1);
  pointer-events: none;
}

.yt-facade .yt-play-btn svg {
  width: 68px;
  height: 48px;
  display: block;
}

.yt-facade:hover .yt-play-btn {
  transform: translate(-50%, -50%) scale(1.15);
}

.yt-facade .yt-play-bg {
  transition: fill 0.2s ease, fill-opacity 0.2s ease;
}

.yt-facade:hover .yt-play-bg {
  fill: #ff0000;
  fill-opacity: 1;
}

.yt-facade iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  z-index: 3;
}

.shorts-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-top: 40px;
}

.shorts-gallery-item {
  position: relative;
  padding-bottom: 177.78%; /* 9:16 Aspect Ratio for Shorts */
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  background: #000;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.shorts-gallery-item iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 768px) {
  .video-gallery-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* =========================================
   22. BLOG SINGLE PAGE STYLES
   ========================================= */
.blog-single-wrapper {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 60px;
  align-items: flex-start;
}

.blog-entry-content h1 {
  font-size: 2.8rem;
  margin-bottom: 10px;
  color: #fff;
}

.blog-main-content .blog-entry-content h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
  color: #fff;
  line-height: 1.2;
}

.blog-lead {
  font-size: 1.2rem;
  color: var(--color-primary);
  line-height: 1.6;
  margin-bottom: 30px;
  font-family: var(--font-heading);
}

.blog-entry-content p {
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.8);
}

.content-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 40px 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.blog-entry-content h3 {
  font-size: 1.8rem;
  margin: 40px 0 20px;
  color: #fff;
}

blockquote {
  border-left: 4px solid var(--color-primary);
  padding: 30px 40px;
  background: rgba(183, 57, 255, 0.05);
  font-size: 1.4rem;
  font-style: italic;
  margin: 40px 0;
  color: #fff;
  font-family: var(--font-heading);
}

/* Sidebar Styling */
.blog-sidebar {
  display: flex;
  flex-direction: column;
  gap: 40px;
  position: sticky;
  top: calc(var(--header-height) + 40px);
}

.sidebar-widget {
  background: var(--color-bg-card);
  padding: 30px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.widget-title {
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 10px;
}

.author-widget {
  text-align: center;
}

.author-img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  display: inline-block;
  margin-bottom: 20px;
  border: 3px solid var(--color-primary);
}

.author-info h4 {
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 5px;
}

.author-title {
  font-size: 0.85rem;
  color: var(--color-primary);
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 15px;
}

.author-meta-item {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

.blog-sidebar .info-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
  font-size: 0.95rem;
}

.info-item .info-label {
  font-weight: 600;
  color: var(--color-primary);
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag {
  background: rgba(255, 255, 255, 0.05);
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.3s ease;
}

.tag:hover {
  background: var(--color-primary);
  color: var(--color-bg-dark);
}

/* Post Navigation */
.post-navigation {
  display: flex;
  justify-content: space-between;
  padding-top: 60px;
  margin-top: 60px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.post-navigation a {
  max-width: 45%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.nav-next {
  text-align: right;
}

.nav-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-primary);
  letter-spacing: 1px;
}

.nav-title {
  font-size: 1.1rem;
  color: #fff;
  font-weight: 600;
  transition: color 0.3s ease;
}

.post-navigation a:hover .nav-title {
  color: var(--color-primary);
}

/* Related Blogs Section */
.related-blogs {
  background: rgba(255, 255, 255, 0.02);
}

.related-blogs h2 {
  margin-bottom: 40px;
  text-align: center;
}

@media (max-width: 992px) {
  .blog-single-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .blog-sidebar {
    position: static;
    order: 2;
  }
}

@media (max-width: 768px) {
  .blog-main-content .blog-entry-content h2 {
    font-size: 1.8rem;
  }

  .post-navigation {
    flex-direction: column;
    gap: 30px;
  }

  .post-navigation a {
    max-width: 100%;
  }

  .nav-next {
    text-align: left;
  }
}

.bbrd {
  border: #fff solid medium;
}

/* WhatsApp button */
.whatsapp-float {
  position: fixed;
  left: 30px;
  bottom: 30px;
  background: #b739ff;
  color: #fff;
  padding: 8px 14px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(183, 57, 255, 0.35);
  transition: 0.3s ease;
  z-index: 999;
}

.whatsapp-float:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(183, 57, 255, 0.45);
}

.wa-icon {
  font-size: 24px;
}

/* scroll to top */
.scroll-top {
  position: fixed;
  right: 30px;
  bottom: 30px;
  width: 80px;
  height: 80px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s ease;
  z-index: 999;
}

.scroll-top.active {
  opacity: 1;
  visibility: visible;
}

.progress-ring {
  position: absolute;
  inset: 0;
  transform: rotate(-90deg);
  z-index: 1;
}

.progress-ring-bg {
  fill: transparent;
  stroke: rgba(183, 57, 255, 0.2);
}

.progress-ring-circle {
  fill: transparent;
  stroke: #b739ff;
  stroke-linecap: round;
  transition: stroke-dashoffset 0.2s linear;
}

.scroll-content {
  position: absolute;
  inset: 0;
  z-index: 2;               /* ABOVE SVG */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

/* FAQ CTA Card */
.faq-cta-card {
  background: linear-gradient(145deg, rgba(20, 20, 30, 0.8), rgba(10, 10, 18, 0.9));
  border: 1px solid rgba(183, 57, 255, 0.2);
  border-radius: 12px;
  padding: 45px 35px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  height: 100%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.faq-cta-card:hover {
  border-color: var(--color-primary);
  box-shadow: 0 15px 35px rgba(183, 57, 255, 0.15);
}

.faq-cta-card h3 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #fff;
  line-height: 1.3;
}

.faq-cta-card p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text-muted);
  margin-bottom: 30px;
}

/* =========================================
   18. GALLERY LIGHTBOX MODAL
   ========================================= */
.gallery-item {
  cursor: pointer;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}

.gallery-item img {
  transition: transform 0.5s ease, filter 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
  filter: brightness(0.9);
}

/* Lightbox Modal Overlay */
.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 10000;
  background: rgba(5, 5, 12, 0.96);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox-modal.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-content-wrapper {
  position: relative;
  max-width: 96vw;
  max-height: 94vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.lightbox-image-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
}

.lightbox-img {
  max-width: 94vw;
  max-height: 86vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.95), 0 0 35px rgba(183, 57, 255, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.lightbox-meta {
  margin-top: 14px;
  text-align: center;
}

.lightbox-event-name {
  color: #ffffff;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 6px;
  font-family: var(--font-heading);
  letter-spacing: 0.5px;
}

.lightbox-event-details {
  color: var(--color-primary);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.lightbox-event-details i {
  color: var(--color-primary);
}

.lightbox-counter {
  color: var(--color-primary);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
}

/* Lightbox Controls */
.lightbox-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
  z-index: 10001;
}

.lightbox-btn:hover {
  background: var(--color-primary);
  color: var(--color-bg-dark);
  border-color: var(--color-primary);
  box-shadow: 0 0 20px rgba(183, 57, 255, 0.7);
}

.lightbox-close {
  position: fixed;
  top: 25px;
  right: 30px;
  width: 48px;
  height: 48px;
  font-size: 1.4rem;
}

.lightbox-prev,
.lightbox-next {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 54px;
  height: 54px;
  font-size: 1.4rem;
}

.lightbox-prev:hover {
  transform: translateY(-50%) scale(1.1);
}

.lightbox-next:hover {
  transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
  left: 30px;
}

.lightbox-next {
  right: 30px;
}

@media (max-width: 768px) {
  .lightbox-prev {
    left: 10px;
    width: 42px;
    height: 42px;
    font-size: 1.1rem;
  }
  .lightbox-next {
    right: 10px;
    width: 42px;
    height: 42px;
    font-size: 1.1rem;
  }
  .lightbox-close {
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
  .lightbox-img {
    max-width: 98vw;
    width: 98vw;
    max-height: 75vh;
    object-fit: contain;
  }
  .lightbox-event-name {
    font-size: 1.1rem;
  }
  .lightbox-event-details {
    font-size: 0.9rem;
  }
  .portfolio-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
  }
  .portfolio-item {
    height: 320px;
  }
  .portfolio-overlay {
    opacity: 1;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.3) 70%, transparent 100%);
  }
  .portfolio-content {
    transform: translateY(0);
  }
}

@media (max-width: 480px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
  .portfolio-item {
    height: 250px;
  }
}

/* =========================================
   16. CONTACT FORM MODAL POPUP
   ========================================= */
.form-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(5, 8, 20, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 99999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.form-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.form-modal-box {
  background: linear-gradient(145deg, #0b1128 0%, #101936 100%);
  border: 1px solid var(--color-primary);
  box-shadow: 0 0 35px rgba(0, 240, 255, 0.25);
  border-radius: 16px;
  padding: 40px 30px;
  max-width: 480px;
  width: 90%;
  text-align: center;
  transform: scale(0.85);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
}

.form-modal-overlay.active .form-modal-box {
  transform: scale(1);
}

.form-modal-icon {
  font-size: 3.8rem;
  margin-bottom: 20px;
}

.form-modal-icon.success {
  color: var(--color-primary);
  text-shadow: 0 0 20px rgba(0, 240, 255, 0.5);
}

.form-modal-icon.error {
  color: #ff3b3b;
  text-shadow: 0 0 20px rgba(255, 59, 59, 0.5);
}

.form-modal-title {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 12px;
}

.form-modal-message {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 30px;
}

.form-modal-close-btn {
  display: inline-block;
  padding: 12px 36px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 30px;
  cursor: pointer;
  border: none;
}
