/* ===== Base Setup ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

:root {
  --primary: #1a73e8;
  --dark: #0c2340;
  --light: #f8f9fa;
  --gray: #555;
}
html {
  font-size: 100%;
}

@media (max-width: 768px) {
  html {
    font-size: 90%;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 85%;
  }
}


body {
  background: #fff;
  color: var(--dark);
  scroll-behavior: smooth;
}

/* ===== Navbar ===== */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.navbar .logo {
  font-weight: bold;
  font-size: 1.5rem;
  color: var(--dark);
}

.navbar nav a {
  margin-left: 1.5rem;
  text-decoration: none;
  color: var(--gray);
  font-weight: 500;
  transition: color 0.3s ease;
}

.navbar nav a:hover {
  color: var(--primary);
}

/* ===== Hero Section (Parallax Style) ===== */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  background: url("images/nexaguard-hero.png") center center / cover no-repeat fixed;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(12, 35, 64, 0.8), rgba(26, 115, 232, 0.1));
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 700px;
  padding: 2rem;
  animation: fadeInUp 1.2s ease;
}

.hero h1 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.btn-primary {
  background: rgb(1, 140, 13);
  color: #fff;
  padding: 0.9rem 1.6rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}

.btn-primary:hover {
  background: var(--dark);
  color: white;
}


/* ===== AI Security Section (New) ===== */
.ai-security {
  background: #fff;
  padding: 6rem 2rem;
  display: flex;
  justify-content: center;
}

.ai-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  max-width: 1100px;
  width: 100%;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(50px);
  transition: all 1s ease;
}

.ai-container.visible {
  opacity: 1;
  transform: translateY(0);
}

.ai-text {
  flex: 1 1 500px;
}

.ai-text .tagline {
  color: rgb(1, 140, 13);
  font-weight: 600;
  letter-spacing: 1px;
  font-size: 0.9rem;
  margin-bottom: 0.8rem;
  text-transform: uppercase;
}

.ai-text h2 {
  font-size: 2rem;
  color: var(--dark);
  margin-bottom: 1rem;
}

.ai-text p {
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}



.ai-image {
  flex: 1 1 400px;
  text-align: center;
}

.ai-image img {
  width: 100%;
  max-width: 420px;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

/* ===== App Control Section ===== */
.app-control {
  background: var(--light);
  padding: 6rem 2rem;
  display: flex;
  justify-content: center;
}

.app-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  max-width: 1100px;
  width: 100%;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(50px);
  transition: all 1s ease;
}

.app-container.visible {
  opacity: 1;
  transform: translateY(0);
}

.app-image {
  flex: 1 1 400px;
  text-align: center;
}

.app-image img {
  width: 100%;
  max-width: 420px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
  object-fit: cover;
  aspect-ratio: 7 / 11; /* 👈 keeps it short and neat */
}


.app-text {
  flex: 1 1 500px;
}

.app-text .tagline {
  color: rgb(1, 140, 13);
  font-weight: 600;
  letter-spacing: 1px;
  font-size: 0.9rem;
  margin-bottom: 0.8rem;
  text-transform: uppercase;
}

.app-text h2 {
  font-size: 2rem;
  color: var(--dark);
  margin-bottom: 1rem;
}

