*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
    font-family: azonix;
    src: url(assets/fonts/Azonix.otf) ;
  }
  
  @font-face {
    font-family: 'Aventa-Regular';
    src: url(assets/fonts/Aventa-Regular.otf); /* Use correct format */
  }
  @font-face {
    font-family: 'Aventa-Medium';
    src: url(assets/fonts/Aventa-Medium.otf); /* Use correct format */
  }
  @font-face {
    font-family: 'Aventa-Thin';
    src: url(assets/fonts/Aventa-Thin.otf); /* Use correct format */
  }

body {
    margin: 0;
    padding: 0;
    background-color: black;
    color: white;
    font-family: 'Aventa-Regular';
    overflow-x: hidden;
}
/* //custom cursor styling */
.cursor{
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1000;
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
  background: linear-gradient(0deg, rgba(241,35,93,1) 0%, rgba(201,58,210,1) 100%);
}
@media (pointer: coarse) {
  .cursor {
    display: none;
  }
}

::-webkit-scrollbar {
  width: 5px;
  transition: all ease 1s;
}

/* Track */
::-webkit-scrollbar-track {
  background: #00000000;
  position: absolute;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #3e0229;
  border-radius: 5px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #F22259;
}
::-webkit-scrollbar:hover{
  width: 8px;
}
.wraper{
    z-index: 1;
}
.wraper, .overlay1, .overlay2, .background--custom {
    position: absolute;
    width: 100%;
    height: 100vh;
    top: 0;
    left: 0;
}

.overlay2, .overlay1 {
    mix-blend-mode: color-burn;
    backdrop-filter: blur(20px);
    background: linear-gradient(to bottom, rgba(69, 69, 79, 0.364), black),
                url('https://grainy-gradients.vercel.app/noise.svg');
}


/* Loader */
.loader {
    width: 100%;
    height: 100vh;
    background-color: black;
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10;
    overflow: hidden;
}

.loader video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); /* Centers the video */
  width: 100vw; /* Ensures the video covers the full width */
  height: auto; /* Maintains aspect ratio */
  max-height: 100vh; /* Ensures it doesn't exceed the screen height */
  object-fit: contain; 
  cursor: none;
}

.section-1 {
    width: 100%;
    height: 100vh;
    z-index: 2;
    position: relative;
}  

/* Navigation */
nav {
    z-index: 5;
    position: relative;
    font-family: Aventa-Regular;
    width: 100%;
    display: flex;
    align-items: flex-start; /* Center items vertically */
    justify-content: space-between;
    padding: 0rem 3rem;
    position: relative;
}
nav .nav-item:nth-child(1) {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 1rem;
}
nav .nav-item:nth-child(1) .navlinks{
    background-color: rgba(0, 0, 0, 0.444);
    border-radius: 2.2rem;
    padding: 0.5rem 0.8rem;
}
nav .nav-item:nth-child(1) .navlinks:hover{
    background-color: rgba(65, 65, 65, 0.444);
}
nav .nav-item:nth-child(1) .navlinks a{
    font-size: 0.875rem;
    color: white;
    text-decoration: none;
}
.nav-item:nth-child(2) {
    position: absolute; /* Absolute position for the logo */
    left: 50%; /* Move the logo to the horizontal center of the screen */
    transform: translateX(
      -50%
    ); /* Adjust position to truly center the logo */
}
.nav-item:nth-child(2) img {
    width: 15rem;
}
nav .nav-item:nth-child(3) {
    display: flex;
    align-items: center;
    padding: 1rem;
}
.nav-item:nth-child(3) .btn-wrapper {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6rem;
    position: relative;
    overflow: hidden;
    padding: 2px;
}
.nav-item:nth-child(3) .btn-wrapper:hover{
    overflow: visible;
}
.nav-item:nth-child(3) .btn-wrapper:hover button {
    background: linear-gradient(
      90deg,
      rgba(242, 34, 89, 1) 0%,
      rgba(198, 59, 217, 1) 100%
    );
}
.nav-item:nth-child(3) .btn-wrapper:hover .btn-overlay {
    display: none;
}
.nav-item:nth-child(3) .btn-wrapper:hover .btn-border {
    filter: blur(10px);
    width: 100%;
    height: 100%;
    opacity: 40%;
    animation: none;
}
.nav-item:nth-child(3) .btn-wrapper .btn-border {
    position: absolute;
    width: 200%;
    height: 400%;
    z-index: -1;
    animation: 2s linear infinite spin;
    background: linear-gradient(
      90deg,
      rgba(242, 34, 89, 1) 0%,
      rgba(198, 59, 217, 1) 100%
    );
}
@keyframes spin {
    0% {
      transform: rotate(0deg);
    }
    100% {
      transform: rotate(360deg);
    }
}
.nav-item:nth-child(3) .btn-wrapper  button {
    border: none;
    outline: none;
    z-index: 2;
    padding: 0.7rem 1rem;
    background-color: #000000;
    border-radius: 6rem;
    color: white;
}
.nav-item:nth-child(3) .btn-wrapper .btn-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6rem;
    padding: 2px;
    position: relative;
}

