.custom-banner-section {
  position: relative;
  background-size: cover;
  background-position: center;
  min-height: 70vh; 
  height: 70vh; 
  color: white;
  overflow: hidden;
}

.custom-banner-section::before {
    content: "";
    background: rgba(0,0,0,0.25);
    position: absolute;
    width: 100%;
    height: 100%;
}

.custom-banner-section .hp-slide__stats {
  position: absolute; 
  right: 0;
  margin-bottom: -400px;
  display: flex;
  gap: 40px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(15px);
  border-radius: 16px;
  padding: 20px 40px;
}

.custom-banner-section .hp-stat__value {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}

.custom-banner-section .hp-stat__label {
  font-size: 1rem;
  color: #f1f1f1;
  margin: 0;
}

@media (max-width: 991px) {
  .custom-banner-section .hp-slide__stats {
  display: none;
  }
}

.custom-banner-section .container {
  position: relative;
  z-index: 2;
}

.banner-title {
  font-size: 2.8rem;
  font-weight: 400;
  color: #fbfbff;
  font-family: "Michroma", sans-serif;
}
/* Make icons bigger */
[class^="icon-"]:before, [class*=" icon-"]:before {
  font-size: 1.5em; 
}


.icon-call:before {
  font-size: 2em; 
}

.icon-home:before {
  font-size: 2em; 
}
.icon-products:before{
  font-size: 2em;
}

.icon-affiliations:before{
  font-size: 2em;
}

.banner-content {
  padding-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 20px;
  border-bottom: 2px solid #ffffff;
  width: fit-content;
  flex-wrap: wrap;
}

.Quality-Title {
  display: flex;
  align-items: center;
  gap: 15px;
  border-bottom: 2px solid #ffffff;
  width: fit-content;
  flex-wrap: wrap;
}

.Quality-Title::before {
  content: '';
  width: 196px;
  height: 24px;
  background-image: url('https://promartafrica.com/wp-content/uploads/2025/08/Line-14.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  flex-shrink: 0;
}


@media (max-width: 991.98px) {
  .banner-title {
    font-size: 2.2rem;
    text-align: center;
  }

  .banner-content {
    justify-content: center;
    border-bottom: none; 
  }
}

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

.mission-section {
    background: #2F3690;
    color: white;
    height: 65vh;
}

.vision-section {
    background: #EC2227;
    color: white;
    height: 65vh;
    margin-top: 200px;
}

.focus-image img{
  border: 1px;
  border-radius: 20px;
  width: 100% ;  
  height: 600px; 
  object-fit: cover; 

}


.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
}

.section-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 160px !important;
}

.mission-description,
.vision-description {
  font-family: 'Ubuntu', sans-serif;
  font-weight: 300;
  font-size: 1.125rem;
  line-height: 1.6;
  text-align: justify;
}

.mission-tab.active, .vision-tab.active{
  border-bottom: 2px solid #ffffff !important;
} 

/* Medium screens (tablets) */
@media (max-width: 992px) {
  .mission-section,
  .vision-section {
    padding: 60px 0;
    text-align: center;
  }

  .mission-section .content-inner,
  .vision-section .content-inner {
    text-align: center !important;
  }

  .section-title {
    font-size: 2rem;
  }

  .mission-description,
  .vision-description {
    font-size: 1rem;
  }
}

/* Small screens (mobiles) */
@media (max-width: 576px) {
  .mission-section,
  .vision-section {
    padding: 40px 20px;
    margin-top: 60px;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .mission-description,
  .vision-description {
    font-size: 0.95rem;
  }
}


/* Our Brands Section Styles */
.brands-title {
  font-family: "Michroma", sans-serif;
  font-size: 2.5rem;
  font-weight: 600;
  color: #171614;
  text-align: left;
  position: relative;
}

.brand-card {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  border: 1px solid #e9ecef;
  height: 170px; 
}

.brand-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
  border-color: #dee2e6;
}

