@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: white;
  overflow-x: hidden;
  position: relative;
}

.fixed-icon {
  position: fixed;
  left: 20px;
  bottom: 20px;
  width: 64px;
  height: 64px;
  z-index: 999;
  border-radius: 53%;
  box-shadow: 0px 0px 7px black;
  transition: all 0.3s ease;
  animation: fadeLeft 1s ease;
}

.fixed-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.fixed-icon:hover {
  /* Lifts the icon up and rotates it on a 3D diagonal axis */
  transform: translateY(-3px) scale(1.03);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 30px;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 200;
  color: white;
  background: linear-gradient(
    to right,
    rgba(184, 184, 184, 0.25) 0%,
    rgba(31, 30, 30) 40%,
    rgba(0, 0, 0) 60%
  );
  box-shadow: 0px 0px 20px rgb(113, 112, 112);
  font-size: 20px;
  animation: fadeDown 1s ease;
  backdrop-filter: blur(10px);
}

.nav2 {
  display: flex;
  gap: 144px;
}

/* LOGO */

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-transform: uppercase;
  line-height: 1;
  border-radius: 50px;
  padding: 3px 20px;
}

.logo img {
  width: 70px;
  filter: drop-shadow(0 0 8px rgba(255, 190, 70, 0.2)) brightness(1.08);
}

.logo p {
  font-size: 28px;
  letter-spacing: 1px;
  font-weight: 700;
  text-shadow: 0px 0px 10px black;
  line-height: 0.7;
}

.logo span {
  font-size: 18px;
  font-weight: 550;
}

/* MENU */

.menu {
  display: flex;
  align-items: center;
  gap: 7px;
}

.menu a,
.drop-btn {
  text-decoration: none;
  color: white;
  position: relative;
  transition: 0.3s;
  /* border-radius: 20px; */
  padding: 10px 13px;
  background: none;
  border: none;
  font-size: 19px;
  cursor: pointer;
}
/* .menu a:hover{
            border-bottom: 1px solid #ffaa0b;
            
        } */
/* .menu a:hover,
        .drop-btn:hover {
            background-color: rgb(199, 129, 0);
            box-shadow: 0px 0px 10px rgb(255, 170, 11);
            
        } */

.menu a:hover::after,
.drop-btn:hover::after {
  width: 100%;
}

/* Dropdown */

.dropdown {
  position: relative;
}

.drop-btn {
  display: flex;
  align-items: center;
  gap: 6px;
}

.drop-btn span {
  font-size: 10px;
  transition: 0.3s;
}

.dropdown-content {
  position: absolute;
  top: 120%;
  left: 0;
  min-width: 240px;
  background: #fff;
  border-radius: 12px;
  padding: 10px 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: 0.3s ease;
  z-index: 999;
}

.dropdown-content a {
  display: block;
  padding: 12px 18px;
  transition: 0.3s;
  color: black;
  font-size: 16px;
}

.dropdown-content a:hover {
  background: #f5f5f5;
  box-shadow: none;
  border-radius: 10px;
}
.dropdown-content a:hover::after {
  display: none;
}
/* Show dropdown */

/* .dropdown:hover .dropdown-content {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        } */

.dropdown:hover .drop-btn span {
  transform: rotate(180deg);
}

/* Active state */

.dropdown.active .dropdown-content {
  opacity: 1;
  visibility: visible;
  /* padding: 0 10px; */
  transform: translateY(0);
}

.dropdown.active .drop-btn span {
  transform: rotate(180deg);
}

/* CONTACT BUTTON */

.contact-us {
  background: #b57600;
  color: white;
  padding: 10px 25px;
  border-radius: 30px;
  cursor: pointer;
  transition: 0.3s;
  box-shadow: 0 10px 30px rgba(196, 136, 0, 0.35);
}

.contact-us a {
  text-decoration: none;
  color: white;
}

.contact-us:hover {
  transform: translateY(-4px);
  background: rgb(146, 95, 0);
  box-shadow: 0 8px 20px rgba(235, 153, 0, 0.6);
}

/*Hamburger + Mobile Nav */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 210;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 3px;
  background: #fff;
  border-radius: 2px;
  transition: 0.3s;
}

.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: min(300px, 80vw);
  height: 100%;
  background: #111;
  z-index: 999;
  display: flex;
  flex-direction: column;
  padding: 70px 28px 30px;
  gap: 6px;
  transition: right 0.35s ease;
  overflow-y: auto;
}

.mobile-nav.open {
  right: 0;
}

.mobile-nav a {
  color: #fff;
  text-decoration: none;
  font-size: 17px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: color 0.2s;
}

.mobile-nav a:hover {
  color: rgb(248 248 248);
}

