/**
 * BRAND PROFILE CODEBASE: INFINITY WEALTH CONSULTING
 * ARCHITECTURE: MODERN PREMIUM CORPORATE / VASILI AFRICA STYLE
 * PRIMARY PALETTE: CHARCOAL GRAY, BLACK, WHITE
 * ACCENT: BRAND GOLD DARK (HOVERS & SECTOR HIGHLIGHTS ONLY)
 */

/*=== BRAND COLOR PALETTE VARIABLES ===*/
:root {
  /* Primary Pillars */
  --primary-white: #ffffff;      
  --primary-black: #000000;
  --charcoal-dark: #1c1c1c;       /* Deep premium charcoal */
  --charcoal-medium: #2e2e2e;     /* Mid-tone charcoal for dark sections */
  --charcoal-light: #4a4a4a;      /* Light border/boundary charcoal */
  
  /* Secondary Accent (Minimal Highlights & Hovers) */
  --brand-gold-dark: #c69a4b;    
  --brand-gold-light: #dfb160;   
  
  /* Typography Accessibility Colors */
  --text-dark-main: #111111;     
  --text-dark-muted: #555555;     
  --text-white: #ffffff;         
  --text-muted: #e5e5e5;          
}

/*=== IMPORT PREMIUM WEB FONTS (SWITCHED TO MOOLI) ===*/
@import url("https://fonts.googleapis.com/css2?family=Mooli&display=swap");

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
  scroll-padding-top: 100px; 
}

body {
  line-height: 1.65;
  font-family: "Mooli", sans-serif; 
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 15px; 
  color: var(--text-dark-muted);
  background-color: var(--primary-white);
}

/* Base Headings - Clean Modern Corporate Approach */
h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6 {
  font-family: "Mooli", sans-serif;
  font-weight: 600; 
  color: var(--text-dark-main);
  letter-spacing: -0.01em; 
  text-transform: none;
}

/* Elegantly balanced heading footprints */
h1, .h1 { font-size: 2.3rem; line-height: 1.3; font-weight: 600; letter-spacing: -0.015em; }
h2, .h2 { font-size: 1.85rem; line-height: 1.35; font-weight: 600; }
h3, .h3 { font-size: 1.4rem; line-height: 1.4; font-weight: 500; }
h4, .h4 { font-size: 1.2rem; font-weight: 500; }
h5, .h5 { font-size: 1.05rem; font-weight: 500; }
h6, .h6 { font-size: 0.85rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; }

p {
  font-family: "Mooli", sans-serif;
  line-height: 1.7;
  color: var(--text-dark-muted);
  font-weight: 400;
}

/*=== COMPLETELY INDEPENDENT FIXED NAVIGATION STRATEGY ===*/
header.navigation {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transform: translateY(-100%); 
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1); 
  pointer-events: auto;
}

/* 1. Top Utility Info Bar */
header.navigation .header-top {
  position: relative;
  z-index: 1005;
}

/* 2. Independent Brand Logo Ribbon */
header.navigation .logo-ribbon {
  background: rgba(28, 28, 28, 0.98);
  backdrop-filter: blur(10px);
  padding: 15px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  position: absolute;
  top: 100%; 
  left: 0;
  width: 100%;
  z-index: 1003;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

/*=== INCREASE NAVIGATION LOGO VISIBILITY ===*/
header.navigation .brand-ribbon-logo {
  max-height: 75px; 
  width: auto;
  transition: transform 0.3s ease;
}

/* 3. Primary Slide-Down Navbar */
header.navigation #navbar {
  position: absolute;
  top: 100%; 
  left: 0;
  width: 100%;
  background: var(--charcoal-dark);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  z-index: 1002;
  transform: translateY(0); 
  opacity: 1;
  visibility: visible;
}

/* === NEW SCROLL DYNAMICS VIA CLASS INJECTION === */
header.navigation.scroll-active {
  transform: translateY(0);
}

header.navigation.scroll-active .logo-ribbon {
  opacity: 0;
  visibility: hidden;
}

/* Mobile responsive resets */
@media (max-width: 991px) {
  header.navigation {
    position: relative;
    transform: none !important;
  }
  header.navigation .logo-ribbon,
  header.navigation #navbar {
    position: relative;
    top: 0;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
}

/*=== PREMIUM AESTHETIC MAP STRATEGY ===*/
.contact-form-wrap.section {
  padding-bottom: 20px !important; 
}

