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

:root {
  --primary: #1a4d7a;
  --secondary: #1a4d7a;
  --accent: #00ff9d;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #1a1a1a;
  overflow-x: hidden;
}

.card-nav-container {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: auto;
  max-width: 95%;
  z-index: 1000;
}

.logo-left {
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 1001;
}

.logo-left img {
  height: 112px;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.logo-left.hidden {
  opacity: 0;
  transform: translateY(-20px);
  pointer-events: none;
}

.card-nav {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  height: 60px;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.card-nav-container.hidden {
  opacity: 0;
  transform: translateY(-20px);
  pointer-events: none;
}

.card-nav-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 1.5rem;
  gap: 2rem;
  height: 60px;
  white-space: nowrap;
}

.hamburger-menu {
  width: 24px;
  height: 24px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}

.hamburger-line {
  width: 100%;
  height: 2px;
  background: currentColor;
  transition: all 0.3s ease;
}

.hamburger-menu.open .hamburger-line:first-child {
  transform: rotate(45deg) translateY(8px);
}

.hamburger-menu.open .hamburger-line:last-child {
  transform: rotate(-45deg) translateY(-8px);
}

.brand-name {
  font-size: 1.2rem;
  font-weight: 700;
  color: #2c3e50;
}

.card-nav-cta-button {
  background: var(--secondary);
  color: white;
  border: none;
  padding: 0.7rem 1.5rem;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.card-nav-cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(26, 77, 122, 0.3);
}

.card-nav-content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding: 1rem;
  width: 800px;
}

.nav-card {
  border-radius: 15px;
  padding: 1.5rem;
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
  cursor: pointer;
  border: 2px solid rgba(26, 77, 122, 0.2);
}

.nav-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(26, 77, 122, 0.2);
  background: rgba(26, 77, 122, 0.1) !important;
}

.nav-card-label {
  font-size: 1.3rem;
  font-weight: 700;
  color: inherit;
}

.nav-card-link-icon {
  font-size: 1.5rem;
  opacity: 0.7;
}

.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  text-align: center;
  color: white;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
}

.hero-content {
  position: relative;
  z-index: 1;
  animation: fadeInUp 1s ease;
}

.hero-title {
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-quote {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  font-style: italic;
  animation: fadeInScale 2s ease infinite alternate;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.hero-tagline {
  font-size: 1.2rem;
  font-style: italic;
  opacity: 0.9;
  font-weight: 700;
}

@keyframes fadeInScale {
  0% {
    opacity: 0.8;
    transform: scale(1);
  }
  100% {
    opacity: 1;
    transform: scale(1.05);
  }
}

.section {
  padding: 5rem 2rem;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

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

.section-dark {
  background: var(--primary);
  color: white;
  position: relative;
  overflow: hidden;
}

.section-dark::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(26, 77, 122, 0.15) 0%, transparent 70%);
  animation: rotateBackground 20s linear infinite;
}

.section-dark::after {
  content: '';
  position: absolute;
  top: 50%;
  left: -20%;
  width: 150%;
  height: 150%;
  background: url('media/Logos/Shuram Logo png.png') no-repeat center;
  background-size: contain;
  opacity: 0.05;
  transform: translateY(-50%);
  animation: slideLogoRight 60s linear infinite;
  pointer-events: none;
}

@keyframes slideLogoRight {
  0% {
    left: -20%;
  }
  100% {
    left: 120%;
  }
}

@keyframes rotateBackground {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  text-align: center;
  position: relative;
  display: inline-block;
  width: 100%;
  text-transform: uppercase;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--secondary);
}

.section-intro {
  text-align: center;
  font-size: 1.3rem;
  color: #666;
  margin-bottom: 3rem;
  font-weight: 300;
}

.labs-section .section-intro {
  color: #000;
  font-weight: 500;
}

