/* ==========================================
   Mates Rates Towing & Recovery
   Author: Jarrahd Gibson
   File: style.css
   Description: Main site stylesheet
   Notes:
   - Green (#38b000) used for highlights and accents
   - Orange (#ff6f00 / #e65c00) used for CTAs, buttons, active states
   Last updated: November 2025
========================================== */

/* ==========================================
   1) MINIMAL RESET & GLOBAL
   ------------------------------------------
   - Normalize basic spacing & sizing
   - Enable smooth scroll for anchor links
========================================== */

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--text-light);
  font-family: "Roboto", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  background-image: url(images/mates-rates-background-artwork-metalic.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center;
  background-color: var(--bg-dark);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: -1;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
}

/* ==========================================
   2) CSS VARIABLES
   ------------------------------------------
   - Grouped for clarity and easy maintenance
========================================== */

:root {
  /* BRAND COLORS */
  --primary-green: #38b000;
  --primary-green-dark: #2d8700;
  --cta-orange: #ff6f00;
  --cta-orange-dark: #e65c00;

  /* BRAND NAVY */
  --navy: #0b2545;
  --navy-dark: #071729;

  /* BACKGROUND COLORS */
  --bg-dark: #14191f;
  --bg-section: #1b222b;
  --bg-light: #f4f4f4;

  /* TEXT COLORS */
  --text-light: #f8f9fa;
  --text-muted: #ffffff;

  /* ALIASES */
  --accent: var(--cta-orange);
  --accent-dark: var(--cta-orange-dark);
}

/* ==========================================
   3) BASE TYPOGRAPHY & UTILITIES
========================================== */

h1,
h2,
h3,
h4,
h5 {
  font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  letter-spacing: 0.5px;
}

.section-title {
  color: var(--primary-green);
  font-weight: 1000;
  text-transform: uppercase;
  font-size: 2.2rem;
  margin-bottom: 10px;
}

.section-subtitle {
  color: #ffffff;
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 900px;
}

.bg-dark-section {
  background-color: transparent;
}

/* ==========================================
   4) NAVBAR
   ------------------------------------------
   - Brand bar, links, CTA button
========================================== */

.main-navbar {
  background: linear-gradient(90deg, var(--navy-dark), var(--navy));
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.navbar {
  background: linear-gradient(90deg, #0b2545, #112e59);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.navbar-brand {
  display: flex;
  align-items: center;
  background: transparent;
  border-radius: 0;
  padding: 0;
}

.navbar-brand img {
  height: 65px;
  margin-right: 10px;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.4)) brightness(1.05);
  mix-blend-mode: lighten;
  transition: all 0.3s ease-in-out;
}

.navbar-brand img:hover {
  filter: drop-shadow(0 0 10px rgba(45, 135, 0, 0.4)) brightness(1.15);
}

.logo {
  height: 105px;
  width: 150px;
  background: transparent;
}

.brand-text {
  color: #ffffff;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 1.15rem;
}

.brand-text:hover {
  color: var(--primary-green);
}

.navbar-nav .nav-link {
  color: #e0e6f0 !important;
  font-weight: 500;
  font-size: 1.15rem;
  transition: color 0.25s ease;
}

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

.btn-cta {
  background-color: var(--cta-orange);
  color: #ffffff;
  border-radius: 999px;
  font-weight: 600;
  padding: 8px 20px;
  font-size: 0.95rem;
  border: none;
  transition: background-color 0.2s ease, transform 0.15s ease;
}

.btn-cta:hover {
  background-color: var(--cta-orange-dark);
  color: #ffffff;
  transform: translateY(-1px);
}

/* ==========================================
   5) HERO SECTION
   ------------------------------------------
   - Background, overlay, content, logo
========================================== */

.hero-section {
  min-height: 100vh;
  background-size: cover;
  background-position: center;
  position: relative;
  transition: background-image 1s ease-in-out;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, #205d01b3, #2434477e);
}

