/*

Encounter Colombian Coffee - Custom Styles
Brand Identity Colors Implementation

*/

/*---------------------------------------
  ENCOUNTER COFFEE BRAND COLORS             
-----------------------------------------*/
:root {
  /* Primary Brand Colors */
  --encounter-cream:              #FBF6E0;  /* Warm Cream - Background */
  --encounter-navy:               #2F4466;  /* Deep Navy - Text & Headers */
  --encounter-golden:             #DDC165;  /* Golden - Accents */
  --encounter-orange:             #E69E2C;  /* Vibrant Orange - CTAs */
  --encounter-red:                #7C090F;  /* Coffee Berry Red - Primary Actions */
  
  /* Supporting Colors */
  --encounter-coffee-dark:        #3D2817;  /* Dark Coffee Brown */
  --encounter-coffee-light:       #8D3F3B;  /* Light Coffee Brown */
  --encounter-cream-dark:         #F5ECCD;  /* Darker Cream for contrast */
  
  /* Brand Statement Section Colors */
  --terracotta-red:               #B85450;  /* Muted brick/terracotta background */
  --warm-orange-brown:            #C87F4A;  /* Semicircle color */
  --accent-blue:                  #5B8FA3;  /* Cool accent for bullets */
  
  /* Functional Colors */
  --encounter-success:            #4A7C59;  /* Coffee plant green */
  --encounter-text-primary:       var(--encounter-navy);
  --encounter-text-secondary:     #5a5a5a;
  --encounter-border-light:       rgba(47, 68, 102, 0.1);
  
  /* Footer Text Sizes - Easy Adjustment */
  --footer-title-size:            2.4rem;
  --footer-text-size:             3rem;
  --footer-text-size2:            3rem;
  --footer-text-size3:            1rem;
  --footer-contact-link-size:     2.2rem;
  --footer-legal-link-size:       1rem;
  --footer-social-icon-size:      3rem;
  
  /* Floating Button - Easy Adjustment */
  --floating-btn-width:           120px;
  --floating-btn-height:          70px;
  --floating-btn-radius:          35px;
  --floating-btn-bg:              #7C090F;  /* Red box background */
  
  --floating-btn-width-mobile:    90px;
  --floating-btn-height-mobile:   60px;
  --floating-btn-radius-mobile:   30px;
}

/*---------------------------------------
  GLOBAL FONT SIZE INCREASES
-----------------------------------------*/
html, body {
  overflow-x: hidden;
  max-width: 100vw;
}

body {
  font-size: 1.1rem !important;
  line-height: 1.7 !important;
  position: relative;
}

h1 {
  font-size: 3.2rem !important;
  line-height: 1.3 !important;
}

h2 {
  font-size: 2.8rem !important;
  line-height: 1.3 !important;
}

h3 {
  font-size: 2.2rem !important;
  line-height: 1.3 !important;
}

h4 {
  font-size: 1.8rem !important;
  line-height: 1.3 !important;
}

h5 {
  font-size: 1.5rem !important;
  line-height: 1.3 !important;
}

h6 {
  font-size: 1.3rem !important;
  line-height: 1.3 !important;
}

p {
  font-size: 1.15rem !important;
  line-height: 1.7 !important;
}

/*---------------------------------------
  FIXED NAVBAR LAYOUT (NON-COLLAPSING)
-----------------------------------------*/
.navbar {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: clamp(0.35rem, 0.8vw, 0.75rem);
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  min-width: 0;
}

.navbar-fixed-row {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.navbar-fixed-col {
  display: flex;
  align-items: center;
}

.navbar-logo-section {
  flex: 0 0 auto;
  justify-content: flex-start;
  min-width: 0;
}

.navbar-nav-section {
  flex: 1 1 auto;
  margin-left: auto;
  justify-content: flex-end;
  min-width: 0;
}

.navbar-profile-section {
  flex: 0 0 auto;
  justify-content: flex-end;
  order: 3;
}

/* Hamburger toggle button - hidden on desktop */
.navbar-toggler {
  display: none;
  order: 2;
  border: none;
  background: transparent;
  padding: 0.25rem 0.5rem;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28251, 246, 224, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  width: 28px;
  height: 28px;
}

/* Desktop - navigation always visible */
@media (min-width: 992px) {
  .navbar-nav-section {
    display: flex !important;
  }

  .navbar-nav-section .navbar-nav {
    flex-wrap: wrap;
    justify-content: flex-end;
    row-gap: 0.5rem;
  }
}

/* Mobile adjustments - show hamburger menu */
@media (max-width: 991px) {
  .navbar {
    position: relative;
    z-index: 1000;
  }

  .navbar-fixed-row {
    position: relative;
    flex-wrap: nowrap;
    align-items: center;
  }

  .navbar-logo-section {
    flex: 1 1 auto;
    min-width: 0;
  }

  .navbar-brand {
    display: flex !important;
    align-items: center;
    gap: 0.5rem;
    min-width: 0;
    max-width: calc(100% - 56px);
    width: 100%;
    overflow: hidden;
  }

  .navbar-brand-image,
  .navbar-brand-wordmark {
    flex-shrink: 1;
    min-width: 0;
  }

  .navbar-brand-image {
    width: clamp(52px, 18vw, 88px) !important;
    height: auto !important;
    aspect-ratio: 1 / 1;
  }

  .navbar-brand-wordmark {
    width: auto !important;
    height: auto !important;
    max-width: min(58vw, 230px) !important;
    max-height: clamp(34px, 9vw, 58px);
    margin-left: 0;
  }

  .navbar-toggler {
    display: block;
    margin-left: auto;
    flex: 0 0 auto;
  }
  
  .navbar-nav-section {
    position: absolute;
    top: calc(100% + 0.75rem);
    left: 0;
    right: 0;
    order: 4;
    margin-top: 0;
    padding: 1rem 1.25rem;
    background: rgba(124, 9, 15, 0.97);
    border: 1px solid rgba(221, 193, 101, 0.3);
    border-radius: 20px;
    box-shadow: 0 18px 40px rgba(30, 45, 68, 0.28);
    z-index: 1010;
  }

  .navbar-nav-section.collapse:not(.show) {
    display: none !important;
  }

  .navbar-nav-section.collapsing,
  .navbar-nav-section.show {
    display: block;
  }
  
  .navbar-nav-section .navbar-nav {
    flex-direction: column !important;
    align-items: center;
    width: 100%;
    gap: 0.25rem;
  }
  
  .navbar-nav-section .nav-item {
    padding: 0;
    width: 100%;
    justify-content: center;
  }

  .nav-separated .nav-item:not(:last-child)::after {
    display: none;
  }

  .navbar-nav-section .nav-link {
    display: block;
    width: 100%;
    padding: 0.75rem 1rem !important;
    text-align: center;
  }

  .navbar-nav-section .domain-switcher-btn {
    margin: 0.5rem auto 0;
  }
}

@media (max-width: 768px) {
  .navbar-fixed-row {
    gap: 0.5rem;
  }
  
  .navbar-brand-image {
    width: clamp(48px, 17vw, 76px) !important;
    height: auto !important;
  }

  .navbar-brand-wordmark {
    width: auto !important;
    height: auto !important;
    max-width: min(54vw, 180px) !important;
    max-height: clamp(30px, 8vw, 48px);
  }
  
  .navbar-nav .nav-item img {
    width: 24px !important;
    height: 24px !important;
    margin-right: 4px !important;
  }
  
  .navbar-nav .nav-link {
    font-size: 0.85rem !important;
    white-space: normal;
  }
  
  .nav-profile-icon img {
    width: 32px !important;
    height: 32px !important;
  }
}

@media (max-width: 576px) {
  .navbar-brand-image {
    width: clamp(42px, 16vw, 60px) !important;
    height: auto !important;
  }

  .navbar-brand-wordmark {
    width: auto !important;
    height: auto !important;
    max-width: min(50vw, 145px) !important;
    max-height: clamp(24px, 7vw, 38px);
    margin-left: 0;
  }

  .navbar-toggler-icon {
    width: 24px;
    height: 24px;
  }

  .navbar-nav-section {
    padding: 0.9rem 1rem;
    border-radius: 18px;
  }

  .navbar-nav-section .nav-link {
    font-size: 1rem !important;
    white-space: normal;
  }
  
  .nav-profile-icon img {
    width: 28px !important;
    height: 28px !important;
  }
}

/*---------------------------------------
  DOMAIN SWITCHER BUTTON
-----------------------------------------*/
.domain-switcher-btn {
  background: rgba(255, 255, 255, 0.15);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  color: #FBF6E0;
  border-radius: 20px;
  padding: clamp(0.2rem, 0.5vw, 0.25rem) clamp(0.65rem, 1vw, 0.85rem);
  font-size: clamp(0.78rem, 0.55vw + 0.55rem, 0.85rem);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  letter-spacing: 0.03em;
  line-height: 1.6;
}

.domain-switcher-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: var(--encounter-golden);
  color: var(--encounter-golden);
}

