@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@200;400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap');

:root {
  --primary: #ffffff;
  --secondary: #121a2b;
  --dark: #000000;
  --secondary-color: #000000;
  --primary-color: white;
  --accent-color: #4ecca3;
  --text-color: rgba(255, 255, 255, 0.7);
  --border-color: rgba(255, 255, 255, 0.1);
  --transition: all 0.3s ease;
  --font-sans: 'Plus Jakarta Sans', sans-serif;
  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-bold: 700;
  --font-weight-thin: 200;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, html {
  min-height: 100%;
  font-family: var(--font-sans);
  overflow-x: hidden;
  background-color: var(--dark);
  color: var(--primary);
  scroll-behavior: smooth;
}


section {
 
min-height: 100vh;
  width: 100%;
  padding: 40px 0px 0px 0px;
  box-sizing: border-box;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
    scroll-snap-type: y mandatory;

}

#contact {
padding: 0px;
min-height: auto !important; 


}

#footer {
 padding-bottom:0px;
}

.slogan {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1.1;
  text-align: left;
  margin: 20px 0 10px 20px;
  width: 90%;
  font-weight: var(--font-weight-thin);
}

.bold {
  font-weight: var(--font-weight-thin);
  text-transform: uppercase;
}

.section-content {
  max-width: 800px;
}

.section-title {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  margin-bottom: 1rem;
  font-weight: var(--font-weight-thin);
}

/* Navbar */
        .navbar {
    position: fixed; /* Changed from fixed to absolute */
    top: -9px;
    left: -9px;
    width: 100%;
    z-index: 1022;
    background: transparent !important; /* Always transparent */
     padding-left:5%;
    padding-right: 5%;
    padding-top: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: none; /* Remove transition effects */

    padding-bottom: 0px;
}

        



.logo {
  font-size: 22px;
  font-weight: 700;
  color: white !important;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.navbar-logo {
  height: 75px;
  width: 115px;
  margin-right: 10px;
  vertical-align: middle;
  filter: invert(1);
  transition: filter 0.3s ease;
}

.hamburger-container {
  position: relative;
  display: flex;
  align-items: center;
  font-size: 1.25rem;
}

.hamburger {
  width: 30px;
  height: 20px;
  position: relative;
  cursor: pointer;
  z-index: 1001;
  margin-left: 5px;
  margin-top: 4px;
}

.hamburger-container h5 {
  box-sizing: border-box;
  font-size: 1.25rem;
}

.hamburger span {
  display: block;
  position: absolute;
  height: 2px;
  width: 100%;
  background: rgb(255, 255, 255);
  border-radius: 2px;
  opacity: 1;
  left: 0;
  transform: rotate(0deg);
  transition: all 0.3s ease;
}

.hamburger span:nth-child(1) {
  top: 0;
}

.hamburger span:nth-child(2) {
  top: 9px;
}

.hamburger.active span:nth-child(1) {
  top: 9px;
  transform: rotate(135deg);
  background-color: black;
}

.hamburger.active span:nth-child(2) {
  top: 9px;
  transform: rotate(-135deg);
  background-color: black;
}

.hamburger-container,
.hamburger,
.navbar {
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  cursor: default;
}

.hamburger:hover {
  cursor: pointer;
}

.hamburger-container * {
  outline: none;
}

.menu-modal {
  position: fixed;
  top: 30px;
  right: 4%;
  z-index: 999;
  display: flex;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-20px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  border-radius: 8px;
  overflow: hidden;
  background: white;
  border-radius: 18px 18px 12px 12px;
  width: 320px;
  max-width: 100%;
  box-shadow: 0 12px 40px rgba(22, 14, 52, 0.25);
  padding: 28px 0px 0;
  color: #111;
  transition:
    opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.menu-modal.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.menu-modal::before {
  content: '';
  position: absolute;
  top: -10px;
  right: 20px;
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 10px solid #fff;
  z-index: 1000;
}

.modal-content {
  width: 100%;
  height: 100%;
  padding: 0px;
  display: flex;
  flex-direction: column;
  padding-top: 20px;
}

.menu-list {
  list-style: none;
  padding-left: 12px;
  margin: 0 0 24px 0;
}

.menu-list li {
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 18px;
  cursor: pointer;
  user-select: none;
  color: #222;
  position: relative;
  transition: color 0.3s ease;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 400;
}

.menu-list li:last-child {
  margin-bottom: 0;
}

.menu-list li:hover,
.menu-list li:focus {
  opacity: 0.8;
  outline: none;
}

.menu-list li::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0%;
  height: 2px;
  background-color: #28282b;
  transition: width 0.3s ease;
}

.menu-list li:hover::after,
.menu-list li:focus::after {
  width: 80%;
}

.menu-list li a {
  text-decoration: none;
  color: inherit;
}

.divider {
  border-top: 1px solid #ddd;
  margin: 0 -28px 18px;
}

.footer-nav {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  font-size: 14px;
  font-weight: 500;
  color: #000000;
  margin-bottom: 8px;
  padding: 0 2px;
  flex-wrap: wrap;
  background: #f3f3f3;
}

.footer-nav div {
  cursor: pointer;
  user-select: none;
  padding-left: 12px;
  transition: color 0.3s ease;
  position: relative;
}

.footer-nav div:hover,
.footer-nav div:focus {
  color: #464547;
  opacity: 0.8;
  outline: none;
}

.footer-nav div::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0%;
  height: 2px;
  background-color: #424244;
  transition: width 0.3s ease;
}

