:root {
  --swapxpert-blue: #0026ff;
  --swapxpert-orange: #ff9800;
  --swapxpert-accent: #ff9800;
  --swapxpert-gray-light: #f5f6fa;
  --swapxpert-gray: #e3e7ef;
  --swapxpert-gray-dark: #23272b;
  --swapxpert-text: #222b45;
}

body {
  background: var(--swapxpert-gray-light);
  color: var(--swapxpert-text);
}

/* Material Sidebar */
.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 240px;
  background: #fff;
  box-shadow: 2px 0 12px rgba(0,0,0,0.07);
  z-index: 1040;
  transition: transform 0.3s cubic-bezier(.4,0,.2,1);
  transform: translateX(-100%);
}
.sidebar.show {
  transform: translateX(0);
}
.sidebar .sidebar-header {
  padding: 1.5rem 1rem 1rem 1.5rem;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--swapxpert-blue);
  border-bottom: 1px solid #eee;
}
.sidebar .nav-link {
  color: var(--swapxpert-text);
  font-weight: 500;
  border-radius: 8px;
  margin: 0.25rem 0;
  transition: background 0.2s, color 0.2s;
  position: relative;
  overflow: hidden;
}
.sidebar .nav-link.active, .sidebar .nav-link:hover {
  background: var(--swapxpert-blue);
  color: #fff;
}

/* Navbar shadow and ripple */
.navbar {
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  position: relative;
}
.navbar .nav-link {
  position: relative;
  overflow: hidden;
  transition: color 0.2s;
}
.navbar .nav-link:after {
  content: '';
  display: block;
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0;
  height: 0;
  background: rgba(0,38,255,0.15);
  border-radius: 100%;
  transform: translate(-50%, -50%);
  transition: width 0.4s cubic-bezier(.4,0,.2,1), height 0.4s cubic-bezier(.4,0,.2,1);
  z-index: 0;
}
.navbar .nav-link:active:after {
  width: 120px;
  height: 120px;
}

/* Card hover/scale and shadow */
.material-card {
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  background: #fff;
  transition: box-shadow 0.3s cubic-bezier(.4,0,.2,1), transform 0.3s cubic-bezier(.4,0,.2,1), box-shadow 0.2s, transform 0.2s;
  position: relative;
  overflow: hidden;
}
.material-card:hover {
  box-shadow: 0 12px 36px rgba(255,152,0,0.18), 0 8px 32px rgba(0,38,255,0.13);
  transform: translateY(-6px) scale(1.035);
  border-color: var(--swapxpert-accent);
}
.material-card .ripple {
  position: absolute;
  border-radius: 50%;
  transform: scale(0);
  animation: ripple 0.6s linear;
  background: rgba(0,38,255,0.15);
  pointer-events: none;
  z-index: 1;
}
@keyframes ripple {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* Button animation */
.btn-primary {
  background: var(--swapxpert-blue);
  border: none;
  font-weight: 500;
  border-radius: 24px;
  padding: 0.75rem 2rem;
  box-shadow: 0 2px 8px rgba(0,38,255,0.08);
  transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
}
.btn-primary:hover, .btn-primary:focus {
  background: #001bb5;
  box-shadow: 0 6px 24px rgba(0,38,255,0.13);
  transform: translateY(-2px) scale(1.04);
}

/* Responsive sidebar overlay */
@media (max-width: 991.98px) {
  .sidebar {
    width: 80vw;
    min-width: 220px;
    max-width: 320px;
  }
}

body.sidebar-open {
  overflow: hidden;
}

/* Sidebar overlay background */
.sidebar-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.18);
  z-index: 1039;
  display: none;
}
.sidebar-open .sidebar-overlay {
  display: block;
}

