*, *::before, *::after{box-sizing: inherit;  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; scroll-behavior: smooth;}

body{
  overflow-x: hidden;
}

/* Fonts */ /* Nav dropdowns may cause some errors*/
:root {
  --default-font: "Inter", system-ui, -apple-system, "Segoe UI", Poppins, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --heading-font: "Inter", sans-serif;
  --nav-font: "Inter",  sans-serif;


  --h1fontSize:48px!important;
  --h1fontWeight:700!important;

  --h2fontSize:34px!important;
  --h2fontWeight:600!important;

  --h3fontSize:24px!important;
  --h3fontWeight:400!important;

  --h4fontSize:20px!important; /* Navbar use */
  --h4fontWeight:500!important;
  --h4fontWeightactive:500!important;

  --p1fontSize:17px!important;
  --p1fontWeight: 500!important;

  --p2fontSize:12px!important;
  --p2fontWeight: 400!important;

}

@media (max-width: 1199px){
  :root {  
    --h1fontSize:40px!important;
    --h1fontWeight:990!important;

    --h2fontSize:24px!important;
    --h2fontWeight:990!important;

    --h3fontSize:18px!important;

    --h4fontSize:16px!important;
    --h4fontWeight:400!important;

    --p1fontSize:15px!important;
    --p1fontWeight:450!important;
    --p2fontSize:10px!important;  
  }
}


@media (max-width: 740px)  {
  :root {  
    --h1fontSize:40px!important;
    --h1fontWeight:990!important;

    --h2fontSize:16px!important;
    --h2fontWeight:990!important;

    --h3fontSize:14px!important;

    --h4fontSize:16px!important;
    --h4fontWeight:400!important;

    --p1fontSize:14px!important;
    --p1fontWeight:450!important;
    --p2fontSize:10px!important;  
  }
}

h1{
  font-size: var(--h1fontSize);
  font-weight:var(--h1fontWeight);
}

h2{
  font-size: var(--h2fontSize);
  font-weight: var(--h2fontWeight);
}

h3{
  font-size: var(--h3fontSize);
  font-weight: var(--h3fontWeight);
}

h4{
  font-size: var(--h4fontSize);
  font-weight: var(--h4fontWeight);
}

p{
  font-family: var( --nav-font);
  font-size: var(--p1fontSize);
  font-weight: var(--p1fontWeight);
}

/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
body {
  font-family: var(--default-font);
  background-color: black;

}

.preload .desktopHero,
.preload .mobileHero,
.preload .videoGrid,
.preload .videoGridmobile {
  display: none !important;
}


a {
 text-decoration: none;
 transition: 0.3s;
}

a:hover {

 text-decoration: none;
}


:root {
  --primary-color: #ffffff;
  --secondary-color: #b10c0c;
  --third-color: #669BBC; /*paleturquoise*/
  --fourth-color: #003049;
  --fifth-color: #780000;
}


/* Global Colors - The following color variables are used throughout the website. Updating them here will change the color scheme of the entire website */
:root { 
  --background-color: black; /* Background color for the entire website, including individual sections */
  --default-color: white; /* Default color used for the majority of the text content across the entire website */
  --default-color-washed: grey;
  --heading-color: white; /* Color for headings, subheadings and title throughout the website */
  --accent-color: #0046FF; /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
  --surface-color: #0046FF; /* The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
  --contrast-color: #ffffff; /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */
}

/* Nav Menu Colors - The following color variables are used specifically for the navigation menu. They are separate from the global colors to allow for more customization options */
:root {
  --nav-color: var(--primary-color);  /* The default color of the main navmenu links */
  --nav-color-scrolled: #ececec; 
  --nav-hover-color: var(--fifth-color); 
  --nav-color: var(--primary-color); 
  /* Applied to main navmenu links when they are hovered over or active */
  --nav-mobile-background-color: black; /* Used as the background color for mobile navigation menu */
  --nav-dropdown-background-color: black; /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
  --nav-dropdown-color: black; /* Used for navigation links of the dropdown items in the navigation menu. */
  --nav-dropdown-hover-color: #3368fc; /* Similar to --nav-hover-color, this color is applied to dropdown navigation links when they are hovered over. */ 
}


.light-background {
  --background-color: #f4f8fb;
  --surface-color: #FD022C;
  --default-color: black; 
  --heading-color: #FD022C;
  color: black;
}

.dark-background {
  --background-color: black;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: black;
  --contrast-color: #ffffff;
  color: white;
}

/* Smooth scroll */
:root {
  scroll-behavior: smooth;
}

/* changes the highlight color */
::selection {
  background-color: yellow; /* Highlight background color */
  color: #1a1a1a; /* Text color during highlight */
}

::-moz-selection {
  background-color: yellow; /* For Firefox */
  color: #1a1a1a;
}


.unclickable {
  pointer-events: none;
}


