:root {
  --gemba: #0F2853;
  --gemba-light: #F0F4F9;
  --gemba-dark: #0A1A3C;
  --gemba-secondary: #F5CA2C;
  --gemba-secondary-dark: #E5B71D;
  --white: #FFFFFF;
  --black: #000000;
  --gray-100: #F9FAFB;
  --gray-200: #F1F5F9;
  --gray-300: #E2E8F0;
  --gray-400: #CBD5E1;
  --gray-500: #94A3B8;
  --gray-600: #64748B;
  --gray-700: #475569;
  --gray-800: #334155;
  --gray-900: #1E293B;
  --radius: 0.5rem;
  --navbar-height: 5rem; /* Adjust this value to match your navbar height */
}

html, body {
  width: 100vw;
  max-width: 100vw;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
  padding-top: 80px; /* or whatever your navbar height is */
}

#navbar,
#navbar .container,
.navbar-flex {
  width: 100%;
  max-width: 100vw;
  box-sizing: border-box;
}

#navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  z-index: 100;
  background: var(--gemba);
}

.hero-section {
  padding-top: 5rem; /* Adjust to match your navbar height */
}

.hero-section,
section {
  max-width: 100vw;
  overflow-x: hidden;
}

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

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  color: var(--gray-800);
  overflow-x: hidden;
  padding-top: 0 !important;
}

a {
  text-decoration: none;
  color: inherit;
}

ul, ol {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.25rem;
}

/* Button Styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  text-align: center;
}

.btn-primary {
  background-color: var(--gemba-secondary);
  color: var(--gemba);
}

.btn-primary:hover {
  background-color: var(--gemba-secondary-dark);
}

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

.btn-outline:hover {
  background-color: var(--white);
  color: var(--gemba);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-divider {
  width: 5rem;
  height: 0.25rem;
  background-color: var(--gemba-secondary);
  margin: 1rem auto;
}

.section-header p {
  max-width: 48rem;
  margin: 0 auto;
  color: var(--gray-700);
}

.logo {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--white);
}

.logo-image {
  width: auto;
  filter: brightness(0) invert(1);
  transition: filter 0.3s ease;
}

#navbar.navbar-fixed .logo-image {
  filter: none;
}

.logo:hover {
  transform: scale(1.05);
}

.nav-links {
  display: none;
}

.menu-toggle {
  background: transparent;
  border: none;
  color: var(--white);
  cursor: pointer;
}

.menu-icon {
  width: 1.5rem;
  height: 1.5rem;
}

.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: var(--white);
  position: relative;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: var(--navbar-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: url('/images/collage-one.jpg') center center/cover no-repeat;
  z-index: 1;
}

.hero-content {
  max-width: 48rem;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
}

.hero-content h1 {
  margin-bottom: 1.5rem;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.hero-content h3 {
  white-space: nowrap;
}

.hero-content p {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

.change-content h3 {
  font-size: 1.5rem;
  margin: 1.5rem 0 0.5rem;
  color: #333;
}
.change-content ul {
  list-style-type: disc;
  margin: 1rem 0;
  padding-left: 2rem;
}
.change-content li {
  margin-bottom: 0.5rem;
}

/* About Section */
.about-section {
  background-color: var(--white);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .about-content {
    grid-template-columns: 1fr 1fr;
  }
}

.about-text {
  text-align: left;
  max-width: 600px;
  margin: 0 auto;
}

.about-text h3 {
  color: var(--gemba);
  margin-bottom: 1rem;
}

.about-text p {
  margin-bottom: 1.5rem;
  color: var(--gray-700);
}

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

.stat-item {
  text-align: center;
}

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

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

.about-features {
  display: grid;
  gap: 1.5rem;
}

