/* 
* SpeedoExpress - Delivery Unlimited
* Modern Astonishing Design
*/

:root {
  --primary: #093B66;
  --primary-dark: #000D2B;
  --primary-light: #1a5a8a;
  --secondary: #B11E1C;
  --secondary-light: #C32B2A;
  --secondary-gradient: linear-gradient(135deg, #B11E1C 0%, #C32B2A 100%);
  --primary-gradient: linear-gradient(135deg, #093B66 0%, #000D2B 100%);
  --bg: #FFFFFF;
  --text: #1F2937;
  --light-color: #f8f9fa;
  --dark-color: #343a40;
  --success-color: #28a745;
  --danger-color: #dc3545;
  --warning-color: #ffc107;
  --info-color: #17a2b8;
  --gray-color: #6c757d;
  --light-gray: #e9ecef;
  --glass-bg: rgba(255, 255, 255, 0.1);
  --glass-border: rgba(255, 255, 255, 0.2);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
  --shadow-xl: 0 16px 64px rgba(0, 0, 0, 0.2);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', 'Roboto', Arial, sans-serif;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--bg);
  overflow-x: hidden;
}

body.modal-open {
  overflow: hidden;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

a:hover {
  color: var(--secondary);
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-sm);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  padding: 15px 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-md);
  padding: 10px 0;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  max-height: 60px;
  transition: all 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 10px;
}

.nav-item {
  position: relative;
}

.nav-link {
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 10px 20px;
  border-radius: 8px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.nav-link:hover {
  color: var(--primary);
  background: rgba(9, 59, 102, 0.05);
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  background: var(--secondary-gradient);
  bottom: 5px;
  left: 50%;
  transform: translateX(-50%);
  transition: width 0.3s ease;
  border-radius: 2px;
}

.nav-link:hover::after {
  width: 60%;
}

.signin-btn {
  background: var(--secondary-gradient);
  color: #fff !important;
  padding: 10px 25px;
  border-radius: 12px;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-sm);
}

.signin-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  background: linear-gradient(135deg, #C32B2A 0%, #B11E1C 100%);
}

.signin-btn::after {
  display: none;
}

.mobile-menu-btn {
  display: none;
  cursor: pointer;
  font-size: 24px;
  color: var(--text);
  transition: all 0.3s ease;
  background: none;
  border: none;
  padding: 10px;
}

.mobile-menu-btn:hover {
  color: var(--primary);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  position: relative;
  color: #fff;
  padding: 160px 0 100px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 200%;
  background: radial-gradient(circle, rgba(177, 30, 28, 0.1) 0%, transparent 70%);
  animation: float 20s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(-50px, 50px) rotate(180deg); }
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -50%;
  left: -50%;
  width: 100%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
  animation: float 25s ease-in-out infinite reverse;
}

