/* =========================================
   1. VARIABLES & RESET
   ========================================= */
:root {
  --primary-black: #222222;
  --text-dark: #222222;
  --text-light: rgb(209, 207, 192);

  /* Brand Colors */
  --chocolate: #ffbf34;
  --chocolate-light: #ffbf34;
  --chocolate-dark: #ffbf34;
  --teal: rgb(30, 192, 178);

  /* Backgrounds */
  --cream: #FAF3E1;
  --cream-light: #FAF3E1;
  --cream-dark: rgb(180, 178, 165);

  /* Gradients */
  --grad-chocolate: linear-gradient(135deg, var(--chocolate), var(--chocolate-light));
  --grad-purple: #73A5CA;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', Arial, sans-serif;
  background-color: #FAF3E1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: #222222;
  line-height: 1.6;
}

main {
  flex: 1;
  text-align: center;
  margin-top: 80px;
  padding: 2rem 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* =========================================
   2. GLOBAL ANIMATIONS
   ========================================= */
@keyframes slideInDown {
  from { opacity: 0; transform: translateY(-50px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideInUp {
  from { opacity: 0; transform: translateY(50px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

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

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================
   3. NAVIGATION
   ========================================= */
.nav_container {
  margin: 10px;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.logo img {
  height: 80px;
  margin: 10px;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.nav_menu {
  display: flex;
  gap: 20px;
}

.nav_menu ul {
  font-size: 18px;
  font-weight: 800;
  color: inherit;
  margin: 10px;
  text-align: center;
  list-style-type: none;
  padding: 0;
}

.nav_menu ul li a {
  text-decoration: none;
  color: inherit;
  position: relative;
  display: inline-block;
  transition: color 0.3s ease;
  padding: 10px 15px;
}

.nav_menu ul li a:not(.active)::after {
  content: '';
  position: absolute;
  bottom: 5px;
  right: 0;
  width: 0;
  height: 2px;
  background-color: var(--chocolate);
  transition: width 0.3s ease;
  transform-origin: right;
}

.nav_menu ul li a:not(.active):hover {
  color: var(--chocolate);
}

.nav_menu ul li a:not(.active):hover::after {
  width: 100%;
  right: 0;
  transform-origin: left;
}

.active {
  color: #ff7b00 !important;
  background-color: transparent;
}

.active::after {
  content: '';
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: rgba(255, 255, 255, 0);
}

.nav_menu_button {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: rgb(31, 31, 31);
  padding: 10px;
}

/* =========================================
   4. HOME PAGE SECTIONS
   ========================================= */
.hero-section {
  position: relative;
  height: 70vh;
  overflow: hidden;
  margin: 20px;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.slideshow-container {
  position: relative;
  height: 100%;
}

.slide {
  display: none;
  position: relative;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.slide.active {
  display: block;
}

.slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(31, 31, 31, 0.7), rgba(210, 180, 140, 0.3));
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

.slide-content h1 {
  font-size: 3.5rem;
  font-weight: 900;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  animation: slideInDown 1s ease-out;
}

.slide-content p {
  font-size: 1.3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 30px; 
  text-align: center; 
  animation: slideInUp 1s ease-out 0.3s both;
}

.slide-nav {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 15px;
}

.slide-dot {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.slide-dot.active {
  background-color: var(--chocolate);
  transform: scale(1.2);
}

.slide-arrows {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
  transition: all 0.3s ease;
}

.slide-arrows:hover {
  background-color: var(--chocolate);
}

.prev-arrow { left: 30px; }
.next-arrow { right: 30px; }

.hero {
  text-align: center;
  padding: 4rem 0;
  color: white;
}

.hero h1 {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
  font-size: 1.2rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

.about-section {
  padding: 30px 20px;
  text-align: center;
  background: var(--chocolate);
  margin: 30px 20px;
  color: white;
  border-radius: 20px;
}

.about-section h2 {
  font-size: 2.5rem;
  color: rgb(255, 255, 255);
  margin-bottom: 20px;
  font-weight: 800;
}

.about-section p {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto 40px;
  opacity: 0.9;
}

.stats-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-top: 50px;
  color: white;
}

.stat-item {
  text-align: center;
  padding: 30px;
  border-radius: 15px;
  transition: transform 0.3s ease;
  background: #222222;
  backdrop-filter: blur(10px);
  border: 2px solid var(--chocolate);
}

.stat-item:hover {
  transform: translateY(-10px);
}

.stat-number {
  font-size: 3rem;
  font-weight: 900;
  color: #BF4646;
  display: block;
}

.stat-label {
  font-size: 1.1rem;
  margin-top: 10px;
  font-weight: 600;
}

.stat-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.stat-title {
  font-size: 1.1rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.stat-desc {
  font-size: 0.9rem;
  opacity: 0.9;
}

.companies-section {
  padding: 60px 0;
  background-color: var(--primary-black);
  margin: 40px 0;
}

.companies-section h2 {
  text-align: center;
  font-size: 2.5rem;
  color: var(--chocolate);
  margin-bottom: 50px;
  font-weight: 800;
}

.companies-rail {
  overflow: hidden;
  white-space: nowrap;
  position: relative;
}

.companies-track {
  display: inline-flex;
  animation: scroll 30s linear infinite;
  gap: 60px;
  align-items: center;
}

.company-logo {
  height: 80px;
  width: auto;
  filter: grayscale(100%) opacity(0.7);
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.company-logo:hover {
  filter: grayscale(0%) opacity(1);
  transform: scale(1.1);
}

.services-preview {
  padding: 20px 20px;
  text-align: center;
  color: var(--primary-black);
}

.services-preview h2 {
  font-size: 2.5rem;
  color: var(--primary-black);
  margin-bottom: 50px;
  font-weight: 800;
}

.services-section {
  background: white;
  border-radius: 20px;
  margin: 2rem 0;
  padding: 3rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  color: var(--primary-black);
}

.service-card {
  background: var(--primary-black);
  padding: 40px;
  border-radius: 20px;
  transition: all 0.3s ease;
  border: 1px solid rgba(210, 180, 140, 0.3);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border-color: #73A5CA;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.1), transparent);
  transition: left 0.6s ease;
}

.service-card:hover::before {
  left: 100%;
}

.service-icon {
  font-size: 3rem;
  margin-bottom: 20px;
  display: block;
  color: #f39c12; /* Change this hex code to match your exact brand color */
}

.service-card h3 {
  font-size: 1.5rem;
  color: var(--cream);
  margin-bottom: 15px;
  font-weight: 700;
}

.service-card p {
  color: var(--cream);
  font-weight: 400;
  margin-bottom: 1.5rem;
}

.service-features {
  list-style: none;
  text-align: left;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.service-features li {
  padding: 0.3rem 0;
  color: #ffffff;
  position: relative;
  padding-left: 20px;
}

.service-features li::before {
  position: absolute;
  left: 0;
  color: #28a745;
  font-weight: bold;
}

.video-section {
  background: white;
  border-radius: 20px;
  margin: 2rem 0;
  padding: 3rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.video-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.video-card {
  background: #1E3E62;
  border-radius: 15px;
  padding: 1.5rem;
  transition: transform 0.3s ease;
}

.video-card:hover {
  transform: translateY(-5px);
}

.video-placeholder {
  width: 100%;
  height: 300px;
  background-color: #ACBFA4;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 3rem;
  margin-bottom: 1rem;
}

.video-title {
  font-size: 1.2rem;
  color: var(--cream);
  margin-bottom: 0.5rem;
}

.video-description {
  color: var(--cream);
  font-size: 0.9rem;
}

.brands-section {
  background: white;
  border-radius: 20px;
  margin: 2rem 0;
  padding: 3rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.brands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.brand-card {
  background: var(--cream);
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.brand-card:hover {
  transform: translateY(-5px);
  border-color: #73A5CA;
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.1);
}

.brand-logo {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #4b7c28, #23582a);
  border-radius: 50%;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  font-weight: bold;
}

.brand-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 0.5rem;
}

.brand-type {
  color: #666;
  font-size: 0.9rem;
}

.map-section {
  padding: 20px 20px;
  text-align: center;
  margin: 10px 10px;
  border-radius: 20px;
}

.map-section h2 {
  font-size: 2.5rem;
  color: var(--primary-black);
  margin-bottom: 30px;
  font-weight: 800;
}

.map-container {
  max-width: 1000px;
  width: 100%;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(255, 255, 255, 0.2);
  height: 400px;
  background: var(--cream-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--primary-black);
  border: 2px solid var(--chocolate);
  margin-top: 2rem;
}

#map {
  width: 100%;
  height: 100%;
}

.contact-cta {
  padding: 80px 20px;
  text-align: center;
  background: var(--chocolate);
  color: white;
  margin: 40px 20px;
  border-radius: 20px;
}

.contact-cta h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  font-weight: 800;
}

.contact-cta p {
  font-size: 1.3rem;
  margin-bottom: 30px;
  opacity: 0.9;
}

/* =========================================
   5. ABOUT PAGE SECTIONS
   ========================================= */
.about-main {
  padding-top: 10px;
  background: var(--chocolate);
  min-height: 100vh;
  flex: 1;
  margin-top: 0;
}

.hero-about {
  text-align: center;
  color: white;
  padding: 2rem 0;
}

.hero-about h1 {
  font-size: 3.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
  color: var(--cream);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-about p {
  font-size: 1.3rem;
  opacity: 0.9;
  max-width: 700px;
  margin: 0 auto 2rem;
  line-height: 1.6;
  color: var(--primary-black);
  font-weight: 800;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.content-section {
  background: white; 
  margin: 2rem 0;
  border-radius: 20px;
  padding: 4rem 3rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  border: 2px solid var(--chocolate);
}

.section-title {
  font-size: 2.5rem;
  color: #333;
  margin-bottom: 2rem;
  text-align: center;
  position: relative;
}

.map-section.fade-in.visible h2 {
  color: var(--primary-black);
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: #73A5CA;
  border-radius: 2px;
}

.section-content {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #555;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.owner-section {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  align-items: center;
  margin-top: 3rem;
}

.owner-photo {
  text-align: center;
}

.owner-image {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: #73A5CA;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 4rem;
  margin: 0 auto 1rem;
  border: 5px solid #f8f9fa;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.owner-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.owner-name, .team-name {
  font-size: 1.5rem;
  font-weight: bold;
  color: #333;
  margin-bottom: 0.5rem;
}

.owner-title, .team-position {
  color: #73A5CA;
  font-weight: 500;
  margin-bottom: 1rem;
}

.owner-info {
  text-align: left;
}

.owner-info h3 {
  font-size: 2rem;
  color: #333;
  margin-bottom: 1rem;
}

.owner-description, .team-description {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #555;
  margin-bottom: 2rem;
}

.owner-achievements {
  list-style: none;
  padding-left: 0;
}

.owner-achievements li {
  padding: 0.5rem 0;
  color: #555;
  position: relative;
  padding-left: 25px;
}

.owner-achievements li::before {
  content: '\f00c';
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  color: #f39c12;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.team-card {
  background: #F5E7C6;
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.team-card:hover {
  transform: translateY(-10px);
  border-color: #73A5CA;
  box-shadow: 0 15px 40px rgba(102, 126, 234, 0.2);
}

.team-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: #73A5CA;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2rem;
  margin: 0 auto 1rem;
  border: 3px solid white;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-name { font-size: 1.3rem; }

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.value-card {
  background: var(--chocolate);
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
}

.value-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.1);
}

.value-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
}

.value-icon svg {
  color: #ffbf34;
}

.value-icon i {
  font-size: 2.5rem;
  color: #222222;
  background: rgba(0,0,0,0.1);
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.value-title {
  font-size: 1.3rem;
  font-weight: bold;
  color: #222222;
  margin-bottom: 1rem;
}

.value-description {
  color: #333333;
  line-height: 1.6;
}

.timeline {
  position: relative;
  margin-top: 3rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(135deg, #ffdd00, #ea5013);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  margin: 2rem 0;
  width: 45%;
}

.timeline-item:nth-child(odd) {
  left: 0;
  text-align: right;
}

.timeline-item:nth-child(even) {
  left: 55%;
  text-align: left;
}

.timeline-content {
  background: #84B179;
  border-radius: 15px;
  padding: 2rem;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.timeline-content:hover {
  border-color: #40513B;
  transform: scale(1.02);
}

.timeline-year {
  font-size: 1.5rem;
  font-weight: bold;
  color: #ffd000;
  margin-bottom: 0.5rem;
}

.timeline-title {
  font-size: 1.2rem;
  font-weight: bold;
  color: #333;
  margin-bottom: 0.5rem;
}

.timeline-description {
  color: #000000;
  line-height: 1.6;
}

.timeline-dot {
  position: absolute;
  top: 2rem;
  width: 20px;
  height: 20px;
  background: #1B211A;
  border-radius: 50%;
  border: 4px solid white;
  box-shadow: 0 0 0 4px #000000;
}

.timeline-item:nth-child(odd) .timeline-dot { right: -10px; }
.timeline-item:nth-child(even) .timeline-dot { left: -10px; }

.areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.area-item {
  background: var(--chocolate);
  border-radius: 10px;
  padding: 1.5rem;
  text-align: center;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.area-item:hover {
  border-color: #73A5CA;
  transform: translateY(-3px);
}

.area-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.area-name {
  font-weight: 600;
  color: #333;
}

@media screen and (max-width: 768px) {
  .team-grid {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 1rem;
    padding: 10px 5vw;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }
  
  .team-grid::-webkit-scrollbar {
    display: none;
  }

  .team-card {
    flex: 0 0 85%; /* Bumped up slightly to give more width */
    max-width: 320px;
    scroll-snap-align: center;
    margin: 0;
    
    /* FIX: Reduce the massive desktop padding so text fits better */
    padding: 1.5rem 1rem; 
  }

  /* FIX: The "People ain't reading allat" text trimmer */
  .team-description {
    font-size: 0.95rem; /* Slightly smaller for mobile */
    display: -webkit-box;
    /*-webkit-line-clamp: 4;  Change this number to show more or fewer lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

/* =========================================
   6. SERVICES PAGE SECTIONS
   ========================================= */
.services-main {
  padding-top: 10px;
  background: var(--chocolate);
  min-height: 100vh;
  flex: 1;
  margin-top: 0;
}

.hero-services {
  text-align: center;
  color: var(--cream);
  padding: 2rem 0 2rem;
}

.hero-services h1 {
  font-size: 3.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-services p {
  font-size: 1.3rem;
  opacity: 0.9;
  max-width: 800px;
  margin: 0 auto 2rem;
  line-height: 1.6;
  color: var(--primary-black);
  font-weight: bold;
}

.section-subtitle {
  text-align: center;
  color: var(--primary-black);
  font-size: 1.1rem;
  margin-bottom: 3rem;
}

.service-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 3rem;
  margin-top: 3rem;
}

.category-card {
  background: var(--cream-light);
  border-radius: 20px;
  padding: 2.5rem;
  border: 3px solid var(--chocolate);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.category-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(123, 63, 0, 0.1), transparent);
  transition: left 0.6s ease;
}

.category-card:hover::before {
  left: 100%;
}

.category-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(123, 63, 0, 0.3);
  border-color: var(--chocolate-light);
}

.category-header {
  text-align: center;
  margin-bottom: 2rem;
}

.category-icon {
  font-size: 3.5rem;
  margin-bottom: 1rem;
}

.category-title {
  font-size: 1.8rem;
  color: var(--primary-black);
  margin-bottom: 0.5rem;
  font-weight: bold;
}

.category-desc {
  color: var(--primary-black);
  font-size: 1rem;
}

.services-list {
  list-style: none;
}

.service-item {
  background: var(--cream);
  margin: 1rem 0;
  padding: 1.5rem;
  border-radius: 12px;
  border: 2px solid var(--chocolate);
  transition: all 0.3s ease;
  cursor: pointer;
}

.service-item:hover {
  transform: translateX(10px);
  border-color: var(--chocolate-light);
  box-shadow: 0 8px 25px rgba(123, 63, 0, 0.2);
}

.service-name {
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--primary-black);
  margin-bottom: 0.5rem;
}

.service-desc {
  color: var(--primary-black);
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 1rem;
}

.feature-tag {
  background: var(--chocolate);
  color: var(--cream);
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
}
/* =========================================
   PRODUCT SLIDER LAYOUT
   ========================================= */

.product-carousel-container {
  position: relative;
  padding: 0 50px; /* Space on the sides for the arrows */
  max-width: 1200px;
  margin: 0 auto;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--primary-black, #333);
  color: white;
  border: none;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  font-size: 1.2rem;
  transition: background 0.3s ease;
}

.carousel-btn:hover { background: #555; }
#prod-prev { left: 0; }
#prod-next { right: 0; }

.product-showcase {
  display: flex; /* Forces items into a single row */
  gap: 2rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  padding-bottom: 10px; /* Buffer for hover effects */
  
  /* Hide scrollbar for a clean look */
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.product-showcase::-webkit-scrollbar { display: none; }

.product-card {
  /* MATH: (100% width - two 2rem gaps) divided by 3 
    This perfectly fits exactly 3 cards!
  */
  flex: 0 0 calc((100% - 4rem) / 3); 
  scroll-snap-align: start;
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  border: none !important; 
}

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

/* --- Custom Colors --- */
.prod-1 { background-color: #99AD7A; color: #222; }
.prod-2 { background-color: #72BAA9; color: #222; }
.prod-3 { background-color: #AE2448; color: white; }
.prod-4 { background-color: #F26076; color: white; }
.prod-5 { background-color: #7A9BBF; color: #222; }
.prod-6 { background-color: #C4A86B; color: #222; }
.prod-7 { background-color: #7B6FA0; color: white; }
.prod-8 { background-color: #D4785A; color: white; }

/* Force text colors to contrast properly with the backgrounds */
.prod-1 .product-title, .prod-2 .product-title { color: #111; }
.prod-3 .product-title, .prod-4 .product-title { color: white; }
.prod-3 .product-details, .prod-4 .product-details { color: rgba(255,255,255,0.9); }
.prod-5 .product-title, .prod-6 .product-title { color: #111; }
.prod-5 .product-details, .prod-6 .product-details { color: rgba(255,255,255,0.9); }
.prod-7 .product-title, .prod-8 .product-title { color: white; }
.prod-7 .product-details, .prod-8 .product-details { color: rgba(255,255,255,0.9); }

/* Circle Icons */
.product-card .product-image {
  background: rgba(255, 255, 255, 0.25); 
  color: inherit; 
  border: none;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 1.5rem;
}

/* Price Pills */
.product-card .price-range {
  background: rgba(0, 0, 0, 0.2); 
  color: white;
  border-radius: 20px;
  padding: 0.5rem 1rem;
  display: inline-block;
  font-weight: bold;
}

/* --- Responsive Rules for Mobile Only --- */
@media screen and (max-width: 768px) {
  .product-carousel-container { 
    padding: 0 10px; 
  }
  
  .product-card { 
    flex: 0 0 100%; /* Forces 1 card to take up the whole screen width */
    scroll-snap-align: center; 
  } 
  
  .carousel-btn { 
    display: none; /* Hide arrows on mobile */
  } 
}
.price-range {
  background: var(--chocolate);
  color: var(--cream);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: bold;
  display: inline-block;
  margin-bottom: 1rem;
}

/* --- Service Category Tabs --- */
.service-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap; /* Allows buttons to wrap on tiny screens */
  gap: 10px;
  margin-bottom: 2rem;
}

.tab-btn {
  padding: 12px 24px;
  background: white;
  border: 2px solid #333;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: bold;
  color: #333;
  cursor: pointer;
  transition: all 0.3s ease;
}

.tab-btn:hover {
  background: #f0f0f0;
}

.tab-btn.active {
  background: #333;
  color: white;
}

/* Hide inactive cards and add a nice fade animation */
.service-categories {
  max-width: 800px;
  margin: 0 auto; /* Centers the active card */
}

.category-card {
  display: none; 
  animation: fadeInTab 0.4s ease;
}

.category-card.active {
  display: block; 
}

@keyframes fadeInTab {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --- Your Custom Colors --- */
.card-outdoor { background-color: #99AD7A !important; border-color: #99AD7A !important; }
.card-print { background-color: #72BAA9 !important; border-color: #72BAA9 !important;}
.card-premium { background-color: #AE2448 !important; border-color: #AE2448 !important;}
.card-digital { background-color: #F26076 !important; border-color: #F26076 !important;}

/* Fix contrast for the darker backgrounds */
.card-premium .category-title, 
.card-premium .category-desc, 
.card-premium .category-icon,
.card-digital .category-title, 
.card-digital .category-desc, 
.card-digital .category-icon {
  color: white !important;
}

/* Ensure inner items still look clean against the bright colors */
.service-item {
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  border: none;
}

.delivery-section {
  background: linear-gradient(135deg, var(--primary-black), var(--chocolate-dark));
  color: var(--cream);
  text-align: center;
}

.delivery-section .section-title {
  color: var(--cream);
}

.delivery-section .section-title::after {
  background: linear-gradient(135deg, var(--cream), var(--cream-light));
}

.malaysia-map {
  width: 100%;
  max-width: 600px;
  height: 400px;
  background: var(--cream);
  border-radius: 15px;
  margin: 2rem auto;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: var(--chocolate);
  border: 3px solid var(--chocolate);
}

.delivery-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.delivery-card {
  background: rgba(209, 207, 192, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  padding: 2rem;
  border: 2px solid var(--chocolate);
  transition: all 0.3s ease;
}

.delivery-card:hover {
  transform: translateY(-5px);
  border-color: var(--chocolate-light);
}

.delivery-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.delivery-title {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.special-offer {
  background: var(--primary-black);
  color: var(--cream);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.special-offer::before {
  position: absolute;
  top: -20px;
  right: -20px;
  font-size: 8rem;
  opacity: 0.1;
}

.special-offer .section-title {
  color: var(--cream);
}

.special-offer .section-title::after {
  background: var(--primary-black);
}

.offer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.offer-card {
  background: rgba(209, 207, 192, 0.15);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  padding: 2.5rem;
  border: 2px solid var(--cream);
  transition: all 0.3s ease;
}

.offer-card:hover {
  transform: scale(1.05);
  border-color: var(--cream-light);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.offer-title {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.offer-desc {
  opacity: 0.9;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.offer-conditions {
  font-size: 0.9rem;
  opacity: 0.8;
  font-style: italic;
}

.process-timeline {
  display: flex;
  justify-content: space-between;
  margin-top: 3rem;
  position: relative;
}

.process-timeline::before {
  content: '';
  position: absolute;
  top: 50px;
  left: 10%;
  right: 10%;
  height: 4px;
  background: linear-gradient(90deg, var(--chocolate), var(--chocolate-light));
  z-index: 0;
}

.process-step {
  flex: 1;
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-circle {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, var(--chocolate), var(--chocolate-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: var(--cream);
  font-size: 2rem;
  font-weight: bold;
  border: 4px solid var(--cream);
}

.step-title {
  font-size: 1.1rem;
  font-weight: bold;
  color: var(--primary-black);
  margin-bottom: 0.5rem;
}

.step-desc {
  color: var(--primary-black);
  font-size: 0.9rem;
}

/* =========================================
   7. BACK TO TOP BUTTON
   ========================================= */
#backToTop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: chocolate;
  color: white;
  border: none;
  padding: 12px 16px;
  font-size: 18px;
  border-radius: 50%;
  cursor: pointer;
  display: none;
  z-index: 999;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

#backToTop:hover {
  background: #a34e17;
}

/* =========================================
   8. CONTACT PAGE SECTIONS
   ========================================= */
.contact-main {
  padding-top: 10px;
  background: var(--chocolate);
  min-height: 100vh;
  flex: 1;
  margin-top: 0;
}

.hero-contact {
  text-align: center;
  color: var(--cream);
  padding: 2rem 0 2rem;
}

.hero-contact h1 {
  font-size: 3.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-contact p {
  font-size: 1.3rem;
  opacity: 0.9;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
  color: var(--primary-black);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.contact-info-page, .contact-form, .hours-section, .cta-section {
  background: var(--cream);
  border-radius: 20px;
  padding: 3rem;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
  border: 2px solid var(--chocolate);
  margin: 2rem 0;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-card {
  background: var(--cream-light);
  border-radius: 15px;
  padding: 2rem;
  border: 2px solid var(--chocolate);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.contact-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(123, 63, 0, 0.1), transparent);
  transition: left 0.6s ease;
}

.contact-card:hover::before {
  left: 100%;
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(123, 63, 0, 0.3);
  border-color: var(--chocolate-light);
}

.contact-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--chocolate), var(--chocolate-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cream);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.contact-card h3 {
  font-size: 1.3rem;
  color: var(--primary-black);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.contact-card p {
  color: var(--chocolate);
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

.contact-card a {
  color: var(--chocolate);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.contact-card a:hover {
  color: var(--chocolate-light);
}

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

.form-group label {
  display: block;
  color: var(--primary-black);
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 1rem;
  border: 2px solid var(--cream-dark);
  border-radius: 10px;
  font-size: 1rem;
  background: var(--cream-light);
  color: var(--primary-black);
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--chocolate);
  box-shadow: 0 0 10px rgba(123, 63, 0, 0.2);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.hours-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.hours-card {
  background: var(--cream-light);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  border: 2px solid var(--chocolate);
  transition: all 0.3s ease;
}

.hours-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(123, 63, 0, 0.2);
}

.hours-day {
  font-weight: 600;
  color: var(--primary-black);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.hours-time {
  color: var(--chocolate);
  font-size: 1rem;
}

.cta-section {
  background: var(--primary-black);
  text-align: center;
}

.cta-section h2 {
  color: var(--cream);
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.cta-section p {
  color: var(--cream);
  opacity: 0.9;
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

/* =========================================
   9. GLOBAL BUTTONS
   ========================================= */
.cta-button, .submit-btn, .cta-btn {
  background: linear-gradient(45deg, var(--chocolate), #e67e22);
  color: white;
  padding: 15px 40px;
  font-size: 1.1rem;
  font-weight: 700;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.cta-button {
  animation: slideInUp 1s ease-out 0.6s both;
}

.submit-btn {
  background: linear-gradient(135deg, var(--chocolate), var(--chocolate-light));
  color: var(--cream);
  width: 100%;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 1rem 2rem;
  border-radius: 10px;
}

.cta-btn {
  background: linear-gradient(135deg, var(--chocolate), var(--chocolate-light));
  color: var(--primary-black);
  padding: 1.5rem 2rem; 
  border-radius: 15px; 
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  border: 2px solid transparent;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(210, 180, 140, 0.4);
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(123, 63, 0, 0.3);
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(123, 63, 0, 0.3);
  border-color: var(--cream);
}

.cta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
  justify-items: center;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* =========================================
   10. FOOTER
   ========================================= */
.footer {
  background-color: rgb(31, 31, 31);
  color: rgb(209, 207, 192);
  padding: 60px 0 30px 0;
  margin-top: auto;
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 20px;
  margin-bottom: 30px;
  align-items: start;
}

.footer-section {
  padding: 0 10px;
}

.footer-section h3 {
  color: var(--chocolate);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
  white-space: nowrap;
}

.footer-section h3::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 30px;
  height: 3px;
  background-color: rgb(30, 192, 178);
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-section ul li {
  margin-bottom: 8px;
  font-size: 14px;
}

.company-info p {
  margin-bottom: 15px;
  line-height: 1.6;
}

.company-info .company-name {
  font-size: 24px;
  font-weight: 800;
  color: var(--chocolate);
  margin-bottom: 10px;
}

.company-info .tagline {
  font-style: italic;
  opacity: 0.9;
  margin-bottom: 20px;
}

.contact-info {
  list-style: none;
}

.contact-info li {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-info .icon {
  font-size: 16px;
  width: 20px;
  color: var(--chocolate);
}

.contact-info a {
  color: rgb(209, 207, 192);
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-info a:hover {
  color: var(--chocolate);
}

.quick-links ul {
  list-style: none;
}

.quick-links li {
  margin-bottom: 10px;
}

.quick-links a {
  color: rgb(209, 207, 192);
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  display: inline-block;
}

.quick-links a:hover {
  color: var(--chocolate);
  padding-left: 10px;
}

.quick-links a::before {
  content: '→';
  position: absolute;
  left: -15px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.quick-links a:hover::before {
  opacity: 1;
}

.services-list {
  list-style: none;
}

.services-list li {
  margin-bottom: 8px;
  position: relative;
  padding-left: 20px;
}

.services-list li::before {
  position: absolute;
  left: 0;
  color: rgb(30, 192, 178);
  font-weight: bold;
}

.social-media {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-icon {
  display: inline-block;
  width: 40px;
  height: 40px;
  background-color: rgba(209, 207, 192, 0.1);
  border-radius: 50%;
  text-align: center;
  line-height: 40px;
  color: rgb(209, 207, 192);
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 18px;
}

.social-icon:hover {
  background-color: var(--chocolate);
  color: rgb(31, 31, 31);
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(209, 207, 192, 0.2);
  padding-top: 20px;
  text-align: center;
}

.footer-bottom p {
  margin-bottom: 10px;
  opacity: 0.8;
}

.footer-bottom .heart {
  color: #e74c3c;
  animation: heartbeat 1.5s ease-in-out infinite;
}

/* =========================================
   11. GALLERY
   ========================================= */
.gallery-main {
  padding-top: 10px;
  background: var(--chocolate);
  min-height: 100vh;
  flex: 1;
  margin-top: 0;
}

.gallery-about {
  text-align: center;
  color: white;
  padding: 1rem 0;
}

.gallery-about h1 {
  font-size: 3.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
  color: var(--cream);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.gallery-about p {
  font-size: 1.3rem;
  opacity: 0.9;
  max-width: 700px;
  margin: 0 auto 2rem;
  line-height: 1.6;
  color: var(--primary-black);
  font-weight: 800;
}

.social-connect {
  margin-top: 3rem;
  padding: 2rem;
  background-color: var(--cream-light);
  border-radius: 15px;
  border: 2px dashed var(--chocolate);
  text-align: center;
}

.social-content h3 {
  color: var(--primary-black);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.social-content p {
  color: #555;
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.social-buttons-row {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 25px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  color: white;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.social-emoji {
  font-size: 1.2rem;
}

.social-btn.instagram {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-btn.facebook {
  background-color: #1877F2;
}

.social-btn.tiktok {
  background-color: #000000;
}

.social-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
  filter: brightness(1.1);
}
/* --- Brands Slider Layout --- */
.brands-carousel-container {
  position: relative;
  padding: 0 50px; /* Space for the arrows */
  max-width: 1200px;
  margin: 0 auto;
}

.brands-grid {
  display: flex; /* Changes it from a grid to a horizontal slider */
  gap: 1.5rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  padding-bottom: 15px; /* Room for drop shadows */
  
  /* Hide the scrollbar */
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.brands-grid::-webkit-scrollbar { display: none; }

.brand-card {
  /* MATH: (100% width - three 1.5rem gaps) divided by 4 
     Perfectly fits 4 cards on desktop! */
  flex: 0 0 calc((100% - 4.5rem) / 4);
  scroll-snap-align: start;
  
  /* Retaining your existing card styling */
  background: var(--grad-purple);
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

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

/* Retaining your existing logo/text styling */
.brand-logo {
  width: 60px;
  height: 60px;
  background: var(--chocolate);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  margin: 0 auto 1rem;
}
.brand-name { font-weight: bold; margin-bottom: 0.5rem; color: #333; }
.brand-type { color: #666; font-size: 0.9rem; }
/* --- Custom Colors for Brands --- */
.brand-1 { background: #99AD7A; color: #222; }
.brand-2 { background: #72BAA9; color: #222; }
.brand-3 { background: #AE2448; color: white; }
.brand-4 { background: #F26076; color: white; }
.brand-5 { background: #7A9BBF; color: #222; }
.brand-6 { background: #C4A86B; color: #222; }
.brand-7 { background: #7B6FA0; color: white; }
.brand-8 { background: #D4785A; color: white; }

/* Force text colors to contrast properly with the light backgrounds (1, 2, 5, 6) */
.brand-1 .brand-name, .brand-2 .brand-name, 
.brand-5 .brand-name, .brand-6 .brand-name { color: #111; }

.brand-1 .brand-type, .brand-2 .brand-type, 
.brand-5 .brand-type, .brand-6 .brand-type { color: #444; }

/* Force text colors to contrast properly with the dark backgrounds (3, 4, 7, 8) */
.brand-3 .brand-name, .brand-4 .brand-name, 
.brand-7 .brand-name, .brand-8 .brand-name { color: white; }

.brand-3 .brand-type, .brand-4 .brand-type, 
.brand-7 .brand-type, .brand-8 .brand-type { color: rgba(255,255,255,0.85); }

/* Update the Logo Circles so they look cohesive across all colors */
.brand-card .brand-logo {
  /* Use a semi-transparent dark/light overlay instead of a solid color */
  background: rgba(0, 0, 0, 0.15); 
  color: inherit; 
  border: 2px solid rgba(255, 255, 255, 0.3); 
}

/* Make the logo circles lighter on the dark cards so they stand out */
.brand-3 .brand-logo, .brand-4 .brand-logo, 
.brand-7 .brand-logo, .brand-8 .brand-logo {
  background: rgba(255, 255, 255, 0.2); 
}

/* --- Responsive Rules for Smaller Screens --- */
@media screen and (max-width: 992px) {
  .brand-card { 
    /* Show 2 cards at a time on tablets */
    flex: 0 0 calc((100% - 1.5rem) / 2); 
  }
}

@media screen and (max-width: 768px) {
  .brands-carousel-container { padding: 0 10px; }
  .brand-card { 
    /* Show 1 card at a time on mobile */
    flex: 0 0 100%; 
    scroll-snap-align: center; 
  }
  /* Hide arrows on mobile so they naturally swipe */
  #brand-prev, #brand-next { display: none; } 
}

@media (max-width: 480px) {
  .social-btn {
    width: 100%;
    justify-content: center;
  }
}

/* =========================================
   12. MEDIA QUERIES (RESPONSIVE)
   ========================================= */
@media (max-width: 1024px) {
  .footer-content {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav_container {
    flex-wrap: wrap;
    position: relative;
    z-index: 9999;
  }

  .nav_menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: rgb(209, 207, 192);
    flex-direction: column;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transform: translateY(-10px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    align-items: center;
    justify-content: flex-start;
    padding-top: 2rem;
  }

  .nav_menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    left: 0;
  }

  .nav_menu ul {
    margin: 0;
    padding: 10px 0;
    width: 100%;
  }

  .nav_menu ul li a {
    display: block;
    padding: 15px 20px;
  }

  .nav_menu_button {
    display: block;
    z-index: 10001;
  }

  .logo img {
    height: 60px;
  }

  .hero h1 { font-size: 2rem; }
  .hero-section { height: 60vh; margin: 10px; }
  .slide-content h1 { font-size: 2.5rem; }
  .slide-content p { font-size: 1.1rem; }
  
  .container { padding: 0 1rem; }
  .section-title { font-size: 2rem; }
  
  .about-section, .services-preview, .map-section, .contact-cta, 
  .services-section, .video-section, .brands-section, 
  .content-section, .contact-info, .contact-form, .hours-section, .cta-section {
    margin: 20px 10px;
    padding: 2rem 1rem;
  }

  .services-grid, .contact-content, .owner-section {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .hero-about h1, .hero-services h1, .hero-contact h1 {
    font-size: 2.5rem;
  }
  
  .hero-about p, .hero-services p, .hero-contact p {
    font-size: 1.1rem;
  }

  .owner-section { text-align: center; }
  .owner-info { text-align: center; }
  .owner-image { width: 200px; height: 200px; }
  
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  .stat-item { padding: 1.5rem 1rem; }

  .timeline::before { left: 20px; }
  .timeline-item {
    width: calc(100% - 60px);
    left: 60px !important;
    text-align: left;
  }
  .timeline-item .timeline-dot { left: -30px !important; }

  .service-categories { grid-template-columns: 1fr; }
  .category-card { padding: 2rem; }
  .process-timeline { flex-direction: column; gap: 2rem; }
  .process-timeline::before { display: none; }

  .cta-buttons { flex-direction: column; align-items: center; }
  .cta-btn { width: 100%; max-width: 300px; justify-content: center; }

  .footer-content {
    text-align: center; 
    grid-template-columns: 1fr; 
    gap: 30px; 
  }

  .contact-info li {
    justify-content: center;
  }

  .footer-section h3::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .footer { padding: 30px 0 15px 0; }
  .footer-section h3 { font-size: 18px; }
  .company-info .company-name { font-size: 20px; }
  .social-media { justify-content: center; }
  
  .companies-track { gap: 40px; }
  .company-logo { height: 60px; }
  .slide-arrows { top: 40%; }
  .services-list li::before{
    display: none;
  }
}

@media (max-width: 600px) {
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-section h3::after {
    left: 50%;
    transform: translateX(-50%);
  }
}

@media (max-width: 480px) {
  .nav_container {
    margin: 5px;
    padding: 15px;
  }
  
  .logo img {
    height: 50px;
    margin: 5px;
  }
  
  .nav_menu ul li a {
    font-size: 16px;
    padding: 12px 15px;
  }

  .footer-container {
    padding: 0 15px;
  }
  
  .footer-section {
    padding: 5px;
  }
  
  .social-media {
    flex-wrap: wrap;
    gap: 10px;
  }
}

/* =========================================
   13. VIDEO BENTO GALLERY SECTION
   ========================================= */
.video-gallery-section {
  padding: 60px 2vw; 
  background-color: var(--cream-light); 
  width: 100%;
  box-sizing: border-box;
}

.gallery-container {
  width: 100%; 
  margin: 0 auto;
}

.gallery-header-bar {
  border: 2px solid #333;
  border-radius: 20px;
  padding: 15px 30px;
  margin-bottom: 40px;
  text-align: right;
  max-width: 1200px; 
  margin-left: auto;
  margin-right: auto;
}

.gallery-header-bar h2 {
  margin: 0;
  font-size: 1.5rem;
  color: #333;
  text-transform: lowercase;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 15px; 
  grid-auto-flow: dense;
}

.bento-grid .item {
  border-radius: 20px;
  overflow: hidden;
  background: var(--primary-black);
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, z-index 0.3s ease;
}

.bento-grid .item:hover {
  transform: scale(1.01); 
  z-index: 10; 
  position: relative;
}

.bento-grid .size-2x2 { grid-column: span 2; grid-row: span 2; }
.bento-grid .size-2x1 { grid-column: span 2; grid-row: span 1; }
.bento-grid .size-1x2 { grid-column: span 1; grid-row: span 2; }
.bento-grid .size-1x1 { grid-column: span 1; grid-row: span 1; }

.bento-grid .item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  transition: filter 0.4s ease;
}

.bento-grid .item:hover video,
.bento-grid .item:active video {
  filter: blur(0);
}

@media screen and (max-width: 1024px) {
  .bento-grid {
    grid-auto-rows: 150px; 
  }
}

@media screen and (max-width: 768px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr); 
    grid-auto-rows: 180px;
  }
  .bento-grid .size-2x2 { grid-column: span 2; grid-row: span 2; }
  .bento-grid .size-2x1 { grid-column: span 2; grid-row: span 1; }
  .bento-grid .size-1x2 { grid-column: span 1; grid-row: span 2; }
  .bento-grid .size-1x1 { grid-column: span 1; grid-row: span 1; }
}

@media screen and (max-width: 480px) {
  .bento-grid {
    grid-template-columns: 1fr; 
    grid-auto-rows: 250px;
  }
  .bento-grid .size-2x2, 
  .bento-grid .size-2x1, 
  .bento-grid .size-1x2, 
  .bento-grid .size-1x1 {
    grid-column: span 1;
    grid-row: span 1;
  }
}

/* --- Desktop: Base Button Styles (Hidden) --- */
.slider-wrapper {
  position: relative; 
}

.slider-btn {
  display: none; /* Hidden on large screens */
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.6);
  color: white;
  border: none;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  z-index: 20;
  cursor: pointer;
  font-size: 1.2rem;
  transition: background 0.3s ease;
}

.slider-btn:hover { background: rgba(0, 0, 0, 0.9); }
.prev-btn { left: -10px; }
.next-btn { right: -10px; }


/* --- Mobile: Convert to Slider --- */
@media screen and (max-width: 480px) {
  .slider-btn {
    display: flex; /* Reveal buttons */
    align-items: center;
    justify-content: center;
  }

  .bento-grid {
    display: flex; /* Overrides CSS grid */
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory; /* Forces snapping to next video */
    scroll-behavior: smooth;
    gap: 10px;
    
    /* Hide scrollbar for a cleaner app-like feel */
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
  }
  
  .bento-grid::-webkit-scrollbar {
    display: none; /* Chrome, Safari and Opera */
  }

  .bento-grid .item, 
  .bento-grid .size-2x2, 
  .bento-grid .size-2x1, 
  .bento-grid .size-1x2, 
  .bento-grid .size-1x1 {
    flex: 0 0 100%; /* Force each video to take 100% of the screen width */
    height: 400px; /* Adjust this to fit your desired mobile aspect ratio */
    scroll-snap-align: center; /* Ensures it locks into place */
    grid-column: auto; /* Reset grid properties */
    grid-row: auto;
  }
}