@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
  --primary-gold: #D4AF37;
  --gold-gradient: linear-gradient(to right, #BF953F 0%, #D4AF37 25%, #F9F295 50%, #D4AF37 75%, #BF953F 100%);
  --gold-glow: 0 0 20px rgba(212, 175, 55, 0.4);
  --primary-blue: #1E3A8A;
  --secondary-blue: #1E40AF;
  --dark-blue: #0F172A;
  --soft-white: #F8FAFC;
  --pure-white: #FFFFFF;
  --glass: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(255, 255, 255, 0.2);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--dark-blue);
}

::-webkit-scrollbar-thumb {
  background: var(--gold-gradient);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: #D4AF37;
}

body,
html {
  overflow-x: hidden;
}

body,
p,
a,
h1,
h2,
h3,
h4,
h5,
h6,
span,
div {
  font-family: 'Outfit', sans-serif !important;
}

.main_logo {
  max-height: 60px;
  width: auto;
}

@media (min-width: 768px) {
  .main_logo {
    max-height: 90px;
  }
}

/* Nav */
.header {
  position: relative;
  z-index: 99999;
}

.header_navbar {
  background: #000;
  backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--primary-gold) !important;
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.1);
  padding: 10px 0 !important;
  position: relative !important;
  z-index: 99999 !important;
}

.fixed {
  z-index: 99999 !important;
}

.header_navbar_inner .row {
  align-items: center !important;
}

@media (min-width: 768px) {
  .header_navigation_ul {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
  }

  .header_navigation_ul li {
    margin: 0 10px !important;
  }

  .header_navigation_ul li:first-child {
    margin-left: 10px !important;
  }

  .header_navigation_ul li a {
    font-weight: 700 !important;
    color: #f8f9fa;
    letter-spacing: 0.5px;
    font-size: 14px !important;
    text-transform: uppercase !important;
    white-space: nowrap !important;
    display: block !important;
    padding: 10px 0 !important;
    position: relative;
    transition: all 0.3s ease;
  }

  .header_navigation_ul li a:hover {
    color: var(--primary-gold) !important;
  }
}

.header_navbar_inner.fixed {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--pure-white);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  animation: slideDown 0.4s ease-out;
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
  }

  to {
    transform: translateY(0);
  }
}

/* Back to Top */
#backToTop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--gold-gradient);
  color: var(--dark-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  cursor: pointer;
  box-shadow: var(--gold-glow);
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
  z-index: 9999;
}

#backToTop.show {
  opacity: 1;
  visibility: visible;
}

#backToTop:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(212, 175, 55, 0.6);
}

.header_navigation_ul li a:after {
  background-color: var(--primary-gold) !important;
  height: 2px !important;
}

/* Buttons and accents */
.blink-bg {
  animation: elegantPulse 2s infinite !important;
  background-color: var(--primary-gold) !important;
  color: var(--primary-blue) !important;
  border-radius: 4px !important;
  font-weight: 700 !important;
  position: relative;
  overflow: hidden;
}

@keyframes elegantPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.7);
    filter: brightness(1);
  }

  50% {
    filter: brightness(1.2);
    box-shadow: 0 0 20px 5px rgba(212, 175, 55, 0.4);
  }

  70% {
    box-shadow: 0 0 0 15px rgba(212, 175, 55, 0);
    filter: brightness(1);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(212, 175, 55, 0);
    filter: brightness(1);
  }
}

.blink-bg-white {
  animation: whitePulse 2s infinite !important;
  font-weight: 700 !important;
}

@keyframes whitePulse {
  0% {
    filter: brightness(1);
    transform: scale(1);
  }

  50% {
    filter: brightness(1.3);
    transform: scale(1.05);
  }

  100% {
    filter: brightness(1);
    transform: scale(1);
  }
}

.mas_btn_md {
  background-color: var(--primary-gold) !important;
  border-radius: 4px;
  letter-spacing: 1px;
  font-weight: 600 !important;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
  text-transform: uppercase;
}

.mas_btn_md:hover {
  background-color: var(--dark-blue) !important;
  box-shadow: 0 6px 20px rgba(30, 58, 138, 0.3);
  transform: translateY(-2px);
}

/* Headings */
.main_heading .sub_heading {
  color: var(--primary-gold) !important;
  letter-spacing: 2px;
  font-weight: 700 !important;
  text-transform: uppercase;
  display: block;
  margin-bottom: 5px;
}

