/* CSS Variables - Your Original Colors */
:root {
  --primary: #2d3a8f;
  --primary-dark: #1e2a78;
  --primary-light: #3d4ab0;
  --secondary: #f59e0b;
  --accent: #ef4444;
  --success: #10b981;
  --dark: #1f2937;
  --darker: #111827;
  --light: #f8fafc;
  --gray: #6b7280;
  --light-gray: #e5e7eb;
  --border-radius: 12px;
  --border-radius-lg: 20px;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --gradient: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-light) 100%
  );
}

/* Reset and Base Styles - Mobile First */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 14px;
}

body {
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  color: var(--dark);
  background-color: var(--light);
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Typography - Mobile First */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: 2rem;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

h2 {
  font-size: 1.75rem;
  color: var(--darker);
}

h3 {
  font-size: 1.5rem;
  color: var(--dark);
}

p {
  margin-bottom: 1rem;
  color: var(--gray);
  font-size: 0.95rem;
}

.section-title {
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--gradient);
  border-radius: 2px;
}

/* Buttons - Mobile First */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: var(--border-radius);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  width: 100%;
  justify-content: center;
  text-align: center;
}

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

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

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

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: var(--secondary);
  color: var(--darker);
  box-shadow: var(--shadow);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  background: #e6a328;
}

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

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

/* Header Styles - Mobile First */
.header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: var(--transition);
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  z-index: 1001;
}

.logo-icon {
  width: 35px;
  height: 35px;
  background: var(--gradient);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 1rem;
}

.logo-text {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--darker);
}