.nav-item:nth-child(3) .btn-wrapper .btn-border {
    position: absolute;
    width: 200%;
    height: 400%;
    animation: spin 2s linear infinite;
    background: linear-gradient(90deg, rgba(242, 34, 89, 1), rgba(198, 59, 217, 1));
}
nav .hamburger-con {
    display: none;
}
.mobile {
    display: none;
  }

/* Main Content */
.section-1{
    z-index: 2;
}
.main-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.main-content h1 {
    font-size: 5.3rem;
    font-family: azonix;
}

.main-content h1 span {
    color: #c63bd9;
}
/*Section 2*/
.section-2 {
    width: 100%;
    /* height: 80vh; */
    padding: 2rem 0rem;
    background-color: rgb(0, 0, 0);
    z-index: 2;
    position: relative;
}

.section-2 .container {
    padding: 4rem;
    display: flex;
    align-items: center;
    gap: 5rem;
    position: relative;
}

.section-2 .container .con:nth-child(1) {
    width: 65%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.section-2 .container .con:nth-child(1) h2 {
    font-family: Aventa-Thin;
    color: #fff;
    font-size: 1.625rem;
    line-height: 1.5em;
}

.section-2 .container .con:nth-child(2) {
    width: 35%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-direction: column;
    gap: .8rem;
}

.section-2 .container .con:nth-child(2) img {
    width: 90%;
    height: auto;
}

.section-2 .container .con:nth-child(2) p {
    color: #707070;
    text-align: right;
    width: 70%;
}

.section-2 .container .con:nth-child(2) p span {
    color: #C63BD9;
}

/*Section 3*/
.responsive {
    padding: 4rem 1rem;
    display: flex;
    height: max-content;
    width: 100%;
    background-color: #000000;
    z-index: 1;
    position: relative;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
  }
  
  .responsive .heading {
    z-index: 4;
    position: relative;
    width: 100%;
    display: flex;
    padding: 1rem 2rem;
    align-items: start;
    justify-content: space-between;
  }
  
  .responsive .heading h1 {
    width: 50%;
    font-size: 3rem;
    color: white;
    font-family: azonix;
  }
  
  .responsive .heading h1 span {
    font-family: azonix;
    color: #c63bd9;
  }
  
  .responsive .heading .left {
    width: 50%;
    display: flex;
    align-items: flex-end;
    gap: 1rem;
    justify-content: center;
    flex-direction: column;
  }
  
  .responsive .heading .left p {
    font-size: 0.8rem;
    width: 90%;
    color: #9ba1a5;
    text-align: end;
  }
  
  .responsive .heading .submit-btn {
    width: fit-content;
  }
  
  .responsive .heading .submit-btn .btn-wrapper {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6rem;
    position: relative;
    overflow: hidden;
    padding: 2px;
  }
  
  .responsive .heading .submit-btn .btn-wrapper:hover {
    overflow: visible;
  }
  
  .responsive .heading .submit-btn .btn-wrapper:hover button {
    background: linear-gradient(90deg, rgba(242, 34, 89, 1) 0%, rgba(198, 59, 217, 1) 100%);
  }
  
  .responsive .heading .submit-btn .btn-wrapper:hover .btn-overlay {
    display: none;
  }
  
  .responsive .heading .submit-btn .btn-wrapper:hover .btn-border {
    filter: blur(10px);
    width: 100%;
    height: 100%;
    opacity: 40%;
    animation: none;
  }
  
  .responsive .heading .submit-btn .btn-overlay {
    width: 100%;
    height: 100%;
    z-index: 1;
    position: absolute;
    background: linear-gradient(90deg, rgba(242, 34, 89, 0) 0%, rgba(21, 3, 8, 0.3029586834733894) 30%, rgba(0, 0, 0, 0.7) 40%, rgba(0, 0, 0, 1) 48%, rgba(0, 0, 0, 1) 52%, rgba(0, 0, 0, 0.7) 60%, rgba(27, 8, 30, 0.3) 70%, rgba(198, 59, 217, 0) 100%);
  }
  
  .responsive .heading .submit-btn .btn-border {
    position: absolute;
    width: 200%;
    height: 400%;
    z-index: -1;
    animation: 2s linear infinite spin;
    background: linear-gradient(90deg, rgba(242, 34, 89, 1) 0%, rgba(198, 59, 217, 1) 100%);
  }
  
  @keyframes spin {
    0% {
      transform: rotate(0deg);
    }
    100% {
      transform: rotate(360deg);
    }
  }
  
  .responsive .heading .submit-btn .btn-wrapper button {
    border: none;
    outline: none;
    z-index: 2;
    padding: 0.7rem 1rem;
    background-color: #000000;
    border-radius: 6rem;
    color: white;
  }
  
  .responsive .main {
    display: flex;
    align-items: center;
    height: fit-content;
    justify-content: center;
  }
  
  .responsive .main .content {
    z-index: 4;
    position: relative;
    width: 90%;
    background: #ffffff33;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 30px #0000001a;
    border: 1px solid #ffffff4d;
    padding: 1rem;
  }
  
  .responsive .main .content .absolute {
    position: absolute;
    border-radius: 1rem;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(3.6px);
  }
  
  .responsive .main .content .card-grid {
    display: grid;
    z-index: 5;
    position: relative;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.8rem;
    padding: 0.4rem;
    box-sizing: border-box;
  }
  
  .responsive .main .content .card-grid .card {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 0.8rem;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
  }
  
  .responsive .main .content .card-grid .card .card-image {
    width: 100%;
    height: 15rem;
    object-fit: cover;
  }
  
  .responsive .main .content .card-grid .card .card-title {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 0.3rem;
  }
  
  .responsive .main .diamond {
    z-index: 2;
    width: 100%;
    height: 100vh;
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .responsive .main .diamond img:nth-child(1) {
    width: 90%;
  }
    .responsive .main .diamond img:nth-child(2),
    .responsive .main .diamond img:nth-child(3),
    .responsive .main .diamond img:nth-child(4),
    .responsive .main .diamond img:nth-child(5),
    .responsive .main .diamond img:nth-child(6) {
  display: none;
}

/*Section 4*/
/* Parent Wrapper for Sections */
.section-wrapper {
    position: relative; /* Important for stacking */
    width: 100%;
    overflow: hidden;
    z-index: 1;
  }
  
  .section-4 {
    height: 100vh;
    width: 100%;
    max-width: 100vw;
    background-color: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 2rem 6rem;
    gap: 2rem;
    position: relative; /* Lower stacking for overlap */
  }
  
  .section-4 .heading {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 2rem;
    justify-content: start;
  }
  
  .section-4 .heading h4 {
    font-family: azonix;
    color: #c63bd9;
    white-space: nowrap;
  }
  
  .section-4 .heading hr {
    width: 90%;
    border-color: rgb(55, 55, 55);
  }
  
  .section-4 .text h1 {
    font-size: clamp(1.8rem, 3.8vw, 3.8rem);
    color: #242424;
    transition: color 0.3s ease;
    position: relative;
    width: 100%;
    word-wrap: break-word;
  }
  
  .section-4 .text h1 span {
    display: inline-block;
    font-family: azonix;
  }

  
  /*Section 5*/
  .section5 {
    width: 100%;
    background-color: #000;
    padding: 6rem 0 0 0;
    z-index: 1;
    position: relative;
    height: 200vh; /* Increased height to allow space for scrolling (adjust as needed) */
}

.section5 .container {
    width: 100%;
    height: 100%;
    background-color: #F22259;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 6rem;
}

.section5 .container .head {
    width: 40%;
    position: sticky;
    top: 6rem; /* Sticks the title at the top of the viewport */
    z-index: 5;
    font-family: azonix;
    color: #000;
    font-size: 2.5rem;
}

.section5 .container .cards {
    width: 60%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    position: relative;
}

.section5 .container .cards .card:nth-child(1),
.section5 .container .cards .card:nth-child(2),
.section5 .container .cards .card:nth-child(3) {
    width: 80%;
    padding: 2rem;
    height: 50vh;
    border-radius: 3rem;
    position: sticky;
    top: 6rem;
}

.section5 .container .cards .card:nth-child(1) {
    background-color: black;
    color: #ffffff;
    z-index: 2;
}

.section5 .container .cards .card:nth-child(2) {
    background-color: #F7E678;
    transform: rotate(15deg);
    color: #000;
    z-index: 3;
}

.section5 .container .cards .card:nth-child(3) {
    background-color: black;
    color: #fff;
    transform: rotate(-15deg);
    z-index: 4;
}

.section5 .container .cards .card .card-content {
    display: flex;
    width: 100%;
    height: 100%;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
}

.section5 .container .cards .card .card-content h1 {
    font-family: Aventa-Medium;
    font-size: 2rem;
}

.section5 .container .cards .card .card-content p {
    font-family: Aventa-Thin;
    font-size: 1.5rem;
    line-height: 100%;
}

/*Section 6*/
.section-6 {
    width: 100%;
    background-color: #000000;
    display: flex;
    z-index: 1;
    position: relative;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    color: #fff;
  }
  
  .section-6 .heading {
    width: 100%;
    padding: 4rem 2rem;
  }
  
  .section-6 .heading h1 {
    font-size: 2rem;
    font-family: azonix;
  }
  
  .section-6 .project-wrapper {
    width: 100%;
  }
  
  .section-6 .project-wrapper .projects {
    width: 100%;
    display: flex;
    align-items: center;
    height: 45vh;
    justify-content: center;
    border-bottom: 1px solid #414141;
  }
  
  .section-6 .project-wrapper .projects .content {
    width: 40%;
    height: 100%;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
  }
  
  .section-6 .project-wrapper .projects .content .top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }
  
  .section-6 .project-wrapper .projects .content .top .tags {
    display: flex;
    gap: 0.5rem;
  }
  
  .cover1,
  .cover2,
  .cover3 {
    width: 60%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }
  
  .cover1 {
    background-image: url(assets/p1.jpg);
  }
  
  .cover2 {
    background-image: url(assets/p2.avif);
  }
  
  .cover3 {
    background-image: url(assets/p3.avif);
  }
  
  /* End Section */
  .bottom-wrapper {
    width: 100%;
}

.section7 {
    z-index: 1;
    width: 100%;
    height: 100vh;
    position: relative;
    border-radius: 0 0 3rem 3rem;
    background-color: #000000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.section7 .radial {
    width: 22rem;
    height: 22rem;
    position: absolute;
    border-radius: 50%;
    background-color: #F22259;
    filter: blur(80px);
    opacity: 0.5;
}

.section7 .diamonds {
    position: absolute;
    width: 100%;
    height: 100%;
    padding: 1rem;
}

.section7 .diamonds img:nth-child(1){
  position: absolute;
  width: 15rem;
  height: 15rem;
  transform: rotate(-25deg);
  top: 32%;
  left: 12%;
}

.section7 .diamonds img:nth-child(2){
  position: absolute;
  width: 7.4rem;
  height: 7.4rem;
  top: 7%;
  transform: rotate(-22deg);
  left: 30%;
}

.section7 .diamonds img:nth-child(3){
  position: absolute;
  width: 9.3rem;
  height: 9.3rem;
  transform: rotate(41deg);
  left: 55%;
  top: 8%;
}

.section7 .diamonds img:nth-child(4){
  position: absolute;
  width: 12.5rem;
  height: 12.5rem;
  transform: rotate(39deg);
  left: 65%;
  top: 35%;
}

.section7 .diamonds img:nth-child(5){
  position: absolute;
  width: 9.3rem;
  height: 9.3rem;
  transform: rotate(-27deg);
  top: 70%;
  left: 55%;
}

.section7 .diamonds img:nth-child(6){
  position: absolute;
  width: 9.9rem;
  height: 9.9rem;
  transform: rotate(50deg);
  top: 70%;
  left: 25%;
}

.section7 .content {
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2;
    gap: 1rem;
}

.section7 .content h1 {
    font-size: 3.438rem;
    font-family: azonix;
    width: 60%;
    text-align: center;
}

.section7 .content h1 span {
    font-family: azonix;
    color: #C63BD9;
    font-size: 4.688rem;
}

.section7 .content p {
    max-width: 45%;
    font-family: Aventa-Regular;
    text-align: center;
}

.section7 form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 50%;
}

