:root {
  --primary-color: #041c23; /* Dark Teal from Image 1 */
  --secondary-color: #d8a049; /* Gold from Image 1 */
  --secondary-light: #eecf86; /* Lighter gold for gradients */
  --bg-light: #fcfaf5; /* Cream for sidebar */
  --text-dark: #333333;
  --text-light: #ffffff;
}

body {
  font-family: 'Outfit', sans-serif;
  background-color: var(--bg-light);
  color: var(--text-dark);
}

/* Global Utility Overrides */
.text-primary {
  color: var(--primary-color) !important;
}
.text-secondary {
  color: var(--secondary-color) !important;
}
.bg-primary {
  background-color: var(--primary-color) !important;
}
.bg-secondary {
  background-color: var(--secondary-color) !important;
}

.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--text-light);
}
.btn-primary:hover {
  background-color: #091f2c;
  border-color: #091f2c;
  color: var(--text-light);
}

.btn-secondary {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
  color: var(--text-dark);
  font-weight: 600;
}
.btn-secondary:hover {
  background-color: #d19a3b;
  border-color: #d19a3b;
  color: var(--text-dark);
}

/* Header Styles */
.top-bar-dark {
  background-color: #000000;
  color: #ffffff;
  padding: 5px 0;
  font-size: 14px;
}
.top-bar-dark a {
  color: #ffffff;
  text-decoration: none;
}
.top-bar-dark .social-icons i {
  margin-left: 10px;
  color: var(--secondary-color);
}

.main-header-redesign {
  background-color: #ffffff;
  padding: 15px 0;
}
.main-header-redesign .features-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 20px;
  font-size: 14px;
  align-items: center;
}
.main-header-redesign .features-list li {
  display: flex;
  align-items: center;
  gap: 8px;
}
.main-header-redesign .features-list i {
  color: var(--secondary-color);
}
.uwdma-logo {
  max-height: 40px;
}
.get-quote-btn {
  background-color: var(--secondary-color);
  color: #000;
  font-weight: 700;
  border-radius: 30px;
  padding: 10px 25px;
  border: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Navbar Redesign */
.navbar-redesign {
  background-color: var(--primary-color);
  border-radius: 10px;
  margin-top: 10px;
  margin-bottom: 20px;
  padding: 5px 20px;
}
.navbar-redesign .nav-link {
  color: #ffffff !important;
  font-weight: 500;
  text-transform: uppercase;
  font-size: 14px;
  padding: 10px 15px !important;
}
.navbar-redesign .nav-link:hover, .navbar-redesign .nav-link.active {
  color: var(--secondary-color) !important;
}
.search-bar-redesign {
  background-color: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 20px;
  padding: 5px 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.search-bar-redesign input {
  background: transparent;
  border: none;
  color: white;
  outline: none;
}
.search-bar-redesign input::placeholder {
  color: rgba(255,255,255,0.7);
}
.pay-now-btn {
  background-color: var(--secondary-color);
  color: #000;
  font-weight: bold;
  border-radius: 5px;
  padding: 8px 20px;
  margin-left: 15px;
}

/* Hero Section */
.hero-categories-menu {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  overflow: hidden;
}
.hero-categories-menu h4 {
  color: var(--secondary-color);
  font-size: 18px;
  padding: 15px;
  margin: 0;
  border-bottom: 1px solid #eee;
}
.hero-categories-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.hero-categories-menu li {
  border-bottom: 1px solid #eee;
}
.hero-categories-menu li a {
  display: block;
  padding: 12px 15px;
  color: var(--text-dark);
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-categories-menu li a:hover {
  background-color: rgba(230, 171, 72, 0.1);
  color: var(--primary-color);
  padding-left: 20px;
}
.hero-categories-btn {
  background-color: var(--secondary-color);
  color: #000;
  text-align: center;
  display: block;
  padding: 12px;
  font-weight: bold;
  text-decoration: none;
}

.hero-main-banner {
  background-image: url('../images/ads_banners/top-banner.jpg'); /* Placeholder */
  background-size: cover;
  background-position: center;
  border-radius: 10px;
  position: relative;
  height: 100%;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px;
  color: white;
}
.hero-main-banner::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to right, rgba(13, 44, 62, 0.8), rgba(13, 44, 62, 0.3));
  border-radius: 10px;
}
.hero-main-banner-content {
  position: relative;
  z-index: 1;
}
.hero-main-banner h2 {
  font-size: 32px;
  font-weight: 300;
  margin-bottom: 5px;
  font-family: serif; /* "Design Your" style */
}
.hero-main-banner h1 {
  font-size: 48px;
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 10px;
  letter-spacing: 2px;
}
.hero-main-banner h3 {
  font-size: 24px;
  font-weight: normal;
  margin-bottom: 30px;
}

.hero-thumbnails {
  display: flex;
  flex-direction: column;
  gap: 15px;
  height: 100%;
}
.hero-thumbnails img {
  width: 100%;
  height: calc(33.33% - 10px);
  object-fit: cover;
  border-radius: 10px;
}

.features-strip {
  background-color: var(--primary-color);
  color: white;
  border-radius: 10px;
  padding: 15px;
  margin-top: 20px;
  display: flex;
  justify-content: space-between;
}
.feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
}
.feature-item i {
  color: var(--secondary-color);
  font-size: 24px;
}
.feature-item div p {
  margin: 0;
  font-weight: bold;
}
.feature-item div span {
  font-size: 11px;
  opacity: 0.8;
}