.main_heading .sub_heading:before {
  content: '';
  display: inline-block;
  width: 40px;
  height: 2px;
  background: var(--primary-gold);
  vertical-align: middle;
  margin-right: 15px;
}

.main_heading .heading {
  color: var(--primary-blue) !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  text-transform: uppercase;
  letter-spacing: -0.5px;
}

.gold_gradient_text {
  background: var(--gold-gradient);
  background-size: 100% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--primary-gold);
  display: inline-block;
  font-weight: 800 !important;
  text-shadow: 0 0 1px rgba(191, 149, 63, 0.1);
}

/* Services Cards */
.services_card {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  transition: all 0.4s ease;
  background: white;
}

.services_card img {
  transition: all 0.5s ease;
}

.services_card:hover img {
  transform: scale(1.05);
}

.services_card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 30px rgba(0, 0, 0, 0.1);
}

.services_card_info {
  background: linear-gradient(to top, rgba(30, 58, 138, 0.95), rgba(30, 58, 138, 0.6), transparent) !important;
  padding: 30px !important;
}

.services_card_info h3 a {
  font-weight: 600 !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  line-height: 1.3 !important;
}

.services_card_info>a {
  background-color: var(--primary-gold) !important;
  border-radius: 50%;
  transition: all 0.3s ease;
  width: 40px !important;
  height: 40px !important;
}

.services_card_info>a:hover {
  background-color: white !important;
  color: var(--primary-gold) !important;
  transform: rotate(-45deg);
}

/* Sections */
.services,
.advantages,
.blog,
.service_detail_page {
  background-color: var(--pure-white) !important;
}

.advantages_box {
  padding: 20px 0;
}

.advantages_box ul {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.advantages_box ul li {
  font-size: 18px;
  margin-bottom: 20px;
  display: flex;
  align-items: flex-start;
  color: var(--dark-blue);
  line-height: 1.4;
}

.advantages_box ul li span {
  margin-right: 15px;
  margin-top: 3px;
  background: none !important;
  border: none !important;
  width: auto !important;
  height: auto !important;
  display: inline-block !important;
}

.advantages_box ul li i,
.premium_list li i {
  color: var(--primary-gold) !important;
  font-size: 18px !important;
  background: none !important;
  border: none !important;
  padding: 0 !important;
}

.premium_list {
  list-style: none;
  padding: 0;
}

.premium_list li {
  font-size: 18px;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  color: var(--dark-blue);
}

.premium_list li i {
  margin-right: 15px;
}

.about_what_we_offer {
  margin-top: 40px;
  background: var(--soft-white);
  padding: 40px;
  border-radius: 12px;
  border-left: 5px solid var(--primary-gold);
}

.about_what_we_offer h5 {
  font-weight: 800;
  margin-bottom: 25px;
  font-size: 26px;
}

.about_what_we_offer ul {
  list-style: none;
  padding: 0;
}

.about_what_we_offer ul li {
  font-size: 18px;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  color: var(--dark-blue);
}

.about_what_we_offer ul li i {
  color: var(--primary-gold) !important;
  font-size: 20px !important;
  margin-right: 15px !important;
  background: none !important;
  border: none !important;
  width: auto !important;
  height: auto !important;
  padding: 0 !important;
  display: inline-block !important;
}

/* Feature Headings for Services */
.service_detail_page h3 {
  color: var(--primary-blue);
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.service_detail_page h3:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--primary-gold);
}

/* Premium Utilities */
.premium_card {
  background: white;
  border-radius: 12px;
  border-bottom: 5px solid var(--primary-gold);
  transition: all 0.3s ease;
}

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

.premium_accordion .card {
  border-radius: 8px !important;
  border: 1px solid rgba(0, 0, 0, 0.05);
  margin-bottom: 10px;
}

.premium_accordion .btn-link {
  color: var(--primary-blue);
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
}

.premium_accordion .btn-link:hover {
  color: var(--primary-gold);
}

.premium_accordion .card-body {
  font-size: 15px;
  color: #64748B;
  line-height: 1.6;
}

/* Golden Glow Effects */
.mas_btn_md {
  position: relative;
  overflow: hidden;
}

.mas_btn_md:hover {
  background-color: var(--dark-blue) !important;
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
  transform: translateY(-2px);
}

