/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --navy-900: #0d142b;
  --blue-800: #002269;
  --white: #ffffff;
  --cyan-500: #009ecf;
  --cyan-200: #97e7f5;
  --green-600: #46b000;
  --max-width: 1200px;
}

@font-face {
  font-family: "Punoer";
  src: url("./fonts/Punoer.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
}

body {
  font-family: Punoer, sans-serif;
  background: var(--navy-900);
  color: var(--white);
  line-height: 1.5;
}

/* WRAPPER */
.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  overflow-x: hidden;
}

/* HEADER */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(5, 20, 52, 0.98);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 0;
  max-width: var(--max-width);
  margin: 0 auto;
}

/* CLICKABLE LOGO */
.logo-link {
  display: inline-block;
  transition: transform 0.3s ease;
}

.logo-link:hover {
  transform: scale(1.05);
}

.logo-link:focus {
  outline: 2px solid var(--cyan-500);
  outline-offset: 4px;
  border-radius: 4px;
}

.brand-logo {
  height: 55px;
  transition: height 0.3s;
  display: block;
}

/* Desktop Nav */
.desktop-nav {
  display: flex;
  gap: 40px;
}

.desktop-nav a {
  color: #d7e5f2;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s;
  padding: 8px 0;
  position: relative;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--cyan-500);
  transition: width 0.3s ease;
}

.desktop-nav a:hover::after,
.desktop-nav a.active::after {
  width: 100%;
}

.desktop-nav a:hover,
.desktop-nav a.active {
  color: var(--cyan-500);
}

/* Mobile Toggle Button */
.mobile-toggle {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  gap: 5px;
}

.bar {
  width: 28px;
  height: 3px;
  background: white;
  border-radius: 3px;
  transition: all 0.4s ease;
}

.mobile-toggle:hover .bar {
  background: var(--cyan-500);
}

/* Mobile Menu Panel */
.mobile-panel {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(5, 20, 52, 0.99);
  backdrop-filter: blur(15px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  transform: translateY(-100%);
  transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1);
}

.mobile-panel.open {
  transform: translateY(0);
}

.mobile-close {
  position: absolute;
  top: 30px;
  right: 30px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: white;
  font-size: 3rem;
  cursor: pointer;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s;
}

.mobile-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 30px;
  text-align: center;
}

.mobile-link {
  color: white;
  font-size: 2rem;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.mobile-panel.open .mobile-link {
  opacity: 1;
  transform: translateY(0);
}

/* Delay animation for each link */
.mobile-panel.open .mobile-link:nth-child(1) {
  transition-delay: 0.1s;
}
.mobile-panel.open .mobile-link:nth-child(2) {
  transition-delay: 0.2s;
}
.mobile-panel.open .mobile-link:nth-child(3) {
  transition-delay: 0.3s;
}
.mobile-panel.open .mobile-link:nth-child(4) {
  transition-delay: 0.4s;
}
.mobile-panel.open .mobile-link:nth-child(5) {
  transition-delay: 0.5s;
}
.mobile-panel.open .mobile-link:nth-child(6) {
  transition-delay: 0.6s;
}
.mobile-panel.open .mobile-link:nth-child(7) {
  transition-delay: 0.7s;
}

.mobile-link:hover {
  color: var(--cyan-500);
  text-shadow: 0 0 20px rgba(0, 194, 203, 0.6);
}

/* HERO SECTION */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(135deg, #3a1c71 0%, #2d1b5e 50%, #6b2d91 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("./images/pexels-markusspiske-1679716.jpg") center/cover
    no-repeat;
  opacity: 0.3;
  z-index: 1;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(58, 28, 113, 0.85) 0%,
    rgba(45, 27, 94, 0.9) 50%,
    rgba(107, 45, 145, 0.85) 100%
  );
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 1200px;
  padding: 40px 20px;
  animation: fadeInUp 1s ease-out;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 900;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 30px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  line-height: 1.2;
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.8rem);
  color: #ffffff;
  font-weight: 300;
  letter-spacing: 0.25em;
  margin-bottom: 50px;
  text-transform: uppercase;
  opacity: 0.95;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-btn {
  display: inline-block;
  padding: 18px 50px;
  background: var(--green-600);
  color: #ffffff;
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: 700;
  border-radius: 50px;
  text-transform: capitalize;
  transition: all 0.4s ease;
  box-shadow: 0 10px 30px rgba(255, 107, 53, 0.4);
  position: relative;
  overflow: hidden;
}

