@font-face {
  font-family: 'Inter 18pt';
  src: url('../fonts/Inter18pt-Bold.woff2') format('woff2');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter 18pt';
  src: url('../fonts/Inter18pt-Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter 18pt';
  src: url('../fonts/Inter18pt-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter 18pt';
  src: url('../fonts/Inter18pt-Regular.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter 18pt';
  src: url('../fonts/Inter18pt-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}



:root {
  --primary-color: #16212f;
  --primary-hover: #0e1826;
  --secondary-color: #ed362d;
  --secondary-hover: #c91a11;
  --accent-color: #ff6f3c;
  --accent-hover: #e55a2b;
  --success-color: #4caf50;
  --success-bg: #e8f5e9;
  --light-bg: rgba(0, 0, 0, 0.05);
  --white: #ffffff;
  --text-dark: #2d3748;
  --text-muted: #718096;
  --font-headings: 'Inter 18pt', sans-serif;
  --font-body: 'Inter 18pt', sans-serif;
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07), 0 10px 15px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base resets & typography */
body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background-color: var(--white);
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-headings);
  color: var(--primary-color);
  font-weight: 700;
}

/* Enforcing uniform paragraph font size (16px) and line height (28px) */
p,
.text-muted,
.package-desc,
.department-desc,
.why-card p,
.contact-info-content p,
.about-achievement-card p,
.footer p {
  font-size: 16px !important;
  line-height: 28px !important;
  font-family: var(--font-body) !important;
}

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

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

/* Utility Classes */
.bg-light-custom {
  background-color: var(--light-bg);
}

.text-primary-custom {
  color: var(--primary-color);
}

.text-secondary-custom {
  color: var(--secondary-color);
}

.btn-primary-custom {
  background-color: var(--primary-color);
  color: var(--white);
  border: 1px solid var(--primary-color);
  padding: 10px 24px;
  font-weight: 600;
  border-radius: 30px;
  transition: var(--transition-smooth);
}

.btn-primary-custom:hover {
  background-color: var(--primary-hover);
  border-color: var(--primary-hover);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.btn-secondary-custom {
  background-color: var(--secondary-color);
  color: var(--white);
  border: 1px solid var(--secondary-color);
  padding: 10px 24px;
  font-weight: 600;
  border-radius: 30px;
  transition: var(--transition-smooth);
}

.btn-secondary-custom:hover {
  background-color: var(--secondary-hover);
  border-color: var(--secondary-hover);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.btn-outline-primary-custom {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  padding: 8px 20px;
  font-weight: 600;
  border-radius: 30px;
  transition: var(--transition-smooth);
  font-size: 15px;
}

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

.badge-custom {
  background-color: rgba(237, 54, 45, 0.1);
  color: var(--secondary-color);
  font-family: var(--font-headings);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  padding: 6px 16px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

/* Topbar Styles */
.topbar {
  background-color: var(--primary-color);
  color: var(--white);
  font-size: 0.85rem;
  padding: 0px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.topbar a {
  color: rgba(255, 255, 255, 0.85);
  line-height: 45px;
  display: inline-block;
  padding: 0;
  margin: 0;

}

.socialmedia-logos {
  width: auto;
  display: inline-block;
}

.socialmedia-logos a {
  border-left: 1px solid rgba(255, 255, 255, 0.15);
  width: 40px;
  text-align: center;
  font-size: 13px;
}

.socialmedia-logos a:last-child {
  border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.topbar a:hover {
  color: var(--secondary-color);
}

.topbar-divider {
  display: inline-block;
  width: 1px;
  height: 12px;
  background-color: rgba(255, 255, 255, 0.2);
  margin: 0 10px;
  vertical-align: middle;
}

/* Header & Navigation */
.navbar-custom {
  background-color: var(--white);
  box-shadow: var(--shadow-sm);
  padding: 18px 0;
  transition: var(--transition-smooth);
}

.navbar-custom.sticky-top {
  box-shadow: var(--shadow-md);
}

.navbar-brand-custom {
  display: flex;
  align-items: center;
  gap: 10px;
}

.navbar-logo-text h3 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.navbar-logo-text span {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
  display: block;
}

.nav-link-custom {
  color: var(--text-dark);
  font-weight: 500;
  padding: 8px 25px !important;
  font-size: 0.95rem;
  position: relative;
}

.nav-link-custom::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 16px;
  right: 16px;
  height: 2px;
  background-color: var(--secondary-color);
  transform: scaleX(0);
  transition: var(--transition-smooth);
}

.nav-link-custom:hover,
.nav-link-custom.active {
  color: var(--secondary-color) !important;
}

.nav-link-custom:hover::after,
.nav-link-custom.active::after {
  transform: scaleX(1);
}

/* Hero Section */
.hero-section {
  position: relative;
  background-image: linear-gradient(rgba(26, 54, 93, 0.85), rgba(26, 54, 93, 0.7)), url('../images/hero_laboratory.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 60vh;
  display: flex;
  align-items: center;
  color: var(--white);
  padding: 80px 0;
}

.hero-title {
  font-size: 3.5rem;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 1.5rem;
  font-weight: 800;
}

.hero-subtitle {
  font-size: 1.15rem;
  opacity: 0.9;
  margin-bottom: 2rem;
}

.hero-cta {
  display: inline-table;
  gap: 15px;
  align-items: center;
}

.hero-cta a {
  font-size: 15px;
  width: 170px;
  text-align: center;
  margin: 0px 10px;
}

/* Packages Slider (Swiper) */
.packages-slider-section {
  padding: 80px 0;
  background-color: var(--light-bg);
}

.section-header {
  margin-bottom: 3.5rem;
}

.section-header h2 {
  font-size: 2.25rem;
  margin-bottom: 1rem;
}

.section-header p {
  color: var(--text-dark);

}

.swiper-container-custom {
  padding: 0px 0px 50px 0px;
  overflow: hidden;
}

.package-card {
  background-color: var(--white);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.03);
  transition: var(--transition-smooth);
  height: 100%;
  display: flex;
  flex-direction: column;
}

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

.package-card-img-wrapper {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.package-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.package-card:hover .package-card-img {
  transform: scale(1.08);
}

.package-card-body {
  padding: 30px 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.package-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.package-stats-bar {
  background-color: var(--light-bg);
  padding: 12px 18px;
  border-radius: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}

.package-price {
  display: flex;
  flex-direction: column;
}

.package-price .price-label {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.package-price .price-value {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--primary-color);
}

.package-tests {
  display: flex;
  align-items: center;
  gap: 8px;
}

.package-tests-badge {
  background-color: var(--secondary-color);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 700;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.package-tests-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary-color);
}

.package-card-footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.package-card-footer a,
.package-card-footer button {
  padding: 14px 10px;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: none;
  background: transparent;
}

.package-btn-book {
  color: var(--secondary-color) !important;
}

.package-btn-book i {
  color: var(--secondary-color) !important;
}

.package-btn-book:hover {
  background-color: rgba(237, 54, 45, 0.1);
}

.package-btn-details {
  border-left: 1px solid rgba(0, 0, 0, 0.06);
  color: var(--primary-color) !important;
  cursor: pointer;
}

.package-btn-details:hover {
  background-color: rgba(237, 54, 45, 0.1);
}

/* About Section */
.about-section-home {
  padding: 80px 0;
}

.about-img-box {
  position: relative;
}

.about-img {
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  width: 100%;
}

/* Departments Section */
.departments-section {
  padding: 80px 0;
}

.department-card {
  background-color: var(--white);
  border-radius: 16px;
  padding: 45px 20px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: var(--transition-smooth);
  height: 100%;
  text-align: center;
}

.department-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--secondary-color);
}

.department-card p {
  margin: 0px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  -webkit-box-orient: vertical;
}

.department-icon {
  width: 70px;
  height: 70px;
  background-color: rgba(0, 168, 204, 0.1);
  color: var(--secondary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px auto;
  font-size: 2rem;
  transition: var(--transition-smooth);
}

.department-card:hover .department-icon {
  background-color: var(--secondary-color);
  color: var(--white);
}

.department-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 12px;
}

/* Why Choose Us Section */
.why-choose-us {
  padding: 80px 0;
  background-image: linear-gradient(rgba(26, 54, 93, 0.95), rgba(26, 54, 93, 0.95)), url('../images/hero_laboratory.png');
  background-size: cover;
  background-position: center;
  color: var(--white);
}

.why-choose-us .section-header h2 {
  color: var(--white);
}

.why-choose-us .section-header p {
  color: rgba(255, 255, 255, 0.7);
}

.why-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 16px;
  height: 100%;
  transition: var(--transition-smooth);
}

.why-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--secondary-color);
  transform: translateY(-5px);
}

.why-icon {
  font-size: 2.25rem;
  color: var(--secondary-color);
  margin-bottom: 20px;
}

.why-card h4 {
  color: var(--white);
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.page-header {
  position: relative;
  background-image: linear-gradient(rgba(26, 54, 93, 0.9), rgba(26, 54, 93, 0.8)), url('../images/hero_laboratory.png');
  background-size: cover;
  background-position: center;
  color: var(--white);
  padding: 60px 0;
  margin-bottom: 100px;
}

.page-header h1 {
  color: var(--white);
  font-size: 2.5rem;
  margin: 0;
}

.breadcrumb-custom {
  background: transparent;
  padding: 0;
  margin: 10px 0 0 0;
}

.breadcrumb-item a {
  color: rgba(255, 255, 255, 0.7);
}

.breadcrumb-item a:hover {
  color: var(--secondary-color);
}

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

/* Detailed Pages Specifics */
/* About Page Components */
.value-card {
  background-color: var(--white);
  padding: 30px;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.03);
  text-align: center;
  height: 100%;
}

.value-icon {
  width: 60px;
  height: 60px;
  background-color: var(--light-bg);
  color: var(--secondary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px auto;
  font-size: 1.5rem;
}

/* Custom Modal Sizing & Layout */
.modal-content-custom {
  border-radius: 16px;
  border: none;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.modal-header-custom {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 20px 24px;
}

.modal-header-custom h5 {
  color: var(--white);
  margin: 0;
  font-weight: 700;
}

.modal-header-custom .btn-close {
  filter: invert(1) grayscale(1) brightness(2);
}

.modal-body-custom {
  padding: 24px;
}

.test-grid-modal {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

@media (max-width: 575.98px) {
  .test-grid-modal {
    grid-template-columns: 1fr;
  }
}

.test-item-modal {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text-dark);
  font-weight: 500;
}

.test-item-modal i {
  color: var(--success-color);
}

/* Contact Page Components */
.contact-info-card {
  background-color: var(--white);
  padding: 30px;
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.03);
  display: flex;
  gap: 20px;
  align-items: flex-start;
  height: 100%;
}

.contact-icon-wrapper {
  width: 50px;
  height: 50px;
  background-color: rgba(0, 168, 204, 0.1);
  color: var(--secondary-color);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.contact-info-content h5 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.contact-form-card {
  background-color: var(--white);
  padding: 40px;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.contact-form-card .form-control {
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  padding: 12px 16px;
  font-size: 0.9rem;
  transition: var(--transition-smooth);
}

.contact-form-card .form-control:focus {
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 3px rgba(0, 168, 204, 0.15);
}

.contact-form-card textarea.form-control {
  min-height: 120px;
}

.map-container {
  border-radius: 5px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-bottom: 90px;
}

/* Swiper Customize Pagination */
.swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background: var(--text-muted);
  opacity: 0.3;
  transition: var(--transition-smooth);
}

.swiper-pagination-bullet-active {
  background: var(--secondary-color) !important;
  width: 24px;
  border-radius: 4px;
  opacity: 1;
}

/* Footer Section */
.footer {
  background-color: #0d1b2a;
  color: rgba(255, 255, 255, 0.7);
  padding: 80px 0 30px 0;
  border-top: 5px solid var(--secondary-color);
}

.footer h4 {
  color: var(--white);
  font-size: 1.25rem;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
}

.footer h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--secondary-color);
}

.footer-logo-text h3 {
  color: var(--white);
  margin-bottom: 4px;
}

.footer-logo-text img {
  width: auto;
  height: 55px;
}

.footer-logo-text span {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

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

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-links a:hover {
  color: var(--secondary-color);
  padding-left: 5px;
}

.footer-contact-item {
  display: flex;
  gap: 15px;
}

.footer-contact-item i {
  color: var(--secondary-color);
  font-size: 14px;
  margin-top: 8px;
}

.footer-contact-item p a {
  color: var(--font-body);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 30px;
  margin-top: 50px;
  font-size: 0.85rem;
}

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

.footer-social-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.footer-social-btn:hover {
  background-color: var(--secondary-color);
  color: var(--white);
  transform: translateY(-2px);
}

/* Floating Elements */
.floating-whatsapp {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #25d366;
  color: var(--white);
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  box-shadow: var(--shadow-md);
  z-index: 999;
  transition: var(--transition-smooth);
}

.floating-whatsapp:hover {
  color: var(--white);
  background-color: #20ba59;
  transform: scale(1.1);
  box-shadow: var(--shadow-lg);
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 100px;
  right: 30px;
  background-color: var(--primary-color);
  color: var(--white);
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  box-shadow: var(--shadow-sm);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
}

.back-to-top.active {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background-color: var(--secondary-color);
  color: var(--white);
  transform: translateY(-3px);
}

/* Responsive Overrides */
@media (max-width: 991.98px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .navbar-collapse {
    background-color: var(--white);
    padding: 20px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    margin-top: 15px;
  }

  .nav-link-custom::after {
    display: none;
  }

  .topbar {
    display: none;
    /* Hide topbar on smaller screens */
  }
}

.header-logo img {
  width: auto;
  height: 55px;
}

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

.packages-slider-section .col-lg-8 p {
  margin-bottom: 0px;
}

.packages-slider-section .col-lg-4 .btn-outline-primary-custom {
  margin-bottom: 10px;
}

.packages-swiper .package-desc {
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  margin-bottom: 30px;
}

.about-section-home .col-lg-6:last-child p {
  text-align: justify;
}

.about-section-home .btn-primary-custom {
  font-size: 15px;
  font-weight: 500 !important;
}

.footer-bottom .col-md-6:last-child p,
.footer-bottom .col-md-6:last-child p a {
  color: var(--font-body) !important;
}

.footer-bottom .col-md-6:last-child p font {
  margin: 0px 15px;
}

.departments-section .col-lg-8 p {
  margin-bottom: 0px;
}

.swiper-slide {
  padding-top: 5px;
}

.ourmission-vision-wrap {
  padding: 80px 0px;
  margin-top: 80px;
}

.abot-wrapper-div .col-lg-6 p {
  text-align: justify;
}

.package-heading-con p {
  margin-bottom: 0px;
}

.package-list-wrapper {
  padding-bottom: 80px;
}

.package-list-wrapper .package-grid-item {
  margin-top: 15px;
  margin-bottom: 15px;
}

.dept-detail-card {
  background-color: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.04);
  margin-bottom: 3.5rem;
  transition: var(--transition-smooth);
}

.dept-detail-card:hover {
  box-shadow: var(--shadow-md);
}

.dept-img-col {
  min-height: 300px;
  background-size: cover;
  background-position: center;
}

.test-badge-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 1.5rem;
}

.test-badge {
  background-color: var(--light-bg);
  color: var(--primary-color);
  border: 1px solid rgba(0, 0, 0, 0.06);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.825rem;
  font-weight: 500;
  transition: var(--transition-smooth);
}

.test-badge:hover {
  background-color: var(--secondary-color);
  color: var(--white);
  border-color: var(--secondary-color);
}

.departments-wrapper {
  padding-bottom: 45px;
}


/* Redesigned Contact Cards Section */
.contact-card-redesigned {
  background-color: var(--white);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: var(--transition-smooth);
  height: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
}

.contact-card-redesigned::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--secondary-color);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: var(--transition-smooth);
}

