/* Additional custom styles for ChamberLink */
/* Custom styles */
:root {
  /* Theme colors */
  --primary-color: #6b4f27;
  --primary-color-hover: #5a4320;
  --accent-color: #e62e36;
  --accent-color-hover: #d12830;
  --accent-color-light: rgba(230, 46, 54, 0.1);

  /* Bootstrap variable overrides */
  --bs-primary: #6b4f27;
  --bs-primary-rgb: 107, 79, 39;
  --bs-btn-bg: #6b4f27;
  --bs-btn-border-color: #6b4f27;
  --bs-btn-hover-bg: #5a4320;
  --bs-btn-hover-border-color: #5a4320;
  --bs-btn-active-bg: #6b4f27;
  --bs-btn-active-border-color: #6b4f27;
  --bs-btn-disabled-bg: #6b4f27;
  --bs-btn-disabled-border-color: #6b4f27;

  /* Other colors */
  --secondary-color: #6c757d;
  --dark-color: #212529;
  --light-color: #f8f9fa;
  --success-color: #198754;
}

body {
  font-family: 'Noto Sans', sans-serif;
  line-height: 1.6;
  color: #333;
  font-weight: 400;
}

h1, h2, h3, h4, h5, h6, .navbar-brand {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
}

.lead {
  font-weight: 400;
  line-height: 1.6;
  font-size: 1.1rem;
}

.display-4 {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.5px;
  font-size: 2.8rem;
}

@media (min-width: 992px) {
  .display-4 {
    font-size: 3.2rem;
  }
}

.hero-section {
  background-color: #f8f9fa;
  padding: 100px 0;
  position: relative;
}

.hero-image {
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.section-padding {
  padding: 80px 0;
}

.service-card {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

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

.service-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
}

.steps-section {
  background-color: #f8f9fa;
}

.step-card {
  padding: 30px;
  border-radius: 10px;
  background-color: white;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  height: 100%;
}

.step-number {
  font-size: 48px;
  font-weight: 700;
  color: var(--primary-color);
  opacity: 0.2;
  position: absolute;
  top: 10px;
  right: 20px;
}

.testimonial-card {
  padding: 30px;
  border-radius: 10px;
  background-color: white;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  margin-bottom: 30px;
}

.testimonial-image {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
}

.quote-icon {
  font-size: 30px;
  color: var(--primary-color);
  opacity: 0.2;
}

.accordion-button:not(.collapsed) {
  background-color: rgba(107, 79, 39, 0.1);
  color: var(--primary-color);
}

.stat-card {
  padding: 20px;
  border-radius: 10px;
  background-color: white;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  height: 100%;
}

.stat-number {
  font-size: 36px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 10px;
}

footer {
  background-color: #6b4f27;
  color: white;
  padding: 60px 0 30px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s ease;
  display: block;
  padding: 3px 0;
}

.footer-links a:hover {
  color: white;
}

.footer-links a .small {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.8rem;
  font-weight: 500;
  margin-bottom: 1px;
  display: block;
}

.social-icons a {
  color: white;
  font-size: 20px;
  margin-right: 15px;
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: #d4b978;
}
.btn {
  border-radius: 100px;
}

/* Responsive image handling */
.about-image {
  width: 100%;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

@media (max-width: 991px) {
  .about-image-container {
    margin-bottom: 2rem;
  }
}

footer {
  color: white;
}

/* Navbar transition styles */
.navbar {
  transition: all 0.3s ease;
  padding: 15px 0;
}

.navbar.navbar-scrolled {
  padding: 8px 0;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1) !important;
}

.navbar-brand img {
  transition: all 0.3s ease;
}

.navbar.navbar-scrolled .navbar-brand img {
  transform: scale(0.9);
}

/* Navbar menu items with translations */
.navbar .nav-link {
  text-align: center;
  padding: 0.5rem 1rem;
}

@media (min-width: 992px) {
  .navbar .nav-link {
    padding: 0.5rem 0.75rem;
  }

  .navbar .nav-link .small {
    color: var(--primary-color);
    margin-right: 4px;
  }
}

/* Override Bootstrap styles */

/* Theme color overrides */
.bg-primary {
  background-color: #6b4f27 !important;
}

.text-primary {
  color: #6b4f27 !important;
}

.border-primary {
  border-color: #6b4f27 !important;
}

/* Accent color classes */
.bg-accent {
  background-color: var(--accent-color) !important;
}

.text-accent {
  color: var(--accent-color) !important;
}

.border-accent {
  border-color: var(--accent-color) !important;
}

.btn-accent {
  background-color: var(--accent-color) !important;
  border-color: var(--accent-color) !important;
  color: white !important;
}

.btn-accent:hover,
.btn-accent:focus,
.btn-accent:active,
.btn-accent.active,
.btn-check:checked + .btn-accent {
  background-color: var(--accent-color-hover) !important;
  border-color: var(--accent-color-hover) !important;
  color: white !important;
}

/* Ensure navbar and contact form buttons have consistent styling */
.navbar-nav .nav-link.btn-accent,
#contact .btn-accent,
.submit-interest-btn.btn-accent,
form .btn-accent,
.navigator-section .btn-accent {
  background-color: var(--accent-color) !important;
  border-color: var(--accent-color) !important;
  color: white !important;
}

.navbar-nav .nav-link.btn-accent:hover,
#contact .btn-accent:hover,
.submit-interest-btn.btn-accent:hover,
form .btn-accent:hover,
.navigator-section .btn-accent:hover {
  background-color: var(--accent-color-hover) !important;
  border-color: var(--accent-color-hover) !important;
  color: white !important;
}

.bg-accent-light {
  background-color: var(--accent-color-light) !important;
}

/* Direct Bootstrap variable overrides */
:root {
  --bs-primary: #6b4f27 !important;
  --bs-primary-rgb: 107, 79, 39 !important;

  /* Primary button variables */
  --bs-btn-color: #fff;
  --bs-btn-bg: #6b4f27;
  --bs-btn-border-color: #6b4f27;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #5a4320;
  --bs-btn-hover-border-color: #5a4320;
  --bs-btn-focus-shadow-rgb: 130, 97, 60;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #6b4f27;
  --bs-btn-active-border-color: #6b4f27;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: #6b4f27;
  --bs-btn-disabled-border-color: #6b4f27;
}

/* Specific override for Bootstrap primary button */
.btn-primary {
  --bs-btn-color: #fff;
  --bs-btn-bg: #6b4f27;
  --bs-btn-border-color: #6b4f27;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #5a4320;
  --bs-btn-hover-border-color: #5a4320;
  --bs-btn-focus-shadow-rgb: 130, 97, 60;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #6b4f27;
  --bs-btn-active-border-color: #6b4f27;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: #6b4f27;
  --bs-btn-disabled-border-color: #6b4f27;
}

a {
  color: #6b4f27;
}

a:hover {
  color: #5a4320;
}

.accordion-button:not(.collapsed) {
  background-color: rgba(107, 79, 39, 0.1);
  color: #6b4f27;
}

/* Button overrides to match theme color - with increased specificity */
.btn.btn-primary,
button.btn-primary,
input[type="submit"].btn-primary,
.btn-primary,
.btn-primary.btn,
a.btn.btn-primary,
button.btn.btn-primary,
input.btn.btn-primary {
  background-color: #6b4f27 !important;
  border-color: #6b4f27 !important;
  color: white !important;
  box-shadow: none !important;
}

.btn.btn-primary:hover,
.btn.btn-primary:focus,
.btn.btn-primary:active,
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary.active,
.btn-check:checked + .btn-primary {
  background-color: #5a4320 !important;
  border-color: #5a4320 !important;
  color: white !important;
}

/* Ensure navbar and contact form buttons have consistent styling */
.navbar-nav .nav-link.btn-primary,
#contact .btn-primary,
.submit-interest-btn,
form .btn-primary,
.navigator-section .btn-primary {
  background-color: #6b4f27 !important;
  border-color: #6b4f27 !important;
  color: white !important;
}

.navbar-nav .nav-link.btn-primary:hover,
#contact .btn-primary:hover,
.submit-interest-btn:hover,
form .btn-primary:hover,
.navigator-section .btn-primary:hover {
  background-color: #5a4320 !important;
  border-color: #5a4320 !important;
  color: white !important;
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Typography enhancements */
h2 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  position: relative;
  letter-spacing: -0.5px;
}

h2:after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -12px;
  width: 40px;
  height: 2px;
  background-color: #6b4f27;
}

