/* Custom CSS for Noor Cargo */

:root {
  --primary-color: #2563eb;
  --secondary-color: #1e3a8a;
  --light-bg: #f8f9fa;
}

/* Changed to Inter font family for entire website */
body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Navigation */
.navbar {
  background-color: var(--primary-color) !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
  font-size: 1.5rem;
}

.nav-link {
  font-weight: 500;
  transition: opacity 0.3s ease;
}

.nav-link:hover {
  opacity: 0.8;
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 600px;
  /* Removed background gradient and image for video */
  overflow: hidden;
}

/* Added video background styles */
.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  /* Darkened overlay for better text readability */
  background: rgba(30, 58, 138, 0.75);
  min-height: 600px;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 1;
}

.min-vh-75 {
  min-height: 75vh;
}

/* Added hero content animation */
.hero-content {
  animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Added Stats Section Styles */
.stat-item {
  animation: fadeIn 1s ease-out;
  animation-fill-mode: both;
}

.stat-item:nth-child(1) {
  animation-delay: 0.1s;
}
.stat-item:nth-child(2) {
  animation-delay: 0.2s;
}
.stat-item:nth-child(3) {
  animation-delay: 0.3s;
}
.stat-item:nth-child(4) {
  animation-delay: 0.4s;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary-color);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.95rem;
  color: #6b7280;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Feature Cards */
.feature-card {
  /* Removed border-radius */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: slideUp 0.6s ease-out;
  animation-fill-mode: both;
}

.feature-card:nth-child(1) {
  animation-delay: 0.1s;
}
.feature-card:nth-child(2) {
  animation-delay: 0.2s;
}
.feature-card:nth-child(3) {
  animation-delay: 0.3s;
}
.feature-card:nth-child(4) {
  animation-delay: 0.4s;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15) !important;
}

.feature-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  /* Removed border-radius to make it square */
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  font-size: 2rem;
  color: white;
  transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
  transform: rotate(5deg) scale(1.1);
}

/* Added Route Cards Styles */
.route-card {
  padding: 2rem;
  background: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  animation: fadeIn 0.8s ease-out;
  animation-fill-mode: both;
  border-left: 4px solid var(--primary-color);
}

.route-card:hover {
  transform: translateX(10px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.route-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
  margin-bottom: 1rem;
}

/* Process Numbers */
.process-number {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  /* Removed border-radius to make it square */
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  font-size: 2rem;
  font-weight: bold;
  color: white;
  transition: transform 0.3s ease;
}

.process-number:hover {
  transform: scale(1.15) rotate(5deg);
}

/* Replaced vehicle type card styles with auto-scrolling carousel */
/* Vehicle Carousel - Auto Scrolling */
.vehicle-carousel {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 2rem 0;
}

.vehicle-track {
  display: flex;
  gap: 2rem;
  animation: scroll 40s linear infinite;
  width: fit-content;
}

.vehicle-track:hover {
  animation-play-state: paused;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.vehicle-card {
  flex: 0 0 400px;
  background: white;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: all 0.4s ease;
}

.vehicle-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.vehicle-card-img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.vehicle-card:hover .vehicle-card-img {
  transform: scale(1.1);
}

.vehicle-card-title {
  padding: 1.5rem;
  text-align: center;
  font-weight: 700;
  font-size: 1.25rem;
  color: #1f2937;
  background: white;
}

/* Service Cards */
.service-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
  /* Removed border-radius */
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2) !important;
}

.service-card img {
  transition: transform 0.3s ease;
  /* Removed border-radius */
}

.service-card:hover img {
  transform: scale(1.05);
}

/* Added Testimonial Cards */
.testimonial-card {
  padding: 2rem;
  background: white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  animation: fadeIn 0.8s ease-out;
  animation-fill-mode: both;
  height: 100%;
}

.testimonial-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.stars i {
  color: #fbbf24;
  font-size: 1.1rem;
}

.testimonial-text {
  font-size: 1rem;
  line-height: 1.7;
  color: #374151;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-author {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 2px solid #e5e7eb;
}

/* Added Feature List Styles */
.feature-list {
  list-style: none;
  padding: 0;
}

.feature-list li {
  font-size: 1.1rem;
  display: flex;
  align-items: center;
}

