/* HERO */
.hero {
  position: relative;
  height: 100vh;
/*  height: 80vh;*/
  overflow: hidden;
}

/* BACKGROUND */
.hero-bg {
  position: absolute;
  inset: 0;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.6);
  opacity: 0;
  filter: brightness(0.9);
}

.slide.active {
  opacity: 1;
}

/* OVERLAY */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
}

/* CONTENT */
.hero-inner {
  position: relative;
  z-index: 2;
  padding: 200px 80px;
  max-width: 900px;
}

.hero-title {
  font-size: 56px;
  line-height: 1.45;
  letter-spacing: -0.04em;
  color: white;
}

.hero-title span {
  display: inline-block;
  opacity: 0;
  transform: translateY(120px);
}

/* SUBTITLE */
.hero-sub {
  display: flex;
  align-items: center;
  margin-top: 40px;
}

.hero-sub p {
  color: white;
  font-size: 20px;
  opacity: 0;
  transform: translateY(100px);
}

.hero-dot {
  width: 40px;
  height: 40px;
  background: white;
  border-radius: 50%;
  margin-right: 15px;
  opacity: 0;
  transform: translateY(300px);
}

/* PLUS GRID (micro animation elements) */
.plus-grid {
  position: absolute;
  top: 0;
  width: 60px;
  height: 100%;
  pointer-events: none;
}

.plus-grid.left { left: 20px; }
.plus-grid.right { right: 20px; }

.plus-grid::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(white 2px, transparent 2px),
    linear-gradient(90deg, white 2px, transparent 2px);
  background-size: 20px 20px;
  opacity: 0.15;
}
.hero {
  position: relative;
  width: 100vw;
  height: 100vh;

  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}
.hero-bg,
.slide {
  width: 100%;
  height: 100%;
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

/* INTRO SECTION */
/*#introduction {
  padding: 160px 80px;
  background: #000;
  color: white;
}*/

/* HEADLINE */
#introduction h1 {
  font-size: 64px;
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin: 0;
}

/* VIDEO */
.intro-video {
/*  margin-top: -120px;*/
  width: 100%;
  height: 100vh;
/*height: auto;*/
  overflow: hidden;
  border-radius: 6px;
/*  box-shadow: 0 0 30px 10px rgba(26, 63, 82, 0.6) !important; /* subtle glow/frame effect */*/
  border-radius: 4px;
}

.intro-video video {
  width: 100%;
  height: 100%;
  object-fit: fill;
/*  object-fit: cover;*/
}

/* TEXT ANIMATION START STATE */
#introduction h1 {
  opacity: 0;
  transform: translateY(120px);
}

.intro-video {
  opacity: 0;
  transform: scale(0.9);
}

/* SECTION SPACING (Framer style) */
#introduction {
  padding: 0px 28%;
/*  padding: 0px 25%;*/
/*  padding: 0px 140px;*/
  background: #fff;
}

/* VIDEO WRAPPER */
.framer-1cg3stc {
  width: 100%;
  margin-top: 80px;
  overflow: hidden;
  border-radius: 0px;
}

/* VIDEO */
.intro-video {
  width: 100%;
/*  height: 80vh;*/
  object-fit: cover;
  display: block;
}

/* subtle zoom like Framer */
.intro-video {
  transform: scale(1.05);
  transition: transform 1.2s ease;
}

#introduction:hover .intro-video {
  transform: scale(1.08);
}

#floating-spotlight {
  padding: 20px 0;
/*  padding: 120px 0;*/
  background: #000;
  overflow: hidden;
  width: 100%;
}

.scroll-row {
  display: flex;
  gap: 40px;
  margin: 80px 0;
  will-change: transform;
}

.scroll-row img {
  width: 320px;
  height: 500px;
  object-fit: cover;
  border-radius: 6px;
}

/* alternating direction */
.scroll-row.reverse {
  justify-content: flex-end;
}

.framer-3for3i h1 {
  opacity: 0;
  transform: translateY(80px);
  transition: all 0.9s cubic-bezier(.22,.61,.36,1);
}

/* active state */
.framer-3for3i.active h1 {
  opacity: 1;
  transform: translateY(0);
}

/* stagger delays */
.framer-3for3i.active h1:nth-child(1) { transition-delay: 0.1s; }
.framer-3for3i.active h1:nth-child(2) { transition-delay: 0.2s; }
.framer-3for3i.active h1:nth-child(3) { transition-delay: 0.3s; }
.framer-3for3i.active h1:nth-child(4) { transition-delay: 0.4s; }

#floating-spotlight {
  padding: 20px 0;
  background: #000;
  overflow: hidden;
}

/* ROW */
.row {
  display: flex;
  justify-content: space-between;
  margin: 120px 0;
  transform: translateX(0);
  transition: transform 0.2s linear;
}

/* IMAGE */
.row img {
  width: 320px;
  height: 480px;
  object-fit: cover;
  border-radius: 6px;
}

/* spacing like Framer */
.row img:first-child {
/*  margin-left: 10%;*/
    margin-left: 4%;
    margin-right: 0%;
}

.row img:last-child {
/*  margin-right: 10%;*/
    margin-right: 30%;
    margin-left: 20%;
}

