@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;900&display=swap');
@font-face {
  font-family: "Plain";
  src: url(./Asset/Fonts/plain-light-webfont.ttf);
}



* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body,
html {
  height: 100%;
  width: 100%;
  overflow-x: hidden;
  overflow-y: auto;
}

#loader {
  position: fixed;
  height: 100%;
  width: 100%;
  background: #2864ff;
  z-index: 9999;
}

#loader h1 {
  font-family: "plain";
  font-size: 24vw;
  text-align: center;
  opacity: 0.1;
  margin: 6% 0 0 4%;
}

.progress {
  background-color: #a1bcff;
  height: 3px;
  width: 50%;
  position: absolute;
  top: 50%;
}

/* In #main we don't give height and width */
#main {
  position: relative;
}

#page1 {
  position: relative;
  background-color: #a1bcff;
  height: 100vh;
  width: 100%;
}
#nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 6vh;
  padding: 1.5vw 4vw;
}

#nav .logo {
  font-size: 1.5vw;
  margin-top: 1vw;
  font-weight: 600;
  font-family: gilroy;
}

#nav-part2 {
  display: flex;
  align-items: flex-end;
  gap: 50px;
  margin-left: auto;
  margin-right: 40px;
}
#nav-part3 {
  display: flex;
  align-items: center;
  gap: 30px;
}
#nav .menu-btn {
  display: none;
}

#nav a {
  text-decoration: none;
  margin-top: 1vw;
}

#nav h3 {
  font-weight: 500;
  font-family: gilroy;
  text-transform: uppercase;
  font-size: 1vw;
  color: white;
}

#nav-part2 h3 {
  font-weight: 500;
  font-family: gilroy;
  text-transform: uppercase;
  font-size: 1vw;
  color: white;
}

#page1 h1 {
  /* background-color: brown; */
  position: relative;
  z-index: 9;
  font-size: 8vw;
  font-weight: 400;
  font-family: gilroy;
  text-transform: uppercase;
  line-height: 7vw;
  width: 70%;
  margin-left: 15%;
  color: white;
}

#page1 h1:nth-child(2) {
  margin-top: 170px;
}

#page1 h1:nth-child(3) {
  text-align: center;
}

#page1 h1:nth-child(4) {
  text-align: center;
}

/* button fetatures css */

.button {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 2%;
  gap: 1.6vw;
}
.button .capsule {
  margin-top: 3%;
  padding: 1vw 1.9vw;
  border-radius: 50px;
  font-family: "Montserrat", sans-serif;
  font-size: 1.5vw;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5vw;
  position: relative;
  transition: all 0.3s ease;
  overflow: hidden;
}
.button .hireUs {
  background-color: #f5cb5c;
}
.button .emailUs {
  background-color: #9a9a3d;
}

.button .capsule h6 a {
  text-decoration: none;
  color: black;
}

.fullWidth {
  position: absolute;
  height: 100%;
  width: 0%;
  left: 0;
  top: 0;
  background-color: #fff;
  z-index: 0;
  border-radius: 50px;
  overflow: hidden;
}

.capsule:hover > h6 {
  color: black;
  z-index: 99;
}

/* images hero section */
#page1 img {
  height: 25vw;
  position: absolute;
  top: 17%;
  left: 45%;
}

#img2 {
  rotate: 25deg;
}

#img3 {
  rotate: 10deg;
}

/* Page 2 started video container */

#page2 {
  height: 100vh;
  width: 100%;
  padding-top: 17vh;
  position: relative;
}
#page2 h1 {
  font-size: 7vw;
  text-transform: uppercase;
  position: relative;
  margin-left: 28vw;
  color: black;
}

#page2 h1::before {
  content: "01";
  position: absolute;
  font-size: 3vw;
  font-weight: 100;
  font-family: "silk serif";
  left: -12%;
  top: 5%;
  color: blue;
}

