/* General Styles */
:root {
  --primary-color: #0066cc;
  --primary-hover: #0055aa;
  --text-color: #333;
  --bg-color: #fff;
  --header-bg: #333;
  --header-text: #fff;
  --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--bg-color);
}

.container {
  width: 100%;
  max-width: 1100px !important;
  margin: 0 auto;
  padding: 0 15px;
}

/* Header Styles */
.top-header {
  background-color: var(--header-bg);
  color: var(--header-text);
  padding: 10px 0;
  font-size: 14px;
}

.top-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.top-header i {
  margin-right: 5px;
}

.top-header .left-info i:not(:first-child) {
  margin-left: 15px;
}

.right-icons {
  display: flex;
  gap: 15px;
}

.right-icons i {
  cursor: pointer;
  transition: var(--transition);
}

.right-icons i:hover {
  opacity: 0.8;
}

/* Main Navbar */
.main-navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  padding: 15px 0;
  background-color: var(--bg-color);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.main-navbar.scrolled {
  padding: 10px 0;
}

.main-navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 40px;
  width: auto;
  transition: var(--transition);
}

.nav-links {
  display: flex;
  gap: 25px;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 600;
  transition: var(--transition);
  position: relative;
  padding: 5px 0;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary-color);
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.quote-btn a {
  background-color: var(--primary-color);
  color: white;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  display: inline-block;
}

.quote-btn a:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    color: white;
}

.mobile-menu-btn {
  display: none;
  font-size: 24px;
  cursor: pointer;
  background: none;
  border: none;
  color: var(--text-color);
}

/* Responsive Styles */
@media (max-width: 992px) {
  .nav-links {
    gap: 15px;
  }
}

@media (max-width: 768px) {
  .top-header .container {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .top-header .left-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }

  .top-header .left-info i:not(:first-child) {
    margin-left: 0;
  }

  .right-icons {
    gap: 10px;
  }

  .nav-links {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 80%;
    height: calc(100vh - 80px);
    background-color: var(--bg-color);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    box-shadow: 5px 0 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
  }

  .nav-links.active {
    left: 0;
  }

  .nav-links a {
    width: 100%;
    padding: 10px;
    border-bottom: 1px solid #eee;
  }

  .nav-links a::after {
    display: none;
  }

  .quote-btn {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .mobile-menu-btn.active i::before {
    content: "\f00d";
  }
}

@media (max-width: 576px) {
  .top-header {
    font-size: 12px;
    padding: 8px 0;
    text-align: center;
  }

  .logo img {
    height: 35px;
  }

  .mobile-menu-btn {
    font-size: 20px;
  }
}

/* hero section */
.slider-container {
  height: 100vh;
  position: relative;
  color: white;
  display: flex;
  align-items: center;
  padding: 3rem 6rem;
  background-size: cover;
  background-position: center;
  transition: background-image 1s ease-in-out;
}

.slider-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.slider-content {
  position: relative;
  max-width: 500px;
  z-index: 2;
}

.slider-content h1 {
  font-weight: 700;
  font-size: 2rem;
  line-height: 1.1;
  margin-bottom: 1rem;
  color: white;
}

.slider-content p {
  font-size: 1.125rem;
  color: #ccc;
  margin-bottom: 2.5rem;
}

.slider-button {
  background: #03a9f4;
  padding: 0.75rem 2.5rem;
  border-radius: 50px;
  color: white;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: background 0.3s ease;
  font-size: 1rem;
}

.slider-button:hover {
  background: #0284c7;
}

/* Pagination */
.slide-pagination {
  position: absolute;
  right: 3rem;
  bottom: 3rem;
  z-index: 3;
  text-align: right;
  color: #c8c8c8b3;
  font-weight: 600;
  font-size: 1.125rem;
  user-select: none;
  line-height: 2.1rem;
}

.slide-pagination .page-num {
  margin-bottom: 0.5rem;
}

.slide-pagination .active {
  color: #03a9f4;
  font-weight: 700;
  font-size: 2rem;
  position: relative;
}

.slide-pagination .active::before {
  content: "-";
  position: absolute;
  left: -1.25rem;
  color: #03a9f4;
  font-weight: 700;
  font-size: 1.5rem;
  top: 0;
}

@media (max-width: 768px) {
  .slider-container {
    padding: 2rem 2rem;
    justify-content: center;
  }

  .slider-content {
    max-width: 100%;
    text-align: center;
  }

  .slide-pagination {
    position: static;
    margin-top: 2rem;
    text-align: center;
  }
}

/* focused section */
.overlay {
  margin-top: -180px;
  background-color: transparent;
  padding: 20px;
  text-align: center;
}

.overlay h1 {
  font-size: 28px;
  font-weight: bold;
  color: #222;
  margin-bottom: 10px;
}

.card-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

.card {
  background-color: #fff;
  padding: 20px;
  width: 250px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  z-index: 100;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 2px 2px 20px #676767;
}

.icon {
  font-size: 40px;
  color: orange;
  margin-bottom: 10px;
}

.small-text {
  color: #777;
  font-size: 10px;
  margin: 0;
}

.card h3 {
  color: #222;
  margin: 10px 0;
  font-size: 14px;
}

.desc {
  color: #555;
  font-size: 12px;
  margin-top: 10px;
}

/* Why Us Section */
.why-us {
  padding: 40px 0;
  background-color: #daedff; /* Light background color */
}

.why-map-container {
  display: flex;
  align-items: center;
  gap: 40px;
}

.map-box {
  position: relative;
  flex: 1;
}

.map-box img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.map-box .line {
  position: absolute;
  bottom: -20px;
  left: 0;
  width: 100px;
  height: 4px;
  background-color: #007bff; /* Primary color */
}

.content-box {
  flex: 1;
}

.section-subtitle {
  color: #007bff;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.section-title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
}

.section-title .line {
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 3px;
  background-color: #007bff;
}

.section-description {
  color: #6c757d;
  line-height: 1.6;
  margin-bottom: 30px;
}

.features {
  display: flex;
  gap: 30px;
}

.features ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.features li {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  font-weight: 500;
}

.features i {
  color: #007bff;
  margin-right: 10px;
  font-size: 14px;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .why-map-container {
    flex-direction: column;
  }

  .map-box,
  .content-box {
    width: 100%;
  }

  .map-box .line {
    display: none;
  }
}

@media (max-width: 576px) {
  .why-us {
    padding: 60px 0;
  }

  .section-title {
    font-size: 28px;
  }

  .features {
    flex-direction: column;
    gap: 15px;
  }
}

/* About Us Section */
.about-us {
  padding: 40px 0;
  background-color: white;
}

.about-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 50px;
}

