:root {
    --main-color: rgb(255, 70, 70);
    --secondary-color: white;
    --bg-color: #0e122e;
    --nav-color:#08134eb2;
    --light-accent-color:#0a1238ec;
    --swiper-navigation-size: 30px !important;
    --swiper-navigation-color: var(--main-color);
    --swiper-navigation-sides-offset: -5%;
    --blend-mode-2:hard-light;
    --var-section-bg: #030720a8;
    --var-section-bg2: #081044b0;
    --plyr-color-main:var(--main-color);
    --plyr-control-icon-size: 35px;
    --bg-img: url(/img/web-bg1.webp);
}

.light-mode {
    --blend-mode-2:multiply;
    --bg-color: #fff8d8;
    --secondary-color: #050d38;
    --nav-color:#ffeacbb9;
    --light-accent-color:#ffc27c77;
    --var-section-bg: #ffead3b6;
    --var-section-bg2: #ffe5d0dc;
    --bg-img: url(/img/web-bg2.webp);
}

*, *::before, *::after {
  box-sizing: border-box;
}


* {
    margin: 0;
    padding: 0;
    font-family: IBM Plex Sans;
    -webkit-tap-highlight-color: transparent;
}

html {
    background-color: var(--bg-color);
    background-image: var(--bg-img);
    background-size: cover;
    background-attachment: fixed;
    background-blend-mode: var(--blend-mode-2);
    scroll-snap-type: y proximity;
    scroll-behavior: smooth;
}


::-webkit-scrollbar {
    width: 5px;
}

::-webkit-scrollbar-track {
    border-radius: 5px;
    background: var(--bg-color);
}

::-webkit-scrollbar-thumb {
    background: var(--main-color);
    border-radius: 5px;
    cursor: grab;
}

body::-webkit-scrollbar {
  width: 0;
}

body::-webkit-scrollbar-track {
  border-radius: 0;
}

html, body {
  height: 100%;
  width: 100%;
  transition: background-color 0.5s ease, color 0.3s ease;
}

section{
    height: 100vh;
    scroll-snap-align: start;
    background-color: var(--var-section-bg);
} 

section:nth-of-type(even) {
  background-color: var(--var-section-bg2);
}

.loading-screen {
  position: fixed;
  inset: 0;
  background-color: var(--bg-color); /* or your actual background */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.6s ease;
  will-change: opacity;
}

.loading-content {
  text-align: center;
  justify-items: center;
}

.loading-content svg {
  height: 150px;
  fill: var(--main-color);
}

.loading-title {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  letter-spacing: 2px;
}

.spinner {
  width: 50px;
  height: 50px;
  border: 4px solid var(--nav-color);
  border-top-color: var(--main-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

/* Hidden state */
.loading-screen.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}


/*light mode toggle*/
label.darkmode-landscape {
    width: 90px;
    height: 20px;
    position: relative;
    display: inline-block;
    background-color: var(--main-color);
    border-radius: 25px;
    cursor: pointer;
    margin-top: 5px;
    transition: .2s;
}

label.darkmode-landscape:after {
    content: "";
    width: 40px;
    height: 40px;
    position: absolute;
    top: -10px;
    background-color: var(--bg-color);
    border-radius: 50px;
    transition: .2s;
    border: solid 2px var(--main-color);
}

input#darkmode-toggle {
    width: 0;
    height: 0;
    visibility: hidden;
}

input:checked + label.darkmode-landscape {
    background-color: var(--main-color);
}

input:checked + label.darkmode-landscape:after {
    left: 10px;
    transform: translateX(100%);
    background: var(--bg-color);
}

label.darkmode-landscape svg {
    position: absolute;
    top: -5px;
    z-index: 100;
    height: 30px;
    fill: var(--main-color);
}

label.darkmode-landscape svg.sun {
    left: 55px;
    visibility: hidden;
}

label.darkmode-landscape svg.moon {
    left: 5px;
}

input:checked + label.darkmode-landscape svg.sun {
    visibility:visible;
}