/* Paid Members Section */
.paid-members-sidebar {
  background-color: #ffffff;
  border-radius: 10px;
  padding: 20px;
  height: 100%;
}
.paid-members-sidebar h3 {
  color: var(--primary-color);
  font-weight: bold;
  margin-bottom: 20px;
}

.members-tabs .nav-link {
  color: #666;
  border: none;
  background: transparent;
  padding: 10px 20px;
  font-weight: bold;
  border-bottom: 3px solid transparent;
}
.members-tabs .nav-link.active {
  color: var(--primary-color);
  background-color: transparent;
  border-bottom: 3px solid var(--primary-color);
}

.member-card-redesign {
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  margin-bottom: 20px;
  position: relative;
}
.member-card-redesign .card-img-top {
  height: 150px;
  object-fit: cover;
}
.member-card-redesign .catalogue-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(0,0,0,0.6);
  color: white;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 12px;
}
.member-card-redesign .card-body {
  padding: 20px;
  text-align: center;
  position: relative;
}
.member-card-redesign .member-logo-wrapper {
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  background: white;
  padding: 5px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.member-card-redesign .member-logo-wrapper img {
  height: 40px;
}
.member-card-redesign .diamond-badge {
  color: var(--secondary-color);
  font-size: 12px;
  margin-top: 10px;
  margin-bottom: 5px;
  display: block;
}
.member-card-redesign .card-title {
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 15px;
}
.member-card-redesign .btn-enquiry {
  background-color: var(--secondary-color);
  color: #000;
  border: none;
  font-weight: bold;
  border-radius: 20px;
  padding: 8px 15px;
  font-size: 13px;
}
.member-card-redesign .btn-view-number {
  background-color: transparent;
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
  font-weight: bold;
  border-radius: 20px;
  padding: 8px 15px;
  font-size: 13px;
}

/* Promotional Banners */
.promo-banner {
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  min-height: 300px;
  display: flex;
  align-items: center;
  padding: 40px;
  color: white;
  background-size: cover;
  background-position: center;
}
.promo-banner::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.6);
}
.promo-banner .content {
  position: relative;
  z-index: 1;
}
.promo-banner h4 {
  font-size: 32px;
  font-weight: bold;
}
.promo-banner h4 span {
  color: var(--secondary-color);
}
.promo-banner .btn-experts {
  background: transparent;
  border: 2px solid var(--secondary-color);
  color: var(--secondary-color);
  padding: 10px 25px;
  border-radius: 30px;
  margin-top: 20px;
  font-weight: bold;
}

/* Product Cards */
.product-card-redesign {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}
.product-card-redesign img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.product-card-redesign .card-body {
  padding: 15px;
}
.product-card-redesign .card-title {
  font-size: 14px;
  font-weight: bold;
  margin: 0;
}

/* Footer Features */
.footer-features {
  background: #fff;
  padding: 40px 0;
  border-top: 1px solid #eee;
}
.footer-feature-item {
  display: flex;
  gap: 15px;
}
.footer-feature-item i {
  font-size: 30px;
  color: #666;
}
.footer-feature-item h6 {
  font-weight: bold;
  margin-bottom: 10px;
}
.footer-feature-item p {
  font-size: 13px;
  color: #777;
}

