:root {
  --color-dark: #171717;
  --color-gold: #C9A45C;
  --color-bg: #F7F3EA;
  --color-text: #383838;
  --color-white: #ffffff;
  --font-serif: 'Playfair Display', serif;
  --font-sans: 'Inter', sans-serif;
  --border-radius: 12px;
  --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

body {
  font-family: var(--font-sans);
  color: var(--color-text);
  background-color: var(--color-bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6, .display-font {
  font-family: var(--font-serif);
  color: var(--color-dark);
}

a {
  color: var(--color-dark);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--color-gold);
}

/* Navbar */
.navbar {
  background: rgba(247, 243, 234, 0.7) !important;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  padding: 1rem 0;
  transition: var(--transition);
  border-bottom: 1px solid rgba(23, 23, 23, 0.05);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.85) !important;
  box-shadow: 0 4px 30px rgba(0,0,0,0.05);
  padding: 0.5rem 0;
}

.navbar-brand img {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.nav-link {
  color: var(--color-dark) !important;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.5rem 1rem !important;
  border-radius: 20px;
  transition: var(--transition);
}

.nav-link:hover, .nav-item.active .nav-link {
  background-color: rgba(201, 164, 92, 0.1);
  color: var(--color-gold) !important;
}

.dropdown-menu {
  border: none;
  border-radius: var(--border-radius);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 1rem;
}

.dropdown-item {
  border-radius: 8px;
  padding: 0.5rem 1rem;
  font-weight: 500;
}

.dropdown-item:hover {
  background-color: rgba(201, 164, 92, 0.1);
  color: var(--color-gold);
}

/* Fill Hover Animations for Buttons */
.btn-gold {
  background-color: var(--color-gold);
  color: var(--color-white);
  border: 1px solid var(--color-gold);
  border-radius: 30px;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: color 0.4s ease;
}

.btn-gold::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background-color: var(--color-dark);
  z-index: -1;
  transition: width 0.4s ease;
}

.btn-gold:hover {
  color: var(--color-gold);
  border-color: var(--color-dark);
}

.btn-gold:hover::before {
  width: 100%;
}

.btn-outline-dark {
  border: 1px solid var(--color-dark);
  color: var(--color-dark);
  background: transparent;
  border-radius: 30px;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: color 0.4s ease;
}

.btn-outline-dark::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background-color: var(--color-dark);
  z-index: -1;
  transition: width 0.4s ease;
}

.btn-outline-dark:hover {
  color: var(--color-gold);
}

.btn-outline-dark:hover::before {
  width: 100%;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 80px; 
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(23, 23, 23, 0.3) 0%, rgba(23, 23, 23, 0.7) 100%);
  z-index: -1;
}

.hero-content {
  text-align: center;
  color: var(--color-white);
  z-index: 1;
  max-width: 900px;
  padding: 0 20px;
}

.hero-title {
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 1rem;
  color: var(--color-white);
  letter-spacing: -2px;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 300;
  margin-bottom: 2rem;
  opacity: 0.9;
}

/* NEW Reference Hero Shapes */
.hero-shape {
  background: rgba(201, 164, 92, 0.1);
  border-radius: 50%;
  filter: blur(40px);
  z-index: 0;
}
.shape-1 {
  width: 60vw;
  height: 60vw;
  top: -20%;
  left: -10%;
}
.shape-2 {
  width: 50vw;
  height: 50vw;
  bottom: -10%;
  right: -5%;
}

/* Stats Section */
.glass-panel {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 15px 35px rgba(0,0,0,0.05);
}

.stat-item h3 {
  font-size: 2.5rem;
  color: var(--color-gold);
  margin-bottom: 0.5rem;
}

.stat-item p {
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0;
}

/* Sections */
.section-padding {
  padding: 6rem 0;
}

.section-title {
  font-size: 3rem;
  margin-bottom: 3rem;
  text-align: center;
}

.bg-dark-section {
  background-color: var(--color-dark);
  color: var(--color-white);
}

.bg-dark-section .section-title {
  color: var(--color-white);
}

/* Cards (Services & Tools) - Updated with soft background & hover fill */
.service-card {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border-radius: var(--border-radius);
  padding: 2.5rem 2rem;
  height: 100%;
  transition: var(--transition);
  border: 1px solid rgba(0,0,0,0.05);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  background-color: var(--color-dark);
  z-index: -1;
  transition: height 0.4s ease;
}

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

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