.section7 input {
    background-color: transparent;
    border: none;
    outline: none;
    padding: 1rem 0;
    border-bottom: 1px solid #C63BD9;
    font-size: large;
    color: #fff;
}

.section7 input::placeholder {
    color: #ffffff;
    font-family: azonix;
    font-size: large;
}

.section7 .submit-btn {
    width: fit-content;
    align-self: center;
}

.section7 .btn-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6rem;
    position: relative;
    overflow: hidden;
    padding: 2px;
}

.section7 button {
    border: none;
    outline: none;
    z-index: 2;
    padding: 0.7rem 1rem;
    background-color: #000000;
    border-radius: 6rem;
    color: white;
}
.overlay {
    height: 80vh;
    width: 100%;
}

footer {
    height: 90vh;
    width: 100%;
    position: fixed;
    display: flex;
    overflow-x: hidden;
    align-items: center;
    justify-content: flex-end;
    flex-direction: column;
    gap: 5rem;
    bottom: 0;
    background-color: #C63BD9;
}

footer .content {
    width: 100%;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
footer .content .con:nth-child(1){
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: flex-start;
}
footer .content .con:nth-child(1) h1 {
    font-family: azonix;
    color: #000;
}
footer .links{
  display: flex;
  gap: .5rem;
  flex-direction: column;
}
footer .links .link {
    cursor: pointer;
}
footer .link-anchor{
  color: #000;
  text-decoration: none;
}
footer .link-anchor:hover {
    text-decoration: underline;
}

footer .content .con:nth-child(2) {
    display: flex;
    gap: .5rem;
    align-items: flex-end;
    flex-direction: column;
}

.icons {
    display: flex;
    gap: .5rem;
    justify-content: space-between;
    align-items: center;
    color: #000;
    font-size: 2rem;
}
footer .content .con:nth-child(2) a{
  cursor: pointer;
  text-decoration: none;
  color: #000;
}
footer .content .con:nth-child(2) a:hover{
  text-decoration: underline;
}
footer .logo{
    width: 100%;
    position: relative;
    overflow: hidden;
}
footer .logo img{
    width: 100%;
    height: auto;
}

#snackbar {
    visibility: hidden;
    min-width: 200px;
    background-color: #F22259;
    color: #fff;
    text-align: center;
    border-radius: 16px;
    padding: 12px;
    position: fixed;
    z-index: 2;
    top: 2rem;
    left: 50%;
    transform: translateX(-50%);
}

