@font-face {
    font-family: 'Bernoru';
    src:url('../assets/fonts/bernoru-blackultraexpanded.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Futura';
    src:url('../assets/fonts/Futura\ PT\ Heavy.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Glacialreg';
    src:url('../assets/fonts/GlacialIndifference-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Glacialbold';
    src:url('../assets/fonts/GlacialIndifference-Bold.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Telegraf';
    src:url('../assets/fonts/PPTelegraf-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    overflow-x: hidden;
}

#navbar {
    position: fixed;
    top: 0;
    width: 100%;
    height: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 15px;
    background-color: transparent;
    transition: all 0.3s ease;
    z-index: 1000;
}

#navbar.scrolled {
    background-color: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

#nav-logo {
    height: 50px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

#navbar.scrolled #nav-logo {
    opacity: 1;
}

.hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 18px;
    width: 40px;
    cursor: pointer;
    z-index: 1001;
}

.line {
    height: 2px;
    background-color: black;
    transition: all 0.3s ease;
    transform-origin: center;
}

.line1 {
    width: 80%;
    align-self: flex-end;
}

.line2 {
    width: 100%;
}

.line3 {
    width: 60%;
    align-self: flex-start;
}
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #212121;
    padding-top: 75px;
    display: flex;
    flex-direction: column;
    justify-content:flex-start;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    z-index: 999;
}


/* Add this for the image */
.menu-overlay::before {
    content: "";
    position: absolute;
    top: 300px;
    left: 0;
    width: 380px; /* Adjust width as needed */
    height: 380px; /* Adjust height as needed */
    background-image: url('../assets/saturnhalf-removebg-preview.png');
    background-size: cover;
    background-position: center;
    z-index: 1000; /* Ensure it's above the background */
}
/* Keyframes */
@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@keyframes slideDownFadeIn {
    to {
        opacity: 1;
        transform: translateY(0); /* Ends at natural position */
    }
}


@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.menu-content {
    margin-top: 10px;
    padding: 20px;
}

.menu-content ul {
    list-style: none;
}

.menu-content li {
    margin-bottom: 20px;
    transform: translateX(-100%);
    opacity: 0;
    transition: all 0.4s ease;
}

.menu-overlay.active .menu-content li {
    transform: translateX(0);
    opacity: 1;
}

/* Staggered animation for menu items */
.menu-overlay.active .menu-content li:nth-child(1) {
    transition-delay: 0.1s;
}
.menu-overlay.active .menu-content li:nth-child(2) {
    transition-delay: 0.2s;
}
.menu-overlay.active .menu-content li:nth-child(3) {
    transition-delay: 0.3s;
}
.menu-overlay.active .menu-content li:nth-child(4) {
    transition-delay: 0.4s;
}

/* Reverse animation when closing */
.menu-overlay.closing .menu-content li {
    transform: translateX(100%) !important;
    opacity: 0 !important;
}

.menu-overlay.closing .menu-content li:nth-child(1) {
    transition-delay: 0s;
}
.menu-overlay.closing .menu-content li:nth-child(2) {
    transition-delay: 0.1s;
}
.menu-overlay.closing .menu-content li:nth-child(3) {
    transition-delay: 0.2s;
}
.menu-overlay.closing .menu-content li:nth-child(4) {
    transition-delay: 0.3s;
}

.menu-content a {
    font-family: 'Bernoru';
    text-decoration: none;
    color: rgb(200, 200, 200);
    font-size: 28px;
    display: inline-block;
    transition: transform 0.3s ease;
}

.menu-content a:hover {
    transform: scale(1.05);
}
/* Hamburger Animation when active */
.hamburger.active .line1 {
    transform: translateY(8px) rotate(45deg);
    width: 100%;
}

.hamburger.active .line2 {
    opacity: 0;
}

.hamburger.active .line3 {
    transform: translateY(-8px) rotate(-45deg);
    width: 100%;
}

.content {
    margin-top: 0px;
    position: relative; /* Needed for absolute positioning of video */
    overflow: hidden; /* Hide any video overflow */
}

#video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Cover the entire div */
    z-index: -1; /* Place behind other content */
}

