* {
  font-family: "DotGothic16", sans-serif;
  font-weight: 400;
  font-style: normal;
}




/* Footer Styles */
.footer {
     background: linear-gradient(
    to left,
    hsl(212, 100%, 50%) 0%,
    hsl(46, 88%, 73%) 50%,
hsl(212, 100%, 50%) 100% );
padding: 10px 0;

}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  text-align: center;
}

.footer-brand {
  color: brown;
  font-size: 1.2rem;
  margin-bottom: 1rem;
  font-weight: bold;
}

.credits {
  font-size: 0.9rem;
  color: #6c757d;
  line-height: 1.6;
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 1rem;
}

.credits a {
  color: #0d6efd;
  text-decoration: none;
  transition: color 0.2s;
}

.credits a:hover {
  color: #0a58ca;
  text-decoration: underline;
}

/* About Me Section */
.about-me {
  max-width: 800px;
  margin: 0 auto 1rem;
  padding: 2rem;
}

.about-me h2 {
  text-align: center;
  margin-bottom: 1.5rem;
  color: #333;
}

.about-content {
  line-height: 1.8;
  color: #444;
}

.about-content p {
  margin-bottom: 1.2rem;
  text-align: justify;
}

.about-content p:last-child {
  margin-bottom: 0;
}

header {
  position: relative;
 
  transform-style: inherit;
  z-index: -1;
}

header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: block;
  background-size: cover;
  transform: translateZ(-1px) scale(2.1);
  min-height: 100%;
  z-index: -2;
}


section {
  position: relative;
  height:auto;
  min-height: 60%;
  width: 90%;
  max-width: 1200px;
  margin: 4rem auto;
  transform-style: inherit;


  backdrop-filter: blur(10px);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.5s ease-out;
  will-change: transform, box-shadow;
}

section:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.section1 {
  z-index: 1;
  
  margin: 4rem auto 8rem;
  position: relative;
  overflow: visible;
  background: linear-gradient(
    to bottom,
    hsl(0, 0%, 98%) 0%,
    hsl(212, 71%, 81%) 100%
  );
  background-size: 100% 200%;
  background-position: 0% var(--bgp, 100%);
}

.section2 {
  background: linear-gradient(
    to bottom,
    hsl(212, 71%, 81%) 0%,
    hsl(0, 0%, 98%) 100%
  );
}
.section3{
    background: linear-gradient(
    to bottom,
    hsl(0, 0%, 98%) 0%,
    hsl(212, 71%, 81%) 100%
  );
  height: auto;
}
.section4{
    background: linear-gradient(
    to bottom,
    hsl(212, 71%, 81%) 0%,
    hsl(0, 0%, 98%) 100%
  );
}


.section2:hover, .section3:hover, .section4:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.section2::before, .section3::before, .section4::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: block;
  z-index: -1;
  transition: transform 0.5s ease-out;
  will-change: transform;
}

.section2::before {

  transform: translateZ(-.5px) scale(1.6);
}

.section3::before {
  /* background: url(../images/mainbg3.jpg) top center; */
  background-size: cover;
  transform: translateZ(-.5px) scale(1.6);
}

.section4::before {
  /* background: url(../images/mainbg4.jpg) top center; */
  background-size: cover;
  transform: translateZ(-.5px) scale(1.6);
}