.logo-text span {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Mobile Menu */
.mobile-menu-btn {
  display: block;
  background: none;
  border: none;
  font-size: 1.25rem;
  color: var(--dark);
  cursor: pointer;
  padding: 0.5rem;
  border-radius: var(--border-radius);
  transition: var(--transition);
  z-index: 1001;
}

.nav-menu {
  position: fixed;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100vh;
  background: white;
  flex-direction: column;
  padding: 5rem 1rem 2rem;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
  z-index: 1000;
  overflow-y: auto;
}

.nav-menu.active {
  left: 0;
}

.nav-menu li {
  margin: 0;
  width: 100%;
}

.nav-link {
  display: block;
  text-decoration: none;
  color: var(--dark);
  font-weight: 500;
  padding: 0.75rem 1rem;
  border-radius: var(--border-radius);
  transition: var(--transition);
  width: 100%;
  text-align: left;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
  background: var(--light-gray);
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 1rem;
  right: 1rem;
  height: 2px;
  background: var(--gradient);
  border-radius: 2px;
}

/* Hero Section */
.hero {
  background: linear-gradient(
    135deg,
    rgba(45, 58, 143, 0.1) 0%,
    rgba(61, 74, 176, 0.05) 100%
  );
  padding: 6rem 0 3rem;
  position: relative;
  overflow: hidden;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-text {
  text-align: center;
}

.hero-text h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero-text p {
  font-size: 1rem;
  margin-bottom: 1.5rem;
  color: var(--gray);
}

.hero-btns {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

.hero-btns .btn {
  width: 100%;
  justify-content: center;
}

.hero-image {
  position: relative;
  width: 100%;
  order: -1;
}

.hero-main-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-xl);
}

/* Floating Elements */
.floating-element {
  position: absolute;
  background: white;
  padding: 1rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  animation: float 3s ease-in-out infinite;
  z-index: 2;
  max-width: 160px;
}

.floating-element i {
  font-size: 1.5rem;
  color: var(--primary);
}

.floating-element strong {
  font-size: 0.8rem;
  color: var(--darker);
  display: block;
}

.floating-element p {
  font-size: 0.7rem;
  color: var(--gray);
  margin: 0;
}

.delivery-speed {
  top: 10%;
  left: -5%;
  animation-delay: 0s;
}

.delivery-speed2 {
  top: 60%;
  left: -3%;
  animation-delay: 1s;
}

.global-reach {
  bottom: 20%;
  right: -5%;
  animation-delay: 1.5s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* Hero Stats */
.hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-item {
  text-align: center;
  background: rgba(255, 255, 255, 0.1);
  padding: 1rem;
  border-radius: var(--border-radius);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-number {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: var(--secondary);
}

.stat-label {
  font-size: 0.8rem;
  opacity: 0.9;
}

/* Tracking Section */
.tracking-section {
  background: var(--darker);
  color: white;
  padding: 3rem 0;
}

.tracking-container {
  width: 100%;
}

.tracking-form {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: white;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--border-radius);
  background: rgba(255, 255, 255, 0.1);
  color: white;
  font-size: 1rem;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  background: rgba(255, 255, 255, 0.15);
}

.form-control::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.radio-group {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.radio-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  color: white;
}

.radio-input {
  width: 18px;
  height: 18px;
}

/* Enhanced Page Header with Background Image */
.page-header {
  background: linear-gradient(
      135deg,
      rgba(45, 58, 143, 0.88) 0%,
      rgba(61, 74, 176, 0.82) 100%
    ),
    url("https://images.unsplash.com/photo-1553413077-190dd305871c?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80")
      center/cover no-repeat;
  color: white;
  padding: 9rem 0 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" fill="white" opacity="0.05"><polygon points="0,0 1000,50 1000,100 0,100"/></svg>');
  background-size: cover;
}

.page-title {
  font-size: 2.8rem;
  margin-bottom: 1.5rem;
  color: white;
  font-weight: 700;
  position: relative;
  z-index: 2;
}

/* Modern Breadcrumb Styles */
.breadcrumb {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  list-style: none;
  font-size: 0.95rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
  position: relative;
  z-index: 2;
  padding: 0;
}

.breadcrumb-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.breadcrumb-item:not(:last-child)::after {
  content: "›";
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.3rem;
  font-weight: 300;
  margin-left: 0.5rem;
}

.breadcrumb-item a {
  color: rgba(255, 255, 255, 0.95);
  text-decoration: none;
  transition: var(--transition);
  padding: 0.6rem 1.2rem;
  border-radius: 25px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-weight: 500;
}

.breadcrumb-item a:hover {
  color: white;
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.breadcrumb-item.active {
  color: white;
  font-weight: 600;
  padding: 0.6rem 1.5rem;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 25px;
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Services Section */
.services {
  padding: 3rem 0;
  background: var(--light);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.service-card {
  background: white;
  padding: 2rem 1.5rem;
  border-radius: var(--border-radius);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: var(--transition);
  text-align: center;
  position: relative;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.service-icon {
  width: 80px;
  height: 80px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  color: white;
  box-shadow: 0 8px 20px rgba(45, 58, 143, 0.3);
}

.service-title {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: var(--darker);
  font-weight: 700;
}

.service-description {
  color: var(--gray);
  margin-bottom: 1.5rem;
  font-size: 1rem;
  line-height: 1.6;
  flex-grow: 1;
}

.service-features {
  text-align: left;
  color: var(--dark);
  margin-bottom: 2rem;
  flex-grow: 1;
  list-style: none;
  padding: 0;
}

.service-features li {
  margin-bottom: 0.75rem;
  padding-left: 2rem;
  position: relative;
  font-size: 0.95rem;
  line-height: 1.5;
}

.service-features li:before {
  content: "✓";
  color: var(--success);
  font-weight: bold;
  position: absolute;
  left: 0.5rem;
  font-size: 1.1rem;
}

.service-card .btn-outline {
  margin-top: auto;
  border: 2px solid var(--primary);
  color: var(--primary);
  font-weight: 600;
  padding: 0.75rem 1.5rem;
}

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

/* Features Section */
.features {
  padding: 3rem 0;
  background: white;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.feature-card {
  text-align: center;
  padding: 1.5rem;
  background: white;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.25rem;
  color: white;
}

.feature-title {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--darker);
}

/* CTA Section */
.cta-section {
  background: var(--gradient);
  color: white;
  padding: 3rem 0;
  text-align: center;
}

.cta-content {
  width: 100%;
}

.cta-title {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  color: white;
}

.cta-description {
  font-size: 1rem;
  margin-bottom: 1.5rem;
  opacity: 0.9;
  color: white;
}

.cta-btns {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

/* Content Section Improvements */
.content-section {
  padding: 5rem 0;
}

.content-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

.content-image {
  width: 100%;
  order: -1;
}

.content-image img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-xl);
}

.content-text {
  text-align: center;
}

.content-text h2 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  color: var(--darker);
}

.content-text p {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  color: var(--gray);
}

/* Footer */
.footer {
  background: var(--darker);
  color: white;
  padding: 3rem 0 0;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-col h3 {
  color: white;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

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

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-link {
  color: #9ca3af;
  text-decoration: none;
  transition: var(--transition);
  font-size: 0.9rem;
}

.footer-link:hover {
  color: white;
  padding-left: 5px;
}

.contact-info {
  list-style: none;
}

.contact-info li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  color: #9ca3af;
  font-size: 0.9rem;
}

.contact-info i {
  color: var(--primary);
  margin-top: 2px;
}

.footer-bottom {
  border-top: 1px solid #374151;
  padding: 1.5rem 0;
  text-align: center;
  color: #9ca3af;
  font-size: 0.8rem;
}

/* Team Section */
.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.team-card {
  background: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  text-align: center;
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.team-image {
  width: 100%;
  height: 200px;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2rem;
}

.team-info {
  padding: 1.5rem;
}

.team-name {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--darker);
}

.team-position {
  color: var(--primary);
  font-weight: 500;
  margin-bottom: 1rem;
}

/* Contact Form */
.contact-form {
  background: white;
  padding: 1.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

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

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

/* Map Section */
.map-section {
  height: 300px;
  background: var(--light-gray);
  border-radius: var(--border-radius);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray);
}

/* Button Visibility Fixes */
.hero-btns .btn-outline {
  color: var(--primary) !important;
  border-color: var(--primary) !important;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-width: 2px;
  font-weight: 600;
}

.hero-btns .btn-outline:hover {
  background: var(--primary);
  color: white !important;
  border-color: var(--primary) !important;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.cta-section .btn-outline {
  color: white !important;
  border-color: white !important;
  background: transparent;
  border-width: 2px;
}

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

/* Utility Classes */
.text-center {
  text-align: center;
}
.mb-0 {
  margin-bottom: 0;
}
.mt-2 {
  margin-top: 1rem;
}
.mt-4 {
  margin-top: 2rem;
}
.mb-4 {
  margin-bottom: 2rem;
}
.text-primary {
  color: var(--primary);
}
.bg-light {
  background: var(--light);
}

/* Loading Animation */
.loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Tablet Styles */
@media (min-width: 768px) {
  html {
    font-size: 16px;
  }

  .container {
    padding: 0 2rem;
  }

  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 2rem;
  }

  h3 {
    font-size: 1.75rem;
  }

  .btn {
    width: auto;
    font-size: 1rem;
    padding: 1rem 2rem;
  }

  .hero-content {
    grid-template-columns: 1fr 1fr;
  }

  .hero-text {
    text-align: left;
  }

  .hero-image {
    order: 0;
  }

  .hero-btns {
    flex-direction: row;
  }

  .hero-btns .btn {
    width: auto;
  }

  .hero-stats {
    grid-template-columns: repeat(4, 1fr);
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }

  .service-card {
    padding: 2.5rem 2rem;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }

  .content-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }

  .content-text {
    text-align: left;
  }

  .content-text h2 {
    font-size: 2.5rem;
  }

  .content-image {
    order: 0;
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .form-row {
    grid-template-columns: 1fr 1fr;
  }

  .cta-btns {
    flex-direction: row;
  }

  .nav-menu {
    position: static;
    height: auto;
    background: transparent;
    flex-direction: row;
    padding: 0;
    box-shadow: none;
    width: auto;
  }

  .nav-menu li {
    width: auto;
  }

  .nav-link {
    width: auto;
    text-align: center;
  }

  .mobile-menu-btn {
    display: none;
  }

  .page-header {
    padding: 11rem 0 6rem;
  }

  .page-title {
    font-size: 3.5rem;
  }

  .breadcrumb {
    font-size: 1.05rem;
  }

  .hero-btns {
    flex-direction: row;
    justify-content: flex-start;
  }

  .hero-btns .btn {
    width: auto;
    min-width: 160px;
  }
}

/* Desktop Styles */
@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
  }

  .service-card {
    padding: 3rem 2.5rem;
  }

  .service-icon {
    width: 90px;
    height: 90px;
    font-size: 2.2rem;
  }

  .service-title {
    font-size: 1.6rem;
  }

  .features-grid {
    grid-template-columns: repeat(4, 1fr);
  }

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

  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .page-header {
    padding: 13rem 0 7rem;
  }

  .page-title {
    font-size: 4rem;
  }
}

/* Company Page Specific Styles */
.company-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin: 2rem 0;
}

.company-stat {
  text-align: center;
  padding: 1.5rem;
  background: var(--light);
  border-radius: var(--border-radius);
  border-left: 4px solid var(--primary);
}

.company-stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.company-stat-label {
  color: var(--gray);
  font-size: 0.9rem;
}

.mission-vision-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.mission-card,
.vision-card {
  background: white;
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  text-align: center;
}

.mission-card .feature-icon,
.vision-card .feature-icon {
  margin: 0 auto 1rem;
}

.values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.team-card {
  background: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  text-align: center;
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.team-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.team-info {
  padding: 1.5rem;
}

.team-name {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--darker);
}

.team-position {
  color: var(--primary);
  font-weight: 500;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

/* Company Page Header Background - Professional Courier Image */
.company-page .page-header {
  background: linear-gradient(
      135deg,
      rgba(45, 58, 143, 0.88) 0%,
      rgba(61, 74, 176, 0.82) 100%
    ),
    url("https://images.unsplash.com/photo-1578575437130-527eed3abbec?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80")
      center/cover no-repeat !important;
}

/* Centered CTA Section */
.cta-section .cta-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.cta-section .hero-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.cta-section .btn {
  min-width: 180px;
}

/* Tablet Styles */
@media (min-width: 768px) {
  .company-stats {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }

  .company-stat {
    padding: 2rem;
  }

  .company-stat-number {
    font-size: 2.5rem;
  }

  .mission-vision-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }

  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cta-section .hero-btns {
    flex-direction: row;
  }
}

/* Desktop Styles */
@media (min-width: 1024px) {
  .values-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Tracking Page Specific Styles - Mobile First */
.tracking-page .page-header {
  background: linear-gradient(
      135deg,
      rgba(45, 58, 143, 0.88) 0%,
      rgba(61, 74, 176, 0.82) 100%
    ),
    url("https://images.unsplash.com/photo-1581094794329-c8112a89af12?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80")
      center/cover no-repeat !important;
}

.tracking-container {
  width: 100%;
  max-width: 900px; /* Increased width */
  margin: 0 auto;
}

.tracking-form {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.tracking-form .section-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: white;
  text-align: center;
}

.tracking-form .text-center {
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 1.5rem;
  color: rgba(255, 255, 255, 0.9);
  text-align: center;
}

.tracking-form .form-group {
  margin-bottom: 1.5rem;
}

.tracking-form .form-label {
  display: block;
  color: white;
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.tracking-form .form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--border-radius);
  background: rgba(255, 255, 255, 0.1);
  color: white;
  font-size: 1rem;
  transition: var(--transition);
}

.tracking-form .form-control:focus {
  outline: none;
  border-color: var(--primary);
  background: rgba(255, 255, 255, 0.15);
}

.tracking-form .form-control::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.tracking-form textarea.form-control {
  min-height: 60px; /* Reduced height for single line appearance */
  resize: vertical;
  font-family: inherit;
  line-height: 1.4;
  overflow-y: hidden; /* Hide vertical scroll */
}

.tracking-form .radio-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.tracking-form .radio-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius);
  border: 2px solid transparent;
  transition: var(--transition);
  cursor: pointer;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  white-space: nowrap; /* Prevent text wrapping */
}