/*---------------------------------------
  BRAND TYPOGRAPHY ENHANCEMENTS
-----------------------------------------*/
.navbar-brand-text {
  color: var(--encounter-navy) !important;
  display: inline-flex;
  align-items: center;
  margin-left: 8px;
}

.navbar-brand-image {
  width: clamp(72px, 9vw, 140px) !important;
  height: auto !important;
  max-width: 100% !important;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  flex-shrink: 0;
}

.navbar-brand-wordmark {
  height: auto !important;
  width: auto !important;
  max-width: clamp(180px, 20vw, 260px) !important;
  max-height: clamp(32px, 3.8vw, 54px);
  margin-left: 0;
  object-fit: contain;
  flex-shrink: 0;
  min-width: auto;
}

.navbar-brand-text small {
  color: var(--encounter-red);
  font-weight: 500;
}

/* Navbar Icon Navigation */
.navbar-nav .nav-item {
  padding: 0 clamp(0.4rem, 1vw, 1.5rem);
}

.navbar-nav .nav-item i {
  color: var(--encounter-golden);
  font-size: 1.2rem;
  opacity: 0.8;
}

.navbar-nav .nav-link {
  font-size: clamp(0.92rem, 0.55vw + 0.6rem, 1.1rem);
  text-transform: capitalize;
  padding: 0.25rem 0;
  white-space: nowrap;
}

.navbar-nav .nav-item img {
  width: clamp(28px, 4.8vw, 80px) !important;
  height: clamp(28px, 4.8vw, 80px) !important;
  margin-right: clamp(4px, 0.7vw, 8px) !important;
  flex-shrink: 0;
}

.navbar-nav .nav-link.active {
  font-weight: 600;
}

.nav-profile-icon {
  color: var(--encounter-cream);
  font-size: 1.8rem;
  transition: all 0.3s ease;
  text-decoration: none;
}

.nav-profile-icon:hover {
  color: var(--encounter-golden);
  transform: scale(1.1);
}

/*---------------------------------------
  HERO SECTION CUSTOMIZATION             
-----------------------------------------*/
.hero-section {
  background: var(--encounter-navy);
}

.hero-section .section-overlay {
  background: rgba(47, 68, 102, 0.6);
}

.cd-words-wrapper b {
  color: var(--encounter-orange) !important;
}

/*---------------------------------------
  NEW HERO SECTION WITH CAROUSEL             
-----------------------------------------*/
.hero-section-new {
  min-height: 100vh;
  position: relative;
  background-image: url('../images/coffee-beans-background.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, 
    rgba(137, 42, 37, 0.85) 0%, 
    rgba(137, 42, 37, 0.75) 50%, 
    rgba(61, 40, 23, 0.7) 100%);
  z-index: 1;
}

.hero-section-new .container-fluid {
  position: relative;
  z-index: 2;
}

/* Left Content Area */
.hero-left-content {
  padding: 4rem 3rem;
  z-index: 2;
}

.hero-accent-bar {
  width: 60px;
  height: 4px;
  background-color: var(--encounter-golden);
  margin-bottom: 2rem;
  animation: slideInLeft 0.8s ease-out;
}

.hero-headline {
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--encounter-cream);
  text-transform: uppercase;
  letter-spacing: 3px;
  line-height: 1.1;
  margin-bottom: 2rem;
  animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-supporting-text {
  font-size: 1.1rem;
  color: var(--encounter-cream);
  line-height: 1.8;
  margin-bottom: 2.5rem;
  max-width: 500px;
  animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-cta-btn {
  background-color: var(--encounter-red);
  color: white;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border: none;
  box-shadow: 0 4px 15px rgba(137, 42, 37, 0.4);
  transition: all 0.3s ease;
  animation: fadeInUp 1s ease-out 0.6s both;
  text-decoration: none;
  display: inline-block;
}

.hero-cta-btn:hover {
  background-color: #6d1f1b;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(137, 42, 37, 0.6);
  color: white;
}

/* Right Content - Carousel Area */
.hero-right-content {
  padding: 2rem 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-wrapper {
  width: 100%;
  max-width: 800px;
  position: relative;
}

.carousel-container {
  display: flex;
  gap: 2rem;
  overflow: hidden;
  position: relative;
  padding: 2rem 0;
}

.carousel-card {
  min-width: 280px;
  max-width: 320px;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0.6;
  transform: scale(0.85);
  filter: brightness(0.8);
}

.carousel-card.active {
  opacity: 1;
  transform: scale(1);
  filter: brightness(1);
  z-index: 10;
}

.card-frame {
  background-color: var(--encounter-cream);
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  border: 8px solid rgba(251, 246, 224, 0.95);
}

.card-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 1.5rem;
}

.card-caption {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--encounter-red);
  text-transform: uppercase;
  letter-spacing: 2px;
  line-height: 1.3;
  text-align: center;
}

/* Carousel Controls */
.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2rem;
  gap: 1rem;
}

.carousel-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid rgba(251, 246, 224, 0.6);
  background: transparent;
  color: var(--encounter-cream);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1.2rem;
}