.hero-content {
  padding: 80px 0;
}

.hero-title {
  font-size: 2.3rem;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1rem;
  color: #ffffff;
  margin-top: 15px;
}

.hero-note {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ==========================================
   HERO LOGO
========================================== */
.hero-logo-container {
  position: absolute;
  top: 25px;
  right: 35px;
  z-index: 10;
}

.hero-logo-container .hero-logo {
  width: 200px;
  height: auto;
  filter: drop-shadow(0 0 6px rgba(0, 0, 0, 0.5));
  transition: transform 0.3s ease, filter 0.3s ease;
}

.hero-logo-container .hero-logo:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.7));
}

/* ==========================================
   CAROUSEL HELPERS
========================================== */
#hero-carousel .carousel-item {
  height: 100%;
  position: relative;
}

#hero-carousel .hero-section {
  position: relative;
  min-height: 80vh;
}

.carousel-fade .carousel-item {
  transition: opacity 0.2s ease-in-out;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: transparent;
  border-radius: 50%;
  padding: 10px;
  transition: background-color 0.3s ease;
}

.carousel-control-prev-icon:hover,
.carousel-control-next-icon:hover {
  background-color: rgba(255, 255, 255, 0.25);
}

/* ==========================================
   FEATURES SECTION (Why Choose Us)
   Responsive + Animated
========================================== */

/* Base styling – keep your current look */
.feature-card {
  background: radial-gradient(circle at top left, #1f5d01, #243447);
  border-radius: 14px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease, opacity 0.6s ease;
  opacity: 0;
  transform: translateY(40px);
}

.feature-card.show {
  opacity: 1;
  transform: translateY(0);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.65);
  border-color: rgba(56, 176, 0, 0.6);
}

/* Headings and text */
.feature-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 0.93rem;
  color: var(--text-light);
}

/* Icon animation */
.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(56, 176, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-green);
  margin-bottom: 12px;
  animation: pulse 3s infinite ease-in-out;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.15); opacity: 0.85; }
}

/* Responsive grid tweaks */
@media (max-width: 991px) {
  .feature-card {
    margin-bottom: 25px;
  }
  .feature-card h3 {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .feature-card {
    padding: 18px;
  }
  .feature-icon {
    width: 40px;
    height: 40px;
  }
  .feature-card h3 {
    font-size: 1.05rem;
  }
  .feature-card p {
    font-size: 0.9rem;
  }
}

@media (max-width: 768px) {
  /* Center the button wrapper */
  .hero-content .d-flex {
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100%;
    text-align: center;
  }
}


/* ==========================================
   SERVICES PAGE – Responsive + Animated
========================================== */

/* Base appearance (extends your current styles) */
.service-detail-card {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at top left, #1f5d01, #243447);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px 26px;
  color: var(--text-light);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease, opacity 0.6s ease;
  opacity: 0;
  transform: translateY(40px);
}

/* When scrolled into view */
.service-detail-card.show {
  opacity: 1;
  transform: translateY(0);
}

/* Hover enhancement */
.service-detail-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 16px 36px rgba(56, 176, 0, 0.4);
  border-color: rgba(56, 176, 0, 0.6);
}

/* Title */
.service-detail-card h3 {
  color: var(--primary-green);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.3s ease;
}

/* Text */
.service-detail-card p {
  font-size: 0.95rem;
  color: #d5dbe4;
  margin-bottom: 1rem;
  line-height: 1.5;
}

/* Lists */
.service-detail-card ul {
  padding-left: 1.2rem;
  margin-bottom: 0;
}

.service-detail-card ul li {
  margin-bottom: 0.4rem;
  color: var(--text-muted);
}

/* Icon animation inside the heading */
.service-detail-card h3 i {
  color: var(--primary-green);
  animation: pulse 3s infinite ease-in-out;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.1); opacity: 0.85; }
}

/* Responsiveness */
@media (max-width: 991px) {
  .service-detail-card {
    margin-bottom: 25px;
    padding: 22px;
  }
  .service-detail-card h3 {
    font-size: 1.1rem;
  }
}