.tracking-form .radio-label:hover {
  border-color: var(--primary-light);
  background: rgba(255, 255, 255, 0.15);
}

.tracking-form .radio-input {
  margin: 0;
}

.tracking-form .radio-input:checked + span {
  color: white;
  font-weight: 600;
}

.tracking-form .btn-primary {
  width: 100%;
  padding: 1rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  margin-top: 0.5rem;
  background: var(--gradient);
  color: white;
  border: none;
}

.tracking-form .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* Hide textarea by default */
.tracking-form textarea.form-control {
  display: none;
}

/* Show textarea when multiple tracking is selected */
.tracking-form .multiple-tracking-active textarea.form-control {
  display: block;
}

.tracking-form .multiple-tracking-active input.form-control {
  display: none;
}

/* Centered CTA Section */
.cta-section .cta-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.cta-section .hero-btns {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  margin-top: 1.5rem;
  width: 100%;
}

.cta-section .btn {
  width: 100%;
  max-width: 250px;
}

/* Tablet Styles */
@media (min-width: 768px) {
  .tracking-form {
    padding: 2rem;
  }

  .tracking-form .section-title {
    font-size: 1.75rem;
  }

  .tracking-form .text-center {
    font-size: 1rem;
  }

  .tracking-form .form-label {
    font-size: 1rem;
  }

  .tracking-form .form-control {
    padding: 1rem 1.25rem;
    font-size: 1.05rem;
  }

  .tracking-form textarea.form-control {
    min-height: 60px; /* Maintain single line appearance */
  }

  .tracking-form .radio-group {
    flex-direction: row;
    gap: 1rem;
  }

  .tracking-form .radio-label {
    flex: 1;
    padding: 1rem 1.25rem;
    font-size: 0.95rem;
    white-space: nowrap; /* Keep text in single line */
  }

  .tracking-form .btn-primary {
    padding: 1.25rem 2rem;
    font-size: 1.1rem;
  }

  .cta-section .hero-btns {
    flex-direction: row;
  }

  .cta-section .btn {
    width: auto;
    min-width: 180px;
  }
}