.carousel-btn:hover {
  background-color: rgba(251, 246, 224, 0.2);
  border-color: var(--encounter-golden);
  color: var(--encounter-golden);
  transform: scale(1.1);
}

.carousel-progress {
  width: 120px;
  height: 4px;
  background-color: rgba(251, 246, 224, 0.3);
  border-radius: 2px;
  overflow: hidden;
  margin: 0 1rem;
}

.progress-bar {
  height: 100%;
  background-color: var(--encounter-golden);
  width: 25%;
  transition: width 0.3s ease;
}

/*---------------------------------------
  NAVIGATION ENHANCEMENTS             
-----------------------------------------*/
.navbar {
  background-color: var(--encounter-cream);
  box-shadow: 0 2px 10px rgba(47, 68, 102, 0.1);
}

/* Burgundy Navigation Theme */
.navbar-burgundy {
  background-color: var(--encounter-red) !important;
  box-shadow: 0 2px 10px rgba(137, 42, 37, 0.3);
}

.navbar-burgundy .navbar-brand-text {
  color: white !important;
}

.navbar-burgundy .navbar-brand-text small {
  color: var(--encounter-golden);
}

.navbar-burgundy .nav-link {
  color: white !important;
  font-weight: 500;
  transition: all 0.3s ease;
  padding: 0.8rem 1rem !important;
  text-transform: capitalize;
}

.navbar-burgundy .nav-link:hover,
.navbar-burgundy .nav-link:focus {
  color: var(--encounter-golden) !important;
}

.navbar-burgundy .nav-link.active {
  color: var(--encounter-golden) !important;
  border-bottom: 2px solid var(--encounter-golden);
}

/* Gold Separators */
.nav-separated .nav-item:not(:last-child) {
  position: relative;
}

.nav-separated .nav-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 20px;
  width: 1px;
  background-color: var(--encounter-golden);
  opacity: 0.5;
}