.feature-box {
  background-color: var(--gemba-light);
  padding: 1.5rem;
  border-radius: var(--radius);
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.icon-container {
  background-color: var(--gemba);
  color: var(--white);
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

img.companies-img {
  max-width: 600px;
  width: 100%;
  height: 400px;
  display: block;
  margin: 0 auto;
  border: none;
}

.feature-box h4 {
  color: var(--gemba);
  margin-bottom: 0.5rem;
}

/* Services Section */
.services-section {
  background-color: var(--gray-100);
}

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

.service-card {
  background-color: var(--white);
  padding: 1.5rem;
  border-radius: var(--radius);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

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

.service-icon {
  color: var(--gemba);
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: flex;
}

.service-icon svg {
  width: 3rem;
  height: 3rem;
  stroke: var(--gemba);
}

.service-card h3 {
  color: var(--gemba);
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}

/* Project Examples Section */
.projects-section {
  background-color: var(--gray-100);
  padding: 5rem 0;
}

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

.industry-container {
  background-color: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  padding: 1.5rem;
  min-height: 200px;
}

.industry-container:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.industry-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.industry-header h3 {
  color: var(--gemba);
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0;
}

.industry-icon {
  color: var(--gemba);
  font-size: 2.5rem;
  display: flex;
}

.industry-icon svg {
  width: 3rem;
  height: 3rem;
  stroke: var(--gemba);
}

.project-list {
  padding: 0;
}

.project-list ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.project-list li {
  font-size: 0.95rem;
  color: var(--gray-700);
  margin-bottom: 0.5rem;
  position: relative;
  padding-left: 1.25rem;
}

.project-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--gemba-secondary);
  font-size: 1rem;
  line-height: 1.6;
}

.closing-text {
  text-align: center;
  max-width: 48rem;
  margin: 2rem auto 0;
}

.closing-text p {
  color: var(--gray-700);
  font-size: 1rem;
  margin: 0;
}

/* Logistics Container Specific Styling */
.logistics-container {
  margin-bottom: 3rem; /* Add spacing to prevent overlap with industry-grid */
}

.logistics-container .industry-header {
  justify-content: center; /* Center the title and icon */
  flex-wrap: wrap; /* Allow wrapping if needed */
}

.logistics-container .industry-header h3 {
  flex: 1; /* Ensure the title takes available space */
  text-align: center; /* Center the title text */
}

.logistics-container .industry-icon {
  margin-left: 0.5rem; /* Small spacing between title and icon */
}

.logistics-container .project-list {
  text-align: center; /* Center the project list */
}

.logistics-container .project-list ul {
  display: inline-block; /* Allow the ul to be centered */
  text-align: left; /* Keep the list items left-aligned within the centered block */
  margin: 0 auto; /* Center the ul */
}

/* Responsive Grid for Other Industries */
@media (min-width: 768px) {
  .industry-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 columns on medium screens */
  }
}

@media (min-width: 1024px) {
  .industry-grid {
    grid-template-columns: repeat(4, 1fr); /* 4 columns on larger screens to ensure all 4 containers are on the same line */
  }
}

@media (max-width: 768px) {
  .industry-container {
    padding: 1.5rem;
  }

  .industry-header h3 {
    font-size: 1.25rem;
  }

  .industry-icon svg {
    width: 2.5rem;
    height: 2.5rem;
  }

  .project-list li {
    font-size: 0.95rem;
  }
}

/* Contact Section */
.contact-section {
  background-color: var(--white);
  margin-top: 2rem;   /* Space above */
  margin-bottom: 1rem; /* Space below */
  padding-top: 1rem;   /* Optional: inner spacing */
  padding-bottom: 1rem;
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

.contact-form h3,
.contact-info h3 {
  color: var(--gemba);
  margin-bottom: 1.5rem;
}

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

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
  color: var(--gray-700);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.15s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gemba);
  box-shadow: 0 0 0 2px rgba(15, 40, 83, 0.1);
}

.form-message {
  margin-top: 1rem;
  padding: 0.75rem;
  border-radius: var(--radius);
  background-color: #f0fff4;
  color: #2f855a;
  display: none;
}

.info-container {
  background-color: var(--gemba-light);
  padding: 2rem;
  border-radius: var(--radius);
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.info-item h4 {
  margin-bottom: 0.25rem;
  color: var(--gemba);
}

.business-hours {
  margin-top: 2rem;
}

.business-hours h4 {
  color: var(--gemba);
  margin-bottom: 0.5rem;
}

.business-hours p {
  margin-bottom: 0.25rem;
  color: var(--gray-700);
}

/* Chatbot styles */
.chatbot-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1000;
}

.chatbot-button {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    background-color: #183153;
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s;
}

.chatbot-button:hover {
    transform: scale(1.1);
}

.chatbot-panel {
    position: fixed;
    bottom: 4.5rem;
    right: 2rem;
    width: 24rem;
    max-width: 95vw;
    height: 32rem;
    max-height: 90vh;
    background: white;
    border-radius: 1rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    opacity: 1;
    transform: scale(1);
    transform-origin: bottom right;
    z-index: 1001;
}

.chatbot-panel.hidden {
    opacity: 0;
    transform: scale(0);
    pointer-events: none;
}

.chatbot-header {
    padding: 1rem;
    background-color: #183153;
    color: white;
    border-top-left-radius: 1rem;
    border-top-right-radius: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#closeChatbot {
    background-color: rgba(255, 255, 255, 0.3) !important;  /* Higher contrast background */
    border: none;
    color: white;
    width: 36px !important;
    height: 36px !important;
    border-radius: 0.375rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    padding: 0.5rem;
}