/* Desktop Styles */
@media (min-width: 1024px) {
  .tracking-container {
    max-width: 1000px; /* Even wider on desktop */
  }

  .tracking-form {
    padding: 2.5rem;
  }

  .tracking-form .section-title {
    font-size: 2rem;
  }

  .tracking-form .form-control {
    padding: 1.25rem 1.5rem;
  }

  .tracking-form textarea.form-control {
    min-height: 60px; /* Single line appearance */
  }

  .tracking-form .radio-label {
    padding: 1.25rem 1.5rem;
    font-size: 1rem;
    white-space: nowrap; /* Single line text */
  }
}

/* Logo Styles - Maintains original image size with reduced spacing */
.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: opacity 0.3s ease;
  padding: 2px 0; /* Reduced top and bottom padding */
  margin: 0; /* Remove any default margins */
}

.logo:hover {
  opacity: 0.9;
}

.logo img {
  height: auto;
  width: auto;
  max-height: none;
  max-width: none;
  display: block;
  margin: 0; /* Remove any image margins */
}

/* Logo Styles - Original size to prevent blur */
.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: opacity 0.3s ease;
  padding: 2px 0;
  margin: 0;
}

.logo:hover {
  opacity: 0.9;
}

.logo img {
  height: auto;
  width: auto;
  max-height: none;
  max-width: none;
  display: block;
  margin: 0;
  /* Remove all scaling to use original image size */
  transform: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .logo img {
    /* Keep original size or adjust slightly if needed */
    width: 140px; /* Slightly smaller for mobile if needed */
    height: auto;
  }
}