.navbar .nav-link {
  color: var(--encounter-navy);
  font-weight: 500;
  transition: color 0.3s ease;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus {
  color: var(--encounter-orange);
}

.navbar .nav-link.active {
  color: var(--encounter-red);
}

/*---------------------------------------
  BUTTON STYLES             
-----------------------------------------*/
.custom-btn {
  background-color: var(--encounter-golden);
  border: 2px solid var(--encounter-golden);
  color: var(--encounter-navy);
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.custom-btn:hover {
  background-color: var(--encounter-orange);
  border-color: var(--encounter-orange);
  color: var(--white-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(230, 158, 44, 0.3);
}

.custom-btn-primary {
  background-color: var(--encounter-red);
  border-color: var(--encounter-red);
  color: var(--white-color);
}

.custom-btn-primary:hover {
  background-color: #6d2220;
  border-color: #6d2220;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(137, 42, 37, 0.3);
}

.custom-border-btn {
  background-color: transparent;
  border: 2px solid var(--encounter-navy);
  color: var(--encounter-navy);
}

.custom-border-btn:hover {
  background-color: var(--encounter-navy);
  color: var(--white-color);
}

/*---------------------------------------
  SECTION BACKGROUNDS             
-----------------------------------------*/
.about-section {
  background-color: var(--white-color);
}

.section-bg-image {
  background: var(--encounter-navy);
  padding: 80px 0;
}

.section-bg {
  background-color: var(--encounter-cream);
}

/*---------------------------------------
  MEMBER/GROWER CARDS             
-----------------------------------------*/
.member-block {
  background-color: var(--white-color);
  border: 1px solid var(--encounter-border-light);
  border-radius: 15px;
  transition: all 0.3s ease;
  overflow: hidden;
}

.member-block:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(47, 68, 102, 0.15);
}

.member-block-info {
  background-color: var(--encounter-cream);
  color: var(--encounter-navy);
}

.member-block-info h4 {
  color: var(--encounter-red);
}

.member-block-info p {
  color: var(--encounter-navy);
  font-weight: 600;
}

/*---------------------------------------
  PRODUCT/EVENT CARDS             
-----------------------------------------*/
.custom-block {
  background-color: var(--white-color);
  border: 1px solid var(--encounter-border-light);
  border-radius: 20px;
  padding: 30px;
  transition: all 0.3s ease;
}

.custom-block:hover {
  box-shadow: 0 8px 25px rgba(47, 68, 102, 0.12);
  transform: translateY(-5px);
}

.custom-block-bg {
  background: var(--encounter-cream);
}

.custom-block-date-wrap {
  background-color: var(--encounter-red);
  border-radius: 15px;
  padding: 20px;
  text-align: center;
}

.custom-block-date {
  color: var(--white-color);
  font-size: 48px;
  font-weight: 700;
}

.custom-block-date-wrap strong {
  color: var(--encounter-cream);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.events-title {
  color: var(--encounter-navy);
  font-weight: 700;
  transition: color 0.3s ease;
}

.events-title:hover {
  color: var(--encounter-orange);
}

/*---------------------------------------
  ANIMATIONS FOR HERO SECTION             
-----------------------------------------*/
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/*---------------------------------------
  RESPONSIVE DESIGN FOR NEW HERO             
-----------------------------------------*/
@media screen and (max-width: 991px) {
  .hero-headline {
    font-size: 2.5rem;
    letter-spacing: 2px;
  }

  .hero-left-content {
    padding: 3rem 2rem;
    text-align: center;
  }

  .hero-accent-bar {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-supporting-text {
    max-width: 100%;
  }

  .carousel-container {
    justify-content: center;
  }

  .carousel-card {
    min-width: 250px;
    max-width: 280px;
  }

  .card-image {
    height: 250px;
  }
}

@media screen and (max-width: 767px) {
  .hero-section-new {
    min-height: auto;
    padding: 6rem 0;
  }

  .hero-headline {
    font-size: 2rem;
    letter-spacing: 1px;
  }

  .hero-supporting-text {
    font-size: 1rem;
  }

  .hero-cta-btn {
    padding: 0.9rem 2rem;
    font-size: 0.85rem;
  }

  .carousel-card {
    min-width: 220px;
    max-width: 250px;
  }

  .card-image {
    height: 200px;
  }

  .card-caption {
    font-size: 0.95rem;
    letter-spacing: 1px;
  }

  .carousel-btn {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .carousel-progress {
    width: 80px;
  }

  /* Navigation adjustments */
  .nav-separated .nav-item:not(:last-child)::after {
    display: none;
  }
}

@media screen and (max-width: 575px) {
  .hero-headline {
    font-size: 1.75rem;
  }

  .hero-left-content {
    padding: 2rem 1.5rem;
  }

  .carousel-card {
    min-width: 200px;
    max-width: 220px;
  }

  .card-frame {
    padding: 1rem;
  }

  .card-image {
    height: 180px;
  }
}

.custom-block-span {
  color: var(--encounter-red);
  font-weight: 600;
  margin-right: 10px;
}

/*---------------------------------------
  FORM STYLES             
-----------------------------------------*/
.membership-form,
.contact-form {
  background: var(--encounter-navy);
  border-radius: 20px;
  padding: 40px;
}

.membership-form h4,
.contact-form h2 {
  color: var(--white-color);
}

.form-control {
  border: 2px solid var(--encounter-border-light);
  border-radius: 10px;
  padding: 12px 20px;
  transition: all 0.3s ease;
}

.form-control:focus {
  border-color: var(--encounter-orange);
  box-shadow: 0 0 0 0.2rem rgba(230, 158, 44, 0.25);
}

.form-floating label {
  color: var(--encounter-text-secondary);
}

button[type="submit"].form-control {
  background-color: var(--encounter-golden);
  color: var(--encounter-navy);
  font-weight: 600;
  border: none;
  margin-top: 20px;
}

button[type="submit"].form-control:hover {
  background-color: var(--encounter-orange);
  color: var(--white-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(230, 158, 44, 0.4);
}

@media (max-width: 768px) {
  :root {
    --footer-title-size: 2.1rem;
    --footer-text-size: 1.65rem;
    --footer-contact-link-size: 1.45rem;
  }
}

@media (max-width: 480px) {
  :root {
    --footer-title-size: 1.8rem;
    --footer-text-size: 1.425rem;
    --footer-contact-link-size: 1.1rem;
  }
}

/*---------------------------------------
  FOOTER STYLES
-----------------------------------------*/
.site-footer {
  background-color: var(--encounter-coffee-light);
  color: #FFFFFF;
  padding-top: 80px;
  padding-bottom: 80px;
}

.site-footer .navbar-brand-text {
  color: var(--encounter-cream) !important;
  font-size: 2rem;
}

.site-footer .navbar-brand-text small {
  color: var(--encounter-orange);
  font-size: 1.2rem;
  display: block;
  margin-top: 5px;
}

.site-footer-title {
  color: #FFFFFF;
  font-weight: 700;
  font-size: var(--footer-title-size);
  margin-bottom: 2.25rem !important;
}

.footer-body-text {
  color: #FFFFFF;
  font-size: var(--footer-text-size);
  line-height: 2.7;
}

.footer-body-text strong {
  color: #FFFFFF;
}

.footer-label {
  color: #FFFFFF;
  font-size: var(--footer-text-size2);
  line-height: 2.7;
  margin-bottom: 0.375rem !important;
}

.footer-label strong {
  color: #FFFFFF;

}

.footer-social-links {
  margin-top: 2.25rem;
  line-height: 3;
  font-size: var(--footer-text-size);
}

.footer-social-link {
  color: #FFD700;
  text-decoration: none;
  font-weight: 500;
  display: inline-block;
  margin-bottom: 0.75rem;
  font-size: var(--footer-text-size);
  transition: color 0.3s ease;
}

.footer-social-link i {
  margin-right: 0.5rem;
  font-size: var(--footer-social-icon-size) !important;
}

.footer-social-link:hover {
  color: var(--encounter-orange);
}

.people-grid-section .container-fluid {
  max-width: 1800px;
}

.people-grid-section .row {
  --bs-gutter-x: 1.25rem;
}

.people-grid-section img {
  width: 100% !important;
}

.footer-contact-link {
  color: #FFD700;
  text-decoration: none;
  font-weight: 500;
  font-size: var(--footer-contact-link-size) !important;
  line-height: 1.25;
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
  transition: color 0.3s ease;
  display: inline-block;
}

.footer-contact-link:hover {
  color: var(--encounter-orange);
}

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.5rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.footer-legal-links a {
  color: #FFD700;
  font-size: var(--footer-legal-link-size) !important;
  font-weight: 500;
  text-decoration: none;
  word-break: normal;
}

.footer-legal-links a:hover {
  color: var(--encounter-orange);
}

.footer-bottom-row {
  border-top: 1px solid rgba(255,255,255,0.3);
  border-bottom: 1px solid rgba(255,255,255,0.3);
  padding-top: 3rem;
  margin-top: 3rem;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
}

.footer-logo {
  max-height: 2000px;
  margin-bottom: 1rem;
  filter: brightness(0) invert(1);
}

@media (max-width: 768px) {
  .footer-logo {
    display: block;
    width: min(82vw, 300px);
    max-width: 100%;
    height: auto;
    margin-left: auto;
    margin-right: auto;
    object-fit: contain;
  }
}

.footer-tagline {
  font-size: 2.4rem;
  color: #FFFFFF;
  font-style: italic;
  margin-bottom: 1rem;
}

.site-footer a {
  color: var(--encounter-cream);
  font-size: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
  word-break: break-all;
  overflow-wrap: break-word;
}

.site-footer a:hover {
  color: var(--encounter-orange);
}

.copyright-text {
  color: var(--encounter-cream-dark);
  font-size: 1.1rem !important;
  margin-top: 20px;
}

.site-footer p em {
  color: #FFFFFF;
  font-style: italic;
  font-size: 1.3rem;
}

/*---------------------------------------
  SOCIAL ICONS             
-----------------------------------------*/
.site-footer .social-icon {
  display: flex;
  gap: 15px;
}

.social-icon-link {
  background-color: var(--encounter-orange); /* High contrast pop */
  color: var(--white-color) !important;      /* White icon */
  border-radius: 50%;
  width: 55px; /* Larger hit target */
  height: 55px;
  font-size: 24px; /* Larger icon size */
  display: flex !important; /* Force flex to perfectly center */
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.social-icon-link:hover {
  background-color: var(--encounter-red);
  color: var(--white-color) !important;
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(230, 158, 44, 0.4);
}

/*---------------------------------------
  CONTACT INFO             
-----------------------------------------*/
.contact-info-item {
  background-color: var(--encounter-cream);
  border-radius: 15px;
  padding: 30px;
  border: 2px solid var(--encounter-border-light);
}

.contact-info-body strong {
  color: var(--encounter-red);
  font-size: 20px;
}

.contact-link {
  color: var(--encounter-navy);
  font-weight: 500;
}

.contact-link:hover {
  color: var(--encounter-orange);
}

/*---------------------------------------
  NEWSLETTER SECTION             
-----------------------------------------*/
.section-bg-image-block {
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 40px;
}

.section-bg-image-block h2 {
  color: var(--white-color);
}

.section-bg-image-block p {
  color: var(--encounter-cream);
}

/*---------------------------------------
  OFFCANVAS SIDEBAR             
-----------------------------------------*/
.offcanvas {
  background: var(--encounter-navy);
}

.offcanvas-title {
  color: var(--white-color);
  font-weight: 700;
}

.offcanvas p {
  color: var(--encounter-cream);
}

.offcanvas .btn-close {
  filter: brightness(0) invert(1);
}

/*---------------------------------------
  ACCENT ELEMENTS             
-----------------------------------------*/
.bi-check-circle-fill {
  color: var(--encounter-success);
}

.bi-geo-alt-fill {
  color: var(--encounter-red);
}

/* SVG Wave Colors */
svg path[fill="#81B29A"] {
  fill: var(--encounter-red) !important;
}

svg path[fill="#3D405B"] {
  fill: var(--encounter-navy) !important;
}

/*---------------------------------------
  RESPONSIVE ADJUSTMENTS             
-----------------------------------------*/
@media screen and (max-width: 991px) {
  .member-block {
    margin-bottom: 30px;
  }
  
  .custom-block {
    margin-bottom: 30px;
  }
}

@media screen and (max-width: 768px) {
  .hero-section h1 {
    font-size: 32px;
  }
  
  .hero-section h2 {
    font-size: 24px;
  }
}

/*---------------------------------------
  ACCESSIBILITY             
-----------------------------------------*/
.skip-to-content {
  background-color: var(--encounter-orange);
  color: var(--white-color);
  padding: 10px 20px;
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  transition: top 0.3s ease;
  z-index: 9999;
  border-radius: 5px;
}

.skip-to-content:focus {
  top: 10px;
}

/* High contrast mode adjustments */
@media (prefers-contrast: high) {
  .custom-btn {
    border-width: 3px;
  }
  
  .form-control {
    border-width: 3px;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .semicircle-container,
  .value-list {
    transform: none !important;
  }
}

/*---------------------------------------
  BRAND STATEMENT SECTION             
-----------------------------------------*/
.brand-statement-section {
  background-color: var(--terracotta-red);
  padding: 8rem 0;
  position: relative;
  overflow: hidden;
}

/* Left Panel */
.brand-left-panel {
  position: relative;
  padding: 4rem 3rem;
  z-index: 2;
}

.brand-content-wrapper {
  position: relative;
  max-width: 600px;
}

/* Brand Micro Header */
.brand-micro-header {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 3rem;
}

.brand-icon {
  color: var(--encounter-cream);
}

.brand-wordmark {
  color: var(--encounter-cream);
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  letter-spacing: 3px;
  font-weight: 500;
}

/* Decorative Circle */
.decorative-circle {
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background-color: var(--encounter-cream);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  opacity: 0.95;
}

/* Decorative Lines */
.decorative-line {
  position: absolute;
  height: 2px;
  background-color: var(--encounter-red);
  width: 200px;
  z-index: 0;
}

.decorative-line.top {
  top: 20%;
  left: -10%;
}

.decorative-line.bottom {
  bottom: 20%;
  left: -10%;
}

.line-dot {
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--encounter-red);
}

/* Brand Headline */
.brand-headline {
  position: relative;
  z-index: 2;
  font-family: 'Playfair Display', serif;
  font-size: 5rem;
  font-weight: 700;
  color: var(--encounter-red);
  letter-spacing: 2px;
  margin-bottom: 3rem;
  text-align: center;
}

/* Brand Manifesto */
.brand-manifesto {
  position: relative;
  z-index: 2;
  margin-bottom: 3rem;
}

.brand-manifesto p {
  color: var(--encounter-cream);
  font-size: 1.2rem;
  line-height: 1.8;
  margin-bottom: 0.5rem;
}

.brand-manifesto .emphasized {
  font-weight: 700;
  color: var(--encounter-cream);
}

/* Brand CTA Button */
.brand-cta-btn {
  position: relative;
  z-index: 2;
  background-color: var(--encounter-red);
  color: white;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border: none;
  box-shadow: 0 4px 15px rgba(137, 42, 37, 0.4);
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.brand-cta-btn:hover {
  background-color: #6d1f1b;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(137, 42, 37, 0.6);
  color: white;
}

/* Right Panel - Interactive Clock Visual */
.brand-right-panel {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
}

.interactive-visual-wrapper {
  position: relative;
  width: 100%;
  max-width: 500px;
  height: 500px;
}

/* Clock Container */
.clock-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Circle Track */
.circle-track {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
  height: 400px;
  transition: transform 0.3s ease-out;
}

.circle-graphic {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.1));
}

/* Cursor glow - follows mouse with smooth radial gradient */
.clock-hand {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 200px;
  height: 200px;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 5;
  opacity: 0;
  transition: opacity 0.3s ease;
  background: radial-gradient(
    circle,
    rgba(137, 42, 37, 0.15) 0%,
    rgba(137, 42, 37, 0.08) 30%,
    transparent 70%
  );
  filter: blur(20px);
}

/* Keep these for backward compatibility but hide them */
.hand-line,
.hand-center {
  display: none;
}

/* Value Items positioned like clock hours */
.value-item.clock-position {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.8rem 1.2rem;
  background: rgba(251, 246, 224, 0.08);
  backdrop-filter: blur(10px);
  border-radius: 30px;
  transform-origin: center center;
  white-space: nowrap;
  cursor: pointer;
  opacity: 0.6;
  will-change: transform;
  z-index: 3;
}

/* JavaScript will handle positioning dynamically */

.value-item .bullet {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
  background-color: rgba(251, 246, 224, 0.5);
  transition: all 0.3s ease;
}

.value-item .value-text {
  font-size: 1rem;
  line-height: 1.4;
  color: rgba(251, 246, 224, 0.7);
  font-weight: 500;
  transition: all 0.3s ease;
}

/* Highlighted state - medium proximity */
.value-item.clock-position.highlighted {
  opacity: 0.9;
  background: rgba(221, 193, 101, 0.12);
}

.value-item.clock-position.highlighted .bullet {
  width: 14px;
  height: 14px;
  background: #DDC165;
  box-shadow: 0 0 20px rgba(221, 193, 101, 0.6);
}

.value-item.clock-position.highlighted .value-text {
  color: rgba(251, 246, 224, 0.95);
}

/* Active state - close proximity (magnetic pull) */
.value-item.clock-position.active {
  opacity: 1;
  background: rgba(137, 42, 37, 0.3);
}

.value-item.clock-position.active .bullet {
  width: 18px;
  height: 18px;
  background: #892A25;
  box-shadow: 0 0 30px rgba(137, 42, 37, 0.9),
              0 0 60px rgba(137, 42, 37, 0.4);
  animation: pulse-glow 1.5s ease-in-out infinite;
}

.value-item.clock-position.active .value-text {
  color: #FBF6E0;
  font-weight: 600;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 0 30px rgba(137, 42, 37, 0.9),
                0 0 60px rgba(137, 42, 37, 0.4);
  }
  50% {
    box-shadow: 0 0 40px rgba(137, 42, 37, 1),
                0 0 80px rgba(137, 42, 37, 0.6);
  }
}

/* Highlighted state (when clock hand passes over) */
.value-item.highlighted {
  background: rgba(251, 246, 224, 0.25);
  transform-origin: center center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.value-item.highlighted .bullet {
  background-color: var(--accent-blue);
  box-shadow: 0 0 15px rgba(91, 143, 163, 0.8);
  transform: scale(1.3);
}

.value-item.highlighted .value-text {
  color: var(--encounter-cream);
  font-weight: 700;
  transform: translateX(5px);
}

/* Active state (currently under clock hand) */
.value-item.active {
  background: rgba(137, 42, 37, 0.3);
  transform-origin: center center;
  box-shadow: 0 8px 30px rgba(137, 42, 37, 0.5);
  z-index: 5;
}

.value-item.active .bullet {
  background-color: var(--encounter-red);
  box-shadow: 0 0 20px rgba(137, 42, 37, 1);
  transform: scale(1.5);
}

.value-item.active .value-text {
  color: var(--encounter-cream);
  font-weight: 700;
  font-size: 1.1rem;
  transform: translateX(8px);
}

/* Hover effect */
.value-item.clock-position:hover {
  background: rgba(251, 246, 224, 0.3);
  transform-origin: center center;
}

.value-item.clock-position:hover .value-text {
  color: var(--encounter-cream);
}

/*---------------------------------------
  BRAND STATEMENT RESPONSIVE             
-----------------------------------------*/
@media screen and (max-width: 991px) {
  .brand-statement-section {
    padding: 5rem 0;
  }

  .brand-headline {
    font-size: 3.5rem;
  }

  .circle-track {
    width: 350px;
    height: 350px;
  }

  .clock-hand {
    width: 150px;
  }

  .value-item.clock-position[data-angle="30"] {
    transform: translate(-50%, -50%) rotate(30deg) translateX(150px) rotate(-30deg);
  }

  .value-item.clock-position[data-angle="90"] {
    transform: translate(-50%, -50%) rotate(90deg) translateX(150px) rotate(-90deg);
  }

  .value-item.clock-position[data-angle="150"] {
    transform: translate(-50%, -50%) rotate(150deg) translateX(150px) rotate(-150deg);
  }

  .value-item.clock-position[data-angle="210"] {
    transform: translate(-50%, -50%) rotate(210deg) translateX(150px) rotate(-210deg);
  }

  .value-item.clock-position[data-angle="270"] {
    transform: translate(-50%, -50%) rotate(270deg) translateX(150px) rotate(-270deg);
  }

  .value-item.clock-position[data-angle="330"] {
    transform: translate(-50%, -50%) rotate(330deg) translateX(150px) rotate(-330deg);
  }
}

@media screen and (max-width: 767px) {
  .brand-statement-section {
    padding: 4rem 0;
  }

  .brand-left-panel,
  .brand-right-panel {
    padding: 2rem 1.5rem;
  }

  .brand-headline {
    font-size: 2.5rem;
  }

  .decorative-circle {
    width: 250px;
    height: 250px;
  }

  .brand-manifesto p {
    font-size: 1rem;
  }

  .interactive-visual-wrapper {
    height: 400px;
  }

  .circle-track {
    width: 300px;
    height: 300px;
  }

  .clock-hand {
    width: 120px;
  }

  .value-item.clock-position {
    font-size: 0.9rem;
    padding: 0.6rem 1rem;
  }

  .value-item.clock-position[data-angle="30"] {
    transform: translate(-50%, -50%) rotate(30deg) translateX(120px) rotate(-30deg);
  }

  .value-item.clock-position[data-angle="90"] {
    transform: translate(-50%, -50%) rotate(90deg) translateX(120px) rotate(-90deg);
  }

  .value-item.clock-position[data-angle="150"] {
    transform: translate(-50%, -50%) rotate(150deg) translateX(120px) rotate(-150deg);
  }

  .value-item.clock-position[data-angle="210"] {
    transform: translate(-50%, -50%) rotate(210deg) translateX(120px) rotate(-210deg);
  }

  .value-item.clock-position[data-angle="270"] {
    transform: translate(-50%, -50%) rotate(270deg) translateX(120px) rotate(-270deg);
  }

  .value-item.clock-position[data-angle="330"] {
    transform: translate(-50%, -50%) rotate(330deg) translateX(120px) rotate(-330deg);
  }

  .value-item .value-text {
    font-size: 0.9rem;
  }
}

@media screen and (max-width: 575px) {
  .brand-headline {
    font-size: 2rem;
  }

  .decorative-circle {
    width: 200px;
    height: 200px;
  }

  .circle-track {
    width: 250px;
    height: 250px;
  }

  .clock-hand {
    width: 100px;
  }

  .value-item.clock-position {
    font-size: 0.85rem;
    padding: 0.5rem 0.8rem;
  }

  .value-item.clock-position[data-angle="30"] {
    transform: translate(-50%, -50%) rotate(30deg) translateX(100px) rotate(-30deg);
  }

  .value-item.clock-position[data-angle="90"] {
    transform: translate(-50%, -50%) rotate(90deg) translateX(100px) rotate(-90deg);
  }

  .value-item.clock-position[data-angle="150"] {
    transform: translate(-50%, -50%) rotate(150deg) translateX(100px) rotate(-150deg);
  }

  .value-item.clock-position[data-angle="210"] {
    transform: translate(-50%, -50%) rotate(210deg) translateX(100px) rotate(-210deg);
  }

  .value-item.clock-position[data-angle="270"] {
    transform: translate(-50%, -50%) rotate(270deg) translateX(100px) rotate(-270deg);
  }

  .value-item.clock-position[data-angle="330"] {
    transform: translate(-50%, -50%) rotate(330deg) translateX(100px) rotate(-330deg);
  }
}

/* ==============================================
   NEW ENCOUNTER HERO SECTION
============================================== */
.encounter-hero-section {
    min-height: 100vh;
    position: relative;
    background-color: #8D3F3B;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-scene {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 2s ease-in-out;
    pointer-events: none;
    z-index: 0;
}

.hero-scene.active {
    opacity: 1;
    pointer-events: auto;
    z-index: 1;
}

.hero-bg-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.encounter-hero-section .hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0;
    transition: opacity 2s ease-in-out;
    z-index: 0;
}

.encounter-hero-section .hero-bg-image.active {
    opacity: 1;
    z-index: 1;
}

.hero-bg-image-static {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
}

.encounter-hero-overlay {
    display: none;
}

.encounter-left-panel {
    position: absolute;
    left: 0;
    top: 8%;
    bottom: 8%;
    width: 40px;
    background: #892A25;
    border-radius: 0 20px 20px 0;
    z-index: 2;
}

.encounter-left-panel-image {
    position: absolute;
    left: 0;
    top: 8%;
    bottom: 8%;
    width: auto;
    height: 84%;
    object-fit: contain;
    z-index: 2;
}

.encounter-hero-content {
    position: relative;
    z-index: 2;
    padding: 3rem 2rem 3rem 4rem;
    transition: opacity 2s ease-in-out;
}

/* Hide hero content when Scene 2 is active */
.hero-scene[data-scene="2"].active ~ .container-fluid .encounter-hero-content {
    opacity: 0;
    pointer-events: none;
}

/* Show hero content when Scene 1 is active */
.hero-scene[data-scene="1"].active ~ .container-fluid .encounter-hero-content {
    opacity: 1;
    pointer-events: auto;
}

.encounter-flourish {
    color: #DDC165;
    margin-bottom: 1.5rem;
    opacity: 0.7;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.encounter-hero-title {
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-weight: 700;
    color: #FBF6E0;
    line-height: 1;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    margin-bottom: 2rem;
    position: relative;
}

.encounter-hero-title-img {
    max-width: 100%;
    width: clamp(360px, 55vw, 900px);
    height: auto;
    margin: 4rem auto 2rem;
    display: block;
}

.encounter-emphasized {
    position: relative;
    display: inline-block;
}

.encounter-hero-subtitle {
    font-size: clamp(0.95rem, 1.8vw, 1.1rem);
    color: rgba(251, 246, 224, 0.85);
    margin-bottom: 2.5rem;
    max-width: 480px;
    line-height: 1.5;
    font-style: italic;
}

/* Light Theme Overrides (For white/light backgrounds) */
.hero-light-theme .encounter-hero-subtitle {
    color: #3D405B;
    font-weight: 500;
}

.hero-light-theme .encounter-flourish {
    color: #892A25;
    opacity: 0.9;
}

.hero-light-theme .encounter-barista-icon {
    color: #892A25;
    opacity: 0.6;
}

.hero-light-theme .encounter-hero-title {
    color: #3D405B;
}

/* If the panel images are white text, make them dark on the light theme */
.hero-light-theme .encounter-left-panel-image {
    filter: brightness(20%) sepia(20%) hue-rotate(320deg) contrast(150%); 
}

.encounter-lightbulb-icon {
    position: absolute;
    left: -20px;
    top: 15%;
    color: #DDC165;
    font-size: 2rem;
    opacity: 0.4;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.4; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.1); }
}

.encounter-cta-btn {
    background: #892A25;
    color: #FBF6E0;
    padding: 1.5rem 3.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.25rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.encounter-cta-btn i {
    font-size: 1.2rem;
}

.encounter-cta-btn:hover {
    background: #6B1F1A;
    color: #FBF6E0;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(137, 42, 37, 0.5);
}

.encounter-barista-icon {
    position: absolute;
    bottom: 10%;
    right: 5%;
    color: #DDC165;
    opacity: 0.25;
    z-index: 1;
}

.encounter-hero-image-container {
    position: relative;
    height: 100%;
    min-height: 600px;
    background-image: url('../images/hero-card-1.jpg');
    background-size: cover;
    background-position: center;
    z-index: 2;
    border-radius: 20px 0 0 20px;
    margin-left: 2rem;
}

.encounter-floating-btn {
    position: fixed;
    right: 25px;
    bottom: 30px;
    width: clamp(80px, 12vw, 120px);
    height: clamp(65px, 9vw, 70px);
    border-radius: clamp(30px, 6vw, 35px);
    background: var(--floating-btn-bg);
    color: #FBF6E0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(1.8rem, 4vw, 2.2rem);
    box-shadow: 0 6px 20px rgba(124, 9, 15, 0.6);
    transition: all 0.3s ease;
    z-index: 99999;
}

.encounter-floating-btn:hover {
    background: #FBF6E0;
    color: #7C090F;
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(124, 9, 15, 0.8);
}

/* WhatsApp Floating Button */
.encounter-whatsapp-btn {
    position: fixed;
    right: 25px;
    bottom: 115px;
    width: clamp(80px, 12vw, 120px);
    height: clamp(65px, 9vw, 70px);
    border-radius: clamp(30px, 6vw, 35px);
    background: #25D366;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(1.8rem, 4vw, 2.2rem);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
    transition: all 0.3s ease;
    z-index: 99998;
    text-decoration: none;
}

.encounter-whatsapp-btn:hover {
    background: #20BA58;
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.8);
    text-decoration: none;
}

.encounter-section-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50px;
    background: #892A25;
    z-index: 1;
}

/* ==============================================
   FEATURED ITEMS SECTION
============================================== */
.featured-items-section {
    background: #8D3F3B;
    padding: 100px 0;
    position: relative;
}

.ornate-border-top {
    color: #DDC165;
    opacity: 0.6;
    margin-bottom: 3rem;
}

.featured-card {
    background: transparent;
    padding: 0;
    border-radius: 0;
    backdrop-filter: none;
    transition: all 0.3s ease;
}

.featured-card:hover {
    transform: translateY(-10px);
    background: transparent;
}

.featured-card-frame-wrapper {
    position: relative;
    margin-bottom: 2rem;
    aspect-ratio: 1/1;
}

.featured-card-frame-wrapper .decorative-frame {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.featured-card-frame-wrapper .featured-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
}

.featured-card-text {
    color: #FBF6E0;
    font-size: 1.15rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.featured-item-btn {
    background: #FBF6E0;
    color: #892A25;
    padding: 1.25rem 3rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    font-family: 'Times New Roman', serif;
    border: none;
    transition: all 0.3s ease;
    width: 100%;
}

.featured-item-btn:hover {
    background: #DDC165;
    color: #892A25;
    transform: translateY(-2px);
}

/* ==============================================
   TESTIMONIALS AND MEDIA SECTION
============================================== */
.testimonials-media-section {
    background: #8D3F3B;
    padding: 100px 0;
}

.testimonials-list {
    padding: 2rem;
}

.testimonial-item {
    margin-bottom: 2rem;
}

.testimonial-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(251, 246, 224, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    color: #FBF6E0;
    font-size: 2rem;
}

.testimonial-info {
    flex: 1;
}

.testimonial-name {
    color: #FBF6E0;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.testimonial-rating {
    color: #DDC165;
    font-size: 0.9rem;
}

.testimonial-rating i {
    margin-right: 2px;
}

.testimonial-text {
    color: white;
    font-size: 1.15rem;
    line-height: 1.6;
    margin-left: 66px;
}

.testimonial-divider {
    height: 1px;
    background: rgba(251, 246, 224, 0.2);
    margin: 2rem 0;
}

.media-images-wrapper {
    position: relative;
    overflow: hidden;
}

.media-vertical-pill {
    position: absolute;
    left: -30px;
    top: 10%;
    bottom: 10%;
    width: 50px;
    background: rgba(137, 42, 37, 0.8);
    border-radius: 25px;
}

.media-images-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 2rem;
    align-items: center;
}

.media-image-block {
    position: relative;
}

.media-image-block img,
.media-image-block video {
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
}

.media-caption-card {
    background: rgba(251, 246, 224, 0.95);
    padding: 1rem;
    border-radius: 10px;
    margin-top: 1rem;
}

.caption-name {
    font-weight: 600;
    color: #892A25;
    font-size: 0.9rem;
}

.caption-rating {
    color: #DDC165;
    font-size: 0.8rem;
}

.caption-text {
    color: #2F4466;
    font-size: 0.85rem;
    line-height: 1.4;
    margin-bottom: 0;
}

.media-arrow {
    color: #FBF6E0;
    font-size: 2rem;
    text-align: center;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .encounter-left-panel {
        width: 25px;
    }
    
    .encounter-hero-content {
        padding: 2rem 1.5rem 2rem 3rem;
    }
    
    .encounter-barista-icon {
        display: none;
    }
    
    .encounter-hero-image-container {
        min-height: 400px;
        margin-left: 0;
        border-radius: 15px;
        margin-top: 2rem;
    }
    
    .encounter-floating-btn {
        right: 15px;
        bottom: 20px;
        width: var(--floating-btn-width-mobile);
        height: var(--floating-btn-height-mobile);
        border-radius: var(--floating-btn-radius-mobile);
        font-size: 1.8rem;
    }

    .encounter-whatsapp-btn {
        right: 15px;
        bottom: 95px;
        width: var(--floating-btn-width-mobile);
        height: var(--floating-btn-height-mobile);
        border-radius: var(--floating-btn-radius-mobile);
        font-size: 1.8rem;
    }
    
    .media-vertical-pill {
        display: none;
    }
    
    .media-images-grid {
        grid-template-columns: 1fr;
    }
    
    .media-arrow {
        transform: rotate(90deg);
        margin: 1rem 0;
    }
}

@media (max-width: 768px) {
    .encounter-hero-section {
        min-height: 90vh;
    }
    
    .encounter-left-panel {
        display: none;
    }
    
    .encounter-hero-content {
        padding: 2rem 1rem;
    }

    .encounter-hero-title-img {
        width: min(82vw, 480px);
        max-width: 82vw;
        margin: 10rem auto 2rem !important;
        position: relative;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .encounter-lightbulb-icon {
        font-size: 1.5rem;
        left: -10px;
    }
    
    .encounter-hero-image-container {
        min-height: 300px;
    }
    
    .featured-items-section,
    .testimonials-media-section {
        padding: 60px 0;
    }
}

/* What we do page title */
.encounter-hero-floating-title {
    position: absolute;
    top: 180px; /* Adjusted to be clearly below the navbar */
    left: 0;
    width: 100%;
    text-align: left;
    z-index: 999;
    padding: 0 4rem;
}

.encounter-hero-floating-title h2 {
    color: var(--encounter-cream, #FBF6E0);
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-family: 'Playfair Display', serif; /* Correct brand serif font */
    font-weight: 700;
    margin: 0;
    letter-spacing: 0.05em;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.4);
}

/* ==============================================
   BLUE THEME OVERRIDES (For 'What we do' Page)
============================================== */
body.theme-blue .navbar-burgundy {
    background-color: var(--encounter-navy) !important;
    box-shadow: 0 2px 10px rgba(47, 68, 102, 0.3);
}

body.theme-blue .encounter-hero-section {
    background-color: #2F4466; /* Main Navy Background */
}

body.theme-blue .encounter-left-panel {
    background: #1E2D44; /* Darker Navy for panel depth */
}

/* Light Theme Text & SVG Overrides */
body.theme-blue .hero-light-theme .encounter-hero-subtitle {
    color: var(--encounter-navy);
    font-weight: 500;
}

body.theme-blue .hero-light-theme .encounter-hero-title-img,
body.theme-blue .hero-light-theme .encounter-left-panel-image {
    /* Keep original white color for the images */
    filter: none;
}

body.theme-blue .hero-light-theme .encounter-flourish,
body.theme-blue .hero-light-theme .encounter-barista-icon {
    color: var(--encounter-navy);
}

body.theme-blue .encounter-cta-btn {
    background: var(--encounter-navy);
}

body.theme-blue .encounter-cta-btn:hover {
    background: #1E2D44;
    box-shadow: 0 8px 30px rgba(47, 68, 102, 0.8);
}

body.theme-blue .encounter-floating-btn {
    background: var(--encounter-navy);
}

body.theme-blue .encounter-floating-btn:hover {
    color: var(--encounter-navy);
    box-shadow: 0 8px 30px rgba(47, 68, 102, 0.8);
}

body.theme-blue .encounter-section-divider {
    background: var(--encounter-navy);
}

body.theme-blue .featured-items-section,
body.theme-blue .testimonials-media-section {
    background: #2F4466;
}

body.theme-blue .featured-item-btn {
    color: var(--encounter-navy);
}

body.theme-blue .featured-item-btn:hover {
    color: var(--encounter-navy);
    transform: translateY(-2px);
}

body.theme-blue .media-vertical-pill,
body.theme-blue .ornate-border-top {
    color: var(--encounter-navy);
    background: var(--encounter-navy);
}

body.theme-blue .ornate-border-top {
    background: transparent;
}

body.theme-blue .caption-name,
body.theme-blue .testimonial-name {
    color: var(--encounter-navy);
}

/* Footer overrides */
body.theme-blue .site-footer {
    background-color: var(--encounter-navy);
}

body.theme-blue .site-footer svg path {
    fill: #1E2D44; /* A darker navy for the wavy bottom, if desired, or match background */
}

/* Ensure hero text stays visible on Scene 2 in theme-blue */
body.theme-blue .hero-scene[data-scene="2"].active ~ .container-fluid .encounter-hero-content {
    opacity: 1 !important;
    pointer-events: auto !important;
}

/*---------------------------------------
  COUNTRY SELECTOR MODAL STYLES
-----------------------------------------*/
#countrySelectorModal {
    z-index: 105050 !important;
    background-color: rgba(0, 0, 0, 0.7) !important;
}

#countrySelectorModal .modal-content {
    border: none;
    border-radius: 12px;
    background: var(--encounter-cream);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

#countrySelectorModal .modal-header {
    background: linear-gradient(135deg, var(--encounter-red) 0%, var(--encounter-coffee-light) 100%);
    border-radius: 12px 12px 0 0;
}

#countrySelectorModal .modal-title {
    color: white;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

#countrySelectorModal .modal-body {
    padding: 2rem 1.5rem;
}

#countrySelectorModal .modal-body p {
    font-size: 16px;
    color: var(--encounter-navy);
    font-weight: 500;
}