/* Glassmorphism Accents */
.glass_accent {
  background: var(--glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1);
}

.premium_glass_card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 30px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.premium_glass_card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: var(--gold-glow);
  border-color: var(--primary-gold);
}

/* Floating Animation */
@keyframes float {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-10px);
  }

  100% {
    transform: translateY(0px);
  }
}

.float_anim {
  animation: float 3s ease-in-out infinite;
}

/* Responsive Fixes */
@media (max-width: 768px) {
  .carousel-item {
    height: 350px !important;
  }

  .carousel-item img {
    height: 350px !important;
  }

  .hair_offer_price {
    font-size: 28px !important;
  }

  .hair_offer_info {
    transform: translateY(-50%) !important;
    top: 50% !important;
    left: 20px !important;
  }

  .floating_contact_bar {
    display: flex;
  }

  body {
    padding-bottom: 60px;
  }
}

/* Carousel / Hero */
.carousel-item {
  height: 550px;
  background: var(--dark-blue);
}

.carousel-item .hair_offer_info {
  position: absolute;
  top: 50%;
  left: 10%;
  transform: translateY(-50%);
  z-index: 10;
  max-width: 600px;
  padding: 20px;
}

.carousel .hair_offer_price,
.hair_offer_price {
  color: white !important;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.8);
  font-weight: 800 !important;
  font-size: 56px !important;
  line-height: 1.1;
  margin-bottom: 185px;
}

.carousel-item::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, rgba(30, 58, 138, 0.7) 0%, rgba(30, 58, 138, 0.1) 60%);
  pointer-events: none;
}

.carousel-item img {
  height: 550px;
  object-fit: cover;
  filter: contrast(1.05);
}

.carousel-control-prev,
.carousel-control-next {
  z-index: 50 !important;
}

.carousel-control-prev span,
.carousel-control-next span {
  background-color: rgba(30, 58, 138, 0.7) !important;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  color: white !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.carousel-control-prev span:hover,
.carousel-control-next span:hover {
  background-color: var(--primary-gold) !important;
  border-color: var(--primary-gold) !important;
  color: var(--primary-blue) !important;
  transform: scale(1.1);
}

/* Premium Text Logo */
.premium_text_logo {
  text-decoration: none !important;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 24px;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
}

.premium_text_logo .gold_part {
  color: var(--primary-gold);
  margin-right: 2px;
}

.premium_text_logo .blue_part {
  color: var(--primary-blue);
}

.logo_container {
  margin: 0;
}

/* Specific Offer Sections */
.hair_offer_discount {
  background-color: var(--primary-gold) !important;
  color: var(--primary-blue) !important;
}

.additional_section {
  background-color: var(--primary-gold) !important;
  text-align: center;
}

.additional_section .container {
  justify-content: center !important;
}

.additional_section .text_info {
  width: 100%;
}

.additional_section .text_info a {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  background-color: var(--primary-blue) !important;
  color: white !important;
  padding: 12px 35px !important;
  border-radius: 50px !important;
  font-size: 22px !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 15px rgba(10, 25, 47, 0.4) !important;
  transition: all 0.3s ease;
  text-decoration: none !important;
}

.additional_section .text_info a:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(10, 25, 47, 0.6) !important;
}

.additional_section .text_info a:before {
  color: white !important;
  border: none !important;
  font-size: 24px !important;
  margin-right: 10px;
  height: auto !important;
  min-width: auto !important;
  line-height: 1 !important;
}

/* Footer */
.footer {
  background-color: var(--primary-blue) !important;
  color: rgba(255, 255, 255, 0.7) !important;
  border-top: 4px solid var(--primary-gold);
}

.footer h4 {
  color: white !important;
  font-weight: 600 !important;
  letter-spacing: 1px;
}

.footer a,
.footer p {
  color: rgba(255, 255, 255, 0.7) !important;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: var(--primary-gold) !important;
}