input:checked + label.darkmode-landscape svg.moon {
    visibility:hidden;
}

#theme-switch {
    height: 50px;
    width: 50px;
    padding: 5px;
    border-radius: 50%;
    background-color: var(--nav-color);
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    border: solid 2px var(--main-color);
    top: 17px;
    left: 25px;
}

#theme-switch svg{
    height: 50px;
    fill: var(--main-color);
}

#theme-switch svg:last-child{
    display: none;
}

.light-mode #theme-switch svg:first-child {
    display: none;
}

.light-mode #theme-switch svg:last-child {
    display: block;
}


/*off screen menu */
.off-screen-menu {
    background-color: var(--nav-color);
    height: 100dvh;
    width: 100%;
    max-width: 200px;
    position: fixed;
    top: 0;
    right: 0; /* ✅ keep it at 0 */
    transform: translateX(100%); /* ✅ start off-screen to the right */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    text-align: left;
    font-size: 3rem;
    transition: transform 0.3s ease-in-out; /* ✅ only animating transform */
    z-index: 555;
    border-radius: 50px 0px 0px 50px;
    will-change: transform;
    backdrop-filter: blur(90px);
    padding-top: 3rem;
}

.off-screen-menu ul li {
    align-content: flex-end;
    list-style: none;
    font-size: 20px;
    margin-bottom: 2rem;
}

.off-screen-menu ul a {
    color: var(--main-color);
    text-decoration: none;
}

.portrait-menu-link.active {
    text-decoration: underline;
    font-weight: bold;
}

.off-screen-menu.active {
    transform: translateX(0); /* ✅ slide into view */
}

.nav-controls {
    display: flex;
  justify-content: space-between; /* ✅ space the children apart */
  align-items: center;            /* ✅ vertical alignment */
  width: 100%;                    /* or set a fixed width if needed */
  padding: 0.5rem;
  position: fixed;
  top: 0;
  right: 0;
  z-index: 1000;
}

.portrait-nav {
    margin: 10px;
    padding: .3rem;
    display: flex;
    background-color: var(--nav-color);
    position: fixed;
    top: 0;
    right: 0;
    width: 80px;
    justify-content: center;
    border-radius: 25px;
    z-index: 999;
    display: none;
}


.ham-menu {
    height: 50px;
    width: 50px;
    position: relative;
    z-index: 1;
}

.ham-menu span {
    height: 5px;
    width: 80%;
    background-color: var(--main-color);
    border-radius: 25px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: .3s ease;
}

.ham-menu span:nth-child(1) {
    top: 25%;
}

.ham-menu span:nth-child(3) {
    top: 75%;
}

.ham-menu.active span:nth-child(1) {
    top: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
}

.ham-menu.active span:nth-child(2) {
    opacity: 0;
}

.ham-menu.active span:nth-child(3) {
    top: 50%;
    transform: translate(-50%, -50%) rotate(-45deg);
}



/*nav styles*/
.main-nav{
    top: 25px;
    left: 2.4%;
    position: fixed;
    height: 80px;
    width: 95vw;
    background-color: var(--nav-color);
    z-index: 999;
    border-radius: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: clamp(0.75rem, 0.592rem + 0.6868vw, 1.375rem);
    font-weight: 200;
    backdrop-filter: blur(10px);
}

.navbar {
    justify-content: center;
    align-items: center;
    padding-right: 20px;
    gap: 20px;
    display: flex;
    list-style-type: none;
}

.menu-link {
    font-weight: 500;
    cursor: pointer;
    transition: .2s ease-in;
    padding: 15px 5px 15px 5px;
    border-radius: 45px;
    color: var(--main-color);
    text-decoration: none;
}

.menu-link:hover, .menu-link.active {
    position: relative;
    color: var(--bg-color);
    background-color: var(--main-color);
    text-align: center;
    padding: 15px 25px 15px 25px;
    border-radius: 45px;
}

.logo {
    display: block;
    padding-left: 30px;
    fill: var(--main-color);
    height: 40px;
}


