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

ul {
  list-style: none;
}

/* colors */
:root {
  --color-primary: #ff5722;
  --color-navbar: #f8f8f8;
  --color-navbar-white: #ddd;
  --color-navbar-text: #545454;
  --color-heading: #141414;
  --color-body: #333333;
  --color-black: #000;
  --color-white: #fff;
}

html {
  font-size: 62.5%;
}

a {
  color: var(--color-body);
  cursor: pointer;
  text-decoration: none;
}

body {
  color: var(--color-body);
  font-size: 1.4rem;
  font-family: "Vazirmatn-Regular";
}

/* Header */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: var(--color-navbar);
  border-bottom: 1px solid var(--color-white);
  height: 80px;
  padding: 0 2rem;
  position: fixed;
  left: 0;
  right: 0;
  font-size: 1.5rem;
  z-index: 1000;
}

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

.nav-link-container {
  margin: 0 auto;
  display: flex;
  align-items: center;
}

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

.join-us {
  align-items: center;
  background: linear-gradient(91deg, #f73, #ff5722 50%, #e54917);
  border-radius: 999px;
  color: var(--color-white);
  display: flex;
  justify-content: center;
  height: 40px;
  width: 130px;
  padding: 0;
  position: relative;
}

.button-overlay {
  color: var(--color-navbar);
}

.button-text-layer {
  color: var(--color-white);
}

.nav-hamburger span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--color-black);
  margin: 4px 0;
  border-radius: 2px;
  transition: 0.3s;
}

.nav-hamburger {
  display: none;
}

@media screen and (max-width: 767px) {
  .nav-hamburger {
    cursor: pointer;
    display: block;
    height: 24px;
    width: 24px;
    position: relative;
  }

  .nav-link-container {
    display: none;
  }
}

/* Hero Banner */
.hero-banner {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
  gap: 4rem;
  padding: 6rem 8rem;
}

.title {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 5rem;
  line-height: 1.6;
  font-weight: 700;
  color: var(--color-black);
}

.hero-banner-image {
  width: 100%;
  max-width: 450px;
  border-radius: 20px;
  justify-self: center;
  object-fit: cover;
}

#main-content {
  padding-top: 100px;
}

/* Hero Buttons */
.hero-btn {
  display: flex;
  gap: 2rem;
  justify-content: center;
  margin-top: 3rem;
}

.hero-primary-btn,
.description-btn {
  align-items: center;
  border-radius: 999px;
  display: flex;
  font-size: 1.8rem;
  font-weight: 500;
  height: 68px;
  justify-content: center;
  line-height: 32px;
  padding: 0 32px;
  background: linear-gradient(135deg, #000000, #1a1a1a);
  color: var(--color-white);
  border: none;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.4s ease, box-shadow 0.4s ease, background 0.6s ease;
  position: relative;
  overflow: hidden;
}

.hero-primary-btn::before,
.description-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 200%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: all 0.6s ease;
}

.hero-primary-btn:hover,
.description-btn:hover {
  transform: scale(1.08) translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  background: linear-gradient(135deg, #222, #000);
}

.hero-primary-btn:hover::before,
.description-btn:hover::before {
  left: 100%;
}

@keyframes pulse-glow {
  0% {
    box-shadow: 0 0 0px rgba(255, 255, 255, 0.3);
  }
  50% {
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
  }
  100% {
    box-shadow: 0 0 0px rgba(255, 255, 255, 0.3);
  }
}

.hero-primary-btn,
.description-btn {
  animation: pulse-glow 3s infinite ease-in-out;
}

.hero-secondary-btn {
  align-items: center;
  border-radius: 999px;
  display: flex;
  font-size: 1.8rem;
  font-weight: 500;
  height: 68px;
  justify-content: center;
  line-height: 32px;
  padding: 0 32px;
  background: rgba(255, 255, 255, 0.15);
  color: var(--color-black);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.4s ease, box-shadow 0.4s ease, background 0.5s ease,
    color 0.3s ease;
  position: relative;
  overflow: hidden;
}

.hero-secondary-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.5),
    transparent
  );
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.hero-secondary-btn:hover {
  transform: scale(1.06) translateY(-2px);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
  background: rgba(255, 255, 255, 0.3);
}

.hero-secondary-btn:hover::before {
  transform: translateX(100%);
}

/* Services Section */
#services {
  padding: 6rem 0;
  text-align: center;
  background-color: var(--color-white);
}

#services h2 {
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 3rem;
  color: var(--color-black);
}

.services-tabs {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 4rem;
}

.services-tabs .tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: var(--color-black);
  transition: 0.3s ease;
  padding: 1rem;
}

.services-tabs .tab img {
  width: 70px;
  height: 70px;
  margin-bottom: 1rem;
}

