/* Design System & Variables */
:root {
  --primary-green: #0d2c1e;
  --primary-green-hover: #164630;
  --accent-gold: #c5a880;
  --accent-gold-dark: #b29267;
  --bg-cream: #faf8f5;
  --text-dark: #121815;
  --text-muted: #5e6662;
  --card-shadow: 0 15px 35px rgba(13, 44, 30, 0.06);
}

/* Global Reset & Typography */
body {
  font-family: 'Outfit', sans-serif;
  background-color: var(--bg-cream);
  color: var(--text-dark);
  overflow-x: hidden;
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  color: var(--primary-green);
}

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

.bg-cream {
  background-color: var(--bg-cream);
}

.bg-primary-green {
  background-color: var(--primary-green);
}

/* Navbar Custom Styling */
.navbar {
  background-color: var(--bg-cream) !important;
  padding: 0;
  transition: all 0.3s ease;
      border-bottom: 1px solid #ddd;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.navbar-brand img {
  width: 100px;
}
.brand-title {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.5px;
  color: var(--primary-green);
  text-transform: uppercase;
}

.brand-subtitle {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 1px;
  color: var(--text-muted);
  text-transform: uppercase;
  display: block;
}

.nav-link {
  color: var(--text-dark) !important;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.5rem 1rem !important;
  position: relative;
  transition: color 0.3s ease;
}

.nav-link:hover, .nav-link.active {
  color: var(--accent-gold-dark) !important;
}

/* Nav Link Underline Effect */
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 1rem;
  right: 1rem;
  height: 2px;
  background-color: var(--accent-gold-dark);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.nav-link.active::after, .nav-link:hover::after {
  transform: scaleX(1);
}

/* Custom Buttons */
.btn-primary-green {
  background-color: var(--primary-green);
  color: #ffffff;
  font-weight: 600;
  padding: 0.75rem 2rem;
  border-radius: 50px;
  border: 1px solid var(--primary-green);
  transition: all 0.3s ease;
}

.btn-primary-green:hover {
  background-color: var(--primary-green-hover);
  border-color: var(--primary-green-hover);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(13, 44, 30, 0.2);
}

.btn-watch-video {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--primary-green);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-watch-video i {
  font-size: 2rem;
  color: var(--primary-green);
  transition: transform 0.3s ease, color 0.3s ease;
}

.btn-watch-video:hover {
  color: var(--accent-gold-dark);
}

.btn-watch-video:hover i {
  transform: scale(1.1);
  color: var(--accent-gold-dark);
}

/* Hero Section (Carousel) */
.hero-carousel {
  position: relative;
  min-height: 80vh;
  background-color: var(--bg-cream);
  overflow: hidden;
}

.hero-carousel .carousel-inner {
  height: 80vh;
  min-height: 600px;
}

.hero-carousel .carousel-item {
  height: 100%;
  position: relative;
}

.hero-slide-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center right;
  z-index: 1;
}

.hero-slide-1 {
  background-image: linear-gradient(90deg, rgba(250, 248, 245, 0.95) 20%, rgba(250, 248, 245, 0.75) 50%, rgba(250, 248, 245, 0.1) 100%), url('images/hero_bg.png');
}

.hero-slide-2 {
  background-image: linear-gradient(90deg, rgba(250, 248, 245, 0.95) 20%, rgba(250, 248, 245, 0.75) 50%, rgba(250, 248, 245, 0.1) 100%), url('images/about_warehouse.png');
}

.hero-slide-3 {
  background-image: linear-gradient(90deg, rgba(250, 248, 245, 0.95) 20%, rgba(250, 248, 245, 0.75) 50%, rgba(250, 248, 245, 0.1) 100%), url('images/virginia_tobacco.png');
}

.hero-title {
  font-size: 3.5rem;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  font-weight: 800;
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 500px;
  margin-bottom: 2.5rem;
}

/* Staggered Entrance Animations for Active Slide Items */
.carousel-item .hero-title {
  opacity: 0;
  transform: translateY(40px);
  transition: none;
}

.carousel-item .hero-desc {
  opacity: 0;
  transform: translateY(30px);
  transition: none;
}

.carousel-item .hero-buttons-container {
  opacity: 0;
  transform: scale(0.95);
  transition: none;
}

.carousel-item.active .hero-title {
  animation: slideUpFade 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.3s;
}

.carousel-item.active .hero-desc {
  animation: slideUpFade 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.5s;
}