#video-container {
  margin-top: 5vh;
  height: 66vh;
  width: 71vw;
  position: relative;
  left: 28%;
  background-image: url(https://obys.agency/wp-content/uploads/2022/11/Showreel-2022-preview-1.jpg);
  background-size: cover;
  background-position: center;
}

#video-container video {
  height: 100%;
  width: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  opacity: 0;
}

#video-cursor {
  background-color: #ffa63d;
  height: 9vw;
  width: 9vw;
  border-radius: 50%;
  position: absolute;
  top: -15%;
  left: 70%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  z-index: 999;
}

#video-cursor i {
  font-size: 2vw;
}

/* page3 part started */

#page3 {
  min-height: 90vh;
  width: 100%;
  /* background-color:red; */
  position: relative;
  padding: 17vh 2vw;
  margin-bottom: 20vh;
  margin-top: 20vh;
}

#page3 h1 {
  font-size: 7vw;
  text-transform: uppercase;
  position: relative;
  margin-left: 28vw;
  color: black;
}

#page3 h1::before {
  content: "02";
  position: absolute;
  font-size: 3vw;
  font-weight: 100;
  font-family: "silk serif";
  left: -12%;
  top: 8%;
  color: blue;
}

#image-div-container {
  /* background-color: red; */
  padding: 1vw;
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
  -webkit-box-pack: start;
  -ms-flex-pack: start;
  justify-content: center;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

.image-div {
  height: 42vw;
  width: 31vw;
  position: relative;
  overflow: hidden;
  -ms-flex-negative: 0;
  flex-shrink: 0;
  margin: 1vw;
  cursor: pointer;
  /* background-color: blue; */
}

/* .image-div:nth-child(1) {
    height: 29vw;
    width: 21vw;
} */

.image-div img {
  height: 100%;
  width: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  -o-object-position: center;
  object-position: center;
}

/* Review section — match appearance of #page3 heading */
.review {
  min-height: 5vh;
  width: 100%;
  position: relative;
  padding: 5vh 2vw;
  margin-bottom: 4vh;
  margin-top: 4vh;
}

.review h1 {
  font-size: 7vw;
  text-transform: uppercase;
  position: relative;
  margin-left: 28vw;
  color: black;
}

.review h1::before {
  content: "03";
  position: absolute;
  font-size: 3vw;
  font-weight: 100;
  font-family: "silk serif";
  left: -12%;
  top: 8%;
  color: blue;
}
#page4 {
  min-height: 100vh;
  width: 100%;
  background-color: #171717;
}
:root {
  --dark: #111;
  --light: #fff;
}

.Content__wrapper {
  perspective: 800px;
}

.Content__slide {
  color: var(--dark);
  padding: 3rem 1rem 6rem 1rem;
}

.Content__slide-inner {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.Content__slide.green {
  background: #c9f6b4;
}

.Content__slide.white {
  background: var(--light);
}

.Content__slide.orange {
  background: #ffd9b0;
}

.Content__slide.lilac {
  background: #c4bafe;
}

.Content__title {
  color: var(--dark);
}

.Content__copy {
  max-width: 50ch;
  font-size: clamp(1rem, 2vw, 1.5rem);
}

.Content__number {
  font-size: clamp(1rem, 3vw, 3rem);
  opacity: 0.5;
}

@media (min-width: 900px) {
  .Content__slide {
    height: calc(100vh - 80px);
    transform-style: preserve-3d;
  }
}


/* Footer styles extracted from style.css */

/* Page 5 - Footer */
#page5 {
  background: #171717;
}

.footer {
  background: #0a0a0a;
  color: white;
  padding: 5rem 5%;
  border-top: 1px solid #333;
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem;
}

.footer-section h3.footer-logo {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  font-family: "Gilroy", sans-serif;
  color: #2864ff;
}

.footer-section h4 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-section p {
  color: #888;
  line-height: 1.8;
  margin-bottom: 0.5rem;
}

.footer-section a {
  display: block;
  color: #888;
  margin-bottom: 0.8rem;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: #2864ff;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #222;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: #2864ff;
  transform: translateY(-3px);
}