.services-tabs .tab p {
  font-size: 1.4rem;
}

.services-tabs .tab.active,
.services-tabs .tab:hover {
  color: var(--color-primary);
  transform: translateY(-5px);
}

/* Tab Content */
.tab-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
}

.tab-content .tab-pane {
  display: flex;
  gap: 2rem;
  align-items: center;
  margin-top: 3rem;
}

.main-image {
  width: 550px;
  height: auto;
  border-radius: 20px;
  object-fit: cover;
  flex-shrink: 0;
}

.content-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.title {
  font-size: 5rem;
  font-weight: 700;
}

.description {
  font-size: 1.6rem;
  line-height: 2.4rem;
  color: #333;
  text-align: justify;
}

/* Section Driver & Corporate */
.container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6rem;
  padding: 8rem 4rem;
  flex-wrap: wrap;
}

.section-image {
  width: 380px;
  height: auto;
  border-radius: 24px;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.section-image:hover {
  transform: scale(1.04);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2.5rem;
  max-width: 550px;
}

.description ul {
  list-style: none;
}

.description li {
  font-size: 1.6rem;
  color: var(--color-body);
  margin-bottom: 1rem;
  position: relative;
  padding-right: 2rem;
  line-height: 2.6rem;
}

.description li::before {
  content: "✔";
  position: absolute;
  right: 0;
  color: var(--color-primary);
  font-size: 1.4rem;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-banner {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 3rem 2rem;
  }

  .title {
    align-items: center;
    font-size: 3rem;
  }

  .hero-banner-image {
    max-width: 100%;
  }

  .hero-btn {
    flex-direction: column;
    align-items: center;
  }

  .tab-content .tab-pane {
    flex-direction: column;
    text-align: center;
  }

  .main-image {
    width: 100%;
    max-width: 250px;
  }

  .container {
    flex-direction: column-reverse;
    text-align: center;
    gap: 3rem;
    padding: 5rem 2rem;
  }

  .section-image {
    width: 100%;
    max-width: 340px;
  }
}

/* Buttons section-driver & corporate */
.description-btn {
  align-items: center;
  border-radius: 999px;
  display: flex;
  font-size: 1.8rem;
  font-weight: 500;
  height: 68px;
  justify-content: center;
  line-height: 32px;
  padding: 0 32px;
  background: linear-gradient(135deg, #000000, #1a1a1a);
  color: var(--color-white);
  border: none;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.4s ease, box-shadow 0.4s ease, background 0.6s ease;
  position: relative;
  overflow: hidden;
}

.description-btn:hover {
  transform: scale(1.08) translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  background: linear-gradient(135deg, #222, #000);
}

.description-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 200%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: all 0.6s ease;
}

/* Install section */
#install-section {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: 80px 10%;
  width: 100%;
}

#install-section .container {
  display: flex;
  background: linear-gradient(90deg, #fff0e9 0, #f4f1f0 100%);
  border-radius: 24px;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
  gap: 2rem;
}

#install-section .image {
  flex-shrink: 0;
}

#install-section .image img {
  width: 350px;
  max-width: 75%;
  height: auto;
  border-radius: 24px;
  object-fit: cover;
}

#install-section .content {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: calc(100% - 370px);
}

@media (max-width: 768px) {
  #install-section {
    flex-direction: column;
    padding: 40px 5%;
  }

  #install-section .image img {
    width: 100%;
    max-width: 100%;
    margin-bottom: 2rem;
  }

  #install-section .content {
    width: 100%;
  }
}

/* footer */
#main-footer {
  background: var(--color-heading);
  color: var(--color-white);
  padding: 60px 10%;
  font-size: 1.4rem;
  line-height: 2.2rem;
  font-family: "Vazirmatn-Regular", sans-serif;
}

.foot-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 3rem;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 180px;
}

.footer-col h6 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--color-primary);
}

.footer-col a.link {
  font-size: 1.4rem;
  color: #fff;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-col a.link:hover {
  color: var(--color-primary);
  text-decoration: underline;
}

/* Responsive */
/* Responsive */
@media (max-width: 768px) {
  .hero-banner {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 3rem 2rem;
  }

  .title {
    align-items: center;
    font-size: 3rem;
  }

  .hero-banner-image {
    max-width: 100%;
  }

  .hero-btn {
    flex-direction: column;
    align-items: center;
  }

  .tab-content .tab-pane {
    flex-direction: column;
    text-align: center;
  }

  .main-image {
    width: 100%;
    max-width: 250px;
  }

  .container {
    gap: 3rem;
    padding: 5rem 2rem;
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .section-image {
    width: 100%;
    max-width: 340px;
  }

  .container .content {
    width: 100%;
    max-width: 100%;
    text-align: center;
  }
}