.carousel-item.active .hero-buttons-container {
  animation: scaleInFade 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.7s;
}

/* Ken Burns (Zoom) Effect on Active Slide Background */
.carousel-item.active .hero-slide-bg {
  animation: kenBurns 6s ease-out forwards;
}

/* Keyframe Definitions */
@keyframes slideUpFade {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scaleInFade {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes kenBurns {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.08);
  }
}

/* Custom Carousel Controls */
.carousel-indicators [data-bs-target] {
  background-color: var(--accent-gold-dark);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin: 0 6px;
  opacity: 0.5;
  transition: all 0.3s ease;
}

.carousel-indicators .active {
  background-color: var(--primary-green);
  width: 24px;
  border-radius: 5px;
  opacity: 1;
}

.carousel-control-prev,
.carousel-control-next {
  width: 5%;
  z-index: 12;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: rgba(13, 44, 30, 0.7);
  padding: 1.5rem;
  border-radius: 50%;
  background-size: 40%;
  transition: all 0.3s ease;
}

.carousel-control-prev-icon:hover,
.carousel-control-next-icon:hover {
  background-color: var(--primary-green);
}

/* Floating Card Container */
.floating-container {
  margin-top: -6rem;
  position: relative;
  z-index: 10;
}

/* Features Block */
.features-card {
  background-color: #ffffff;
  border-radius: 20px 20px 0 0;
  box-shadow: var(--card-shadow);
  padding: 3rem 2.5rem;
  border: none;
}

.feature-item {
  text-align: center;
  padding: 0 1rem;
  position: relative;
}

.feature-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background-color: #eee;
}

.feature-icon-wrapper {
  font-size: 2.5rem;
  color: var(--accent-gold);
  margin-bottom: 1.25rem;
  transition: transform 0.3s ease;
}

.feature-item:hover .feature-icon-wrapper {
  transform: translateY(-5px);
}

.feature-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.feature-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 0;
}

/* Stats Block */
.stats-bar {
  background-color: var(--primary-green);
  border-radius: 0 0 20px 20px;
  padding: 2rem 2.5rem;
  color: #ffffff;
}

.stat-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  height: 60%;
  width: 1px;
  background-color: rgba(255, 255, 255, 0.15);
}

.stat-icon {
  font-size: 2.2rem;
  color: var(--accent-gold);
}

.stat-number {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  color: #ffffff;
}

.stat-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 400;
  margin-bottom: 0;
  line-height: 1.2;
}

/* Section Common Styling */
.section-padding {
  padding: 7rem 0;
}

.section-subtitle {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--accent-gold-dark);
  text-transform: uppercase;
  margin-bottom: 1rem;
  display: inline-block;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

/* About Us Section Custom Fade Image */
.about-image-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}

.about-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  mask-image: linear-gradient(to left, rgba(0,0,0,1) 75%, rgba(0,0,0,0) 100%);
  -webkit-mask-image: linear-gradient(to left, rgba(0,0,0,1) 75%, rgba(0,0,0,0) 100%);
}

/* Products Section */
.products-title-wrapper {
  position: relative;
  margin-bottom: 3.5rem;
}

.products-title-wrapper::after {
  content: '';
  display: block;
  width: 80px;
  height: 3px;
  background-color: var(--accent-gold);
  margin: 1rem auto 0 auto;
}

.product-card {
  border: none;
  background-color: transparent;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: all 0.3s ease;
}

.product-img-container {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  position: relative;
}

.product-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover img {
  transform: scale(1.08);
}

.product-card-footer {
  background-color: var(--primary-green);
  color: #ffffff;
  text-align: center;
  padding: 1rem;
  font-weight: 600;
  font-size: 1.05rem;
  transition: background-color 0.3s ease;
}