/* Contact Page Specific Styles */
.contact-detail {
  margin: 1rem 0;
  text-align: center;
}

.contact-detail strong {
  display: block;
  font-size: 1.1rem;
  color: var(--darker);
  margin-bottom: 0.25rem;
}

.contact-detail small {
  color: var(--gray);
  font-size: 0.85rem;
}

.location-cards {
  margin: 2rem 0;
}

.location-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: white;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  margin-bottom: 1rem;
  transition: var(--transition);
}

.location-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.location-icon {
  width: 50px;
  height: 50px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.location-info {
  flex: 1;
}

.location-info h4 {
  margin-bottom: 0.5rem;
  color: var(--darker);
  font-size: 1.1rem;
}

.location-info p {
  color: var(--gray);
  margin-bottom: 1rem;
  line-height: 1.5;
}

.location-link {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  transition: var(--transition);
}

.location-link:hover {
  color: var(--primary-dark);
}

.business-hours {
  margin-top: 2rem;
  padding: 1.5rem;
  background: white;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

.business-hours h4 {
  margin-bottom: 1rem;
  color: var(--darker);
  font-size: 1.1rem;
}

.hours-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.hour-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--light-gray);
}

.hour-item:last-child {
  border-bottom: none;
}

.hour-item span:first-child {
  font-weight: 500;
  color: var(--dark);
}

.hour-item span:last-child {
  color: var(--gray);
  font-size: 0.9rem;
}

/* Contact Form Styles */
.contact-form {
  background: white;
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  height: 100%;
}