.social-links i {
  font-size: 1.2rem;
}

.footer-bottom {
  max-width: 1400px;
  margin: 0 auto;
  padding-top: 3rem;
  margin-top: 3rem;
  border-top: 1px solid #222;
  text-align: center;
  color: #666;
}

/* Footer responsive rules */
@media (max-width: 1024px) {
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .social-links {
    justify-content: center;
  }
}


.heading-lg {
  font-size: 8vw;
}

/* New styles for user profile image in navigation */
.nav-login-btn:hover {
    background-color: #333;
}

.nav-profile-link {
    display: flex;
    align-items: center;
}

#nav-part3 .nav-profile-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
    transition: transform 0.3s;
}

#nav-part3 .nav-profile-img:hover {
    transform: scale(1.1);
}


/* Navbar Dynamic Elements Styling */
.nav-cart-link, .nav-login-btn {
    text-decoration: none;
    color: white;
    font-family: gilroy;
    font-weight: 500;
    font-size: 1vw;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color 0.3s ease;
}

.nav-cart-link i {
    font-size: 1.2vw;
}

.nav-cart-count {
    background-color: #f5cb5c;
    color: black;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 0.8vw;
    font-weight: bold;
}

.nav-login-btn:hover, .nav-cart-link:hover {
    color: #f5cb5c;
}

/* Mobile adjustments for navbar items */
@media (max-width: 600px) {
    .nav-cart-link, .nav-login-btn {
        font-size: 3.5vw;
    }
    .nav-cart-link i {
        font-size: 4vw;
    }
    .nav-cart-count {
        font-size: 2.5vw;
        padding: 1px 4px;
    }
}

/* Responsive Menu Styles */
.menu-toggle {
    display: none;
    cursor: pointer;
    z-index: 1002;
}

.menu-toggle svg {
    width: 40px;
    height: 40px;
}

aside {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
  width: 280px; /* slightly reduced default width */
  max-width: 85vw;
  box-sizing: border-box;
  background-color: #1E2327;
  padding: 2em;
  transform: translateX(100%);
  z-index: 1001;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: -5px 0 15px rgba(0,0,0,0.5);
  transition: transform .3s ease, width .25s ease;
  overflow-x: hidden;
}

aside h3 {
    color: #fff;
    margin: 0 0 2em;
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
}

aside ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

aside ul li {
    margin-bottom: 1.5em;
    overflow: hidden; /* For mask effect */
}

aside ul a {
    color: #91AEC5;
    text-decoration: none;
    font-size: 1.5rem;
    font-family: 'Poppins', sans-serif;
    display: block;
    transition: color 0.3s;
}

aside ul a:hover {
    color: white;
}

@media (max-width: 1024px) {
    #nav-part2, #nav-part3 {
        display: none !important;
    }
    
    .menu-toggle {
        display: block !important;
    }
    
    #nav {
        padding: 1.5vw 5vw; /* Adjust padding for mobile */
    }
}

/* Limit sidebar width on very small screens so it doesn't cover too much */
@media (max-width: 480px) {
  aside {
    width: min(80vw, 240px) !important;
    padding: 1.25em !important;
  }

  aside ul a {
    font-size: 1.05rem !important;
  }
}






