/* Custom styles for BHARATI EXPRESS LOGISTICS */

:root {
  --primary-color: #3b82f6;
  --primary-dark: #2563eb;
  --primary-light: #93c5fd;
  --text-dark: #1f2937;
  --text-light: #4b5563;
  --background-light: #f9fafb;
  --transition-default: all 0.3s ease;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
}

/* Typography Enhancements */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.5em;
}

h1 {
  font-size: 2.5rem;
  letter-spacing: -0.025em;
}

h2 {
  font-size: 2rem;
  letter-spacing: -0.025em;
}

/* Utility classes */
.text-gradient {
  background: linear-gradient(90deg, var(--primary-dark), var(--primary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-title {
  position: relative;
  display: inline-block;
  margin-bottom: 1.5rem;
}

.section-title::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-dark), var(--primary-color));
  margin: 8px auto 0;
}

.text-left .section-title::after {
  margin-left: 0;
}

/* Slider styles */
.swiper-container {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.hero-slider {
  margin-bottom: 20px;
}

.hero-slider .swiper-slide {
  text-align: center;
  background: #fff;
}

.hero-slider .swiper-button-next,
.hero-slider .swiper-button-prev {
  color: #fff;
  background: rgba(0, 0, 0, 0.3);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  transition: var(--transition-default);
}

.hero-slider .swiper-button-next:hover,
.hero-slider .swiper-button-prev:hover {
  background: rgba(0, 0, 0, 0.5);
}

.hero-slider .swiper-button-next:after,
.hero-slider .swiper-button-prev:after {
  font-size: 18px;
}

.hero-slider .swiper-pagination {
  position: absolute;
  bottom: 20px;
  width: 100%;
  text-align: center;
}

.hero-slider .swiper-pagination-bullet {
  background: #fff;
  opacity: 0.7;
  width: 10px;
  height: 10px;
  transition: var(--transition-default);
  margin: 0 5px;
}

.hero-slider .swiper-pagination-bullet-active {
  background: var(--primary-color);
  opacity: 1;
  width: 12px;
  height: 12px;
}

/* Tracking form styles */
.tracking-form {
  background: white;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  padding: 24px;
}

.tracking-form input {
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 12px 16px;
  transition: all 0.3s ease;
}

.tracking-form input:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.3);
}

.testimonial-slider .swiper-slide {
  height: auto;
  padding: 10px;
}

.testimonial-slider .swiper-pagination {
  position: relative;
  bottom: 0;
  margin-top: 30px;
}

/* Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

.animate-fadeIn {
  animation: fadeIn 0.5s ease-out forwards;
}

.animate-slideInLeft {
  animation: slideInLeft 0.5s ease-out forwards;
}

.animate-slideInRight {
  animation: slideInRight 0.5s ease-out forwards;
}

.delay-100 {
  animation-delay: 0.1s;
}

.delay-200 {
  animation-delay: 0.2s;
}

.delay-300 {
  animation-delay: 0.3s;
}

/* Transitions */
.transition-all {
  transition: var(--transition-default);
}

/* Mobile menu animation */
.mobile-menu-open {
  max-height: 500px;
  opacity: 1;
}

.mobile-menu-closed {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
}

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-dark);
}

/* Form styling */
input, 
textarea, 
select {
  border: 1px solid #e5e7eb;
  border-radius: 0.375rem;
  padding: 0.75rem 1rem;
  width: 100%;
  transition: var(--transition-default);
}

/* Form focus states */
input:focus, 
textarea:focus, 
select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

/* Button styling */
.btn {
  display: inline-block;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  text-align: center;
  transition: var(--transition-default);
  cursor: pointer;
}

.btn-primary {
  background-color: var(--primary-color);
  color: white;
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}

.btn-outline:hover {
  background-color: var(--primary-color);
  color: white;
  transform: translateY(-2px);
}

.btn-gradient {
  background: linear-gradient(90deg, var(--primary-dark), var(--primary-color));
  color: white;
}

.btn-gradient:hover {
  background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(59, 130, 246, 0.2);
}

/* Card styling */
.card {
  background-color: white;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  transition: var(--transition-default);
}

.card-hover:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Image styling */
.img-rounded {
  border-radius: 0.5rem;
  overflow: hidden;
}

.img-shadow {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.img-border {
  border: 4px solid white;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

.img-highlight {
  position: relative;
}

.img-highlight::before {
  content: '';
  position: absolute;
  top: -10px;
  left: -10px;
  width: calc(100% + 20px);
  height: calc(100% + 20px);
  border: 2px solid var(--primary-color);
  border-radius: 8px;
  z-index: -1;
}

/* Custom spacing for sections */
.section-spacing {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

/* Header styles */
header {
  transition: var(--transition-default);
}

.header-scroll {
  background-color: white;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.header-transparent {
  background-color: transparent;
  box-shadow: none;
}

/* Footer styling */
footer a:hover {
  color: var(--primary-light) !important;
}