.contact-card-redesigned:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(237, 54, 45, 0.15);
}

.contact-card-redesigned:hover::before {
  transform: scaleY(1);
}

.contact-icon-redesigned {
  width: 55px;
  height: 55px;
  background-color: rgba(237, 54, 45, 0.08);
  color: var(--secondary-color);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: var(--transition-smooth);
}

.contact-card-redesigned:hover .contact-icon-redesigned {
  background-color: var(--secondary-color);
  color: var(--white);
}

.contact-heading-redesigned {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-top: 10px;
}

.contact-content-redesigned p {
  margin-bottom: 8px;
}

.representative-item {
  padding: 10px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.representative-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.representative-item .d-flex {
  line-height: normal;
}

.representative-item .d-flex small {
  font-size: 13px !important;
  line-height: normal;
}

.contactmiddle-area {
  margin-bottom: 80px;
  margin-top: 40px;
}

.contactmiddle-area .col-lg-5 img {
  width: 100%;
  border-radius: 10px;
  height: 540px;
  object-fit: cover;
}


.scanning-section {
  background: #ffffff;
  position: relative;
  margin-bottom: 80px;
}

.scanning-section .text-primary-custom {
  font-size: 18px;
  font-weight: 600;
}

.machine-card {
  border: 1px solid rgba(0, 0, 0, 0.08);
  background-color: #ffffff;
  transition: var(--transition-smooth);
}

.machine-card:hover {
  box-shadow: var(--shadow-lg) !important;
  border-color: rgba(237, 54, 45, 0.15);
}

.machine-image-wrapper {
  max-height: 380px;
  background-color: #f8f9fa;
  display: flex;
  justify-content: center;
  align-items: center;
}

.machine-image-wrapper img {
  max-width: 100%;
  height: auto;
  max-height: 280px;
  object-fit: contain;
  transition: var(--transition-smooth);
}

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

.scan-category-card {
  transition: var(--transition-smooth);
  border: 1px solid rgba(0, 0, 0, 0.05);
  background: #fdfdfd;
}

.scan-category-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md) !important;
  border-color: var(--secondary-color);
  background: #ffffff;
}