.brand-image-container {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.brand-image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.brand-card:hover .brand-image {
  transform: scale(1.05);
}

@media (max-width: 991.98px) {
  .brands-title {
    font-size: 2rem;
    text-align: center;
  }
}

@media (max-width: 767px) {
  .brand-card {
    height: 140px;
  }
  .brands-title {
    font-size: 1.8rem;
  }
}

@media (max-width: 575.98px) {
  .brand-card {
    height: 120px;
    padding: 15px;
  }
  .brands-title {
    font-size: 1.6rem;
  }
}

/* CONTACT US STYLES */
.Request-Title {
  display: flex;
  align-items: center;
  gap: 15px;
  width: fit-content;
  flex-wrap: wrap;
}
.Request-Title::before {
  content: '';
  width: 196px;
  height: 24px;
  background-image: url('https://promartafrica.com/wp-content/uploads/2025/08/Line-14.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  flex-shrink: 0;
}
.contact-section {
  background-color: #2F3690;
  min-height: 100vh;
  position: relative;
  overflow: visible;
  padding: 80px 0 120px;
}

.contact-form-wrapper {
  background: #fff;
  top: -150px;
  border-radius: 15px;
  padding: 40px 35px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  margin-right: 0;
  position: relative;
  z-index: 2;
}

.contact-form-wrapper .wpcf7-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-form-wrapper .wpcf7-form-control-wrap {
  width: 100%;
}

.contact-form-wrapper input[type="text"],
.contact-form-wrapper input[type="email"],
.contact-form-wrapper input[type="tel"],
.contact-form-wrapper textarea {
  width: 100%;
  padding: 15px 20px;
  border: 2px solid #f0f0f0;
  border-radius: 8px;
  font-size: 16px;
  font-family: inherit;
  transition: all 0.3s ease;
}

.contact-form-wrapper input[type="text"]:focus,
.contact-form-wrapper input[type="email"]:focus,
.contact-form-wrapper input[type="tel"]:focus,
.contact-form-wrapper textarea:focus {
  border-color: #2F3690;
  box-shadow: 0 0 0 3px rgba(47, 54, 144, 0.1);
}

.contact-form-wrapper input[type="text"]::placeholder,
.contact-form-wrapper input[type="email"]::placeholder,
.contact-form-wrapper input[type="tel"]::placeholder,
.contact-form-wrapper textarea::placeholder {
  color: #999;
  font-size: 16px;
}

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

.contact-form-wrapper input[type="submit"] {
  background: #2F3690;
  color: white;
  border: none;
  padding: 15px 40px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  align-self: flex-start;
  letter-spacing: 1px;
}

.contact-form-wrapper input[type="submit"]:hover {
  background: #1f245f;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(47, 54, 144, 0.3);
}

.contact-info {
  padding: 70px 30px;
 
}

.contact-header h2 {
  font-size: 48px;
  font-weight: 300;
  line-height: 1.2;
  margin-bottom: 60px;
  color: white;
  max-width: 90%;
}

.contact-details {
  margin-top: 40px;
}

.contact-item {
  margin-bottom: 30px;
}

.contact-item h3 {
  font-size: 24px;
  font-weight: 400;
  margin-bottom: 15px;
  color: white;
  font-family: inherit;
}

.contact-item p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.4;
  margin: 0;
}

.social-icons {
  display: flex;
  gap: 15px;
  margin-top: 10px;
}

.social-icon {
  width: 50px;
  height: 50px;
  background: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2F3690;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.social-icon:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}

.social-icon i {
  font-size: 20px;
}

.promart-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1;
  overflow: visible;
}

.promart-label span {
  display: block;
  font-size: 190px; 
  max-width: 100%;
  overflow: hidden;
  text-align: center;
  white-space: normal; 
  position: absolute;
  bottom: -50px;
  left: 50%;
  transform: translateX(-50%);
  color: transparent;
  -webkit-text-stroke: 2px rgba(255, 255, 255, 0.1);
  font-family: "Michroma", sans-serif;
}


/* ========================
   MOBILE RESPONSIVENESS
   ======================== */

@media (max-width: 991px) {
  .contact-section {
    padding: 40px 15px 70px;
  }

  .contact-form-wrapper {
    margin-bottom: 35px;
    padding: 25px 20px;
    top: 0;
  }

  .contact-info {
    padding: 15px;
    text-align: center;
  }

  .contact-header h2 {
    font-size: 26px;
    margin-bottom: 30px;
    max-width: 100%;
    line-height: 1.3;
  }

  .contact-details .row {
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }


  .contact-item {
    text-align: center;
    width: 100%;
  }

  .contact-item {
    margin-bottom: 20px;
  }

  .contact-item h3 {
    font-size: 18px;
    margin-bottom: 8px;
  }

  .contact-item p {
    font-size: 15px;
    line-height: 1.5;
  }

  .social-icons {
    justify-content: center;
    gap: 10px;
  }

  .social-icon {
    width: 40px;
    height: 40px;
  }

  .social-icon i {
    font-size: 17px;
  }

  .promart-label span {
    font-size: 90px;
    bottom: -25px;
    letter-spacing: 5px;
  }
}