.text-center h2:after {
  left: 50%;
  transform: translateX(-50%);
}

p {
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

.btn {
  font-weight: 500;
  letter-spacing: 0.3px;
  padding: 0.5rem 1.2rem;
  font-size: 0.85rem;
  border-radius: 50px;
}

.btn-lg {
  padding: 0.6rem 1.5rem;
  font-size: 0.9rem;
}

.navbar-nav .nav-link {
  font-weight: 500;
  letter-spacing: 0.5px;
  padding: 0.5rem 1rem;
  transition: all 0.3s ease;
}

.step-number {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
}

blockquote {
  font-family: 'Poppins', sans-serif;
  font-style: normal;
}

.testimonial-card .lead {
  font-style: normal;
  line-height: 1.6;
  font-size: 1.05rem;
}

/* Animation effects */
.service-card, .step-card, .testimonial-card {
  transition: all 0.3s ease;
}

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

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero-section {
    padding: 60px 0;
  }

  .section-padding {
    padding: 60px 0;
  }

  h1.display-4 {
    font-size: 2.5rem;
  }
}

/* Print styles */
@media print {
  .navbar, .footer {
    display: none;
  }

  body {
    font-size: 12pt;
  }

  .container {
    width: 100%;
    max-width: 100%;
  }
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 .25rem rgba(253, 117, 13, 0.25)
}

/* Accent color specific styles */
.accent-badge {
  background-color: var(--accent-color);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  display: inline-block;
}

.accent-divider {
  height: 3px;
  width: 60px;
  background-color: var(--accent-color);
  margin: 1rem 0;
}

.text-center .accent-divider {
  margin-left: auto;
  margin-right: auto;
}

.accent-icon {
  color: var(--accent-color);
}

.accent-highlight {
  position: relative;
  display: inline-block;
}

.accent-highlight::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background-color: var(--accent-color-hover);
  z-index: -1;
}

.accent-border-left {
  border-left: 3px solid var(--accent-color);
  padding-left: 15px;
}

.step-number-accent {
  color: var(--accent-color);
  opacity: 0.2;
}

h2:after {
  background-color: var(--accent-color);
}