.footer-nav div:hover::after,
.footer-nav div:focus::after {
  width: 100%;
}

.footer-right {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 20px;
}

.footer-right svg {
  width: 20px;
  height: 20px;
  stroke: #5e5a5a;
  stroke-width: 2;
  transition: stroke 0.3s ease;
  transform: rotate(325deg);
}

.footer-right:hover svg,
.footer-right:focus svg {
  stroke: #777;
}

.footer-container {
  background: #f3f3f3;
  border-radius: 0 0 18px 18px;
  padding: 8px 8px 10px;
  color: #777;
  font-size: 13px;
  user-select: none;
}

.social-links {
  display: flex;
  gap: 10px;
  font-size: 13px;
  color: #302e2e;
  user-select: none;
  justify-content: space-evenly;
  align-items: stretch;
}

.social-links span {
  cursor: pointer;
  transition: color 0.3s ease;
  padding-left: 8px;
}

.social-links span a {
 text-decoration: none;
  color: inherit;
}

.social-links span:hover,
.social-links span:focus {
  color: rgba(0, 0, 0, 0.5);
  opacity: 0.6;
  transition: color 0.4s, opacity 0.4s;
}

@media (max-width: 580px) {
  .modal {
    width: 90vw;
    padding: 24px 24px 0;
  }

  .footer-container {
    padding: 16px 24px 24px;
    font-size: 12px;
  }
}


.carousel-section {
  min-height: calc(var(--vh, 1vh) * 100);;
  width: 100%;
  background-color: var(--dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  box-sizing: border-box;
}

.carousel-container {
  flex: 1;
  width: 100%;
  max-width: 100%;
  margin: 20px 0;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  height: calc(var(--vh, 1vh) * 100);
}

.carousel-wrapper {
  width: 100%;
  overflow: hidden;
  height: 100%;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
  height: 100%;
  gap: 15px;
}

.carousel-item {
  flex-shrink: 0;
  margin: 0;
  cursor: pointer;
  border-radius: 8px;
  overflow: hidden;
  background-color: var(--dark);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.thumbnail-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 8px;
  background-color: var(--dark);
}

.video-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background-color: var(--dark);
  display: block;
  border-radius:20px;
}

.carousel-item.youtube-item {
  aspect-ratio: 16 / 9;
}

.carousel-item.local-video-item {
  aspect-ratio: 9 / 16;
}

/* Enhanced local video hover styles - ADD THIS NEW SECTION */
.local-video-item {
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  will-change: transform;
}

.local-video-item:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.15);
}

.local-video-item.video-playing:hover {
  transform: scale(1);
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
}

/* Play button overlay enhancements */
.play-button-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1);
  background: rgba(0, 0, 0, 0.85);
  color: white;
  font-size: 32px;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  visibility: visible;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  pointer-events: auto;
  border: 2px solid rgba(255, 255, 255, 0.3);
  z-index: 10;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

/* Hover effect for play button (desktop only) */
@media (hover: hover) {
  .play-button-overlay:hover {
    background: rgba(0, 0, 0, 0.95);
    transform: translate(-50%, -50%) scale(1.1);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  }
  
  .local-video-item:not(.video-playing) .play-button-overlay:hover {
    background: rgba(78, 204, 163, 0.9); /* Accent color on hover */
    border-color: rgba(78, 204, 163, 0.8);
  }
}

/* Active/touch state */
.play-button-overlay:active,
.play-button-overlay.touched {
  transform: translate(-50%, -50%) scale(0.95);
  background: rgba(0, 0, 0, 0.95);
}

/* When video is playing, hide overlay */
.local-video-item.video-playing .play-button-overlay {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
}