.app-text p {
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.app-features {
  list-style: none;
  margin-bottom: 1.5rem;
  padding-left: 0;
  color: var(--dark);
}

.app-features li {
  margin-bottom: 0.4rem;
  font-weight: 500;
}

.btn-link {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 2px solid var(--primary);
  transition: 0.3s;
}

.btn-link:hover {
  color: var(--dark);
  border-color: var(--dark);
}

/* Responsive */
@media (max-width: 900px) {
  .app-container {
    flex-direction: column-reverse;
    text-align: center;
  }
  .app-image img {
    max-width: 90%;
  }
}

/* ===== Testimonials Section ===== */
.testimonials {
  background: #fff;
  padding: 6rem 2rem;
  text-align: center;
}

.testimonials-container {
  max-width: 1100px;
  margin: auto;
  opacity: 0;
  transform: translateY(50px);
  transition: all 1s ease;
}

.testimonials-container.visible {
  opacity: 1;
  transform: translateY(0);
}

.testimonials .tagline {
  color: rgb(1, 140, 13);
  font-weight: 600;
  letter-spacing: 1px;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.testimonials h2 {
  font-size: 2rem;
  margin-bottom: 2.5rem;
  color: var(--dark);
}

/* ===== Testimonials Horizontal Scroll ===== */
.testimonials-grid {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  padding: 1rem 0;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.testimonials-grid::-webkit-scrollbar {
  height: 8px;
}

.testimonials-grid::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 4px;
}

.testimonial-card {
  min-width: 320px;
  max-width: 320px;
  flex-shrink: 0;
  scroll-snap-align: start;
  background: #fff;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  text-align: center;
}



.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.testimonial-card img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
}

.testimonial-card h3 {
  font-size: 1.1rem;
  color: var(--dark);
}

.testimonial-card .role {
  color: var(--primary);
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.testimonial-card .feedback {
  font-size: 0.95rem;
  color: var(--gray);
  line-height: 1.6;
}



.about {
  text-align: center;
  padding: 6rem 2rem;
  background: var(--light);
}

.about h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: rgb(1, 140, 13); /* Bright green heading */
}

.about p {
  max-width: 850px;
  margin: 1rem auto;
  line-height: 1.8;
  color: var(--gray);
  font-size: 1rem;
  text-align: justify;
}



/* ===== Workflow Section (with background images) ===== */
.features {
  padding: 6rem 0;
  background: var(--light);
  text-align: center;
}

.features h2 {
  font-size: 2.2rem;
  color: var(--dark);
  margin-bottom: 3rem;
  position: relative;
}

.features h2::after {
  content: "";
  display: block;
  width: 70px;
  height: 4px;
  background: linear-gradient(90deg, #1a73e8, #00b894);
  margin: 1rem auto 0;
  border-radius: 3px;
}

/* ===== Workflow Section (with clean side spacing) ===== */
.workflow {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  overflow-x: auto;                 /* ✅ enable scroll */
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;

  width: calc(100% - 4rem);
  margin: 0 auto;
  opacity: 0;
  transform: translateY(40px);
  transition: all 1s ease;
  gap: 1.5rem;                      /* cards ke beech space */
}


.workflow.visible {
  opacity: 1;
  transform: translateY(0);
}

.step {
  position: relative;
  flex: 1;
  height: 680px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.3s ease;
  border-radius: 10px;        /* ✅ soft rounded corners */
}

.step:hover {
  transform: scale(1.03);
  box-shadow: 0 10px 24px rgba(26, 115, 232, 0.15);
}


.step .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  transition: background 0.3s ease;
}

.step:hover .overlay {
  background: rgba(0, 0, 0, 0.6);
}

.step .content {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  text-align: left;
  z-index: 2;
}

.step h3 {
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
  color: #fff;
}

.step p {
  font-size: 1rem;
  color: #f1f1f1;
  line-height: 1.6;
}

/* Arrows */
.arrow {
  flex: 0 0 60px;
  display: none;
  justify-content: center;
  align-items: center;
}

.arrow img {
  width: 50px;
  height: 50px;
  opacity: 0.7;
  filter: brightness(0.8);
  transition: transform 0.3s ease;
}

.arrow img:hover {
  transform: translateX(5px);
}




/* Responsive */
@media (max-width: 900px) {
  .feature-card {
    width: 90%;
  }
}

.feature-grid {
  opacity: 0;
  transform: translateY(40px);
  transition: all 1s ease;
}

.feature-grid.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Contact Section (Two-column layout) ===== */
.contact {
  padding: 6rem 2rem;
  background: var(--light);
  color: var(--dark);
}

.contact h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 3rem;
  position: relative;
}