@media (max-width: 575px) {
  .contact-section {
    padding: 30px 10px 50px;
  }

  .contact-form-wrapper {
    margin-bottom: 20px;
    padding: 20px 15px;
  }

  .contact-header h2 {
    font-size: 22px;
    margin-bottom: 20px;
  }

  .contact-item h3 {
    font-size: 16px;
  }

  .contact-item p {
    font-size: 14px;
  }

  .social-icons {
    gap: 8px;
  }

  .social-icon {
    width: 34px;
    height: 34px;
  }

  .social-icon i {
    font-size: 15px;
  }

  .promart-label span {
    font-size: 65px;
    bottom: -15px;
    letter-spacing: 3px;
  }
}

@media (max-width: 400px) {
  .contact-header h2 {
    font-size: 20px;
    margin-bottom: 18px;
  }

  .contact-item h3 {
    font-size: 15px;
  }

  .contact-item p {
    font-size: 13px;
  }

  .social-icon {
    width: 30px;
    height: 30px;
  }

  .social-icon i {
    font-size: 13px;
  }

  .promart-label span {
    font-size: 50px;
    bottom: -10px;
    letter-spacing: 2px;
  }
}
 
.map-section {
  margin-top: 3rem !important;
  width: 100%;
  position: relative;
}

.map-container {
  width: 100%;
  height: 500px;
  position: relative;
  overflow: hidden;
  border-radius: 20px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

@media (max-width: 768px) {
  .map-container {
    height: 300px;
  }
}

@media (max-width: 480px) {
  .map-container {
    height: 340px;
  }
}

/*PRODUCTS STYLES*/
.products-section h4 {
  font-weight: 400;
  display: flex;
  align-items: center;
  gap: 15px;
  width: fit-content;
  flex-wrap: wrap;
}

.products-section h4::before{
  content: '';
  width: 196px;
  height: 24px;
  background-image: url('https://promartafrica.com/wp-content/uploads/2025/08/Line-14.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  flex-shrink: 0;
}

/* Sort By Button */
#sortToggle {
  font-family: 'Ubuntu', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 0;
  padding: 6px 14px;
}

/* Dropdown */
.dropdown-wrapper {
  position: relative;
  display: inline-block;
}

.sort-dropdown {
  position: absolute;
  top: 100%; 
  left: 0;
  z-index: 1000;
  background: #fff;
  border-radius: 10px;
  max-width: 250px;
  min-width: 180px;
  width: max-content;
  white-space: normal;
  word-break: break-word;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: all 0.6s ease;
}

/* Dropdown list styling */
.sort-dropdown ul li {
  padding: 10px 0;
  border-bottom: 1px solid #eee;
}
.sort-dropdown ul li:last-child {
  border-bottom: none;
}
.sort-dropdown ul li a {
  text-decoration: none;
  color: #333;
  font-size: 0.95rem;
  display: block;
}
.sort-dropdown ul li a:hover {
  color: #c00;
  font-weight: 500;
}

/* Product Card */
.card-title {
  font-family: 'Michroma', sans-serif;
  font-weight: 400;
}

.product-card {
  border-radius: 20px; 
  overflow: hidden; 
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15); 
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
  padding: 20px;
}