/* Video thumbnail styles */
.local-video-item .video-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  transition: opacity 0.2s ease;
  pointer-events: none; /* Prevent video from interfering with overlay */
}

/* Ensure proper stacking */
.local-video-item {
  position: relative;
  z-index: 1;
}

.local-video-item .thumbnail-wrapper {
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.local-video-item video {
  position: relative;
  z-index: 1;
  pointer-events: none;
}

.local-video-item .play-button-overlay {
  position: absolute;
  z-index: 2;
}
.carousel-item:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

.arrow {
  font-size: 30px;
  cursor: pointer;
  color: rgb(255, 255, 255);
  z-index: 2;
  user-select: none;
  transition: var(--transition);
  position: absolute;
}

.arrow.left { left: 10px; }
.arrow.right { right: 10px; }

.play-button-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.7);
  color: var(--primary);
  font-size: 40px;
  padding: 15px 25px;
  border-radius: 50%;
  opacity: 0.9;
}

.project-title {
  position: absolute;
  top: 20px;
  left: 20px;
  color: #ffffff;
  font-size: 20px;
  font-weight: var(--font-weight-bold);
  text-transform: uppercase;
  line-height: 0.9;
  z-index: 1;
}

.project-by {
  position: absolute;
  bottom: 20px;
  left: 20px;
  color: #ffffff;
  font-size: 10px;
  font-weight: var(--font-weight-bold);
  z-index: 1;
}

.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  justify-content: center;
  align-items: center;
}

.close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: var(--primary);
  font-size: 40px;
  cursor: pointer;
  z-index: 10000;
}

.modal.active {
  display: flex;
}

.close:hover { color: #ccc; }

.modal-content-wrapper {
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: none; /* Prevent bounce-back */
  position: relative;
  width: 100%;
  max-width: 1400px;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 8px;
  overflow: hidden;
}

#videoModal iframe,
#videoModal video {
  width: 100%;
  height: 100%;
  border: none;
  object-fit: contain;
}

.close {
  position: absolute;
  top: 15px;
  right: 15px;
  color: white;
  font-size: 30px;
  cursor: pointer;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.7);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  pointer-events: auto; /* Allow interaction, but contain scroll */
  border: none;
}

.close:hover {
  background: rgba(0, 0, 0, 0.9);
  transform: scale(1.1);
}

.subtitle {
  font-size: clamp(1rem, 2vw, 1.5rem);
  color: #cccccc;
  margin: 10px 20px;
  font-weight: var(--font-weight-thin);
  text-align: left;
}

.download-subtitle {
  font-size: 1.4rem;
  margin: 25px 0;
  text-decoration: underline;
  font-weight: var(--font-weight-medium);
  
}

.download-subtitle .arrow-icon {
  display: inline-block;
  transform: rotate(320deg);
  transition: var(--transition);
  font-size: 24px;
  color: red;
}

.download-subtitle:hover .arrow-icon {
  transform: scale(1.2);
}

.download-subtitle a {
  color: #afafaf;
  transition: var(--transition);
}

.download-subtitle a:hover {
  color: #cecece;
  text-decoration: underline;
}

#customCursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.8);
  color: var(--primary);
  font-size: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  transform: scale(0);
  opacity: 0;
  z-index: 99999;
}

/* Responsive Breakpoints */
@media (max-width: 2000px) {
  .slogan { font-size: 5rem;
   margin-top: 5rem;
    margin-bottom: 2.5rem;
     margin-left: 4rem; }

  .subtitle {
    font-size: 2rem;
    margin-left: 4rem;
    padding-left: 0;
  }
  .download-subtitle {
    font-size: 1.5rem;
    margin-left: 2.5rem;
  }
  #hero .carousel-container { height: calc(var(--vh, 1vh) * 100); }
}

@media (max-width: 1400px) {
  .slogan {
    font-size: 4.5rem;
    margin-top: 4.5rem;
    margin-bottom: 2rem;
     margin-left: 3.5rem;
  }
  .subtitle {
    font-size: 1.5rem;
    margin-left: 3.5rem;
    padding-left: 0;
  }
  .download-subtitle {
    font-size: 1.5rem;
    margin-left: 3.5rem;
  }
  #hero .carousel-container { height: calc(var(--vh, 1vh) * 100); }
}