.square-box {
    position: absolute;
    top: opx;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 555px;
    background: linear-gradient(180deg, #cbcbcb 0%, #e7e7e7 25%, #ebebeb 50%, #fafafa 75%, #fff 100%);
    padding: 15px;
    box-sizing: border-box;
    overflow: hidden;
    /* Flexbox for vertical stacking (if needed) */
    display: flex;
    flex-direction: column;
    align-items: center; /* Horizontally centers children */
}

.box-image {
    width: 220px;
    height: auto;
    margin: 70px auto 0px 0px; /* Top margin pushes down, auto centers */
    padding: 0; /* Prevents size distortion */
    filter: drop-shadow(3px 3px 5px rgba(0, 0, 0, 0.25));

}

.bold-text {
    font-family: 'Glacialbold'; /* Your bold font */
    font-weight: bold;
}
.text-container {
    padding-top: 0px;
    width: 100%;
    color: #1c1c1c; /* Dark text for light background */
    font-family: 'Glacialreg'; /* Using your custom font */
    font-size: 17px;
    text-align: left;
    margin-left: 0px;
    line-height: 16px;

}
.saturn-float {
    position: absolute;
    width: 440px; /* Adjust size as needed */
    height: auto;
    top: 190px; /* Adjust position */
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    animation: float 3s ease-in-out infinite;
    filter: drop-shadow(5px 10px 8px rgba(0, 0, 0, 0.4));
}

/* Updated button styles */
.text-buttons {
    position: absolute;
    right: 15px;
    top: 94px;
    display: flex;
    flex-direction: column;
    gap: 2px; /* Slightly increased gap */
    z-index: 2;
}

.text-buttons button {
    width: 105px;
    height: 26px;
    font-weight: 900;
    background: transparent; /* No fill */
    color: #1d1d1d; /* Darker than border */
    border: 3px solid #1d1d1d; /* Border only */
    padding: 0;
    border-radius: 25px;
    font-family: 'Telegraf';
    font-size: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.2s ease; /* Added all for multiple transitions */
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    outline: none; /* Remove default focus outline */
}

.text-buttons button:hover {
    border-color: #5a5a5a; /* Slightly lighter on hover */
    color: #2a2a2a; /* Darker text on hover */
}

.text-buttons button:active {
    transform: scale(1.05);
    font-size: 16px; /* Text enlargement */
    border-width: 2px; /* Slightly thicker border */
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Optional: Add focus style for accessibility */
.text-buttons button:focus {
    border-color: #6c6c6c;
}

.text-small {
    font-family: 'Glacialbold';
    font-size: 17px;
    color: #333;
    text-decoration: none;
    padding-top: 10px;
    padding-bottom: 10px;
    text-decoration: underline;
}

.text-head {
    position: absolute;
    font-family: 'Futura';
    font-size: 70px;
    letter-spacing: -2px;
    font-weight: bold;
    color: #222222;
    text-decoration: none;
    line-height: 38px;
    top: 80px;
    left:12px;
}
.text-big {
    font-family: 'Futura';
    font-size: 44px;
    letter-spacing: -2px;
    font-weight: bold;
    color: #000000;
    text-decoration: none;
    line-height: 38px;
}
.text-exp{
    font-family: 'Glacialreg';
    font-size: 17px;
    color: #333;
    text-decoration: none;
    padding-top: 10px;
}


.classicdiv{
    position: absolute;
    top: 555px;
    height:auto;
    width:100%;
    background: #f3f3f3;
}
.text-img {
    position: absolute;
    left: 15px;
    align-self:flex-end;
    margin-bottom: 10px;
    font-family: 'Glacialreg';
    font-size: 15px;
    color: #fff;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
    z-index: 2;
}

.image-button {
    position: absolute;
    right: 15px;
    bottom: 10px;
    align-self:flex-end;
    font-family: 'Glacialreg';
    background: rgba(243, 243, 243, 0.837);
    color: black;
    border: none;
    padding: 6px 10px;
    border-radius: 25px;
    font-size: 13px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    z-index: 2;
    transition: transform 0.2s ease;
}

.simp-button {
    position: absolute;
    left: 15px;
    font-family: 'Glacialreg';
    font-weight: 500;
    background: rgb(13, 13, 13);
    color: rgb(255, 255, 255);
    border: none;
    margin-top: 5px;
    margin-bottom: 10px;
    padding: 6px 17px;
    border-radius: 25px;
    font-size: 17px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    z-index: 2;
    transition: transform 0.2s ease;
}

.simp-button:active{
    transform: scale(1.08);
}

/* Remove the space between .image-button and :active */
.image-button:active {
    transform: scale(1.07);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}
.full-width-image {
    width: 100vw; /* Changed from 100% to vw for full viewport width */
    margin-left: calc(-50vw + 50%);
    overflow: hidden;
    position: relative; /* This creates the positioning context */
    height: auto;
}

.full-width-image img {
    width: 100%;
    height: auto;
    display: block;
    position: relative; /* Ensure image stays in normal flow */
    z-index: 1; /* Lower than text */
}
    @keyframes float {
        0%, 100% {
            transform: translateX(-50%) translateY(0);
        }
        50% {
            transform: translateX(-50%) translateY(-15px);
        }
    }

    .carousel-container {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.carousel {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 100%;
}

.carousel-slide {
    min-width: 100%;
    position: relative;
}

.carousel-slide img {
    width: 100%;
    display: block;
}
.profdiv {
    position: absolute;
    top: 1070px;
    height: auto;
    width: 100%;
    background: #efefef;
    overflow: hidden; /* Ensures video doesn't overflow the div */
    z-index: 1;
}

.profdiv video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -1; /* Keeps video behind other content */
    object-fit: cover; /* Ensures video covers the entire div */
}

.profdiv-content {
    position: relative;
    z-index: 1; /* Ensures content stays above video */
}
  .image-prof {
    width: 160px;
    height: 200px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.782);
    overflow: hidden; /* Ensures images don't overflow the container */
    margin: 10px auto 0 ; /* Adds space between multiple instances */
  border: 2px solid #bababa;
  outline: 2px solid #000; 
  box-sizing: border-box;
}
  
  .image-prof img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures image covers the container while maintaining aspect ratio */
    display: block; /* Removes extra space below image */
  }

  .profiles-row {
  display: flex;
  justify-content: center;
  gap: 10px; /* Adjust spacing between profiles */
  flex-wrap: wrap; /* Allows wrapping on small screens */
}

