/* ============================================
   XML Shipping - Custom Professional Stylesheet
   ============================================ */

/* ===== CSS Variables ===== */
:root {
  --primary-color: #2563eb;
  --primary-dark: #1e40af;
  --primary-light: #3b82f6;
  --secondary-color: #10b981;
  --accent-color: #f59e0b;
  --dark-bg: #0f172a;
  --light-bg: #f8fafc;
  --text-primary: #1e293b;
  --text-secondary: #64748b;
  --white: #ffffff;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --gradient-hero: linear-gradient(135deg, rgba(37, 99, 235, 0.9) 0%, rgba(30, 64, 175, 0.9) 100%);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== Global Styles ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: var(--light-bg);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.display-4 {
  font-size: 3.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.lead {
  font-size: 1.25rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
}

/* ===== Navbar Styles ===== */
.navbar {
  background: var(--white) !important;
  box-shadow: var(--shadow-md);
  padding: 1rem 0;
  transition: var(--transition);
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.95) !important;
}

.navbar.scrolled {
  box-shadow: var(--shadow-lg);
  padding: 0.75rem 0;
}

.navbar-brand {
  font-size: 1.5rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 0.5px;
  transition: var(--transition);
}

.navbar-brand:hover {
  transform: scale(1.05);
}

.navbar-nav .nav-link {
  color: var(--text-primary) !important;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.5rem 1rem !important;
  margin: 0 0.25rem;
  border-radius: 0.5rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.navbar-nav .nav-link::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: var(--transition);
  transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::before,
.navbar-nav .nav-link.active::before {
  width: 80%;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--primary-color) !important;
  background: rgba(37, 99, 235, 0.1);
  transform: translateY(-2px);
}

.navbar-toggler {
  border: none;
  padding: 0.25rem 0.5rem;
}

.navbar-toggler:focus {
  box-shadow: none;
}

/* ===== Hero Section ===== */
.hero {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.85) 0%, rgba(30, 64, 175, 0.85) 100%),
              url('https://images.unsplash.com/photo-1586528116311-ad8dd3c8310d?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
  color: var(--white);
  padding: 120px 0;
  position: relative;
  overflow: hidden;
  min-height: 600px;
  display: flex;
  align-items: center;
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 50%, rgba(59, 130, 246, 0.3) 0%, transparent 50%);
  animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 0.8; }
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero h1 {
  color: var(--white);
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 0.8s ease-out;
}

.hero .lead {
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero .btn {
  animation: fadeInUp 0.8s ease-out 0.4s both;
  margin: 0.5rem;
  padding: 0.75rem 2rem;
  font-weight: 600;
  border-radius: 0.5rem;
  transition: var(--transition);
  box-shadow: var(--shadow-lg);
}

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

.hero .btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl);
  background: var(--white);
  color: var(--primary-dark);
}

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

.hero .btn-outline-light:hover {
  background: var(--white);
  color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl);
}

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

/* ===== Stats Section ===== */
.stats {
  background: var(--white);
  border-radius: 1.5rem;
  box-shadow: var(--shadow-xl);
  padding: 3rem 2rem;
  margin-top: -60px;
  position: relative;
  z-index: 10;
  transition: var(--transition);
}

.stats:hover {
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
  transform: translateY(-5px);
}

.stats .col-md-3 {
  padding: 1.5rem;
  transition: var(--transition);
}

.stats .col-md-3:hover {
  transform: scale(1.05);
}

.stats h2 {
  font-size: 2.25rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
  font-weight: 800;
}

.stats p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  font-weight: 500;
  margin: 0;
}

/* ===== Service Cards ===== */
.service-card {
  border: none;
  border-radius: 1rem;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  overflow: hidden;
  background: var(--white);
  position: relative;
}

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

.service-card:hover::before {
  transform: scaleX(1);
}

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

.service-card .card-body {
  padding: 1.5rem 1.25rem;
}

.service-card i {
  transition: var(--transition);
  display: inline-block;
  font-size: 2.5rem !important;
}

.service-card:hover i {
  transform: scale(1.2) rotate(5deg);
  color: var(--primary-color) !important;
}