.product-card:hover {
  transform: translateY(-5px);
  border: 2px solid;
  border-color: #c9a227;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}

.product-card img {
  width: 100%;
  transition: transform 0.3s ease;
}

.pro-image {
    background: transparent;
    padding: 40px;
    height:300px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.product-card .card-body {
  padding: 15px;
  flex-grow: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  text-align: center;
}

.product-card .card-title {
  font-family: 'Michroma', sans-serif;
  font-weight: 400;
  font-size: 22px; 
  margin-bottom: 5px;
}

.product-card .stars {
  font-size: 1.1rem;
  letter-spacing: 3px;
  margin-top: 5px;
}

/* Slider layout */
.slider-wrapper {
  overflow: hidden;
  position: relative;
}

.slider-track {
  display: flex;
  transition: transform 0.5s ease;
  will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
  .slider-track {
    transition: none;
  }
}

.product-slide {
  flex: 0 0 100%;
  width: 100%;
  max-width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start; 
  align-content: flex-start; 
  gap: 24px; 
  padding: 0 12px;
  box-sizing: border-box;
  min-height: 550px; 
}

.product-col {
  flex: 0 0 calc(33.333% - 24px); 
  max-width: calc(33.333% - 24px);
  display: flex;
  justify-content: center;
  align-items: flex-start; 
  height: auto; 
}

@media (max-width: 992px) {
  .product-col {
    flex: 0 0 calc(50% - 24px); 
    max-width: calc(50% - 24px);
  }
}

@media (max-width: 576px) {
  .product-col {
    flex: 0 0 100%; 
    max-width: 100%;
  }

  .product-slide {
    gap: 16px; 
  }
}
/* Pagination */
.custom-pagination .arrow-link:disabled{
  opacity: 0.4;
  pointer-events: none;
}

.custom-pagination {
  margin-top: 1rem;
  border: 2px solid #000;
  border-radius: 999px;
  padding: 10px 10px;    
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.arrow-link {
  color: #dc3545;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.1s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
}

.arrow-link svg {
  width: 20px;
  height: 20px;
  fill: #dc3545;
  transition: fill 0.2s ease, transform 0.1s ease;
}

.arrow-link:hover svg {
  fill: #b02a37;
  transform: scale(1.1);
}

.arrow-link:active svg {
  transform: scale(0.95);
}


/* =====ABOUT US FOCUS SECTION STYLES ===== */
.focus-section {
  background-color: #2F3690;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.focus-image-wrapper {
  margin-top: -100px; 
  z-index: 2;
}

.focus-image {
  width: 100%;
  border-radius: 20px;   
  box-shadow: 0 8px 20px rgba(0,0,0,0.3); 
}

.focus-content {
  color: #fff;
}

.focus-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 25px;
}

.focus-points {
  margin-bottom: 20px;
}

.focus-point {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 8px;
}

.focus-point .point-number {
  font-weight: bold;
  margin-right: 6px;
}

.focus-payoff {
  font-size: 17px;
  font-weight: 600;
  margin-top: 20px;
}


/* AFFILIATIONS STYLES */
.affiliations-container {
    text-align: center;
}
.affiliations-head, .rewards-head {
  color: #171614;
}
.affiliation-card {
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-radius: 16px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    position: relative;
    backdrop-filter: blur(10px);
}

.affiliation-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.affiliation-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.12),
        0 8px 16px rgba(0, 0, 0, 0.08),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    border-color: rgba(0, 0, 0, 0.12);
}

.affiliation-card:hover::before {
    opacity: 1;
}

.affiliation-card:active {
    transform: translateY(-8px) scale(1.01);
    transition: all 0.15s ease;
}


.Our-focus-listing{
  font-family: 'Ubuntu', sans-serif ;
  font-weight: 300;
  font-size: 18px;
}
/* Enhanced image styling */
.affiliation-card img {
    transition: transform 0.4s ease, filter 0.3s ease;
    width: 100%;
    height: auto;
    display: block;
}

.affiliation-card:hover img {
    transform: scale(1.05);
    filter: brightness(1.1) contrast(1.05);
}

/* Text content styling */
.affiliation-card h3,
.affiliation-card .card-title {
    transition: color 0.3s ease;
    font-weight: 600;
    color: #171614;
}

.affiliation-card:hover h3,
.affiliation-card:hover .card-title {
    color: #171614;
}

/* Glow effect for awards/badges */
.affiliation-card:hover .badge,
.affiliation-card:hover .award-badge {
    box-shadow: 0 0 20px rgba(52, 152, 219, 0.3);
    animation: gentle-pulse 2s ease-in-out infinite;
}

@keyframes gentle-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Responsive enhancements */
@media (max-width: 768px) {
    .affiliation-card:hover {
        transform: translateY(-8px) scale(1.01);
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
    }
}

/* Focus states for accessibility */
.affiliation-card:focus {
    outline: none;
    box-shadow: 
        0 0 0 3px rgba(52, 152, 219, 0.3),
        0 8px 16px rgba(0, 0, 0, 0.1);
}

