@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Patrick+Hand&family=Patrick+Hand+SC&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Fredoka:wght@300..700&family=Lexend:wght@100..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* ! navbar */

  --navbar-background-color: #2665da;
  --navbar-text-color: #f0f0f0;
  --navbar-hover-color: #4a8fe7;

  /* ! end navbar */

  --bg-color: #edeceb;
  --primary-color: #2665da;
  --secondary-color: #4a8fe7;
  --white-text-color: #ffffff;
  --black-text-color: #06070e;
  --gray-text-color: #717171;

  --border: 2px solid red;

  /* ! FOOTER */

  --footer-background-color: #031930;
  --a-color: rgba(240, 248, 255, 0.453);
  --white-text-color: white;
  --bottom-background-color: #223a59;
}

/* Add this to your existing CSS */

/* Hide scrollbar when preloader is active */
body.preloader-active {
  overflow: hidden;
}

/* Scrollbar styles (will be shown after preloader is hidden) */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: white;
}

::-webkit-scrollbar-thumb {
  background: #4a8fe7;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #2665da;
}

/* #preloader {
  background: #fff url("img/loading.gif") no-repeat center center;
  height: 100vh;
  width: 100%;
  position: fixed;
  z-index: 20000000000000000000000000000000000000000000000000000000000000000000000000000000000000000;
} */

/* ! preloader */

.preloader {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999999999;
  width: 100%;
  height: 100%;
  background-color: #1a76d1;
}

.preloader .loader {
  position: absolute;
  width: 100px;
  height: 100px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.preloader .loader .loader-outter {
  position: fixed;
  width: 100px;
  height: 100px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 4px solid rgba(255, 255, 255, 0.2);
  border-left-color: white;
  border-radius: 50%;
  animation: loader-outter 1s cubic-bezier(0.42, 0.61, 0.58, 0.41) infinite;
}
.preloader .loader .loader-inner {
  position: fixed;
  width: 80px;
  height: 80px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 4px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  border-left-color: white;
  animation: loader-inner 1s cubic-bezier(0.42, 0.61, 0.58, 0.41) infinite;
}
.preloader .loader .indicator {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1.5);
}
.preloader .loader .indicator svg polyline {
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.preloader .loader .indicator svg polyline#back {
  stroke: rgba(255, 255, 255, 0.2);
}
.preloader .loader .indicator svg polyline#front {
  stroke: white;
  stroke-dasharray: 12, 36;
  stroke-dashoffset: 48;
  animation: dash 1s linear infinite;
}
.preloader .loader .z-letter {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 50px;
  font-weight: bold;
  color: white;
  opacity: 0;
  animation: fade-in-out 2s ease-in-out infinite;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 80px;
  height: 80px;
}
@keyframes loader-outter {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}
@keyframes loader-inner {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(-360deg);
  }
}
@keyframes dash {
  62.5% {
    opacity: 0;
  }
  to {
    stroke-dashoffset: 0;
  }
}
@keyframes fade-in-out {
  0%,
  100% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
}

html,
body {
  scroll-behavior: smooth !important;
}

body {
  height: 100%;
  width: 100%;
  font-family: "Poppins", sans-serif;
  background-color: var(--bg-color);
  height: 200dvh;
}

.section-p {
  padding: 100px 50px;
  padding-bottom: 0;
}

/* ! navbar */

.nav-logo {
  font-size: 22px;
  font-weight: 400;
  letter-spacing: 2px;
  /* font-family: "Patrick Hand", cursive; */
  font-family: "Roboto", sans-serif;
  font-weight: 800;
  /* font-style: italic; */
  width: auto;
}

nav {
  font-size: 20px;
  height: 60px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  background-color: var(--navbar-background-color);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 10000;
}

.links-container {
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
}

nav a {
  height: 100%;
  padding: 0px 20px;
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--navbar-text-color);
}

nav .links-container a {
  font-size: 18px;
}

nav .links-container a:hover {
  transition: 0.5s ease-in;
  background-color: var(--bg-color);
  color: var(--primary-color);
  border-radius: 3px 3px 0px 0px;
  font-weight: 500;
}

