/* assets/css/style.css */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --primary: #00f0ff;
  --secondary: #004dff;
  --bg-color: #050b14;
  --bg-gradient: linear-gradient(135deg, #050b14 0%, #0a1930 100%);
  --text-main: #ffffff;
  --text-muted: #8892b0;
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.08);
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg-color);
  background-image: var(--bg-gradient);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

h1,
h2,
h3,
h4,
.outfit {
  font-family: 'Outfit', sans-serif;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

/* Header & Nav */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 20px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  background: rgba(5, 11, 20, 0.8);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--glass-border);
  transition: var(--transition);
}

.logo {
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 1px;
}

.logo span {
  color: var(--primary);
  text-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-links a {
  font-weight: 500;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 50%;
  background: var(--primary);
  transition: var(--transition);
  transform: translateX(-50%);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
}

/* Nav Dropdown */
.nav-dropdown {
  position: relative;
}
.nav-dropdown > a {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-dropdown > a .fa-chevron-down {
  font-size: 10px;
  transition: transform 0.2s;
}
.nav-dropdown:hover > a .fa-chevron-down {
  transform: rotate(180deg);
}
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
  padding: 8px 0;
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s;
  z-index: 1000;
}
.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 6px solid #fff;
}
.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
}
.nav-dropdown-menu a {
  display: flex !important;
  align-items: center;
  gap: 10px;
  padding: 10px 18px !important;
  font-size: 14px !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  white-space: nowrap;
  color: #333 !important;
  transition: background 0.15s;
}
.nav-dropdown-menu a:hover {
  background: #f5f3ff;
  color: var(--primary) !important;
}
.nav-dropdown-menu a::after {
  display: none !important;
}
.nav-dropdown-menu a i {
  width: 18px;
  text-align: center;
  color: var(--primary);
  font-size: 13px;
}

/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10%;
  position: relative;
  overflow: hidden;
  gap: 40px;
}

/* Hero Carousel */
.hero-carousel {
  position: relative;
  z-index: 1;
  width: 400px;
  flex-shrink: 0;
}

.carousel-track {
  position: relative;
  height: 420px;
}

.carousel-card {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(0.95) translateY(10px);
  transition: all 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
  pointer-events: none;
  display: block;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 18px;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.carousel-card.active {
  opacity: 1;
  transform: scale(1) translateY(0);
  pointer-events: auto;
}

.carousel-card:hover {
  border-color: var(--primary);
  box-shadow: 0 12px 40px rgba(0, 240, 255, 0.15);
}

.carousel-img {
  height: 300px;
  background: rgba(255, 255, 255, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-img img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
}

.carousel-info {
  padding: 16px 20px;
}

.carousel-info h3 {
  font-size: 16px;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.carousel-cat {
  font-size: 11px;
  background: rgba(0, 240, 255, 0.1);
  color: var(--primary);
  padding: 2px 8px;
  border-radius: 10px;
  margin-bottom: 6px;
  display: inline-block;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  position: relative;
  z-index: 10;
}

.carousel-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s;
  padding: 0;
  border: none;
}

.carousel-dots .dot:hover {
  background: rgba(255, 255, 255, 0.6);
  transform: scale(1.4);
}

.carousel-dots .dot.active {
  background: var(--primary);
  box-shadow: 0 0 8px rgba(0, 240, 255, 0.5);
  transform: scale(1.3);
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 77, 255, 0.2) 0%, rgba(0, 0, 0, 0) 70%);
  border-radius: 50%;
  z-index: 0;
}

.hero-content {
  max-width: 60%;
  z-index: 1;
  animation: fadeUp 1s ease forwards;
  opacity: 0;
}

.hero-tag {
  color: var(--primary);
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 15px;
  display: inline-block;
  padding: 5px 15px;
  background: rgba(0, 240, 255, 0.1);
  border: 1px solid rgba(0, 240, 255, 0.2);
  border-radius: 20px;
}

.hero h1 {
  font-size: 52px;
  line-height: 1.2;
  margin-bottom: 25px;
  background: linear-gradient(to right, #fff, #a0aec0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 500px;
}

.btn {
  padding: 15px 35px;
  border-radius: 30px;
  font-weight: 600;
  display: inline-block;
  cursor: pointer;
  border: none;
  background: linear-gradient(90deg, var(--secondary), var(--primary));
  color: #fff;
  box-shadow: 0 5px 20px rgba(0, 77, 255, 0.4);
  transition: transform 0.3s, box-shadow 0.3s;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 240, 255, 0.5);
}

/* Features/Services */
.section-title {
  text-align: center;
  font-size: 42px;
  margin-bottom: 60px;
  color: #fff;
}

.section-title span {
  color: var(--primary);
}

.features {
  padding: 100px 5%;
  position: relative;
  z-index: 1;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

/* Services */
.services {
  padding: 100px 5%;
  position: relative;
  z-index: 1;
}

.services-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  padding: 0 5%;
}

.service-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  padding: 35px 25px;
  border-radius: 15px;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.05);
}

.service-card i {
  font-size: 32px;
  color: var(--primary);
  margin-bottom: 15px;
}

.service-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.service-card p {
  color: var(--text-muted);
  font-size: 14px;
}

.card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  padding: 40px 30px;
  border-radius: 20px;
  backdrop-filter: blur(10px);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

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