.google-map {
  padding: 0 40px; 
  background-color: var(--primary-white);
  margin-bottom: 40px; 
}

.google-map .map-frame-wrapper {
  overflow: hidden;
  border-radius: 16px; 
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05); 
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.google-map iframe {
  display: block;
  filter: grayscale(100%) contrast(1.1) brightness(0.95); 
  transition: filter 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.google-map .map-frame-wrapper:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(198, 154, 75, 0.12); 
}

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

@media (max-width: 768px) {
  .google-map {
    padding: 0 20px;
    margin-bottom: 20px;
  }
}

/* === THE HOVER TRIGGERS === */
header.navigation:hover .logo-ribbon {
  opacity: 0;
  visibility: hidden;
}

header.navigation:hover #navbar {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

/*=== SEAMLESS SEQUENTIAL HERO WINDOW SYSTEM ===*/
.slider-wrapper.static-hero-bg {
  position: relative;
  height: 100vh;
  width: 100%;
  background-image: url('../images/bg/home-1.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.slider-wrapper.static-hero-bg::before {
  content: "";
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.65);
  z-index: 1;
}

#global-slider-curtain {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(28, 28, 28, 0.55); 
  backdrop-filter: blur(8px);
  z-index: 10;
  pointer-events: none;
  transform: translateX(-100%);
  opacity: 0;
}

#global-slider-curtain .global-curtain-logo {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background-image: url('../images/toplogo-removebg-preview.png');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 280px auto; 
}

.text-carousel-only {
  position: relative;
  z-index: 2;
  height: 100vh;
}
.text-carousel-only .slider-item {
  height: 100vh;
  display: flex !important;
  align-items: center;
  background: transparent !important;
  outline: none;
}

.text-carousel-only .slider-item .block {
  opacity: 0;
  transition: opacity 0.5s ease;
}

.text-carousel-only .slider-item[data-direction="left-to-right"] .block {
  transform: translateX(-60px);
}
.text-carousel-only .slider-item[data-direction="right-to-left"] .block {
  transform: translateX(60px);
}

.text-carousel-only .slider-item .block span,
.text-carousel-only .slider-item .block h1,
.text-carousel-only .slider-item .block .btn {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s cubic-bezier(0.25, 1, 0.5, 1), transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.text-carousel-only .slider-item.slick-active .block {
  opacity: 1;
  transform: translateX(0);
  transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.8s ease;
  transition-delay: 1.1s; 
}

.text-carousel-only .slider-item.slick-active .block span,
.text-carousel-only .slider-item.slick-active .block h1,
.text-carousel-only .slider-item.slick-active .block .btn {
  opacity: 1;
  transform: translateY(0);
}

.text-carousel-only .slider-item.slick-active .block span { transition-delay: 1.25s; }
.text-carousel-only .slider-item.slick-active .block h1   { transition-delay: 1.40s; }
.text-carousel-only .slider-item.slick-active .block .btn  { transition-delay: 1.55s; }

.text-carousel-only .slider-item:not(.slick-active) {
  opacity: 0;
  transition: opacity 0.4s linear;
  pointer-events: none;
}

@keyframes sweepLeftRight {
  0% { transform: translateX(-100%); opacity: 0; }
  15% { opacity: 1; }
  50% { transform: translateX(0); opacity: 1; }
  85% { opacity: 1; }
  100% { transform: translateX(100%); opacity: 0; }
}

@keyframes sweepRightLeft {
  0% { transform: translateX(100%); opacity: 0; }
  15% { opacity: 1; }
  50% { transform: translateX(0); opacity: 1; }
  85% { opacity: 1; }
  100% { transform: translateX(-100%); opacity: 0; }
}

.curtain-sweep-right {
  animation: sweepLeftRight 1.4s cubic-bezier(0.76, 0, 0.24, 1) forwards;
}

.curtain-sweep-left {
  animation: sweepRightLeft 1.4s cubic-bezier(0.76, 0, 0.24, 1) forwards;
}

/* Contextual Typography inside Dark/Charcoal Sections */
.bg-gray, .section-dark, .section-alternate, .slider, .slider-wrapper, .cta, .cta-block, .latest-blog, .page-title, .footer, #navbar, .dropdown-menu {
  color: var(--text-muted);
}
.bg-gray h1, .bg-gray h2, .bg-gray h3, .bg-gray h4, .bg-gray h5, .bg-gray h6,
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4, .section-dark h5, .section-dark h6,
.section-alternate h1, .section-alternate h2, .section-alternate h3, .section-alternate h4, .section-alternate h5, .section-alternate h6,
.slider h1, .slider p, .slider-wrapper h1, .cta h2, .cta p, .page-title h1, .page-title p,
.latest-blog h2, .latest-blog p, .footer h1, .footer h4, .footer p {
  color: var(--text-white) !important;
}
.bg-gray p, .section-dark p, .section-alternate p {
  color: var(--text-muted) !important;
}