@media (max-width: 768px) {
  .service-detail-card {
    padding: 18px;
  }
  .service-detail-card h3 {
    font-size: 1.05rem;
  }
  .service-detail-card p {
    font-size: 0.9rem;
  }
}

/* ==========================================
   8) CTA STRIP
========================================== */

.cta-strip {
  background: linear-gradient(90deg, var(--cta-orange-dark), var(--cta-orange));
  color: #ffffff;
  padding: 18px 0;
}

/* ==========================================
   9) PAGE HEADERS
========================================== */

.page-header {
  background-color: transparent;
  padding: 30px 0 30px;
  margin-top: 0px;
}

.page-header p {
  color: var(--text-light);
}

.page-title {
  font-size: 2rem;
  font-weight: 700;
}

.page-subtitle {
  margin-top: 10px;
  max-width: 700px;
  color: var(--text-muted);
}

/* ==========================================
   10) GALLERY PAGE
   ------------------------------------------
   - Grid, items, overlay, animations
========================================== */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.8rem;
  justify-items: center;
  align-items: start;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at top left, #1f5d01, #243447);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);

  /* Scroll expand base */
  transform: scale(0.9);
  opacity: 0;
  transition: transform 0.8s ease-out, opacity 0.8s ease-out;
  will-change: transform, opacity;
}

.gallery-item.expand {
  transform: scale(1);
  opacity: 1;
}

.gallery-item:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
}

.gallery-item img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  border-radius: 12px 12px 0 0;
  display: block;
  transition: transform 0.4s ease;
}

.gallery-item:hover img,
.gallery-item.active img {
  transform: scale(1.05);
}

.gallery-caption {
  text-align: center;
  color: #d5dbe4;
  font-size: 1rem;
  font-weight: 500;
  margin: 10px 0 15px;
  padding: 0 10px;
  line-height: 1.4;
}

.overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(11, 37, 69, 0.95);
  color: #fff;
  padding: 18px 16px;
  text-align: center;
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.35s ease, opacity 0.35s ease;
  border-radius: 0 0 12px 12px;
  box-shadow: inset 0 4px 8px rgba(0, 0, 0, 0.4);
}

.gallery-item.active .overlay {
  transform: translateY(0);
  opacity: 1;
}

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

.overlay p {
  font-size: 0.9rem;
  margin: 0;
  color: #e0e6f0;
  line-height: 1.4;
}

.gallery-item.active {
  box-shadow: 0 8px 25px rgba(56, 176, 0, 0.5);
  border-color: rgba(56, 176, 0, 0.6);
}


/* ==========================================
   11) CONTACT PAGE
========================================== */

.contact-card,
.contact-info-box {
  background: radial-gradient(circle at top left, #1f5d01, #243447);
  border-radius: 14px;
  padding: 22px 24px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.contact-card .form-label {
  font-weight: 500;
  color: #e0e6f0;
}

.contact-card .form-control,
.contact-card textarea {
  background-color: #141b23;
  border: 1px solid #2b3544;
  color: #e0e6f0;
}

.contact-card .form-control:focus,
.contact-card textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 0.15rem rgba(255, 111, 0, 0.35);
  background-color: #141b23;
  color: #ffffff;
}

.contact-info-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 8px;
  color: #c0c8d6;
  font-size: 0.93rem;
}

.contact-info-list i {
  color: var(--accent);
  margin-top: 3px;
}

.map-placeholder {
  background: #141b23;
  border: 1px dashed #2b3544;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  color: #aeb7c4;
  font-size: 0.9rem;
}

.job-type-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 6px;
  justify-content: flex-start;
}

.icon-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 4px;
  padding: 12px 16px;
  border: 2px solid var(--accent);
  border-radius: 10px;
  color: var(--accent);
  background: rgba(0, 0, 0, 0.2);
  font-weight: 500;
  cursor: pointer;
  min-width: 90px;
  transition: all 0.3s ease;
}