#snackbar.show {
    visibility: visible;
}
/*----------------------Resposnive--------------------------*/
@media (min-width: 1600px) and (max-width:1920px){
  html{
    font-size: 140%;
  }
}
@media (min-width: 1400px) and (max-width:1600px){
  html{
    font-size: 120%;
  }
}
/* Ipad Air and Pro */
@media screen and (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
  /*Section 2*/
  .section-2 {
      height: fit-content;
      padding: 10rem 0rem;
  }
  /*Section4*/
  .section-wrapper .section-4 .text h1 {
    font-size: 5.5vw;
  }
  /*Section 5*/
  .section5 {
    height: 120vh;
  }

  .section5 .container .cards .card:nth-child(1),
  .section5 .container .cards .card:nth-child(2),
  .section5 .container .cards .card:nth-child(3) {
      height: 30vh;
  }
  /*Section 6*/
  .section-6 .project-wrapper .projects {
    height: 30vh;
  }
  /*End Section*/
  .bottom-wrapper .section7 {
    height: 70vh;
  }
  .bottom-wrapper .section7 .content h1 {
      font-size: 3rem;
  }
  .bottom-wrapper .section7 .content form input::placeholder {
      font-size: 1rem;
  }
  .bottom-wrapper .overlay {
      height: 40vh;
  }
  .bottom-wrapper footer {
      height: 45vh;
  }
}
/* Iphone Responsive */
@media screen and (min-width: 390px) and (max-width: 430px) and (min-height: 844px) and (max-height: 932px) {
  .section-2 {
      height: fit-content;
      padding: 0rem 0rem 5rem 0rem  !important;
  }
}
/* iPhone 14 Pro & Similar Devices */
@media screen and (min-width: 344px) and (max-width: 430px) and (min-height: 844px) and (max-height: 932px) {
  .section-4 .text h1 {
    font-size: 7vw !important;
  }
  /*Section 5*/
  .section5 {
    height: 150vh;
  }

  .section5 .container .cards .card:nth-child(1),
  .section5 .container .cards .card:nth-child(2),
  .section5 .container .cards .card:nth-child(3) {
      height: 30vh;
  }
  /*End Section*/
  .bottom-wrapper .section7 {
      height: 70vh;
  }
  .bottom-wrapper .section7 .content h1 {
      font-size: 3rem;
  }
  .bottom-wrapper .section7 .content form input::placeholder {
      font-size: 1rem;
  }
  .bottom-wrapper .overlay {
      height: 40vh;
  }
  .bottom-wrapper footer {
      height: 45vh;
  }
  .bottom-wrapper .overlay {
    height: 40vh !important;
  }
}
@media (min-width: 1400px){
  /*Section 3*/
  .responsive .main .diamond img:nth-child(1) {
      width: 85%;
  }
  .responsive .heading .left p {
      width: 70%;
  }
  .responsive .main .content .card-grid .card .card-image {
      height: 20rem;
  }
}
@media (max-width: 1065px) {
  /*Section2*/
  .section-2 .container {
      padding: 2rem;
  }
}
@media (max-width: 1000px) {
  /*Section 5*/
  .section5 .container .cards .card .card-content p {
      font-size: 1rem;
  }
}
@media (max-width: 950px) {
  /*Footer Responsive Styling*/
  .bottom-wrapper .section7 .diamonds img:nth-child(1) {
      left: 8%;
      width: 14rem;
      height: 14rem;
  }
  .bottom-wrapper .section7 .diamonds img:nth-child(4) {
      left: 70%;
  }
  .bottom-wrapper .overlay {
      height: 60vh;
  }
  .bottom-wrapper footer {
      height: 65vh;
  }
}
@media (max-width:900px){
  /*Section 1*/
  .nav-item:nth-child(3){
      padding: .5rem;
  }
  .main-content h1{
      font-size: 5rem;
  }

  /*Section2*/
  .section-2 {
    height: fit-content;
    padding: 6rem 0rem;
  }

  .section-2 .container {
      padding: 2rem;
  }

  .section-2 .container .con:nth-child(1) h2 {
      font-size: 1.3rem;
  }
}
@media (max-width: 865px) {
  nav{
    padding: 0rem 1rem;
  }
  /*Section 5*/
  .section5 .container .head {
      font-size: 2rem;
  }
}
@media (max-width: 800px) {
  /*End section*/
  .bottom-wrapper .section7 .diamonds img:nth-child(1) {
      left: 8%;
      width: 10rem;
      height: 10rem;
  }
  .bottom-wrapper .section7 .diamonds img:nth-child(3) {
      width: 10.5rem;
      height: 10.5rem;
      top: 5%;
  }
  .bottom-wrapper .section7 .diamonds img:nth-child(4) {
      left: 70%;
      width: 9rem;
      height: 9rem;
  }
}
@media (max-width: 786px) {
    /*Section1 and nav*/
    nav{
      justify-content: end;
  }
  nav .nav-item:nth-child(1){
      display: none;
  }
  nav .nav-item:nth-child(3){
      display: none;
  }
  .hamburger-con .hamburger {
      cursor: pointer;
      background: none;
      border: none;
      padding: 0;
      display: inline-flex;
      align-items: center;
      justify-content: center;
  }
  .hamburger-con .hamburger svg {
      height: 3em;
      transition: transform 600ms cubic-bezier(0.4, 0, 0.2, 1);
  }
  .hamburger-con .hamburger svg .line{
      fill: none;
            stroke: white;
            stroke-linecap: round;
            stroke-linejoin: round;
            stroke-width: 3;
            transition: stroke-dasharray 600ms cubic-bezier(0.4, 0, 0.2, 1),
              stroke-dashoffset 600ms cubic-bezier(0.4, 0, 0.2, 1);
  }
  .hamburger-con .hamburger svg .line-top-bottom {
      stroke-dasharray: 12 63;
  }
  nav .hamburger-con {
      display: block;
  }
  .hamburger-con.active .hamburger svg {
      transform: rotate(-45deg);
  }
  .hamburger-con.active .hamburger svg .line{
      stroke: #000;
  }
  .hamburger-con.active .hamburger svg .line-top-bottom {
      stroke-dasharray: 20 300;
      stroke-dashoffset: -32.42;
  }
  .mobile {
      display: flex;
      align-items: center;
      justify-content: flex-end;
      padding: 4rem;
      position: absolute;
      width: 100%;
      height: 100vh;
      z-index: 4;
      top: -100%;
      background-color: #c63bd9;
      transition: top 0.5s ease-in-out;
    }
    .mobile .container {
      display: flex;
      align-items: flex-end;
      flex-direction: column;
      gap: 2rem;
      justify-content: center;
    }
    .mobile h3 {
      font-size: 3rem;
      font-family: azonix;
      text-align: right;
      color: #000;
      opacity: 0; /* Start hidden */
      transform: translateY(20px); /* Positioned below */
    }
    .mobile.active {
      top: 0;
    }
    .main-content h1{
        font-size: 4rem;
    }
    
    /*Section 3*/
    .responsive{
        padding: 1rem;
    }
    .responsive .heading h1 {
        font-size: 2rem;
      }
    
      .responsive .heading .left {
        gap: .6rem;
      }
    
      .responsive .heading .left .submit-btn {
        transform: scale(0.8);
      }

    .responsive .main .content .card-grid {
      grid-template-columns: repeat(2, 1fr); /* 1 card per row on very small screens */
    }

    .responsive .main .diamond {
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }

    .responsive .main .diamond img:nth-child(1) {
      width: 30%;
      align-self: flex-end;
    }

    .responsive .main .diamond img:nth-child(2) {
      display: block;
      width: 50%;
      align-self: flex-start;
    }

    .responsive .main .diamond img:nth-child(3) {
      display: block;
      width: 40%;
      align-self: flex-end;
    }

    .responsive .main .diamond img:nth-child(4),
    .responsive .main .diamond img:nth-child(5),
    .responsive .main .diamond img:nth-child(6) {
      display: none;
    }
    /*Section 4*/
    .section-4 .text h1 {
      font-size: 4.5vw;
    }
    /*Section 5*/
    .section5 .container {
      padding: 2rem;
    }
    /*Section6*/
    .section-6 .project-wrapper .projects .content {
      width: 50%;
    }
  
    .section-6 .project-wrapper .projects .cover1,
    .section-6 .project-wrapper .projects .cover2,
    .section-6 .project-wrapper .projects .cover3 {
      width: 50%;
    }
}
@media (max-width: 655px) {
  /*Section 2*/
  .section-2 .container {
      padding: 2rem;
  }

  .section-2 .container .con:nth-child(1) h2 {
      font-size: 1.15rem;
  }

  .section-2 .container .con:nth-child(2) p {
      width: 80%;
  }
  /*Section 5*/
  .section5 .container .cards .card .card-content h1 {
    font-size: 1.8rem;
}
}
@media (max-width: 600px) {
  html{
    font-size: 80%;
  }
  .bottom-wrapper .section7 .diamonds img:nth-child(1) {
      left: 5%;
      width: 12rem;
      height: 12rem;
      top: 37%;
  }
  .bottom-wrapper .section7 .diamonds img:nth-child(2) {
      left: 20%;
      width: 9rem;
      height: 9rem;
  }
  .bottom-wrapper .section7 .diamonds img:nth-child(3) {
      width: 10.5rem;
      height: 10.5rem;
      top: 5%;
  }
  .bottom-wrapper .section7 .diamonds img:nth-child(4) {
      left: 70%;
      width: 9rem;
      height: 9rem;
  }
  .bottom-wrapper .section7 .diamonds img:nth-child(5) {
      left: 60%;
  }
  .bottom-wrapper .section7 .diamonds img:nth-child(6) {
      left: 20%;
  }
}
@media (max-width: 550px) {
  /*Section 2*/
  .section-2 .container {
      padding: 2rem;
      flex-direction: column;
      gap: 2rem;
  }

  .section-2 .container .con:nth-child(1) {
      width: 80%;
  }

  .section-2 .container .con:nth-child(2) {
      width: 80%;
      flex-direction: row;
      justify-content: center;
  }

  .section-2 .container .con:nth-child(2) img {
      width: 60%;
  }

  .section-2 .container .con:nth-child(2) p {
      text-align: start;
  }

  .section-2 .container .con:nth-child(1) h2 {
      font-size: 1rem;
  }
  /*Section 3*/
  .responsive .heading {
    align-items: center;
  }

  .responsive .heading h1 {
    font-size: 1.4rem;
  }

  .responsive .heading .left p {
    display: none;
  }

  .responsive .main {
    align-items: flex-start;
  }

  .responsive .main .content .card-grid {
    grid-template-columns: 1fr; /* 1 card per row on very small screens */
  }

  .responsive .main .diamond {
    height: 90%;
  }

  .responsive .main .diamond img:nth-child(4) {
    display: block;
    width: 60%;
    align-self: flex-start;
  }

  .responsive .main .diamond img:nth-child(5) {
    display: block;
    width: 40%;
    align-self: flex-end;
  }

  .responsive .main .diamond img:nth-child(6) {
    display: block;
    width: 50%;
    align-self: flex-start;
  }
  /*Section5*/
  .section5 .container {
    flex-direction: column;
    gap: 8rem;
    padding: 6rem;
  }

  .section5 .container .head {
      width: 100%;
      position: relative;
      z-index: 1;
  }

  .section5 .container .cards {
      width: 100%;
      margin-bottom: 8rem;
  }

  .section5 .container .cards .card:nth-child(1),
  .section5 .container .cards .card:nth-child(2),
  .section5 .container .cards .card:nth-child(3) {
      top: 6rem;
      width: 100%;
  }

  .section5 .container .cards .card .card-content h1 {
      font-size: 1.8rem;
  }

  .section5 .container .cards .card .card-content p {
      font-size: 1.5rem;
  }
}