@media (max-width: 600px) {
    /* --- Page 2 (Video) Mobile Fixes --- */
    #page2 {
        padding-top: 10vh;
        height: auto; /* Allow height to grow if needed */
        padding-bottom: 10vh;
    }
    #page2 h1 {
        margin-left: 5vw;
        font-size: 10vw;
    }
    #page2 h1::before {
        font-size: 5vw;
        top: -40%;
        left: 0;
    }
    #video-container {
        width: 90vw;
        left: 50%;
        transform: translateX(-50%);
        height: 30vh;
        margin-top: 5vh;
    }
    #video-cursor {
        width: 20vw;
        height: 20vw;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
    }
    #video-cursor i {
        font-size: 8vw;
    }

    /* --- Page 3 (Products) Mobile Fixes --- */
    #page3 {
        padding: 5vh 2vw;
        margin-top: 5vh;
        min-height: auto;
    }
    #page3 h1 {
        margin-left: 5vw;
        font-size: 10vw;
    }
    #page3 h1::before {
        font-size: 5vw;
        top: -40%;
        left: 0;
    }
    #image-div-container {
        flex-direction: column;
        align-items: center;
        padding: 0;
    }
    .image-div {
        width: 90vw;
        height: 60vw;
        margin: 2vw 0;
    }
    
    /* --- Review Section Mobile Fixes --- */
    .review {
        padding: 5vh 2vw;
        margin-top: 5vh;
    }
    .review h1 {
        margin-left: 5vw;
        font-size: 10vw;
    }
    .review h1::before {
        font-size: 5vw;
        top: -40%;
        left: 0;
    }

    /* --- Page 4 (Content) Mobile Fixes --- */
    .Content__slide {
        padding: 2rem 1rem;
    }
    .Content__title {
        font-size: 3rem; /* Reduce from 8vw which is too small or too big depending on context */
    }
    .Content__copy {
        font-size: 1rem;
    }
}


@media (max-width: 600px) {
    /* --- Hero Section (Page 1) Mobile Fixes --- */
    #page1 {
        height: 85vh;
        min-height: 550px;
        position: relative;
        overflow: hidden;
    }

    #nav .logo {
        font-size: 8vw;
        margin-top: 3vw;
    }

    /* Text Layout - Larger and with more spacing */
    #page1 h1 {
        font-size: 13vw; /* Increased font size */
        line-height: 14vw; /* Increased line height */
        width: 100%; /* Full width to overlap images */
        margin-left: 5%;
        text-align: left;
        position: relative;
        z-index: 10; /* Ensure text is ABOVE images */
    }
    
    #page1 h1:nth-child(2) {
        margin-top: 15vh;
    }

    /* Buttons positioned at bottom */
    .button {
        position: absolute;
        bottom: 8%;
        left: 50%;
        transform: translateX(-50%);
        width: 100%;
        z-index: 20;
        gap: 3vw;
        margin-top: 0;
    }
    
    .button .capsule {
        font-size: 3.5vw;
        padding: 3vw 6vw;
        width: auto;
    }
    
    .button .capsule h6 {
        font-size: 3.5vw;
        margin: 0;
    }

    /* Images positioned behind text */
    #page1 img {
        height: 45vw;
        left: auto;
        right: -5%; /* Pulled in so they sit behind text */
        transform: none;
        z-index: 1; /* Behind text */
        opacity: 0.8; /* Slight transparency to help text readability */
    }
    
    #img1 { top: 20% !important; }
    #img2 { top: 32% !important; }
    #img3 { top: 44% !important; }

    /* Menu Items Mobile Fixes */
    aside {
        width: 250px; /* Slightly narrower menu */
        padding: 2em 1.5em;
    }
    aside h3 {
        font-size: 1.5rem;
        margin-bottom: 1.5em;
    }
    aside ul a {
        font-size: 1.2rem; /* Smaller font size for menu items */
    }
    aside ul li {
        margin-bottom: 1.2em;
    }
}


/* User Profile Styles */
.nav-user-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid #fff;
    transition: transform 0.2s;
}

.nav-user-img:hover {
    transform: scale(1.1);
}

.profile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 2000;
    display: none;
    justify-content: center;
    align-items: center;
}

.profile-modal {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    width: 90%;
    max-width: 400px;
    position: relative;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.profile-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.profile-pic-preview {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    border: 3px solid #a1bcff;
}

.profile-form-group {
    margin-bottom: 1rem;
}

.profile-form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: #666;
}

.profile-form-group input {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
}

.profile-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.btn-update {
    flex: 1;
    background: #a1bcff;
    color: white;
    border: none;
    padding: 0.8rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
}

.btn-logout {
    flex: 1;
    background: #ff6b6b;
    color: white;
    border: none;
    padding: 0.8rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
}

.btn-close-modal {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
}