.service-card:hover h4, .service-card:hover p {
  color: var(--color-white) !important;
}

.service-card:hover .service-icon {
  color: var(--color-gold);
}

.service-icon {
  font-size: 2.5rem;
  color: var(--color-gold);
  margin-bottom: 1.5rem;
  transition: var(--transition);
}

.service-card h4 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  transition: var(--transition);
}

.service-card p {
  transition: var(--transition);
}

/* Tool Logos */
.tool-logo-container {
  background: rgba(255, 255, 255, 0.8);
  border-radius: 12px;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.03);
  transition: var(--transition);
  border: 1px solid rgba(0,0,0,0.03);
}

.tool-logo-container:hover {
  transform: scale(1.05);
  background: var(--color-dark);
  color: var(--color-gold);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.tool-logo-container:hover h5 {
  color: var(--color-gold);
}

.tool-logo-container h5 {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1.1rem;
  transition: var(--transition);
}

/* Reviews Slider */
.review-slider-wrapper {
  overflow: hidden;
  padding: 2rem 0;
}
.review-track {
  display: flex;
  width: calc(350px * 10); /* Adjust based on num cards */
  animation: scroll 30s linear infinite;
}
.review-track:hover {
  animation-play-state: paused;
}
.review-card {
  width: 350px;
  background: var(--color-white);
  border-radius: var(--border-radius);
  padding: 2rem;
  margin: 0 1rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  border: 1px solid rgba(0,0,0,0.05);
  flex-shrink: 0;
  transition: var(--transition);
}
.review-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}
.review-stars {
  color: var(--color-gold);
  margin-bottom: 1rem;
}
@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-350px * 5 - 10rem)); }
}

/* Footer - Glassmorphism */
.site-footer {
  position: relative;
  background: url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?q=80&w=2070&auto=format&fit=crop') center/cover;
  padding: 5rem 0 2rem;
  color: var(--color-white);
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(23, 23, 23, 0.85); /* Dark overlay */
  backdrop-filter: blur(15px); /* Glass blur */
  -webkit-backdrop-filter: blur(15px);
  z-index: 1;
}

.site-footer > .container {
  position: relative;
  z-index: 2;
}

.site-footer h5 {
  color: var(--color-gold);
  margin-bottom: 1.5rem;
  font-family: var(--font-sans);
  font-weight: 600;
}

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

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: rgba(255,255,255,0.7);
}

.footer-links a:hover {
  color: var(--color-gold);
  padding-left: 5px; /* Subtle hover slide */
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: var(--color-white);
  margin-right: 0.5rem;
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--color-gold);
  transform: translateY(-3px) rotate(8deg);
}

/* Popup */
.consultation-popup {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 350px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.15);
  z-index: 1050;
  transform: translateY(150%);
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid rgba(255,255,255,0.2);
}

.consultation-popup.show {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.popup-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  font-size: 1.2rem;
  color: var(--color-text);
  cursor: pointer;
  z-index: 10;
}

.popup-content {
  padding: 2rem;
  text-align: center;
}

/* Forms - Creative styling */
.creative-form-container {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.8);
  border-radius: 20px;
  padding: 3rem;
  box-shadow: 0 20px 50px rgba(0,0,0,0.08);
}

.form-control, .form-select {
  border-radius: 8px;
  padding: 0.8rem 1rem;
  border: 1px solid rgba(0,0,0,0.1);
  background-color: rgba(255,255,255,0.9);
  transition: var(--transition);
}

.form-control:focus, .form-select:focus {
  border-color: var(--color-gold);
  box-shadow: 0 0 0 0.25rem rgba(201, 164, 92, 0.25);
  background-color: var(--color-white);
  transform: translateY(-2px);
}

label.form-label {
  color: var(--color-dark);
  margin-bottom: 0.5rem;
}

/* Badges */
.platform-badge {
  display: inline-block;
  padding: 0.5rem 1.2rem;
  background: rgba(201, 164, 92, 0.1);
  color: var(--color-gold);
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.9rem;
  margin: 0.25rem;
  transition: var(--transition);
}
.platform-badge:hover {
  background: var(--color-gold);
  color: var(--color-white);
  transform: translateY(-3px);
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 3rem;
  }
  .section-padding {
    padding: 4rem 0;
  }
  .section-title {
    font-size: 2.2rem;
  }
  .glass-panel, .creative-form-container {
    padding: 1.5rem;
  }
}