@media (max-width: 467px) {
  /*sec 1*/
  .main-content h1{
    font-size: 3rem;
  }
  /*Section4*/
  .section-4 .text h1 {
    font-size: 6vw;
  }
  .section-4{
    padding: 2rem !important;
  }
  /*Footer*/
  .bottom-wrapper .section7 .diamonds img:nth-child(1) {
      left: 5%;
      width: 8rem;
      height: 8rem;
      top: 37%;
  }
  .bottom-wrapper .section7 .diamonds img:nth-child(2) {
      left: 20%;
      width: 7rem;
      height: 7rem;
  }
  .bottom-wrapper .section7 .diamonds img:nth-child(3) {
      width: 8rem;
      height: 8rem;
      top: 5%;
  }
  .bottom-wrapper .section7 .diamonds img:nth-child(4) {
      left: 70%;
      width: 6rem;
      height: 6rem;
  }
  .bottom-wrapper .section7 .diamonds img:nth-child(5) {
      left: 65%;
      top: 65%;
      width: 6rem;
      height: 6rem;
  }
  .bottom-wrapper .section7 .diamonds img:nth-child(6) {
      left: 15%;
      top: 65%;
      width: 5rem;
      height: 5rem;
  }
  .section7 .content h1 {
    font-size: 2.5rem;
  }
  footer .content .con:nth-child(2) a {
    text-align: end;
  }
  footer .content .con:nth-child(1) h1 {
    font-size: 1.5rem;
  }
  .section7 .content p {
    max-width: 55%;
  }
  /*Section6*/
  .section-6 .project-wrapper {
    padding: 1rem 0rem;
  }

  .section-6 .project-wrapper .projects {
    flex-direction: column-reverse;
    height: 50vh;
    border-bottom: none;
  }

  .section-6 .project-wrapper .projects .cover1,
  .section-6 .project-wrapper .projects .cover2,
  .section-6 .project-wrapper .projects .cover3 {
    width: 100%;
    height: 60%;
  }

  .section-6 .project-wrapper .projects .content {
    width: 100%;
    height: 40%;
    justify-content: space-around;
  }

  .section-6 .project-wrapper .projects .content .top {
    border-bottom: 1px solid #414141;
  }
  .bottom-wrapper .section7 .content h1 {
    font-size: 2.3rem;
  }
}
@media (max-width: 400px){
    .section7 .content h1 {
        width: 75%;
    }
    .section7 .content p {
        width: 65%;
    }
    .bottom-wrapper .section7 .content h1 {
      font-size: 2rem;
    }
    .section7 .content h1 span {
      font-size: 3rem;
    }
    .section7 .content p {
      width: 100%;
    }
}