.card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

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

.card-icon {
  font-size: 40px;
  color: var(--primary);
  margin-bottom: 20px;
}

.card h3 {
  font-size: 24px;
  margin-bottom: 15px;
}

.card p {
  color: var(--text-muted);
  font-size: 15px;
}

/* Animations */
@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Footer */
footer {
  padding: 50px 5%;
  border-top: 1px solid var(--glass-border);
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
  background: #02060b;
}

/* Utilities */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: 0.8s all ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Hamburger Menu Button */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  z-index: 1002;
  background: none;
  border: none;
}
.hamburger span {
  width: 24px;
  height: 2px;
  background: #fff;
  transition: all 0.3s;
  display: block;
}
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ── Responsive Design ── */

/* Large desktop */
@media (max-width: 1400px) {
  .hero h1 {
    font-size: 48px;
  }
  .hero {
    padding: 0 6%;
    gap: 30px;
  }
  .nav-links {
    gap: 20px;
  }
  .nav-links a {
    font-size: 13px;
  }
}

/* Medium desktop / small laptop */
@media (max-width: 1200px) {
  .hero h1 {
    font-size: 40px;
    white-space: normal;
  }
  .hero-content {
    max-width: 55%;
  }
  .hero-carousel {
    width: 340px;
  }
  .carousel-track {
    height: 360px;
  }
  .carousel-img {
    height: 250px;
  }
  .nav-links {
    gap: 16px;
  }
  .nav-links a {
    font-size: 12px;
    letter-spacing: 0.5px;
  }
}

/* Tablet landscape */
@media (max-width: 1024px) {
  .hamburger {
    display: flex;
  }
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(5, 11, 20, 0.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 30px 30px;
    gap: 0;
    transition: right 0.35s ease;
    z-index: 1001;
    border-left: 1px solid var(--glass-border);
    overflow-y: auto;
  }
  .nav-links.open {
    right: 0;
  }
  .nav-links a {
    font-size: 16px;
    padding: 14px 0;
    width: 100%;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    letter-spacing: 1px;
  }
  .nav-links a::after {
    display: none;
  }
  .nav-links .lang-switch-btn {
    margin-left: 0 !important;
    margin-top: 10px;
    text-align: center;
  }
  /* Dropdown in mobile */
  .nav-dropdown {
    width: 100%;
  }
  .nav-dropdown > a {
    padding: 14px 0;
    width: 100%;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  .nav-dropdown-menu {
    position: static;
    transform: none;
    background: rgba(255,255,255,0.04);
    box-shadow: none;
    border-radius: 8px;
    opacity: 1;
    visibility: visible;
    display: none;
    padding: 4px 0;
    margin: 4px 0 8px;
  }
  .nav-dropdown-menu::before {
    display: none;
  }
  .nav-dropdown.open .nav-dropdown-menu {
    display: block;
  }
  .nav-dropdown-menu a {
    color: #ccc !important;
    padding: 10px 16px !important;
    font-size: 14px !important;
    border-bottom: none !important;
  }
  .nav-dropdown-menu a:hover {
    background: rgba(255,255,255,0.06);
    color: var(--primary) !important;
  }
  /* Mobile overlay */
  .nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
  }
  .nav-overlay.show {
    display: block;
  }
  /* Hero */
  .hero {
    flex-direction: column;
    padding: 100px 5% 50px;
    height: auto;
    min-height: 100vh;
    text-align: center;
  }
  .hero-content {
    max-width: 100%;
  }
  .hero h1 {
    font-size: 36px;
    white-space: normal;
  }
  .hero p {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
  .hero-carousel {
    width: 100%;
    max-width: 380px;
  }
  .carousel-track {
    height: 380px;
  }
  .carousel-img {
    height: 270px;
  }
  /* Services */
  .services {
    padding: 60px 5%;
  }
  .services-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Tablet portrait */
@media (max-width: 768px) {
  header {
    padding: 14px 4%;
  }
  .hero {
    padding: 90px 5% 40px;
  }
  .hero h1 {
    font-size: 28px;
    line-height: 1.3;
  }
  .hero p {
    font-size: 15px;
    margin-bottom: 24px;
  }
  .btn {
    padding: 12px 28px;
    font-size: 14px;
  }
  .hero-carousel {
    max-width: 320px;
  }
  .carousel-track {
    height: 340px;
  }
  .carousel-img {
    height: 230px;
  }
  .services-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .service-card {
    padding: 25px 20px;
  }
  .section-title {
    font-size: 28px;
    margin-bottom: 36px;
  }
  footer {
    padding: 30px 5%;
  }
}

/* Mobile */
@media (max-width: 480px) {
  header {
    padding: 12px 4%;
  }
  .logo img {
    height: 32px !important;
  }
  .hero {
    padding: 80px 4% 30px;
  }
  .hero h1 {
    font-size: 22px;
    line-height: 1.4;
  }
  .hero p {
    font-size: 14px;
  }
  .hero-carousel {
    max-width: 280px;
  }
  .carousel-track {
    height: 300px;
  }
  .carousel-img {
    height: 200px;
  }
  .carousel-info {
    padding: 10px 14px;
  }
  .carousel-info h3 {
    font-size: 14px;
  }
  .service-card h3 {
    font-size: 17px;
  }
  .service-card p {
    font-size: 13px;
  }
}