.navbar-toggle .icon-bar {
  background: var(--brand-gold-dark);
}

/* Input Fields Adjustments */
input[type=email], input[type=password], input[type=text], input[type=tel], .form-control {
  box-shadow: none;
  height: 45px;
  outline: none;
  font-size: 14px;
  background-color: #fafafa;
  border: 1px solid #dddddd;
  color: var(--text-dark-main);
  border-radius: 0;
}
.bg-gray input, .bg-gray .form-control, .section-dark input, .section-dark .form-control {
  background-color: #242424;
  border: 1px solid #555555;
  color: var(--text-white);
}
input[type=email]:focus, input[type=password]:focus, input[type=text]:focus, input[type=tel]:focus, .form-control:focus {
  box-shadow: none;
  border: 1px solid var(--brand-gold-dark) !important;
}

/* Clean Custom Minimal Utilities */
.text-gold, .text-color { color: var(--brand-gold-dark) !important; }
.text-black { color: var(--text-dark-main); }
.text-white { color: var(--text-white) !important; }
.text-muted { color: var(--text-dark-muted) !important; }
.bg-gray .text-black, .section-dark .text-black { color: var(--text-white); }
.text-sm { font-size: 14px; }
.text-md { font-size: 1.8rem; }
.text-lg { font-size: 2.8rem; }
.no-spacing { letter-spacing: 0px; }

.py-7 {
  padding: 5rem 0px; 
}

/* Buttons Architecture */
.btn {
  display: inline-block;
  font-family: "Mooli", sans-serif;
  font-size: 12px;
  font-weight: 500;
  padding: 13px 34px 11px;
  text-transform: uppercase;
  border-radius: 0;
  letter-spacing: 0.1em;
  transition: all 0.3s ease;
}
.btn.btn-icon i {
  font-size: 16px;
  vertical-align: middle;
  margin-right: 5px;
}
.btn:focus {
  outline: 0px;
  box-shadow: none;
}

.btn-main, .btn-small, .btn-transparent, .btn-gold-style {
  background: var(--charcoal-dark);
  color: var(--text-white) !important;
  border: 1px solid var(--charcoal-dark);
}
.btn-main:hover, .btn-small:hover, .btn-gold-style:hover {
  background: var(--brand-gold-dark);
  border-color: var(--brand-gold-dark);
  color: var(--text-white) !important; 
  box-shadow: 0px 4px 15px rgba(198, 154, 75, 0.25);
}

.btn-solid-border {
  border: 1px solid var(--charcoal-dark);
  background: transparent;
  color: var(--text-dark-main);
}
.bg-gray .btn-solid-border, .section-dark .btn-solid-border {
  color: var(--text-white);
  border-color: var(--text-white);
}
.btn-solid-border:hover {
  border: 1px solid var(--brand-gold-dark);
  background: var(--brand-gold-dark);
  color: var(--text-white) !important;
}

.btn-transparent {
  background: transparent;
  border: none;
  padding: 0;
  color: var(--charcoal-dark);
}
.btn-transparent:hover {
  background: transparent;
  color: var(--brand-gold-dark) !important;
}

.btn-large { padding: 20px 45px; }
.btn-small { padding: 10px 22px; font-size: 11px; }
.btn-round { border-radius: 4px; }
.btn-round-full { border-radius: 50px; }
.btn.active:focus, .btn:active:focus, .btn:focus { outline: 0; }

/*=== CLEAN SECTION AND PADDING STRUCTURE ===*/
.bg-gray {
  background: var(--charcoal-medium);
}
.section {
  padding: 80px 0; 
  background-color: var(--primary-white);
}
.section-alternate {
  padding: 80px 0; 
  background-color: var(--charcoal-dark);
}
.section-sm {
  padding: 50px 0; 
  background-color: var(--primary-white);
}

.bg-primary { background: var(--charcoal-dark); }
.bg-primary-dark { background: var(--charcoal-medium); }
.bg-primary-darker { background: var(--primary-black); }
.bg-dark { background: var(--primary-black); }

