* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
}

:root {
  --primary-orange: #ff6b35;
  --dark-blue: #1a2332;
  --light-blue: #2d3e50;
  --text-light: #ffffff;
  --text-gray: #a8b2c1;
  --accent-blue: #4a90e2;
  --header-height: 80px;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: var(--dark-blue);
  color: var(--text-light);
  overflow: hidden;
  line-height: 1.6;
  width: 100%;
  position: relative;
}

/* ==================== HEADER DESKTOP ==================== */
.header-desktop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: rgba(26, 35, 50, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  transform: translateY(-100%);
  transition: transform 0.3s ease;
  border-bottom: 1px solid rgba(255, 107, 53, 0.1);
  display: flex;
}

.header-desktop.visible {
  transform: translateY(0);
}

.header-mobile {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: rgba(26, 35, 50, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  transform: translateY(-100%);
  transition: transform 0.3s ease;
  border-bottom: 1px solid rgba(255, 107, 53, 0.1);
  display: none;
}

.header-mobile.visible {
  transform: translateY(0);
}

.header-content {
  max-width: 1400px;
  height: 100%;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo-img {
  height: 50px;
  width: auto;
}

.nav {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.nav-link {
  color: var(--text-light);
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-orange);
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: var(--primary-orange);
}

.nav-link:hover::after {
  width: 100%;
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  z-index: 1001;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--text-light);
  transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Menu Mobile */
.nav-mobile {
  position: fixed;
  top: var(--header-height);
  left: 0;
  width: 100%;
  height: calc(100vh - var(--header-height));
  background: rgba(26, 35, 50, 0.98);
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 3rem 2rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  overflow-y: auto;
  justify-content: flex-start;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
  z-index: 999;
}

.nav-mobile.mobile-active {
  opacity: 1;
  visibility: visible;
}

.nav-link-mobile {
  color: var(--text-light);
  text-decoration: none;
  padding: 2rem 1.5rem;
  font-size: 1.8rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 107, 53, 0.2);
  width: 100%;
  text-align: center;
  display: block;
  transition:
    color 0.3s ease,
    background 0.3s ease;
}

.nav-link-mobile:last-child {
  border-bottom: none;
}

.nav-link-mobile:hover {
  color: var(--primary-orange);
  background: rgba(255, 107, 53, 0.05);
}

/* ==================== HERO SECTION ==================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 2rem;
  max-width: 100%;
  width: 100%;
}
.hero::before {
  content: "";
  position: absolute;
  width: 250%;
  height: 250%;
  background:
    radial-gradient(
      circle at 30% 50%,
      rgba(248, 105, 54, 0.19),
      transparent 50%
    ),
    radial-gradient(circle at 70% 50%, rgba(74, 144, 226, 0.1), transparent 50%);
  animation: rotate 20s linear infinite;
  pointer-events: none;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

#wave-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
/* .hero::before {
        content: "";
        position: absolute;
        width: 250%;
        height: 250%;
        background:
          radial-gradient(
            circle at 30% 50%,
            rgba(255, 77, 12, 0.19),
            transparent 50%
          ),
          radial-gradient(
            circle at 70% 50%,
            rgba(74, 144, 226, 0.1),
            transparent 50%
          );
        animation: rotate 10s linear infinite;
        pointer-events: none;
      }

      @keyframes rotate {
        from {
          transform: rotate(0deg);
        }
        to {
          transform: rotate(360deg);
        }
      } */

.hero .hero-content {
  position: relative;
  z-index: 1;
  max-width: 1000px;
}

.hero .logo-hero {
  width: 300px;
  height: auto;
  margin-bottom: 2rem;
  opacity: 0;
  transform: translateY(-50px);
  animation: fadeInDown 1s ease forwards;
}

.hero .logo {
  font-size: 5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  opacity: 0;
  transform: translateY(-50px);
  animation: fadeInDown 1s ease forwards;
}

.hero .logo .rl {
  color: var(--primary-orange);
}

.hero .tagline {
  font-size: 2rem;
  font-weight: 300;
  margin-bottom: 2rem;
  opacity: 0;
  transform: translateY(50px);
  animation: fadeInUp 1s ease 0.3s forwards;
}

.hero .location {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  border: 2px solid var(--primary-orange);
  border-radius: 30px;
  font-size: 1.2rem;
  opacity: 0;
  transform: scale(0.8);
  animation: fadeInScale 1s ease 0.6s forwards;
}

@keyframes fadeInDown {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInScale {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* ==================== COMMON SECTION STYLES ==================== */
section {
  padding: 6rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.section-title {
  font-size: 3rem;
  margin-bottom: 3rem;
  text-align: center;
  color: var(--primary-orange);
}

/* Animated Elements */
.animate-on-scroll {
  opacity: 0;
  transform: translateX(-100px);
  transition: all 0.8s ease-out;
}

.animate-on-scroll.from-right {
  transform: translateX(100px);
}

.animate-on-scroll.from-bottom {
  transform: translateY(100px);
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translate(0, 0);
}

/* ==================== ABOUT SECTION ==================== */
#about .about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

#about .about-text h3 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--primary-orange);
}

#about .about-text p {
  font-size: 1.2rem;
  line-height: 1.8;
  color: var(--text-gray);
  margin-bottom: 1rem;
}

#about .solutions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

#about .solution-card {
  cursor: pointer;
  background: linear-gradient(
    135deg,
    rgba(74, 144, 226, 0.1),
    rgba(255, 107, 53, 0.05)
  );
  padding: 2rem 2.5rem;
  border-radius: 20px;
  text-align: left;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
}

#about .solution-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(
    180deg,
    var(--primary-orange),
    var(--accent-blue)
  );
  transform: scaleY(0);
  transition: transform 0.4s ease;
}