.about-text {
  flex: 1;
}

.about-text h4 {
  color: #2a5bd7;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px;
  text-transform: uppercase;
}

.about-text h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 25px;
  position: relative;
  padding-left: 20px;
}

.blue-line {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 40px;
  width: 5px;
  background-color: #2a5bd7;
}

.about-text p {
  color: #555;
  line-height: 1.8;
  margin-bottom: 20px;
}

.about-image {
  position: relative;
  height: 400px;
  flex: 1;
  padding: 20px;
  background:linear-gradient(to right ,var(--primary-color) ,var(--text-color));
  border-radius: 10px;
}

.about-image img {
  position: absolute;
  top:30;
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: 1s;
}
.about-image:hover img {
  transform: translateY(10px);
  top: 20px; /* slight movement on hover */
}
/* Responsive Design */
@media (max-width: 992px) {
  .about-container {
    flex-direction: column;
  }

  .about-text,
  .about-image {
    width: 100%;
  }

  .about-text {
    margin-bottom: 40px;
  }
}

@media (max-width: 576px) {
  .about-us {
    padding: 60px 0;
  }

  .about-text h2 {
    font-size: 28px;
  }

  .blue-line {
    height: 30px;
  }
}

/* route-history */
.alerts-section {
  padding: 60px 0;
  background-color: #f8f9fa;
}

.alerts-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.alerts-image {
  flex: 1 1 45%;
  min-width: 300px;
}

.alerts-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.alerts-text {
  flex: 1 1 45%;
  min-width: 300px;
}

.alerts-text h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: #333;
}

.alerts-text p {
  font-size: 1rem;
  line-height: 1.6;
  color: #555;
  margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
  .alerts-container {
    flex-direction: column;
  }

  .alerts-image,
  .alerts-text {
    flex: 1 1 100%;
    min-width: 100%;
    text-align: center;
  }

  .alerts-text h2 {
    font-size: 1.75rem;
  }
}