#closeChatbot:hover {
    background-color: rgba(255, 255, 255, 0.4) !important;
    transform: scale(1.05);
}

#closeChatbot svg {
    width: 24px !important;
    height: 24px !important;
    stroke: white !important;
    stroke-width: 2.5 !important;  /* Make the X thicker */
    color: white !important;
    opacity: 1 !important;
}

.chatbot-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
  background-color: #f8f9fa;
}

.message {
  margin-bottom: 1rem;
}

.message-content {
  display: inline-block;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  max-width: 80%;
  line-height: 1.5;
}

.message.assistant .message-content {
  background-color: white;
  color: #1a1a1a;
  border: 1px solid #e9ecef;
  border-top-left-radius: 0;
}

.message.user .message-content {
  background-color: #183153;
  color: white;
  border-top-right-radius: 0;
  float: right;
}

.typing-indicator {
  display: flex;
  gap: 0.25rem;
  padding: 0.75rem 1rem;
  background-color: var(--gray-200);
  border-radius: var(--radius);
  border-top-left-radius: 0;
  max-width: 5rem;
}

.typing-dot {
  width: 0.6rem;
  height: 0.6rem;
  background-color: var(--gray-500);
  border-radius: 50%;
  animation: typing-animation 1s infinite;
}

.typing-dot:nth-child(2) {
  animation-delay: 0.2s;
}

.typing-dot:nth-child(3) {
  animation-delay: 0.4s;
}

.chatbot-input {
  padding: 1rem;
  border-top: 1px solid #e9ecef;
  background-color: white;
}

