/* Main Stylesheet for Jeevandeep Website */

/* --- Sitewide Heading Styles --- */

/* Main Page Title Style with Double Underline */
h1.page-main-title {
  font-weight: 600;
  position: relative; /* Required for absolute positioning of pseudo-elements */
  padding-bottom: 20px; /* Space below text for the lines */
  margin-bottom: 2.5rem; /* Overall margin below the heading and its lines */
  color: var(--text-color); /* Use theme text color by default */
  font-size: 3rem; /* Font size for main title */
}

/* Dark mode specific heading color */
[data-theme='dark'] h1.page-main-title {
  color: #ffffff; /* Ensure pure white in dark mode */
}

/* Red line */
h1.page-main-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 7px; /* Position 5px above the 2px grey line */
  height: 3px;
  width: 100%; /* Full width of the heading container */
  background-color: var(--primary-color);
}

/* Light grey line */
h1.page-main-title::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0; /* Position at the very bottom */
  height: 2px; /* Kept height at 2px */
  width: 100%; /* Full width */
  background-color: #e0e0e0; /* Light grey - stays same in dark mode */
}

/* --- End Sitewide Heading Styles --- */

/* --- Generic Section Heading Style (h2, h3, etc.) --- */
.section-heading {
  /* Base styles - applied to elements with this class */
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 1rem; /* Default margin */
}

/* Specific style for H2 section headings */
h2.section-heading {
  font-size: 2rem; /* Standard H2 size */
  position: relative;
  padding-bottom: 10px; /* Space for the single line */
  margin-bottom: 2.5rem; /* Increased space after heading + line */
}

/* Remove double lines from H1 style if they were applied via only .section-heading */
h2.section-heading::before,
h2.section-heading::after {
  display: none; /* Ensure no double lines */
}

/* Single semi-dark grey line for H2 section headings */
h2.section-heading::after {
  display: block; /* Make sure this one IS displayed */
  content: '';
  position: absolute;
  left: 0;
  bottom: 0; /* Position at the bottom */
  height: 2px;
  width: 100%;
  background-color: #e0e0e0; /* Light grey - stays same in dark mode */
}

/* Dark mode specific color for H2 section headings */
[data-theme='dark'] h2.section-heading {
  color: #ffffff; /* Ensure pure white in dark mode */
}

:root {
  /* Variables for light theme (default) */
  --bg-color: #ffffff;
  --text-color: #333333;
  --primary-color: #e50712;
  --primary-hover-color: #c61017; /* Added hover color for buttons */
  --secondary-color: #f8f9fa;
  --footer-bg: #212529;
  --footer-text: #f8f9fa;
  --accent-color: #0a58ca;
  --border-color: #dee2e6;
  --transition-speed: 0.3s;
  --section-spacing: 5rem;
  --header-height: 90px;
  --card-bg: #ffffff;
  --card-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  --hero-overlay: rgba(0, 0, 0, 0.4);
  --navbar-bg: #ffffff;
  --navbar-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);

  /* Unified Button Heights */
  --button-height-desktop: 48px;
  --button-height-mobile: 40px;
  --button-font-size: 0.875rem;
}

[data-theme='dark'] {
  /* Variables for dark theme */
  --bg-color: #121212;
  --text-color: #f1f1f1;
  --primary-color: #ff3f3f;
  --primary-hover-color: #a2050b; /* Added hover color for buttons */
  --secondary-color: #1e1e1e;
  --footer-bg: #000000;
  --footer-text: #ffffff;
  --accent-color: #6ba4f8;
  --border-color: #444444;
  --card-bg: #1e1e1e;
  --card-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
  --hero-overlay: rgba(0, 0, 0, 0.7);
  --navbar-bg: #1a1a1a;
  --navbar-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--bg-color);
  transition: background-color 0.3s, color 0.3s;
  padding-top: 80px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Main content should grow to push footer down */
main,
section {
  flex: 1 0 auto;
}

/* Footer should stay at the bottom */
#footer,
footer {
  flex-shrink: 0;
}

/* Theme Toggle */
#theme-toggle {
  background: transparent;
  border: none;
  color: var(--text-color);
  cursor: pointer;
  font-size: 1.2rem;
  padding: 0.25rem;
  transition: color 0.3s;
}

#theme-toggle:hover {
  color: var(--primary-color);
}

[data-theme='light'] .theme-icon-dark,
[data-theme='dark'] .theme-icon-light {
  display: none;
}

/* Header Styles */
.navbar {
  background-color: var(--navbar-bg);
  box-shadow: var(--navbar-shadow);
  transition: background-color 0.3s, box-shadow 0.3s;
  z-index: 1030;
}

.navbar-brand img {
  max-height: 50px;
}

[data-theme='dark'] .navbar-toggler-icon {
  filter: invert(1);
}

[data-theme='dark'] .navbar-toggler {
  border-color: rgba(255, 255, 255, 0.3);
}

.company-info {
  display: flex;
  flex-direction: column;
}

.company-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-color);
  line-height: 1.2;
}

.company-tagline {
  font-size: 0.75rem;
  color: var(--text-color);
  line-height: 1.2;
}

.navbar .nav-link {
  color: var(--text-color);
  font-weight: 500;
  padding: 0.5rem 1rem;
  transition: color 0.3s;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
  color: var(--primary-color);
}

/* Hero Section Styles */
.hero-section {
  background-image: linear-gradient(var(--hero-overlay), var(--hero-overlay)),
    url('../assets/index/dreamstime-xl-57950704-2.jpg');
  background-size: cover;
  background-position: center;
  color: white;
  padding: 63px 0;
  min-height: 262px;
  display: flex;
  align-items: center;
}

.hero-section .hero-quote-left {
  padding: 30px;
  position: relative;
}

.hero-section .hero-quote-left:after {
  content: '';
  position: absolute;
  top: 10%;
  right: 0;
  height: 80%;
  width: 1px;
  background-color: rgba(255, 255, 255, 0.3);
  display: none;
}

@media (min-width: 768px) {
  .hero-section .hero-quote-left:after {
    display: block;
  }
}

/* Tablet-specific styles for hero section */
@media (min-width: 768px) and (max-width: 991px) {
  .hero-section .lead {
    font-size: 1.6rem;
    max-width: 100%;
  }

  .hero-section .hero-quote-left {
    padding-right: 15px;
  }

  .hero-section .hero-quote-left:after {
    display: none;
  }
}