/* Profile wrapper */
.profile-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 160px; /* Match image width */
}

/* Your existing image styles */
.image-prof2 {
  width: 160px;
  height: 200px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.782);
  overflow: hidden;
  margin: 5px 0 0; 
  border: 2px solid #bababa;
  outline: 2px solid #000; 
  box-sizing: border-box;
}

.image-prof2 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.imgtext-small {
    font-family: 'Glacialbold';
    font-size: 17px;
    color: #181818;
    text-decoration: none;
    padding-top: 5px;
    text-decoration: underline;
}
.imgtext-exp{
    font-family: 'Glacialreg';
    font-size: 15px;
    color: #181818;
    text-decoration: none;
    padding-top: 1px;
    padding-bottom: 10px;
}
.teamdiv {
    position: absolute;
    top: 1715px;
    height: auto;
    width: 100%;
    background: #292929;
    overflow: hidden;
}

.team-carousel-container {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 5px;
}

.team-carousel {
    display: flex;
    gap: 50px;
    padding: 10px 20px;
    width: max-content;
}

.team-member {
    display: flex;
    flex-direction: column;
    width: 210px; /* Same as image width */
    flex-shrink: 0;
}

.image-team {
    width: 210px;
    height: 250px;
    overflow: hidden;
    border: 2px solid #000;
    outline: 2px solid #e2e2e2;
    box-sizing: border-box;
}

.image-team img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.member-text {
    padding-top: 5px;
    width: 100%; /* Ensure text container matches image width */
}

.teamtext-small {
    font-family: 'Glacialbold';
    font-size: 17px;
    color: #f2f2f2; /* Light color for dark background */
    margin: 0;
    padding: 0px 0 0 0;
    text-align: left;
    width: 100%;
}

.teamtext-exp {
    font-family: 'Glacialreg';
    font-size: 15px;
    color: #dcdcdc; /* Slightly lighter than background */
    margin: 0;
    padding: 0px 0 0px 0;
    text-align: left;
    width: 100%;
}
.team-buttons {
    display: flex;
    justify-content: left;
    margin: 10px auto;
    width: fit-content;
    z-index: 2;
}

.team-buttons button {
    width: 190px;
    height: 32px;
    font-weight: 700;
    background: transparent;
    color: #d2d2d2;
    border: 3px solid #d6d6d6;
    padding: 0;
    border-radius: 25px;
    font-family: 'Telegraf';
    font-size: 17px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    outline: none;
}

.team-buttons button:hover {
    border-color: #d2d2d2;
    color: #f1f1f1;
    background: rgba(255,255,255,0.1);
}