/* Main Footer */
.footer-redesign {
  background-color: var(--primary-color);
  color: white;
  padding: 60px 0 20px;
}
.footer-redesign h5 {
  color: white;
  font-weight: bold;
  margin-bottom: 20px;
}
.footer-redesign a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  display: block;
  margin-bottom: 10px;
}
.footer-redesign a:hover {
  color: var(--secondary-color);
}
.footer-newsletter input {
  width: 100%;
  padding: 10px;
  border-radius: 5px;
  border: none;
  margin-bottom: 10px;
}

/* Typography */
.script-font {
  font-family: 'Great Vibes', cursive;
}
.serif-font {
  font-family: 'Playfair Display', serif;
}
.letter-spacing-2 {
  letter-spacing: 2px;
}

/* Buttons */
.btn-gold-gradient {
  background: linear-gradient(135deg, var(--secondary-light), var(--secondary-color));
  color: #000 !important;
  border: none;
  box-shadow: 0 4px 15px rgba(216, 160, 73, 0.3);
  transition: all 0.3s ease;
}
.btn-gold-gradient:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(216, 160, 73, 0.5);
  color: #000 !important;
}

/* Header Redesign */
.new-hero-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
}
.new-hero-header .navbar-nav .nav-link {
  color: #fff !important;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: 0.3s;
}
.new-hero-header .navbar-nav .nav-link:hover {
  color: var(--secondary-color) !important;
}
.search-bar-redesign {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 30px;
  padding: 5px 15px;
  display: flex;
  align-items: center;
}
.search-bar-redesign input {
  background: transparent;
  border: none;
  color: white;
  outline: none;
  font-size: 14px;
}
.search-bar-redesign input::placeholder {
  color: rgba(255,255,255,0.6);
}
.pay-now-btn {
  background: linear-gradient(135deg, var(--secondary-light), var(--secondary-color));
  color: #000;
  font-weight: bold;
  border-radius: 5px;
  padding: 8px 20px;
  border: none;
}

/* Hero Section */
.home-hero-redesign {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 100px; /* Space for absolute header */
  padding-bottom: 50px;
  overflow: hidden;
}
.hero-bg-image {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  z-index: 1;
}
.hero-bg-image img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(to right, rgba(4, 28, 35, 0.98) 0%, rgba(4, 28, 35, 0.8) 40%, rgba(4, 28, 35, 0.4) 100%);
}
.hero-content-wrapper {
  position: relative;
  z-index: 2;
  padding-top: 100px;
}