.hero-section .lead {
  font-size: 1.8rem;
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.hero-section .quote-author {
  font-size: 1.2rem;
  font-style: italic;
  text-align: right;
  opacity: 0.9;
}

.hero-quote {
  background-color: var(--primary-color);
  padding: 50px 0;
  color: white;
  transition: background-color 0.3s;
}

.hero-quote .row {
  align-items: center;
}

.hero-quote .lead {
  font-size: 1.25rem;
  line-height: 1.8;
  margin-bottom: 0;
}

.hero-quote .btn-container {
  text-align: right;
}

.hero-quote .btn-outline-light {
  padding: 8px 20px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.hero-quote .btn-outline-light:hover {
  background-color: white;
  color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Products Section Styles */
.products-section {
  padding: 80px 0;
  background-color: var(--bg-color);
  transition: background-color 0.3s;
}

.product-card {
  border: none;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s, background-color 0.3s;
  margin-bottom: 30px;
  background-color: var(--card-bg);
  color: var(--text-color);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

[data-theme='dark'] .product-card {
  background-color: rgba(30, 30, 30, 0.7);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

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

.product-icon-container {
  display: flex;
  justify-content: center;
  margin-bottom: 15px;
}

.product-icon-circle {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background-color: #ed1c24;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
}

.product-icon {
  height: 60px;
  filter: brightness(0) invert(1);
}

i.product-icon {
  font-size: 2.5rem;
  color: white;
  filter: none;
}

.product-divider {
  width: 50px;
  height: 2px;
  background-color: var(--primary-color);
  margin: 15px auto 20px;
}

.product-card h3 {
  font-weight: 600;
  margin-bottom: 5px;
}

/* About Section Styles */
.about-section {
  background-color: var(--light-color);
  padding: 80px 0;
  color: var(--text-color);
  transition: background-color 0.3s, color 0.3s;
}

.about-section h2 {
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--text-color);
}

.about-section .lead {
  line-height: 1.8;
}

.education-values {
  padding-left: 20px;
  margin-top: 30px;
}

.value-item {
  display: flex;
  align-items: baseline;
  margin-bottom: 25px;
}

.value-arrow {
  color: var(--primary-color);
  font-size: 1.5rem;
  margin-right: 15px;
}

.value-item h3 {
  font-weight: 600;
  margin-bottom: 0;
  font-size: 1.25rem;
  color: var(--text-color);
}

/* Latest Publications Section */
.latest-publications {
  padding: 80px 0;
  background-color: var(--light-color);
  color: var(--text-color);
  transition: background-color 0.3s, color 0.3s;
}

.latest-publications .section-title {
  color: var(--text-color);
}

.latest-publications .section-title h2 {
  color: var(--text-color);
}

.publication-card {
  margin-bottom: 30px;
  text-align: center;
}

.publication-card img {
  border-radius: 10px;
  margin-bottom: 15px;
  transition: transform 0.3s;
  margin-left: auto;
  margin-right: auto;
  display: inline-block;
}

.publication-card img:hover {
  transform: scale(1.03);
}

/* Footer Styles */
.footer {
  background-color: var(--primary-color);
  color: var(--footer-text);
  transition: background-color 0.3s;
}

[data-theme='dark'] .footer,
.footer {
  background-color: #c61017; /* Using dark mode primary color for both modes */
}

.footer-main {
  padding: 20px 0;
}

.footer-nav {
  text-align: center;
}

.footer-nav li {
  margin-bottom: 10px;
}

.footer-nav a {
  color: var(--footer-text);
  text-decoration: none;
  transition: color 0.3s;
  font-size: 1rem;
}

.footer-nav a:hover {
  color: rgba(255, 255, 255, 0.8);
}

.footer-brand-logo {
  height: 54px;
  width: auto;
  max-width: 144px;
  transition: transform 0.3s;
}

.svg-logo {
  filter: brightness(0) invert(1);
}

.footer-brand-logo:hover {
  transform: scale(1.1);
}

.footer-divider {
  height: 40px;
  width: 1px;
  background-color: rgba(255, 255, 255, 0.6);
  margin: 0 15px;
}

.footer-section-divider {
  height: 80px;
  width: 1px;
  background-color: rgba(255, 255, 255, 0.6);
}

.social-media-links {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.social-media-links a {
  color: white;
  font-size: 24px;
  transition: transform 0.3s, color 0.3s;
}

.social-media-links a:hover {
  transform: scale(1.2);
  color: rgba(255, 255, 255, 0.8);
}

.footer-contact {
  text-align: center;
}

.footer-contact div {
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.footer-contact a:hover {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: underline;
}

.copyright-bar {
  background-color: var(--footer-bg);
  color: var(--footer-text);
  font-size: 0.9rem;
}

/* Button Styles */
.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: white;
  height: var(--button-height-desktop);
  min-height: var(--button-height-desktop);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: var(--button-font-size);
  font-weight: 500;
  padding: 0 1.5rem;
  border-radius: 6px;
  transition: all var(--transition-speed) ease;
}

.btn-primary:hover {
  background-color: var(--primary-hover-color);
  border-color: var(--primary-hover-color);
  color: white;
  transform: translateY(-1px);
}

.btn-outline-light {
  border: 2px solid white;
  color: white;
  height: var(--button-height-desktop);
  min-height: var(--button-height-desktop);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: var(--button-font-size);
  font-weight: 500;
  padding: 0 1.5rem;
  border-radius: 6px;
  transition: all var(--transition-speed) ease;
}

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

/* Section Headers */
.section-title {
  text-align: center;
  margin-bottom: 3rem;
  color: var(--text-color);
}

.section-title hr {
  width: 50px;
  height: 3px;
  background-color: var(--primary-color);
  margin: 20px auto;
}

/* Page Title Section */
.page-title-section {
  padding: 50px 0;
  background-color: var(--light-color);
  color: var(--text-color);
  transition: background-color 0.3s, color 0.3s;
}

.page-title-section h1 {
  color: var(--text-color);
  font-weight: bold;
}

.breadcrumb {
  background-color: transparent;
}

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

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

/* Our Story Section */
.our-story-section {
  padding: 80px 0;
  background-color: var(--bg-color);
  color: var(--text-color);
  transition: background-color 0.3s, color 0.3s;
}

.our-story-section .section-heading {
  font-size: 38px;
  font-weight: 600;
  color: #333;
  margin-bottom: 10px;
}

.our-story-section .divider-red {
  width: 100%;
  height: 2px;
  background-color: var(--primary-color);
  opacity: 1;
  margin: 15px 0 30px 0;
}

.our-story-section .subtitle {
  font-size: 1.5rem; /* Approx 24px */
  color: #666; /* Keep grey color */
  font-weight: 400;
  margin-bottom: 1.5rem;
}

[data-theme='dark'] .our-story-section .subtitle {
  color: #ccc;
}

.our-story-section p {
  line-height: 1.7;
  margin-bottom: 20px;
  font-size: 16px;
}

.our-story-section img {
  transition: transform 0.3s;
}

.our-story-section img:hover {
  transform: scale(1.02);
}

/* Education Goals Styling */
.education-goals {
  padding: 20px;
}

.education-goals .goal-item h3 {
  font-size: 18px;
  font-weight: 600;
  display: flex;
  align-items: center;
}

.education-goals .goal-item h3 i {
  margin-right: 10px;
  font-size: 24px;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .company-info {
    display: none;
  }

  #theme-toggle {
    margin-left: 0.5rem;
  }

  body {
    padding-top: 60px;
  }

  .about-section h2,
  .about-section p,
  .about-section .lead,
  .education-values {
    text-align: center;
  }

  .about-section hr {
    margin-left: auto;
    margin-right: auto;
  }

  .value-item {
    justify-content: center;
  }
}

/* Handle navbar specifically for xl breakpoint */
@media (max-width: 1199.98px) and (min-width: 992px) {
  .navbar .nav-link {
    padding: 0.5rem 0.6rem;
    font-size: 0.9rem;
  }

  .company-title {
    font-size: 0.85rem;
  }

  .company-tagline {
    font-size: 0.7rem;
  }
}

@media (max-width: 768px) {
  .hero-section {
    padding: 2rem 0;
    margin-bottom: 2rem;
  }

  .hero-section .lead {
    font-size: 1.1rem;
  }

  .hero-section .quote-author {
    font-size: 0.9rem;
  }

  .hero-quote .btn-container {
    text-align: center;
    margin-top: 1rem;
  }

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

  .our-story-section {
    padding: 3rem 0;
  }

  .company-title {
    font-size: 1.1rem;
  }

  .company-tagline {
    font-size: 0.8rem;
  }

  .footer-brand-logo {
    max-width: 150px;
    margin: 0 auto;
  }

  .social-media-links {
    justify-content: center;
    margin-top: 1rem;
  }

  .footer-contact {
    text-align: center;
  }

  .footer-contact div {
    margin-bottom: 0.5rem;
  }

  /* Unified button heights for mobile */
  .btn-primary,
  .btn-outline-light {
    height: var(--button-height-mobile);
    min-height: var(--button-height-mobile);
    font-size: 0.8rem;
  }
}

/* Additional media query for better tablet support */
@media (min-width: 769px) and (max-width: 991px) {
  .footer-contact {
    text-align: center;
  }

  .footer-contact div {
    justify-content: center;
    display: flex;
    align-items: center;
  }

  .footer-brand-logo {
    height: 50px;
    max-width: 130px;
  }
}

@media (max-width: 576px) {
  .hero-section {
    padding: 42px 0;
    min-height: 224px;
  }

  .hero-section .lead {
    font-size: 1.3rem;
  }

  .hero-quote {
    padding: 40px 0;
  }

  .value-item {
    margin-bottom: 30px;
  }
}

/* Responsive adjustments for Our Story page */
@media (max-width: 991px) {
  .our-story-section .section-heading,
  .our-story-section .subtitle,
  .our-story-section p {
    text-align: center;
  }

  .our-story-section .divider-red {
    margin-left: auto;
    margin-right: auto;
  }

  .our-story-section img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: 20px;
    max-width: 80%;
  }

  .our-story-section .col-lg-5 {
    margin-top: 30px;
    text-align: center;
  }
}

/* Write For Us Section */
.write-for-us-section {
  padding: 80px 0;
  background-color: var(--bg-color);
  color: var(--text-color);
  transition: background-color 0.3s, color 0.3s;
}

.write-for-us-section .section-heading {
  font-size: 38px;
  font-weight: 600;
  color: #333;
  margin-bottom: 10px;
}

.write-for-us-section .divider-red {
  width: 100%;
  height: 2px;
  background-color: var(--primary-color);
  opacity: 1;
  margin: 15px 0 30px 0;
}

.write-for-us-section .lead {
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 30px;
}

.write-for-us-section .download-btn {
  padding: 12px 30px;
  font-size: 18px;
  font-weight: 500;
  border-radius: 5px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.write-for-us-section .download-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

/* Responsive adjustments for Write For Us page */
@media (max-width: 991px) {
  .write-for-us-section .section-heading,
  .write-for-us-section .lead {
    text-align: center;
  }

  .write-for-us-section .divider-red {
    margin-left: auto;
    margin-right: auto;
  }
}

/* What We Do Section Styles */
.what-we-do-section {
  background-color: var(--bg-color);
  color: var(--text-color);
  transition: background-color 0.3s, color 0.3s;
}

.what-we-do-section .section-heading {
  font-size: 38px;
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 10px;
}

.what-we-do-section .divider-red {
  width: 100%;
  height: 2px;
  background-color: var(--primary-color);
  opacity: 1;
  margin: 15px 0 30px 0;
}

.what-we-do-section .lead {
  font-size: 18px;
  line-height: 1.8;
}

/* Accordion Styles */
.accordion-item {
  border: none;
  background-color: var(--bg-color);
  margin-bottom: 15px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
  transition: background-color 0.3s, box-shadow 0.3s;
}

[data-theme='dark'] .accordion-item {
  background-color: var(--card-bg);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.2);
}

.accordion-button {
  background-color: var(--card-bg);
  color: var(--text-color);
  padding: 20px;
  font-weight: 600;
  border: none;
  box-shadow: none;
  transition: all 0.3s ease;
}

[data-theme='dark'] .accordion-button {
  background-color: var(--card-bg);
  color: var(--text-color);
}

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

[data-theme='dark'] .accordion-button:not(.collapsed) {
  background-color: var(--card-bg);
}

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

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

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

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

.accordion-body {
  padding: 2rem;
}

.accordion-body p {
  margin-bottom: 1.25rem;
  line-height: 1.7;
}

.accordion-body .btn-area {
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}

.accordion-body .btn-area .btn {
  margin-right: 0.75rem;
  margin-bottom: 0.75rem;
}

.product-image {
  transition: transform 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.product-image:hover {
  transform: scale(1.03);
}

/* Trending Publications Styles */
.trending-publications {
  background-color: var(--light-color);
  color: var(--text-color);
  transition: background-color 0.3s, color 0.3s;
}

.trending-card {
  margin-bottom: 30px;
  transition: transform 0.3s ease;
  text-align: center;
}

.trending-card img {
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.trending-card:hover img {
  transform: scale(1.03);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.trending-card h5 {
  font-size: 16px;
  font-weight: 600;
  margin-top: 15px;
  color: var(--text-color);
  transition: color 0.3s;
}

/* Image Gallery Styles for Accordion */
.image-gallery .gallery-image {
  transition: all 0.3s ease;
  max-height: 200px;
  width: 100%;
  object-fit: contain;
  border-radius: 8px;
  margin-bottom: 10px;
  background-color: transparent;
  box-shadow: none;
}

.image-gallery .gallery-image:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

/* Image Gallery for Accordion */
.image-gallery {
  margin-top: 1.5rem;
}

.image-gallery .col-md-3,
.image-gallery .col-md-4,
.image-gallery .col-md-6,
.image-gallery .col-6 {
  background-color: transparent;
  padding: 5px;
}

.image-gallery .gallery-image {
  width: 100%;
  max-height: 200px;
  border-radius: 8px;
  object-fit: contain;
  margin-bottom: 15px;
  transition: transform 0.3s ease;
  background-color: transparent;
  box-shadow: none;
}

.image-gallery .gallery-image:hover {
  transform: scale(1.03);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Update stationery section styling */
.accordion-item ul.list-unstyled li {
  color: var(--primary-color);
  font-weight: 500;
  margin-bottom: 8px;
}

/* Remove card styling from all accordion content */
.accordion-body {
  background-color: transparent;
}

.accordion-body .row,
.accordion-body .col-12,
.accordion-body [class*='col-'] {
  background-color: transparent;
  box-shadow: none;
}

/* Responsive adjustments for What We Do page */
@media (max-width: 991px) {
  .accordion-button h3 {
    font-size: 1.1rem;
  }

  .product-icon-circle {
    width: 60px;
    height: 60px;
  }

  i.product-icon {
    font-size: 1.5rem;
  }
}

@media (max-width: 767px) {
  .what-we-do-section .section-heading,
  .what-we-do-section .lead {
    text-align: center;
  }

  .what-we-do-section .divider-red {
    margin-left: auto;
    margin-right: auto;
  }

  .accordion-body .row {
    flex-direction: column-reverse;
  }

  .accordion-body .col-md-4 {
    margin-bottom: 20px;
  }

  .accordion-body .col-md-8 {
    text-align: center;
  }

  .trending-card h5 {
    font-size: 14px;
  }

  .what-we-do-section .accordion-button {
    font-size: 16px;
    padding: 15px;
  }

  .accordion-body {
    padding: 1.25rem;
  }

  .image-gallery .gallery-image {
    height: 150px;
    margin-bottom: 8px;
  }

  .accordion-body .row {
    margin-left: -8px;
    margin-right: -8px;
  }

  .accordion-body .col-md-4,
  .accordion-body .col-md-6 {
    padding-left: 8px;
    padding-right: 8px;
  }
}

/* Dark mode adjustments */

/* Image Gallery for Accordion */
.image-gallery {
  margin-top: 1.5rem;
}

.image-gallery .gallery-image {
  width: 100%;
  max-height: 200px;
  border-radius: 8px;
  object-fit: contain;
  margin-bottom: 15px;
  transition: transform 0.3s ease;
}

.image-gallery .gallery-image:hover {
  transform: scale(1.03);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Image Gallery Responsive Adjustments */
@media (max-width: 991px) {
  .image-gallery .gallery-image {
    max-height: 180px;
  }
}

@media (max-width: 767px) {
  .image-gallery {
    margin-top: 1rem;
  }

  .image-gallery .gallery-image {
    max-height: 160px;
    margin-bottom: 10px;
  }

  .image-gallery .row {
    margin-right: -5px;
    margin-left: -5px;
  }

  .image-gallery [class*='col-'] {
    padding-right: 5px;
    padding-left: 5px;
  }
}

@media (max-width: 575px) {
  .image-gallery .gallery-image {
    max-height: 120px;
  }
}

/* Dark mode adjustments */

/* Specific styling for notebook images in stationery section */
#collapse5 .image-gallery .gallery-image {
  object-fit: contain;
  background-color: transparent;
  max-height: 240px;
  margin-bottom: 15px;
  width: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* Add some spacing between the notebook items */
#collapse5 .image-gallery [class*='col-'] {
  padding: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  margin-bottom: 15px;
}

/* Make sure the notebook list items are bold and primary colored */
#collapse5 ul.list-unstyled li {
  color: var(--primary-color);
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: 10px;
}

/* Add spacing between notebook name and dimensions */
#collapse5 ul.list-unstyled li::after {
  content: '';
  display: inline-block;
  width: 10px;
}

/* Media query for better display on smaller screens */
@media (max-width: 767px) {
  #collapse5 .image-gallery .gallery-image {
    max-height: 200px;
  }

  #collapse5 ul.list-unstyled li {
    font-size: 1rem;
  }
}

/* Map Styles */
.map-container {
  height: 400px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  position: relative;
}

.map-container:hover {
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.map-marker-indicator {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 999;
  pointer-events: none;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-pin-pulse {
  width: 18px;
  height: 18px;
  background-color: #ff3b25;
  border-radius: 50%;
  animation: pulse 1.5s infinite;
  box-shadow: 0 0 10px 5px rgba(255, 59, 37, 0.7);
  position: relative;
}

.map-pin-pulse:before {
  content: '';
  position: absolute;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 59, 37, 0.3);
  animation: pulse-outer 1.5s infinite;
}

.map-pin-pulse:after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 10px solid #ff3b25;
}

@keyframes pulse {
  0% {
    transform: scale(0.8);
    box-shadow: 0 0 0 0 rgba(255, 59, 37, 0.7);
  }
  70% {
    transform: scale(1.2);
    box-shadow: 0 0 15px 10px rgba(255, 59, 37, 0);
  }
  100% {
    transform: scale(0.8);
    box-shadow: 0 0 0 0 rgba(255, 59, 37, 0);
  }
}

@keyframes pulse-outer {
  0% {
    transform: scale(0.8);
    opacity: 0.8;
  }
  70% {
    transform: scale(1.3);
    opacity: 0;
  }
  100% {
    transform: scale(0.8);
    opacity: 0;
  }
}

@media (max-width: 767px) {
  .map-container {
    height: 350px;
  }

  .map-pin-pulse {
    width: 16px;
    height: 16px;
  }

  .map-pin-pulse:before {
    width: 32px;
    height: 32px;
  }

  .map-pin-pulse:after {
    bottom: -8px;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 8px solid #ff3b25;
  }
}

/* Button Styles */
.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: white;
  height: var(--button-height-desktop);
  min-height: var(--button-height-desktop);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: var(--button-font-size);
  font-weight: 500;
  padding: 0 1.5rem;
  border-radius: 6px;
  transition: all var(--transition-speed) ease;
}

.btn-primary:hover {
  background-color: var(--primary-hover-color);
  border-color: var(--primary-hover-color);
  color: white;
  transform: translateY(-1px);
}

/* Other Locations Section */
.other-locations-section {
  padding: 60px 0;
  background-color: var(--light-color);
}

.other-locations-section .section-title {
  margin-bottom: 30px;
}

.location-tabs {
  margin-bottom: 30px;
}

.location-tabs .nav-link {
  color: var(--text-color);
  font-weight: 500;
  padding: 12px 24px;
  border: none;
  background-color: #f1f1f1;
  transition: all 0.3s ease;
}

.location-tabs .nav-link.active {
  color: white;
  background-color: var(--primary-color);
}

.zone-accordion .accordion-item {
  border: none;
  margin-bottom: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  border-radius: 8px;
  overflow: hidden;
}

.zone-accordion .accordion-button {
  background-color: white;
  color: var(--text-color);
  font-weight: 600;
  padding: 16px 20px;
}

.zone-accordion .accordion-button:focus {
  box-shadow: none;
}

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

.zone-accordion .accordion-button:not(.collapsed)::after {
  filter: brightness(0) invert(1);
}

.zone-accordion .accordion-body {
  padding: 20px;
}

.location-card {
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
  background-color: white;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.location-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.location-card .location-name {
  font-weight: 600;
  font-size: 18px;
  margin-bottom: 10px;
  color: var(--primary-color);
}

.location-card .location-address {
  margin-bottom: 10px;
  color: var(--text-color);
  line-height: 1.5;
}

.location-card .location-contact {
  display: flex;
  align-items: center;
  margin-top: 15px;
}

.location-card .location-contact i {
  margin-right: 8px;
  color: var(--primary-color);
}

.location-card .location-contact a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
}

.location-card .location-contact a:hover {
  text-decoration: underline;
}

.download-link {
  display: inline-flex;
  align-items: center;
  font-weight: 500;
  color: var(--primary-color);
  margin-top: 20px;
  text-decoration: none;
  padding: 10px 16px;
  border-radius: 4px;
  background-color: rgba(var(--primary-rgb), 0.1);
  transition: all 0.3s ease;
}

.download-link:hover {
  background-color: rgba(var(--primary-rgb), 0.2);
}

.download-link i {
  margin-right: 8px;
}

@media (max-width: 767px) {
  .location-tabs .nav-link {
    padding: 10px 15px;
    font-size: 14px;
  }

  .location-card {
    padding: 15px;
  }

  .location-card .location-name {
    font-size: 16px;
  }
}

/* Location Directory Cards */
.location-directory {
  margin-top: 20px;
}

.directory-card {
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  padding: 20px;
  margin-bottom: 20px;
  transition: all 0.3s ease;
  border-left: 4px solid var(--primary-color);
}

.directory-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.directory-card .location-title {
  font-weight: 600;
  color: var(--primary-color);
  font-size: 18px;
  margin-bottom: 10px;
}

.directory-card .location-meta {
  display: flex;
  align-items: center;
  margin-bottom: 5px;
  color: var(--text-color);
}

.directory-card .location-meta i {
  color: var(--primary-color);
  width: 20px;
  margin-right: 10px;
}

.directory-card .location-meta a {
  color: var(--text-color);
  text-decoration: none;
  transition: color 0.2s ease;
}

.directory-card .location-meta a:hover {
  color: var(--primary-color);
}

.directory-card .meta-label {
  font-weight: 500;
  min-width: 80px;
  color: #666;
}

.directory-card .location-actions {
  display: flex;
  margin-top: 15px;
  gap: 10px;
}

.directory-card .location-action-btn {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  font-size: 14px;
  font-weight: 500;
  color: white;
  background-color: var(--primary-color);
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.directory-card .location-action-btn:hover {
  background-color: var(--primary-hover-color);
  transform: translateY(-2px);
}

.directory-card .location-action-btn i {
  margin-right: 6px;
}

.directory-card .location-action-btn.btn-outline {
  color: var(--primary-color);
  background-color: transparent;
  border: 1px solid var(--primary-color);
}

.directory-card .location-action-btn.btn-outline:hover {
  color: white;
  background-color: var(--primary-color);
}

/* Filter controls for locations */
.location-filters {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.location-filter-btn {
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-color);
  background-color: #f1f1f1;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.location-filter-btn:hover,
.location-filter-btn.active {
  color: white;
  background-color: var(--primary-color);
}

.location-search {
  position: relative;
  max-width: 300px;
}

.location-search input {
  width: 100%;
  padding: 10px 40px 10px 15px;
  border: 1px solid #e1e1e1;
  border-radius: 30px;
  font-size: 14px;
  transition: all 0.3s ease;
}

.location-search input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.1);
}

.location-search .search-icon {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #888;
}

/* Responsive adjustments */
@media (max-width: 767px) {
  .directory-card {
    padding: 15px;
  }

  .directory-card .location-title {
    font-size: 16px;
  }

  .location-filters {
    flex-direction: column;
    align-items: flex-start;
  }

  .location-search {
    max-width: 100%;
    width: 100%;
    margin-top: 10px;
  }
}

/* Divider - Generic Style */
.divider-red {
  height: 3px;
  width: 100px; /* Default width, can be overridden */
  background-color: var(--primary-color);
  margin: 1rem 0 2rem 0; /* Default margins */
  opacity: 1;
  border: none;
}

.divider-red.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.divider-red.full-width {
  width: 100%;
}

/* Specific width for divider */
.divider-red-short {
  max-width: 200px;
}

/* Button Styles */
.btn {
  /* ... existing code ... */
}

/* --- STYLES FROM WHAT-WE-DO.HTML --- */

/* Specific section styling */
.what-we-do-section {
  /* Base colors handled by body/theme */
}

.trending-publications {
  background-color: var(--light-color);
}

/* Trending Card styles (from what-we-do) */
.trending-card {
  background-color: var(--card-bg);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1.5rem; /* Reduced margin */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  border: 1px solid var(--border-color);
}
.trending-card h5 {
  margin-top: 1rem; /* Space above title */
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-color);
  text-align: center;
}
.trending-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--card-shadow);
}
.trending-card img {
  transition: transform 0.3s ease;
}
.trending-card:hover img {
  transform: scale(1.03);
}