#about .solution-card:hover::before {
  transform: scaleY(1);
}

#about .solution-card:hover {
  transform: translateX(10px);
  border-color: rgba(255, 107, 53, 0.3);
  background: linear-gradient(
    135deg,
    rgba(74, 144, 226, 0.15),
    rgba(255, 107, 53, 0.1)
  );
  box-shadow: 0 8px 25px rgba(255, 107, 53, 0.2);
}

#about .solution-card h4 {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text-light);
  position: relative;
  display: inline-block;
}

/* ==================== EXPERTISE SECTION ==================== */
#expertise .expertise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin-top: 3rem;
}

#expertise .expertise-card {
  cursor: pointer;
  background: linear-gradient(
    135deg,
    rgba(255, 107, 53, 0.05),
    rgba(74, 144, 226, 0.1)
  );
  padding: 3rem 2.5rem;
  border-radius: 20px;
  text-align: center;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
}

#expertise .expertise-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 80%;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--accent-blue),
    var(--primary-orange),
    var(--accent-blue)
  );
  transition: transform 0.4s ease;
}

#expertise .expertise-card:hover::before {
  transform: translateX(-50%) scaleX(1);
}

#expertise .expertise-card:hover {
  transform: translateY(-15px);
  border-color: rgba(255, 107, 53, 0.3);
  background: linear-gradient(
    135deg,
    rgba(255, 107, 53, 0.1),
    rgba(74, 144, 226, 0.15)
  );
  box-shadow: 0 15px 40px rgba(255, 107, 53, 0.25);
}

#expertise .expertise-icon {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  transition: transform 0.4s ease;
  display: inline-block;
}

#expertise .expertise-card:hover .expertise-icon {
  transform: scale(1.2) rotate(5deg);
}

#expertise .expertise-card h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: var(--text-light);
  font-weight: 600;
}

#expertise .expertise-card p {
  color: var(--text-gray);
  line-height: 1.8;
  font-size: 1.1rem;
}

/* ==================== TEAM SECTION ==================== */
#team .founders-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin-top: 3rem;
}

#team .founder-card {
  cursor: pointer;
  background: linear-gradient(
    135deg,
    rgba(74, 144, 226, 0.1),
    rgba(255, 107, 53, 0.05)
  );
  padding: 2.5rem 2rem;
  border-radius: 20px;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
}

#team .founder-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-orange), var(--accent-blue));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

#team .founder-card:hover::before {
  transform: scaleX(1);
}

#team .founder-card:hover {
  transform: translateY(-10px);
  border-color: rgba(255, 107, 53, 0.3);
  background: linear-gradient(
    135deg,
    rgba(74, 144, 226, 0.15),
    rgba(255, 107, 53, 0.1)
  );
  box-shadow: 0 10px 30px rgba(255, 107, 53, 0.2);
}

#team .founder-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--text-light);
}

#team .founder-role {
  color: var(--primary-orange);
  font-style: italic;
  margin-bottom: 1rem;
  font-weight: 600;
}

#team .founder-card ul {
  list-style: none;
  padding-left: 0;
}

#team .founder-card li {
  color: var(--text-gray);
  margin-bottom: 0.5rem;
  padding-left: 1.5rem;
  position: relative;
  font-size: 0.95rem;
}

#team .founder-card li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--primary-orange);
}

/* ==================== ACHIEVEMENTS SECTION ==================== */
#achievements .achievements {
  background: var(--light-blue);
  border-radius: 30px;
  padding: 4rem;
  text-align: center;
}

#achievements .achievements-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4rem;
  margin-top: 3rem;
}

#achievements .achievement-item {
}