/*landing page styles*/
.landing-page {
    padding-top: 130px;
    height: 100%;
}

.video-nest {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
}

.name {
    text-transform: uppercase;
    font-size: clamp(6rem, 0.4505rem + 19.7802vw, 23rem);
    line-height: 80%;
    background: linear-gradient(
    270deg,
    #ffe70f,
    #ff9900,
    #fff282
    );
    background-size: 800% 800%; /* large so animation is smooth */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 8s ease infinite;
}

.tagline {
   font-size: clamp(1.25rem, 0.6181rem + 2.7473vw, 3.75rem);
   font-weight: 200;
   background: linear-gradient(
    270deg,
    #ffe70f,
    #ff9900,
    #fff282
  );
  background-size: 800% 800%; /* large so animation is smooth */
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientShift 8s ease infinite;
}

.text-nest {
    margin-top: 10px;
}

.video-main {
    top: 0;
    position: absolute;
    height: 83.4dvh;
    width: 95vw;
    border-radius: 70px;
    object-fit: cover;
    z-index: -1;
    filter: var(--filter-shift) drop-shadow(3px 8px 12px #000000);
}

.picture-main {
    position: absolute;
    height: 83.4dvh;
    width: 95vw;
    top: 0;
    border-radius: 70px;
    object-fit: cover;
}


/*about page styles*/
.about-nest {
    height: 100%;
    padding: 130px 45px 0px 45px;
    display: flex;
    column-gap: 50px;
}

.about-border {
  width: 50%;
  height: 83.4vh;
  align-content: center;
  justify-items: right;
  position: relative; /* so .popup-overlay can position absolutely inside it */
  
}

.about-pfp {
    display: flex;
    align-items: center;
    justify-content: center;
    
}

.about-desc {
    padding-left: 50px;
    display: flex;
    flex-direction: column;
    width: 50%;
    height: 83.4vh;
    align-items: left;
    justify-content: center;
    color: var(--secondary-color);
    row-gap: 40px;
    border-radius: 50px;
    background-color: transparent;
}

.pfp {
    height: 550px;
    width: 550px;
    object-fit: cover;
    background-image: url(/img/pfp-bg2.webp);
    background-size: cover;
    background-color: transparent;
    object-position: -40px -20px;
    z-index: 2;
    border-radius: 350px;
}

.about-pfp::after, .about-pfp::before {
  width: 100%;
  height: 100%;
  content: "";
  position: absolute;
  background-image: conic-gradient(transparent 50%, var(--main-color));
  border-radius: 350px;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  padding: 280px;
  animation: 7s spin linear infinite;
}

.about-pfp::before {
  filter:blur(1.5rem);
}



.resume {
    width: 200px;
    height: 70px;
    padding: 10px;
    font-size: clamp(1.6rem, 1.092rem + 0.6868vw, 1.875rem);
    font-weight: 500;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    border: 3px solid var(--main-color);
    color: var(--main-color);
    transition: .2s ease-in;
    background-color: transparent;
    transition: .3s;
}

.timeline-nest {
  display: flex;
  color: var(--secondary-color);
  background-color: transparent;
  border: solid 3px var(--main-color);
  padding: 30px;
  gap: 30px;
  align-items: center;
  border-radius: 50px;
  height: 25vh;
  margin-bottom: 20px;
  opacity: 0;
  transition: none; /* prevent overlap */
}

.timeline-nest.visible {
  animation: fadeIn 1s ease-out forwards; 
}

#inactivityWarning {
  display:none; 
  position:fixed; 
  bottom:10px; 
  right:10px; 
  background:var(--main-color); 
  color: white; 
  padding:10px; 
  border-radius:20px; 
  font-weight:bold; 
  z-index:9999;
  font-size: 1.5rem;
  transition: .2s;
}

.timeline-nest.timeline--alt {
  color: var(--bg-color);
  background-color: var(--main-color);
  /* other overrides */
}

#experienceContainer {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-bottom: 100px;
}

.experience-item {
  display: flex;
  width: 100%;
  gap: 20px;
  align-items: center;
}