.contact-form h2 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--darker);
  text-align: center;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--dark);
  font-size: 0.95rem;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid var(--light-gray);
  border-radius: var(--border-radius);
  background: white;
  color: var(--dark);
  font-size: 1rem;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  background: white;
}

.form-control::placeholder {
  color: var(--gray);
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%236b7280'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1rem;
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
  font-family: inherit;
}

/* Tablet Styles */
@media (min-width: 768px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }

  .contact-form {
    padding: 2.5rem;
  }

  .contact-form h2 {
    font-size: 1.75rem;
  }

  .location-card {
    padding: 2rem;
  }
}

/* Desktop Styles */
@media (min-width: 1024px) {
  .contact-form {
    padding: 3rem;
  }
}

/* Contact Form Required Fields */
.required-note {
  text-align: center;
  color: var(--gray);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.required-star {
  color: #ef4444;
  font-weight: bold;
}

.form-label .required-star {
  margin-left: 2px;
}

.field-note {
  display: block;
  margin-top: 0.25rem;
  color: var(--gray);
  font-size: 0.8rem;
  font-style: italic;
}

/* Phone Input Styling */
input[type="tel"] {
  font-family: monospace;
  letter-spacing: 0.5px;
}

/* Form Validation Styles */
.form-control:invalid {
  border-color: #fca5a5;
}

.form-control:valid {
  border-color: var(--light-gray);
}

.form-control:focus:invalid {
  border-color: #ef4444;
}

.form-control:focus:valid {
  border-color: var(--primary);
}

/* Contact Page Header Background */
.page-header {
  background: linear-gradient(
      135deg,
      rgba(45, 58, 143, 0.88) 0%,
      rgba(61, 74, 176, 0.82) 100%
    ),
    url("https://images.unsplash.com/photo-1565689228869-5dbbce33bd56?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80")
      center/cover no-repeat !important;
}

/* Phone Input with Country Code */
.phone-input-container {
  display: flex;
  align-items: center;
  border: 2px solid var(--light-gray);
  border-radius: var(--border-radius);
  background: white;
  overflow: hidden;
  transition: var(--transition);
}

.phone-input-container:focus-within {
  border-color: var(--primary);
}

.country-code {
  padding: 0.75rem 1rem;
  background: var(--light-gray);
  color: var(--dark);
  font-weight: 600;
  font-size: 1rem;
  border-right: 2px solid var(--light-gray);
  min-width: 80px;
  text-align: center;
}

.phone-input {
  border: none !important;
  border-radius: 0 !important;
  padding-left: 1rem;
}

.phone-input:focus {
  outline: none;
  box-shadow: none;
}

/* Enhanced Footer Icons - White Color */
.footer .contact-info i {
  color: #ffffff !important;
  width: 20px;
  text-align: center;
  margin-right: 0.5rem;
  font-size: 1.1rem;
}

.footer .contact-info li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  color: #9ca3af;
  font-size: 0.9rem;
}

.footer .contact-info div {
  flex: 1;
}

