/* =========================
   GLOBAL STYLES
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: #222;
    background: #fff;
}

button {
    cursor: pointer;
    border: none;
}


/* =========================
   TOP ENVATO BAR
========================= */

.top-bar {
    height: 55px;
    background: #262626;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
}

.top-bar .logo img {
    width: 150px;
    height: auto;
}

.buy-now {
    background: #82b440;
    color: white;
    padding: 10px 22px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: bold;
}


/* =========================
   PROMO BAR
========================= */

.promo-bar {
    height: 45px;
    background: #0d3b66;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 70px;
    font-size: 14px;
}

.promo-text {
    font-weight: 500;
}

.login {
    cursor: pointer;
}


/* =========================
   HEADER / NAVBAR
========================= */

header {
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 70px;
    background: white;
    position: relative;
    z-index: 10;
}

header .logo img {
    width: 160px;
    height: auto;
}

nav {
    display: flex;
    gap: 35px;
    margin-left: auto;
    margin-right: 40px;
}

nav a {
    text-decoration: none;
    color: #222;
    font-size: 14px;
    font-weight: bold;
    transition: 0.3s;
}

nav a:hover {
    color: #0d6efd;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 25px;
}

.search-btn {
    font-size: 20px;
    cursor: pointer;
}

/*hero*/
/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  color: #fff;
  background-color: #0a0a0a; /* fallback while images load */
}

/* ---- Crossfading background images ---- */
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  z-index: 0;
  animation: heroFade 15s infinite;
}

/* Stagger each of the 3 backgrounds so they cross-fade in sequence */
.hero-bg:nth-of-type(1) { animation-delay: 0s; }
.hero-bg:nth-of-type(2) { animation-delay: 5s; }
.hero-bg:nth-of-type(3) { animation-delay: 10s; }

@keyframes heroFade {
  0%   { opacity: 0; }
  5%   { opacity: 1; }
  30%  { opacity: 1; }
  35%  { opacity: 0; }
  100% { opacity: 0; }
}

/* ---- Overlay + decorative shape ---- */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(0, 0, 0, 0.75) 0%,
    rgba(0, 0, 0, 0.45) 60%,
    rgba(0, 0, 0, 0.2) 100%
  );
  z-index: 1;
}

.hero-shape {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: rgba(255, 90, 30, 0.15);
  border-radius: 50%;
  filter: blur(60px);
  z-index: 1;
  pointer-events: none;
}

/* ---- Content ---- */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5%;
}

.hero h3 {
  display: inline-block;
  font-size: 1rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #ff5a1e;
  margin: 0 0 1rem;
  position: relative;
  z-index: 2;
  padding-left: 5%;
}

.hero-title {
  position: relative;
  z-index: 2;
  padding-left: 5%;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin: 0 0 1.5rem;
  max-width: 700px;
}

.hero ul {
  position: relative;
  z-index: 2;
  list-style: none;
  margin: 0 0 2rem;
  padding-left: 5%;
  max-width: 600px;
}

.hero ul p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
}

.hero-content button {
  position: relative;
  background: #fff;
  color: #0b1fae;
  border: 2px solid #0b1fae;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.5px;
  padding: 16px 42px 16px 30px;
  cursor: pointer;
  clip-path: polygon(15px 0, 100% 0, 100% 100%, 0 100%, 0 15px);
  transition: background 0.3s, color 0.3s;
}

.hero-content button::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 15px;
  height: 15px;
  background: #0b1fae;
  clip-path: polygon(0 0, 100% 0, 0 100%);
}

.hero-content button:hover {
  background: #0b1fae;
  color: #fff;
}

@media (max-width: 992px) {
  .hero-title { font-size: 48px; }
  .hero-content { padding: 140px 40px 0; }
  .hero-shape::before, .hero-shape::after { width: 120px; }
}

/* ---- Side rail ---- */
.side-rail {
  position: absolute;
  right: 2.5rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
}

.side-rail .vertical.-icone {
  font-size: 1.3rem;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.side-rail .vertical.-icone:hover {
  background: #ff5a1e;
  border-color: #ff5a1e;
}

.side-rail .vertical-text {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: 0.85rem;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.75);
  white-space: nowrap;
}



/* =========================
   SERVICES SECTION
========================= */

.services {
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 80px 8%;
    background: #f7faff;
    position: relative;
    z-index: 5;
}

.service-card,
.services-card {
    width: 32%;
    background: white;
    padding: 40px 30px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: 0.3s;
}

.service-card:hover,
.services-card:hover {
    transform: translateY(-10px);
}

.service-card img,
.services-card img {
    width: 70px;
    height: 70px;
    object-fit: contain;
    margin-bottom: 20px;
}

.service-card h2,
.services-card h2 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #172b4d;
}

.service-card p,
.services-card p {
    color: #777;
    line-height: 1.7;
    font-size: 15px;
    margin-bottom: 25px;
}

.service-card button,
.services-card button {
    background: transparent;
    color: #0d6efd;
    font-weight: bold;
    text-transform: uppercase;
    border-bottom: 2px solid #0d6efd;
    padding-bottom: 5px;
   
}



/* =========================
   ABOUT SECTION
========================= */

.about-section {
    min-height: 650px;
    padding: 100px 8%;
    position: relative;
    overflow: hidden;
}

.about-image-wrap {
    width: 45%;
    float: left;
    margin-right: 70px;
    margin-bottom: 30px;
}

.about-image-wrap img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 10px;
}

.about-section h4 {
    color: #0d6efd;
    font-size: 16px;
    margin-bottom: 18px;
    line-height: 1.6;
}

.about-section h1 {
    font-size: 42px;
    line-height: 1.2;
    color: #172b4d;
    margin-bottom: 20px;
}

.about-section p {
    color: #666;
    line-height: 1.8;
    font-size: 16px;
    font-weight: normal;
}

.about-section > button {
    margin-top: 15px;
    padding: 15px 25px;
    background: #f1f6ff;
    color: #172b4d;
    border-left: 4px solid #0d6efd;
    font-size: 15px;
    line-height: 1.5;
}

.about-section .get-started {
    background: #0d6efd;
    color: white;
    margin-top: 25px;
    border: none;
}


/*image*/
img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/*footer*/

footer {
  background-color: #041131;
  color: #ffffff;
  text-align: center;
  padding: 20px 10px;
  font-family: Arial, sans-serif;
  font-size: 14px;
}

footer p {
  margin: 5px 0;
}

footer a {
  color: #cccccc;
  text-decoration: none;
  margin: 0 8px;
  transition: color 0.3s ease;
}

footer a:hover {
  color: #ffffff;
  text-decoration: underline;
}