@media (max-width: 1024px) {
  .carousel-section {
    min-height: 80vh;
    padding: 40px 10px;
  }
  .carousel-container {
    max-width: 1200px;
    padding: 0 20px;
    height: calc(var(--vh, 1vh) * 100);
  }


  .slogan {
    font-size: 3.5rem;
    margin-top: 4rem;
    margin-bottom: 2rem;
     margin-left: 2.5rem;
  }
  .subtitle {
    font-size: 2.5rem;
    margin-left: 2.5rem;
    padding-left: 0;
  }
  .download-subtitle {
    font-size: 2.5rem;
    margin-left: 2.5rem;
  }
  .video-thumbnail {
    object-fit: cover;
    margin-left: 0.5rem;
    margin-right: 0.5rem;
}

  #hero .carousel-container { height: calc(var(--vh, 1vh) * 100); }
}

@media (max-width: 900px) {
  .navbar-logo {
    height: 75px;
    width: 100px;
  }
  .slogan {
    font-size: 3.5rem;
    margin-top: 4rem;
    margin-bottom: 2rem;
     margin-left: 1rem;
  }
  .subtitle {
    font-size: 1.5rem;
    margin-left: 1rem;
    padding-left: 0;
  }
  .download-subtitle {
    font-size: 1.5rem;
    margin-left: 1rem;
  }
  

.video-thumbnail {
    object-fit: cover;
}
}

/* Mobile modal styles */
@media (max-width: 768px) {
  .modal {
    padding: 10px;
  }
  
  .modal-content-wrapper {
    width: 100%;
    height: auto;
    aspect-ratio: auto;
    max-height: 80vh;
  }
  
  #videoModal iframe,
  #videoModal video {
    object-fit: cover;
  }
  
  .close {
    top: 10px;
    right: 10px;
    font-size: 24px;
    width: 35px;
    height: 35px;
  }
}

@media (max-width: 580px) {
  .modal {
    padding: 5px;
  }
  
  .modal-content-wrapper {
    width: 100%;
    height: 60vh;
    max-height: 60vh;
  }
  
  .close {
    top: 5px;
    right: 5px;
    font-size: 20px;
    width: 30px;
    height: 30px;
  }
  
  /* Landscape mode on mobile */
  @media (max-height: 580px) {
    .modal-content-wrapper {
      height: 90vh;
      max-height: 90vh;
    }
  }
}


@media (max-width: 768px) {
  section {
    padding-top: 30px;
  }
  #footer {
 padding-bottom:0px;
}
}
  
 @media (max-width: 768px) {
  .carousel-section {
    min-height: 80vh;
    
  }
  
  /* ADD THESE MOBILE-SPECIFIC STYLES AT THE END OF THIS MEDIA QUERY */
  .play-button-overlay {
    width: 70px;
    height: 70px;
    font-size: 28px;
  }
  
  .local-video-item:hover {
    transform: none; /* Disable hover scale on mobile */
  }
  
  .play-button-overlay:hover {
    transform: translate(-50%, -50%) scale(1); /* No hover scale on mobile */
  }

 .carousel-container {
    padding: 0 !important;
    margin: 0 !important;
    width: 100vw !important;
    position: relative;


  }
  #hero .carousel-container {
    height: calc(var(--vh, 1vh) * 100);
  }
  .carousel-wrapper {
    padding: 0 !important;
    overflow: hidden;
    width: 100vw !important;
    margin: 0 !important;
  }
 .carousel-item {
    flex: 0 0 100%;    /* Each slide = 100% of container width */
    max-width: 100%;
  }
  .carousel-item.youtube-item {
    width: 100% !important;
    height: auto !important; /* Let JS control the height */
  }

[data-section="case"] .carousel-track {
    gap: 0 !important; /* No gap for seamless infinite */
    padding: 0 !important;
  }

  [data-section="case"] .carousel-item {
    width: 100vw !important;
    margin: 0 !important;
    flex: 0 0 auto !important;
    aspect-ratio: 16/9; /* Or 9/16 for vertical videos */
  }


   /* Arrows visible and positioned for mobile */
  .arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px !important; /* Smaller on mobile */
    z-index: 10;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    backdrop-filter: blur(10px);
  }
.arrow.left { left: 10px !important; }
  .arrow.right { right: 10px !important; }

  /* Hide arrows on hero section if not needed */
  [data-section="hero"] .arrow {
    display: none !important;
  }
  .slogan {
    font-size: clamp(1.8rem, 3.5vw, 2.2rem);
    margin: 10px;
  }
  .subtitle {
    font-size: 1rem;
    margin-left: 2rem;
    padding-left: 0;
  }
  .download-subtitle {
    font-size: 1rem;
    padding-left: 2rem;
  }
  .download-subtitle .arrow-icon {
    font-size: 20px;
  }
  .modal-content-wrapper {
    width: 95%;
  }
  .slogan {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-top: 4rem;
    margin-left: 2rem;
    margin-bottom: 10px;
    margin-bottom: 2rem;
  }
}