.country-btn {
    display: block;
    background: white;
    border: 2px solid var(--encounter-red);
    border-radius: 10px;
    padding: 2rem 1.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    color: var(--encounter-navy);
    text-decoration: none;
}

.country-btn:hover {
    background: var(--encounter-red);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(124, 9, 15, 0.3);
}

.country-btn .flag-emoji {
    font-size: 48px;
    display: block;
    margin-bottom: 0.75rem;
}

.country-btn .country-name {
    font-size: 18px;
    font-weight: 700;
    display: block;
    margin-bottom: 0.25rem;
}

.country-btn .language-text {
    font-size: 14px;
    color: var(--encounter-text-secondary);
    display: block;
}

.country-btn:hover .language-text {
    color: rgba(255, 255, 255, 0.8);
}

/*---------------------------------------
  FLOATING BANNERS (CTA & MESSAGES)
-----------------------------------------*/
.floating-cta-banner,
.floating-messages-banner {
    width: 100%;
    padding: 2rem;
    background: white;
    text-align: center;
    position: relative;
    z-index: 10;
    margin-bottom: 2rem;
}

.floating-cta-banner p,
.floating-messages-banner p {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--encounter-navy);
    line-height: 1.6;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInOut 5s ease-in-out infinite;
}

@keyframes fadeInOut {
    0% {
        opacity: 0;
    }
    15% {
        opacity: 1;
    }
    85% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

@media (max-width: 768px) {
    .floating-cta-banner,
    .floating-messages-banner {
        padding: 1.5rem;
    }

    .floating-cta-banner p,
    .floating-messages-banner p {
        font-size: 1rem;
    }
}