.affiliation-card:focus-visible {
    outline: 2px solid #3498db;
    outline-offset: 2px;
}

.fw-bold {
    font-size: 2.8rem !important;
    font-weight: 400 !important;
    color: #fbfbfb;
    font-family: "Michroma", sans-serif !important;
}

.display-4 .fw-bold{
  color: #fbfbfb !important;
}

.taxonomy-banner-section p {
    color: #fbfbff;
}

.mt-4 .fw-bold {
    color: #171614 !important;
}

.featured-products-section .product-card {
    background: rgba(255, 255, 255, 0.55) !important;
    backdrop-filter: blur(15px) !important;
}

.featured-text{
  font-family: "Ubuntu", sans-serif;
  font-size: 1.1rem;
  font-weight: 300;
}



:root {
    --primary-red: #EC2227;
    --primary-blue: #2F3690;
    --text-dark: #333333;
    --text-light: #666666;
    --bg-light: #f8f9fa;
    --shadow-light: rgba(0, 0, 0, 0.1);
    --shadow-medium: rgba(0, 0, 0, 0.15);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: #ffffff;
}

.gallery-container {
    min-height: 100vh;
    padding: 0;
}

.gallery-header {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.gallery-header::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23000" opacity="0.02"/><circle cx="75" cy="75" r="1" fill="%23000" opacity="0.02"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

.gallery-title-section {
    position: relative;
    z-index: 2;
    padding-left: 30px;
}

.gallery-main-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.title-underline {
    width: 80px;
    height: 6px;
    background: linear-gradient(135deg, var(--primary-red), #ff4449);
    border-radius: 3px;
    position: relative;
    box-shadow: 0 2px 8px rgba(236, 34, 39, 0.3);
}

.title-underline::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--primary-red), #ff4449);
    border-radius: 5px;
    z-index: -1;
    opacity: 0.3;
    filter: blur(4px);
}

.header-image-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px var(--shadow-medium);
    transform: perspective(1000px) rotateY(-5deg);
    transition: var(--transition);
}

.header-image-container:hover {
    transform: perspective(1000px) rotateY(0deg) translateY(-5px);
    box-shadow: 0 25px 50px var(--shadow-medium);
}

.header-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: var(--transition);
}

.header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(47, 54, 144, 0.1), rgba(236, 34, 39, 0.1));
    opacity: 0;
    transition: var(--transition);
}

.header-image-container:hover .header-overlay {
    opacity: 1;
}

.gallery-grid-section {
    padding: 80px 15px;
    max-width: 1400px;
}

.gallery-slider-container {
    position: relative;
    overflow: hidden;
}

.slider-track {
    position: relative;
}

.gallery-slide {
    display: none;
    width: 100%;
}

.gallery-slide.active {
    display: block;
}

.gallery-item-wrapper {
    margin-bottom: 50px;
    padding: 0 15px;
}

.gallery-item {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px var(--shadow-light);
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    height: 100%;
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px var(--shadow-medium);
}

.gallery-image-container {
    position: relative;
    overflow: hidden;
    height: 280px;
}

.gallery-featured-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover .gallery-featured-image {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(47, 54, 144, 0.8), rgba(236, 34, 39, 0.8));
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: var(--transition);
    backdrop-filter: blur(2px);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-icon {
    font-size: 3rem;
    color: #ffffff;
    margin-bottom: 10px;
    animation: pulse 2s infinite;
}

.gallery-count {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

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

.gallery-info {
    padding: 30px;
    position: relative;
}

.gallery-info-line {
    width: 50px;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-blue), #4054b2);
    margin-bottom: 20px;
    border-radius: 2px;
    position: relative;
}

.gallery-info-line::after {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    background: linear-gradient(135deg, var(--primary-blue), #4054b2);
    border-radius: 3px;
    z-index: -1;
    opacity: 0.3;
    filter: blur(2px);
}

.gallery-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
    line-height: 1.3;
    transition: var(--transition);
}

.gallery-item:hover .gallery-title {
    color: var(--primary-blue);
}

.gallery-date {
    color: var(--text-light);
    font-size: 0.95rem;
    margin: 0;
    font-weight: 500;
}

.arrow-link {
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    margin: 0 10px;
    border-radius: 50%;
    background-color: #f8f9fa;
    transition: all 0.3s ease;
}