/* reverse direction */
.row.reverse {
  flex-direction: row-reverse;
}
@media (max-width: 768px) {

  /* TEXT SIZE */
  .framer-3for3i h1 {
    font-size: 32px !important;
    line-height: 1.2;
  }

  /* VIDEO */
  .intro-video {
/*    height: 50vh;*/
  }

  /* SCROLL IMAGES STACK */
  .row {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    transform: none !important;
  }

  .row img {
    width: 85%;
    height: auto;
  }

  .row img:first-child,
  .row img:last-child {
    margin: 0;
  }
}
.video-section {
  width: 100vw;      /* full viewport width */
  margin-left: calc(-50vw + 50%); /* center if inside a container */
  overflow: hidden;
}
.video-section video {
  width: 100%;
  height: auto;          /* preserve aspect ratio */
  min-height: 70vh;      /* adjust for desired vertical fill */
  object-fit: cover;     /* ensures the video fills the container */
transform-origin: center center;
  transition: transform 0.3s ease-out;
}
.video-section {
  margin-top: -40px !important;   /* overlaps the slider a bit */
}
.video-section video {
  transform-origin: center center;
  transition: transform 0.3s ease-out;
}

.video-section:hover video {
  transform: scale(1.05); /* slightly zooms in */
}
.video-container-wrapper {
  /* Using your off-white as the base background */
  background-color: #fdfdfd; 
  
  /* Creating the corner textures using multiple radial gradients */
  background-image: 
    /* Top-Left Corner: Subtle Dark Teal (#1a3f52) */
    radial-gradient(circle at top left, rgba(26, 63, 82, 0.08) 0%, transparent 40%),
    
    /* Bottom-Right Corner: Subtle Green (#3bb772) */
    radial-gradient(circle at bottom right, rgba(59, 183, 114, 0.1) 0%, transparent 45%),
    
    /* Optional: Adding a very faint noise/grain texture for a 'paper' feel */
    url('https://www.transparenttextures.com/patterns/clean-gray-paper.png');

  /* Ensure the background stays put while scrolling */
  background-attachment: fixed;
  
  /* Centering the video section */
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  width: 100%;
  padding: 50px;
}

/* The actual video box */
.video-section {
  max-width: 900px;
  width: 100%;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  overflow: hidden;
  background: white; /* Contrast against the textured background */
}
.intro-video{
/*  background: #ffffff !important;*/
/*  padding: 15px !important;*/
/*  border-radius: 20px !important;*/
/*  border: 1px solid rgba(0, 0, 0, 0.05) !important; /* Very light border */*/
/*  box-shadow: 0 15px 35px rgba(26, 63, 82, 0.1) !important; /* Shadow tinted with your teal color */*/
/*  z-index: 1 !important;*/
}
.textured-background {
  width: 100% !important;
  min-height: 100vh !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  
  /* The Base: Off-White */
  background-color: #fdfdfd !important;

  /* The Layers: (Top layers come first) */
  background-image: 
    /* 1. Corner Glows (Prominent) */
    radial-gradient(circle at top left, rgba(26, 63, 82, 0.15) 0%, transparent 40%),
    radial-gradient(circle at bottom right, rgba(59, 183, 114, 0.18) 0%, transparent 45%),
    
    /* 2. The Circuit Board Pattern (Using your Green and Teal) */
    url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg stroke='%231a3f52' stroke-width='0.5' stroke-opacity='0.2'%3E%3Cpath d='M50 0h2v2h-2V0zm0 8h2v2h-2V8zm0 8h2v2h-2v-2zm0 8h2v2h-2v-2zm0 8h2v2h-2v-2zm0 8h2v2h-2v-2zm0 8h2v2h-2v-2zm0 8h2v2h-2v-2zm0 8h2v2h-2v-2zM0 50h2v2H0v-2zm8 0h2v2H8v-2zm16 0h2v2h-2v-2zm8 0h2v2h-2v-2zm8 0h2v2h-2v-2zm8 0h2v2h-2v-2zm8 0h2v2h-2v-2zm8 0h2v2h-2v-2zm8 0h2v2h-2v-2z'/%3E%3C/g%3E%3Cg stroke='%233bb772' stroke-width='0.8' stroke-opacity='0.15'%3E%3Cpath d='M10 10l20 20M70 10L50 30M10 70l20-20M70 70L50 50'/%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3Ccircle cx='50' cy='30' r='2'/%3E%3Ccircle cx='30' cy='50' r='2'/%3E%3Ccircle cx='50' cy='50' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"),
    
    /* 3. Subtle Tech Grid */
    linear-gradient(rgba(26, 63, 82, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26, 63, 82, 0.03) 1px, transparent 1px) !important;

  /* Grid size settings */
  background-size: 100% 100%, 100% 100%, 80px 80px, 40px 40px, 40px 40px !important;
}

/* Center video container styling */
.video-container {
  width: 100%;
  max-width: 800px; /* Adjust to fit your video section width */
  background: #ffffff; /* Gives high contrast against the off-white background */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05); /* Soft drop shadow */
  border-radius: 12px;
  padding: 20px;
}
a:hover{
  color: #1a3f52 !important;
}