.service-card .card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 1rem 0 0.75rem;
  color: var(--text-primary);
}

.service-card .card-text {
  color: var(--text-secondary);
  margin-bottom: 1rem;
  line-height: 1.6;
  font-size: 0.9rem;
}

.service-card .btn {
  border-radius: 0.5rem;
  padding: 0.6rem 1.5rem;
  font-weight: 600;
  transition: var(--transition);
}

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

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

/* ===== Why Choose Us Section ===== */
section.py-5 {
  padding: 5rem 0;
}

section h2 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
  display: inline-block;
  width: 100%;
}

section h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

.col-md-4.text-center {
  padding: 2rem;
  transition: var(--transition);
}

.col-md-4.text-center:hover {
  transform: translateY(-5px);
}

.col-md-4.text-center i {
  margin-bottom: 1.5rem;
  transition: var(--transition);
  display: inline-block;
}

.col-md-4.text-center:hover i {
  transform: scale(1.2) rotate(5deg);
}

.col-md-4.text-center h5 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 1rem 0;
  color: var(--text-primary);
}

.col-md-4.text-center p {
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ===== Form Styles ===== */
.form-control {
  border: 2px solid #e2e8f0;
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  transition: var(--transition);
  font-size: 1rem;
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
  outline: none;
}

.form-control.is-valid {
  border-color: var(--secondary-color);
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%2310b981' d='m2.3 6.73.98-.98-.98-.98-.98.98.98.98zm5.4-5.4-.98-.98-.98.98.98.98.98-.98z'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right calc(0.375em + 0.1875rem) center;
  background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
  padding-right: calc(1.5em + 0.75rem);
}

.form-control.is-invalid {
  border-color: #ef4444;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23ef4444'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath d='m5.8 3.6.4.4.4-.4m0 4.8-.4-.4-.4.4'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right calc(0.375em + 0.1875rem) center;
  background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
  padding-right: calc(1.5em + 0.75rem);
}

.form-control.is-invalid:focus {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.form-label {
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.btn-primary {
  background: var(--primary-color);
  border: none;
  border-radius: 0.5rem;
  padding: 0.75rem 2rem;
  font-weight: 600;
  transition: var(--transition);
  box-shadow: var(--shadow-md);
}

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

.bg-light {
  background: var(--white) !important;
  border-radius: 1rem;
  box-shadow: var(--shadow-lg);
  padding: 2.5rem !important;
}

/* ===== Card Styles ===== */
.card {
  border: none;
  border-radius: 1rem;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  overflow: hidden;
}

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

.card-body {
  padding: 2rem;
}

/* ===== Footer Styles ===== */
.footer {
  background: var(--dark-bg);
  color: var(--white);
  padding: 4rem 0 2rem;
  margin-top: 5rem;
}

.footer h5 {
  color: var(--white);
  font-weight: 700;
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
}

.footer p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
}

.footer a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: var(--transition);
  display: inline-block;
}

.footer a:hover {
  color: var(--white);
  transform: translateY(-2px);
}

.footer .fab {
  font-size: 1.5rem;
  margin: 0 0.5rem;
  transition: var(--transition);
}

.footer .fab:hover {
  transform: scale(1.2);
  color: var(--primary-light);
}

.footer hr {
  border-color: rgba(255, 255, 255, 0.2);
  margin: 2rem 0;
  opacity: 1;
  background: transparent;
}

.footer .text-white {
  color: var(--white) !important;
}

.footer .container {
  color: var(--white);
}

.footer .container * {
  color: inherit;
}

.footer .container h5,
.footer .container p,
.footer .container a {
  color: rgba(255, 255, 255, 0.9) !important;
}

.footer .container a:hover {
  color: var(--white) !important;
}

.footer .text-white-50 {
  color: rgba(255, 255, 255, 0.7) !important;
}

.footer .list-unstyled a {
  transition: var(--transition);
  display: inline-block;
}

.footer .list-unstyled a:hover {
  color: var(--white) !important;
  transform: translateX(5px);
}

.footer .bg-white-10 {
  border-color: rgba(255, 255, 255, 0.1) !important;
  opacity: 1;
}

.footer .fa-chevron-right {
  font-size: 0.7rem;
}

/* ===== About Page Styles ===== */
.border.rounded {
  border: 2px solid #e2e8f0 !important;
  border-radius: 1rem !important;
  padding: 2rem !important;
  transition: var(--transition);
  background: var(--white);
}

.border.rounded:hover {
  border-color: var(--primary-color) !important;
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
}

.border.rounded h2 {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 2.5rem;
}

/* ===== Contact Page Styles ===== */
.col-md-6 h5 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.col-md-6 h5 i {
  color: var(--primary-color);
  margin-right: 0.5rem;
}

.col-md-6 p {
  color: var(--text-secondary);
  font-size: 1.1rem;
}

/* ===== Tracking Page Styles ===== */
.shadow {
  box-shadow: var(--shadow-lg) !important;
}

/* ===== Animations ===== */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.fade-in {
  animation: fadeIn 0.6s ease-out;
}

/* ===== Scroll Animations ===== */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== 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: var(--white);
  animation: spin 1s ease-in-out infinite;
}

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

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
  .display-4 {
    font-size: 2.5rem;
  }
  
  .hero {
    padding: 80px 0;
    min-height: 500px;
  }
  
  .stats {
    margin-top: -40px;
    padding: 2rem 1rem;
  }
  
  .stats h2 {
    font-size: 2rem;
  }
  
  section.py-5 {
    padding: 3rem 0;
  }
  
  section h2 {
    font-size: 2rem;
  }
  
  .service-card .card-body {
    padding: 2rem 1.5rem;
  }
}