@media (max-width: 580px) {
  section {
    padding-top: 20px;
  }
  #footer {
 padding-bottom:0px;
}
  .carousel-section {
    min-height: calc(var(--vh, 1vh) * 100);
    padding: 30px 10px;
  }
  .slogan {
    font-size: clamp(3.8rem, 3.5vw, 2.2rem);
    margin-top: 0vh;
    margin-left: 1rem;
    margin-bottom: 10px;
  }
  .carousel-container,
  #hero .carousel-container {
    width: 100% !important;
    height: calc(var(--vh, 1vh) * 100) !important;   /* Full viewport height */
    overflow: hidden !important;
  }

  .carousel-item {
    flex: 0 0 100% !important;  /* Take full width */
    width: 100% !important;
    height: 100% !important;    /* Take full height */
    aspect-ratio: auto !important;
  }

   .carousel-track {
    height: 100% !important;
  }

  .video-thumbnail {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }
  .subtitle {
    font-size: 1rem;
    margin: 2rem 1rem;
    padding-left: 0;
  }
  .download-subtitle {
    font-size: 0.8rem;
    padding-left: 1rem;
  }
  .download-subtitle .arrow-icon {
    font-size: 18px;
  }
  .navbar-logo {
    height: 65px;
    width: 90px;
  }
   .modal-content-wrapper {
    width: 100%;
    height: 100%;         /* allow full height */
    max-width: 100%;
    aspect-ratio: auto;   /* override fixed ratio */
}
    #videoModal iframe,
    #videoModal video {
    width: 100%;
    height: 100%;         /* stretch to fill viewport */
    object-fit: cover;    /* keep video proportional */
  }
}

/* Mobile specific styles */
@media (max-width: 580px) {

  /* Hero section should expand to fit all videos */

  #hero {
    height: auto !important;
    min-height: auto !important;
    overflow: visible;
  }

 /* Mobile specific YouTube fixes */
@media (max-width: 580px) {
  [data-section="hero"] .carousel-container {
    height: auto !important;         /* Let container expand with all videos */
    min-height: auto !important;
    overflow-y: visible !important;  /* No inner scroll */
    -webkit-overflow-scrolling: touch !important; /* Smooth iOS scroll */
    padding: 0 !important;
    margin: 0 !important;
  }

  [data-section="hero"] .carousel-track {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;            /* spacing between videos */
    transform: none !important;
    height: auto !important;
  }

  [data-section="hero"] .carousel-item.youtube-item {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16/9 !important;   /* proper YouTube aspect ratio */
    flex: 0 0 auto !important;
  }

  [data-section="hero"] .video-thumbnail {
    width: 100% !important;
    height: auto !important;
    object-fit: cover !important;
  }

  [data-section="hero"] .arrow {
    display: none !important;        /* Hide carousel arrows on mobile */
  }
}


  /* Local video section (case) - carousel with one fully visible item */
/* Add to your existing CSS */

  /* Add to your existing CSS */

/* Add to your existing CSS */

@media (max-width: 580px) {
  [data-section="case"] .carousel-container {
    height: auto !important;
    min-height: 70vh;
    overflow: hidden !important;
    padding: 0 10px !important;
    position: relative;
    display: flex;
    align-items: center;
  }

  [data-section="case"] .carousel-wrapper {
    width: 100% !important;
    overflow: hidden !important;
    position: relative;
  }

  [data-section="case"] .carousel-track {
    display: flex !important;
    flex-direction: row !important;
    height: auto !important;
    will-change: transform;
    gap: 0 !important;   
  }


   [data-section="case"] .carousel-item {
    flex: 0 0 100% !important;          /* Each slide = full viewport width */
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 9/16 !important;      /* Keep consistent ratio */
  }

  
[data-section="case"] .carousel-item.local-video-item {
    display: flex !important;
    width: 100% !important;
    min-width: 0 !important;
    flex: 0 0 auto !important;
  }
  [data-section="case"] .thumbnail-wrapper {
    width: 100% !important;
    height: 100% !important;
    position: relative;
  }
  
  [data-section="case"] .video-thumbnail {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    position: absolute;
    top: 0;
    left: 0;
  }

  [data-section="case"] .arrow {
    display: flex !important;
    align-items: center;
    justify-content: center;
    font-size: 24px !important;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    z-index: 10;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
  }
  
  [data-section="case"] .arrow.left {
    left: 5px !important;
  }
  
  [data-section="case"] .arrow.right {
    right: 5px !important;
  }
  
  /* Ensure proper z-index for overlays */
  [data-section="case"] .play-button-overlay {
    z-index: 2;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.7);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
  }
  
  [data-section="case"] .project-title,
  [data-section="case"] .project-by {
    z-index: 2;
    position: absolute;
  }
  
  [data-section="case"] .project-title {
    top: 15px;
    left: 15px;
    font-size: 16px;
  }
  
  [data-section="case"] .project-by {
    bottom: 15px;
    left: 15px;
    font-size: 12px;
  }
}