/* Dark mode styles for What We Do specifics */
[data-theme='dark'] .what-we-do-section {
  /* Base colors handled by body/theme */
}
[data-theme='dark'] .trending-publications {
  background-color: #1a1a1a;
}
[data-theme='dark'] .trending-card {
  background-color: #333333;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  border-color: #444;
}
[data-theme='dark'] .trending-card h5 {
  color: #ffffff;
}

/* Ensure paragraph text in What We Do section is pure white in dark mode */
[data-theme='dark'] .what-we-do-section p,
[data-theme='dark'] .what-we-do-section .lead {
  color: #ffffff;
}

/* --- END STYLES FROM WHAT-WE-DO.HTML --- */

/* --- STYLES FROM LETS-CONNECT.HTML --- */

/* Headquarters Section */
.headquarters-section {
  margin-bottom: 4rem;
}

/* Map Container */
.map-container {
  position: relative;
  height: 400px; /* Keep height */
  border-radius: 8px; /* Consistent radius */
  overflow: hidden;
  border: 1px solid var(--border-color); /* Use variable */
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); /* Add shadow */
}

/* Map Marker */
.map-marker-indicator {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -100%); /* Adjust to place bottom tip at center */
  z-index: 10;
  pointer-events: none;
  width: 24px; /* Pin size */
  height: 36px; /* Pin size */
}
.map-pin-pulse {
  /* Static pin look */
  width: 100%;
  height: 100%;
  background-color: var(--primary-color);
  border-radius: 50% 50% 50% 0; /* Teardrop shape */
  transform: rotate(-45deg);
  position: relative;
  border: 2px solid white; /* White border */
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.3);
}
.map-pin-pulse::before {
  /* Inner circle */
  content: '';
  position: absolute;
  width: 8px;
  height: 8px;
  background: white;
  border-radius: 50%;
  top: 5px;
  left: 5px;
}