.left-texts {
  width: 30%;
  font-size: clamp(0.7rem, 0.6747rem + 0.1099vw, 0.8rem);
}

.right-texts {
  width: 70%;
  font-size: clamp(0.8rem, 0.6989rem + 0.4396vw, 1.2rem);
  font-weight: 700;
}

#experienceEduc {
  display: block;
  height: auto;
  width: auto;
  justify-items: center;
}

.educ1 {
  display: flex;
  flex-direction: column;
  width: 350px;
  height: 350px;
  background-color: var(--nav-color);
  border-radius: 30px;
  margin-bottom: 50px;
  justify-content: center;
  align-items: center;
  row-gap: 20px;
  color: var(--main-color);
}

.educ1 h1{
  font-size: clamp(1rem, 0.7473rem + 1.0989vw, 2rem);
}

.educ1 h3{
  font-weight: 400;
  font-size: 1rem;
}

.educ1 h2{
  font-weight: 500;
  font-size: clamp(1rem, 0.8736rem + 0.5495vw, 1.5rem);
}

#line-span {
  display: block;
  height: 200px;
  width: 3px;
  background-color: var(--main-color);
  border-radius: 10px 10px 0px 0px;
}

#circle-span {
  display: block;
  height: 20px;
  width: 20px;
  border-radius: 20px;
  border: 3px solid var(--main-color);
  background-color:transparent;
}

.educ2 {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  row-gap: 20px;
  margin-top: 50px;
  width: 400px;
  height: 400px;
  background-color: var(--nav-color);
  border-radius: 30px;
  color: var(--main-color);
}

.educ2 h1 {
  font-size: clamp(1rem, 0.7473rem + 1.0989vw, 2rem);
}

.educ2 h3{
  font-weight: 500;
}

.educ2 h2{
  font-weight: 500;
  text-align: center;
  font-size: clamp(1rem, 0.8736rem + 0.5495vw, 1.5rem);
}

#experienceSoft {
  display: flex;
  flex-direction: column;
  margin-top: 100px;
  width: 100%;
  height: auto;
  justify-items: center;
  text-align: center;
  row-gap: clamp(2rem, 1.7157rem + 1.2363vw, 3.125rem);
}

.experienceSoft-h1 {
  font-size: clamp(1.5rem, 1.3736rem + 0.5495vw, 2rem);
  text-transform: capitalize;
  color: var(--secondary-color);
}

#experienceSoft p {
  font-size: clamp(1.2rem, 0.8736rem + 0.5495vw, 1.5rem);
  color: var(--secondary-color);
  padding: 0px 100px 0px 100px;
} 

.soft-logos {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  height: 100%;
  gap: 30px;
  justify-content: center;
}

.logo-nest {
  width: 170px;
  height: 170px;
  background-color: var(--nav-color);
  border-radius: 150px;
  align-content: center;
}

.tooltip {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  background: var(--nav-color);
  color: var(--secondary-color);
  padding: 10px;
  border-radius: 6px;
  white-space: nowrap;
  font-size: 1.2rem;
  font-weight: 500;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 999;
}

.tooltip.visible {
  opacity: 1;
}

.logo-nest svg {
  height: 80px;
  fill: var(--main-color);
}

.soft-wrapper {
  display: flex;
  gap: 35px;
}

.buttons-dl {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  width: 50%;
  gap: 15px;
  background-color: var(--nav-color);
  padding: 25px;
  border-radius: 50px;
  justify-content: center;
}

.buttons-dl a {
  align-content: center;
  text-align: center;
  width: 46.5%;
  height: 100px;
  border-radius: 50px;
  font-size: clamp(1rem, 1.1231rem + 0.7692vw, 1.5rem);
  cursor: pointer;
  border: solid 3px var(--main-color);
  background-color: transparent;
  color: var(--main-color);
  transition: .3s;
  font-weight: 500;
  text-decoration: none;
}

.buttons-dl a:hover {
  background-color: var(--main-color);
  color: var(--bg-color);
}