.footer {
  background: var(--swapxpert-gray-dark);
  color: #fff;
  padding: 2rem 0 1rem 0;
}
.footer a {
  color: var(--swapxpert-orange);
  text-decoration: none;
  margin: 0 0.5rem;
}
.footer a:hover {
  color: #fff;
}
.social-icons a {
  font-size: 1.5rem;
  margin: 0 0.5rem;
  color: #fff;
}
.social-icons a:hover {
  color: var(--swapxpert-orange);
}

/* Google Fonts: Raleway for headings, Poppins for nav */
/* @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&family=Raleway:wght@700;800&display=swap'); */

h1, h2, h3, h4, h5, h6, .section-title, .modal-title {
  font-family: 'Raleway', Arial, Helvetica, sans-serif;
  font-weight: 700;
}

.navbar, .sidebar, .nav-link {
  font-family: 'Poppins', Arial, Helvetica, sans-serif;
  font-weight: 500;
}

/* Hero Section Modernized */
.hero-bg {
  background: url('../images/hero.jpg') center/cover no-repeat;
  min-height: 80vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,38,255,0.45) 0%, rgba(34,40,69,0.7) 100%), rgba(0,0,0,0.35);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}
.hero-content .btn-primary {
  background: var(--swapxpert-accent);
  border: none;
  color: #fff;
}
.hero-content .btn-primary:hover, .hero-content .btn-primary:focus {
  background: #ffb74d;
  color: #222b45;
}

/* Accent for section titles and icons */
.section-title {
  color: var(--swapxpert-accent) !important;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.feature-icon {
  font-size: 2.5rem;
  color: var(--swapxpert-accent);
  background: rgba(255,152,0,0.08);
  border-radius: 50%;
  padding: 0.5rem 0.7rem;
  margin-bottom: 1rem;
  display: inline-block;
  transition: background 0.2s, color 0.2s;
}
.material-card .feature-icon {
  box-shadow: 0 2px 8px rgba(255,152,0,0.08);
}
.material-card:hover .feature-icon {
  background: var(--swapxpert-accent);
  color: #fff;
}

/* Accent underline for section titles */
.section-title-underline {
  width: 60px;
  height: 4px;
  background: var(--swapxpert-accent);
  border-radius: 2px;
  margin: 0.5rem auto 2rem auto;
}

/* Accent for social icons on hover */
.social-icons a:hover {
  color: var(--swapxpert-accent);
}

.contact-card {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: stretch;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  border-radius: 16px;
  background: #fff;
  transition: box-shadow 0.2s, transform 0.2s;
}
.contact-card:hover {
  box-shadow: 0 8px 32px rgba(255,152,0,0.13);
  transform: translateY(-2px) scale(1.01);
}

.form-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--swapxpert-accent);
  font-size: 1.1rem;
  pointer-events: none;
}
.form-control.with-icon {
  padding-left: 2.5rem;
}
.form-control:focus {
  border-color: var(--swapxpert-accent);
  box-shadow: 0 0 0 0.2rem rgba(255,152,0,0.15);
}
.form-floating-message {
  position: relative;
}
.form-floating-message textarea {
  min-height: 120px;
  border-radius: 12px;
  border: 1px solid #e3e7ef;
  box-shadow: none;
}
.form-floating-message label {
  position: absolute;
  top: 0.75rem;
  left: 1.25rem;
  color: #888;
  background: transparent;
  pointer-events: none;
  transition: 0.2s;
  font-size: 1rem;
}
.form-floating-message textarea:focus + label,
.form-floating-message textarea:not(:placeholder-shown) + label {
  top: -0.9rem;
  left: 1rem;
  font-size: 0.9rem;
  color: var(--swapxpert-accent);
  background: #fff;
  padding: 0 0.25rem;
}

.btn-view-details {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #fff;
  color: var(--swapxpert-accent);
  border: 2px solid var(--swapxpert-accent);
  border-radius: 999px;
  padding: 0.4rem 1.5rem;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.01em;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
  box-shadow: none;
}
.btn-view-details i {
  font-size: 1.1em;
  transition: transform 0.18s;
}
.btn-view-details:hover, .btn-view-details:focus {
  background: var(--swapxpert-accent);
  color: #fff;
  box-shadow: 0 2px 8px rgba(255,152,0,0.10);
}
.btn-view-details:hover i, .btn-view-details:focus i {
  transform: translateX(3px);
}