/* Company Contact Info */
.contact-info h3 {
  margin-bottom: 1.5rem;
}
.company-details {
  /* Container for name, rating, address */
  margin-bottom: 1.5rem;
}
.company-name {
  font-size: 1.3rem; /* Adjusted */
  font-weight: 600;
  color: var(--text-color);
}
.rating-value {
  font-weight: 600;
  color: var(--text-color);
}
.stars {
  color: #ffc107; /* Keep gold color */
  font-size: 1rem; /* Adjusted */
}
.reviews {
  color: #4285f4; /* Keep Google blue */
  text-decoration: none;
  font-size: 0.9rem;
}
.reviews:hover {
  text-decoration: underline;
}

.address-with-icon {
  display: flex;
  align-items: flex-start; /* Align icon with first line */
  margin-top: 0.5rem;
}
.address-with-icon i {
  color: var(--primary-color);
  margin-right: 0.75rem;
  margin-top: 0.2rem; /* Align icon better */
  font-size: 1.1rem;
}
.address-text {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-color);
}
.view-map-link {
  color: #4285f4; /* Keep Google blue */
  text-decoration: none;
  font-size: 0.9rem;
}
.view-map-link:hover {
  color: #0d6efd;
  text-decoration: underline;
}
.contact-methods .d-flex {
  /* Spacing for phone/email */
  margin-bottom: 0.75rem;
}
.contact-link {
  color: var(--text-color);
  text-decoration: none;
  font-size: 1rem; /* Adjusted */
}
.contact-link:hover {
  color: var(--primary-color);
}
.contact-methods i {
  color: var(--primary-color);
  margin-right: 0.75rem;
  font-size: 1.2rem; /* Adjusted */
}