/* Prevent horizontal scroll on mobile */
body, html {
  overflow-x: hidden;
  width: 100%;
}

/* Ensure carousel container doesn't cause overflow */
.carousel-container {
  max-width: 100vw;
}

  /* Ensure proper spacing for sections */
  #hero, #case-studies {
    padding: 30px 10px !important;
    min-height: auto !important;
  }
  
  #hero .carousel-container,
  #case-studies .carousel-container {
    margin: 10px 0 !important;
  }
}
  



@media (max-width: 580px) {
  .slogan {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-top: 8vh;
    margin-left: 1rem;
    margin-bottom: 10px;
  }
}


/* iPad Mini & iPad Pro portrait/tablet widths: show 2 local videos */
@media (min-width: 668px) and (max-width: 1024px) {
  [data-section="case"] .carousel-item.local-video-item {
    flex: 0 0 50% !important;   /* half the container */
    width: 50% !important;
    height: auto !important;
    aspect-ratio: 9 / 16 !important;
  }
}


#profileModal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(3px);
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

#profileModal.active {
  display: flex !important;
}

#profileModal .modal-content-wrapper {
  background: #fff;
  border-radius: 12px;
  width: 100%;
  max-width: 420px;
  padding: 20px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.25);
}

@media (min-width: 768px) {
  #profileModal .modal-content-wrapper { max-width: 500px; }
}
@media (min-width: 1024px) {
  #profileModal .modal-content-wrapper { max-width: 600px; }
}
@media (max-width: 480px) {
  #profileModal .modal-content-wrapper {
    max-width: 100%;
    border-radius: 0;
    height: auto;
  }
}


#profileModal input {
  width: 100%;
  padding: 10px;
  border: 1px solid #050505;
  border-radius: 6px;
}

#profileModal button {
  margin-top: 10px;
  background-color: var(--dark);
}


#closeProfileModal {
  color:black
}






  
.lets-footer {
  background: #f7f6f2;
  color: #181818;
  font-family: 'Inter', Arial, sans-serif;
  padding: 48px 0 24px 0;
  margin-top: 0px;
}
.lets-footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 0 5vw;
  gap: 0;
}
.lets-footer-talk {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}
.lets-footer-logo img {
  height: 75px;
  width: 115px;
  margin-bottom: 8px;
}