nav i {
  color: var(--navbar-text-color);
  cursor: pointer;
}

#sidebar-active {
  display: none;
}

.open-sidebar-active,
.close-sidebar-active {
  padding: 0px 20px;
  display: none;
}

@media screen and (max-width: 723px) {
  .section-p {
    padding: 20px 30px;
  }
  .lens-p {
    padding-top: 60px !important;
    padding-bottom: 0 !important;
  }
  .about-p {
    padding-top: 60px !important;
  }
  .lenss {
    padding-bottom: 0 !important;
  }
  nav {
    justify-content: center;
  }
  .open-sidebar-active {
    position: absolute;
    left: 0;
  }
  .close-sidebar-active {
    margin-left: auto;
  }
  .close-sidebar-active i {
    font-size: 30px;
  }
  .links-container {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    position: fixed;
    top: 0;
    left: -100%;
    z-index: 10;
    width: 200px;
    background-color: #2665daa2;
    backdrop-filter: blur(10px);
    box-shadow: -5px 0 5px rgba(0, 0, 0, 0.25);
    transition: 0.75s ease-out;
  }

  .links-container a {
    box-sizing: border-box;
    height: auto;
    width: 100%;
    padding: 20px 30px;
    justify-content: flex-start;
    font-size: 15px !important;
  }

  .open-sidebar-active,
  .close-sidebar-active {
    padding: 20px;
    display: block;
  }

  #sidebar-active:checked ~ .links-container {
    left: 0;
  }

  #sidebar-active:checked ~ #sidebar-overlay {
    height: 100%;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9;
  }
}

/* ! hero section */

#main {
  display: flex;
  flex-direction: column;
  padding-top: 100dvh;
}

.scroll-smooth {
  scroll-behavior: smooth;
}

#hero {
  width: 100%;
  padding-top: 60px;
}

.hero-image {
  width: 100%;
  color: var(--white-text-color);
}

.hero-heading {
  font-size: 50px;
  font-weight: 600;
  letter-spacing: 3px;
  /* font-family: "Patrick Hand", cursive; */
  font-family: "Roboto", sans-serif;
  font-weight: 800;
  color: var(--primary-color);
}

/* ! hero main */

.hero {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: url("./img/l1.webp") no-repeat center center/cover;
  display: flex;
  padding-top: 0;
  justify-content: center;
  align-items: flex-start;
  color: white;
  z-index: 1;
}

.hero-overlay {
  background-color: #00000097;
  backdrop-filter: blur(1.4px);
  height: 100vh;
  position: fixed;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  top: 0;
  left: 0;
  z-index: 2;
  width: 100%;
  display: flex;
  flex-direction: column;
  row-gap: 20px;
  border-radius: 0px 0px 10px 10px;
  padding-left: 150px;
}

.main {
  position: relative;
  padding-top: 100vh; /* Content starts after the hero section */
  background-color: var(--bg-color);
  z-index: 100; /* Set lower z-index than the navbar */
}

.main-content {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 24px;
  text-align: center;
  background-color: var(--bg-color);
  transition: transform 0.5s ease;
  z-index: 100; /* Lower than navbar */
}

html {
  scroll-behavior: smooth;
}

/* ! end hero main */

.color {
  color: var(--white-text-color);
  letter-spacing: 3px;
}

.blue {
  color: var(--primary-color);
}

.heading-para {
  font-size: 28px;
}

.heading-bottom {
  width: 500px;
  line-height: 1.5;
}

@media (width < 1058px) {
  .hero-overlay {
    padding-left: 100px;
  }
}

@media (max-width: 723px) {
  .hero-image {
    height: 80vh;
  }
  .hero-overlay {
    height: 80vh;
    padding-top: 0;
    justify-content: center;
    row-gap: 10px;
  }
  .hero-heading {
    font-size: 40px;
  }
  .heading-para {
    font-size: 26px;
  }
  .heading-bottom {
    font-size: 14px;
  }
  .heading-bottom {
    width: 400px;
  }

  #main {
    padding-top: 80vh;
  }
  .hero {
    height: 80vh;
  }

  .hero-overlay {
    height: 80vh;
  }

  .main {
    padding-top: 80vh;
  }
  .hero-overlay {
    padding-left: 80px;
  }
}