.scroller {
  display: flex;
  flex-direction: column;
  width: 50%;
  gap: 20px;
  border-radius: 50px;
  background-color: var(--nav-color);
  align-content: center;
  padding: 25px;
}

.scroller h1 {
  align-content: center;
  height: 80px;
  font-weight: 500;
  font-size: clamp(1.5rem, 1.1231rem + 0.7692vw, 2rem);
  color: var(--main-color);
}

.scroll-container {
  height: 80px;
  border: none;
  width: 100%;
  color: var(--secondary-color);
  box-shadow: -1px 3px 35px -18px rgba(0,0,0,0.75) inset;
  -webkit-box-shadow: -1px 3px 35px -18px rgba(0,0,0,0.75) inset;
  -moz-box-shadow: -1px 3px 35px -18px rgba(0,0,0,0.75) inset;
  position: relative;
  overflow: hidden;
  border-radius: 50px;
  font-weight: 400;
}

.scroll-list {
  list-style: none;
  padding: 0;
  margin: 0;
  position: relative;
  top: 1.2rem;
  width: 100%;
  transition: transform 0.5s ease;
  display: flex;
  flex-direction: column;
}

.scroll-list li {
  height: 80px;
  align-items: center;
  justify-content: center;
  font-size: clamp(1.3rem, 1.1231rem + 0.7692vw, 2rem);
}

.resume:hover {
  border: 3px solid var(--main-color);
  color: var(--bg-color);
  background-color: var(--main-color);
  transition: .3s;
}

.profile-heading {
  font-size: clamp(6.25rem, 5.4602rem + 3.4341vw, 9.375rem);
  color: var(--main-color);
}

.profile-name {
  margin-top: -50px;
  font-size: clamp(1.875rem, 1.4011rem + 2.0604vw, 3.75rem);
  font-weight: 200;
  color: var(--main-color);
}

.profile-text {
  font-size: clamp(1rem, 0.7978rem + 0.8791vw, 1.8rem);
  font-weight: 100;
  line-height: 50px;
  padding-right: 200px;
}

span {
  font-weight: 500;
}

/*modal about */
.modal-about {
  opacity: 0;
  pointer-events: none;
  position: fixed;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(0, 0, 0, 0);
  z-index: 999;
  transition: opacity 0.2s ease, visibility 0.1s ease;
  visibility: hidden;
}

.modal-about.show {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

.modal-content-about {
  position: absolute;
  background-color: var(--light-accent-color);
  backdrop-filter: blur(80px);
  -webkit-backdrop-filter: blur(80px);
  padding: 2rem;
  border-radius: 30px;
  max-width: 900px;
  width: 90%;
  cursor: default;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 9999;
  max-height: 700px;
  display: flex;
  flex-direction: column;
  overflow: hidden; /* hide internal scrolls except the scrollable area */
  animation: fadeIn 0.3s ease-out forwards;
  cursor: grab;
}

.modal-title {
  transform: translateY(-25px);
  font-size: 1.75rem;
  color: var(--main-color);
  font-weight: 400;
}

.modal-overlay {
  position: absolute;
  background-color: var(--light-accent-color);
  height: 50px;
  width: 100%;
  z-index: -1;
  left: 0;
  top: 0;
}

.modal-content-scroll {
  overflow-y: auto;
  flex-grow: 1;
  padding-right: 1rem; /* give space for scrollbar */
}

.modal-desc {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 20px;
}

.close-btn-about {
  position: absolute;
  right: 0;
  font-size: 3rem;
  cursor: pointer;
  color: var(--main-color);
  transform: translateY(-15px);
  font-weight: 400;
  transition: .2s;
}

.close-btn-about:hover {
  color: var(--secondary-color);
} 

.no-scroll {
  overflow: hidden;
  height: 100%;
}

/*gallery page styles*/
#gallery {
  padding-top: 6rem;
}

.gallery-nest {
  position: relative;
  width: 100%;
  max-width: 100rem;
  margin: 0 auto;
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: visible; /* ✅ add this */
}