.lets-footer-social {
    display: flex;
    align-content: center;
    justify-content: center;
    flex-direction: column;
    gap: 20px; /* Space between icons */
}
.lets-footer-talk h2 {
  font-size: 2.8rem;
  font-weight: 400;
  margin: 0;
  letter-spacing: -1px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.lets-footer-talk .arrow {
  font-size: 2.2rem;
  font-weight: 400;
  margin-left: 8px;
  font-size: 2.2rem;
    font-weight: 100;
    margin-left: 0px;
   display: inline-block;
    transform: scale(1.3);
    transform: rotate(325deg);
}

.lets-footer-talk .arrow svg {
    width: 100%;
    height: 100%;
  }

.lets-footer-divider {
  border: none;
  border-top: 1px solid #181818;
  margin-left:5vw;
  margin-right: 5vw; 
  margin-top: 2vw;
  margin-bottom: 2vw;
  width: 90%;
}
.lets-footer-links-row {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 5rem;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 4vw;
}
.lets-footer-links a {
  color: #181818;
  text-decoration: none;
  font-size: 1.1rem;
  margin-right: 32px;
  font-weight: 500;
  letter-spacing: 1px;
  transition: color 0.2s;
}
.lets-footer-links a:last-child {
  margin-right: 0;
}
.lets-footer-links a:hover {
  color: #888;
}


.lets-footer-social {
  display: flex;
  flex-direction: row; /* Change to row for horizontal layout */
  align-items: center;
  justify-content: flex-end; /* Align to right if needed */
  gap: 20px; /* Space between icons */
  margin-top: 0; /* Override any margin if not needed */
}


.lets-footer-social a {
  color: #181818;
  font-size: 1.8rem; /* Larger for icons */
  transition: color 0.2s, transform 0.2s; /* Add hover scale */
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
.lets-footer-social a:last-child {
  margin-right: 0;
}
.lets-footer-social a:hover {
  color: #888;
}
.lets-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 32px 5vw 0 5vw;
  font-size: 1rem;
  flex-wrap: wrap;
  gap: 16px;
}
.lets-footer-copy {
  color: #181818;
}
.lets-footer-address {
  color: #181818;
  text-align: center;
  font-size: 1rem;
}
.lets-footer-policy a {
  color: #181818;
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.2s;
}
.lets-footer-policy a:hover {
  color: #888;
}
@media (max-width: 900px) {
  .lets-footer-top, .lets-footer-links-row, .lets-footer-bottom {
    flex-direction: row;
    align-items: flex-start;
    gap: 18px;
   
  }

  .lets-footer-links-row{
    padding-left: 0px;
  }
 
  .lets-footer-divider, .lets-footer-bottom {
    width: 100%;
    padding-left: 20px;
    padding-right: 20px;
    margin-left: 0vw;
  }
  .lets-footer-links {
    margin-bottom: 12px;
  }
   .lets-footer-social{
    margin-top: 30px;
  }

   .navbar-logo {
    height: 75px;
    width: 100px;
  }

  .lets-footer-top {
    padding:0 4vw;
}

.lets-footer-logo img {
       height: 75px;
    width: 100px;
  }

}



/*responsive*/
@media (max-width: 600px) {
  .lets-footer {
    padding: 32px 0 16px 0;
  }
.lets-footer-top {
    padding:0 4vw;
}
  .lets-footer-logo img {
    height: 65px;
    width: 90px;
  }

  .navbar-logo {
    height: 65px;
    width: 90px;
  }
  .lets-footer-talk h2 {
    font-size: 1.5rem;
  }
  .lets-footer-talk .arrow_footer {
    font-size: 1.3rem;
  }
  .lets-footer-divider {
    margin: 24px 0 16px 0;
    width: 100%;
  }
  .lets-footer-links a {
    font-size: 1rem;
  }
  .lets-footer-bottom {
    font-size: 0.95rem;
    gap: 10px;
    padding-top: 18px;
  }
  .lets-footer-address {
    font-size: 0.95rem;
  }
  .lets-footer-social{
    margin-top: 30px;
  }
}

@media (max-width: 600px) {
  .social-sidebar-video {
    display: none !important;
  }
}
@media (max-width: 600px) {
  .lets-footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
    padding: 18px 5vw 0 5vw;
  }
  .lets-footer-copy,
  .lets-footer-address,
  .lets-footer-policy {
    width: 100%;
    margin: 0;
    padding: 0;
    font-size: 0.90rem;
  }
  .lets-footer-policy {
    margin-bottom: 6px;
  }
}
@media (max-width: 468px) {
    .lets-footer-links a {
        font-size: 0.8rem;
    }
}




/* iPhone-specific adjustments */
@supports (-webkit-touch-callout: none) {
  .play-button-overlay {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
  }
  
  .local-video-item {
    -webkit-touch-callout: none;
  }
}

/* Android-specific adjustments */
@supports not (-webkit-touch-callout: none) {
  .play-button-overlay {
    font-size: 32px !important; /* Slightly larger for Android */
    width: 80px !important;
    height: 80px !important;
  }
}


  
.lets-footer {
  background: #f7f6f2;
  color: #181818;
  font-family: 'Inter', Arial, sans-serif;
  padding: 48px 0 24px 0;
  margin-top: 0px;
}
.lets-footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 0 5vw;
  gap: 0;
}
.lets-footer-talk {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}
.lets-footer-logo img {
  height: 75px;
  width: 115px;
  margin-bottom: 8px;
}