/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
  color: var(--default-color-washed);
  background-color: black;
  transition: all 0.5s;
  z-index: 997;
  padding: 10px 0;
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Navmenu - Desktop */
@media (min-width: 1200px) {
  .center-nav {
    left: 50%;
    transform: translateX(-50%);
    position: absolute;
  }
  .header p {
  margin: 0;
  padding: 0;
}
  .navmenu {
    padding: 0;
  }
  .navmenu ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
    gap: 17px; /* Add this line */
  }
  .header a,
  .header a:focus {
    color: var(--nav-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
  }
  .header a:hover{
    color: var(--default-color-washed);
  }
  
  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    transition: 0.3s;
  }

  .mobile-nav {
    display: none;
  }


  .hamburger{
    display: none;
  }

}

/* Navmenu - Mobile */
@media (max-width: 1199px) {

  .header {
    max-width: 100dvw;
  }

  .header p {
    margin: 0;
     padding: 0;
     color: white;
  } 

  .navmenu {
    padding: 0;
    display: none;
  }


  .mobile-nav ul {

    gap: 17px;
    margin: 0;
    padding: 0;
    list-style: none;
    align-items: center;
  }
  .mobile-nav a,
  .mobile-nav a:focus {
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
  }
  .mobile-nav a:hover{
    color: var(--default-color-washed);
  }
  
  .header {
    height: 50px; 
    padding: 10px 0;
  }
  
  .mobile-nav {
    position: fixed;
    z-index: 996;
    top: 70px;
    left: 0;
    background-color: black;
    width: 100%; 
    transition: 0.4s ease;
  
    /* Add this */
    align-items: center;       /* Center children vertically */
    justify-content: center;   /* Optional: center horizontally */

    transform: translateY(-500px);
  }

 .active{
  transform: translateY(0);

  }
  

  .center-nav {
    position: relative;        /* No need for absolute here */
    display: flex;
    justify-content: center;
    width: 100%;
  }


}

/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
  color: var(--default-color);
  background-color: var(--background-color);

  position: relative;
}

.footer .footer-newsletter {
  background-color: color-mix(in srgb, var(--default-color), transparent 97%);
  padding: 50px 0;
}


.footer .footer-newsletter .newsletter-form {
  margin-top: 30px;
  margin-bottom: 15px;
  padding: 6px 8px;
  position: relative;
  border-radius: 4px;
  background-color: var(--surface-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  box-shadow: 0px 2px 25px rgba(0, 0, 0, 0.1);
  display: flex;
  transition: 0.3s;
  border-radius: 50px;
}

.footer .footer-newsletter .newsletter-form:focus-within {
  border-color: var(--accent-color);
}

.footer .footer-newsletter .newsletter-form input[type=email] {
  border: 0;
  padding: 4px;
  width: 100%;
  background-color: var(--surface-color);
  color: var(--default-color);
}

.footer .footer-newsletter .newsletter-form input[type=email]:focus-visible {
  outline: none;
}

.footer .footer-newsletter .newsletter-form input[type=submit] {
  border: 0;
  font-size: var(--p1fontSize);
  padding: 0 20px;
  margin: -7px -8px -7px 0;
  background: var(--accent-color);
  color: var(--contrast-color);
  transition: 0.3s;
  border-radius: 50px;
}

.footer .footer-newsletter .newsletter-form input[type=submit]:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
}

.footer .footer-top {
  padding-top: 50px;
}

.footer .social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 50%);
  font-size: var(--p1fontSize);
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin-right: 10px;
  transition: 0.3s;
}

.footer .social-links a:hover {
  color: var(--accent-color);
  border-color: var(--accent-color);
}

.footer h4 {
  font-size: var(--p1fontSize);
  font-weight: bold;
  position: relative;
  padding-bottom: 12px;
}

.footer .footer-links {
  margin-bottom: 30px;
}

.footer .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer .footer-links ul i {
  margin-right: 3px;
  font-size: var(--p2fontSize);
  line-height: 0;
  color: var(--accent-color);
}

.footer .footer-links ul li {
  padding: 10px 0;
  display: flex;
  align-items: center;
}

.footer .footer-links ul li:first-child {
  padding-top: 0;
}

.footer .footer-links ul a {
  display: inline-block;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  line-height: 1;
}

.footer .footer-links ul a:hover {
  color: var(--accent-color);
}

.footer .footer-about a {
  color: var(--heading-color);
  font-size: var(--h4fontSize);
  font-weight: 600;
  font-family: var(--heading-font);
}

.footer .footer-contact p {
  margin-bottom: 5px;
}

.footer .copyright {
  padding: 25px 0;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.footer .copyright p {
  margin-bottom: 0;
}

.footer .credits {
  margin-top: 6px;
  font-size: var(--p2fontSize);
}

/*--------------------------------------------------------------
# Preloader

#preloader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  overflow: hidden;
  background: var(--background-color);
  transition: all 0.6s ease-out;
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid #ffffff;
  border-color: var(--accent-color) transparent var(--accent-color) transparent;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: animate-preloader 1.5s linear infinite;
}

@keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}
--------------------------------------------------------------*/


/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 99999;
  background-color: var(--accent-color);
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.4s;
}