.product-card:hover .product-card-footer {
  background-color: var(--primary-green-hover);
  color: var(--accent-gold);
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
  .hero-carousel,
  .hero-carousel .carousel-inner,
  .hero-carousel .carousel-item {
    height: auto;
    min-height: auto;
  }

  .hero-carousel .carousel-item {
    padding-top: 5rem;
    padding-bottom: 9rem;
    text-align: center;
  }

  .hero-slide-bg {
    background-position: center;
  }

  .hero-slide-1 {
    background-image: linear-gradient(180deg, rgba(250, 248, 245, 0.95) 40%, rgba(250, 248, 245, 0.8) 100%), url('images/hero_bg.png');
  }

  .hero-slide-2 {
    background-image: linear-gradient(180deg, rgba(250, 248, 245, 0.95) 40%, rgba(250, 248, 245, 0.8) 100%), url('images/about_warehouse.png');
  }

  .hero-slide-3 {
    background-image: linear-gradient(180deg, rgba(250, 248, 245, 0.95) 40%, rgba(250, 248, 245, 0.8) 100%), url('images/virginia_tobacco.png');
  }
  
  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-title {
    font-size: 2.8rem;
  }

  .feature-item {
    padding: 1.5rem 0;
  }
  
  .feature-item:not(:last-child)::after {
    display: none;
  }
  
  .stat-item {
    padding: 1rem 0;
  }
  
  .stat-item:not(:last-child)::after {
    display: none;
  }
  
  .about-image {
    mask-image: none;
    -webkit-mask-image: none;
    margin-top: 2rem;
  }
}

@media (max-width: 575.98px) {
  .hero-title {
    font-size: 2.2rem;
  }
  
  .floating-container {
    margin-top: -4rem;
  }
  
  .features-card {
    padding: 2rem 1.5rem;
  }
  
  .stats-bar {
    padding: 1.5rem 1.5rem;
  }
}

/* Footer Section Styling */
.footer-section {
  padding: 6rem 0 3rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.footer-logo{
  width: 150px;
}
.footer-brand-title {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #ffffff;
  text-transform: uppercase;
  line-height: 1.1;
  display: block;
}

.footer-brand-subtitle {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 1px;
  color: var(--accent-gold);
  text-transform: uppercase;
  display: block;
}

.footer-desc-text {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
}

.footer-social-links .social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  text-decoration: none;
}

.footer-social-links .social-icon:hover {
  background-color: var(--accent-gold);
  color: var(--primary-green);
  transform: translateY(-3px);
}

.footer-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 2rem;
  position: relative;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-links-list li {
  margin-bottom: 0.85rem;
}

.footer-links-list a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
}

.footer-links-list a:hover {
  color: var(--accent-gold);
  transform: translateX(5px);
}

.footer-contact-list span,
.footer-contact-list a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
  text-decoration: none;
  transition: color 0.3s ease;
  line-height: 1.6;
}

.footer-contact-list a:hover {
  color: var(--accent-gold);
}

.footer-divider {
  border-color: rgba(255, 255, 255, 0.1);
}

.copyright-text {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}

.footer-bottom-links a {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
  color: var(--accent-gold);
}

/* ====================================================
   SUBPAGE SHARED STYLES
   ==================================================== */

/* Subpage Header */
.subpage-header-section {
  position: relative;
  min-height: 260px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center right;
  overflow: hidden;
}

/* Why Choose Us header bg: golden tobacco leaf fading left */
.why-choose-us-bg {
  background-image:
    linear-gradient(90deg,
      rgba(250,248,245,1) 35%,
      rgba(250,248,245,0.85) 55%,
      rgba(250,248,245,0.1) 100%),
    url('images/virginia_tobacco.png');
}

/* Process header bg: green tobacco field fading left */
.process-bg {
  background-image:
    linear-gradient(90deg,
      rgba(250,248,245,1) 35%,
      rgba(250,248,245,0.85) 55%,
      rgba(250,248,245,0.1) 100%),
    url('images/hero_bg.png');
}

/* Contact header bg: warehouse fading left */
.contact-bg {
  background-image:
    linear-gradient(90deg,
      rgba(250,248,245,1) 35%,
      rgba(250,248,245,0.85) 55%,
      rgba(250,248,245,0.1) 100%),
    url('images/about_warehouse.png');
}

/* Breadcrumb */
.breadcrumb {
  background: transparent;
  padding: 0;
  margin: 0;
  font-size: 0.88rem;
}

.breadcrumb-item a {
  color: var(--accent-gold-dark);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.breadcrumb-item a:hover {
  color: var(--primary-green);
}

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

.breadcrumb-item + .breadcrumb-item::before {
  color: var(--accent-gold-dark);
}

/* Subpage Title & Desc */
.subpage-title {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--primary-green);
  line-height: 1.1;
}

.subpage-desc {
  font-size: 1rem;
  max-width: 480px;
}

.title-gold-leaf {
  line-height: 1;
}

/* ====================================================
   WHY CHOOSE US PAGE
   ==================================================== */

.why-choose-card {
  background-color: #ffffff;
}

/* Grid dividers */
.border-end-grid {
  border-right: 1px solid #efefef !important;
}