.hero .container {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.hero-tag {
  display: inline-block;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  color: #fff;
  padding: 10px 25px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 25px;
  animation: fadeInDown 1s ease;
}

.hero h1 {
  font-size: 4rem;
  margin-bottom: 25px;
  font-weight: 800;
  line-height: 1.1;
  animation: fadeInUp 1s ease 0.2s both;
  background: linear-gradient(135deg, #fff 0%, rgba(255, 255, 255, 0.8) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero h1 .highlight {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

.hero-description {
  font-size: 1.2rem;
  max-width: 650px;
  margin: 0 0 45px;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.9);
  animation: fadeInUp 1s ease 0.4s both;
  font-weight: 300;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  animation: fadeInUp 1s ease 0.6s both;
}

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

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

.btn {
  display: inline-block;
  padding: 16px 40px;
  border-radius: 50px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: none;
  font-size: 0.9rem;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: var(--secondary-gradient);
  color: #fff;
  box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  background: linear-gradient(135deg, #C32B2A 0%, #B11E1C 100%);
}

.btn-outline {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* Stats Section */
.stats {
  padding: 80px 0;
  background: linear-gradient(180deg, #fff 0%, var(--light-color) 100%);
  position: relative;
  margin-top: -80px;
  z-index: 10;
  border-radius: 40px 40px 0 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.stat-item {
  text-align: center;
  padding: 40px 25px;
  background: #fff;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.stat-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--secondary-gradient);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.stat-item:hover::before {
  transform: scaleX(1);
}

.stat-item:hover {
  transform: translateY(-15px);
  box-shadow: var(--shadow-xl);
}

.stat-icon {
  font-size: 3rem;
  color: var(--primary);
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.stat-item:hover .stat-icon {
  transform: scale(1.1) rotate(5deg);
  color: var(--secondary);
}

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 10px;
  line-height: 1;
}

.stat-label {
  font-size: 1rem;
  color: var(--gray-color);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Tracking Section */
.tracking {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--light-color) 0%, #fff 100%);
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: 3rem;
  color: var(--primary-dark);
  position: relative;
  display: inline-block;
  margin-bottom: 20px;
  font-weight: 800;
}

.section-title h2::after {
  content: '';
  position: absolute;
  width: 100px;
  height: 4px;
  background: var(--secondary-gradient);
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
}

.section-title p {
  font-size: 1.1rem;
  color: var(--gray-color);
  max-width: 600px;
  margin: 0 auto;
}

.tracking-form {
  max-width: 700px;
  margin: 0 auto;
  background: #fff;
  padding: 40px;
  border-radius: 24px;
  box-shadow: var(--shadow-xl);
  position: relative;
  overflow: hidden;
}

.tracking-form::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--secondary-gradient);
}

.form-group {
  margin-bottom: 25px;
}

.form-control {
  width: 100%;
  padding: 18px 25px;
  border: 2px solid var(--light-gray);
  border-radius: 12px;
  font-size: 16px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: var(--light-color);
}

.form-control:focus {
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 0 4px rgba(9, 59, 102, 0.1);
  background: #fff;
}

.tracking-form .btn {
  width: 100%;
  padding: 18px 40px;
  font-size: 1rem;
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  animation: fadeIn 0.3s ease;
}

.modal-content {
  background: #fff;
  margin: 8% auto;
  padding: 50px;
  border-radius: 24px;
  box-shadow: var(--shadow-xl);
  width: 90%;
  max-width: 800px;
  position: relative;
  animation: slideIn 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.close-modal {
  position: absolute;
  right: 25px;
  top: 20px;
  font-size: 32px;
  font-weight: bold;
  color: var(--gray-color);
  cursor: pointer;
  transition: all 0.3s ease;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--light-color);
}

.close-modal:hover {
  color: var(--secondary);
  background: rgba(177, 30, 28, 0.1);
  transform: rotate(90deg);
}

@keyframes slideIn {
  from {
    transform: translateY(-50px) scale(0.95);
    opacity: 0;
  }
  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

.tracking-result {
  margin-top: 40px;
}

.tracking-timeline {
  position: relative;
  padding-left: 40px;
}

.timeline-item {
  position: relative;
  padding-bottom: 40px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--secondary-gradient);
  left: -40px;
  top: 8px;
  box-shadow: 0 0 0 4px rgba(177, 30, 28, 0.2);
}

.timeline-item::after {
  content: '';
  position: absolute;
  width: 3px;
  height: 100%;
  background: linear-gradient(180deg, var(--primary) 0%, var(--light-gray) 100%);
  left: -31.5px;
  top: 8px;
  border-radius: 2px;
}

.timeline-item:last-child::after {
  display: none;
}

.timeline-date {
  font-size: 14px;
  color: var(--gray-color);
  margin-bottom: 8px;
  font-weight: 500;
}

.timeline-content {
  background: var(--light-color);
  padding: 20px;
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--secondary);
}

/* About Us Section */
.about {
  padding: 120px 0;
  background: linear-gradient(180deg, #fff 0%, var(--light-color) 100%);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text {
  padding-right: 0;
}

.about-text h3 {
  font-size: 2.5rem;
  color: var(--primary-dark);
  margin-bottom: 25px;
  font-weight: 800;
  line-height: 1.2;
}

.about-text p {
  font-size: 1.1rem;
  color: var(--gray-color);
  line-height: 1.9;
  margin-bottom: 20px;
}

.about-image {
  position: relative;
}

.about-image img {
  max-width: 100%;
  border-radius: 24px;
  box-shadow: var(--shadow-xl);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-image::before {
  content: '';
  position: absolute;
  top: -20px;
  right: -20px;
  width: 100%;
  height: 100%;
  border: 3px solid var(--secondary);
  border-radius: 24px;
  z-index: -1;
  opacity: 0.3;
}

.about-image:hover img {
  transform: translateY(-10px);
}

/* How It Works Section */
.how-it-works {
  padding: 120px 0;
  background: linear-gradient(180deg, var(--light-color) 0%, #fff 100%);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 60px;
}

.step {
  text-align: center;
  padding: 50px 30px;
  background: #fff;
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.step::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--primary-gradient);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.step:hover::before {
  transform: scaleX(1);
}

.step:hover {
  transform: translateY(-15px);
  box-shadow: var(--shadow-xl);
}

.step-icon {
  width: 80px;
  height: 80px;
  background: var(--primary-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  font-size: 2rem;
  color: #fff;
  transition: all 0.3s ease;
}

.step:hover .step-icon {
  transform: scale(1.1) rotate(10deg);
}

.step h3 {
  margin-bottom: 15px;
  color: var(--primary-dark);
  font-size: 1.4rem;
  font-weight: 700;
}

.step p {
  color: var(--gray-color);
  line-height: 1.7;
}

/* Engagements Section */
.engagements {
  padding: 120px 0;
  background: linear-gradient(180deg, #fff 0%, var(--light-color) 100%);
}

.engagement-items {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-top: 60px;
}

.engagement-item {
  display: flex;
  align-items: flex-start;
  padding: 40px;
  background: #fff;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.engagement-item:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
}

.engagement-icon {
  width: 70px;
  height: 70px;
  background: var(--secondary-gradient);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: #fff;
  margin-right: 25px;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

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

.engagement-content h3 {
  margin-bottom: 15px;
  color: var(--primary-dark);
  font-size: 1.3rem;
  font-weight: 700;
}

.engagement-content p {
  color: var(--gray-color);
  line-height: 1.7;
}

/* Services Section */
.services {
  padding: 120px 0;
  background: linear-gradient(180deg, var(--light-color) 0%, #fff 100%);
}

.service-items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 60px;
}

.service-item {
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-item:hover {
  transform: translateY(-15px);
  box-shadow: var(--shadow-xl);
}

.service-image {
  height: 250px;
  overflow: hidden;
  position: relative;
}

.service-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--primary-gradient);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-item:hover .service-image::before {
  opacity: 0.3;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.5s ease;
}

.service-item:hover .service-image img {
  transform: scale(1.1);
}

.service-content {
  padding: 30px;
}

.service-content h3 {
  margin-bottom: 15px;
  color: var(--primary-dark);
  font-size: 1.4rem;
  font-weight: 700;
}

.service-content p {
  color: var(--gray-color);
  line-height: 1.7;
}

/* Cities and Fees Section */
.cities-fees {
  padding: 120px 0;
  background: linear-gradient(180deg, #fff 0%, var(--light-color) 100%);
}

.cities-search {
  margin-bottom: 40px;
}

.search-form {
  max-width: 600px;
  margin: 0 auto;
}

.search-group {
  position: relative;
}

.search-btn {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  background: var(--secondary-gradient);
  color: #fff;
  border: none;
  padding: 0 30px;
  border-top-right-radius: 12px;
  border-bottom-right-radius: 12px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 1.1rem;
}

.search-btn:hover {
  background: linear-gradient(135deg, #C32B2A 0%, #B11E1C 100%);
  transform: translateX(-2px);
}

.pagination-container {
  margin-top: 40px;
}

.pagination {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 10px;
}

.page-link {
  display: inline-block;
  padding: 12px 20px;
  background: #fff;
  color: var(--text);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-weight: 500;
}

.page-link:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.page-link.active {
  background: var(--secondary-gradient);
  color: #fff;
  box-shadow: var(--shadow-md);
}

.page-ellipsis {
  display: inline-block;
  padding: 12px 20px;
  color: var(--gray-color);
  font-weight: 500;
}

.cities-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin-top: 40px;
  background: #fff;
  box-shadow: var(--shadow-xl);
  border-radius: 20px;
  overflow: hidden;
}

.cities-table thead {
  background: var(--primary-gradient);
}

.cities-table th,
.cities-table td {
  padding: 20px;
  text-align: left;
  border-bottom: 1px solid var(--light-gray);
}

.cities-table th {
  color: #fff;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
}

.cities-table tbody tr {
  transition: all 0.3s ease;
}

.cities-table tbody tr:hover {
  background: rgba(9, 59, 102, 0.05);
  transform: scale(1.01);
}

.cities-table tbody tr:last-child td {
  border-bottom: none;
}

/* Signup Section */
.signup {
  padding: 120px 0;
  background: var(--primary-gradient);
  position: relative;
  overflow: hidden;
}

.signup::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
  animation: float 30s ease-in-out infinite;
}

.signup .section-title h2 {
  color: #fff;
}

.signup .section-title p {
  color: rgba(255, 255, 255, 0.8);
}

.signup-form {
  max-width: 700px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 50px;
  border-radius: 24px;
  box-shadow: var(--shadow-xl);
  position: relative;
}

.signup-form h2 {
  color: var(--primary-dark);
  text-align: center;
  margin-bottom: 40px;
  font-size: 2rem;
  font-weight: 800;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-col {
  flex: 1;
}

.form-message {
  margin-top: 25px;
  padding: 15px;
  border-radius: 12px;
  text-align: center;
  display: none;
  font-weight: 500;
}

.form-message.success {
  background: linear-gradient(135deg, var(--success-color) 0%, #1e7e34 100%);
  color: #fff;
}

.form-message.error {
  background: linear-gradient(135deg, var(--danger-color) 0%, #c82333 100%);
  color: #fff;
}

/* Terms and Conditions Styles */
.terms-group {
  margin: 25px 0;
}

.checkbox-container {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.form-checkbox {
  width: 20px;
  height: 20px;
  cursor: pointer;
  accent-color: var(--primary);
  margin-top: 3px;
}

.terms-link {
  color: var(--primary);
  text-decoration: underline;
  font-weight: 500;
  transition: all 0.3s ease;
}

.terms-link:hover {
  color: var(--secondary);
}

/* Footer */
.footer {
  background: var(--primary-dark);
  color: #fff;
  padding: 80px 0 40px;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--secondary-gradient);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.footer-col {
  margin-bottom: 30px;
}

.footer-logo {
  max-width: 150px;
  margin-bottom: 25px;
  transition: all 0.3s ease;
}

.footer-logo:hover {
  transform: scale(1.05);
}

.footer-col p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: #fff;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 1.1rem;
}

.social-link:hover {
  background: var(--secondary-gradient);
  transform: translateY(-5px) rotate(5deg);
  box-shadow: var(--shadow-lg);
}

.footer h4 {
  font-size: 1.3rem;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 15px;
  font-weight: 700;
}

.footer h4::after {
  content: '';
  position: absolute;
  width: 60px;
  height: 3px;
  background: var(--secondary-gradient);
  bottom: 0;
  left: 0;
  border-radius: 2px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-links a:hover {
  color: #fff;
  transform: translateX(5px);
}

.footer-links a i {
  color: var(--secondary);
  font-size: 0.9rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 40px;
  margin-top: 40px;
  text-align: center;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.7);
}

/* Responsive Styles */
@media (max-width: 1200px) {
  .container {
    max-width: 960px;
  }
  
  .hero h1 {
    font-size: 3.5rem;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .engagement-items {
    grid-template-columns: 1fr;
  }
  
  .service-items {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 992px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow-xl);
    flex-direction: column;
    padding: 30px 0;
    border-radius: 0 0 20px 20px;
  }
  
  .nav-menu .nav-link {
    color: var(--text);
    text-shadow: none;
    padding: 15px 20px;
  }
  
  .nav-menu.active {
    display: flex;
  }
  
  .nav-item {
    margin: 5px 0;
    text-align: center;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .hero h1 {
    font-size: 2.8rem;
  }
  
  .hero {
    padding: 140px 0 100px;
  }
  
  .hero-buttons {
    flex-direction: column;
  }
  
  .btn {
    width: 100%;
    text-align: center;
  }
  
  .about-content {
    grid-template-columns: 1fr;
  }
  
  .about-text {
    margin-bottom: 40px;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.2rem;
  }
  
  .hero-description {
    font-size: 1rem;
  }
  
  .hero-tag {
    font-size: 0.75rem;
    padding: 8px 20px;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .steps {
    grid-template-columns: 1fr;
  }
  
  .service-items {
    grid-template-columns: 1fr;
  }
  
  .engagement-items {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
  }
  
  .section-title h2 {
    font-size: 2rem;
  }
  
  .tracking-form,
  .signup-form {
    padding: 30px;
  }
  
  .modal-content {
    padding: 30px;
    margin: 15% auto;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.8rem;
  }
  
  .hero-description {
    font-size: 0.95rem;
  }
  
  .stat-number {
    font-size: 2.5rem;
  }
  
  .section-title h2 {
    font-size: 1.8rem;
  }
  
  .btn {
    padding: 14px 30px;
    font-size: 0.85rem;
  }
}

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

.animate {
  animation: fadeIn 0.8s ease forwards;
}

/* API Documentation Styles */
.api-documentation {
  padding: 150px 0 80px;
  background-color: var(--light-color);
}

.api-documentation .section-title h1 {
  font-size: 2.8rem;
  color: var(--primary-dark);
  margin-bottom: 15px;
}

.api-section {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  padding: 30px;
  margin-bottom: 40px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.api-section h2 {
  color: var(--primary);
  font-size: 1.8rem;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--light-gray);
  position: relative;
}

.api-section h2::after {
  content: '';
  position: absolute;
  width: 80px;
  height: 3px;
  background-color: var(--secondary);
  bottom: -2px;
  left: 0;
}

.api-content {
  margin-top: 20px;
}

.api-content p {
  margin-bottom: 15px;
  line-height: 1.7;
}

.code-block {
  background-color: var(--primary-dark);
  color: #fff;
  padding: 20px;
  border-radius: 5px;
  font-family: 'Courier New', monospace;
  overflow-x: auto;
  margin: 20px 0;
  position: relative;
  border-left: 4px solid var(--secondary);
}

.api-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  border-radius: 5px;
  overflow: hidden;
}

.api-table th,
.api-table td {
  padding: 15px;
  text-align: left;
  border-bottom: 1px solid var(--light-gray);
}

.api-table th {
  background-color: var(--primary);
  color: #fff;
  font-weight: 600;
}

.api-table tr:last-child td {
  border-bottom: none;
}

.api-table tr:hover {
  background-color: rgba(9, 59, 102, 0.05);
}

@media (max-width: 768px) {
  .api-documentation {
    padding: 120px 0 60px;
  }
  
  .api-documentation .section-title h1 {
    font-size: 2.2rem;
  }
  
  .api-section {
    padding: 20px;
  }
  
  .api-section h2 {
    font-size: 1.5rem;
  }
  
  .api-table th,
  .api-table td {
    padding: 10px;
    font-size: 14px;
  }
}