.mobile-nav-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: none;
  border: none;
  color: #fff;
  font-size: 22px;
  cursor: pointer;
}

.mobile-contact-btn {
  margin-top: 14px;
  background: #b57600;
  color: #fff;
  text-align: center;
  padding: 12px;
  border-radius: 30px;
  font-size: 16px;
  cursor: pointer;
}

/* Dark overlay behind drawer */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 998;
}

.nav-overlay.show {
  display: block;
}

@keyframes fadeLeft {
  from {
    opacity: 0;
    transform: translateX(-60px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadebtn {
  from {
    opacity: 0;
    transform: translateX(-110px);
  }

  to {
    opacity: 1;
    transform: translateX(-110px), translateY(120px);
  }
}

@keyframes fadeRight {
  from {
    opacity: 0;
    transform: translateX(0px);
  }

  to {
    opacity: 1;
    transform: translateX(-60px);
  }
}

@keyframes fadeRightimg {
  from {
    opacity: 0.6;
    transform: scale(1.3);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeDown {
  from {
    opacity: 0;
    transform: translateY(-40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* BG PARTICLES */
canvas {
  display: block;
}

#tsparticles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  z-index: -1;
}

.count-particles {
  position: fixed;
  top: 10px;
  left: 10px;
  padding: 8px 12px;
  background: white;
  color: #d4af37;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 14px;
}

.js-count-particles {
  font-size: 1.1em;
}

#stats,
.count-particles {
  user-select: none;
  margin-top: 5px;
  margin-left: 5px;
}

#stats {
  border-radius: 3px 3px 0 0;
  overflow: hidden;
}

.count-particles {
  border-radius: 0 0 3px 3px;
}

#tsparticles canvas {
  filter: blur(0.2px) drop-shadow(0 0 5px rgba(212, 175, 55, 0.5));
}

/* FADE UP */
.fade-up {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease;
}

.fade-up.show {
  opacity: 1;
  transform: translateY(0);
}

.main {
  position: relative;
  top: 136px;
  width: 100%;
}

.main-heading {
  font-size: 80px;
  margin: 0 auto;
  text-align: center;
  font-weight: 600;
  display: flex;
  justify-content: center;
  padding-bottom: 56px;
  animation: fadeUp 1.8s;
  color: #b57600;
}

.vision,
.mission {
  padding: 3vw 9vw;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  align-items: center;
  background-color: rgba(243, 243, 243);
}

.vision img,
.mission img {
  width: 640px;
  border-radius: 15px;
}

.vision-content,
.mission-content {
  line-height: 2;
}

.vision-content p:nth-child(1),
.mission-content p:nth-child(1) {
  font-size: 56px;
  font-weight: 600;
}

.vision-content p:nth-child(2),
.mission-content p:nth-child(2) {
  margin-bottom: 10px;
}

.vision-content p:nth-child(2),
.vision-content p:nth-child(3),
.mission-content p:nth-child(2),
.mission-content p:nth-child(3) {
  line-height: 1.5;
}

.vision-part::after {
  content: "";
  width: 80px;
  height: 80px;
  background-color: black;
  border-radius: 50%;
}

.footer {
  background-color: black;
}

.footer1 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 45px 50px;
  margin: 0 80px;
  color: white;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-transform: uppercase;
  line-height: 1;
  border-radius: 50px;
  padding: 5px 20px 5px 0;
}

.footer-logo:hover {
  transform: scale(1.06);
  transition: all 1s ease;
}

.footer-logo img {
  width: 70px;
  filter: drop-shadow(0 0 8px rgba(255, 190, 70, 0.2)) brightness(1.08);
}

.footer-logo p {
  font-size: 28px;
  letter-spacing: 1px;
  font-weight: 700;
  line-height: 0.7;
}

.footer-logo span {
  font-size: 18px;
  font-weight: 550;
}

.ishi-techno {
  color: white;
  letter-spacing: 1.06px;
  /* text-align: justify; */
}

.ishi-techno div:nth-child(2),
.ishi-techno div:nth-child(3) {
  /* width: 70%; */
  margin-top: 16px;
  /* margin-left: 32px; */
}

.services,
.company {
  line-height: 2;
  margin-left: 64px;
  display: flex;
  flex-direction: column;
}

.services a,
.company a {
  text-decoration: none;
  color: white !important;
}

.services a:hover,
.company a:hover,
.info-card p:hover {
  color: #b57600;
  cursor: pointer;
}

.services p,
.company p,
.info1 {
  text-transform: uppercase;
  font-size: 24px;
  font-weight: 600;
}

.info1 {
  margin-bottom: 16px;
  padding-left: 16px;
}

.info-card {
  border-radius: 20px;
  padding: 16px;
  /* width: 30vw; */
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
  margin-bottom: 16px;
  border: 1px solid rgb(221, 221, 221, 0.3);
}

.icon-box {
  width: 64px;
  height: 64px;
  min-width: 64px;
  border-radius: 50%;
  background: #b57600;
  display: flex;
  cursor: pointer;
  justify-content: center;
  align-items: center;
}

.icon-box i {
  font-size: 32px;
  color: #fff;
}

.info-card h3 {
  margin-bottom: 16px;
  font-size: 20px;
}

.info-card p {
  line-height: 1.3;
  color: #ffffff;
  font-size: 18px;
}

.footer-bottom {
  background-color: rgb(0, 0, 0);
  color: white;
  text-align: center;
  padding: 16px;
  border-top: 2px dotted rgb(196, 196, 196, 0.6);
}

/* ..................... */
.scroll-section {
  display: flex;
  gap: 80px;
  padding: 0 100px;
  /* text-align: justify; */
  background-color: rgb(238, 238, 238, 0.7);
}
.scroll-section h2 {
  text-align: left;
}

.image-stack {
  width: 70%;
  height: 800px;
  position: sticky;
  top: 40px;
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stack-img {
  position: absolute;
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 25px;
  transform: translateY(120%);
  transition:
    transform 0.8s ease,
    scale 0.8s ease;
  z-index: 1;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.18);
}

/* Current image */
.stack-img.active {
  transform: translateY(0);
  z-index: 10;
}

/* Previous images remain stacked */
.stack-img.stacked {
  transform: translateY(0);
}

.content-side {
  width: 50%;
  animation: fadeUp 2s ease;
}

.content-item {
  min-height: 800px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.content-item h2 {
  font-size: 40px;
  margin-bottom: 20px;
  color: #b57600;
}

.content-item p {
  font-size: 18px;
  line-height: 1.8;
}
/* ---------------- RESPONSIVE ---------------- */
@media (max-width: 1024px) {
  .main-heading {
    font-size: clamp(38px, 7vw, 60px);
  }
  .vision,
  .mission {
    padding: 3vw 6vw;
    gap: 24px;
  }

  .vision img,
  .mission img {
    width: 100%;
    height: auto;
  }

  .vision-content p:nth-child(1),
  .mission-content p:nth-child(1) {
    font-size: 40px;
  }

  .footer1 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0;
    padding: 45px 6%;
  }

  .services,
  .company {
    margin-left: 0;
  }

  .scroll-section {
    padding: 0 15px;
    gap: 40px;
  }

  .image-stack {
    width: 55%;
  }

  .content-side {
    width: 45%;
  }
}

.content-item p {
  font-size: 18px;
  line-height: 1.8;
}

.mobile-stack-image {
  display: none;
}

@media (max-width: 768px) {
  .main {
    top: 96px;
  }
  .main-heading {
    padding-bottom: 32px;
    font-size: clamp(32px, 9vw, 48px);
  }
  .vision,
  .mission {
    grid-template-columns: 1fr;
    padding: 45px 6%;
    text-align: center;
  }

  .vision img,
  .mission img {
    order: -1;
  }

  .vision-content p:nth-child(1),
  .mission-content p:nth-child(1) {
    font-size: 32px;
  }

  .footer1 {
    grid-template-columns: 1fr;
    padding: 45px 6%;
    gap: 24px;
  }

  .info-card p {
    font-size: 15px;
  }

  .content-item h2 {
    font-size: 32px;
  }
  .scroll-section {
    flex-direction: column;
    padding: 40px 15px 0;
    gap: 30px;
  }

  .image-stack {
    width: 100%;
    height: auto;
    position: static;
    flex-direction: column;
  }

  .stack-img {
    position: relative;
    width: 100%;
    height: 260px;
    transform: none;
    margin-bottom: 16px;
  }

  .content-side {
    width: 100%;
  }

  .image-stack {
    width: 100%;
    height: auto;
    position: static;
    flex-direction: column;
  }

  .stack-img {
    position: relative;
    width: 100%;
    height: 260px;
    transform: none;
    margin-bottom: 16px;
  }

  .content-side {
    width: 100%;
  }

  .content-item {
    min-height: auto;
    padding: 0 0 40px;
  }
  .image-stack {
    display: none;
  }

  .content-side {
    width: 100%;
  }

  .mobile-stack-image {
    display: block;
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: 16px;
    margin-bottom: 16px;
  }
}

@media (max-width: 480px) {
  .why-ishi-techno {
    padding: 45px 5%;
  }

  .content-item p {
    font-size: 14px;
    line-height: 1.8;
  }

  .info-card {
    flex-direction: row;
    text-align: left;
  }

  .icon-box {
    width: 44px;
    height: 44px;
    min-width: 44px;
  }

  .icon-box i {
    font-size: 20px;
  }
}