.arrow-link.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.gallery-modal .modal-dialog {
    max-width: 100vw; 
    width: 100vw; 
    height: 100vh;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-modal .modal-content {
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
    width: 100%;
    height: 100%;
    position: relative;
}

.modal-backdrop.fade.show {
    opacity: 1;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(20px) brightness(0.9);
    transition: all 0.6s ease;
}

.gallery-modal .modal-header {
    position: absolute;
    top: 40px;
    right: 40px;
    z-index: 1070;
    border: none;
    padding: 0;
    background: none;
}

.gallery-modal .btn-close-white {
    position: static;
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.7);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    opacity: 1;
}

.gallery-modal .btn-close-white:before {
    content: "✕";
    color: white;
    font-size: 18px;
    font-weight: 300;
    line-height: 1;
}

.gallery-modal .btn-close-white:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
    transform: scale(1.1) rotate(90deg);
}

.gallery-modal .modal-body {
    padding: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    overflow: hidden;
}

.gallery-modal-container {
    width: 100%;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    min-height: 0;
}

.gallery-image-display {
    width: 100%;
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 20px;
    box-sizing: border-box;
    min-height: 0;
}

#workingModalImage {
    max-width: 95%;
    max-height: 95%;
    object-fit: contain;
    border-radius: 16px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.1);
    animation: imageFadeIn 0.6s ease forwards;
    opacity: 1;
    transform: scale(1);
    transition: opacity 0.3s ease-in-out;
}

.gallery-navigation {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 60px;
    pointer-events: none;
    z-index: 10;
}

.nav-btn {
    width: 70px;
    height: 70px;
    background: rgba(0, 0, 0, 0.6);
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    color: white;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(15px);
    position: relative;
    overflow: hidden;
}

.nav-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s;
}

.nav-btn:hover::before {
    left: 100%;
}

.nav-btn:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    transform: scale(0.9);
}

.nav-btn i {
    font-size: 20px;
    z-index: 1;
}

.gallery-modal-info {
    position: relative;
    bottom: auto;
    left: auto;
    transform: none;
    width: auto;
    min-width: 320px !important;
    max-width: min(85%, 550px) !important;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(25px) saturate(180%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 26px 34px;
    border-radius: 22px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5), 0 12px 24px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.12);
    animation: slideUpFadeIn 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    z-index: 1060;
    color: #ffffff;
    margin: 20px 0;
    flex-shrink: 0;
}

#workingModalTitle {
    font-size: 1.6rem;
    font-weight: 500;
    margin: 0;
    color: #ffffff;
    letter-spacing: 0.2px;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.6), 0 1px 3px rgba(0, 0, 0, 0.8);
    line-height: 1.25;
    font-family: 'Ubuntu', sans-serif;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

#workingModalDate {
    font-family: "Michroma";
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.4);
}

.image-counter {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.98);
    background: rgba(255, 255, 255, 0.16);
    padding: 9px 18px;
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: inline-block;
    font-weight: 500;
    letter-spacing: 0.6px;
    margin-top: 6px;
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    cursor: default;
    user-select: none;
}

.image-counter:hover {
    background: rgba(255, 255, 255, 0.22);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.35);
}

.gallery-modal-info::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.06) 50%, rgba(255, 255, 255, 0.02) 100%);
    border-radius: 23px;
    z-index: -1;
    opacity: 0.8;
}

.gallery-modal-info.loading {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(15px) saturate(120%);
    -webkit-backdrop-filter: blur(15px) saturate(120%);
}

.gallery-modal-info.loading * {
    opacity: 0.7;
    animation: modalPulse 1.5s ease-in-out infinite;
}

@keyframes slideUpFadeIn {
    0% {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
        backdrop-filter: blur(0px) saturate(100%);
    }
    60% {
        opacity: 0.8;
        transform: translateY(-5px) scale(1.02);
    }
    100% {
        opacity: 1;
        transform: translateY(0px) scale(1);
        backdrop-filter: blur(25px) saturate(180%);
    }
}

@keyframes modalPulse {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 0.9; }
}

@keyframes imageFadeIn {
    to { opacity: 1; transform: scale(1); }
}

@media (min-width: 1200px) {
    .gallery-modal-info {
        padding: 18px 28px;
        max-width: 450px;
        margin: 30px 0;
    }
    
    #workingModalTitle {
        font-size: 1.3rem;
    }
    
    #workingModalDate {
        font-size: 0.8rem;
    }
    
    .image-counter {
        font-size: 0.75rem;
        padding: 7px 14px;
    }
}