.scan-list-item {
  display: flex;
  align-items: flex-start;
  padding: 8px 0;
  border-bottom: 1px dashed rgba(0, 0, 0, 0.05);
  font-size: 15px;
}

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

.scan-icon-box {
  width: 40px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.small-paragraph {
  font-size: 14px !important;
  line-height: 22px !important;
}

.machinery-swiper .swiper-slide h4 {
  width: 100%;
  text-align: center;
  padding: 0;
  margin: 10px 0px 0px 0px;
  font-size: 16px;
  font-weight: 500;
}

.machinery-swiper .swiper-slide span {
  width: 100%;
  height: 260px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  display: inline-block;
  border-radius: 10px;
  overflow: hidden;
}

.machinery-swiper .swiper-slide span img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.ourmachinery-wrapper {
  margin-top: 90px;
  margin-bottom: 80px;
}


@media screen and (max-width: 1024px) {}

@media screen and (max-width: 980px) {
  .packages-slider-section .col-lg-8 p br {
    display: none;
    visibility: hidden;
  }

  .navbar-custom {
    padding: 10px 0px;
  }

  .packages-slider-section .section-header .col-lg-8 {
    text-align: center;
  }

  .about-img {
    margin-bottom: 45px;
  }

  .departments-section .col-lg-8 p {
    margin-bottom: 0px;
  }
}

@media screen and (max-width: 540px) {

  .badge-custom,
  .footer .col-lg-3 {
    display: none;
    visibility: hidden;
  }

  .hero-title {
    font-size: 28px;
  }

  .hero-cta a {
    width: 160px;
    margin: 0px 4px;
  }

  .section-header h2 {
    font-size: 26px;
  }

  .section-header {
    margin-bottom: 25px;
  }

  .footer .col-lg-4:first-child {
    margin-bottom: 45px;
  }

  .footer-bottom .col-md-6 p,
  .footer-bottom .col-md-6 p a {
    font-size: 14px !important;
    line-height: 22px !important;
  }

  .floating-whatsapp {
    bottom: 15px;
    right: 15px;
  }

  .back-to-top {
    display: none;
    visibility: hidden;
  }

  .page-header {
    margin-bottom: 80px;
  }


  .ourmission-vision-wrap .col-md-4 {
    margin-top: 12px;
    margin-bottom: 12px;
  }

  .page-header h1 {
    font-size: 28px;
    width: 100%;
    text-align: center;
  }

  .breadcrumb-custom {
    text-align: center;
    display: inline-table;
    width: 100%;
  }

  .breadcrumb-custom li {
    display: inline-block;
    font-size: 14px;
  }

  .about-section-home .col-lg-6 img {
    margin-bottom: 45px;
  }

  .ourmachinery-wrapper {
    margin-top: 60px;
    margin-bottom: 60px;
  }



}