h1 {
  font-size: 4rem;
  text-align: center;
  padding: 2rem 4rem;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  margin: 2rem 0;
  position: relative;
  z-index: 2;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

h1:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.section1 h1 {
  z-index: 3;
  transform: translate(-50%, -50%);
  box-shadow: none;
}

.section2 h1 {
  transform: translateZ(-.3px) scale(1.3) translate(-39%, -39%);
  z-index: 3;
}

/*************************************************************
    BASIC STYLES
  **************************************************************/
*,
*::before,
*::after,
:root {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

@import 'https://fonts.googleapis.com/css?family=Overlock:400,400i,700|Oleo+Script';

html {
  overflow: hidden;
  height: 100%;
  filter: grayscale(var(--bw, 100%));
  -webkit-filter: grayscale(var(--bw, 100%));
}

body {
  overflow-x: hidden;
  overflow-y: scroll;
  filter: grayscale(var(--bw, 100%));
  -webkit-filter: grayscale(var(--bw, 100%));
  height: 100%;
  perspective: 1px;
  transform-style: preserve-3d;
  font-size: 62.5%;
  font-family: 'Overlock', Arial, Helvetica, sans-serif;
  margin: 0;
  padding: 0;
    background-image:
    url('/images/mainbg1.jpg'),
    url('/images/mainbg2.jpg'),
    url('/images/mainbg3.jpg'),
    url('/images/mainbg4.jpg');
 
  background-repeat: no-repeat, no-repeat, no-repeat, no-repeat;
  background-size: cover, cover, cover, cover;
  background-position:
    center calc(var(--bg_shift, 0px) + 0px),
    center calc(var(--bg_shift, 0px) + var(--vh, 100vh)),
    center calc(var(--bg_shift, 0px) + calc(var(--vh, 100vh) * 2)),
    center calc(var(--bg_shift, 0px) + calc(var(--vh, 100vh) * 3));
}


  .shield {
    width: 100px;
    height: 120px;
    background-color: #34495e;
    margin: 0 auto;
    margin-top: 5px;
    position: relative;
    border-top-left-radius: 50%;
    border-top-right-radius: 50%;
    border: 5px solid #2c3e50;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    transform: rotate(180deg);
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .shield-badge {
    width: 50px;
    height: 50px;
    background-color: #ecf0f1;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: rotate(180deg);
    text-align: center;
    font-size: 12px;
    line-height: 1.2;
    padding: 5px;
    box-sizing: border-box;
  }
 
  #loader {
    position: relative;
    width: 5.4em;
    height: 5.4em;
  }

  #box2 {
    position: absolute;
    top: 110px;
    left: 175px;
    bottom: -0.1em;
    width: 3em;
    height: 3em;
    background-color: transparent;
    border: 0.25em solid rgb(56, 55, 56);
    border-radius: 15%;
    transform: translate(0, -1em) rotate(-45deg);
    animation: push-mirror 5s ease-in-out infinite both;
  }

  #hill {
    position: absolute;
    width: 11.1em;
    height: 11.1em;
    top: 1.7em;
    left: 1.9em;
    background-color: transparent;
    border: 0.25em solid rgb(163, 171, 173);

    transform: rotate(45deg);
  }

  #hill:after {
    content: "";
    position: absolute;
    width: 7.1em;
    height: 7.1em;
    left: 0;
  }

  #box {
    position: absolute;
    top: 109px;
    left: 15px;
    bottom: -0.1em;
    width: 3em;
    height: 3em;
    background-color: transparent;
    border: 0.25em solid rgb(0, 81, 255);
    border-radius: 15%;
    transform: translate(0, -1em) rotate(-45deg);
    animation: push 5s ease-in-out infinite both;
  }

  @keyframes push {
    0% {
      transform: translate(0, -1em) rotate(-45deg);
    }

    10% {
      transform: translate(1em, -2em) rotate(50deg);
    }

    20% {
      transform: translate(2em, -3em) rotate(120deg);
    }

    25% {
      transform: translate(3em, -4em) rotate(217deg);
    }

    35% {
      transform: translate(5em, -4em) rotate(45deg);
    }

    50% {
      transform: translate(0, -1em) rotate(-45deg);
    }

    60% {
      transform: translate(1.5em, 0.5em) rotate(40deg);
    }

    75% {
      transform: translate(3em, 2em) rotate(130deg);
    }

    80% {
      transform: translate(5em, 2em) rotate(13deg);
    }

    90% {
      transform: translate(3em, 1em) rotate(80deg);
    }

    100% {
      transform: translate(0, -1em) rotate(-45deg);
    }
  }


  @keyframes push-mirror {
    0% {
      transform: translate(0, -1em) rotate(45deg);
    }

    10% {
      transform: translate(-1em, -2em) rotate(-50deg);
    }

    20% {
      transform: translate(-2em, -3em) rotate(-120deg);
    }

    25% {
      transform: translate(-3em, -4em) rotate(-217deg);
    }

    35% {
      transform: translate(-5em, -4em) rotate(-45deg);
    }

    50% {
      transform: translate(0, -1em) rotate(45deg);
    }

    60% {
      transform: translate(-1.5em, 0.5em) rotate(-40deg);
    }

    75% {
      transform: translate(-3em, 2em) rotate(-130deg);
    }

    80% {
      transform: translate(-5em, 2em) rotate(-13deg);
    }

    90% {
      transform: translate(-3em, 1em) rotate(-80deg);
    }

    100% {
      transform: translate(0, -1em) rotate(45deg);
    }
  }

   .AudioThing {
    width: 10px;
    height: 100px;
    background: #007a8f;
    animation: randomHeight 2s infinite alternate;

  }

  @keyframes randomHeight {
    0% {
      transform: scaleY(0.8);
    }

    20% {
      transform: scaleY(1.3);
    }

    40% {
      transform: scaleY(0.5);
    }

    60% {
      transform: scaleY(1.8);
    }

    80% {
      transform: scaleY(0.9);
    }

    100% {
      transform: scaleY(1.5);
    }
  }

  .AudioThing:nth-child(1) {
    animation-delay: 0s;
  }

  .AudioThing:nth-child(2) {
    animation-delay: 0.1s;
  }

  .AudioThing:nth-child(3) {
    animation-delay: 0.3s;
  }

  .AudioThing:nth-child(4) {
    animation-delay: 0.5s;
  }

  .AudioThing:nth-child(5) {
    animation-delay: 0.2s;
  }

  .AudioThing:nth-child(6) {
    animation-delay: 0.4s;
  }

  .AudioThing:nth-child(7) {
    animation-delay: 0.6s;
  }

  .AudioThing:nth-child(8) {
    animation-delay: 0.3s;
  }

  .AudioThing:nth-child(9) {
    animation-delay: 0.1s;
  }

  .AudioThing:nth-child(10) {
    animation-delay: 0.5s;
  }

  .AudioThing:nth-child(11) {
    animation-delay: 0.2s;
  }

  .AudioThing:nth-child(12) {
    animation-delay: 0.4s;
  }

  .AudioThing:nth-child(13) {
    animation-delay: 0.1s;
  }

  .AudioThing:nth-child(14) {
    animation-delay: 0.6s;
  }

  .AudioThing:nth-child(15) {
    animation-delay: 0.3s;
  }

  .AudioThing:nth-child(16) {
    animation-delay: 0.5s;
  }

  .AudioThing:nth-child(17) {
    animation-delay: 0.2s;
  }

  .AudioThing:nth-child(18) {
    animation-delay: 0.4s;
  }

  .AudioThing:nth-child(19) {
    animation-delay: 0.6s;
  }

  .AudioThing:nth-child(20) {
    animation-delay: 0.1s;
  }

 li {
    padding: 3%;
  }

  li:hover {
    opacity: 0.5;
    scale: (2);
  }

  .dropdown {
    width: 230px;
    filter: url(#goo);
    margin: 0;
  }

  .dropdown__face,
  .dropdown__items {
    background-color: #fff;
    padding: 20px;
    border-radius: 25px;
    background-image: linear-gradient(94deg, #5191da, #4a497c);
    color: white;
  }

  .dropdown__face:hover {
    opacity: 30;
  }

  .dropdown__face {
    display: block;
    position: relative;
  }

  .dropdown__items {
    margin: 0;
    position: absolute;
    right: 0;
    top: 20%;
    width: 100%;
    list-style: none;
    list-style-type: none;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    visibility: hidden;
    z-index: -1;
    transition: all 0.5s cubic-bezier(0.1, 1.7, 1, 1.4);
    /* transform: scale(0.97); */
    text-align: center;
    background-image: linear-gradient(94deg, #5191da, #4c4b83);
  }

  .dropdown__items::before {
    content: "";
    opacity: 10;
    position: absolute;
    bottom: 100%;
    right: 20%;
    height: 40px;
    width: 20px;
    text-align: center;
  }

  .dropdown__arrow {
    border-bottom: 2px solid #ffffff;
    border-right: 2px solid #ffffff;
    position: absolute;
    top: 50%;
    right: 30px;
    width: 10px;
    height: 10px;
    transform: rotate(135deg) translateY(50%);
    transform-origin: right;
    transition: transform 0.3s ease;
  }

  .dropdown input {
    display: none;
  }

  .dropdown input:checked~.dropdown__items {
    top: 60px;
    visibility: visible;
    opacity: 1;
  }

  .dropdown input:checked~.dropdown__face .dropdown__arrow {
    transform: rotate(45deg) translateY(-50%);
  }
  .spinner {
    position: relative;
    width: 120px;
    height: 120px;
 
    /* Centers the spinner horizontally */
  }

  .spinner .outer {
    border: 16px solid #f3f3f3;
    /* Light grey */
    border-radius: 50%;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    /* Makes sure outer part is below the inner part */
  }

  .spinner .inner {
    border: 16px solid transparent;
    border-top: 16px solid #256c9b;
    /* Blue */
    border-radius: 50%;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    /* Makes sure inner part is above the outer part */
    animation: spin 0.8s ease infinite;
  }

  .spinner .inner2 {
    border: 16px solid transparent;
    border-top: 16px solid #203f53;
    /* Blue */
    border-radius: 50%;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    /* Makes sure inner part is above the outer part */
    animation: spin 1.5s ease infinite;
  }

  .spinner .inner3 {
    border: 16px solid transparent;
    border-right: 16px solid #53baff;
    /* Blue */
    border-radius: 50%;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    /* Makes sure inner part is above the outer part */
    animation: spin 1.5s ease infinite;
  }

  .spinner .inner4 {
    border: 16px solid transparent;
    border-left: 16px solid #ffffff;
    /* Blue */
    border-radius: 50%;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    /* Makes sure inner part is above the outer part */
    animation: spin 1.5s ease infinite;
  }

  @keyframes spin {
    0% {
      transform: rotate(0deg);
    }

    100% {
      transform: rotate(360deg);
    }
  }
  .css-section {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    box-sizing: border-box;
    flex-wrap: wrap;
    padding: 0.75rem;
  }
  
  .css-section-top {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    box-sizing: border-box;
    flex-wrap: wrap;
    padding: 1rem;
    width: fit-content;
    margin: 0 auto;
  }



  .css-section > *,
  .css-section-top > * {
    flex: 0 0 auto;
    position: relative;
  }

 .Hill-Box {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 300px;
    height: 300px;
  }
 
 .Audio-Thing {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: fit-content;
 }
 
 .Audio-Thing > div {
    display: flex;
    flex-direction: row;
    gap: 1px;
    width: fit-content;
 }
 
 .Dropdown-main {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: fit-content;
 }
 
 .Spinner-Main {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: fit-content;
 }
  .Card-Main {
    perspective: 500px;
    scale: 0.5;
    width: fit-content;
  }

  .card1:hover {
    transform: rotate3d(1, 0, 0, 15deg);
  }

  .card2:hover {
    transform: rotate3d(1, 0, 0, 15deg);
  }

  .card3:hover {
    transform: rotate3d(1, 0, 0, 15deg);
  }

  .card1 {
    margin: 10px;
    border: 1px solid black;
    width: 350px;
    height: 500px;
    box-shadow: 0px 0px 5px grey;
    transition: transform 0.4s cubic-bezier(0.455, 0.03, 0.515, 0.955),
      background-color 0.4s cubic-bezier(0.455, 0.03, 0.515, 0.955),
      font-size 0.4s cubic-bezier(0.455, 0.03, 0.515, 0.955);
    background-image: url(/images/Bg1.jpg);
    background-size: cover;
    background-repeat: no-repeat;

    perspective: 300px;
    text-align: center;
    overflow: visible;
  }

  #textpopup {
    z-index: -800;
    transform: translateY(-20%, 50%);
    color: red;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.455, 0.03, 0.515, 0.955);
  }

  #popup {
    width: 320px;
    height: 420px;
    opacity: 0;
    transform: translate(15px, 70px);
    transition: 0.4s cubic-bezier(0.455, 0.03, 0.515, 0.955);
    /* transition:  0.4s cubic-bezier(0.755, 0.05, 0.855, 0.06); */
    overflow: visible;
  }

  .card1:hover {
    scale: 0.98;
  }

  .card1:hover #textpopup {
    opacity: 100;
    font-size: 130px;
    transform: translateY(-40%) translateX(-15%) rotate3d(-1, 0, 0, 15deg);
    color: red;
  }

  .card1:hover #popup {
    opacity: 100;
    transform: rotate3d(-1, 0, 0, 15deg) scale(1.4) translate(0, 30px);
    overflow: visible;
  }
  @media (max-width: 768px) {
    .css-section,
    .css-section-top {
      flex-direction: column;
      align-items: center;
      padding: 0.5rem;
    }
    .css-section {
      gap: 5rem;
    }
    .css-section-top {
      gap: 0.5rem;
    }
    .Hill-Box {
      width: 150px;
      height: 150px;
      margin-right: 50%;
      margin-bottom: 10px;
    }
    .Card-Main {
      scale: 0.6;
      margin-top: 20px;
      margin-right: 5%;
    }
    .Dropdown-main {
      width: 100%;
      order: -1;
    }
    .dropdown {
          z-index: 1;
      width: 100%;
      margin: 0;
    }
  }