/* Other Locations Section */
.full-width-section {
  /* Used in lets-connect */
  padding-top: 4rem;
  padding-bottom: 4rem;
}
.full-width-section.bg-light {
  background-color: var(--light-color);
}
.full-width-section .container {
  /* Ensure container works within */
  max-width: 1140px; /* Or your container width */
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--bs-gutter-x, 0.75rem); /* Bootstrap gutter */
  padding-right: var(--bs-gutter-x, 0.75rem);
}

.section-subtitle {
  /* Used in lets-connect */
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 1rem;
}

.location-zones {
  margin-top: 1rem;
}
.zone-item {
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
}
.zone-item:last-child {
  border-bottom: none;
}

.zone-title {
  font-size: 1.1rem; /* Adjusted */
  font-weight: 600;
  margin-bottom: 0.25rem; /* Reduced margin */
  color: var(--text-color);
  display: flex;
  align-items: center;
  cursor: pointer;
  transition: color 0.2s ease;
}
.zone-title:hover {
  color: var(--primary-color);
}
.zone-title i {
  /* Icon within zone title */
  margin-right: 0.5rem;
  font-size: 0.9em; /* Slightly smaller than text */
  color: var(--primary-color); /* Keep icon red */
}
.location-list {
  color: var(--text-color);
  opacity: 0.8; /* Slightly muted location list */
  margin-bottom: 0;
  padding-left: 1.8rem; /* Indent list */
  font-size: 0.95rem;
}