.bg-gradient {
  background-image: linear-gradient(145deg, rgba(255, 255, 255, 0.95) 0%, rgba(245, 245, 245, 0.95) 100%);
}
.bg-gray .bg-gradient {
  background-image: linear-gradient(145deg, rgba(28, 28, 28, 0.95) 0%, rgba(46, 46, 46, 0.95) 100%);
}

.section-title {
  margin-bottom: 50px; 
}
.section-title .title {
  font-size: 28px; 
  line-height: 36px;
}
.section-title p {
  font-family: "Mooli", sans-serif;
  font-weight: 400;
}

.subtitle {
  color: var(--brand-gold-dark);
  font-size: 13px;
  letter-spacing: 1px;
}

.overly, .hero-img, .cta, .slider, .page-title, .slider-wrapper .slider-item {
  position: relative;
}
.overly:before, .hero-img:before, .cta:before, .slider:before, .page-title:before, .slider-wrapper .slider-item::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0; right: 0;
  width: 100%; height: 100%;
  opacity: 0.6;
  background: var(--primary-black);
  z-index: 1;
}

.slider-wrapper .slider-item .container {
  position: relative;
  z-index: 2;
}

.overly-2, .latest-blog, .cta-block, .bg-counter {
  position: relative;
}
.overly-2:before, .latest-blog:before, .cta-block:before, .bg-counter:before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0; right: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.8);
}

/* Global Anchor Elements */
a {
  color: var(--charcoal-dark);
  text-decoration: none;
  transition: color 0.25s ease;
}
.bg-gray a, .section-dark a, .section-alternate a, #navbar a, .footer a {
  color: var(--text-white);
}
a:focus, a:hover {
  color: var(--brand-gold-dark) !important;
  text-decoration: none;
}
a:focus { outline: none; }

.content-title {
  font-size: 26px;
  line-height: 1.3;
}

/*=== REDUCED PAGE TITLE BANNER ===*/
.page-title {
  padding: 200px 0;               
  background-size: cover;        
  background-position: center;   
}

.page-title h1 {
  font-size: 2.0rem !important;  
  font-weight: 600 !important;
  margin-bottom: 8px !important; 
}

section.page-title {
  min-height: auto !important;
  scroll-snap-align: none !important;
}

/*=== IMMERSIVE FULL SCREEN HERO SLIDER ===*/
.slider-wrapper, .main-slider {
  height: 100vh;
  overflow: hidden;
}

.slider-wrapper .slider-item {
  height: 100vh; 
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  position: relative;
  z-index: 1;
}
.slider-wrapper .slider-item .block {
  padding: 50px 0; 
}
.slider-wrapper .slider-item h1 {
  font-family: "Mooli", sans-serif;
  font-size: 2.3rem; 
  font-weight: 600; 
  line-height: 1.25;
  color: #ffffff !important;
  letter-spacing: -0.015em;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
}
.slider-wrapper .slider-item h1 span {
  color: var(--text-white) !important;
  border-bottom: 2px solid var(--brand-gold-dark);
}
.slider-wrapper .slider-item .slider-caption {
  font-family: "Mooli", sans-serif;
  font-size: 13px;
  letter-spacing: 2px;
  font-weight: 500; 
  color: var(--text-muted) !important;
  text-transform: uppercase;
}

#wrapper-work {
  overflow: hidden;
  padding-top: 70px;
}
#wrapper-work ul li {
  width: 50%;
  float: left;
  position: relative;
}
#wrapper-work ul li img { width: 100%; height: 100%; }
#wrapper-work ul li .items-text {
  position: absolute;
  left: 0; top: 0; bottom: 0; right: 0;
  color: #fff;
  background: rgba(0, 0, 0, 0.7);
  padding-left: 44px;
  padding-top: 140px;
}
#wrapper-work ul li .items-text h2 {
  padding-bottom: 28px;
  padding-top: 75px;
  position: relative;
  color: #fff !important;
  font-weight: 600;
}
#wrapper-work ul li .items-text h2:before {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 75px; height: 3px;
  background: var(--brand-gold-dark);
}
#wrapper-work ul li .items-text p {
  padding-top: 30px;
  font-size: 15px;
  line-height: 27px;
  font-weight: 400;
  padding-right: 80px;
  color: var(--text-muted) !important;
}