.feature-list i {
  font-size: 1.3rem;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

/* Page Header */
.page-header {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

/* Stats */
.stat-card {
  background: white;
  /* Removed border-radius */
  transition: transform 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
}

.stat-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
}

/* Icon Box */
.icon-box {
  width: 50px;
  height: 50px;
  /* Removed border-radius */
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

/* Contact Info Cards */
.contact-info-card {
  transition: transform 0.3s ease;
}

.contact-info-card:hover {
  transform: translateX(5px);
}

/* Form Styling */
.form-control,
.form-select {
  border: 2px solid #e5e7eb;
  padding: 0.75rem;
  /* Removed border-radius */
}

.form-control:focus,
.form-select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.25);
}

/* Buttons */
.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  font-weight: 600;
  /* Removed border-radius */
}

.btn-primary:hover {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
}

.btn-success {
  font-weight: 600;
}

/* Remove all border-radius from buttons */
.btn {
  border-radius: 0 !important;
}

.btn-light:hover {
  background-color: #f8f9fa;
}

/* Remove border-radius from badges */
.badge {
  border-radius: 0 !important;
}

/* Remove border-radius from cards */
.card {
  border-radius: 0 !important;
}

.card-img-top {
  border-radius: 0 !important;
}

/* Smooth Scroll */
html {
  scroll-behavior: smooth;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero-section {
    min-height: 500px;
  }

  .display-4 {
    font-size: 2rem;
  }

  .display-5 {
    font-size: 1.75rem;
  }
}

/* Privacy*/
.privacy-content {
            max-width: 900px;
            margin: 0 auto;
            padding: 0 1rem 4rem;
        }
        
        .privacy-content h1 {
            color: #1f2937;
            font-weight: 800;
            margin-bottom: 1rem;
            font-size: 2.5rem;
        }
        
        .privacy-content h2 {
            color: #2563eb;
            font-weight: 700;
            margin-top: 3rem;
            margin-bottom: 1.5rem;
            font-size: 1.75rem;
            padding-bottom: 0.5rem;
            border-bottom: 3px solid #2563eb;
        }
        
        .privacy-content h3 {
            color: #1e3a8a;
            font-weight: 600;
            margin-top: 2rem;
            margin-bottom: 1rem;
            font-size: 1.35rem;
        }
        
        .privacy-content p {
            color: #4b5563;
            line-height: 1.8;
            margin-bottom: 1.25rem;
            font-size: 1.05rem;
        }
        
        .privacy-content ul {
            color: #4b5563;
            line-height: 1.8;
            margin-bottom: 1.5rem;
            padding-left: 2rem;
        }
        
        .privacy-content ul li {
            margin-bottom: 0.75rem;
            font-size: 1.05rem;
        }
        
        .privacy-content strong {
            color: #1f2937;
            font-weight: 600;
        }
        
        .last-updated {
            color: #6b7280;
            font-size: 0.95rem;
            font-style: italic;
            margin-bottom: 2rem;
            padding: 1rem;
            background: #f3f4f6;
            border-left: 4px solid #2563eb;
        }
        
        .contact-box {
            background: linear-gradient(135deg, #2563eb 0%, #1e3a8a 100%);
            color: white;
            padding: 2rem;
            margin-top: 3rem;
            text-align: center;
        }
        
        .contact-box h3 {
            color: white;
            font-weight: 700;
            margin-bottom: 1rem;
        }
        
        .contact-box p {
            color: white;
            margin-bottom: 0.5rem;
        }
        
        .contact-box a {
            color: #fbbf24;
            text-decoration: none;
            font-weight: 600;
        }
        
        .contact-box a:hover {
            color: #f59e0b;
        }
        
        .section-divider {
            height: 2px;
            background: linear-gradient(to right, transparent, #e5e7eb, transparent);
            margin: 2.5rem 0;
        }
        
        .btn-primary {
            background-color: #2563eb;
            border-color: #2563eb;
            font-weight: 600;
            border-radius: 0 !important;
        }
        
        .btn-primary:hover {
            background-color: #1e3a8a;
            border-color: #1e3a8a;
        }


.login-btn {
  background: #f8fafc;             
  color: #2563eb !important;        
  padding: 8px 18px;
  border-radius: 9px;            
  font-weight: 600;
  border: 1px solid #e5e7eb;
  transition: all 0.3s ease;
  width: 100px;
  text-align: center;
}

/* Hover effect */
.login-btn:hover {
  background: #2563eb;
  color: #ffffff !important;
  border-color: #f8fafc;
}