/* Distributor Download Button */
.distributors-download {
  margin-top: 2rem;
}
.distributors-download .btn {
  /* Use standard btn styles */
  border-radius: 0; /* Keep square edges as per original design */
}

/* Vertical Divider between Office/Distributor columns */
@media (min-width: 992px) {
  .location-column-divider .col-lg-6:first-child {
    border-right: 1px solid var(--border-color);
    padding-right: 2rem;
  }
  .location-column-divider .col-lg-6:last-child {
    padding-left: 2rem;
  }
}

/* Enquiries Form Styles */
.enquiries-section {
  /* Base section padding applied */
}
.enquiries-section h2 {
  /* Base h2 styles applied */
}
.enquiries-section .form-section {
  margin-top: 2rem;
}

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

.form-label {
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--text-color);
  font-size: 0.95rem;
}

.input-group-with-icon {
  position: relative;
}

.input-icon {
  position: absolute;
  left: 1rem; /* Adjusted padding */
  top: 50%; /* Restore vertical centering */
  transform: translateY(-50%); /* Restore vertical centering */
  color: var(--primary-color);
  font-size: 1.1rem; /* Adjusted size */
  z-index: 4; /* Above input */
  pointer-events: none; /* Prevent icon interaction */
  opacity: 0.7; /* Slightly mute icon */
}

.input-group-with-icon textarea ~ .input-icon {
  top: 1rem; /* Align icon top for textarea */
  transform: none;
}

.form-control {
  padding-left: 3rem; /* Space for icon */
  height: calc(1.5em + 1rem + 2px); /* Bootstrap 5 height */
  border-radius: 4px;
  border: 1px solid var(--border-color); /* Use variable */
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.25rem rgba(var(--primary-rgb), 0.25);
  background-color: var(--bg-color); /* Ensure bg matches theme */
  color: var(--text-color); /* Ensure text matches theme */
}

textarea.form-control {
  padding-top: 0.75rem; /* Adjusted padding */
  min-height: 120px; /* Adjusted height */
  height: auto; /* Allow auto height */
}

.submit-btn {
  /* Button specific to forms */
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: 4px;
  padding: 0.75rem 0; /* Adjusted padding */
  font-weight: 500;
  font-size: 1.1rem; /* Adjusted size */
  cursor: pointer;
  transition: background-color 0.3s;
  width: 100%;
  margin-top: 1rem; /* Add some top margin */
}

.submit-btn:hover {
  background-color: var(--primary-hover-color);
  color: white;
}

/* Status message styles */
#formSending,
#formError,
#formSuccess {
  margin-bottom: 1rem;
}