.scroll-top i {
  font-size: 30px;
  color: var(--contrast-color);
  line-height: 0;
}

.scroll-top:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  color: var(--contrast-color);
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs
--------------------------------------------------------------*/
.page-title {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 160px 0 80px 0;
  text-align: center;
  position: relative;
}

.page-title:before {
  content: "";
  background-color: color-mix(in srgb, var(--background-color), transparent 50%);
  position: absolute;
  inset: 0;
}

.page-title h1 {
  font-size: var(--h1fontSize);
  font-weight: 700;
  margin-bottom: 10px;
}

.page-title .breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  justify-content: center;
  padding: 0;
  margin: 0;
  font-size: var(--p1fontSize);
  font-weight: 400;
}

.page-title .breadcrumbs ol li+li {
  padding-left: 10px;
}

.page-title .breadcrumbs ol li+li::before {
  content: "/";
  display: inline-block;
  padding-right: 10px;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
}

/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/

.navLogo{
  width: 50px;
  height: 50px;
}


.mobileHero{
  display: none;
}

.desktopHero{
  display: none;
}


/* Hero - Desktop */
@media (min-width: 1200px) {
  .main{
    margin-top: 2.5%;
  }

  
section,
.section {
  overflow: clip;
}

.desktopHero{
  display: flex;
  align-items: stretch;
 /* or any fixed height you want */
  width: 100%;
  overflow: hidden;
  gap: 2rem;
}

.desktopHero video{
  width: 100%;
}


.heroContent{
  display: flex;
  flex-direction: row;
  grid-template-rows: 50vw 50vw;
  gap: 0px;
  padding: 100px 100px;
}

.mobileHero{
  display: none;
}

.personalImg{
  width: 100%;
}

.personalImg img{
  box-shadow: none;

}


.personalDescription{
 
 width: 100%;
  text-align: right;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-right: 100px;

    color: white;
}


.personalDescription .shiny-cta{
  margin-top: 0.25rem;
  width: 20%;
}

.personalDescription .shiny-cta span{
  font-size: 26px;
  color: white;
}

}

@media (max-width: 1199px) {



  .desktopHero{
    display: none;
  }

    .main{
      margin-top: 10vh;
    }



      section,
    .section {
      overflow: clip;
    }

    .mobileHero{
      display: block;
      height: 100vh;
      width: 100%;
     /* position: relative; */
      border: 2px solid red; 
  
    }

    .mobileHeroFallback {

       border: 2px solid red; 

      display: none;
      width: 100%;
      height: auto;
      object-fit: cover;
      position: absolute;
      top: 0;
      left: 0;
      z-index: 1;
    }
    

    .heroVideo{  
    width: 100%;
    }

    .heroVideo video{
      width: 100%;
    }



.heroContent{
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  grid-template-rows: 50vw 50vw;
  gap: 0px;
  padding: 50px 20px;
  width: 100vw;
}

.personalImg{
  width: 100%;
}

.personalImg img{
  box-shadow: none;

}


.personalDescription{
 
 width: 100%;
  text-align: right;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-right: 20px;

    color: white;
}


.personalDescription .shiny-cta{
  margin-top: 0.25rem;
  width: auto;
}

.personalDescription .shiny-cta span{
  font-size: 16px;
  color: white;
}
}


@media(min-width: 678px){
  
.heroContent{
  display: flex;
  flex-direction: row;
  grid-template-rows: 50vw 50vw;
  gap: 0px;
  padding: 100px 100px;
}

.personalImg{
  width: 100%;
}

.personalImg img{
  box-shadow: none;

}

}

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/



.section-title {
  text-align: center;
  padding-bottom: 60px;
  position: relative;
}

.section-title h2 {
  font-size: var(--h2fontSize);
  font-weight: var(--h2fontWeight);
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
}

.section-title h2:before {
  content: "";
  position: absolute;
  display: block;
  width: 160px;
  height: 1px;
  background: color-mix(in srgb, var(--default-color), transparent 60%);
  left: 0;
  right: 0;
  bottom: 1px;
  margin: auto;
}

.section-title h2::after {
  content: "";
  position: absolute;
  display: block;
  width: 60px;
  height: 3px;
  background: var(--accent-color);
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
}

.section-title p {
  margin-bottom: 0;
}





/*--------------------------------------------------------------
# CTA BTN
--------------------------------------------------------------*/



:root {
  --shiny-cta-bg: #000000;
  --shiny-cta-bg-subtle: #1a1818;
  --shiny-cta-fg: #ffffff;
  --shiny-cta-highlight: blue;
  --shiny-cta-highlight-subtle: #8484ff;
}

@property --gradient-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