/* Left Sidebar Categories */
.hero-categories-menu {
  background-color: var(--bg-light);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  border: 1px solid rgba(216, 160, 73, 0.3);
}
.hero-categories-menu h4 {
  color: #7b5921;
  font-size: 18px;
  font-weight: bold;
  padding: 20px;
  margin: 0;
}
.hero-categories-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.hero-categories-menu li {
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
.hero-categories-menu li a {
  display: block;
  padding: 15px 20px;
  color: var(--text-dark);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 15px;
}
.hero-categories-menu li a i {
  color: var(--secondary-color);
  font-size: 18px;
  width: 20px;
  text-align: center;
}
.hero-categories-menu li a:hover {
  background-color: rgba(216, 160, 73, 0.1);
  color: #7b5921;
  padding-left: 25px;
}
.hero-categories-btn {
  background: linear-gradient(135deg, var(--secondary-light), var(--secondary-color));
  color: #000;
  text-align: center;
  display: block;
  padding: 15px;
  font-weight: bold;
  text-decoration: none;
  font-size: 14px;
}
.hero-categories-btn:hover {
  color: #000;
  opacity: 0.9;
}

/* Right Thumbnails */
.hero-thumbnails .thumbnail-item {
  border: 2px solid var(--secondary-light);
  border-radius: 10px;
  overflow: hidden;
  flex: 1;
  position: relative;
  box-shadow: 0 4px 15px rgba(0,0,0,0.5);
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-thumbnails .thumbnail-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.5s;
}
.hero-thumbnails .thumbnail-item:hover img {
  transform: scale(1.1);
}

/* Features Strip */
.features-strip-wrapper {
  position: relative;
  z-index: 3;
}
.features-strip {
  background: rgba(4, 28, 35, 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 15px;
  padding: 15px 20px;
}
.feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 5px 10px;
}
.feature-item i {
  color: var(--secondary-light);
  font-size: 22px;
}
.feature-item div p {
  margin: 0;
  font-weight: bold;
  font-size: 13px;
  color: #fff;
}
.feature-item div span {
  font-size: 11px;
  color: rgba(255,255,255,0.6);
  display: block;
}

.text-gold {
  color: var(--secondary-color) !important;
}

/* Glass Navbar */
.glass-navbar {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}
.glass-navbar .navbar-brand {
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Hero Single Ad Slider */
.hero-ad-slider-wrapper {
  background: transparent;
  border-radius: 20px;
  padding: 5px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
  position: relative;
  
  display: block;
  width: 100%;
  transform: translateY(20px);
}

.hero-ad-slider-wrapper .carousel {
  width: 100%;
  border-radius: 15px;
  overflow: hidden;
  background-color: transparent;
}
.hero-ad-slider-wrapper .carousel-inner,
.hero-ad-slider-wrapper .carousel-item,
.hero-ad-slider-wrapper .ad-img-container {
  width: 100%;
}
.hero-ad-slider-wrapper .ad-img-container {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 25px; /* space for indicators */
}
.hero-ad-slider-wrapper img {
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  border-radius: 20px;
   box-shadow: 0 4px 10px rgba(0,0,0,0.1);
   border: 2px solid var(--secondary-color);
}

.hero-ad-slider-wrapper .carousel-indicators {
  margin-bottom: 0;
  bottom: 5px;
}
.hero-ad-slider-wrapper .carousel-indicators [data-bs-target] {
  background-color: #ccc;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid #999;
}
.hero-ad-slider-wrapper .carousel-indicators .active {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
  box-shadow: 0 0 5px var(--secondary-color);
}


/* === Expanding Search Bar Update === */
.search-bar-redesign {
    background: transparent !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    padding: 0 !important;
    position: relative;
    width: 40px !important;
    height: 40px !important;
    border-radius: 40px !important;
    background-color: rgba(255, 255, 255, 0.1) !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    display: flex;
    align-items: center;
    overflow: hidden;
    cursor: pointer;
}
.search-bar-redesign:focus-within, .search-bar-redesign:hover {
    width: 250px !important;
    background-color: rgba(2, 11, 22, 0.8) !important;
    border: 1px solid rgba(212, 175, 55, 0.5) !important;
}
.search-bar-redesign input {
    width: 100% !important;
    height: 100% !important;
    background: transparent !important;
    border: none !important;
    color: white !important;
    padding: 0 40px 0 20px !important;
    outline: none !important;
    opacity: 0;
    transition: opacity 0.3s ease !important;
    cursor: pointer;
}
.search-bar-redesign:focus-within input, .search-bar-redesign:hover input {
    opacity: 1;
    cursor: text;
}
.search-bar-redesign i {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: #ffffff !important;
    transition: color 0.3s ease !important;
}
.search-bar-redesign:focus-within i, .search-bar-redesign:hover i {
    color: #d4af37 !important;
}

/* === Bigger Logo Update === */
.glass-navbar .navbar-brand {
    padding: 8px 15px !important;
    background: rgba(255, 255, 255, 0.95) !important;
    border: 2px solid #d4af37 !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2) !important;
}
.glass-navbar .navbar-brand img {
    height: 55px !important;
    transition: transform 0.3s ease !important;
}
.glass-navbar .navbar-brand:hover img {
    transform: scale(1.05) !important;
}

/* === Global Enquiry Button Fix === */
.enquiry {
    position: fixed !important;
    top: 50% !important;
    right: -42px !important;
    left: auto !important;
    bottom: auto !important;
    transform: translateY(-50%) rotate(-90deg) !important;
    transform-origin: center right !important;
    z-index: 9999 !important;
    width: auto !important;
    height: auto !important;
    padding: 10px 25px !important;
    margin: 0 !important;
    border-radius: 8px 8px 0 0 !important;
}

/* === Active Category Sidebar Styling === */
.top_categories li a.active-category {
    background: linear-gradient(135deg, #d4af37 0%, #aa8529 100%) !important;
    color: #000000 !important;
    font-weight: bold !important;
    border: none !important;
    box-shadow: 0 4px 10px rgba(212, 175, 55, 0.3) !important;
}

/* Improve Active Category Label */
.top_categories li a.active-category {
    display: block !important;
    padding: 8px 15px !important;
    border-radius: 8px !important;
    margin: 4px 0 !important;
}