.lets-footer-social {
    display: flex;
    align-content: center;
    justify-content: center;
    flex-direction: column;
}
.lets-footer-talk h2 {
  font-size: 2.8rem;
  font-weight: 400;
  margin: 0;
  letter-spacing: -1px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.lets-footer-talk .arrow_footer {
  font-size: 2.2rem;
  font-weight: 400;
  margin-left: 8px;
  font-size: 2.2rem;
    font-weight: 100;
    margin-left: 0px;
 
    transform: scale(1.3);
    transform: rotate(325deg);
}
.lets-footer-divider {
  border: none;
  border-top: 1px solid #181818;
  margin-left:5vw;
  margin-right: 5vw; 
  margin-top: 2vw;
  margin-bottom: 2vw;
  width: 90%;
}
.lets-footer-links-row {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 5rem;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 4vw;
}
.lets-footer-links a {
  color: #181818;
  text-decoration: none;
  font-size: 1.1rem;
  margin-right: 32px;
  font-weight: 500;
  letter-spacing: 1px;
  transition: color 0.2s;
}
.lets-footer-links a:last-child {
  margin-right: 0;
}
.lets-footer-links a:hover {
  color: #888;
}
.lets-footer-social a {
  color: #181818;
  font-size: 1.1rem;
  margin-right: 18px;
  transition: color 0.2s;
  gap: 20px; /* Space between icons */
}
.lets-footer-social a:last-child {
  margin-right: 0;
}
.lets-footer-social a:hover {
  color: #888;
}
.lets-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 32px 5vw 0 5vw;
  font-size: 1rem;
  flex-wrap: wrap;
  gap: 16px;
}
.lets-footer-copy {
  color: #181818;
}
.lets-footer-address {
  color: #181818;
  text-align: center;
  font-size: 1rem;
}
.lets-footer-policy a {
  color: #181818;
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.2s;
}
.lets-footer-policy a:hover {
  color: #888;
}
@media (max-width: 900px) {
  .lets-footer-top, .lets-footer-links-row, .lets-footer-bottom {
    flex-direction: row;
    align-items: flex-start;
    gap: 18px;
   
  }

  .lets-footer-links-row{
    padding-left: 0px;
  }
 
  .lets-footer-divider, .lets-footer-bottom {
    width: 100%;
    padding-left: 20px;
    padding-right: 20px;
    margin-left: 0vw;
  }
  .lets-footer-links {
    margin-bottom: 12px;
  }
   .lets-footer-social{
    margin-top: 30px;
  }

   .navbar-logo {
    height: 75px;
    width: 100px;
  }

  .lets-footer-top {
    padding:0 4vw;
}

.lets-footer-logo img {
       height: 75px;
    width: 100px;
  }

}



/*responsive*/
@media (max-width: 600px) {
  .lets-footer {
    padding: 32px 0 16px 0;
  }
.lets-footer-top {
    padding:0 4vw;
}
  .lets-footer-logo img {
    height: 65px;
    width: 90px;
  }

  .navbar-logo {
    height: 65px;
    width: 90px;
  }
  .lets-footer-talk h2 {
    font-size: 1.5rem;
  }
  .lets-footer-talk .arrow_footer {
    font-size: 1.3rem;
  }
  .lets-footer-divider {
    margin: 24px 0 16px 0;
    width: 100%;
  }
  .lets-footer-links a {
    font-size: 1rem;
  }
  .lets-footer-bottom {
    font-size: 0.95rem;
    gap: 10px;
    padding-top: 18px;
  }
  .lets-footer-address {
    font-size: 0.95rem;
  }
  .lets-footer-social{
    margin-top: 30px;
  }
}

@media (max-width: 600px) {
  .social-sidebar-video {
    display: none !important;
  }
}
@media (max-width: 600px) {
  .lets-footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
    padding: 18px 5vw 0 5vw;
  }
  .lets-footer-copy,
  .lets-footer-address,
  .lets-footer-policy {
    width: 100%;
    margin: 0;
    padding: 0;
    font-size: 0.90rem;
  }
  .lets-footer-policy {
    margin-bottom: 6px;
  }
}
@media (max-width: 468px) {
    .lets-footer-links a {
        font-size: 0.8rem;
    }
}


.container_download {
            text-align: center;
            position: relative;
            display: flex;
            align-items: center;
            justify-content: center;
        }






     
        .download-button {
            background: linear-gradient(135deg, #030303, #000000);
            color: white;
            padding: 15px 30px;
            border: none;
            border-radius: 50px;
            cursor: pointer;
            font-size: 1rem;
            font-weight: 400;
            margin: 20px 0;
            position: relative;
            overflow: hidden;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5), inset 0 0 10px rgba(255, 255, 255, 0.3);
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            text-decoration: none;
            font-family: var(--font-sans);
        }
        .download-button:hover {
            background: #ffffff;
            color: #000000;
            box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
        }
        .download-button::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(
                90deg,
                transparent,
                rgba(14, 13, 13, 0.5),
                transparent
            );
            transition: 0.5s;
        }
        .download-button:hover::before {
            left: 100%;
        }
        .download-button:active {
            transform: scale(0.95);
        }
        .arrow1 {
            display: inline-block;
            width: 20px;
            height: 20px;
            background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="red"><path d="M12 4l-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8z"/></svg>') no-repeat center;
            background-size: contain;
            transform: rotate(325deg);
            transition: transform 0.3s ease;
        }
        .download-button:hover .arrow1 {
            transform: rotate(360deg);
        }