/* Features Block */
#features-work {
  padding-top: 40px;
  padding-bottom: 50px;
  background-color: var(--charcoal-medium);
}
#features-work .block ul li {
  width: 19%;
  text-align: center;
  display: inline-block;
  padding: 30px 0px;
}

/* Ensure Carousel wrapper elements pass interactions down accurately */
.text-carousel-only .slider-item .block span,
.text-carousel-only .slider-item .block h1,
.text-carousel-only .slider-item .block .btn {
  opacity: 0;
  transform: translateY(30px) scale(0.98);
  transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

/*=== THE AESTHETIC CINEMATIC TIMED ENTRY EFFECTS ===*/
.text-carousel-only .slider-item.slick-active .block span,
.text-carousel-only .slider-item.slick-active .block h1,
.text-carousel-only .slider-item.slick-active .block .btn {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Sequenced Stagger Delays for high-end feel */
.text-carousel-only .slider-item.slick-active .block span {
  transition-delay: 0.3s;
}
.text-carousel-only .slider-item.slick-active .block h1 {
  transition-delay: 0.5s;
}
.text-carousel-only .slider-item.slick-active .block .btn {
  transition-delay: 0.7s;
}

/*=== NAVBAR NAVIGATION DESIGN ===*/
#navbar {
  background: var(--charcoal-dark);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
#navbar li { padding-left: 15px; }
@media (max-width: 992px) { #navbar li { padding-left: 0; } }
#navbar .nav-link {
  font-family: "Mooli", sans-serif;
  font-weight: 500; 
  color: var(--text-white);
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0.12em;
  transition: all 0.25s ease;
}
#navbar .nav-link:hover, #navbar .nav-link:focus, #navbar .active .nav-link {
  color: var(--brand-gold-dark);
}
#navbar .btn {
  padding: 10px 24px;
  color: var(--text-white);
  background: var(--charcoal-medium);
  border: 1px solid rgba(255, 255, 255, 0.15);
}
#navbar .btn:hover { background: var(--brand-gold-dark); color: var(--text-white) !important; border-color: var(--brand-gold-dark); }