@property --gradient-angle-offset {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

@property --gradient-percent {
  syntax: "<percentage>";
  initial-value: 5%;
  inherits: false;
}

@property --gradient-shine {
  syntax: "<color>";
  initial-value: white;
  inherits: false;
}

.shiny-cta {
  --animation: gradient-angle linear infinite;
  --duration: 3s;
  --shadow-size: 2px;
  isolation: isolate;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  outline-offset: 4px;

  padding: 1rem 2.5rem;

  font-family: inherit;
  font-size: var(--p1fontSize);
  line-height: 1.2;
  border: 1px solid transparent;
  border-radius: 360px;
  color: var(--shiny-cta-fg);
  background: linear-gradient(var(--shiny-cta-bg), var(--shiny-cta-bg))
      padding-box,
    conic-gradient(
        from calc(var(--gradient-angle) - var(--gradient-angle-offset)),
        transparent,
        var(--shiny-cta-highlight) var(--gradient-percent),
        var(--gradient-shine) calc(var(--gradient-percent) * 2),
        var(--shiny-cta-highlight) calc(var(--gradient-percent) * 3),
        transparent calc(var(--gradient-percent) * 4)
      )
      border-box;
  box-shadow: inset 0 0 0 1px var(--shiny-cta-bg-subtle);

  &::before,
  &::after,
  span::before {
    content: "";
    pointer-events: none;
    position: absolute;
    inset-inline-start: 50%;
    inset-block-start: 50%;
    translate: -50% -50%;
    z-index: -1;
  }

  &:active {
    translate: 0 1px;
  }
}

/* Dots pattern */
.shiny-cta::before {
  --size: calc(100% - var(--shadow-size) * 3);
  --position: 2px;
  --space: calc(var(--position) * 2);
  width: var(--size);
  height: var(--size);
  background: radial-gradient(
      circle at var(--position) var(--position),
      white calc(var(--position) / 4),
      transparent 0
    )
    padding-box;
  background-size: var(--space) var(--space);
  background-repeat: space;
  mask-image: conic-gradient(
    from calc(var(--gradient-angle) + 45deg),
    black,
    transparent 10% 90%,
    black
  );
  border-radius: inherit;
  opacity: 0.4;
  z-index: -1;
}

/* Inner shimmer */
.shiny-cta::after {
  --animation: shimmer linear infinite;
  width: 100%;
  aspect-ratio: 1;
  background: linear-gradient(
    -50deg,
    transparent,
    var(--shiny-cta-highlight),
    transparent
  );
  mask-image: radial-gradient(circle at bottom, transparent 40%, black);
  opacity: 0.6;
}

.shiny-cta span {

  font-size: var(--h4fontSize);
  font-weight: var(--h4fontWeight);
  z-index: 1;

  &::before {
    --size: calc(100% + 1rem);
    width: var(--size);
    height: var(--size);
    box-shadow: inset 0 -1ex 2rem 4px var(--shiny-cta-highlight);
    opacity: 0;
  }
}

/* Animate */
.shiny-cta {
  --transition: 800ms cubic-bezier(0.25, 1, 0.5, 1);
  transition: var(--transition);
  transition-property: --gradient-angle-offset, --gradient-percent,
    --gradient-shine;

  &,
  &::before,
  &::after {
    animation: var(--animation) var(--duration),
      var(--animation) calc(var(--duration) / 0.4) reverse paused;
    animation-composition: add;
  }

  span::before {
    transition: opacity var(--transition);
    animation: calc(var(--duration) * 1.5) breathe linear infinite;
  }
}

.shiny-cta:is(:hover, :focus-visible) {
  --gradient-percent: 20%;
  --gradient-angle-offset: 95deg;
  --gradient-shine: var(--shiny-cta-highlight-subtle);

  &,
  &::before,
  &::after {
    animation-play-state: running;
  }

  span::before {
    opacity: 1;
  }
}

@keyframes gradient-angle {
  to {
    --gradient-angle: 360deg;
  }
}

@keyframes shimmer {
  to {
    rotate: 360deg;
  }
}

@keyframes breathe {
  from,
  to {
    scale: 1;
  }
  50% {
    scale: 1.2;
  }
}




/*--------------------------------------------------------------
# Gradient Background glb
--------------------------------------------------------------*/

@import url('https://fonts.googleapis.com/css?family=Montserrat:400,700');

.glb-card {
  position: relative;
  z-index: 10;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  overflow: hidden;
}

.glb-card:before {
  content: "";
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: rgb(255, 255, 255);
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 34%, rgba(255, 255, 255, 1) 89%, rgba(255, 255, 255, 0) 100%);
  opacity: 0.3;
  filter: blur(.5px);
  mix-blend-mode: hard-light;
}

.glb-card .noise {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: 1;
  opacity: 0.1;
}

.glb-card .glb-content {
  position: relative;
  z-index: 2;
  text-shadow: -3px 0px 2px rgba(0, 0, 0, 0.1);
}