.btn-view-details, .btn-primary {
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: transform 0.18s, box-shadow 0.18s;
}
.btn-view-details:active, .btn-primary:active {
  transform: scale(0.96);
  box-shadow: 0 2px 8px rgba(255,152,0,0.18);
}
.btn-view-details::after, .btn-primary::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0;
  height: 0;
  background: rgba(255,152,0,0.15);
  border-radius: 100%;
  transform: translate(-50%, -50%);
  transition: width 0.4s cubic-bezier(.4,0,.2,1), height 0.4s cubic-bezier(.4,0,.2,1);
  z-index: 0;
}
.btn-view-details:active::after, .btn-primary:active::after {
  width: 120px;
  height: 120px;
}

/* Modal animation */
.modal.fade .modal-dialog {
  transform: translateY(40px) scale(0.98);
  opacity: 0;
  transition: all 0.35s cubic-bezier(.4,0,.2,1);
}
.modal.fade.show .modal-dialog {
  transform: translateY(0) scale(1);
  opacity: 1;
}

/* Image sizing and styling */
.team-img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--swapxpert-accent);
}

.service-img {
  height: 140px;
  object-fit: cover;
  border-radius: 8px;
  transition: transform 0.2s ease;
}

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

.logo-img {
  height: 32px;
  vertical-align: middle;
}

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

/* Testimonial card improvements */
.testimonial-card {
  background: #fff;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  border-left: 4px solid var(--swapxpert-accent);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.testimonial-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
} 

.navbar .nav-link:hover, .navbar .nav-link.active,
.sidebar .nav-link:hover, .sidebar .nav-link.active {
  background: var(--swapxpert-accent) !important;
  color: #fff !important;
} 

/* Remove .btn-explore-services styles (undo custom button) */ 

.btn-hero-explore {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--swapxpert-blue);
  color: #fff;
  font-family: 'Poppins', Arial, Helvetica, sans-serif;
  font-weight: 600;
  border: none;
  border-radius: 0.7rem;
  padding: 0.85rem 2.2rem;
  font-size: 1.15rem;
  letter-spacing: 0.01em;
  box-shadow: 0 6px 24px rgba(0,38,255,0.13), 0 2px 8px rgba(0,38,255,0.10);
  transition: background 0.18s, box-shadow 0.18s, transform 0.13s;
  position: relative;
  margin-top: 1.5rem;
}
.btn-hero-explore i {
  font-size: 1.15em;
  transition: transform 0.18s;
}
.btn-hero-explore:hover, .btn-hero-explore:focus {
  background: #001bb5;
  color: #fff;
  box-shadow: 0 12px 36px rgba(0,38,255,0.18), 0 8px 32px rgba(0,38,255,0.13);
  transform: translateY(-2px) scale(1.03);
}
.btn-hero-explore:active {
  transform: scale(0.98);
}
.btn-hero-explore:hover i, .btn-hero-explore:focus i {
  transform: translateX(4px) scale(1.08);
}
@media (max-width: 575.98px) {
  .btn-hero-explore {
    font-size: 1rem;
    padding: 0.7rem 1.2rem;
  }
} 