.swiper {
  position: relative;
  border-radius: 50px;
  padding-top: 5rem; /* Add space at the top */
  padding-bottom: 5rem; /* Optional: also gives breathing room at bottom */
  background-color: var(--light-accent-color);
  width: 100%;
  max-width: 2500px;
  height: calc(60vh + 120px); /* Increase height to account for padding */
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  overflow: visible;
  margin-bottom: 25px;
  box-shadow: 1px 2px 14px 0px rgba(0, 0, 0, 0.342) inset;
  -webkit-box-shadow: 1px 2px 14px 0px rgba(0, 0, 0, 0.342) inset;
  -moz-box-shadow: 1px 2px 14px 0px rgba(0, 0, 0, 0.342) inset;
}

.swiper-wrapper {
  display: flex;
  align-items: center;
  height: 100%; /* ✅ make it stretch full container height */
}

.swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center; /* ✅ vertical centering */
  height: 100%; /* ✅ fill parent to center properly */
  overflow: visible;
  width: auto;
  z-index: 1;
}

.slide-content {
  display: flex;
  align-items: center;     /* center vertically */
  justify-content: center; /* center horizontally if needed */
  height: 100%;             /* stretch to match parent height */
  overflow: visible;
}



.slide-content img {
  max-width: 100%;
  height: auto; /* or set a max-height like 80% if needed */
  object-fit: cover;
  border-radius: 20px;
  transition: all 0.2s ease-in-out;
  cursor: pointer;
  display: block;
  margin: 0; /* ✅ remove default image margins */
  filter: grayscale(95%);
}

.swiper-slide-active img {
  filter: grayscale(0%);
}

.slide-content img:hover {
  filter: grayscale(0%);
  transform: scale(1.03);
  transform-origin: center center;
  z-index: 10;
}

.custom-nav {
  margin-top: 20px;
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.custom-nav button {
  align-items: center;
  height: 70px;
  width: 100px;
  cursor: pointer;
  border-radius: 50px;
  background-color: var(--bg-color);
  fill: var(--main-color);
  border: none;
  transform: scale(1); /* initial scale */
  transition: transform 0.2s ease, background-color 0.2s ease, fill 0.2s ease;
}

.custom-nav button:hover {
  background-color: var(--main-color);
  fill: var(--light-accent-color);
  transform: scale(1.1);
}

.custom-nav button svg{
  height: 30px;
  width: 30px;
}



/*design page styles*/
.design-nest {
  position: relative;
  justify-items: center;
  padding: 130px 45px 0px 45px;
  height: 100vh;
}

.tab-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
  width: 100%;
}

.tab-btn {
  display: flex; /* Center content */
  align-items: center;
  justify-content: center;
  border: none;
  background-color: var(--bg-color);
  color: var(--main-color);
  border-radius: 20px;
  cursor: pointer;
  font-size: clamp(0.9375rem, 0.7795rem + 0.6868vw, 1.5625rem);
  width: 20%;
  height: 15vh;
  transition: 0.3s;
  text-transform:lowercase;
  font-weight: 600;
}

.tab-btn:hover {
  background-color: var(--main-color);
  color: var(--bg-color);
}


.tab-btn.active {
  width: 15vw;
  background-color: var(--main-color);
  color: var(--bg-color);
}

.tab-content-wrapper {
  position: relative;
  min-height: 500px; /* Adjust to fit your tallest tab */
  overflow: hidden;
}

.tab-content {
  display: none;
  max-width: 80vh;
  margin: 0 auto;
}

.tab-content.active {
  display: block;
}

.carousel-wrapper {
  position: relative;
  width: 100%;
  overflow: visible;
  touch-action: pan-y;
  -ms-touch-action: pan-y; /* legacy */
}


.carousel-container {
  width: 100%;
  max-width: 65vw;
  overflow: hidden;
  border-radius: 50px;
  margin: 0 auto;
  position: relative;
}