.backgroundglowSection{
  background-color: rgba(0, 0, 0, 0.);
}

@keyframes moveInCircle {
  0% {
    transform: rotate(0deg);
  }
  50% {
    transform: rotate(180deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes moveVertical {
  0% {
    transform: translateY(-50%);
  }
  50% {
    transform: translateY(50%);
  }
  100% {
    transform: translateY(-50%);
  }
}

@keyframes moveHorizontal {
  0% {
    transform: translateX(-50%) translateY(-10%);
  }
  50% {
    transform: translateX(50%) translateY(10%);
  }
  100% {
    transform: translateX(-50%) translateY(-10%);
  }
}

/* Position the gradient background properly */
.gradient-bg {
    position: fixed; /* Make it stick to the viewport */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -100; /* Make sure it's in the background */
    overflow: hidden; /* Avoid overflowing */
}

/* Ensure subsequent sections are positioned correctly on top */


.gradient-bg .svgBlur {
  display: none;
}

.gradient-bg .noiseBg {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 1;
  mix-blend-mode: soft-light;
  opacity: 0.3;
}

.gradient-bg .gradients-container {
  filter: url(#goo) blur(40px);
  width: 100%;
  height: 100%;
}

.gradient-bg .g1,
.gradient-bg .g2,
.gradient-bg .g3,
.gradient-bg .g4,
.gradient-bg .g5,
.gradient-bg .interactive {
  position: absolute;
  mix-blend-mode: var(--blending);
  width: var(--circle-size);
  height: var(--circle-size);
  top: calc(50% - var(--circle-size) / 2);
  left: calc(50% - var(--circle-size) / 2);
}

.gradient-bg .g1 {
  background: radial-gradient(circle at center, rgba(var(--color1), 0.8) 0, rgba(var(--color1), 0) 50%) no-repeat;
  animation: moveVertical 30s ease infinite;
  opacity: 1;
}

.gradient-bg .g2 {
  background: radial-gradient(circle at center, rgba(var(--color2), 0.8) 0, rgba(var(--color2), 0) 50%) no-repeat;
  transform-origin: calc(50% - 400px);
  animation: moveInCircle 20s reverse infinite;
  opacity: 1;
}

.gradient-bg .g3 {
  background: radial-gradient(circle at center, rgba(var(--color3), 0.8) 0, rgba(var(--color3), 0) 50%) no-repeat;
  top: calc(50% - var(--circle-size) / 2 + 200px);
  left: calc(50% - var(--circle-size) / 2 - 500px);
  transform-origin: calc(50% + 400px);
  animation: moveInCircle 40s linear infinite;
  opacity: 1;
}

.gradient-bg .g4 {
  background: radial-gradient(circle at center, rgba(var(--color4), 0.8) 0, rgba(var(--color4), 0) 50%) no-repeat;
  transform-origin: calc(50% - 200px);
  animation: moveHorizontal 40s ease infinite;
  opacity: 0.7;
}

.gradient-bg .g5 {
  background: radial-gradient(circle at center, rgba(var(--color5), 0.8) 0, rgba(var(--color5), 0) 50%) no-repeat;
  width: calc(var(--circle-size) * 2);
  height: calc(var(--circle-size) * 2);
  top: calc(50% - var(--circle-size));
  left: calc(50% - var(--circle-size));
  transform-origin: calc(50% - 800px) calc(50% + 200px);
  animation: moveInCircle 20s ease infinite;
  opacity: 1;
}

.gradient-bg .interactive {
  background: radial-gradient(circle at center, rgba(var(--color-interactive), 0.8) 0, rgba(var(--color-interactive), 0) 50%) no-repeat;
  width: 100%;
  height: 100%;
  top: -50%;
  left: -50%;
  opacity: 0.7;
}





/*--------------------------------------------------------------
# Gradient Background glb
--------------------------------------------------------------*/


.imageVideoBlur {
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border-radius: 8px;

  }
  




/* Wrapper for the image and text overlay */
.media-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: block;
  transition: all 0.5s ease;
}

.service-img {
  width: 100%;
  height: auto; /* Keeps the aspect ratio correct on smaller screens */
  filter: brightness(0.75); /* Darkens the image initially */
  transition: filter 0.5s ease;
}

/* Brighten image on hover */
.media-wrapper:hover .service-img {
  filter: brightness(1);
}

/* Text overlay */
.overlay-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  width: 90%; /* To ensure the text doesn’t go out of bounds */
  z-index: 2;
  
}



@media (max-width: 576px) {
  .overlay-text {
    width: 100%;
    padding: 0 10px;
  }

}


.gradient-bottom {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px; /* Adjust the height of the gradient if needed */
  pointer-events: none;
  background: linear-gradient(to top, black, transparent);
}


@media (min-width: 1200px) {

.zSzoom {  
  display: flex;
  flex-wrap: nowrap;
  flex-direction: column;
  align-items: stretch;
  background-color: #000;
  color: #fff;
  position: relative;

  position: absolute;
  z-index: 5;

}


.zSzoom-section {
  height: 101vh;
  flex-shrink: 0;
  flex-grow: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  position: sticky;
  top: 0px;
  bottom: 0px;
  will-change: transform;
}



.contact-panel {
  position: absolute;
  z-index: 500;
  box-sizing: border-box;
  width: 100%;
  max-width: 100vw; /* optional: prevents stretching beyond viewport */
  overflow: hidden; /* hide any accidental overflow */

  height: 50vh;
  display: flex;
  justify-content: space-between; /* pushes items apart */
  align-items: center;

  padding: 1rem 15rem; /* optional: adds spacing from edges */
  color: rgb(255, 255, 255);
  text-shadow: rgb(0, 0, 0) 1px 0 20px;
}


.imprint{
  text-align: right;
}


canvas{
  transform: translateY(15vh);
  filter: invert(1);
  opacity: 0.8;
}

}

@media (max-width: 1199px){
  
  .contact-panel {
    margin-top: 20%;
    position: absolute;
    z-index: 500;
    box-sizing: border-box;
   width: 99vw;
    max-width: 99vw; /* optional: prevents stretching beyond viewport */
    overflow: hidden; /* hide any accidental overflow */
  
 
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* pushes items apart */

  
    padding: 1rem 5rem; /* optional: adds spacing from edges */
    color: rgb(255, 255, 255);
    text-shadow: rgb(0, 0, 0) 1px 0 20px;
  }
  
  .contact{
    color: white;
  }
  
  .imprint{
    text-align: right;
  }
  
  
  canvas{
    max-width: 99%;
    transform: translateY(15vh);
    filter: invert(1);
  }
  
}


@media (max-width: 768px) {

  .zSzoom {  
    display: flex;
    flex-wrap: nowrap;
    flex-direction: column;
    align-items: stretch;
    background-color: #000;
    color: #fff;
    position: relative;
  
    position: absolute;
    z-index: 5;
  
  }
  
  
  .zSzoom-section {
    height: 101vh;
    flex-shrink: 0;
    flex-grow: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    position: sticky;
    top: 0px;
    bottom: 0px;
    will-change: transform;
  }
  
  
  
  .contact-panel {
    margin-top: 20%;
    position: absolute;
    z-index: 500;
    box-sizing: border-box;
   width: 99vw;
    max-width: 99vw; /* optional: prevents stretching beyond viewport */
    overflow: hidden; /* hide any accidental overflow */
  
 
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* pushes items apart */

  
    padding: 1rem 5rem; /* optional: adds spacing from edges */
    color: rgb(255, 255, 255);
    text-shadow: rgb(0, 0, 0) 1px 0 20px;
  }
  
  .contact{
    color: white;
  }
  
  .imprint{
    text-align: right;
  }
  
  
  canvas{
    max-width: 99%;
    transform: translateY(15vh);
    filter: invert(1);
  }
  
  }
/******************************

videoGrid

**************************/

.videoGrid{
  display: none;
}

.videoGridmobile{
  display: none;
}

@media (min-width: 769px) {

.videoGridmobile{  
  display: none;
}

.videoGrid{
scale: 0.9;
display: flex;
flex-direction: column;
align-items: center;
gap: 2rem;

}


.videoRow1 {
  display: flex;
  align-items: stretch;
  height: 41.5vw; /* or any fixed height you want */
  width: 100%;
  overflow: hidden;
  gap: 2rem;
}

.videoRow2{
  display: flex;
  align-items: stretch;
  height: 56.5vw; /* or any fixed height you want */
  width: 100%;
  overflow: hidden;
  gap: 2rem;
}



.videocolum1{
  display: flex;
  flex-direction: column;
  align-items: stretch;
  height: 90vw;
  overflow: hidden;
  gap: 2rem;
}




.videocolum1{
  display: flex;
  flex-direction: column;
  align-items: stretch;
  height: 69vw; 
  width: 100%;
  overflow: hidden;
  gap: 2rem;
}

.videocolum1 video {
  height: 50%;
  width: auto;
  display: block;
}

.videoRow3{
  display: flex;
  align-items: stretch;
  height: 63vw;   /* or any fixed height you want */
  width: 100%;
  overflow: hidden;
  gap: 2rem;
}

.video-el {
  height: 100%;
  width: auto;
  flex-shrink: 1;
  flex-grow: 0;
 }

}




@media (max-width: 768px) {
  .videoGrid{ display: none;}

  .videoGridmobile{  
  scale: 0.9;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;  
  width: 100vw;
  }
    
  .videoRow1 {
    display: flex;
    align-items: stretch;
    height: 57vw; /* or any fixed height you want */
    width: 100%;
    overflow: hidden;
    gap: 2rem;
  }
  
  .videoRow2{
    display: flex;
    align-items: stretch;
    height: 90vw; /* or any fixed height you want */
      width: 100%;
    overflow: hidden;
    gap: 2rem;
  }   
  
  .videoRow3{
    display: flex;
    align-items: stretch;
    height:90vw;   /* or any fixed height you want */
    width: 100%;
    overflow: hidden;
    gap: 2rem;
  }

  .videoRow4{
    display: flex;
    align-items: stretch;
    height: 57vw; /* or any fixed height you want */
    width: 100%;
    overflow: hidden;
    gap: 2rem;
  }
     
  
  .videocolum1 video {
    height: 100%;
    width: auto;
    display: block;
  }
  


  .videoRow5{
    display: flex;
    align-items: stretch;
    height: 57vw; /* or any fixed height you want */
    width: 100%;
    overflow: hidden;
    gap: 2rem;
  }


  .videoRow6{
    display: flex;
    align-items: stretch;
     /* or any fixed height you want */
    width: 100%;
    overflow: hidden;
    gap: 2rem;
  }

  
  .video-el {
    height: 100%;
    width: auto;
    flex-shrink: 1;
    flex-grow: 0;
   }
  
  }
  
  






/* *****

Hamburger

**** */

a{
  text-decoration: none;
}



/* GRID */


.six { width: 49.2%; }


/* COLUMNS */

.col {
	display: block;
	float:left;
	margin: 1% 0 1% 1.6%;
}

.col:first-of-type {
  margin-left: 0;
}


/* ALL */

.row .three{
  padding: 80px 30px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  background-color: #2c3e50;
  color: #ecf0f1;
  text-align: center;
}

.hamburger .line{
  width: 20px;
  height: 2px;
  background-color: #ecf0f1;
  display: block;
  margin: 5px auto;
  -webkit-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.hamburger:hover{
  cursor: pointer;
}

/* SIX */

#hamburger-6.is-active{
  -webkit-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  -webkit-transition-delay: 0.6s;
  -o-transition-delay: 0.6s;
  transition-delay: 0.6s;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
}

#hamburger-6.is-active .line:nth-child(2){
  width: 0px;
}

#hamburger-6.is-active .line:nth-child(1),
#hamburger-6.is-active .line:nth-child(3){
  -webkit-transition-delay: 0.3s;
  -o-transition-delay: 0.3s;
  transition-delay: 0.3s;
}