.footer_social a {
  background: rgba(255, 255, 255, 0.1);
  color: white !important;
  border-radius: 50%;
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.footer_social a:hover {
  background: var(--primary-gold) !important;
  transform: translateY(-3px);
}

.copyright {
  background-color: var(--dark-blue) !important;
  color: rgba(255, 255, 255, 0.5) !important;
}

/* Category Cards for 'What We Buy' */
.category_card {
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  background: white !important;
  border: 1px solid rgba(212, 175, 55, 0.1);
}

.category_card:hover {
  transform: translateY(-15px);
  border-color: var(--primary-gold);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.category_img {
  overflow: hidden;
  border-radius: 12px 12px 0 0;
}

.category_img img {
  transition: transform 0.8s ease;
  height: 220px;
  width: 100%;
  object-fit: cover;
}

.category_card:hover .category_img img {
  transform: scale(1.1);
}

.category_card h4 {
  color: var(--primary-blue);
  letter-spacing: 1px;
  font-size: 18px;
}

/* Promo Banner Adjustments */
.promo_banner {
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  position: relative;
}

.promo_banner .heading {
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Testimonial Enhancements */
.testimonial_box_info {
  background: white !important;
  border-bottom: 4px solid var(--primary-gold);
  margin: 15px;
}

.testimonial_box_info p {
  font-style: italic;
  color: #475569;
}

/* Responsive Fixes */
@media (max-width: 768px) {
  .promo_banner {
    background-attachment: scroll;
    /* Better for mobile performance */
  }

  .category_img img {
    height: 180px;
  }
}


/* Trust Bar index */
.trust_item {
  padding: 10px;
  transition: all 0.3s ease;
  border-radius: 12px;
}

.trust_item:hover {
  transform: translateY(-5px);
  background: var(--soft-white);
}

.trust_item h6 {
  font-size: 13px;
  letter-spacing: 0.5px;
  color: var(--primary-blue);
}

@keyframes pulse-white {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
  }

  70% {
    box-shadow: 0 0 0 15px rgba(255, 255, 255, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
  }
}

.premium_cta_btn {
  display: inline-block;
  padding: 15px 45px;
  background: var(--gold-gradient);
  color: #f90549 !important;
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: 1px;
  border-radius: 50px;
  text-decoration: none !important;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.premium_cta_btn:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 15px 35px rgba(192, 156, 77, 0.5);
  color: white !important;
}

.premium_cta_btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: all 0.6s ease;
}

.premium_cta_btn:hover::before {
  left: 100%;
}

.cta_badge {
  animation: float 3s ease-in-out infinite;
}

/* Footer & Mobile Bottom Bar Fixes */
.footer {
  background: var(--dark-blue);
  color: white;
}

.footer h4 {
  color: var(--primary-gold);
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 25px;
  font-size: 1.2rem;
}

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

.footer ul li a {
  color: rgba(255, 255, 255, 0.7);
  transition: 0.3s;
  line-height: 2.2;
  text-transform: capitalize;
}

.footer ul li a:hover {
  color: var(--primary-gold);
  padding-left: 5px;
}

.footer_social a {
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-right: 10px;
  transition: 0.3s;
  border: 1px solid var(--primary-gold);
}

.footer_social a:hover {
  background: var(--gold-gradient);
  transform: translateY(-3px);
}

.copyright {
  background: #0a0e1a;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.copyright p {
  margin: 0;
  color: rgba(255, 255, 255, 0.5);
}

.copyright a {
  color: var(--primary-gold);
}

/* Floating Contact Bar */
.floating_contact_bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  display: flex;
  z-index: 999;
  box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.2);
}

.floating_btn {
  flex: 1;
  text-align: center;
  padding: 15px;
  color: white !important;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none !important;
}

.floating_btn i {
  margin-right: 8px;
  font-size: 18px;
}

.call_btn {
  background: var(--primary-gold);
}

.wa_btn {
  background: #25d366;
}

/* Back to Top */
#backToTop {
  position: fixed;
  right: 20px;
  bottom: 80px;
  /* Clear the floating bar */
  width: 45px;
  height: 45px;
  background: var(--gold-gradient);
  color: white;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 998;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: 0.3s;
}

#backToTop:hover {
  transform: translateY(-5px);
}

@media (max-width: 767px) {
  .footer {
    text-align: center;
    padding: 50px 0;
  }

  .footer_about_text,
  .footer_main_menu,
  .footer_quick_links,
  .footer_contact_info {
    margin-bottom: 40px;
  }

  .copyright {
    padding-bottom: 80px !important;
    /* Extra room for floating bar on mobile */
  }

  .footer_social {
    justify-content: center;
    display: flex;
  }
}