@media (width < 600px) {
  .hero-overlay {
    padding-left: 50px;
  }
}

@media (width < 440px) {
  .hero-overlay {
    padding-left: 30px;
  }
}

@media (width < 535px) {
  .heading-bottom {
    width: 90%;
    font-size: 12px;
  }
}

@media (width < 503px) {
  .hero-heading {
    font-size: 36px;
  }
  .heading-para {
    font-size: 24px;
  }
}

@media (width < 426px) {
  .section-p {
    padding: 20px 20px;
  }
  .hero-heading {
    font-size: 30px;
  }
  .heading-para {
    font-size: 20px;
  }
}

@media (width < 426px) {
  .hero-overlay {
    padding-left: 30px;
  }
}

/* ! about us */

.section {
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  row-gap: 50px;
}

.heading-container {
  display: flex;
  flex-direction: column;
}

.section-heading {
  font-size: 50px;
}

.line {
  border: 2px solid var(--primary-color);
}

.section-para {
  color: var(--gray-text-color);
  width: 700px;
  font-size: 15px;
  text-align: center;
  line-height: 1.7;
}

#about-us-heading img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 3px;
}

@media (width < 723px) {
  .section-heading {
    font-size: 40px;
  }
  .section-para {
    font-size: 14px;
    width: 100%;
  }
  #about-us-heading img {
    width: 100%;
    aspect-ratio: 1/1;
    border-radius: 3px;
  }
}

@media (width < 550px) {
  .section-heading {
    font-size: 30px;
  }
}

/* ! product section */

#product {
  height: 100%;
  width: 100%;
  padding-top: 50px;
}

.product-main-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  overflow: hidden;
}

.product-container {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-container {
  display: flex;
  width: auto;
  height: fit-content;
  padding: 20px 0;
  gap: 30px;
  transition: transform 0.5s ease-in-out;
  scrollbar-width: none; /* For Firefox */
  overflow-x: scroll;
  scroll-behavior: smooth;
}

.slider-container:active {
  cursor: grabbing;
}

.slider-container::-webkit-scrollbar {
  display: none; /* Hides scrollbar for clean design */
}

.product-box {
  display: flex;
  gap: 80px; /* Ensure enough spacing between products */
  transition: all 0.5s ease;
}

.product-box-1 {
  width: 250px;
  min-width: 250px;
  height: 450px;
  border-radius: 5px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.product-box-1 img {
  border-radius: 5px;
  object-fit: cover;
  height: 280px;
  width: 100%;
}

.product-heading {
  font-family: "Lexend", sans-serif;
  padding: 7px 17px;
  font-size: 26px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: left;
}

.product-box-1 p {
  padding-left: 17px;
  color: var(--gray-text-color);
  font-size: 15px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: left;
}

.product-box-1 a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 10px;
  margin-top: 10px;
  border-radius: 25px;
  text-decoration: none;
  font-size: 20px;
  background-color: var(--primary-color);
  color: #ffffff;
  position: relative;
}

.product-box-1 a i {
  position: absolute;
  right: 20px;
}

@media (max-width: 985px) {
  .product-box {
    gap: 30px;
  }
}

@media (max-width: 935px) {
  .product-box {
    gap: 10px;
  }
}

@media (max-width: 400px) {
  .product-box-1 {
    width: 250px;
    margin: 0 10px;
  }
  .product-box {
    gap: 0;
  }
}

/* ! contact us section */

#contact {
  height: 100%;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 50px;
  padding-bottom: 100px;
  gap: 40px;
}

#contact p{
    padding: 10px 0px;
    text-align: left;
}

@media(width < 942px){
    #contact{
        flex-direction: column;
    }
    
    #contact p{
        font-size: 18px;
    }
}

.form {
  height: 100%;
  width: 700px;
  display: flex;
  flex-direction: column;
  background-color: #ffffff4e;
  padding: 50px 90px;
  border-radius: 10px;
  backdrop-filter: blur(10px);
  row-gap: 20px;
}