.chatbot-input form {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.chatbot-input input {
  flex: 1;
  padding: 0.75rem 1rem;
  border: 1px solid #e9ecef;
  border-radius: 0.5rem;
  font-size: 1rem;
  outline: none;
}

.chatbot-input input:focus {
  border-color: #183153;
  box-shadow: 0 0 0 2px rgba(24, 49, 83, 0.1);
}

.chatbot-input button {
  background-color: #183153;
  color: white;
  border: none;
  border-radius: 0.5rem;
  padding: 0.75rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease;
}

.chatbot-input button:hover {
  background-color: #122540;
}

.chatbot-input button svg {
  width: 20px;
  height: 20px;
}

/* Footer */
.footer {
  background-color: var(--gemba);
  color: var(--white);
  padding: 2rem 0;
  min-height: 150px;
}

.footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-content {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-bottom: 1rem;
}

.footer-about {
  text-align: center;
  max-width: 500px;
}

.footer-about h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.footer-about p {
  margin: 0.5rem 0 1rem;
  opacity: 0.8;
}

.social-links {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: background-color 0.2s ease;
}

.social-link:hover {
  background-color: var(--gemba-secondary);
  color: var(--gemba);
}

.footer-bottom {
  text-align: center;
  font-size: 0.875rem;
  opacity: 0.6;
}

/* Animations */
.animate-fade-in {
  opacity: 0;
  transform: translateY(10px);
  animation: fadeIn 1s ease forwards;
}

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

@keyframes typing-animation {
  0%, 100% {
    transform: scale(0.8);
    opacity: 0.5;
  }
  50% {
    transform: scale(1.2);
    opacity: 1;
  }
}

/* Responsive Styles */
@media (min-width: 768px) {
  h1 {
    font-size: 3.5rem;
  }

  h2 {
    font-size: 2.5rem;
  }

  .menu-toggle {
    display: none;
  }

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

  .about-content,
  .contact-container {
    grid-template-columns: 1fr 1fr;
  }

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

.section-description {
  text-align: center;
  color: var(--gray-600);
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

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

.analysis-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

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

.image-container {
  width: 100%;
  padding: 1rem;
  background: var(--white);
}

.analysis-image {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
}

.analysis-card h4 {
  padding: 1rem;
  color: var(--gemba);
  font-size: 1.25rem;
  margin: 0;
}

.analysis-card p {
  padding: 0 1rem 1rem;
  color: var(--gray-600);
  font-size: 0.95rem;
  margin: 0;
  line-height: 1.5;
}

.strategy-showcase {
  padding: 4rem 0;
  background-color: var(--gemba-light);
  margin-top: 3rem;
}

.strategy-showcase h3 {
  text-align: center;
  color: var(--gemba);
  margin-bottom: 1rem;
  font-size: 1.75rem;
}

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

.strategy-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

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

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

.strategy-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.card-content {
  padding: 1.5rem;
}

.card-content h4 {
  color: var(--gemba);
  font-size: 1.25rem;
  margin: 0 0 0.5rem 0;
}

.card-content p {
  color: var(--gray-600);
  font-size: 0.95rem;
  margin: 0;
  line-height: 1.5;
}

.strategy-showcase {
  padding: 4rem 0;
  background-color: var(--gemba-light);
  margin-top: 3rem;
}

.strategy-showcase h3 {
  text-align: center;
  color: var(--gemba);
  margin-bottom: 1rem;
  font-size: 1.75rem;
}

.showcase-description {
  text-align: center;
  color: var(--gray-600);
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

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

.strategy-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

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

.image-container {
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.strategy-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
  object-position: center center;
}

.two-person-image {
  object-position: center 15%;
}

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

/* Show middle-to-top of SWOT image */
.swot-image {
  object-position: center 15%;
}

.card-content {
  padding: 1.2rem;
}

.card-content h4 {
  color: var(--gemba);
  font-size: 1.15rem;
  margin: 0 0 0.5rem 0;
}

.card-content p {
  color: var(--gray-600);
  font-size: 0.95rem;
  margin: 0;
  line-height: 1.5;
}

.training-gallery {
  padding: 4rem 0;
  background-color: var(--gemba-light);
  margin-top: 3rem;
}


/* Make training gallery photos appear in a single row */
.training-gallery .gallery-grid {
  display: flex;
  flex-direction: row;
  gap: 2rem;
  justify-content: center;
  flex-wrap: nowrap; /* Prevent wrapping to a new line */
}

.training-gallery h3 {
  text-align: center;
  color: var(--gemba);
  margin-bottom: 1rem;
  font-size: 1.75rem;
}

.lean-gallery {
  padding: 4rem 0;
  background-color: var(--gemba-light);
  margin-top: 3rem;
}

.lean-gallery h3 {
  text-align: center;
  color: var(--gemba);
  margin-bottom: 1rem;
  font-size: 1.75rem;
}

.gallery-caption {
  padding: 0.75rem 1rem;
  text-align: center;
  color: var(--gemba);
  font-weight: 600;
  font-size: 1rem;
  background: var(--gemba-light);
  width: 100%;
  border-bottom-left-radius: var(--radius);
  border-bottom-right-radius: var(--radius);
}

.project-gallery {
  padding: 4rem 0 2rem 0;
  background-color: var(--gemba-light);
  margin-bottom: 3rem;
}

.project-gallery h3 {
  text-align: center;
  color: var(--gemba);
  margin-bottom: 1rem;
  font-size: 1.75rem;
}

/* --- Gallery Section Styles (KEEP THESE) --- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.gallery-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  display: flex;
  align-items: stretch;
  justify-content: center;
  height: 260px; /* or your preferred value */
}

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


.kpi-gallery-section .gallery-card {
  height: 320px; /* or your preferred value */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  overflow: hidden;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.kpi-gallery-section .gallery-image {
  width: 100%;
  height: 100%;
  object-fit: cover;      /* This makes the image fill the card and crop as needed */
  object-position: center center;
  display: block;
}

.gallery-image {
  width: 100%;
  height: 100%;
  object-fit: cover;      /* This makes the image fill the card and crop as needed */
  object-position: center center;
  transition: transform 0.3s ease;
  display: block;
}

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

.gallery-description {
  text-align: center;
  color: var(--gray-600);
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .gallery-card {
    height: 120px;
  }
  .gallery-image {
    height: 120px;
  }
}

/* Training Gallery Styles */
.training-gallery {
  padding: 4rem 0;
  background-color: var(--gemba-light);
  margin-top: 3rem;
}

.training-gallery h3 {
  text-align: center;
  color: var(--gemba);
  margin-bottom: 1rem;
  font-size: 1.75rem;
}

  .training-gallery {
    padding: 2rem 0;
  }

  .training-gallery h3 {
    font-size: 1.5rem;
  }

  .project-gallery {
    padding: 2rem 0 1rem 0;
  }
  .project-gallery h3 {
    font-size: 1.5rem;
  }

.about-flex-row {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: flex-start;
  margin-bottom: 2rem;
}
.about-left, .about-right {
  flex: 1 1 320px;
  min-width: 280px;
}
.henrik-img, .vision-img {
  width: 100%;
  max-width: 600px;
  border-radius: 12px;
  margin-bottom: 1rem;
}
@media (max-width: 900px) {
  .about-flex-row {
    flex-direction: column;
    gap: 1.5rem;
  }
  .about-left, .about-right {
    max-width: 100%;
  }
}

.kpi-gallery-section {
  padding: 4rem 0;
  background-color: var(--gemba-light);
  margin-top: 3rem;
}

.kpi-gallery-section h3 {
  text-align: center;
  color: var(--gemba);
  margin-bottom: 1rem;
  font-size: 1.75rem;
}

.ml-action-photos {
  width: 100%;
  overflow: hidden;
  padding: 4rem 0;
  background: var(--white);
  margin-top: 3rem;
}

.ml-action-photos .container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.ml-action-photos .gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  justify-content: center;
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
}

.ml-action-photos .gallery-card {
  max-width: 350px;
  width: 100%;
  margin: 0 auto;
}

.ml-action-photos .gallery-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Mobile styles */
@media (max-width: 600px) {
  .ml-action-photos {
    padding: 2rem 0;
  }

  .ml-action-photos .container {
    padding: 0 1rem; /* Add some padding on mobile */
  }

  .ml-action-photos .gallery-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center; /* Center the cards */
  }

  .ml-action-photos .gallery-card {
    width: 100%;
    max-width: 320px; /* Smaller max-width on mobile */
    height: 220px;
    border-radius: var(--radius);
  }

  .ml-action-photos .gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

/* Tablet styles */
@media (min-width: 601px) and (max-width: 1024px) {
  .ml-action-photos .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .ml-action-photos .gallery-card {
    max-width: 360px;
  }
}

.ml-action-photos .gallery-caption {
  margin: 0;
  padding: 0.75rem 1rem 1rem 1rem; /* adjust as needed */
  background: var(--gemba-light, #f0f4f9);
  border-bottom-left-radius: var(--radius);
  border-bottom-right-radius: var(--radius);
  text-align: center;
  color: var(--gray-700, #475569);
  font-size: 1rem;
  line-height: 1.5;
  word-break: break-word;
}


.ml-action-photos .gallery-caption {
  margin-bottom: 0;
  padding-bottom: 0;
}

.ml-action-photos h3 {
  text-align: center;
  color: var(--gemba);
  margin-bottom: 1rem;
  font-size: 1.75rem;
}

.ml-action-photos .gallery-description {
  text-align: center;
  color: var(--gray-600);
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.ml-action-photos .gallery-card {
  min-width: 420px;      /* or your preferred width */
  max-width: 480px;
  width: 100%;
  flex: 0 0 auto;        /* Prevent shrinking/growing */
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  height: auto;
  margin-bottom: 0;
  padding-bottom: 0;
  background: var(--white);
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
  border-radius: var(--radius);
}

.ml-photo-flex {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: nowrap; /* Prevents wrapping on desktop */
}

.ml-photo-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--gemba-light, #f0f4f9);
  border-radius: 1rem;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
  padding: 1.5rem;
  width: 100%;
  max-width: 400px; /* or your preferred value */
  margin: 0 auto;
  height: auto;      /* Remove any fixed height */
}

.ml-action-photos .gallery-image {
  width: 100%;
  aspect-ratio: 4 / 3;   /* or 3 / 2, or 1 / 1 for square */
  object-fit: cover;
  border-radius: var(--radius);
  display: block;
}

.ml-photo-img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 1rem;
  margin-bottom: 1rem;
  display: block;
  max-height: 250px;
}

.ml-photo-caption {
  text-align: center;
  color: var(--gray-700, #475569);
  font-size: 1rem;
  margin: 0;
  padding: 0.5rem 0 0 0;
  line-height: 1.5;
  word-break: break-word;
}

@media (max-width: 900px) {
  .ml-photo-flex {
    flex-direction: column;
    align-items: center;
    flex-wrap: wrap;
  }
  .ml-photo-card {
    max-width: 100%;
    width: 100%;
    flex: 1 1 100%;
    margin-bottom: 1.5rem; /* Optional: space between cards */
  }
  .ml-photo-img {
    width: 100%;
    max-width: 320px;
    height: 220px;
    object-fit: cover; /* Ensures the image fills the card and is cropped if needed */
    border-radius: 1rem;
    display: block;
  }
}

.navbar-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  margin-left: 6rem;
}

.nav-links a,
.dropdown-toggle {
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 600;
  padding: 0.5rem 0.7rem;
  border-radius: 0.3rem;
  transition: background 0.2s, color 0.2s;
  text-decoration: none;
  cursor: pointer;
  background: none;
  border: none;
  display: inline-block;
}

.nav-links a:active,
.nav-links a:hover,
.dropdown-toggle:active,
.dropdown-toggle:hover {
  background: var(--gemba-secondary);
  color: var(--gemba);
}

/* Dropdown styles */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-menu {
  display: none;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 100%;
  min-width: 220px;
  background: #222;
  z-index: 100;
  box-shadow: 0 8px 32px rgba(0,0,0,0.14), 0 1.5px 4px rgba(0,0,0,0.04);
  border-radius: 16px;
  padding: 8px 0;
  margin-top: 0.3rem;
  flex-direction: column;
  align-items: stretch;
  border-radius: 16px;
  overflow: hidden;
}

.dropdown-menu li {
  margin: 0;             /* no margin */
  border-radius: 0;      /* no border-radius on items */
}

.dropdown.active .dropdown-menu {
  display: flex;
}

.dropdown-menu li:hover {
  border-radius: 0;      /* no border-radius on hover */
}
.dropdown-menu a {
  color: #fff !important;
  padding: 10px 36px 10px 24px !important;
  display: block !important;
  text-decoration: none !important;
  font-weight: 500 !important;
  font-size: 1rem !important;
  transition: background 0.18s, color 0.18s !important;
}
.dropdown-menu a:last-child {
  border-bottom: none;
}

/* Optional: subtle animation */
@keyframes dropdown-fade-in {
  from { opacity: 0; transform: translateY(-8px);}
  to { opacity: 1; transform: translateY(0);}
}

.logo-image {
  width: auto;
  filter: brightness(0) invert(1);
  transition: filter 0.3s;
  height: 3rem;
}


/* Special image positioning */
.swot-image {
  object-position: center 15%;
}

.two-person-image {
  object-position: center 15%;
}

@media (max-width: 768px) {
  .strategy-grid {
    grid-template-columns: 1fr;
  }

  .strategy-showcase {
    padding: 2rem 0;
  }

  .strategy-showcase h3 {
    font-size: 1.5rem;
  }

  .image-container {
    height: 160px;
  }
}

@media (max-width: 768px) {
  .strategy-grid {
    grid-template-columns: 1fr;
  }

  .strategy-showcase {
    padding: 2rem 0;
  }

  .strategy-showcase h3 {
    font-size: 1.5rem;
  }

  .image-container {
    height: 200px;
  }
}

@media (max-width: 768px) {
  .analysis-grid {
    grid-template-columns: 1fr;
  }

  .ml-showcase {
    padding: 2rem 0;
  }

  .ml-showcase h3 {
    font-size: 1.5rem;
  }
}

@media (max-width: 768px) {
.clients-image {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 20px auto;
  text-align: center;
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.briefcase-icon {
  width: 3.5rem;
  height: 3.5rem;
}

/* Always use this style for the dropdown menu, regardless of scroll */
.dropdown-menu {
  background: #183153 !important;
  color: #fff !important;
  border-radius: 16px !important;
  box-shadow: 0 8px 32px rgba(0,0,0,0.14), 0 1.5px 4px rgba(0,0,0,0.04) !important;
  padding: 8px 0 !important;
  min-width: 180px !important;
  border: none !important;
}

.dropdown-menu a {
  color: #fff !important;
  padding: 10px 36px 10px 24px !important;
  display: block !important;
  text-decoration: none !important;
  font-weight: 500 !important;
  font-size: 1rem !important;
  border-radius: 8px !important;
  margin: 2px 8px !important;
  transition: background 0.18s, color 0.18s !important;
}

.dropdown-menu a:hover,
.dropdown-menu a:focus {
  background: #2563eb !important;
  color: #ffd600 !important;
}

.training-gallery .gallery-card {
  height: 260px;
  min-width: 180px;
  max-width: 220px;
  flex: 0 0 220px; /* Ensures all cards are the same width in a row */
  display: flex;
  align-items: stretch;
  justify-content: center;
}

.training-gallery .gallery-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Change Management Page Styles */
.change-management-showcase {
  margin: 2rem 0;
  text-align: center;
}

.showcase-image {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.change-model-visual {
  margin: 2rem 0;
  text-align: center;
  background: var(--white);
  padding: 1.5rem;
  border-radius: var(--radius);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.model-image {
  max-width: 100%;
  height: auto;
}

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

.service-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.service-image:hover {
  transform: translateY(-5px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .change-services-images {
    grid-template-columns: 1fr;
  }

  .service-image {
    height: 250px;
  }
}

/* Front page project gallery: 2 rows, 3 columns */
.project-gallery .gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 columns on desktop */
  gap: 2rem; /* Adjust gap as needed */
  justify-items: center;
  align-items: stretch;
}

.project-gallery .gallery-card {
  width: 100%;
  max-width: 340px;
  height: 320px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0,0,0,0.10);
  background: #fff;
  display: flex;
  align-items: stretch;
  justify-content: center;
}

.project-gallery .gallery-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

#closeChatbot {
  background: transparent;
  border: none;
  color: #183153; /* or your brand color */
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 1001;
  position: relative;
}

#closeChatbot svg {
  display: block;
  width: 24px;
  height: 24px;
  stroke: #183153; /* or a color that contrasts with the chatbot header */
}

/* --- MOBILE IMPROVEMENTS FOR SMARTPHONES --- */
@media (max-width: 600px) {
  /* Section spacing */
  section {
    padding: 2rem 0 !important;
  }
  .section-header {
    margin-bottom: 2rem;
  }

  /* Headings and text */
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.3rem;
  }
  h3 {
    font-size: 1.1rem;
  }
  .hero-content p,
  .section-header p {
    font-size: 1rem;
  }
}

  /* Hero section overlay for readability */
  .hero-section::before {
    background: linear-gradient(rgba(15,40,83,0.7), rgba(15,40,83,0.7)), url('/images/collage-one.jpg') center center/cover no-repeat;
  }

  /* Buttons: full width and touch-friendly */
  .btn {
    width: 100%;
    font-size: 1rem;
    padding: 1rem;
  }
  .hero-buttons {
    gap: 0.5rem;
  }

  /* About section: stack and fit images */
  .about-content {
    gap: 1.5rem;
  }
  .henrik-img, .vision-img {
    max-width: 100%;
    height: auto;
  }

  /* Project gallery: smaller images */
  .gallery-card, .gallery-image {
    height: 90px;
  }

  /* Chatbot: mobile-friendly sizing */
  @media (max-width: 600px) {
    .chatbot-container {
      bottom: 1rem;
      right: 1rem;
    }
    .chatbot-button {
      width: 3.2rem;
      height: 3.2rem;
      font-size: 1.5rem;
    }

      .chatbot-panel {
        position: fixed;
        bottom: 4.5rem;
        left: 0.5rem;
        right: 0.5rem;
        width: auto;
        max-width: calc(100vw - 1rem);
        min-width: 0;
        height: 60vh;
        min-height: 320px;
        border-radius: 0.75rem;
        box-shadow: 0 5px 20px rgba(0,0,0,0.15);
        display: flex;
        flex-direction: column;
        z-index: 1001;
        padding: 0;
        background: #fff;
      }
      .chatbot-header,
      .chatbot-input {
        box-sizing: border-box;
        width: 100%;
        min-width: 0;
      }
    .chatbot-messages {
      flex: 1;
      overflow-y: auto;
      padding: 1rem;
      font-size: 1rem;
    }
    .chatbot-input input {
      font-size: 1.1rem;
      padding: 0.7rem 1rem;
      border-radius: 0.5rem;
    }
    #closeChatbot {
      width: 40px;
      height: 40px;
      font-size: 1.5rem;
    }
  }

  .logo {
    font-size: 1.2rem;
    gap: 0.5rem;
  }

  @media (max-width: 600px) {
    .logo {
      font-size: 1rem;
      gap: 0.3rem;
    }
    .logo-image {
      height: 1.2rem;
    }
  }

  @media (max-width: 900px) {
    .logo {
      display: flex;
      flex-direction: column;
      align-items: center;
      margin-bottom: 0.5rem;
      text-decoration: none;
    }
    .logo span {
      font-size: 1.1rem;
      font-weight: 700;
      color: var(--white);
    }
  }

.logo-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
}

@media (min-width: 600px) and (max-width: 1024px) {
  /* Gallery grid: 2 cards per row on tablet */
  .ml-action-photos .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Make cards a bit narrower for tablets */
  .ml-action-photos .gallery-card {
    max-width: 100%;
  }

  /* Adjust image height for tablet */
  .ml-action-photos .gallery-image {
    height: 220px;
  }

  /* Section padding for tablet */
  .ml-action-photos {
    padding: 2rem 0;
  }
}


@media (max-width: 600px) {
  .training-gallery .gallery-grid {
    flex-direction: column !important;
    align-items: center;
    flex-wrap: wrap !important;
  }
  .training-gallery .gallery-card {
    min-width: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
  }
}

@media (max-width: 600px) {
  .kpi-gallery-section .gallery-card {
    height: 120px;
    min-width: 0;
    max-width: 100%;
    width: 100%;
    display: flex;
    align-items: stretch;
    justify-content: center;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 0; /* Remove any padding */
  }
  .kpi-gallery-section .gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;   /* This will crop and fill the card */
    display: block;
    border-radius: var(--radius);
  }
}

@media (max-width: 600px) {
  .ml-action-photos .container {
    padding-left: 0 !important;
    padding-right: 0 !important;
    width: 100vw !important;
    max-width: 100vw !important;
  }
    .ml-action-photos .gallery-grid {
      display: flex !important;
      flex-direction: column !important;
      gap: 1.5rem !important;
      align-items: center !important; /* Center the cards horizontally */
      width: 100% !important;
      margin: 0 !important;
      padding: 0 !important;
    }
    .ml-action-photos .gallery-card {
      width: 100%;
      max-width: 350px;   /* Set a max width for the card */
      min-width: 0;
      height: auto;       /* Let the image set the height */
      margin: 0 auto;     /* Center the card */
      border-radius: var(--radius);
      box-shadow: 0 4px 6px rgba(0,0,0,0.05);
      overflow: hidden;
    }
    .ml-action-photos .gallery-image {
      width: 100%;
      height: auto;
      object-fit: cover;
      display: block;
      border-radius: var(--radius);
    }
  }
/* --- MOBILE NAVBAR STYLES --- */
@media (max-width: 900px) {
  /* Hide hamburger menu on mobile */
  .menu-toggle {
    display: none !important;
  }
}

/* Desktop: Remove all top margin/padding, then add padding to hero for navbar */
@media (min-width: 901px) {
  section,
  .container,
  .hero-section,
  .hero-section > .container,
  section:first-of-type,
  section:first-of-type > .container,
  .about-section > .container,
  .services-section > .container {
    padding-top: 0 !important;
    margin-top: 0 !important;
    padding-top: 0.5rem !important;
  }
  .hero-section {
    padding-top: 7rem !important; /* Match your desktop navbar height */
  }
}

/* Nuke all margin/padding from the first section and its children */
section:first-of-type,
.hero-section:first-of-type,
section:first-of-type > *,
.hero-section:first-of-type > * {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

/* Hero section background image always starts at the top */
.hero-section::before {
  content: '';
  position: absolute;
  top: 0; /* This is the key! */
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(rgba(15,40,83,0.7), rgba(15,40,83,0.7)), url('/images/collage-one.jpg') center center/cover no-repeat;
  z-index: 1;
}

/* DESKTOP: Keep all images in a single row, no wrapping */
@media (min-width: 901px) {
  .lean-gallery .gallery-grid {
    display: flex;
    flex-direction: row;
    gap: 2.5rem;
    justify-content: center;
    align-items: stretch;
    flex-wrap: nowrap;      /* Prevent wrapping: all images stay in one row */
    margin-bottom: 3rem;
  }
  .lean-gallery .gallery-card {
    width: 340px;
    height: 180px;
    border-radius: 1.2rem;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 16px rgba(0,0,0,0.10);
    display: flex;
    align-items: stretch;
    justify-content: center;
    padding: 0;
    flex: 0 0 auto;         /* Prevent shrinking/growing, keep fixed size */
  }
  .lean-gallery .gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
  }
}

@media (min-width: 901px) {
  .lean-gallery {
    padding-bottom: 4rem;
    margin-bottom: 2.5rem;
  }
}

/* MOBILE/TABLET: Allow stacking or scrolling as needed */
@media (max-width: 900px) {
  .lean-gallery .gallery-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
  }
  .lean-gallery .gallery-card {
    width: 100%;
    max-width: 95vw;
    height: 140px;
  }
}