@media (max-width: 576px) {
  .display-4 {
    font-size: 2rem;
  }
  
  .lead {
    font-size: 1.1rem;
  }
  
  .hero .btn {
    display: block;
    width: 100%;
    margin: 0.5rem 0;
  }
  
  .stats {
    margin-top: -30px;
  }
}

/* ===== Utility Classes ===== */
.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.shadow-custom {
  box-shadow: var(--shadow-xl);
}

/* ===== Smooth Transitions ===== */
a, button, .card, .btn {
  transition: var(--transition);
}

/* ===== Additional Enhancements ===== */
.bg-white {
  background-color: var(--white) !important;
}

.shadow-sm {
  box-shadow: var(--shadow-sm) !important;
}

/* ===== Page Transitions ===== */
.container {
  animation: fadeIn 0.6s ease-out;
}

/* ===== Improved Button Styles ===== */
.btn i {
  margin-right: 0.5rem;
}

.btn-lg {
  padding: 0.875rem 2.25rem;
  font-size: 1.125rem;
}

/* ===== Enhanced Card Hover ===== */
.card, .service-card {
  cursor: pointer;
}

/* ===== Text Selection ===== */
::selection {
  background: var(--primary-color);
  color: var(--white);
}

::-moz-selection {
  background: var(--primary-color);
  color: var(--white);
}

/* ===== Blog Post Styles ===== */
.article-content {
  line-height: 1.8;
  color: var(--text-primary);
}

.article-content h3 {
  color: var(--text-primary);
  font-size: 1.75rem;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.article-content h4 {
  color: var(--text-primary);
  font-size: 1.35rem;
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.article-content p {
  margin-bottom: 1.25rem;
  color: var(--text-secondary);
}

.article-content ul,
.article-content ol {
  margin-bottom: 1.5rem;
  padding-left: 2rem;
}

.article-content li {
  margin-bottom: 0.75rem;
  color: var(--text-secondary);
}

.article-content .lead {
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--text-primary);
  margin-bottom: 2rem;
}

.breadcrumb {
  background: transparent;
  padding: 0;
}

.breadcrumb-item a {
  color: var(--primary-color);
  text-decoration: none;
}

.breadcrumb-item a:hover {
  text-decoration: underline;
}

.breadcrumb-item.active {
  color: var(--text-secondary);
}

/* ===== Accordion Styles ===== */
.accordion-item {
  border: none;
  border-radius: 0.5rem !important;
  overflow: hidden;
  margin-bottom: 1rem;
}

.accordion-button {
  background: var(--white);
  color: var(--text-primary);
  font-weight: 600;
  border: none;
  box-shadow: none;
  padding: 1.25rem 1.5rem;
}

.accordion-button:not(.collapsed) {
  background: var(--primary-color);
  color: var(--white);
  box-shadow: none;
}

.accordion-button:focus {
  border-color: transparent;
  box-shadow: none;
}

.accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%232563eb'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-button:not(.collapsed)::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-body {
  padding: 1.5rem;
  background: var(--white);
  color: var(--text-secondary);
  line-height: 1.8;
}