.contact h2::after {
  content: "";
  display: block;
  width: 70px;
  height: 3px;
  background: linear-gradient(90deg, #1a73e8, #00b894);
  margin: 0.8rem auto 0;
  border-radius: 2px;
}

/* Layout */
.contact-container {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 3rem;
  max-width: 1100px;
  margin: 0 auto;
  flex-wrap: wrap;
}

/* Left side: Form */
.contact-form {
  flex: 1 1 480px;
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form,
.contact-info {
  padding: 2.5rem; /* slightly more breathing room */
}

.contact-form,
.contact-info {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  border: 1px solid #e6e6e6;
}


.contact-form label {
  font-weight: 600;
  color: #333;
  text-align: left;
}

.contact-form input,
.contact-form textarea {
  padding: 0.9rem;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 1rem;
  width: 100%;
}

.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

/* ===== Checkbox Alignment Fix ===== */
.contact-form .checkbox {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: #444;
  line-height: 1.4;
}

.contact-form .checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: rgb(1, 140, 13); /* ✅ green accent for visibility */
}


.contact-form button {
  background: rgb(1, 140, 13);
  color: #fff;
  font-weight: bold;
  border: none;
  padding: 1rem;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.3s;
}

.contact-form button:hover {
  background: #0c2340;
}

/* Right side: Info */
.contact-info {
  flex: 1 1 350px;
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  text-align: left;
}

.contact-info h3 {
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
  color: var(--dark);
}

.contact-info h4 {
  margin-top: 1.5rem;
  color: var(--dark);
}

.contact-info ul {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0;
}

.contact-info ul li {
  margin: 0.3rem 0;
  color: #444;
}

.map-placeholder {
  margin-top: 1.5rem;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}


/* Responsive layout */
@media (max-width: 900px) {
  .contact-container {
    flex-direction: column;
  }
  .contact-info, .contact-form {
    width: 100%;
  }
}



/* ===== Footer ===== */
footer {
  background: var(--dark);
  color: white;
  text-align: center;
  padding: 1rem;
}

/* ===== Animations ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* ===== Mobile & Tablet Responsive ===== */
@media (max-width: 992px) {
  /* Navbar */
  .navbar {
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
  }

  .navbar nav {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 0.5rem;
  }

  /* Hero */
  .hero {
    text-align: center;
    background-attachment: scroll; /* Fix parallax issue on mobile */
  }
  .hero h1 {
    font-size: 2rem;
  }
  .hero p {
    font-size: 1rem;
  }

  /* About & Features */
  .about,
  .features {
    padding: 3rem 1rem;
  }
  .feature-grid {
    flex-direction: column;
    align-items: center;
  }
  .feature-card {
    width: 100%;
    max-width: 340px;
  }

  /* Contact Section */
  .contact-container {
    flex-direction: column;
    align-items: center;
  }
  .contact-form,
  .contact-info {
    width: 100%;
    max-width: 500px;
  }

  /* Workflow Images (if you added them) */
 
  .workflow .step {
    width: 100%;
    height: 250px;
  }
}

/* ============================= */
/* HOW IT WORKS – MOBILE FIX */
/* ============================= */

@media (max-width: 1024px) {

  /* Workflow container */
  

  /* Hide arrows on mobile */
  .arrow {
    display: none;
  }

  /* Step cards */
  .step {
    height: auto;
    min-height: 240px;
    border-radius: 14px;
    background-position: center top;
    background-size: cover;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
    transform: none;
  }

  .step:hover {
    transform: none;
  }

  /* Overlay adjustment */
  .step .overlay {
    background: rgba(0, 0, 0, 0.55);
  }

  /* Content positioning */
  .step .content {
    position: relative;
    bottom: auto;
    left: auto;
    right: auto;
    padding: 1.5rem;
    text-align: center;
  }

  .step h3 {
    font-size: 1.4rem;
  }

  .step p {
    font-size: 0.95rem;
    line-height: 1.6;
  }
}

/* ===================================================
   MOBILE PREMIUM OVERRIDES
   Only affects screens <= 768px
=================================================== */

@media (max-width: 768px) {

  /* ===== Global typography tightening ===== */
  html {
    font-size: 82%; /* 👈 MOST IMPORTANT: reduces everything proportionally */
  }

  body {
    line-height: 1.45;
  }

  p {
    font-size: 0.95rem;
  }

  /* ===== Navbar ===== */
  .navbar {
    padding: 0.8rem 1rem;
  }

  .navbar .logo {
    font-size: 1.2rem;
  }

  .navbar nav a {
    font-size: 0.85rem;
  }

  /* ===== Hero (less overwhelming) ===== */
  .hero {
    height: 82vh;
    padding: 0 1rem;
  }

  .hero-content {
    padding: 1.5rem 1rem;
  }

  .hero h1 {
    font-size: 1.8rem;
    line-height: 1.25;
  }

  .hero p {
    font-size: 0.95rem;
    margin-bottom: 1.4rem;
  }

  .btn-primary {
    padding: 0.75rem 1.3rem;
    font-size: 0.9rem;
  }

  /* ===== Section spacing (BIG PREMIUM FIX) ===== */
  .about,
  .ai-security,
  .app-control,
  .testimonials,
  .features,
  .contact {
    padding: 3.5rem 1.2rem;
  }

  /* ===== AI + App cards ===== */
  .ai-container,
  .app-container {
    padding: 1.5rem;
    gap: 1.5rem;
    border-radius: 16px;
  }

  .ai-text h2,
  .app-text h2 {
    font-size: 1.6rem;
  }

  .ai-text p,
  .app-text p {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .ai-text .tagline,
  .app-text .tagline {
    font-size: 0.7rem;
    letter-spacing: 1.8px;
  }

  /* Images: smaller + elegant */
  .ai-image img {
    max-width: 85%;
  }

  .app-image img {
    max-width: 240px;
    aspect-ratio: 7 / 10;
  }

  /* ===== Testimonials ===== */
  .testimonial-card {
    padding: 1.4rem;
    border-radius: 16px;
  }

  .testimonial-card img {
    width: 64px;
    height: 64px;
  }

  .testimonial-card h3 {
    font-size: 1rem;
  }

  .testimonial-card .role {
    font-size: 0.8rem;
  }

  .testimonial-card .feedback {
    font-size: 0.9rem;
    line-height: 1.5;
  }

  /* ===== Workflow (How it works) ===== */
  .workflow {
    gap: 1.8rem;
  }

  .step {
    min-width: 85%;
    height: 360px;
  }

  .step h3 {
    font-size: 1.25rem;
  }

  .step p {
    font-size: 0.9rem;
  }

  /* ===== Contact ===== */
  .contact-form,
  .contact-info {
    padding: 1.6rem;
    border-radius: 16px;
  }

  .contact-form label {
    font-size: 0.85rem;
  }

  .contact-form input,
  .contact-form textarea {
    font-size: 0.9rem;
    padding: 0.75rem;
  }

  .contact-form button {
    padding: 0.85rem;
    font-size: 0.9rem;
  }

  .contact-info h3 {
    font-size: 1.1rem;
  }

  .contact-info ul li {
    font-size: 0.9rem;
  }
}
/* ===================================================
   FINAL FIX – AI SECTION (MOBILE GRID LAYOUT)
=================================================== */

@media (max-width: 768px) {

  /* 1️⃣ Section padding controlled */
  .ai-security {
    padding: 2.5rem 1.2rem !important;
  }

  /* 2️⃣ KILL FLEX – USE GRID */
  .ai-container {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 0.8rem !important;
    max-width: 100% !important;
    padding: 1.2rem !important;
    margin: 0 auto !important;
    transform: none !important;
  }

  /* 3️⃣ Reset children behaviour */
  .ai-text, .ai-image,
.app-text, .app-image {
  flex: none;
  margin: 0;
  padding: 0;
}


  /* 5️⃣ Text tight & premium */
  .ai-text .tagline {
    font-size: 0.7rem;
    margin: 0.2rem 0 0.3rem;
  }

  .ai-text h2 {
    font-size: 1.55rem;
    margin: 0 0 0.4rem;
  }

  .ai-text p {
    font-size: 0.95rem;
    margin: 0 0 0.5rem;
    line-height: 1.6;
  }

  .ai-text .btn-link {
    margin: 0;
    padding: 0;
    display: inline-block;
  }
}
/* ===================================================
   FINAL FIX – APP CONTROL SECTION (MOBILE GRID)
=================================================== */

@media (max-width: 768px) {

  /* 1️⃣ Section padding control */
  .app-control {
    padding: 2.5rem 1.2rem !important;
  }

  /* 2️⃣ Kill FLEX, use GRID */
  .app-container {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 0.8rem !important;
    max-width: 100% !important;
    padding: 1.2rem !important;
    margin: 0 auto !important;
    transform: none !important;
  }

  /* 3️⃣ Reset children completely */
  .app-image,
.app-text {
  flex: none;
  margin: 0;
  padding: 0;
}


  /* 4️⃣ Image compact & centered */
  .app-image {
    text-align: center;
  }

  .app-image img {
    width: 70%;
    max-width: 240px;
    margin: 0 auto;
    display: block;
    aspect-ratio: 7 / 10;
  }

  /* 5️⃣ Text tight & premium */
  .app-text .tagline {
    font-size: 0.7rem;
    margin: 0.2rem 0 0.3rem;
  }

  .app-text h2 {
    font-size: 1.55rem;
    margin: 0 0 0.4rem;
  }

  .app-text p {
    font-size: 0.95rem;
    margin: 0 0 0.5rem;
    line-height: 1.6;
  }

  .app-features {
    margin: 0 0 0.6rem;
  }

  .app-features li {
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
  }

  .app-text .btn-link {
    margin: 0;
    padding: 0;
    display: inline-block;
  }
}

.form-progress {
  width: 100%;
  height: 4px;
  background: #e0e0e0;
  margin-top: 10px;
  overflow: hidden;
}

.form-progress-bar {
  width: 0%;
  height: 100%;
  background: #00c853;
  animation: loading 1.2s infinite;
}

@keyframes loading {
  0% { width: 0%; }
  50% { width: 80%; }
  100% { width: 100%; }
}

.demo-videos {
  padding: 80px 5%;
  background: #0f172a;
  color: #fff;
}

.demo-videos h2 {
  text-align: center;
  margin-bottom: 10px;
}

.demo-videos .subtitle {
  text-align: center;
  color: #94a3b8;
  margin-bottom: 40px;
}

.video-scroll {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding-bottom: 10px;
  scroll-snap-type: x mandatory;
}

.video-scroll::-webkit-scrollbar {
  height: 8px;
}
.video-scroll::-webkit-scrollbar-thumb {
  background: #334155;
  border-radius: 10px;
}

.video-card {
  position: relative;
  min-width: 300px;
  height: 180px;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  scroll-snap-align: center;
}

.video-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.play-btn {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 48px;
  color: white;
  background: rgba(0,0,0,0.4);
  transition: background 0.3s;
}

.video-card:hover .play-btn {
  background: rgba(0,0,0,0.6);
}

.video-modal {
  display: none;              /* default hidden */
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

/* jab JS se open ho tab */
.video-modal.active {
  display: flex;
}

.video-modal video {
  height: 85vh;
  width: auto;
  max-width: 420px;
  aspect-ratio: 9 / 16;
  border-radius: 12px;
  background: black;
  object-fit: contain;
}


.close-btn {
  position: fixed;
  top: 16px;
  right: 16px;
  font-size: 36px;
  color: #fff;
  z-index: 10001;              /* video se upar */
  cursor: pointer;

  /* MOBILE TOUCH FIX */
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;

  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.video-modal video {
  pointer-events: auto;       /* explicit */
}

/* ===== Demo Videos Desktop Fix ===== */
@media (min-width: 992px) {
  .video-scroll {
    justify-content: center;   /* center align */
    overflow-x: visible;       /* no scroll if not needed */
  }

  .video-card {
    min-width: 420px;          /* bigger thumbnail */
    height: 240px;
  }
}

/* =========================
   Footer Styling (NexaGuard)
   ========================= */

.site-footer {
  background-color: #0f172a;        /* dark navy */
  color: #e5e7eb;                   /* light text */
  text-align: center;
  padding: 25px 15px;
  font-size: 14px;
}

.site-footer p {
  margin: 6px 0;
}

.site-footer a {
  color: #38bdf8;                   /* light blue email */
  text-decoration: none;
  font-weight: 500;
}

.site-footer a:hover {
  color: #22c55e;                   /* green on hover */
  text-decoration: underline;
}

/* Mobile friendly */
@media (max-width: 600px) {
  .site-footer {
    font-size: 13px;
    padding: 10px 10px;
  }
}