.btn-services-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--swapxpert-blue);
  color: #fff;
  font-family: 'Poppins', Arial, Helvetica, sans-serif;
  font-weight: 600;
  border: none;
  border-radius: 0.7rem;
  padding: 0.85rem 2.2rem;
  font-size: 1.15rem;
  letter-spacing: 0.01em;
  box-shadow: 0 6px 24px rgba(0,38,255,0.13), 0 2px 8px rgba(0,38,255,0.10);
  transition: background 0.18s, box-shadow 0.18s, transform 0.13s;
  position: relative;
}
.btn-services-cta i {
  font-size: 1.15em;
  transition: transform 0.18s;
}
.btn-services-cta:hover, .btn-services-cta:focus {
  background: #001bb5;
  color: #fff;
  box-shadow: 0 12px 36px rgba(0,38,255,0.18), 0 8px 32px rgba(0,38,255,0.13);
  transform: translateY(-2px) scale(1.03);
}
.btn-services-cta:active {
  transform: scale(0.98);
}
.btn-services-cta:hover i, .btn-services-cta:focus i {
  transform: translateX(4px) scale(1.08);
}
@media (max-width: 575.98px) {
  .btn-services-cta {
    font-size: 1rem;
    padding: 0.7rem 1.2rem;
  }
} 

.btn,
.btn-primary,
.btn-services-cta,
.btn-view-details,
.btn-hero-explore,
.btn-primary.w-100 {
  border-radius: 0.7rem !important;
} 

.partner-logo, .client-logo {
  max-height: 60px;
  width: auto;
  filter: grayscale(100%) contrast(1.1);
  opacity: 0.85;
  transition: filter 0.2s, opacity 0.2s, transform 0.18s;
}
.partner-logo:hover, .client-logo:hover {
  filter: none;
  opacity: 1;
  transform: scale(1.07);
}
@media (max-width: 575.98px) {
  .partner-logo, .client-logo {
    max-height: 40px;
  }
} 

/* Enhanced Modal Styles */
.modal-xl {
  max-width: 1200px;
}

.modal-content {
  border-radius: 1rem;
  overflow: hidden;
}

.modal-header.bg-gradient-primary {
  background: linear-gradient(135deg, var(--swapxpert-accent) 0%, #0056b3 100%);
  padding: 1.5rem;
}

.modal-header .feature-icon {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.modal-header .modal-title {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.modal-header p {
  font-size: 0.9rem;
  margin-bottom: 0;
}

.modal-body {
  padding: 0;
}

.modal-body .row.g-0 {
  min-height: 500px;
}

.modal-body .col-lg-6.p-4 {
  padding: 2rem !important;
}

.modal-body h5.fw-bold.text-primary {
  color: var(--swapxpert-accent) !important;
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
}

.modal-body .bg-light.rounded {
  transition: all 0.3s ease;
  border: 1px solid #e9ecef;
}

.modal-body .bg-light.rounded:hover {
  background-color: #f8f9fa !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.modal-body .bg-light.rounded i {
  font-size: 1.2rem;
}

.modal-body .list-unstyled li {
  padding: 0.5rem 0;
  border-bottom: 1px solid #f8f9fa;
}

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

.modal-body .list-unstyled li i.bi-check-circle-fill {
  font-size: 1.1rem;
}

.modal-body .position-relative.h-100 {
  min-height: 500px;
}

.modal-body .position-relative.h-100 img {
  object-fit: cover;
  height: 100%;
  width: 100%;
}

.modal-body .position-absolute.bottom-0 {
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  padding: 1.5rem;
}

.modal-body .position-absolute.bottom-0 h6 {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.modal-body .position-absolute.bottom-0 p {
  font-size: 0.85rem;
  opacity: 0.9;
}

.modal-body .btn-primary {
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  border-radius: 0.7rem;
  transition: all 0.3s ease;
}

.modal-body .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.modal-body .btn-outline-secondary {
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  border-radius: 0.7rem;
  transition: all 0.3s ease;
}

.modal-body .btn-outline-secondary:hover {
  background-color: #6c757d;
  border-color: #6c757d;
  transform: translateY(-2px);
}

/* Modal Animation Enhancements */
.modal.fade .modal-dialog {
  transform: scale(0.8);
  transition: transform 0.3s ease-out;
}

.modal.show .modal-dialog {
  transform: scale(1);
}

/* Responsive Modal Adjustments */
@media (max-width: 991.98px) {
  .modal-xl {
    max-width: 95vw;
  }
  
  .modal-body .row.g-0 {
    min-height: auto;
  }
  
  .modal-body .col-lg-6.p-0 {
    order: -1;
    max-height: 300px;
  }
  
  .modal-body .col-lg-6.p-4 {
    padding: 1.5rem !important;
  }
}

@media (max-width: 575.98px) {
  .modal-header {
    padding: 1rem;
  }
  
  .modal-header .feature-icon {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
  
  .modal-body .col-lg-6.p-4 {
    padding: 1rem !important;
  }
  
  .modal-body .row.g-3 .col-6 {
    width: 100%;
    margin-bottom: 0.5rem;
  }
} 

/* swapxpertMesh LMS Product Section */
#swapxpertmesh {
  background: linear-gradient(135deg, var(--swapxpert-accent) 0%, #0056b3 50%, #004085 100%);
  position: relative;
  overflow: hidden;
}

#swapxpertmesh .badge {
  font-size: 0.8rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 20px;
  animation: pulse 2s infinite;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  }
}

#swapxpertmesh::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 100 100"><defs><pattern id="mesh" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23mesh)"/></svg>');
  opacity: 0.3;
}

#swapxpertmesh .container {
  position: relative;
  z-index: 2;
}

#swapxpertmesh h2 {
  font-family: 'Raleway', sans-serif;
  font-weight: 800;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

#swapxpertmesh .section-title-underline {
  background: rgba(255, 255, 255, 0.8);
  height: 4px;
  width: 80px;
  border-radius: 2px;
}

