/* Global Styles */
:root {
  --primary: #3498db;
  --secondary: #2ecc71;
  --dark: #2c3e50;
  --light: #ecf0f1;
  --accent: #e74c3c;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background-color: var(--light);
  color: var(--dark);
  overflow-x: hidden;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

section {
  padding: 60px 0;
}

h1,
h2,
h3 {
  margin-bottom: 20px;
}

p {
  line-height: 1.6;
  margin-bottom: 15px;
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  background-color: var(--primary);
  color: white;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.btn:hover {
  background-color: #2980b9;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
}

.btn-secondary {
  background-color: var(--secondary);
  box-shadow: 0 4px 15px rgba(46, 204, 113, 0.3);
}

.btn-secondary:hover {
  background-color: #27ae60;
  box-shadow: 0 6px 20px rgba(46, 204, 113, 0.4);
}

.text-center {
  text-align: center;
}

/* Header Style  */

header {
  background-color: #2c3e50;
  box-shadow: 0 2px 10px #0000001a;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

header .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.logo {
  display: flex;
  align-items: center;
  font-size: 26px;
  font-weight: 700;
  color: #ffffff;
}

.logo i {
  margin-right: 10px;
  color: #3498db;
}

.nav-link-btn {
  display: flex;
  align-items: center;
}

.nav-links {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  margin-right: 150px;
}

.nav-links li {
  margin-left: 25px;
}

.nav-links a {
  text-decoration: none;
  color: #ffffff;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #3498db;
}

.header-actions {
  display: flex;
  align-items: center;
}

.search-box {
  position: relative;
  margin-right: 15px;
  display: flex;
  align-items: center;
}

.search-box input {
  padding: 10px 40px 10px 15px;
  border: 1px solid #ddd;
  border-radius: 25px;
  width: 200px;
  outline: none;
  font-size: 14px;
  transition: all 0.3s ease;
  box-shadow: 0 1px 3px #0000000d;
}

.search-box input:focus {
  border-color: #3498db;
  box-shadow: 0 0 0 2px #3498db;
  width: 220px;
}

.search-btn {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: #777;
  transition: all 0.3s ease;
  padding: 5px;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-btn:hover {
  color: #3498db;
  background-color: #4caf501a;
}

.search-btn:active {
  transform: translateY(-50%) scale(0.95);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #333;
}

/* header responcive */

@media (max-width: 992px) {
  .nav-links {
    margin-right: 15px;
  }

  .nav-links li {
    margin-left: 15px;
  }

  .search-box input {
    width: 150px;
  }
}

@media (max-width: 768px) {
  .nav-link-btn {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background-color: #ffffff;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    box-shadow: 0 5px 10px #0000001a;
    transition: left 0.3s ease;
  }

  .nav-link-btn.active {
    left: 0;
  }

  .nav-links {
    flex-direction: column;
    width: 100%;
    margin-right: 0;
    margin-bottom: 20px;
  }

  .nav-links li {
    margin: 10px 0;
  }

  .nav-links a {
    display: flex;
    justify-content: center;
    color: #000000;
    font-weight: 500;
  }

  .header-actions {
    flex-direction: column;
    width: 100%;
  }

  .search-box {
    width: 100%;
    margin-right: 0;
    margin-bottom: 15px;
  }

  .search-box input {
    width: 100%;
  }

  .login-btn {
    width: 100%;
    padding: 10px;
  }

  .mobile-menu-btn {
    display: block;
    color: #ffffff;
  }
}

/* Hero Section */

.hero {
  position: relative;
  height: 90vh;
  width: 100%;
  margin-top: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, #1a2a6c, #b21f1f);
}

.image-container {
  position: absolute;
  width: 100%;
  height: 100%;
}

.hero-image {
  position: absolute;
  object-fit: cover;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.5s ease-in-out, transform 1.5s ease-in-out;
}

.hero-image:nth-child(1) {
  background: url("images/hero-truck1.jpeg") center/cover;
  animation: zoomInOut 16s infinite;
}

.hero-image:nth-child(2) {
  background: url("images/hero-truck2.webp") center/cover;
  animation: zoomInOut 16s infinite 5s;
}

.hero-image:nth-child(3) {
  background: url("images/hero-truck3.jpeg") center/cover;
  animation: zoomInOut 16s infinite 10s;
}

@keyframes zoomInOut {
  0% {
    opacity: 0;
    transform: scale(1);
  }
  10% {
    opacity: 1;
  }
  25% {
    opacity: 1;
    transform: scale(1.1);
  }
  35% {
    opacity: 0;
    transform: scale(1.2);
  }
  100% {
    opacity: 0;
    transform: scale(1);
  }
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  color: white;
  padding: 0 20px;
  max-width: 1200px;
}

.hero-content h1 {
  font-size: 4rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 8px rgb(0, 0, 0);
  animation: fadeInUp 1s ease-out;
}

.hero-content p {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  text-shadow: 1px 1px 4px rgb(0, 0, 0);
  animation: fadeInUp 1s ease-out 0.3s both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-content p {
    font-size: 1.2rem;
  }

  .cta-button {
    padding: 12px 25px;
    font-size: 1rem;
  }
}

/* map section */
.map-section {
  width: 100%;
  height: 90vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(135deg, #fafdff1a, #57ea8f1a);
}

.mapimage-text-section {
  display: flex;
  flex-wrap: wrap;
  max-width: 1200px;
  gap: 50px;
}

.mapimage-container {
  flex: 1 1 50%;
  min-width: 300px;
  height: 400px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.maptext-container {
  flex: 1 1 40%;
  min-width: 300px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .mapimage-text-section {
    flex-direction: column;
  }

  .mapimage-container,
  .maptext-container {
    flex: 1 1 100%;
    min-width: auto;
  }

  .mapimage-container {
    height: 300px;
  }
}

@media (max-width: 480px) {
  h3 {
    font-size: 1.5rem;
  }

  p {
    font-size: 1rem;
  }

  .btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
  }
}

/* Services Section */
.services {
  background-color: white;
}

.section-title {
  font-size: clamp(28px, 4vw, 36px);
  margin-bottom: 40px;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: "";
  position: absolute;
  width: 50%;
  height: 4px;
  background: linear-gradient(to right, var(--primary), var(--secondary));
  bottom: -10px;
  left: 0;
  border-radius: 2px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.service-card {
  background-color: white;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  text-align: center;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
  font-size: 50px;
  color: var(--primary);
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.service-icon img {
  width: 150px;
  height: 100px;
  object-fit: contain;
}

.service-card:hover .service-icon {
  color: var(--secondary);
  transform: scale(1.1);
}

.service-card h3 {
  font-size: 22px;
  margin-bottom: 15px;
}

/* About Section */
.about {
  background-color: var(--light);
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.about-text {
  order: 1;
}

.about-image {
  order: 2;
  position: relative;
  height: 350px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.about-image:hover img {
  transform: scale(1.05);
}

.stats {
  display: flex;
  justify-content: space-between;
  margin-top: 30px;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 32px;
  font-weight: bold;
  color: var(--primary);
  margin-bottom: 5px;
}

.stat-label {
  font-size: 14px;
  color: #7f8c8d;
}

@media (min-width: 768px) {
  .about-content {
    flex-direction: row;
    align-items: center;
    gap: 50px;
  }

  .about-text {
    flex: 1;
    order: 0;
  }

  .about-image {
    flex: 1;
    order: 1;
    height: 400px;
  }

  .stat-number {
    font-size: 40px;
  }

  .stat-label {
    font-size: 16px;
  }
}

/* Testimonials Section */
.testimonials {
  background-color: var(--dark);
  color: white;
  position: relative;
}

.testimonials .section-title {
  color: white;
}

.testimonials .section-title::after {
  background: linear-gradient(to right, var(--secondary), var(--primary));
}

.testimonial-slider {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.testimonial-slide {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 25px;
  border-radius: 10px;
  text-align: center;
  display: none;
  animation: fadeIn 0.5s ease;
}

.testimonial-slide.active {
  display: block;
}

.testimonial-text {
  font-size: 16px;
  font-style: italic;
  margin-bottom: 20px;
  line-height: 1.6;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.author-img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 10px;
  border: 3px solid var(--primary);
}

.author-name {
  font-weight: bold;
  font-size: 16px;
  margin-bottom: 5px;
}

.author-role {
  color: #bdc3c7;
  font-size: 14px;
}

.testimonial-nav {
  display: flex;
  justify-content: center;
  margin-top: 25px;
  gap: 10px;
}

.testimonial-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.testimonial-dot.active {
  background-color: var(--primary);
  transform: scale(1.2);
}

@media (min-width: 768px) {
  .testimonial-slide {
    padding: 30px;
  }

  .testimonial-text {
    font-size: 18px;
  }

  .author-img {
    width: 70px;
    height: 70px;
  }

  .author-name {
    font-size: 18px;
  }
}

/* Contact Section */
.contact-grid {
  display: flex;
  flex-direction: column;
  background: linear-gradient(120deg, #1a2a6c, #b21f1f);
  color: #ffffff;
  border-radius: 10px;
  overflow: hidden;
}

.contactsection-title {
  padding: 0;
  font-size: clamp(28px, 4vw, 36px);
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.contactsection-title::after {
  content: "";
  position: absolute;
  width: 50%;
  height: 4px;
  background: linear-gradient(to right, var(--primary), var(--secondary));
  bottom: -10px;
  left: 0;
  border-radius: 2px;
}

.contact-info {
  padding: 30px;
}

.contactsocial-text {
  margin-top: 20px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin: 20px 0;
}

.contact-icon {
  font-size: 24px;
  color: #ee902b;
  min-width: 40px;
  text-align: center;
  padding-top: 5px;
}

.icon-location {
  color: #ff0000;
}

.icon-call {
  color: #2196f3;
}

.icon-email {
  color: #f44336;
}

.icon-clock {
  color: #ff9800;
}

.contact-text h3 {
  font-size: 18px;
  margin-bottom: 5px;
}

.contact-text p {
  color: #c7e4f5;
}

.contact-form {
  width: 100%;
  padding: 30px;
  color: #000000;
  background-color: white;
}

.contact-form h3 {
  font-size: 24px;
  margin-bottom: 20px;
  color: var(--dark);
}

textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 16px;
  min-height: 150px;
  resize: vertical;
  transition: all 0.3s ease;
}

textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px #3498db33;
  outline: none;
}

.form-group input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 16px;
  transition: all 0.3s ease;
}

@media (min-width: 768px) {
  .contact-grid {
    flex-direction: row;
  }

  .contact-info {
    width: 50%;
    padding: 40px;
  }

  .contact-form {
    width: 50%;
    padding: 40px;
  }
}

/* Footer Styles */
footer {
  background-color: #2c3e50;
  color: #ecf0f1;
  padding-top: 30px;
  font-family: "Arial", sans-serif;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  gap: 30px;
}

.footer-about {
  flex: 1 1 300px;
}

.footer-logo img {
  max-width: 180px;
  height: auto;
  margin-bottom: 15px;
}

.footer-about p {
  margin: 15px 0;
  line-height: 1.6;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  color: #ecf0f1;
  background-color: #34495e;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background-color: #3498db;
  transform: translateY(-3px);
}

.footer-links {
  flex: 1 1 300px;
  display: flex;
  gap: 30px;
}

.footer-links > div {
  flex: 1;
}

.footer-heading {
  color: #ffffff;
  font-size: 18px;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 2px;
  background: linear-gradient(135deg, #44a8eb9a, #44df8491);
}

.footer-links ul {
  list-style: none;
  padding: 0;
  animation: fadeIn 0.5s ease-in-out;
}

.footer-links li {
  margin-bottom: 10px;
  opacity: 0;
  animation: slideIn 0.4s ease-out forwards;
}

.footer-links a {
  color: #bdc3c7;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
  position: relative;
}

.footer-links a:hover {
  color: #3498db;
  transform: translateX(4px);
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideIn {
  from {
    transform: translateX(-10px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}
.footer-contact {
  flex: 1 1 300px;
}

.footer-contact p {
  margin-bottom: 15px;
  display: flex;
  align-items: flex-start;
  line-height: 1.6;
}

.footer-contact i {
  margin-right: 10px;
  color: #3498db;
  margin-top: 3px;
}

.copyright {
  background-color: #1a252f;
  padding: 1.25rem 0;
  text-align: center;
  margin-top: 3rem;
}

.copyright p {
  margin: 0;
  color: #bdc3c7;
  font-size: 0.85rem;
}

@media (max-width: 992px) {
  .footer-links {
    flex: 1 1 200px;
  }
}

@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    gap: 40px;
  }

  .footer-about,
  .footer-links,
  .footer-contact {
    flex: 1 1 auto;
  }

  .footer-contact p {
    text-align: center;
  }
}