.form-input {
  height: 40px;
  width: 100%;
  padding: 0 10px;
  border-radius: 5px;
  border: 1px solid var(--gray-text-color);
  border: none;
  outline: none;
  transition: 0.3s ease;
  font-family: "Poppins", sans-serif;
  &:focus {
    border: 1px solid var(--primary-color);
  }
}

.form-text {
  height: 200px;
  width: 100%;
  padding: 0 10px;
  border-radius: 5px;
  border: 1px solid var(--gray-text-color);
  border: none;
  outline: none;
  transition: 0.3s ease;
  resize: none;
  font-family: "Poppins", sans-serif;
  padding-top: 7px;
  &:focus {
    border: 1px solid var(--primary-color);
  }
}

.form-input::placeholder {
  color: var(--gray-text-color);
  font-size: 13px;
}

.form-submit {
  border: none;
  outline: none;
  background-color: var(--primary-color);
  color: #ffffff;
  padding: 10px 0px;
  font-size: 20px;
  border-radius: 5px;
  cursor: pointer;
}

@media (width < 800px) {
  .form {
    width: 95%;
    padding: 50px 40px;
  }
}
@media (width < 539px) {
  .form {
    width: 100%;
    padding: 50px 20px;
  }
}

/* ! footer */

#footer {
  height: auto;
  width: 100%;
  background-color: var(--footer-background-color);
  padding-top: 0;
}

.main_div {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
}

.footer_div {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding-top: 30px;
}

.footer-logo {
  height: 35px;
  width: 35px;
  object-fit: cover;
}

.footer-logo-text {
  font-size: 25px;
  letter-spacing: 0.4px;
  color: #fff;
}

.footer-logo-a,
.f-l-t {
  padding-left: 0 !important;
}

.link_section {
  display: grid;
  /* grid-template-columns: 45% 15% 20% 20%; */
  grid-template-columns: 2fr 1fr 1fr;
  row-gap: 10px;
  justify-content: space-between;
}

.sub_box {
  display: flex;
  flex-direction: column;
  height: 100%;
  width: auto;
  text-align: left;
  gap: 10px;
  padding: 20px 0px;
  padding-bottom: 10px;
}

.title {
  display: flex;
  /* align-items: center; */
  flex-direction: row;
  gap: 18px;
}

.title i {
  font-size: 28px;
  font-weight: 200;
  color: var(--a-color);
}

.sub_box p {
  padding: 7px 0px;
  font-size: 15px;
  color: var(--a-color);
  width: 280px;
}

.sub_box h3 {
  color: white;
  font-size: 21px;
  font-weight: 400;
}
.site_link {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding-top: 20px;
  justify-content: flex-start;
  column-gap: 20px;
}

.footer-social-icon {
  font-size: 16px;
}

.sub_box a {
  text-decoration: none;
  color: var(--a-color);
  transition: 0.3s ease;
}

.sub_box a:hover {
  color: var(--white-text-color);
  padding-left: 5px;
}

.footer_bottom {
  display: flex;
  flex-direction: column;
}

.bottom_sec_1 {
  display: flex;
  flex-direction: row;
  padding: 15px 0px;
  justify-content: center;
  align-items: center;
  column-gap: 20px;
  background-color: var(--bottom-background-color);
}

.bottom_sec_1 a {
  color: var(--a-color);
  transition: 0.3s ease;
  font-size: 12px;
}

.bottom_sec_1 a:hover {
  color: var(--white-text-color);
}

.copyright {
  padding: 15px 5px;
  text-align: center;
  font-size: 10.6px;
  letter-spacing: 0.7px;
  color: var(--white-text-color);
}

.binary {
  font-size: 14px;
  color: var(--white-text-color);
}

.binary:hover {
  background-position: 100% 100%;
}

/* .binary:hover {
  color: var(--light-blue);
} */

@media screen and (width < 1137px) {
  .link_section {
    grid-template-columns: 400px 150px 258px;
  }
}

@media screen and (width < 1040px) {
  .link_section {
    grid-template-columns: 50% 35%;
  }
}

@media screen and (width < 896px) {
  .box-2 {
    padding-left: 80px;
  }
}