.about-grid-four {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.about-square {
  background: #f8f9fa;
  padding: 2.5rem;
  border-radius: 15px;
  border-left: 4px solid var(--secondary);
  min-height: 350px;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s, box-shadow 0.3s;
}

.about-square:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-square h3 {
  color: var(--secondary);
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.about-square p {
  color: #333;
  line-height: 1.8;
  margin-bottom: 1rem;
  font-size: 1rem;
}

.about-square h4 {
  color: var(--secondary);
  font-size: 1.2rem;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.chairman-square {
  padding: 0;
  overflow: hidden;
}

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

.chairman-image {
  width: 100%;
  flex: 1;
  object-fit: cover;
  object-position: center top;
  border-radius: 10px;
  margin-top: 1.5rem;
}

.pillars-compact {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pillar-item h4 {
  color: var(--secondary);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.pillar-item p {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.6;
}

.about-main-section {
  background: #f8f9fa;
  padding: 3rem;
  border-radius: 20px;
  margin-bottom: 3rem;
  border-left: 4px solid var(--secondary);
}

.about-main-section h3 {
  color: var(--secondary);
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.about-main-section p {
  color: #333;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

.milestone-list {
  list-style: none;
  padding: 0;
  margin-top: 1.5rem;
}

.milestone-list li {
  background: white;
  padding: 1.5rem;
  border-radius: 10px;
  margin-bottom: 1rem;
  border-left: 4px solid var(--secondary);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.vision-mission-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.vm-card {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.vm-card h4 {
  color: var(--secondary);
  font-size: 1.3rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.vm-card p {
  color: #555;
  line-height: 1.8;
  font-style: italic;
}

.core-pillars-section {
  background: linear-gradient(135deg, var(--primary), #2a5f8f);
  padding: 3rem;
  border-radius: 20px;
  margin-top: 3rem;
}

.core-pillars-section h3 {
  color: white;
  font-size: 2rem;
  margin-bottom: 2rem;
  text-align: center;
  text-transform: uppercase;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.pillar-card {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  transition: transform 0.3s;
}

.pillar-card:hover {
  transform: translateY(-10px);
}

.pillar-card h4 {
  color: var(--secondary);
  font-size: 1.3rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.pillar-card p {
  color: #555;
  line-height: 1.7;
}

.founder-section {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  margin: 3rem 0 4rem;
  background: rgba(26, 77, 122, 0.05);
  padding: 3rem;
  border-radius: 20px;
  align-items: start;
}

.founder-image {
  width: 100%;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.founder-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.founder-text h3 {
  color: var(--secondary);
  font-size: 1.5rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.founder-text p {
  color: #333;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.about-card {
  background: #f8f9fa;
  padding: 2rem;
  border-radius: 15px;
  border-left: 4px solid var(--secondary);
  transition: transform 0.3s, box-shadow 0.3s;
}

.about-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-card h3 {
  color: var(--primary);
  margin-bottom: 1rem;
  font-size: 1.4rem;
  text-transform: uppercase;
}

.about-card p {
  line-height: 1.8;
  color: #555;
}

.about-footer {
  margin-top: 3rem;
  padding: 2rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 15px;
  text-align: center;
}

.about-footer p {
  color: white;
  font-size: 1.2rem;
  line-height: 1.8;
  margin: 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.service-card {
  background: white;
  color: #1a1a1a;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.service-card h3 {
  color: var(--secondary);
  margin-bottom: 1rem;
  font-size: 1.5rem;
  text-transform: uppercase;
}

.service-details {
  margin-top: 4rem;
  background: white;
  padding: 3rem;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.service-detail-content h3 {
  color: var(--secondary);
  font-size: 2rem;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.service-detail-content h4 {
  color: var(--primary);
  font-size: 1.3rem;
  margin: 2rem 0 1rem;
  text-transform: uppercase;
}

.service-detail-content p {
  color: #1a1a1a;
  line-height: 1.8;
  margin-bottom: 1rem;
  font-size: 1.05rem;
}

.service-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.service-list li {
  background: rgba(26, 77, 122, 0.1);
  padding: 1rem 1.5rem;
  border-radius: 10px;
  border-left: 4px solid var(--secondary);
  color: var(--primary);
  font-weight: 600;
  transition: all 0.3s;
}

.service-list li:hover {
  transform: translateX(5px);
  box-shadow: 0 5px 15px rgba(26, 77, 122, 0.3);
}

.service-card {
  cursor: pointer;
}

.service-card.active {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 15px 40px rgba(26, 77, 122, 0.3);
}

.service-list-detailed {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 1.5rem;
}

.service-list-detailed li {
  background: rgba(26, 77, 122, 0.05);
  padding: 2rem;
  border-radius: 15px;
  border-left: 4px solid var(--secondary);
  transition: all 0.3s;
}

.service-list-detailed li:hover {
  transform: translateX(10px);
  box-shadow: 0 10px 30px rgba(26, 77, 122, 0.2);
}

.service-list-detailed h4 {
  color: var(--secondary);
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.service-list-detailed p {
  color: #1a1a1a;
  line-height: 1.8;
  margin: 0;
}

.labs-section {
  background: linear-gradient(rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.4)), url('media/Images/lab tech.webp') center/cover fixed;
  position: relative;
}

.labs-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
  font-size: 1.1rem;
  color: #555;
  line-height: 1.8;
}

.labs-subtitle {
  font-size: 2rem;
  color: var(--primary);
  margin: 3rem 0 1rem;
  text-align: center;
  text-transform: uppercase;
}

.advantage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.advantage-card {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.advantage-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--secondary);
}

.advantage-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.advantage-year {
  display: inline-block;
  background: var(--secondary);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.advantage-card h4 {
  color: var(--primary);
  font-size: 1.3rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.advantage-card p {
  color: #666;
  line-height: 1.7;
}



.tabs-container {
  max-width: 900px;
  margin: 3rem auto;
}

.tabs-nav {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.tab-btn {
  background: white;
  border: 2px solid #e0e0e0;
  padding: 1rem 1.5rem;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #666;
}

.tab-btn:hover {
  border-color: var(--secondary);
  color: var(--secondary);
  transform: translateY(-2px);
}

.tab-btn.active {
  background: var(--secondary);
  color: white;
  border-color: var(--secondary);
}

.tabs-content {
  position: relative;
  min-height: 300px;
}

.tab-panel {
  display: none;
  background: white;
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  animation: fadeIn 0.5s ease;
}

.tab-panel.active {
  display: block;
}

.tab-panel h4 {
  color: var(--secondary);
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
}

.tab-panel p {
  color: #666;
  line-height: 1.8;
  margin-bottom: 1rem;
  font-size: 1.05rem;
}

.tab-panel p:last-child {
  margin-bottom: 0;
}

.tab-panel strong {
  color: var(--primary);
  font-weight: 600;
}

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

.timeline-title {
  font-size: 2rem;
  color: var(--primary);
  margin: 4rem 0 2rem;
  text-align: center;
  text-transform: uppercase;
}

.timeline-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
  margin: 3rem auto;
  max-width: 1200px;
}

.timeline-year-card {
  background: var(--secondary);
  border-radius: 15px;
  padding: 3rem 2rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.timeline-year-card:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 15px 40px rgba(26, 77, 122, 0.4);
}

.year-number {
  font-size: 2rem;
  font-weight: 700;
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.timeline-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 10000;
  align-items: center;
  justify-content: center;
}

.timeline-modal-content {
  background: white;
  padding: 3rem;
  border-radius: 20px;
  max-width: 800px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  animation: modalFadeIn 0.3s ease;
}

.modal-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.modal-gallery img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.3s;
}

.modal-gallery img:hover {
  transform: scale(1.05);
}

.timeline-modal-close {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: 2rem;
  cursor: pointer;
  color: #999;
  transition: color 0.3s;
}

.timeline-modal-close:hover {
  color: var(--secondary);
}

.timeline-modal-content h3 {
  color: var(--secondary);
  font-size: 2rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.timeline-modal-content p {
  color: #666;
  line-height: 1.8;
  font-size: 1.1rem;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.contact-card {
  background: #f8f9fa;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.contact-card h3 {
  color: var(--primary);
  margin-bottom: 1rem;
  font-size: 1.4rem;
  text-transform: uppercase;
}

.contact-card p {
  color: #555;
  line-height: 1.8;
  margin-bottom: 0.5rem;
}

.contact-card a {
  color: var(--secondary);
  text-decoration: none;
}

.map-link {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.6rem 1.2rem;
  background: var(--secondary);
  color: white;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s;
  text-decoration: none;
}

.map-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(26, 77, 122, 0.3);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form input,
.contact-form textarea {
  padding: 0.8rem;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--secondary);
}

.contact-form button {
  background: var(--secondary);
  color: white;
  border: none;
  padding: 1rem;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.contact-form button:hover {
  background: #154060;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(26, 77, 122, 0.3);
}

.footer {
  background: white;
  color: #1a1a1a;
  text-align: center;
  padding: 2rem;
  border-top: 1px solid #e0e0e0;
}

.footer a {
  color: var(--secondary);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s;
}

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

.convoy-slider {
  width: 100%;
  height: 70vh;
  position: relative;
  overflow: hidden;
}

.slider-container {
  width: 100%;
  height: 100%;
  position: relative;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slide.active {
  opacity: 1;
}

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

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

@media (max-width: 768px) {
  .logo-left {
    top: 10px;
    left: 10px;
  }

  .logo-left img {
    height: 70px;
  }

  .card-nav-container {
    top: 10px;
    max-width: 90%;
  }

  .card-nav {
    height: 50px;
  }

  .card-nav-top {
    height: 50px;
    padding: 0 1rem;
    gap: 1rem;
  }

  .brand-name {
    font-size: 0.9rem;
  }

  .card-nav-cta-button {
    padding: 0.5rem 0.8rem;
    font-size: 0.85rem;
  }

  .card-nav-content {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .nav-card {
    min-height: 80px;
    padding: 1rem;
  }

  .nav-card-label {
    font-size: 1.1rem;
  }

  .hero-title {
    font-size: 2rem;
    margin-bottom: 1rem;
  }

  .hero-quote {
    font-size: 1rem;
    margin-bottom: 1rem;
  }

  .section {
    padding: 3rem 1rem;
  }

  .section-title {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
  }

  .section-intro {
    font-size: 1rem;
    margin-bottom: 2rem;
  }

  .about-grid-four {
    grid-template-columns: 1fr;
  }

  .about-square {
    min-height: auto;
    padding: 2rem;
  }

  .about-square h3 {
    font-size: 1.3rem;
  }

  .about-main-section {
    padding: 2rem;
  }

  .about-main-section h3 {
    font-size: 1.4rem;
  }

  .about-main-section p {
    font-size: 0.95rem;
  }

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

  .core-pillars-section {
    padding: 2rem;
  }

  .pillars-grid {
    grid-template-columns: 1fr;
  }

  .founder-section {
    grid-template-columns: 1fr;
    padding: 1.5rem;
    gap: 2rem;
  }

  .founder-text h3 {
    font-size: 1.2rem;
  }

  .founder-text p {
    font-size: 0.95rem;
  }

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

  .about-card {
    padding: 1.5rem;
  }

  .about-card h3 {
    font-size: 1.2rem;
  }

  .about-footer {
    padding: 1.5rem;
  }

  .about-footer p {
    font-size: 1rem;
  }

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

  .service-card {
    padding: 1.5rem;
  }

  .service-card h3 {
    font-size: 1.3rem;
  }

  .service-details {
    padding: 1.5rem;
    margin-top: 2rem;
  }

  .service-detail-content h3 {
    font-size: 1.5rem;
  }

  .service-detail-content h4 {
    font-size: 1.1rem;
  }

  .service-detail-content p {
    font-size: 0.95rem;
  }

  .service-list {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .service-list li {
    padding: 0.8rem 1rem;
    font-size: 0.9rem;
  }

  .service-list-detailed li {
    padding: 1.5rem;
  }

  .service-list-detailed h4 {
    font-size: 1.1rem;
  }

  .service-list-detailed p {
    font-size: 0.9rem;
  }

  .labs-section {
    background: linear-gradient(rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.5)), url('media/Images/lab tech.webp') center/cover;
  }

  .labs-intro {
    font-size: 0.95rem;
    margin-bottom: 2rem;
  }

  .labs-subtitle {
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
  }

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

  .advantage-card {
    padding: 1.5rem;
  }

  .advantage-card h4 {
    font-size: 1.1rem;
  }

  .advantage-card p {
    font-size: 0.9rem;
  }

  .tabs-container {
    margin: 2rem auto;
  }

  .tabs-nav {
    flex-direction: column;
    gap: 0.5rem;
  }

  .tab-btn {
    width: 100%;
    padding: 0.8rem 1rem;
    font-size: 0.9rem;
  }

  .tab-panel {
    padding: 1.5rem;
    min-height: 250px;
  }

  .tab-panel h4 {
    font-size: 1.3rem;
  }

  .tab-panel p {
    font-size: 0.95rem;
  }

  .timeline-gallery {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
  }

  .timeline-year-card {
    padding: 2rem 1rem;
  }

  .year-number {
    font-size: 1.5rem;
  }

  .modal-gallery {
    grid-template-columns: 1fr;
  }

  .modal-gallery img {
    height: 250px;
  }

  .timeline-modal-content {
    padding: 1.5rem;
    width: 95%;
  }

  .timeline-modal-content h3 {
    font-size: 1.5rem;
  }

  .timeline-modal-content p {
    font-size: 0.95rem;
  }

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

  .contact-card {
    padding: 1.5rem;
  }

  .contact-card h3 {
    font-size: 1.2rem;
  }

  .contact-card p {
    font-size: 0.9rem;
  }

  .contact-form input,
  .contact-form textarea {
    font-size: 0.9rem;
  }

  .map-link {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }

  .footer {
    padding: 1.5rem 1rem;
    font-size: 0.9rem;
  }

  .convoy-slider {
    height: 50vh;
  }
}