/* --- Desktop Navbar Layout --- */
@media (min-width: 900px) {
  .navbar-flex {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
    padding: 0 2rem !important;
  }
  .navbar-title {
    margin-left: 0 !important;
    font-size: 2rem !important;
    text-align: left !important;
    width: auto !important;
    white-space: nowrap !important;
  }
  .nav-links {
    display: flex !important;
    gap: 2rem !important;
    flex-wrap: nowrap !important;
    justify-content: flex-end !important;
    width: auto !important;
    overflow-x: visible !important;
    margin-bottom: 0 !important;
  }
  #navbar {
    min-height: 5.5rem;
    padding-top: 0.7rem;
    padding-bottom: 0.7rem;
  }
  .navbar-brand {
    padding-left: 2rem; /* Adjust as needed */
  }
  .navbar-title {
    margin-left: 5rem !important;;
  }
}

/* --- Mobile Navbar Layout --- */
@media (max-width: 900px) {
  .navbar-flex {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    width: 100% !important;
    padding: 0.7rem 0 0.3rem 0 !important;
  }
  .navbar-brand {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    width: 100% !important;
    margin-bottom: 0.2rem !important;
    gap: 0.2rem !important;
  }
  .logo-image {
    height: 2.2rem !important;
    margin-bottom: 0.1rem !important;
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  .navbar-title {
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    color: var(--white) !important;
    text-align: center !important;
    margin: 0 0 0.5rem 0 !important;
    width: 100% !important;
    display: block !important;
  }
  .nav-links {
    display: flex !important;
    flex-direction: row !important;
    gap: 0.7rem !important;
    justify-content: center !important;
    width: 100% !important;
    margin-bottom: 0.5rem !important;
  }
  #navbar {
    min-height: 0.5rem !important;
    padding-top: 0.7rem !important;
    padding-bottom: 0.7rem !important;
  }
}
@media (max-width: 900px) {
  body {
    padding-top: 40px !important; /* Adjust based on mobile navbar height */
  }
}
