:root {
  --primary: #193957;
  --secondary: #1e293b;
  --accent: #0ea5e9;
  --light: #f8fafc;
  --bs-warning-rgb: 228, 169, 25;
}

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

html {
  scroll-behavior: smooth;
}

html,
body {
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: 'Segoe UI', sans-serif;
  color: #1e293b;
}

section {
  padding: 100px 0;
}

a {
  text-decoration: none;
}

img {
  max-width: 100%;
}

.section-title {
  font-size: 3rem;
  font-weight: 900;
  margin-bottom: 20px;
  color: var(--primary);
}

.section-subtitle {
  color: #64748b;
  max-width: 800px;
  margin: auto;
  line-height: 1.8;
}

.text-gradient {
  background: linear-gradient(90deg, #be8c13, #e4a919);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.btn-main {
  background: linear-gradient(90deg, #be8c13, #e4a919);
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 15px 35px;
  font-weight: 700;
  transition: 0.4s;
  box-shadow: 0 10px 30px rgba(14, 165, 233, 0.3);
}

.btn-main:hover {
  transform: translateY(-5px);
  color: #fff;
}

.btn-outline-custom {
  border: 2px solid #fff;
  color: #fff;
  border-radius: 50px;
  padding: 15px 35px;
  font-weight: 700;
  transition: 0.4s;
}

.btn-outline-custom:hover {
  background: #fff;
  color: #000;
}

/* NAVBAR */

.navbar {
  padding: 18px 0;
  transition: 0.4s;
  background: transparent;
  width: 100%;
}

.navbar.scrolled {
  background: #193957;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.navbar-brand {
  font-size: 2rem;
  font-weight: 900;
  color: #fff !important;
}

.nav-link {
  color: #fff !important;
  margin-left: 15px;
  position: relative;
  font-weight: 500;
}

.active .nav-link {
  color: #e4a919 !important;
}

.nav-link::after {
  content: '';
  width: 0;
  height: 2px;
  background: #e4a919;
  position: absolute;
  bottom: -5px;
  left: 0;
  transition: 0.4s;
}

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

.nav-cta {
  margin-left: 20px;
}

/* HERO */

.hero {
  height: 100vh;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.1);
  transition: 2s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(2, 6, 23, 0.92), rgba(2, 6, 23, 0.4));
}

.hero-content {
  position: relative;
  z-index: 2;
  color: white;
}

.hero-content h1 {
  font-size: 5rem;
  font-weight: 900;
  line-height: 1.1;
}

.hero-content p {
  max-width: 700px;
  margin: 30px 0;
  line-height: 1.9;
  font-size: 1.1rem;
}

.typing-text span {
  opacity: 0;
  display: inline-block;
  transform: translateY(20px);
  animation: charAnim 0.5s forwards;
}

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

/* FLOATING PHONES */

.floating-phone {
  position: absolute;
  right: 5%;
  bottom: 8%;
  width: 300px;
  z-index: 5;
  animation-name: float;
  animation-duration: 10s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
  opacity: 0;
}

.phone-1 {
  animation-delay: 0s;
}

.phone-2 {
  animation-delay: 5s;
}

@keyframes float {
  0% {
    opacity: 0;
    transform: translateY(40px) scale(0.9);
  }

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

  20% {
    opacity: 1;
    transform: translateY(-15px) scale(1);
  }

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

  50% {
    opacity: 0;
    transform: translateY(-40px) scale(0.95);
  }

  100% {
    opacity: 0;
    transform: translateY(-40px) scale(0.95);
  }
}

/* CARDS */

.feature-card {
  background: whi te;
  border-radius: 30px;
  padding: 40px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
  transition: 0.4s;
  height: 100%;
}

.feature-card:hover {
  transform: translateY(-10px);
}

.feature-card i {
  font-size: 4rem;
  color: #e4a919;
  margin-bottom: 20px;
}

.feature-card h4 {
  font-weight: 800;
  margin-bottom: 15px;
}

/* HOME */

.image-container img {
  transition: 1s;
}

.image-container:hover img {
  transform: scale(1.1);
}

/* PRODUCT */

.product-card {
  overflow: hidden;
  border: none;
  border-radius: 30px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  transition: 0.4s;
  background: #fff;
  height: 100%;
}

.product-card:hover {
  transform: translateY(-12px);
}

.product-card img {
  height: 520px;
  object-fit: cover;
}

.product-card .card-body {
  padding: 35px;
}

#galaxy-a06,
#galaxy-a07 {
  scroll-margin-top: 300px;
}

/* COUNTERS */

.counter-section {
  background: #020617;
  color: #fff;
}

.counter-box {
  text-align: center;
}

.counter-box h2 {
  font-size: 4rem;
  font-weight: 900;
}

/* CTA */

.cta-section {
  background: linear-gradient(135deg, #193957, #22527e);
  color: #fff;
  border-radius: 40px;
  padding: 80px;
}

/* FOOTER */

footer {
  background: #020617;
  color: #fff;
  padding-top: 100px;
}

.footer-links a {
  display: block;
  color: #cbd5e1;
  margin-bottom: 12px;
  transition: 0.3s;
}

.footer-links a:hover {
  color: #e4a919;
  transform: translateX(5px);
}

.social-icons a {
  width: 50px;
  height: 50px;
  background: #1e293b;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  margin-right: 10px;
  transition: 0.4s;
}

.social-icons a:hover {
  background: #e4a919;
  transform: translateY(-5px);
}

/* CONTACT */

.contact-card {
  background: #fff;
  padding: 40px;
  border-radius: 30px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  height: 100%;
}

.contact-card i {
  font-size: 2rem;
  color: #e4a919;
  margin-bottom: 20px;
}

.contact-box {
  background: #fff;
  border-radius: 30px;
  padding: 40px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  height: 100%;
}

.form-control,
.form-select {
  height: 60px;
  border-radius: 15px;
  border: 1px solid #e2e8f0;
}

.form-control:focus,
.form-select:focus {
  border-color: #e4a919;
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgba(228, 169, 25, 0.25);
}

textarea.form-control {
  height: 180px;
}

.form-check-input:focus {
  border-color: #eedcae;
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgba(228, 169, 25, 0.25);
}

.form-check-input:checked {
  background-color: #e4a919;
  border-color: #e4a919;
}

iframe {
  border-radius: 30px;
  width: 100%;
}

/* PAGE HEADER */

.page-header {
  background-size: cover;
  background-position: center;
  padding: 220px 0 120px;
  color: #fff;
  text-align: center;
}

.page-header h1 {
  font-size: 4rem;
  font-weight: 900;
}

.word {
  display: inline-block;
  white-space: nowrap;
  margin-right: 14px;
}

/* SECTION LABEL */

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.section-label::before,
.section-label::after {
  content: '';
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, #f1d182, #e4a919);
  display: block;
}

.section-label::after {
  background: linear-gradient(90deg, #e4a919, #f1d182);
}

.section-label p {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #e4a919;
}

/* ANIMATION */

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

@media (max-width: 991px) {
  .navbar .btn-main {
    width: 100%;
    padding: 12px 24px;
    margin: 12px 0;
  }

  .hero-content h1 {
    font-size: 3rem;
  }

  .floating-phone {
    display: none;
  }

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

  .page-header h1 {
    font-size: 2.7rem;
  }

  .cta-section {
    padding: 40px;
  }

  .product-card img {
    height: 400px;
  }
}