#hamburger-6.is-active .line:nth-child(1){
  -webkit-transform: translateY(7px);
  -ms-transform: translateY(7px);
  -o-transform: translateY(7px);
  transform: translateY(7px);
}

#hamburger-6.is-active .line:nth-child(3){
  -webkit-transform: translateY(-7px) rotate(90deg);
  -ms-transform: translateY(-7px) rotate(90deg);
  -o-transform: translateY(-7px) rotate(90deg);
  transform: translateY(-7px) rotate(90deg);
}



/* about */
.video-container {
  position: relative;
  max-width: 100%;
  width: 90%;
  margin: auto;
}

.about-vid {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
}

/* Overlay Play Button */
.overlay-play {
  position: absolute;
  top: 50%;
   left: 50%;

  transform: translate(-50%, -50%);
  width: 70px;
  height: 70px;
  border: none;
  border-radius: 50%;

  background: rgb(14, 13, 15);
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 2;
  transition: opacity .25s ease, transform .25s ease;
}

.overlay-icon {
  width: 40%;
  height: 40%;
}

.overlay-play.hidden {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.95);
}

/* Floating glass bar */
.controls-bar {
  position: absolute;
  bottom: 10px;
   left: 50%;
  transform: translateX(-50%);
  width: 95%;
  max-width: 900px;
  padding: 6px 10px;
  background: rgba(20, 7, 43, 0.25);
  backdrop-filter: blur(10px);
  border-radius: 8px;
  display: flex; align-items: center; gap: 10px;
}