.accordion-body a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
}

.accordion-body a:hover {
  text-decoration: underline;
}

/* ===== Dropdown Menu Styles ===== */
.dropdown-menu {
  border: none;
  box-shadow: var(--shadow-lg);
  border-radius: 0.5rem;
  padding: 0.5rem;
  margin-top: 0.5rem;
}

.dropdown-item {
  border-radius: 0.375rem;
  padding: 0.5rem 1rem;
  transition: var(--transition);
}

.dropdown-item:hover {
  background: rgba(37, 99, 235, 0.1);
  color: var(--primary-color);
}

.dropdown-item i {
  width: 20px;
}

/* ===== Form Select Styles ===== */
.form-select {
  border: 2px solid #e2e8f0;
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  transition: var(--transition);
  font-size: 1rem;
}

.form-select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
  outline: none;
}

/* ===== Testimonials Styles ===== */
.testimonials .card {
  transition: var(--transition);
}

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

/* ===== Blog Card Styles ===== */
.card-img-top {
  transition: var(--transition);
}

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

/* ===== Quote Calculator Styles ===== */
#quoteResult {
  animation: fadeIn 0.5s ease-out;
}

#quoteEstimate {
  min-height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* ===== Newsletter Signup Styles ===== */
.bg-primary .form-control {
  border: 2px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

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

.bg-primary .form-control:focus {
  border-color: white;
  background: rgba(255, 255, 255, 0.2);
  color: white;
}

/* ===== Resources Page Styles ===== */
.list-unstyled li {
  padding: 0.5rem 0;
  border-bottom: 1px solid #e2e8f0;
}

.list-unstyled li:last-child {
  border-bottom: none;
}

/* ===== Loading Animation Enhancement ===== */
.loading {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: white;
  animation: spin 0.8s linear infinite;
  vertical-align: middle;
  margin-right: 8px;
}

/* ===== Image Styles ===== */
img {
  transition: var(--transition);
}

/* ===== Shipping Schedule Styles ===== */
.table-hover tbody tr:hover {
  background-color: rgba(37, 99, 235, 0.05);
  transform: scale(1.01);
  transition: var(--transition);
}

.table-hover tbody tr.table-warning:hover {
  background-color: rgba(255, 193, 7, 0.2);
}

.table th {
  font-weight: 600;
  color: var(--text-primary);
  border-bottom: 2px solid var(--primary-color);
}

.table td {
  vertical-align: middle;
}

.badge {
  padding: 0.5rem 0.75rem;
  font-weight: 600;
  font-size: 0.875rem;
}

.service-card img {
  transition: var(--transition);
  width: 100%;
  display: block;
  object-fit: cover;
}

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

.service-card .card-img-top {
  width: 100% !important;
  display: block !important;
  height: 200px !important;
  object-fit: cover !important;
}

.stats img {
  border: 3px solid var(--primary-color);
  box-shadow: var(--shadow-md);
}

.card img {
  border-radius: 0.5rem;
}

.rounded-circle {
  border: 3px solid rgba(37, 99, 235, 0.2);
}

/* ===== Testimonial Image Styles ===== */
.card.overflow-hidden {
  overflow: hidden;
}

.card .position-relative img {
  filter: brightness(0.9);
  transition: var(--transition);
}

.card:hover .position-relative img {
  filter: brightness(1);
  transform: scale(1.05);
}

.badge {
  font-size: 0.7rem;
  padding: 0.25rem 0.5rem;
  font-weight: 600;
}

/* ===== Why Choose Us Image Styles ===== */
.img-fluid.rounded.shadow-sm {
  transition: var(--transition);
}

.img-fluid.rounded.shadow-sm:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg) !important;
}