.border-bottom-grid {
  border-bottom: 1px solid #efefef !important;
}

/* Feature item */
.why-feature-item {
  transition: background-color 0.3s ease;
}

.why-feature-item:hover {
  background-color: rgba(197, 168, 128, 0.04);
}

/* Feature Icon */
.why-icon-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background-color: rgba(13, 44, 30, 0.07);
  color: var(--primary-green);
  font-size: 2rem;
  transition: all 0.35s ease;
}

.why-feature-item:hover .why-icon-wrapper {
  background-color: var(--primary-green);
  color: var(--accent-gold);
  transform: scale(1.1) rotate(-5deg);
}

.why-feature-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-green);
}

.why-feature-desc {
  font-size: 0.88rem;
  line-height: 1.6;
}

/* ====================================================
   PROCESS PAGE — VERTICAL TIMELINE
   ==================================================== */

.timeline-container {
  position: relative;
  padding-left: 2rem;
}

.timeline-container::before {
  content: '';
  position: absolute;
  left: 58px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent-gold), rgba(197, 168, 128, 0.15));
  border-radius: 2px;
}

.timeline-step {
  position: relative;
  display: flex;
  gap: 1.75rem;
  align-items: flex-start;
  padding-bottom: 2.5rem;
}

.timeline-step:last-child {
  padding-bottom: 0;
}

.timeline-badge-num {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--primary-green);
  color: var(--accent-gold);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  box-shadow: 0 4px 12px rgba(13, 44, 30, 0.2);
  transition: all 0.3s ease;
}

.timeline-step:hover .timeline-badge-num {
  background-color: var(--accent-gold);
  color: var(--primary-green);
  transform: scale(1.1);
}

.timeline-content {
  padding-top: 0.6rem;
}

.timeline-step-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary-green);
  margin-bottom: 0.4rem;
}

.timeline-step-desc {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 0;
}

/* Process Images */
.process-img-card img {
  transition: transform 0.5s ease;
}

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

/* ====================================================
   CONTACT PAGE
   ==================================================== */

/* Contact Info Icon Badges */
.contact-icon-badge {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background-color: rgba(13, 44, 30, 0.07);
  color: var(--primary-green);
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.contact-info-item:hover .contact-icon-badge {
  background-color: var(--primary-green);
  color: var(--accent-gold);
}

.contact-info-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-green);
  margin-bottom: 0.35rem;
}

.contact-info-text {
  font-size: 0.9rem;
  line-height: 1.7;
}

.contact-link {
  transition: color 0.3s ease;
}

.contact-link:hover {
  color: var(--accent-gold-dark) !important;
}

/* Contact Form Card */
.contact-form-card {
  border: 1px solid rgba(13, 44, 30, 0.06);
}

.contact-form-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary-green);
}

/* Form Inputs */
.contact-input {
  border: 1.5px solid #e5e5e5;
  border-radius: 10px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  color: var(--text-dark);
  background-color: #faf9f7;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-input:focus {
  border-color: var(--accent-gold-dark);
  box-shadow: 0 0 0 3px rgba(197, 168, 128, 0.15);
  background-color: #ffffff;
  outline: none;
}

.contact-textarea {
  min-height: 150px;
  resize: vertical;
}

/* Map Section */
.map-section {
  margin-top: 0;
}

.map-wrapper {
  width: 100%;
  height: 420px;
  position: relative;
  overflow: hidden;
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  filter: grayscale(20%) contrast(1.05);
  transition: filter 0.4s ease;
}

.map-wrapper:hover iframe {
  filter: grayscale(0%) contrast(1);
}

/* Responsive adjustments for subpages */
@media (max-width: 991.98px) {
  .subpage-header-section {
    min-height: 200px;
  }

  .subpage-title {
    font-size: 2.2rem;
  }

  .why-choose-us-bg,
  .process-bg,
  .contact-bg {
    background-image:
      linear-gradient(180deg,
        rgba(250,248,245,1) 50%,
        rgba(250,248,245,0.85) 100%),
      url('images/virginia_tobacco.png');
    background-position: center;
  }

  .border-end-grid {
    border-right: none !important;
  }

  .timeline-container::before {
    left: 25px;
  }
}

@media (max-width: 575.98px) {
  .subpage-title {
    font-size: 1.8rem;
  }

  .contact-form-card {
    padding: 2rem !important;
  }

  .map-wrapper {
    height: 300px;
  }
}