/* Contact Form Required Fields */
.required-note {
  text-align: center;
  color: var(--gray);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.required-star {
  color: #ef4444;
  font-weight: bold;
}

.form-label .required-star {
  margin-left: 2px;
}

.field-note {
  display: block;
  margin-top: 0.25rem;
  color: var(--gray);
  font-size: 0.8rem;
  font-style: italic;
}

/* Contact Page Header Background */
.page-header {
  background: linear-gradient(
      135deg,
      rgba(45, 58, 143, 0.88) 0%,
      rgba(61, 74, 176, 0.82) 100%
    ),
    url("https://images.unsplash.com/photo-1552664730-d307ca884978?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80")
      center/cover no-repeat !important;
}

/* Global Country Code Selector */
.phone-input-container {
  display: flex;
  align-items: center;
  border: 2px solid var(--light-gray);
  border-radius: var(--border-radius);
  background: white;
  overflow: hidden;
  transition: var(--transition);
}

.phone-input-container:focus-within {
  border-color: var(--primary);
}

.country-code-select {
  padding: 0.75rem 0.5rem;
  background: var(--light-gray);
  color: var(--dark);
  font-weight: 600;
  font-size: 0.9rem;
  border: none;
  border-right: 2px solid var(--light-gray);
  min-width: 100px;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%236b7280'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.5rem center;
  background-size: 1rem;
  padding-right: 2rem;
}

.country-code-select:focus {
  outline: none;
  background-color: var(--light-gray);
}

.phone-input {
  border: none !important;
  border-radius: 0 !important;
  padding-left: 1rem;
  flex: 1;
}

.phone-input:focus {
  outline: none;
  box-shadow: none;
}

/* Contact Form Required Fields */
.required-note {
  text-align: center;
  color: var(--gray);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.required-star {
  color: #ef4444;
  font-weight: bold;
}

.form-label .required-star {
  margin-left: 2px;
}

.field-note {
  display: block;
  margin-top: 0.25rem;
  color: var(--gray);
  font-size: 0.8rem;
  font-style: italic;
}

/* Enhanced Footer Icons - White Color */
.footer .contact-info i {
  color: #ffffff !important;
  width: 20px;
  text-align: center;
  margin-right: 0.5rem;
  font-size: 1.1rem;
}

.footer .contact-info li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  color: #9ca3af;
  font-size: 0.9rem;
}

.footer .contact-info div {
  flex: 1;
}

/* Responsive Country Code */
@media (max-width: 480px) {
  .country-code-select {
    min-width: 80px;
    font-size: 0.8rem;
    padding-right: 1.5rem;
  }

  .phone-input {
    font-size: 0.9rem;
  }
}
/* Global Country Code Selector */
.phone-input-container {
  display: flex;
  align-items: center;
  border: 2px solid var(--light-gray);
  border-radius: var(--border-radius);
  background: white;
  overflow: hidden;
  transition: var(--transition);
}

.phone-input-container:focus-within {
  border-color: var(--primary);
}

.country-code-select {
  padding: 0.75rem 0.5rem;
  background: var(--light-gray);
  color: var(--dark);
  font-weight: 600;
  font-size: 0.9rem;
  border: none;
  border-right: 2px solid var(--light-gray);
  min-width: 160px;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%236b7280'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.5rem center;
  background-size: 1rem;
  padding-right: 2rem;
}

.country-code-select:focus {
  outline: none;
  background-color: var(--light-gray);
}

.phone-input {
  border: none !important;
  border-radius: 0 !important;
  padding-left: 1rem;
  flex: 1;
}

.phone-input:focus {
  outline: none;
  box-shadow: none;
}

/* Contact Form Required Fields */
.required-note {
  text-align: center;
  color: var(--gray);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.required-star {
  color: #ef4444;
  font-weight: bold;
}

.form-label .required-star {
  margin-left: 2px;
}

.field-note {
  display: block;
  margin-top: 0.25rem;
  color: var(--gray);
  font-size: 0.8rem;
  font-style: italic;
}

/* Contact Page Header Background */
.page-header {
  background: linear-gradient(
      135deg,
      rgba(45, 58, 143, 0.88) 0%,
      rgba(61, 74, 176, 0.82) 100%
    ),
    url("https://images.unsplash.com/photo-1552664730-d307ca884978?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80")
      center/cover no-repeat !important;
}

/* Team Section Styles */
.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.team-card {
  background: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  text-align: center;
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.team-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
}

.team-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

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

.team-info {
  padding: 1.5rem;
}

.team-name {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--darker);
}

.team-position {
  color: var(--primary);
  font-weight: 500;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.team-bio {
  color: var(--gray);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  line-height: 1.5;
}

.send-message-btn {
  width: 100%;
  margin-top: 1rem;
}
/* Modal Styles - Updated for wider scrollable messages */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.modal-content {
  background-color: white;
  margin: 2% auto;
  border-radius: var(--border-radius-lg);
  width: 95%;
  max-width: 800px;
  max-height: 90vh;
  box-shadow: var(--shadow-xl);
  animation: slideIn 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

.close-modal {
  position: absolute;
  right: 1.5rem;
  top: 1.5rem;
  font-size: 1.8rem;
  font-weight: bold;
  cursor: pointer;
  color: var(--gray);
  background: rgba(255, 255, 255, 0.9);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  z-index: 2001;
  border: 2px solid var(--light-gray);
}

.close-modal:hover {
  color: var(--accent);
  background: white;
  transform: scale(1.1);
  border-color: var(--accent);
}

.modal-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 2.5rem 2.5rem 1.5rem;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
  flex-shrink: 0;
}

.executive-photo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid white;
  box-shadow: var(--shadow-lg);
}

.executive-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.executive-info h3 {
  margin: 0 0 0.5rem 0;
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
}

.executive-info p {
  margin: 0;
  color: white; /* Added white color for designation */
  opacity: 0.95;
  font-size: 1.1rem;
  font-weight: 500;
}

.modal-body {
  padding: 2.5rem;
  flex: 1;
  overflow-y: auto;
  max-height: calc(90vh - 300px);
}

.message-content {
  background: var(--light);
  padding: 2rem;
  border-radius: var(--border-radius);
  border-left: 6px solid var(--primary);
  box-shadow: var(--shadow);
}

.message-content p {
  margin: 0;
  color: var(--dark);
  line-height: 1.8;
  font-size: 1.1rem;
  white-space: pre-line;
  text-align: left;
}

.modal-footer {
  padding: 0 2.5rem 2.5rem;
  text-align: center;
  flex-shrink: 0;
}

.close-modal-btn {
  width: 200px;
  font-size: 1.1rem;
  padding: 1rem 2rem;
}

/* Custom scrollbar for modal */
.modal-body::-webkit-scrollbar {
  width: 8px;
}

.modal-body::-webkit-scrollbar-track {
  background: var(--light-gray);
  border-radius: 4px;
}

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

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

/* Tablet Styles */
@media (min-width: 768px) {
  .modal-content {
    margin: 5% auto;
    width: 90%;
  }

  .modal-header {
    padding: 3rem 3rem 2rem;
  }

  .modal-body {
    padding: 3rem;
  }

  .modal-footer {
    padding: 0 3rem 3rem;
  }
}

/* Desktop Styles */
@media (min-width: 1024px) {
  .modal-content {
    margin: 3% auto;
    width: 85%;
    max-width: 900px;
  }

  .executive-photo {
    width: 120px;
    height: 120px;
  }

  .executive-info h3 {
    font-size: 1.7rem;
  }

  .executive-info p {
    font-size: 1.2rem;
  }

  .message-content {
    padding: 2.5rem;
  }

  .message-content p {
    font-size: 1.15rem;
    line-height: 1.9;
  }
}

/* Large Desktop Styles */
@media (min-width: 1440px) {
  .modal-content {
    max-width: 1000px;
  }

  .modal-body {
    padding: 3.5rem;
  }

  .message-content {
    padding: 3rem;
  }

  .message-content p {
    font-size: 1.2rem;
    line-height: 2;
  }
}

/* Mobile Responsive */
@media (max-width: 767px) {
  .modal-content {
    margin: 1% auto;
    width: 98%;
    max-height: 95vh;
  }

  .modal-header {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
    padding: 2rem 1.5rem 1.5rem;
  }

  .executive-photo {
    width: 80px;
    height: 80px;
  }

  .executive-info h3 {
    font-size: 1.3rem;
  }

  .executive-info p {
    font-size: 1rem;
  }

  .modal-body {
    padding: 1.5rem;
    max-height: calc(95vh - 250px);
  }

  .message-content {
    padding: 1.5rem;
  }

  .message-content p {
    font-size: 1rem;
    line-height: 1.6;
  }

  .modal-footer {
    padding: 0 1.5rem 1.5rem;
  }

  .close-modal {
    right: 1rem;
    top: 1rem;
    width: 35px;
    height: 35px;
    font-size: 1.5rem;
  }
}

/* Team Section Styles */
.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.team-card {
  background: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  text-align: center;
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.team-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
}

.team-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

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

.team-info {
  padding: 1.5rem;
}

.team-name {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--darker);
}

.team-position {
  color: var(--primary);
  font-weight: 500;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.team-bio {
  color: var(--gray);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  line-height: 1.5;
}

.send-message-btn {
  width: 100%;
  margin-top: 1rem;
}

/* Tablet Styles */
@media (min-width: 768px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
}

/* Desktop Styles */
@media (min-width: 1024px) {
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
  }
}

.team-card .team-image img {
  width: 100%;
  height: 400px; /* adjust between 350–500 as needed */
  object-fit: cover; /* keeps image centered and cropped */
  border-radius: 10px; /* optional for smooth edges */
}