@media (max-width: 1024px) {
    .gallery-modal-info {
        padding: 16px 24px;
        max-width: 380px;
        min-width: 260px;
        margin: 25px 0;
    }
    
    #workingModalTitle {
        font-size: 1.1rem;
    }
    
    #workingModalDate {
        font-size: 0.75rem;
    }
    
    .image-counter {
        font-size: 0.7rem;
        padding: 6px 12px;
    }
    
    .gallery-navigation { 
        padding: 0 40px; 
    }
    
    .nav-btn { 
        width: 60px; 
        height: 60px; 
        font-size: 20px; 
    }
}

@media (max-width: 768px) {
    .gallery-modal-info {
        padding: 14px 20px;
        max-width: 85%;
        min-width: 240px;
        border-radius: 14px;
        gap: 6px;
        margin: 20px 0;
    }
    
    #workingModalTitle {
        font-size: 1rem;
    }
    
    #workingModalDate {
        font-size: 0.7rem;
        letter-spacing: 0.8px;
    }
    
    .image-counter {
        font-size: 0.65rem;
        padding: 5px 10px;
        border-radius: 16px;
    }
    
    .gallery-navigation { 
        padding: 0 30px; 
    }
    
    .nav-btn { 
        width: 55px; 
        height: 55px; 
        font-size: 18px; 
    }
    
    .gallery-modal .modal-header { 
        top: 25px; 
        right: 25px; 
    }
    
    .gallery-modal .btn-close-white { 
        width: 45px; 
        height: 45px; 
    }
    
    .gallery-modal .modal-dialog {
        max-width: 95%;
        margin: 10px auto;
    }
}

@media (max-width: 480px) {
    .gallery-modal-info {
        padding: 12px 18px;
        max-width: 90%;
        min-width: 220px;
        gap: 5px;
        border-radius: 12px;
        margin: 15px 0;
    }
    
    #workingModalTitle {
        font-size: 0.9rem;
        line-height: 1.2;
    }
    
    #workingModalDate {
        font-size: 0.65rem;
        letter-spacing: 0.6px;
    }
    
    .image-counter {
        font-size: 0.6rem;
        padding: 4px 8px;
        border-radius: 14px;
        margin-top: 1px;
    }
    
    .gallery-navigation { 
        padding: 0 20px; 
    }
    
    .nav-btn { 
        width: 50px; 
        height: 50px; 
        font-size: 16px; 
    }
    
    .gallery-modal .modal-header { 
        top: 20px; 
        right: 20px; 
    }
    
    .gallery-modal .btn-close-white { 
        width: 40px; 
        height: 40px; 
    }
}

@media (max-width: 360px) {
    .gallery-modal-info {
        padding: 6px 12px;
        max-width: 95%;
        min-width: 180px;
        margin: 3px 0 8px 0;
        max-height: 70px;
    }
    
    #workingModalTitle {
        font-size: 0.8rem;
    }
    
    #workingModalDate {
        font-size: 0.55rem;
    }
    
    .image-counter {
        font-size: 0.5rem;
        padding: 2px 5px;
    }
    
    .gallery-image-display {
        height: calc(100vh - 90px);
        padding: 8px 8px 3px 8px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .gallery-modal-info {
        animation: none;
        transition: none;
    }
    
    .image-counter {
        transition: none;
    }
    
    .image-counter:hover {
        transform: none;
    }
}

@media (prefers-contrast: high) {
    .gallery-modal-info {
        background: rgba(0, 0, 0, 0.9);
        border: 2px solid rgba(255, 255, 255, 0.5);
    }
    
    .image-counter {
        background: rgba(255, 255, 255, 0.25);
        border: 2px solid rgba(255, 255, 255, 0.5);
    }
}
/* SCAN ME TO CHAT STYLES */
.scan-me-floating {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #fff;
  backdrop-filter: blur(8px);
  border-radius: 12px;
  padding: 12px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  z-index: 9999;
  width: 160px;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.scan-me-floating:hover {
  transform: translateY(-5px);
}

.scan-me-floating .scan-me-label {
  font-family: 'Ubuntu';
  font-size: 14px;
  font-weight: bold;
  color: #2F3690; 
  margin-bottom: 10px;
  text-align: center;
  line-height: 1.3;
}

.scan-me-floating img {
  display: block;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
}


/* ===========================
   VIDEO GALLERY PAGE STYLING
   =========================== */


.video-gallery .row {
  row-gap: 30px;
}

.video-card {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 10px 30px var(--shadow-light);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.video-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px var(--shadow-medium);
}

.video-wrapper {
  position: relative;
  overflow: hidden;
  height: 220px;
}

.video-card video.card-video {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  pointer-events: none;
  transition: var(--transition);
}

.video-card:hover video.card-video {
  transform: scale(1.1);
}

.play-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(47, 54, 144, 0.8), rgba(236, 34, 39, 0.8));
  opacity: 0;
  transition: var(--transition);
  backdrop-filter: blur(2px);
}