/* Dark mode styles for Let's Connect */
[data-theme='dark'] .map-pin-pulse {
  border-color: var(--bg-color);
}
[data-theme='dark'] .map-pin-pulse::before {
  background: var(--bg-color);
}
[data-theme='dark'] .company-details {
  color: #dddddd;
}
[data-theme='dark'] .map-container {
  border-color: #444444;
}
[data-theme='dark'] .contact-link {
  color: #dddddd;
}
[data-theme='dark'] .contact-link:hover {
  color: var(--primary-color);
}
[data-theme='dark'] .company-name {
  color: #ffffff;
}
[data-theme='dark'] .view-map-link {
  color: #6ba4f8;
}
[data-theme='dark'] .view-map-link:hover {
  color: #4285f4;
}
[data-theme='dark'] .reviews {
  color: #6ba4f8;
}
[data-theme='dark'] .section-subtitle {
  color: #fff;
}
[data-theme='dark'] .zone-item {
  border-bottom-color: rgba(255, 255, 255, 0.1);
}
[data-theme='dark'] .zone-title {
  color: #fff;
}
[data-theme='dark'] .location-list {
  color: #ccc;
}
[data-theme='dark'] .location-column-divider .col-lg-6:first-child {
  border-right-color: rgba(255, 255, 255, 0.1);
}
[data-theme='dark'] .enquiries-section h2 {
  color: #fff;
}
[data-theme='dark'] .form-label {
  color: #f1f1f1;
}
[data-theme='dark'] .form-control {
  background-color: #333;
  border-color: #555;
  color: #fff;
}
[data-theme='dark'] .form-control::placeholder {
  color: #aaa;
}

/* Responsive Adjustments for Let's Connect */
@media (max-width: 991px) {
  .contact-info {
    padding-left: 0;
    margin-top: 30px;
  }
  .map-container {
    height: 350px;
  }
}

@media (max-width: 767px) {
  .section-subtitle {
    font-size: 1.3rem;
    text-align: center;
  }
  .zone-title {
    font-size: 1.1rem;
  }
  .location-list {
    font-size: 0.9rem;
  }
  .distributors-download {
    text-align: center;
  }
  .form-control {
    height: calc(1.5em + 0.8rem + 2px);
  }
  textarea.form-control {
    min-height: 100px;
  }
  .input-icon {
    top: 50%;
    transform: translateY(-50%);
    font-size: 1rem;
    left: 0.8rem;
  }
  .input-group-with-icon textarea ~ .input-icon {
    top: 0.8rem;
    transform: none;
  }
  .form-control {
    padding-left: 2.5rem;
  }
  .full-width-section {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
    width: 100%; /* Remove full viewport width hack on mobile */
    position: relative;
    left: auto;
    right: auto;
    margin-left: 0;
    margin-right: 0;
  }
  .full-width-section .container {
    padding-left: var(--bs-gutter-x, 0.75rem);
    padding-right: var(--bs-gutter-x, 0.75rem);
  }
}

/* --- END STYLES FROM LETS-CONNECT.HTML --- */

/* --- STYLES FROM WORK-WITH-US.HTML --- */

/* Form styles specific to work-with-us */
/* Most form styles are covered by generic rules from lets-connect */

/* Checkbox Styles */
.checkbox-group {
  margin-top: 0.5rem;
}
.checkbox-container {
  /* Was .checkbox-container */
  display: block;
  margin-bottom: 0.6rem; /* Adjusted spacing */
}
.checkbox-container input[type='checkbox'] {
  margin-right: 0.5rem;
  cursor: pointer;
}
.checkbox-container label {
  cursor: pointer;
  font-weight: 400; /* Normal weight for labels */
  font-size: 0.95rem;
  color: var(--text-color);
}
.checkbox-column {
  /* Column containing checkboxes */
  margin-bottom: 1rem; /* Add bottom margin for spacing on mobile */
}

/* Dark mode styles for Work With Us */
[data-theme='dark'] .checkbox-container {
  color: #dddddd;
}
[data-theme='dark'] .work-with-us-section {
  /* background handled by theme */
}
[data-theme='dark'] .work-with-us-section h1 {
  color: #ffffff; /* Handled by generic h1 */
}
[data-theme='dark'] .work-with-us-section .lead {
  color: #dddddd; /* Handled by generic .lead */
}
/* Dark mode for form elements already covered by lets-connect styles */

/* Responsive Adjustments for Work With Us */
@media (max-width: 767px) {
  .checkbox-column {
    margin-bottom: 1rem; /* Ensure consistent spacing */
  }
}

/* --- END STYLES FROM WORK-WITH-US.HTML --- */

/* --- End Full Width Background Section --- */
.section-full-bg {
  overflow: hidden; /* Prevent potential horizontal scrollbars */
  width: 100%; /* Ensure it takes container width */
  position: relative; /* Needed for pseudo-element positioning */
}

/* Apply background color if needed */
.section-full-bg.bg-light {
  background-color: var(--light-color);
}

/* Use pseudo-element to extend background past container padding */
.section-full-bg::before {
  content: '';
  display: block;
  background: inherit; /* Inherit background from parent */
  position: absolute;
  width: 100vw; /* Full viewport width */
  height: 100%; /* Match parent height */
  z-index: -1; /* Behind the content */
  left: 50%;
  transform: translateX(-50%);
}

/* Adjust inner section padding if needed */
.other-locations-content {
  position: relative; /* Needed for z-index stacking */
  z-index: 1;
}

/* Ensure dark mode compatibility */
[data-theme='dark'] .section-full-bg.bg-light {
  background-color: var(--light-color); /* Use dark theme's light color */
}
/* --- End Full Width Background Section --- */

/* --- Specific Section Overrides --- */
.about-section-content p {
  text-align: left !important; /* Override global justify for this section */
}

/* Align icon with first line in any textarea group */
.textarea-icon {
  top: 1.1rem; /* Align with first line */
  transform: translateY(0); /* cancel the 50% vertical centering */
}

/* Nudge the textarea's text down a touch so it clears the icon */
.input-group-with-icon textarea.form-control {
  padding-top: 1.3rem;
}

/* --- Our Apps Section Styles --- */
.our-apps-section {
  padding: 4rem 0;
  background-color: var(--secondary-color);
}

.our-apps-section .row {
  display: flex;
  flex-wrap: wrap;
}

.our-apps-section .row > [class*='col-'] {
  display: flex;
  flex-direction: column;
}

.app-card {
  background: var(--card-bg);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: var(--card-shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.app-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

[data-theme='dark'] .app-card:hover {
  box-shadow: 0 15px 30px rgba(255, 255, 255, 0.1);
}

.app-card.featured-app {
  border: none;
}

.app-header {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
  gap: 1rem;
}

.app-logo {
  flex-shrink: 0;
}

.app-logo img {
  width: 75px;
  height: 75px;
  border-radius: 12px;
  object-fit: cover;
}

.app-title {
  flex: 1;
}

.app-title h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 0.25rem;
}

.app-subtitle {
  font-size: 1rem;
  color: var(--primary-color);
  font-weight: 500;
  margin-bottom: 0;
}

/* Periwinkle app subtitle styling */
.app-subtitle.periwinkle-subtitle {
  color: #a23293;
}

.app-description {
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.app-description p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  color: var(--text-color);
}

.app-description p:last-child {
  margin-bottom: 0;
}

.app-download-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  justify-content: center;
  margin-top: auto;
}