@media (max-width: 480px) {
  .alerts-section {
    padding: 40px 0;
  }

  .alerts-text h2 {
    font-size: 1.5rem;
  }

  .alerts-text p {
    font-size: 0.9rem;
  }
}

/* Feature Section Styles */

.feature-section-main {
  padding: 20px 0;
}

.feature-section-main-title {
  font-size: 10px;
  text-align: center;
  color: #007bff;
  margin: 0;
}

.feature-section-main__heading {
  font-size: 32px;
  text-align: center;
  margin-bottom: 3rem;
  color: #333;
}

.feature-grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: #fff;
  border-radius: 10px;
  padding: 2rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  min-height: 100px;
  border-left: 2px solid var(--primary-color);
}
.feature-card:hover{
  transform: scale(1.09);
}

.feature-card img {
  width: 60px;
  height: 60px;
  margin-bottom: 10px;
}

.feature-card__title {
  font-size: 1.25rem;
  color: #333;
  margin: 0 0 auto 0; /* Pushes content up */
}

.feature-card__arrow {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background-color: #999;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.feature-card__arrow:hover {
  transform: translateX(5px) scale(1.05);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .feature-section-main__heading {
    font-size: 2rem;
    margin-bottom: 2rem;
  }

  .feature-grid-container {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
  }

  .feature-card {
    min-height: 180px;
  }

  .feature-card__arrow {
    width: 36px;
    height: 36px;
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .feature-section-main {
    padding: 3rem 1rem;
  }

  .feature-grid-container {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: 160px;
  }
}

/* Dashboards-section - Base Styles */
.Dashboards-section-route-history {
  padding: 2rem 0;
  background-color: #f8f9fa;
}

.Dashboards-section-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.Dashboards-section-text-section h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #2c3e50;
}

.Dashboards-section-text-section p {
  font-size: 1rem;
  line-height: 1.6;
  color: #555;
}

