* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "General Sans";
}

html,
body {
  width: 100%;
  height: 100%;
}

#minicircle {
  transition: all cubic-bezier(0.19, 1, 0.22, 1) 1s;
  width: 10px;
  height: 10px;
  position: absolute;
  z-index: 9999;
  border-radius: 50%;
  background-color: #fff;
}

.bounding {
  width: fit-content;
  /* background-color: red; */
  overflow: hidden;
}
.bounding .boundingelem {
  transform: translateY(100%);
}

/* Make all images responsive by default */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

#main {
  width: 100%;
  background-color: black;
}

#hero {
  position: relative;
  color: #fff;
  width: 100%;
  height: 100vh;
  background-color: black;
}

#nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 30px 40px;
  color: #fff;
}

#nav a {
  text-decoration: none;
  font-size: 18px;
  color: #fff;
}

#heading {
  margin-top: 80px;
}

#heading h1 {
  margin-left: 30px;
  opacity: 0.6;
  font-size: 9vw;
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1;
}

#heading #secondh1 {
  margin-left: 230px;
}

.blocktext {
  display: flex;
  flex-direction: column;
  align-items: end;
  width: fit-content;
  background-image: linear-gradient(to right, #07000e, #430060ca);
}
.blocktext h5 {
  text-align: right;
  text-transform: uppercase;
  font-size: 15px;
}

#chhotiheadings {
  display: flex;
  flex-direction: column;
  align-items: end;
  margin-top: 100px;
  padding-right: 50px;
}

#chhotiheadings h5 {
  text-transform: uppercase;
  font-size: 1vw;
  text-align: right;
  margin-top: 0.5vw;
}
#herofooter {
  padding: 0 2vw;
  width: 100%;
  position: absolute;
  bottom: 3%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#herofooter a {
  color: #fff;
  text-decoration: none;
}

#herofooter .circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background-color: #888;
}

#iconset {
  display: flex;
  gap: 5px;
}

#second {
  color: #fff;
  padding-right: 10vw;
  padding-top: 200px;
  background-color: black;
  width: 100%;
  /* height: 100vh; */
}

.elem {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 3.5vw 3vw;
  padding-right: 0;
  border-top: 1px solid #888;
}

.elem h1 {
  text-transform: uppercase;
  font-size: 6vw;
  opacity: 0.7;
}
.elemLast {
  border-bottom: 1px solid #888;
}

.elem img {
  position: absolute;
  z-index: 999;
  height: 120%;
  opacity: 0;
}

#about {
  display: flex;
  align-items: center;
  gap: 50px;
  color: #fff;
  padding: 10vw 10vw;
  padding-left: 40vw;
  width: 100%;
  background-color: black;
}

#about img {
  width: 200px;
}

#textabout {
  width: 25rem;
}

#textabout h5 {
  text-transform: uppercase;
  opacity: 0.6;
  margin-bottom: 10px;
}

#textabout p {
  line-height: 1.4;
  margin-bottom: 30px;
}

#textabout a {
  padding: 12px 22px;
  border: 1px solid #fff;
  border-radius: 100px;
  color: #fff;
  font-size: 12px;
  text-decoration: none;
}

#subscribe {
  color: #fff;
  padding: 20px 30px;
  background-color: black;
  padding-bottom: 7vw;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
}

#subscribe h5 {
  text-transform: uppercase;
  opacity: 0.6;
  letter-spacing: 1px;
}

#subscribe h3 {
  font-size: 18px;
  margin-top: 10px;
  cursor: pointer;
  color: #e6e6e6;
  position: relative;
  transition: color .3s ease;
}

/* Subtle underline animation */
#subscribe h3::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -4px;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, #999, #fff);
  transition: all .3s ease;
  transform: translateX(-50%);
}

/* Hover effects */
#subscribe h3:hover {
  color: #ffffff;
  text-shadow: 0px 0px 8px rgba(255,255,255,0.1);
}

#subscribe h3:hover::after {
  width: 60%;
  opacity: 0.9;
}


#footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 40px 30px;
  background-color: black;
  color: #fff;
}

#footerleft {
  display: flex;
  gap: 20px;
}
#footerright {
  display: flex;
  gap: 20px;
}

#footer a {
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  text-decoration: none;
}




#terminalModal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.75);
  backdrop-filter: blur(3px);
  z-index: 10000;
  align-items: center;
  justify-content: center;
}

/* show modal */
#terminalModal.show {
  display: flex;
}

/* Popup box */
.terminalWrap {
  background: #0d0d0d;
  border-radius: 10px;
  overflow: hidden; /* makes border + rounded shape clean */
  box-shadow: 0 0 30px rgba(0,0,0,.7);
}

/* Top bar */
.terminalTopBar {
  height: 38px;
  background: #111;
  border-bottom: 1px solid #444;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 12px;
}

/* Close button */
#closeTerminal {
  font-size: 18px;
  color: #fff;
  cursor: pointer;
  opacity: .8;
}

#closeTerminal:hover {
  opacity: 1;
}

/* iframe window */
.terminalWrap iframe {
  width: 80vw;
  height: 70vh;
  border: none;
  display: block;
  background: black;
}

/* Mobile fullscreen */
@media (max-width: 600px) {
  .terminalWrap iframe {
    width: 100vw;
    height: calc(100vh - 38px);
    border-radius: 0;
  }

  .terminalWrap {
    border-radius: 0;
  }
}

/* Responsive: tablet and phone adjustments */
@media (max-width: 1024px) {
  #heading h1 { font-size: 7.5vw; }
  #chhotiheadings { margin-top: 4vw; padding-right: 30px; }
  #about { padding: 8vw 6vw; padding-left: 30vw; }
  #textabout { width: 22rem; }
}

@media (max-width: 768px) {
  #hero { height: auto; padding: 60px 20px; }
  #heading h1 { font-size: 11vw; margin-left: 10px; }
  #chhotiheadings { align-items: center; padding-right: 0; margin-top: 30px; }
  #about { flex-direction: column; padding: 8vw 6vw; padding-left: 6vw; gap: 20px; }
  #textabout { width: auto; }
  #second { padding-top: 120px; }
  .elem { padding: 4vw 3vw; }
  .elem h1 { font-size: 10vw; }
}

@media (max-width: 480px) {
  #nav { padding: 16px 18px; flex-direction: column; gap: 8px; }
  #heading h1 { font-size: 14vw; }
  #about { padding-left: 6vw; padding-right: 6vw; }
  #textabout p { font-size: 15px; }
  #subscribe { padding-bottom: 6vw; }
  .elem h1 { font-size: 12vw; }
}

#second a{
  text-decoration: none;
  color: #fff;  
}