@media screen and (width < 651px) {
  #footer {
    padding-left: 20px;
    padding-right: 20px;
  }
  .link_section {
    justify-content: flex-start;
    padding-left: 20px;
    grid-template-columns: 90%;
  }
  .box-2 {
    padding-left: 0;
  }
}

@media screen and (width < 468px) {
  #footer {
    padding-left: 0;
    padding-right: 0;
  }
  .bottom_sec_1 {
    padding: 30px 7px;
  }
}

@media screen and (width < 356px) {
  .bottom_sec_1 a {
    font-size: 11px;
  }
}

@media screen and (width < 387px) {
  .link_section {
    grid-template-columns: 320px;
  }
}

#footer {
  height: auto;
  width: 100%;
  background-color: var(--footer-background-color);
  padding-top: 0;
  font-size: 16px; /* Set a default font size for the footer */
}

.footer-logo-text {
  font-size: 25px; /* Adjust this as per your need */
  letter-spacing: 0.4px;
  color: #fff;
}

.sub_box p {
  padding: 7px 0px;
  font-size: 15px; /* Ensure the paragraph has a set font size */
  color: var(--a-color);
  width: 280px;
}

.sub_box h3 {
  color: white;
  font-size: 21px;
  font-weight: 400;
}

.bottom_sec_1 a {
  color: var(--a-color);
  transition: 0.3s ease;
  font-size: 12px; /* Explicitly set font size for links */
}

.copyright {
  padding: 15px 5px;
  text-align: center;
  font-size: 10.6px; /* Font size for the copyright text */
  letter-spacing: 0.7px;
  color: var(--white-text-color);
}

.binary {
  font-size: 14px;
  color: var(--white-text-color);
}

.footer-social-icon {
  font-size: 16px; /* Ensure consistent font size for social icons */
}

/* ! single vision lens page */

.lens {
  text-align: left;
}

.lens-card {
  width: 16rem;
  background-color: white;
  box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.09);
  padding: 2.25rem;
  position: relative;
  height: 300px;
  display: flex;
  flex-direction: column;
  row-gap: 20px;
  overflow: hidden;
  border-radius: 8px;
  font-family: Arial, sans-serif;
  margin: 0px 10px;
}

.lens-circle {
  width: 6rem;
  height: 6rem;
  /* background-color: #7c3aed; */
  background-color: var(--primary-color);
  border-radius: 50%;
  position: absolute;
  top: -1.75rem;
  right: -1.25rem;
}

.space-around {
  display: flex;
  flex-direction: column;
  row-gap: 10px;
}

.lens-circle-text {
  position: absolute;
  bottom: 1.5rem;
  left: 1.75rem;
  color: white;
  font-size: 2rem;
  font-weight: bold;
}

.lens-icon {
  width: 3rem;
  fill: #7c3aed;
}

.lens-icon i {
  font-size: 30px;
  color: var(--primary-color);
}

.lens-title {
  color: var(--primary-color);
  font-weight: 700;
  font-size: 18.8px;
  padding-top: 10px;
  font-family: "Lexend", sans-serif;
}

.lens-description {
  color: #71717a;
  font-size: 0.875rem;
  line-height: 1.5;
  margin-top: 0.5rem;
}

.small {
  font-size: 13px !important;
  width: 400px !important;
}

@media screen and (width < 651px) {
  .small {
    width: 100% !important;
    padding-right: 90px !important;
  }
}

@media screen and (width < 559px) {
  .small {
    width: 100% !important;
    padding-right: 40px !important;
  }
}

.copyright a,
.white a {
  text-decoration: none;
}

.copyright {
  display: flex;
  justify-content: center;
  align-items: center;
  column-gap: 5px;
  color: var(--white-text-color) !important;
  font-family: "Roboto", sans-serif !important;
  padding-bottom: 6px;
  font-size: 15px;
}

.copyright a,
.big {
  font-size: 15px;
  color: var(--white-text-color);
}

.white {
  padding: 5px 0px;
  display: flex;
  column-gap: 5px;
  justify-content: center;
  align-items: center;
  color: var(--white-text-color) !important;
  font-size: 9px;
}