.hero-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #ff6b35 0%, #ff8c42 100%);
  transition: left 0.4s ease;
  z-index: -1;
}

.hero-btn:hover::before {
  left: 0;
}

.hero-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(255, 107, 53, 0.6);
}

.wave-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 3;
  line-height: 0;
}

.wave-bottom svg {
  width: 100%;
  height: auto;
  display: block;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* WHO WE ARE SECTION */
.who-we-are {
  position: relative;
  padding: 100px 0;
  background:
    linear-gradient(rgba(76, 44, 146, 0.9), rgba(76, 44, 146, 0.9)),
    url(./images/2/2_page-0001.jpg) center/cover no-repeat;
  background-attachment: fixed;
}

.section-title {
  font-size: clamp(2.5rem, 5vw, 3rem);
  color: #ff7f00;
  text-align: center;
  margin-bottom: 60px;
  display: inline-block;
  padding: 15px 40px;
  background: rgba(45, 27, 94, 0.7);
  border: 3px solid rgba(255, 140, 66, 0.4);
  border-radius: 20px;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.vision-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}

.vision-text {
  flex: 1;
}

.vision-text h3 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: #ff7f00;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.vision-text p {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.95);
}

.vision-image {
  flex: 1;
}

.vision-image img {
  width: 100%;
  max-width: 500px;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  transition: transform 0.5s ease;
}

.vision-image img:hover {
  transform: translateY(-10px) scale(1.02);
}

/* ANIMATED WAVE DIVIDER */
.wave-divider {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  z-index: 10;
}

.wave-divider svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 80px;
}

.wave-divider .shape-fill {
  fill: #3a2470;
}

/* MISSION SECTION */
.mission {
  position: relative;
  padding: 100px 0;
  background:
    linear-gradient(rgba(58, 36, 112, 0.9), rgba(58, 36, 112, 0.9)),
    url(./images/saaa.jpg) center/cover no-repeat;
  background-attachment: fixed;
}

.mission-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}

.mission-image {
  flex: 1;
}

.mission-image img {
  width: 100%;
  max-width: 500px;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  transition: transform 0.5s ease;
}

.mission-image img:hover {
  transform: translateY(-10px) scale(1.02);
}

.mission-text {
  flex: 1;
}

.mission-heading {
  font-size: clamp(2rem, 4vw, 3rem);
  color: #ff7f00;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.mission-description {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.95);
}

.wave-divider-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  transform: rotate(180deg);
}

.wave-divider-bottom svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 80px;
}

.wave-divider-bottom .shape-fill {
  fill: #2d1b5e;
}

/* WHY CHOOSE ARISTO SECTION */
.why-choose-section {
  position: relative;
  padding: 100px 0 120px;
  background: linear-gradient(180deg, #2d1b5e 0%, #3a2470 50%, #4a2d7a 100%);
  overflow: hidden;
}

.wave-top {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1;
  line-height: 0;
  transform: rotate(180deg);
}

.wave-top svg {
  width: 100%;
  height: auto;
  display: block;
}

.why-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

.section-title-box {
  text-align: center;
  margin-bottom: 80px;
}

.section-title-why {
  display: inline-block;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  color: var(--green-600);
  text-transform: capitalize;
  padding: 20px 60px;
  background: rgba(45, 27, 94, 0.7);
  border: 3px solid rgba(255, 140, 66, 0.4);
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
}

.why-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  margin-bottom: 60px;
}