.team-buttons button:active {
    transform: scale(1.05);
    font-size: 16px;
    border-width: 2px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.team-buttons button:focus {
    border-color: #dadada;
}
.founderdiv {
    position: absolute;
    top: 2293px;
    height: auto;
    width: 100%;
    background: #e6e6e6;
    overflow: hidden;
}
.footer {
    position: absolute;
    top: 2890px;
    height: auto;
    width: 100%;
    background: #101010;
    overflow: hidden;
    color: white;
    font-family: Arial, sans-serif;
    padding: 25px;
    box-sizing: border-box;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
}

.logo-space {
    width: 80px; /* Adjust based on your logo size */
    height: 40px; /* Adjust based on your logo size */
    margin-bottom: 10px;
}

.footer-logo {
    width: 100%;
    height: auto;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    color: white;
    font-size: 24px;
    text-decoration: none;
}

.platform-name {
    font-size: 18px;
    font-weight: bold;
}

.footer-right {
    margin-top: 10px;
    font-size: 14px;
    opacity: 0.8;
}

/* Fade-in animations for square-box elements */
.square-box .box-image {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease-out 0.3s forwards;
}

.square-box .text-container {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease-out 0.6s forwards;
}

.square-box .text-buttons {
    opacity: 0;
    animation: fadeIn 0.8s ease-out 0.9s forwards;
}

.square-box .text-buttons button:nth-child(1) {
    opacity: 0;
    transform: translateX(20px);
    animation: fadeInRight 0.6s ease-out 1.1s forwards;
}

.square-box .text-buttons button:nth-child(2) {
    opacity: 0;
    transform: translateX(20px);
    animation: fadeInRight 0.6s ease-out 1.3s forwards;
}

.saturn-float {
    opacity: 0;
    animation: fadeIn 1s ease-out 0.2s forwards, 
               float 3s ease-in-out 1.2s infinite;
}

/* Keyframes for animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from { 
        opacity: 0;
        transform: translateY(20px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from { 
        opacity: 0;
        transform: translateX(20px);
    }
    to { 
        opacity: 1;
        transform: translateX(0);
    }
}

/* Scroll-triggered fade-in animations */
[data-scroll-fade] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-scroll-fade].is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Sequential delays */
[data-scroll-fade="1"] { transition-delay: 0.1s; }
[data-scroll-fade="2"] { transition-delay: 0.2s; }
[data-scroll-fade="3"] { transition-delay: 0.3s; }
[data-scroll-fade="4"] { transition-delay: 0.4s; }
[data-scroll-fade="5"] { transition-delay: 0.5s; }
[data-scroll-fade="6"] { transition-delay: 0.6s; }
[data-scroll-fade="7"] { transition-delay: 0.7s; }
[data-scroll-fade="8"] { transition-delay: 0.8s; }
[data-scroll-fade="9"] { transition-delay: 0.9s; }
[data-scroll-fade="10"] { transition-delay: 1.0s; }
[data-scroll-fade="11"] { transition-delay: 1.1s; }
[data-scroll-fade="12"] { transition-delay: 1.2s; }

/* Protect existing animations */
/* 1. First, reset the buttons to their original state */
button, .image-button, .simp-button, .team-buttons button, .text-buttons button {
  /* Restore original button styles */
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border: initial; /* Will override with specific styles below */
  background: initial;
  padding: initial;
  /* Remove tap highlight while preserving style */
  -webkit-tap-highlight-color: transparent;
  outline: none;
}

/* 2. Restore your specific button designs */

/* Text buttons (in square-box) */
.text-buttons button {
  width: 105px;
  height: 26px;
  font-weight: 900;
  background: transparent;
  color: #1d1d1d;
  border: 3px solid #1d1d1d;
  padding: 0;
  border-radius: 25px;
  font-family: 'Telegraf';
  font-size: 15px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: all 0.2s ease;
}

/* Image buttons (in carousel) */
.image-button {
  background: rgba(243, 243, 243, 0.837);
  color: black;
  border: none;
  padding: 6px 10px;
  border-radius: 25px;
  font-size: 13px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* Simple button */
.simp-button {
  background: rgb(13, 13, 13);
  color: rgb(255, 255, 255);
  border: none;
  padding: 6px 17px ;
  border-radius: 25px;
  font-size: 17px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* Team buttons */
.team-buttons button {
  width: 190px;
  height: 32px;
  background: transparent;
  color: #d2d2d2;
  border: 3px solid #d6d6d6;
  border-radius: 25px;
  font-size: 17px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* 3. Remove tap highlights without affecting styles */
a, button, [role="button"] {
  -webkit-tap-highlight-color: transparent;
  outline: none;
}

/* 4. Preserve hover/active states */
.text-buttons button:hover {
  border-color: #5a5a5a;
  color: #2a2a2a;
}

.text-buttons button:active,
.image-button:active,
.simp-button:active,
.team-buttons button:active {
  transform: scale(0.98);
}

/* 5. Special case for hamburger menu - shouldn't affect lines */
.hamburger {
  -webkit-tap-highlight-color: transparent;
}
.hamburger .line {
  -webkit-tap-highlight-color: transparent;
  background-color: black; /* Maintain line color */
}