#achievements .achievement-number {
  font-size: 5rem;
  font-weight: 700;
  color: var(--primary-orange);
  display: block;
  margin-bottom: 1rem;
}

#achievements .achievement-text {
  font-size: 1.3rem;
  color: var(--text-gray);
}

/* ==================== VISION SECTION ==================== */
.vision {
  max-width: 100%;
  width: 100%;
  text-align: center;
  padding: 8rem 2rem;
  background: linear-gradient(
    135deg,
    rgba(255, 107, 53, 0.1),
    rgba(74, 144, 226, 0.1)
  );
}

.vision .vision-content {
  max-width: 900px;
  margin: 0 auto;
}

.vision .vision-content h2 {
  font-size: 3rem;
  margin-bottom: 2rem;
  line-height: 1.4;
}

.vision .vision-content p {
  font-size: 1.5rem;
  color: var(--text-gray);
  line-height: 1.8;
}

.vision .highlight {
  color: var(--primary-orange);
  font-weight: 600;
}

/* ==================== CONTACT SECTION ==================== */
.contact {
  text-align: center;
  padding: 6rem 2rem;
}

.contact-subtitle {
  font-size: 1.3rem;
  color: var(--text-gray);
  margin-bottom: 4rem;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s ease-out;
}

.contact-subtitle.visible {
  opacity: 1;
  transform: translateY(0);
}

.contact-grid {
  display: grid;
  /* show 4 column */
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto 4rem;
  padding: 0 1rem;
}

.contact-card {
  background: linear-gradient(
    135deg,
    rgba(74, 144, 226, 0.05),
    rgba(255, 107, 53, 0.05)
  );
  padding: 1rem 1rem;
  border-radius: 20px;
  border: 2px solid rgba(255, 107, 53, 0.15);
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  position: relative;
  overflow: hidden;
}

.contact-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-orange), var(--accent-blue));
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.contact-card:hover {
  transform: translateY(-10px);
  border-color: rgba(255, 107, 53, 0.4);
  box-shadow: 0 15px 40px rgba(255, 107, 53, 0.2);
  background: linear-gradient(
    135deg,
    rgba(74, 144, 226, 0.1),
    rgba(255, 107, 53, 0.1)
  );
}

.contact-card:hover::before {
  transform: scaleX(1);
}

.contact-icon {
  font-size: 3.5rem;
  margin-bottom: 0.5rem;
  transition: transform 0.4s ease;
}

.contact-card:hover .contact-icon {
  transform: scale(1.15) rotate(-5deg);
}

.contact-card-title {
  font-size: 1.4rem;
  color: var(--primary-orange);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.contact-card-value {
  font-size: 1.1rem;
  color: var(--text-light);
  line-height: 1.6;
  text-align: center;
  margin-bottom: 0.5rem;
  min-height: 3rem;
  display: flex;
  align-items: center;
}

.contact-card-button {
  margin-top: 1rem;
  padding: 0.8rem 2rem;
  background: transparent;
  color: var(--primary-orange);
  border: 2px solid var(--primary-orange);
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  display: inline-block;
}

.contact-card-button:hover {
  background: var(--primary-orange);
  color: white;
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(255, 107, 53, 0.4);
}

.contact .contact-button {
  display: inline-block;
  padding: 1.5rem 4rem;
  background: var(--primary-orange);
  color: var(--text-light);
  text-decoration: none;
  border-radius: 50px;
  font-size: 1.5rem;
  font-weight: 600;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.contact .contact-button:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(255, 107, 53, 0.5);
}

/* ==================== RESPONSIVE DESIGN ==================== */
@media (max-width: 1024px) {
  #about .about-content,
  #expertise .expertise-grid,
  #team .founders-grid {
    grid-template-columns: 1fr;
  }

  .hero .logo {
    font-size: 3.5rem;
  }

  .hero .tagline {
    font-size: 1.5rem;
  }

  /* Nascondi header desktop, mostra header mobile */
  .header-desktop {
    display: none;
  }

  .header-mobile {
    display: flex;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  #about .solutions-grid,
  #achievements .achievements-grid {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 2rem;
  }

  .hero {
    padding: 2rem 1rem;
  }

  .hero .logo-hero {
    width: 200px;
  }

  .hero .logo {
    font-size: 2.5rem;
  }

  .hero .tagline {
    font-size: 1.2rem;
  }

  .hero .location {
    font-size: 1rem;
    padding: 0.4rem 1.2rem;
  }

  section {
    padding: 4rem 1rem;
  }

  .vision {
    padding: 6rem 1rem;
  }

  .header-content {
    padding: 0 1rem;
  }

  .logo-img {
    height: 35px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .contact-card {
    padding: 2rem 1.5rem;
  }
}