/* Container for app store buttons to keep them together */
.store-buttons-group {
  display: flex;
  gap: 0;
  align-items: center;
}

.store-buttons-group .app-store-btn {
  margin-right: -0.4rem;
}

.store-buttons-group .play-store-btn {
  margin-left: -0.4rem;
}

.app-store-btn,
.play-store-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 250px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.app-store-btn img,
.play-store-btn img {
  height: calc(var(--button-height-desktop) * 1.6);
  width: auto;
  border-radius: 4px;
}

.app-store-btn:hover,
.play-store-btn:hover {
  transform: scale(1.03);
  opacity: 0.9;
}

.web-app-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0 1rem;
  background-color: var(--primary-color);
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 500;
  font-size: var(--button-font-size);
  transition: all 0.3s ease;
  border: none;
  height: var(--button-height-desktop);
  min-height: var(--button-height-desktop);
  width: 250px;
}

.web-app-btn:hover {
  background-color: var(--primary-hover-color);
  color: white;
  transform: translateY(-1px);
}

.web-app-btn.full-width {
  width: 250px;
  justify-content: center;
  padding: 0 1rem;
  min-width: auto;
}

.web-app-btn.featured {
  background-color: var(--primary-color);
  padding: 0 1.5rem;
  font-size: var(--button-font-size);
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(229, 7, 18, 0.2);
  min-width: auto;
  width: 250px;
}

.web-app-btn.featured:hover {
  box-shadow: 0 4px 12px rgba(229, 7, 18, 0.3);
  transform: translateY(-2px);
}

.web-app-btn i {
  font-size: 1em;
}

/* Dark theme specific styles for app cards */
[data-theme='dark'] .app-card {
  background-color: var(--card-bg);
}

[data-theme='dark'] .app-card.featured-app {
  background-color: var(--card-bg);
}

[data-theme='dark'] .app-title h3 {
  color: #ffffff;
}

[data-theme='dark'] .app-description {
  color: var(--text-color);
}

[data-theme='dark'] .web-app-btn.featured {
  box-shadow: 0 2px 8px rgba(255, 63, 63, 0.2);
}

[data-theme='dark'] .web-app-btn.featured:hover {
  box-shadow: 0 4px 12px rgba(255, 63, 63, 0.3);
}

/* Responsive design for app cards */
@media (max-width: 991px) {
  .our-apps-section {
    padding: 3rem 0;
  }

  .app-card {
    padding: 1.5rem;
    margin-bottom: 2rem;
  }

  .app-logo img {
    width: 67px;
    height: 67px;
  }

  .app-title h3 {
    font-size: 1.3rem;
  }

  .app-subtitle {
    font-size: 0.9rem;
  }

  .app-description {
    margin-bottom: 1.25rem;
  }

  .app-description p {
    font-size: 1rem;
  }
}

@media (max-width: 767px) {
  .app-card {
    padding: 1.25rem;
  }

  .app-header {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
  }

  .app-logo img {
    width: 60px;
    height: 60px;
  }

  .app-title h3 {
    font-size: 1.4rem;
  }

  .app-subtitle {
    font-size: 1rem;
  }

  .app-description p {
    font-size: 1rem;
  }

  .app-download-buttons {
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
    align-items: center;
    justify-content: center;
  }

  .store-buttons-group {
    gap: 0.4rem;
  }

  .app-store-btn,
  .play-store-btn {
    margin: 0;
    width: 250px;
  }

  .app-store-btn img,
  .play-store-btn img {
    height: calc(var(--button-height-mobile) * 1.6);
  }

  .web-app-btn {
    width: 250px;
    margin: 0;
    justify-content: center;
    min-width: auto;
    height: var(--button-height-mobile);
    min-height: var(--button-height-mobile);
  }
}

@media (max-width: 576px) {
  .our-apps-section {
    padding: 2rem 0;
  }

  .app-card {
    padding: 1rem;
  }

  .app-title h3 {
    font-size: 1.3rem;
  }

  .app-subtitle {
    font-size: 0.95rem;
  }

  .app-description p {
    font-size: 1rem;
  }

  .web-app-btn.featured {
    padding: 0 1.25rem;
    font-size: 0.8rem;
  }

  .app-download-buttons {
    gap: 0.5rem;
    flex-direction: column;
  }

  .store-buttons-group {
    flex-direction: column;
    gap: 0.4rem;
    width: 100%;
  }

  .store-buttons-group .app-store-btn,
  .store-buttons-group .play-store-btn {
    margin: 0;
  }

  /* Ensure consistent button heights on smallest screens */
  .btn-primary,
  .btn-outline-light,
  .web-app-btn {
    height: var(--button-height-mobile);
    min-height: var(--button-height-mobile);
  }

  .app-store-btn img,
  .play-store-btn img {
    height: calc(var(--button-height-mobile) * 1.6);
  }

  /* For very small screens, make buttons responsive */
  .app-store-btn,
  .play-store-btn,
  .web-app-btn {
    width: min(250px, 90vw);
  }
}

/* --- End Our Apps Section Styles --- */

/* Periwinkle app specific button styling */
.web-app-btn.periwinkle-app {
  background-color: #a23293;
}

.web-app-btn.periwinkle-app:hover {
  background-color: #8b2a7f;
  color: white;
  transform: translateY(-1px);
}

.web-app-btn.periwinkle-app.featured {
  background-color: #a23293;
  box-shadow: 0 2px 8px rgba(162, 50, 147, 0.2);
}

.web-app-btn.periwinkle-app.featured:hover {
  background-color: #8b2a7f;
  box-shadow: 0 4px 12px rgba(162, 50, 147, 0.3);
  transform: translateY(-2px);
}

.web-app-btn i {
  font-size: 1em;
}

[data-theme='dark'] .web-app-btn.periwinkle-app.featured {
  box-shadow: 0 2px 8px rgba(162, 50, 147, 0.3);
}

[data-theme='dark'] .web-app-btn.periwinkle-app.featured:hover {
  box-shadow: 0 4px 12px rgba(162, 50, 147, 0.4);
}

[data-theme='dark'] .app-title h3 {
  color: #ffffff;
}

[data-theme='dark'] .app-subtitle {
  color: var(--primary-color);
}

[data-theme='dark'] .app-subtitle.periwinkle-subtitle {
  color: #a23293;
}