#swapxpertmesh .backdrop-blur {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

#swapxpertmesh .bg-white.bg-opacity-20 {
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

#swapxpertmesh .bg-white.bg-opacity-20:hover {
  background-color: rgba(255, 255, 255, 0.3) !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

#swapxpertmesh .btn-light {
  background: rgba(255, 255, 255, 0.9);
  border: none;
  color: var(--swapxpert-accent);
  font-weight: 600;
  transition: all 0.3s ease;
}

#swapxpertmesh .btn-light:hover {
  background: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

#swapxpertmesh .btn-outline-light {
  border: 2px solid rgba(255, 255, 255, 0.8);
  color: #fff;
  font-weight: 600;
  transition: all 0.3s ease;
}

#swapxpertmesh .btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
  transform: translateY(-2px);
}

#swapxpertmesh .bg-warning.bg-opacity-80 {
  transition: all 0.3s ease;
  color: #000 !important;
  border: 1px solid rgba(255, 193, 7, 0.3);
}

#swapxpertmesh .bg-warning.bg-opacity-80:hover {
  background-color: rgba(255, 193, 7, 0.9) !important;
  color: #FFF !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Responsive adjustments for swapxpertMesh */
@media (max-width: 991.98px) {
  #swapxpertmesh h2 {
    font-size: 2.5rem;
  }
  
  #swapxpertmesh .btn {
    width: 100%;
    margin-bottom: 0.5rem;
  }
  
  #swapxpertmesh .d-flex.gap-3 {
    flex-direction: column;
  }
}

@media (max-width: 575.98px) {
  #swapxpertmesh h2 {
    font-size: 2rem;
  }
  
  #swapxpertmesh .row.g-3 .col-6 {
    width: 100%;
    margin-bottom: 0.5rem;
  }
} 

#HeroSlides {
  height: 800px;
}
#HeroSlides .carousel-inner {
  height: 100%;
}
#HeroSlides .carousel-item {
  height: 100%;
}
#HeroSlides .carousel-item img {
  height: 100%;
  object-fit: cover;
  object-position: center;
}
#HeroSlides .carousel-caption {
  bottom: 20px;
  background: rgba(0, 0, 0, 0.5);
  padding: 15px;
  border-radius: 5px;
}