.Dashboards-section-image-section {
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.Dashboards-section-mobile-map {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

@media (min-width: 768px) {
  .Dashboards-section-container {
    flex-direction: row;
    align-items: center;
  }

  .Dashboards-section-text-section {
    flex: 1;
    padding-right: 2rem;
  }

  .Dashboards-section-image-section {
    flex: 1;
  }
}

@media (min-width: 1024px) {
  .Dashboards-section-text-section h2 {
    font-size: 2.5rem;
  }

  .Dashboards-section-text-section p {
    font-size: 1.1rem;
  }
}

@media (min-width: 1440px) {
  .Dashboards-section-container {
    gap: 3rem;
  }
}

/* Stats Section */
.stats {
  padding: 50px 0;
  background: linear-gradient(rgba(0, 0, 0, 0.543)),
    url("images/360_F_195749821_1hHA17CVi20rUsALHouBvoEnbHL6wAen.jpg") no-repeat
      center center/cover;
  color: white;
  text-align: center;
  position: relative;
}

.stats .container {
  z-index: 2;
}

.stats-grid {
  display: flex;
  justify-content: space-between;
}

.stat-item {
  padding: 30px 20px;
  transition: transform 0.3s ease, background-color 0.3s ease;
  flex: 1;
}

.stat-item:hover {
  transform: translateY(-10px);
}

.stat-item h3 {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--accent);
  transition: color 0.3s ease;
}

.stat-item:hover h3 {
  color: var(--secondary);
}

.stat-item p {
  font-size: 20px;
  font-weight: 600;
  color: var(--light);
}

@media (max-width: 992px) {
  .stats-grid {
    flex-wrap: wrap;
    justify-content: center;
  }

  .stat-item {
    flex: 0 0 50%;
    padding: 25px 15px;
  }
}

@media (max-width: 768px) {
  .stats {
    padding: 40px 0;
  }

  .stat-item h3 {
    font-size: 32px;
  }

  .stat-item p {
    font-size: 18px;
  }
}

@media (max-width: 576px) {
  .stats {
    padding: 30px 0;
  }

  .stats-grid {
    flex-direction: column;
  }

  .stat-item {
    flex: 0 0 100%;
    padding: 20px 10px;
  }

  .stat-item h3 {
    font-size: 28px;
  }

  .stat-item p {
    font-size: 16px;
  }

  .stat-item:hover {
    transform: translateY(-5px);
  }
}

/* Downloding section */
section.work-process {
  text-align: center;
  padding: 60px 20px;
}

.work-process .subtitle {
  color: #00a6eb;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.work-process .title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 50px;
  color: #2d2d2d;
}

.timeline-container {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 0 40px;
}

.step {
  width: 22%;
  text-align: center;
  position: relative;
}

.step .step-number {
  font-size: 80px;
  color: rgba(0, 0, 0, 0.05);
  font-weight: 900;
  position: absolute;
  top: -50px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 0;
}

.step h3 {
  font-size: 16px;
  color: #2d2d2d;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}

.step p {
  font-size: 15px;
  color: #666;
  line-height: 1.5;
  position: relative;
  z-index: 1;
}

.timeline-line {
  position: absolute;
  top: 50px;
  left: 5%;
  width: 90%;
  height: 6px;
  background-color: #333;
  z-index: 0;
  border-radius: 5px;
}

.timeline-dot {
  width: 20px;
  height: 20px;
  background: #00a6eb;
  border-radius: 50%;
  margin: 43px auto 20px;
  position: relative;
  z-index: 1;
}

@media (max-width: 768px) {
  .timeline-container {
    flex-direction: column;
    align-items: center;
  }

  .step {
    width: 100%;
    margin-bottom: 60px;
  }

  .timeline-line {
    display: none;
  }
}

/* Screenshots Section */
.screenshots-section {
  padding: 60px 0;
  background-color: #f8f9fa;
  text-align: center;
}

.screenshots-section h4 {
  color: #6c757d;
  font-size: 1rem;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.screenshots-section .section-title {
  font-size: 2.5rem;
  margin-bottom: 40px;
  color: #343a40;
}

.screenshot-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.screenshot-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: 1;
  min-width: 100px;
  max-width: 200px;
}

.screenshot-item-container {
  display: flex;
  gap: 20px;
}

.screenshot-item {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  flex: 1;
}

.screenshot-item:hover {
  transform: translateY(-10px);
}

.screenshot-item img {
  width: 100%;
  height: auto;
  display: block;
}

.screenshot-item p {
  padding: 15px;
  margin: 0;
  font-weight: 600;
  color: #495057;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .screenshot-grid {
    flex-direction: column;
    align-items: center;
  }

  .screenshot-container {
    width: 100%;
    max-width: 400px;
  }
}

@media (max-width: 768px) {
  .screenshots-section {
    padding: 40px 0;
  }

  .screenshots-section .section-title {
    font-size: 2rem;
  }

  .screenshot-item-container {
    flex-direction: column;
  }
}

@media (max-width: 576px) {
  .screenshots-section h4 {
    font-size: 0.8rem;
  }

  .screenshots-section .section-title {
    font-size: 1.8rem;
  }

  .screenshot-item p {
    padding: 10px;
    font-size: 0.9rem;
  }
}

/* Footer Base Styles */
.footer {
  background-color: #1c1c1c;
  color: #fff;
  padding: 40px 20px;
  font-family: Arial, sans-serif;
}

.footer .container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
}

.footer-column {
  flex: 1 1 250px;
  min-width: 250px;
}

.footer-column h3 {
  font-size: 18px;
  margin-bottom: 15px;
  text-transform: uppercase;
  position: relative;
}

.footer-column .line {
  display: inline-block;
  width: 40px;
  height: 2px;
  background-color: #00aaff;
  margin-left: 10px;
}

.footer-column p,
.footer-column li {
  font-size: 14px;
  line-height: 1.6;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column li {
  margin-bottom: 10px;
}

.footer-column i {
  margin-right: 8px;
  color: #00aaff;
}

/* Social Icons */
.social-icons {
  margin-top: 15px;
}

.social-icons i {
  font-size: 18px;
  margin-right: 15px;
  color: #fff;
  transition: color 0.3s;
}

.social-icons i:hover {
  color: #00aaff;
}

/* Store Buttons */
.store-buttons {
  margin-top: 20px;
}

.store-buttons img {
  height: 40px;
  margin-right: 10px;
  cursor: pointer;
  transition: transform 0.3s;
}

.store-buttons img:hover {
  transform: scale(1.05);
}

/* Responsive Breakpoints */
@media (max-width: 992px) {
  .footer-container {
    justify-content: center;
  }

  .footer-column {
    flex: 1 1 45%;
    max-width: 45%;
  }
}

@media (max-width: 768px) {
  .footer-column {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .footer-column h3 {
    font-size: 16px;
  }

  .footer-column p,
  .footer-column li {
    font-size: 13px;
  }
}