.header-top {
  background: var(--primary-black);
  color: #b0b0b5;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.header-top .header-top-socials {
  border-right: 1px solid rgba(255, 255, 255, 0.05);
  padding: 12px 0px;
  margin-left: -8px;
}
.header-top .header-top-socials a {
  color: #b0b0b5;
  margin-right: 8px;
  font-size: 16px;
  padding: 0 8px;
}
.header-top .header-top-socials a:hover { color: var(--brand-gold-dark); }
.header-top .header-top-info { color: #b0b0b5; font-size: 15px; }
.header-top .header-top-info a span { color: #fff; }
.header-top .header-top-info a { margin-left: 35px; color: #b0b0b5; }

.navbar-toggler { padding: 0; font-size: 1.3rem; color: #fff; }
.navbar-brand { color: #fff; font-weight: 500; letter-spacing: 0.02em; font-size: 1.3rem; font-family: "Mooli", sans-serif; }
.navbar-brand span { color: var(--brand-gold-dark); }

/* Dropdown Sub-menu */
.dropdown-menu {
  padding: 0px;
  border: 0;
  border-radius: 0px;
  background-color: var(--charcoal-medium);
}
@media (max-width: 992px) {
  .dropdown-menu { text-align: center; float: left !important; width: 100%; margin: 0; }
}
.dropdown-menu li:first-child { margin-top: 5px; }
.dropdown-menu li:last-child { margin-bottom: 5px; }
.dropdown-toggle::after { display: none; }
.dropdown-item {
  padding: 10px 20px;
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-white);
  transition: all 0.2s ease;
}

.dropdown-submenu.active > .dropdown-toggle, 
.dropdown-submenu:hover > .dropdown-item, 
.dropdown-item.active, 
.dropdown-item:hover {
  background: var(--brand-gold-dark) !important;
  color: var(--text-white) !important; 
}

@media (min-width: 992px) {
  .dropdown-menu {
    transition: all 0.2s ease-in, visibility 0s linear 0.2s, transform 0.2s linear;
    display: block; visibility: hidden; opacity: 0; min-width: 200px; margin-top: 15px;
  }
  .dropdown:hover > .dropdown-menu { visibility: visible; transition: all 0.45s ease 0s; opacity: 1; }
}

/* Background Sliders */
.bg-1 { background: url("../images/bg/supp.png") no-repeat 50% 50%; background-size: cover; }
.bg-2 { background: url("../images/bg/home-5.jpg"); background-size: cover; }
.slider {
  background: url("../images/bg/home-1.jpg") no-repeat;
  background-size: cover;
  background-position: center;
  padding: 160px 0; 
}

.intro-item i { font-size: 50px; color: var(--charcoal-dark); }

/*=== AMENDED FOUNDER / ABOUT SECTION ===*/
section.about {
  position: relative;
  overflow: visible;    
  padding: 100px 0;    
}

.bg-about {
  position: absolute;
  right: 80px;          
  top: 20px;            
  bottom: 40px;         
  width: 42%;           
  background: url("../images/about/mem1.png") no-repeat;
  background-size: cover;
  background-position: center center;
  border-radius: 24px;  
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06); 
}

/* Value Proposition Custom Styles */
.bg-logo-primary {
  background-color: var(--charcoal-dark) !important;
  border: 1px solid var(--charcoal-light);
}

.custom-block {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.custom-block h2::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background-color: var(--brand-gold-dark);
}

.tracking-wider {
  letter-spacing: 2px !important;
}

.text-white-50 {
  color: rgba(255, 255, 255, 0.6) !important;
}

/* --- LOGO INFINITE SLIDER (LEFT TO RIGHT) --- */
.logo-slider-wrapper {
  overflow: hidden;
  width: 100%;
  position: relative;
  padding: 5px 0 20px 0; 
}

.logo-slider-track {
  display: flex;
  width: max-content;
  gap: 80px; 
  animation: scrollRight 30s linear infinite; 
}

.slide-item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide-item img {
  height: 115px; 
  width: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.6;
  transition: all 0.3s ease;
}

.slide-item img:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.05); 
}

@keyframes scrollRight {
  0% {
    transform: translateX(calc(-50% - 30px)); 
  }
  100% {
    transform: translateX(0);
  }
}

@media (max-width: 991px) {
  .bg-about {
    position: relative;
    right: 0;
    top: 0;
    bottom: 0;
    width: 100%;
    height: 350px;
    margin-top: 40px;
    border-radius: 16px;
    display: block !important;
  }
}

/*=== TIGHTENED ABOUT SECTION TYPOGRAPHY ===*/
.about-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

.about-item .text-gold {
  margin-bottom: 4px !important; 
  display: inline-block;
}

.about-item .content-title {
  line-height: 1.2 !important;
  margin-top: 0 !important;
  margin-bottom: 15px !important; 
}

.about-content h4 {
  margin-bottom: 10px !important; 
  line-height: 1.35;
}

.about-content p {
  margin-bottom: 25px !important; 
}

.about-content { 
  padding: 20px 0px 0px 0px; 
}

.counter-item .counter-stat { font-size: 42px; color: var(--charcoal-dark); font-family: "Mooli", sans-serif; font-weight: 600; }
.bg-counter { background: url("../images/bg/counter.jpg") no-repeat; background-size: cover; }

/* Team Section */
.team-img-hover {
  position: absolute;
  top: 10px; left: 10px; right: 10px; bottom: 10px;
  display: flex align-items: center; justify-content: center;
  background: rgba(28, 28, 28, 0.8);
  opacity: 0; transition: all 0.2s ease-in-out; transform: scale(0.8);
}
.team-img-hover li a {
  display: inline-block; color: #fff; width: 50px; height: 50px; font-size: 20px; line-height: 50px;
  text-align: center; transition: all 0.3s ease-in-out;
}
.team-img-hover li a:hover { color: var(--brand-gold-dark); }
.team-item:hover .team-img-hover { opacity: 1; transform: scale(1); top: 0; left: 0; right: 0; bottom: 0; }

.service-item { position: relative; padding-left: 80px; }
.service-item i { position: absolute; left: 0px; top: 5px; font-size: 44px; color: var(--charcoal-dark); }

.cta { background: url("") fixed 50% 50%; background-size: cover; padding: 100px 0px; }
.cta-block { background: url("") no-repeat; background-size: cover; }

/* Testimonials */
.testimonial-item {
  padding: 40px 30px;
  background-color: #f9f9f9;
  border: 1px solid #eeeeee;
}
.bg-gray .testimonial-item, .section-alternate .testimonial-item {
  background-color: var(--charcoal-medium);
  border: none;
}
.testimonial-item i { font-size: 36px; position: absolute; left: 30px; top: 30px; z-index: 1; color: var(--brand-gold-dark); }
.testimonial-item .testimonial-text {
  font-size: 16px; line-height: 1.7;
  color: var(--text-dark-main);
  margin-bottom: 30px; font-style: italic;
}
.bg-gray .testimonial-item .testimonial-text, .section-alternate .testimonial-item .testimonial-text {
  color: var(--text-white);
}
.testimonial-item .testimonial-item-content { padding-left: 65px; }

.hero-img { background: url("../images/bg/home-5.jpg"); position: absolute; background-size: cover; width: 100%; height: 100%; top: 0px; }
.pricing-header h1 { font-size: 44px; font-weight: 600; font-family: "Mooli", sans-serif; }
.pricing .btn-solid-border { border-color: #dddddd; }
.bg-gray .pricing .btn-solid-border { border-color: #555555; }

/* Portfolio Layout */
.portflio-item .portfolio-item-content { position: absolute; right: 0px; bottom: 0px; opacity: 0; transition: all 0.35s ease; }
.portflio-item:before {
  position: absolute; content: ""; left: 0; top: 0; width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.8); opacity: 0; transition: all 0.35s ease; overflow: hidden;
}
.portflio-item:hover:before { opacity: 1; }
.portflio-item:hover .portfolio-item-content { opacity: 1; bottom: 20px; right: 30px; }
.portflio-item .overlay-item {
  position: absolute; left: 0; top: 0; bottom: 0; right: 0;
  display: flex; align-items: center; justify-content: center; font-size: 80px; color: var(--brand-gold-dark); opacity: 0; transition: all 0.35s ease;
}
.portflio-item:hover .overlay-item { opacity: 1; }

.contact-form-wrap .form-group { padding-bottom: 15px; margin: 0px; }
.contact-form-wrap .form-group-2 { margin-bottom: 13px; }
.contact-form-wrap .form-group-2 textarea { height: 135px; }

.address-block li i { font-size: 20px; width: 20px; color: var(--brand-gold-dark); }
.social-icons i { margin-right: 15px; font-size: 25px; }
.google-map #map { width: 100%; height: 450px; }

/* Blog Elements */
.blog-item-content h3 { line-height: 1.35; font-weight: 500; }
.blog-item-content h3 a { transition: all 0.4s ease 0s; color: var(--text-dark-main); }
.bg-gray .blog-item-content h3 a, .section-alternate .blog-item-content h3 a { color: var(--text-white); }

.tags a {
  background: #f5f5f5; display: inline-block; padding: 6px 20px; border-radius: 38px; margin-bottom: 10px; border: 1px solid #e0e0e0; font-size: 13px; color: var(--text-dark-muted);
}
.bg-gray .tags a, .section-dark .tags a {
  background: #242424; border: 1px solid #555555; color: var(--text-muted);
}
.tags a:hover { border-color: var(--brand-gold-dark) !important; color: var(--brand-gold-dark) !important; }

.pagination .nav-links a { font-size: 18px; font-weight: 500; color: #888; margin: 0 10px; }
.pagination .nav-links span.current, .pagination .nav-links a.next, .pagination .nav-links a.prev { color: var(--brand-gold-dark); }

h3.quote {
  font-size: 18px; line-height: 1.6; font-weight: 500; padding: 0px 25px 0px 85px; margin: 45px 0 !important; position: relative; color: var(--text-dark-main);
  font-family: "Mooli", sans-serif;
}
.bg-gray h3.quote, .section-dark h3.quote { color: var(--text-white); }
h3.quote::before { content: ""; width: 55px; height: 1px; background: var(--brand-gold-dark); position: absolute; top: 25px; left: 0; }

.latest-blog { position: relative; padding-bottom: 100px; }
.mt-70 { margin-top: -70px; }
.border-1 { border: 1px solid rgba(0, 0, 0, 0.08); }
.bg-gray .border-1 { border: 1px solid rgba(255, 255, 255, 0.08); }
.blog-item { border-bottom: 1px solid rgba(0, 0, 0, 0.08); }
.bg-gray .blog-item { border-bottom: 1px solid rgba(255, 255, 255, 0.08); }

/* Single Blog Page */
.single-blog {
  background-color: #f9f9f9; margin-bottom: 50px; padding: 20px; border: 1px solid #eeeeee;
}
.bg-gray .single-blog { background-color: var(--charcoal-medium); border: none; }
.blog-subtitle font-size: 14px; padding-bottom: 10px; border-bottom: 1px solid #ddd; margin-bottom: 25px; text-transform: uppercase; letter-spacing: 0.05em; }
.bg-gray .blog-subtitle { border-bottom: 1px solid #555555; }

.next-prev { border-bottom: 1px solid #ddd; border-top: 1px solid #ddd; margin: 20px 0; padding: 25px 0; }
.bg-gray .next-prev { border-bottom: 1px solid #555555; border-top: 1px solid #555555; }
.next-prev a { color: var(--text-dark-main); }
.bg-gray .next-prev a { color: var(--text-white); }

.comment-wrap {
  border: 1px solid #eee; border-radius: 1px; margin-left: 20px; padding: 10px; position: relative; background-color: #fafafa;
}
.bg-gray .comment-wrap { border: 1px solid #555555; background-color: #242424; }
.comment-wrap .media .media-heading a { color: var(--brand-gold-dark); font-size: 13px; }

.widget { margin-bottom: 30px; padding-bottom: 35px; }
.widget .widget-title { margin-bottom: 15px; padding-bottom: 10px; font-size: 15px; color: var(--text-dark-main); font-weight: 500; border-bottom: 1px solid #ddd; text-transform: uppercase; }
.bg-gray .widget .widget-title { color: var(--text-white); border-bottom: 1px solid #555555; }
.widget.widget-latest-post .media .media-heading a { color: var(--text-dark-main); font-size: 15px; }
.bg-gray .widget.widget-latest-post .media .media-heading a { color: var(--text-white); }
.widget.widget-category ul li a { color: var(--text-dark-muted); transition: all 0.3s ease; }
.bg-gray .widget.widget-category ul li a { color: var(--text-muted); }

/* Footer */
.footer { padding-bottom: 10px; background-color: var(--primary-black); }
.footer .copyright a { font-weight: 500; color: var(--brand-gold-dark); }
.logo { color: var(--text-white); font-weight: 500; letter-spacing: 0.02em; font-family: "Mooli", sans-serif; }
.logo span { color: var(--brand-gold-dark); }
.sub-form .form-control { border: 1px solid rgba(255, 255, 255, 0.08); background: #242424; color: #fff; }
.footer-btm { border-top: 1px solid rgba(255, 255, 255, 0.08); }
.footer-socials li a { margin-left: 15px; color: #b0b0b5; }
.footer-socials li a:hover { color: var(--brand-gold-dark); }

.scroll-to-top {
  position: fixed; bottom: 30px; right: 30px; z-index: 999; height: 40px; width: 40px; background: var(--brand-gold-dark);
  border-radius: 50%; text-align: center; line-height: 43px; color: var(--charcoal-dark); cursor: pointer; transition: 0.3s; display: none;
}
.scroll-to-top:hover { background-color: var(--brand-gold-light); color: var(--primary-black); }

/* Responsive Adjustments */
@media (max-width: 992px) {
  section.about { border: 1px solid #ddd; border-left: 0; border-right: 0; }
  .footer-socials { margin-top: 20px; }
  .footer-socials li a { margin-left: 0px; }
}
@media (max-width: 768px) {
  h3.quote { padding: 0 0 0 20px; }
  h3.quote::before { top: 5px; width: 2px; height: 35px; }
}
@media (max-width: 480px) {
  .content-title { font-size: 22px; line-height: 1.35; }
  h2, .h2 { font-size: 1.25rem; line-height: 1.35; }
}

/* Animations Core Structure */
.slider-item .block { overflow: hidden; }
.slider-item span, .slider-item h1, .slider-item .btn-gold-style { opacity: 0; transform: translateY(30px); transition: none; }
@keyframes slideUpFade { 0% { opacity: 0; transform: translateY(30px); } 100% { opacity: 1; transform: translateY(0); } }
.slider-item.slick-active span, .slider-item.slick-active h1, .slider-item.slick-active .btn-gold-style { animation: slideUpFade 0.75s cubic-bezier(0.215, 0.610, 0.355, 1.000) forwards; }
.slider-item.slick-active span { animation-delay: 0.5s; }
.slider-item.slick-active h1 { animation-delay: 0.75s; }
.slider-item.slick-active .btn-gold-style { animation-delay: 1.0s; }

section {
  position: relative;
  transform: translateZ(0);
  backface-visibility: hidden;
  will-change: transform;
}

.logo-slider-wrapper {
  contain: content;
  transform: translate3d(0, 0, 0);
}