.video-wrapper:hover .play-overlay {
  opacity: 1;
}

.play-icon {
  font-size: 3rem;
  color: #ffffff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  animation: pulse 2s infinite;
}

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

.video-card .card-body {
  padding: 30px;
  text-align: center;
  position: relative;
  align-items: center;
}

.video-card .card-body::before {
  content: '';
  width: 50px;
  height: 4px;
  background: linear-gradient(135deg, var(--primary-blue), #4054b2);
  margin: 0 auto 20px;
  border-radius: 2px;
  position: relative;
  display: block;
}

.video-card .card-body::before::after {
  content: '';
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  bottom: -1px;
  background: linear-gradient(135deg, var(--primary-blue), #4054b2);
  border-radius: 3px;
  z-index: -1;
  opacity: 0.3;
  filter: blur(2px);
}

.video-card .card-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
  line-height: 1.3;
  transition: var(--transition);
}

.video-card:hover .card-title {
  color: var(--primary-blue);
}

.video-card .card-date {
  color: var(--text-light);
  font-size: 0.95rem;
  margin: 0;
  font-weight: 500;
}

.card-date{
  text-align: center !important;

}

/* Modal Styles - Enhanced */
#videoModal-backdrop.fade.show {
  opacity: 1;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(20px) brightness(0.8);
  transition: all 0.6s ease;
}

#videoModal .modal-content {
  border-radius: 20px;
  border: none;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

#videoModal .modal-header {
  border-bottom: 1px solid #eee;
  padding: 20px 25px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  position: relative;
}

#videoModal .modal-header::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 25px;
  width: 60px;
  height: 3px;
  background: linear-gradient(135deg, var(--primary-red), #ff4449);
  border-radius: 2px;
}

#videoModal .modal-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-dark);
}

#videoModal .modal-body {
  padding: 0;
  background: #000;
  position: relative;
  overflow: hidden;
}

#videoModal video {
  width: 100%;
  height: 500px;
  display: block;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .video-wrapper {
    height: 180px;
  }
  
  .video-card video.card-video {
    height: 180px;
  }
  
  #videoModal video {
    height: 300px;
  }
  
  .play-icon {
    font-size: 2.5rem;
  }
  
  .video-card .card-body {
    padding: 20px 15px;
  }
  
  .video-card .card-title {
    font-size: 1.2rem;
  }
}

.footer-pro-logo{
  width: 200px;
  height: 200px;
}


.footer-logo{
  display: flex;
  justify-content: center;
}


/* BRANDS STYLING */
/* Animate the whole section when it appears */
.Associated {
  margin-top: 3rem;
  opacity: 0;
  transform: translateY(40px);
  animation: fadeUp 1s ease-out forwards;
  margin-bottom: 1rem !important;
}

/* Smooth entrance keyframe */
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


.Associated img {
  border: 1px solid #ddd;
  border-radius: 20px;
  opacity: 0;
  transform: translateX(-60px);
  animation: slideInLeft 1s ease-out forwards;
}

@keyframes slideInLeft {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.Associated img:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.CroxyHead {
  margin-bottom: 1rem;
}

.OtopadGroup{
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.otopad-second-section{
  margin-bottom: 2rem;
}

.sasol-group{
  margin-top: 3rem;
}

.media-img img{
  border: 1px;
  border-radius: 20px;
}

.top-block-strobe{
  margin-top: 1rem;
  margin-bottom: 1rem !important;
}

/* Footer Font Correction */
.col-md-3 p, 
.col-md-3 a {
  font-family: inherit !important;   
  font-weight: inherit !important;   
  font-size: inherit !important;
}