.carousel {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.carousel-item {
  min-width: 100%;
  height: 60vh;
  background-color: var(--main-color);
  color: white;
  font-size: 2rem;
  display: flex;
  justify-content: left;
  align-items: flex-end;
  transition: .2s;
  cursor: grab;
  
}

.carousel-item img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  position: absolute; /* or relative */
}

.content-wrapper {
  align-items:center;
  height: 30%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  z-index: 1;

}

.content-wrapper h2{
  margin-left: 50px;
  font-weight: 600;
  font-size: clamp(0.9375rem, 0.7005rem + 1.0302vw, 1.875rem);
}

.wrapper-overlay {
  opacity: 50%;
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(to top, black, black,rgba(255, 0, 0, 0));
  z-index: -1;
}

.content-wrapper button{
  font-size: clamp(1.25rem, 1.092rem + 0.6868vw, 1.875rem);
  background-color: #fff;
  color: #000000;
  border: none;
  padding: 20px;
  border-radius: 50px;
  font-weight: 500;
  cursor: pointer;
  transition: .2s ease-in-out;
  margin-right: 50px;
}

.content-wrapper button:hover{
  transform: scale(1.1);
}

.image-button-wrapper {
  display: flex;
  width: 100%;
  justify-content: center;
  align-items: center;
  background-color: #081422;
  height: 40vh;

}

.overlay-button {
  height: 100px;
  padding: 30px;
  background: transparent;
  color: white;
  border: none;
  cursor: pointer;
  border-radius: 100px;
  border: solid 2px white;
  font-size: clamp(1rem, 0.7473rem + 1.0989vw, 2rem);
  transition: all 0.3s;
}

.overlay-button:hover {
  background: rgba(0, 0, 0, 0.8);
  border: solid 2px rgba(0, 0, 0, 0.8);
  transform: scale(1.1);
}

.custom-heading {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: clamp(1.5rem, 1.1209rem + 1.6484vw, 3rem);
    color: #fff;
    height: 20vh;
    background-color: #081422;
}


/* Position arrows outside the container */
.prev, .next {
  position: absolute;
  top: 60%;
  background: var(--bg-color);
  border: none;
  cursor: pointer;
  border-radius: 50px;
  z-index: 10;
  height: 80px;
  width: 80px;
  transform: scale(1); /* starting point */
  fill: var(--main-color);
  transition: .2s all ease;
}

.prev:hover, .next:hover {
  background: var(--main-color);
  fill: var(--light-accent-color);
  transition: .2s all ease;
}

.btn-carousel {
    height: 35px;
}

.next {
  right: 200px;
}

.prev {
  left: 200px;
}