.controls-bar button {
  background: none;
  border: none;
  font-size: 16px;
  color: white;
  cursor: pointer;
  flex-shrink: 0;
}

.controls-bar input[type="range"] {
  flex: 1;
  height: 4px;
  border-radius: 2px;
  -webkit-appearance: none;
  background: #ddd;
}

.controls-bar input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width:10px;
  height:10px;
  border-radius: 50%;
  background: #000;
  cursor: pointer;
}

/* Firefox */
.controls-bar input[type="range"]::-moz-range-thumb {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #000;
  cursor: pointer;
}

/* Extra responsiveness tweaks */
@media (max-width: 600px) {
  .controls-bar {
    bottom: 6px;
    padding: 4px 8px;
    gap: 6px;
  }

  .overlay-play {
  width: 50px;
  height: 50px;
  }
}













/* project design */
/* ===== responsive project section ===== */
.project-section {
  padding: clamp(12px, 3vw, 24px);
  margin-inline: auto;
  max-width: min(1200px, 94vw);
}

.project-section-design {
  padding: clamp(12px, 3vw, 24px);
  margin-inline: auto;
  max-width: min(1200px, 94vw);
}


.project-title {
  margin: 0 0 clamp(8px, 2vw, 14px);
  font-size: clamp(18px, 2.5vw, 24px);
}