.icon-btn i {
  font-size: 1.4rem;
  line-height: 1;
}

.icon-btn:hover {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 0 10px var(--accent);
  transform: translateY(-2px);
}

.btn-check:checked + .icon-btn {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 0 14px var(--accent-dark);
  border-color: var(--accent-dark);
  transform: translateY(-2px);
}

.btn-check:focus + .icon-btn {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ==========================================
   12) PROJECTS PAGE
========================================== */

.projects-section h1 {
  color: var(--primary-green);
}

.projects-section p {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.project-card {
  background-color: #1f2833;
  border-radius: 16px;
  padding: 22px 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.25s ease, box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.7);
  border-color: rgba(56, 176, 0, 0.6);
}

.project-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(56, 176, 0, 0.14);
  color: var(--primary-green);
  font-size: 1.2rem;
  margin-bottom: 4px;
}

.project-title {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: #ffffff;
}

.project-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.project-highlights {
  list-style: none;
  padding: 0;
  margin: 10px 0 15px 0;
  color: var(--text-muted);
}

.project-highlights li {
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.93rem;
}

.project-highlights i {
  color: var(--primary-green);
  font-size: 0.9rem;
}

.project-tags {
  list-style: none;
  padding: 0;
  margin: 0 0 10px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.project-tags li {
  font-size: 0.8rem;
  padding: 4px 10px;
  border-radius: 999px;
  background-color: rgba(56, 176, 0, 0.14);
  color: var(--text-light);
  font-weight: 500;
}

.project-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary-green);
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.project-link i {
  font-size: 0.9rem;
  transition: transform 0.2s ease;
}

.project-link:hover {
  color: #8ff05a;
  transform: translateX(3px);
}

.project-link:hover i {
  transform: translateX(2px);
}

/* ==========================================
   13) FOOTER
========================================== */