@media (max-width: 396px) {
  /*nav*/
  nav .hamburger-con{
    scale: 0.7;
  }
  .mobile h3{
      font-size: 2rem;
  }
  /*Section4*/
  .section-wrapper .section-4 {
    padding: 3rem !important;
  }
  /*End Section*/
  .bottom-wrapper .section7 .content h1 {
      font-size: 2.8rem;
  }
  .bottom-wrapper footer .content .con:nth-child(1) h1 {
      font-size: 1.8rem;
  }
  .bottom-wrapper footer .content .con:nth-child(2) .icons {
      scale: 0.7;
  }
}

@media (max-width: 340px) {
  .section-2 .container .con:nth-child(1) {
      width: 100%;
  }
  .section-2 .container .con:nth-child(2) {
    width: 100%; 
  }
  /*Section3*/
  .responsive .heading h1 {
    font-size: 1.1rem;
  }
  /*Section 5*/
  .section5 .container {
    padding: 2rem;
  }
  .section5 .container .cards .card:nth-child(1), .section5 .container .cards .card:nth-child(2), .section5 .container .cards .card:nth-child(3) {
    width: 80%;
  }
  /*End Section*/
  .section7{
    height: 75vh;
  }
  .bottom-wrapper .overlay {
    height: 50vh;
  }
  .bottom-wrapper footer .content .con:nth-child(1) h1 {
    font-size: 1rem;
  }
}