/* grid — fluid columns; denser on bigger screens */
.thumb-grid {
  display: grid;
  gap: clamp(6px, 1.5vw, 12px);
  grid-template-columns: repeat(3, 1fr);              /* tiny phones */
}
@media (min-width: 480px) {
  .thumb-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 768px) {
  .thumb-grid { grid-template-columns: repeat(6, 1fr); }
}

.thumb {
  position: relative;
  display: block;
  border: 0;
  padding: 0;
  background: #eee;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  min-height: 0; /* avoid flex/grid overflow */
}
.thumb img {
  width: 100%;
  height: 100%;
  aspect-ratio: 3 / 4;    /* vertical-friendly look for the grid */
  object-fit: cover;
  display: block;
}

/* video badge */
.is-video .play-badge {
  position: absolute; inset: 0;
  display: grid; place-items: center;
}
.is-video .play-badge::before {
  content: "";
  width: clamp(34px, 7vw, 48px);
  height: clamp(34px, 7vw, 48px);
  border-radius: 50%;
  background: rgba(0,0,0,.75);
  box-shadow: 0 6px 18px rgba(0,0,0,.35);
}
.is-video .play-badge::after {
  content: "";
  position: absolute;
  border-left: clamp(10px, 2.2vw, 14px) solid #fff;
  border-top: clamp(6px, 1.6vw, 9px) solid transparent;
  border-bottom: clamp(6px, 1.6vw, 9px) solid transparent;
  transform: translateX(2px);
}

/* show-all behavior: 9 visible by default, reveal rest when expanded */
.thumb-grid .thumb { display: block; }
.thumb-grid:not(.is-expanded) .thumb:nth-child(n+10) { display: none; }

.view-all {
  margin: clamp(10px, 2.5vw, 16px) auto 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  padding: clamp(8px, 2vw, 12px) clamp(12px, 3vw, 18px);
  border: 0; border-radius: 999px;
  background: #111; color: #fff;
  font-size: clamp(13px, 2.2vw, 15px);
  line-height: 1;
}

.view-allblue{
   
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  padding: clamp(8px, 2vw, 12px) clamp(12px, 3vw, 18px);
  border: 0; border-radius: 999px;
  background: #380d9e; 
  color: #ffffff;
  font-size: clamp(13px, 2.2vw, 15px);
  line-height: 1;

}

/* viewer (on-page fullscreen) */
.viewer {
  position: fixed; inset: 0;
  padding:
    max(10px, env(safe-area-inset-top))
    max(10px, env(safe-area-inset-right))
    max(10px, env(safe-area-inset-bottom))
    max(10px, env(safe-area-inset-left));
  background: rgba(0,0,0,.92);
  display: none;
  z-index: 999;
}
.viewer.is-open {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: clamp(8px, 2vw, 12px);
}

.viewer__stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 0;
}
.viewer__stage img,
.viewer__stage video {
  max-width: min(96vw, 1100px);
  max-height: calc(100dvh - 160px);
  width: auto; height: auto;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(0,0,0,.4);
}

.viewer__caption {
  color: #fff; opacity: .8;
  text-align: center;
  padding: 0 clamp(8px, 2vw, 16px) clamp(8px, 2vw, 16px);
  font-size: clamp(12px, 2vw, 14px);
}

/* viewer controls */
.viewer__close {
  justify-self: end;
  margin-top: 0;
  border: 0;
  background: rgba(255,255,255,.12);
  color: #fff;
  border-radius: 8px;
  padding: clamp(6px, 1.6vw, 10px) clamp(8px, 2vw, 12px);
  cursor: pointer;
  backdrop-filter: blur(6px);
  font-size: clamp(16px, 3vw, 20px);
}
.viewer__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  border: 0; background: rgba(255,255,255,.12);
  color: #fff;
  width: clamp(36px, 8vw, 46px);
  height: clamp(36px, 8vw, 46px);
  border-radius: 999px; cursor: pointer;
  backdrop-filter: blur(6px);
  font-size: clamp(18px, 4vw, 22px);
  display: grid; place-items: center;
}
.viewer__prev { left: clamp(8px, 2vw, 12px); }
.viewer__next { right: clamp(8px, 2vw, 12px); }

/* lock body when open */
body.viewer-lock { overflow: hidden; }

/* accessibility & motion prefs */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}


/* ensure nav arrows are always clickable */
.viewer__nav {
  z-index: 5;              /* lift above media */
}

.viewer__stage img,
.viewer__stage video {
  position: relative;      /* keep in flow */
  z-index: 1;              /* lower than nav */
}