.footer {
  background-color: #05080c;
  color: var(--text-muted);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-heading {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
}

.footer-link {
  color: #d0d7e5;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: var(--primary-green);
}

/* ==========================================
   14) RESPONSIVE MEDIA QUERIES
========================================== */

/* ==========================================
   RESPONSIVE MEDIA QUERIES
========================================== */

/* Tablets (<= 1024px) */
@media (max-width: 1024px) {
  .hero-logo-container {
    top: 10px;
    right: 20px;
  }
  .hero-logo-container .hero-logo {
    width: 150px;
  }
  .page-header {
    padding-top: 20px;
  }
  .page-header h1.section-title {
    font-size: 2rem;
  }
}

/* ==========================================
   Mobiles (<= 768px)
========================================== */
@media (max-width: 768px) {
  .navbar-brand .brand-text {
    font-size: 0.85rem;
  }
  
  .page-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-top: 30px; /* create breathing room */
    position: relative;
  }

  .page-header .hero-logo-container {
    position: relative !important;
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin-bottom: 15px !important; /* space below logo */
    z-index: 5;
  }

  .page-header .hero-logo-container .hero-logo {
    width: 130px !important;
    height: auto;
    filter: drop-shadow(0 0 4px rgba(0,0,0,0.4));
  }

  .page-header h1,
  .page-header h2 {
    margin-top: 10px !important;
  }

  .hero-section {
    min-height: 60vh;
    flex-direction: column !important;
    justify-content: flex-start !important;
    align-items: center !important;
    text-align: center !important;
    padding-top: 35px !important;
  }

  .hero-content {
    padding: 40px 0 60px 0 !important;
    text-align: center !important;
  }

  .hero-title {
    font-size: 1.9rem;
    margin-top: 12px !important;
  }

  /* ✅ Make hero logo appear above hero headings */
  #hero-carousel .carousel-item .hero-logo-container {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    order: -1 !important;
    text-align: center !important;
    z-index: 10 !important;
  }

  #hero-carousel .carousel-item .hero-logo-container .hero-logo {
    width: 140px !important;
    height: auto !important;
    margin: 0 auto !important;
    display: block !important;
    filter: drop-shadow(0 0 4px rgba(0, 0, 0, 0.4));
  }

  /* ==========================================
     Slide-specific spacing tweaks
  ========================================== */
  /* Default for all slides — balanced */
  #hero-carousel .carousel-item .hero-logo-container {
    margin-top: 6px !important;
    margin-bottom: 12px !important;
  }

  /* Slide 1 to 9 - more spacing */
  #hero-carousel .carousel-item:nth-child(1) .hero-logo-container,
  #hero-carousel .carousel-item:nth-child(2) .hero-logo-container,
  #hero-carousel .carousel-item:nth-child(3) .hero-logo-container,
  #hero-carousel .carousel-item:nth-child(4) .hero-logo-container,
  #hero-carousel .carousel-item:nth-child(5) .hero-logo-container,
  #hero-carousel .carousel-item:nth-child(6) .hero-logo-container {
    margin-bottom: 30px !important;
  }

  /* Title alignment */
  .hero-content .hero-title {
    margin-top: 30px !important;
    padding-top: 50px !important;
  }

  /* Hide carousel arrows */
  .carousel-control-prev,
  .carousel-control-next {
    display: none;
  }

  /* Add depth for cards & gallery */
  .feature-card,
  .service-detail-card,
  .contact-card,
  .contact-info-box,
  .gallery-item {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
  }

  .cta-strip .container {
    text-align: center;
  }

  /* Gallery animation cadence */
  .gallery-item {
    transition: transform 1s ease-out, opacity 1s ease-out;
  }
  .gallery-item:nth-child(1) {
    transition-delay: 0s;
  }
  .gallery-item:nth-child(2) {
    transition-delay: 0.1s;
  }
  .gallery-item:nth-child(3) {
    transition-delay: 0.2s;
  }
  .gallery-item:nth-child(4) {
    transition-delay: 0.3s;
  }
  .gallery-item:nth-child(5) {
    transition-delay: 0.4s;
  }
  .gallery-item:nth-child(6) {
    transition-delay: 0.5s;
  }
  .gallery-item:nth-child(7) {
    transition-delay: 0.6s;
  }
  .gallery-item:nth-child(8) {
    transition-delay: 0.7s;
  }
}

/* ==========================================
   Subtle Fade & Slide Animation for Mobile
========================================== */

  .hero-section {
    transition: all 0.6s ease-out;
  }

  .hero-content {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  }

  .carousel-item.active .hero-content {
    opacity: 1;
    transform: translateY(0);
  }

  .carousel-item .hero-logo-container {
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
  }

  .carousel-item.active .hero-logo-container {
    opacity: 1;
    transform: translateY(0);
  }


/* ==========================================
   Desktops (>= 769px)
========================================== */
@media (min-width: 769px) {
  .gallery-item {
    transition: transform 1.6s ease-out, opacity 1.6s ease-out;
    transition-delay: 0s !important;
  }
}

/* ==========================================
   Updates Page — Override Gallery Defaults
========================================== */

#feed .gallery-item {
  background: radial-gradient(circle at top left, #1f5d01, #243447);
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.08);
  opacity: 1 !important;
  transform: scale(1) !important;
}

#feed .gallery-item img,
#feed .gallery-item video {
  width: 100% !important;
  height: auto !important;
  object-fit: cover !important;
  border-radius: 12px !important;
}

#feed .gallery-caption {
  padding: 10px 12px;
  font-size: 0.95rem;
  font-weight: 500;
  text-align: center;
  color: #d5dbe4;
  background: none;
  margin-top: 6px;
}

.gallery-item.expand {
  opacity: 1;
  transform: scale(1);
}


  
.breadcrumb-item {
  position: absolute;
  left: -9999px;
  top: -9999px;
}
.breadcrumb .breadcrumb-item a {
    position: absolute;
  left: -9999px;
  top: -9999px;
}