.why-card {
  background: rgba(26, 15, 56, 0.7);
  border: 3px dotted rgba(150, 100, 255, 0.5);
  border-radius: 20px;
  padding: 50px 35px;
  text-align: center;
  transition: all 0.4s ease;
  position: relative;
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.why-card:hover {
  transform: translateY(-10px);
  border-color: rgba(255, 140, 66, 0.8);
  box-shadow: 0 15px 50px rgba(255, 140, 66, 0.3);
}

.card-icon {
  font-size: 4rem;
  color: var(--green-600);
  margin-bottom: 30px;
  display: block;
}

.card-title {
  font-size: 1.8rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 20px;
  text-transform: capitalize;
}

.card-description {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
}

/* GREEN RIBBON */
.green-ribbon {
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  margin-top: 60px;
  width: 100vw;
  padding: 25px 0;
  background: #77c93d;
  white-space: nowrap;
  overflow: hidden;
  text-align: center;
}

.scroll {
  font-size: 1.8rem;
  font-weight: 900;
  letter-spacing: 10px;
  color: #052a16;
  animation: slide 30s linear infinite;
}

@keyframes slide {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* PRODUCTS SECTION */
.products-section {
  position: relative;
  padding: 100px 0 120px;
  background: linear-gradient(180deg, #2d1b5e 0%, #3a2470 50%, #4a2d7a 100%);
  overflow: hidden;
}

.products-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-title-products {
  display: inline-block;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  color: var(--green-600);
  text-transform: capitalize;
  padding: 20px 60px;
  background: rgba(45, 27, 94, 0.7);
  border: 3px solid rgba(255, 140, 66, 0.4);
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1300px;
  margin: 0 auto;
}

.product-card {
  position: relative;
  height: 400px;
  border-radius: 25px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.4s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-image {
  transform: scale(1.1);
}

.product-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.3) 40%,
    rgba(0, 0, 0, 0.8) 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
  transition: background 0.4s ease;
}

.product-card:hover .product-overlay {
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.2) 0%,
    rgba(0, 0, 0, 0.5) 40%,
    rgba(0, 0, 0, 0.9) 100%
  );
}

.product-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 15px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  line-height: 1.3;
}

.product-btn {
  display: inline-block;
  padding: 12px 30px;
  background: rgba(255, 255, 255, 0.9);
  color: #2d1b5e;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  align-self: flex-start;
  border: 2px solid transparent;
}

.product-btn:hover {
  background: var(--green-600);
  color: #ffffff;
  transform: scale(1.05);
  border-color: #ffffff;
}

/* SCROLL TO TOP BUTTON */
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--cyan-500);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 4px 15px rgba(0, 158, 207, 0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 999;
}

.scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-to-top:hover {
  background: var(--green-600);
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(70, 176, 0, 0.5);
}

/* FOOTER */
.site-footer {
  padding: 40px 0;
  background: #081022;
  border-top: 2px solid rgba(0, 158, 207, 0.2);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-logo {
  height: 40px;
}

.footer-logo {
  transition: transform 0.3s ease;
}
.footer-logo:hover {
  transform: scale(1.05);
}

.social {
  display: flex;
  gap: 15px;
}

.social a {
  color: var(--cyan-500);
  text-decoration: none;
  transition: all 0.3s;
  font-size: 1.5rem;
}

.social a:hover {
  color: var(--cyan-200);
  transform: translateY(-3px);
}

/* RESPONSIVE DESIGN */
@media (max-width: 992px) {
  .desktop-nav {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  .brand-logo {
    height: 50px;
  }

  .header-inner {
    padding: 20px 0;
  }

  .vision-content,
  .mission-content {
    flex-direction: column;
    text-align: center;
    gap: 40px;
  }

  .vision-image img,
  .mission-image img {
    max-width: 100%;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
    letter-spacing: 0.05em;
  }

  .hero-subtitle {
    font-size: 1rem;
    letter-spacing: 0.15em;
    margin-bottom: 40px;
  }

  .hero-btn {
    padding: 16px 40px;
    font-size: 1.1rem;
  }

  .who-we-are,
  .mission {
    padding: 60px 0;
  }

  .why-cards-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .why-card {
    padding: 40px 30px;
  }

  .products-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .product-card {
    height: 350px;
  }

  .scroll-to-top {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
  }
}

@media (max-width: 480px) {
  .mobile-link {
    font-size: 1.7rem;
  }

  .mobile-close {
    top: 20px;
    right: 20px;
    font-size: 2.5rem;
  }

  .brand-logo {
    height: 45px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 0.9rem;
  }

  .hero-btn {
    padding: 14px 35px;
    font-size: 1rem;
  }

  .product-card {
    height: 300px;
  }

  .section-title-products {
    font-size: 1.9rem;
    padding: 14px 24px;
    max-width: 90%;
    white-space: normal;
    text-align: center;
  }

  .wave-divider svg,
  .wave-divider-bottom svg {
    height: 50px;
  }
}