.image-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.8);
  z-index: 1000;
  backdrop-filter: blur(50px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-content::-webkit-scrollbar {
  width: 0;
}

.modal-content::-webkit-scrollbar-track {
  width: 0;
}

.image-modal.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.modal-content {
  max-width: 1500px;
  width: 90%;
  max-height: 95vh;
  overflow-y: auto;
}

/* Close button */
.close-btn {
  position: fixed;
  cursor: pointer;
  border: none;
  top: 25px;
  right: 25px;
  background-color: #00000000;
}

.close-icon {
  fill: #7e7e7e;
  width: 25px;
}

/* Image gallery */
.image-gallery {
  display: flex;
  flex-direction: column;
}

.image-gallery img {
  height: auto;
  width: auto;
  object-fit: cover;
  animation: appear 1s;
}



/*videos page styles*/
.playlist-nest {
  padding: 50px 100px 0px 100px;
  height: auto; /* ✅ prevent fullscreen conflicts */
  max-height: 100%;
}

.video-section-wrapper {
  height: 100%;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.video-container {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 15px;
  align-items: flex-start;
  text-align: left;
}

.video-wrap {
  opacity: 1;
  transition: opacity 0.2s ease-in-out;
}


.video-container .main-video video{
  width: 100%;
  cursor: pointer;
  border-radius: 35px;
  height: 65vh;
  width: 100vw;

}

.video-container .main-video .title{
  padding: 14px;
  color: var(--secondary-color);
  font-size: clamp(1rem, 0.1209rem + 1.6484vw, 2rem);
}


.video-container .main-video {
  background: var(--light-accent-color);
  border-radius: 35px ;
  padding: 10px;
}

.video-frame {
  border-radius: 35px;
  overflow: hidden;
}

.video-frame video {
  width: 100%;
  display: block;
}

.video-frame:fullscreen,
.video-frame:-webkit-full-screen {
  border-radius: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  background: black;
}

.plyr--fullscreen .plyr__video-wrapper video {
  border-radius: 0 !important;
  object-fit: contain !important;
  box-shadow: none !important;
}

.video-container .video-list {
  background-color: var(--light-accent-color);
  border-radius: 35px;
  height: 60vh;
  overflow-y: auto; /* allow vertical scrolling */
  overflow-x: hidden; /* prevent horizontal overflow */
  padding: 5px;
  color: var(--main-color);
  font-size: clamp(0.7rem, 0.6242rem + 0.3297vw, 1rem);
  /* ensure scrollbar stays inside rounded corners */
  mask-image: radial-gradient(white 99%, transparent 100%);
  -webkit-mask-image: radial-gradient(white 99%, transparent 100%);
}

.title {
  font-weight: 500;
  color: var(--secondary-color);
}

.video-container .video-list .vid video {
  height: 100px;
  width: 150px;
  border-radius: 35px;
  object-fit: cover;
}

.video-container .video-list .vid {
    display: flex;
    align-items: center;
    gap: 15px;
    background-color: var(--nav-color);
    border-radius: 35px;
    margin: 10px;
    padding: 10px;
    border: none;
    cursor: pointer;
    transition: all .3s;
}

.video-container .video-list .vid:hover {
    background-color: var(--main-color);
    color: var(--secondary-color);
}

.video-container .video-list .vid.active {
    background-color: var(--main-color);
}

.video-container .video-list .vid.active .title{
    color: var(--secondary-color);
}


.contact-nest {
  height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-nest h4 {
  position: absolute;
  bottom: 6%;
  color: white;
  font-weight: 300;
  font-size: clamp(0.6rem, 0.4989rem + 0.4396vw, 1rem);
  padding: 0px 50px 0px 50px;
  text-align: center;
}

.contact-wrapper {
  margin-top: 100px;
  position: relative;
  width: 95vw;
  height: 83.4dvh;
  display: flex;
  align-items: center;  
  flex-direction: column;  
  justify-content: space-evenly;
  text-align: left;
  color: #fff;
  border-radius: 70px;
  line-height: 50px;
}

.contact-info {
  z-index: 1;
  max-width: 90%;
  justify-items: left;
}


  .contact-info .icon-text {
    color: #ffff; /* This drives fill via currentColor */
  }

.contact-info .icon-text svg {
  display: inline-block;
  box-sizing: border-box;
  width: 5.5rem;
  height: 5.5rem;
  padding: 1.8rem;
  background-color: #fff;
  border-radius: 30%;
  fill: var(--main-color);
  vertical-align: middle;
}
.contact-info h2 {
    font-size: clamp(0.8rem, 0.6231rem + 0.7692vw, 1.5rem);
    margin-bottom: 1.5rem; /* 🔥 adds space below each h2 */
    line-height: 1.5rem;
}


.icon-text {
  display: flex;
  align-items: center;
  gap: 1rem; 
  font-weight: 400;
}

.contact-nest h1{
    font-size: clamp(4.0625rem, 2.7198rem + 5.8379vw, 9.375rem);
    text-align: center;
    line-height: 5rem;
    z-index: 1;
    font-weight: 200;
}

.contact-logo {
  height: clamp(7rem, 5.4835rem + 6.5934vw, 13rem);
  fill: white;
  z-index: 1;
}

.contact-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  filter: var(--filter-shift) drop-shadow(3px 8px 12px #000000);
  border-radius: 70px;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;  
    background-color: var(--main-color);
    opacity: 80%;
    border-radius: 70px;
}


