:root {
  --color-black: #050505;
  --color-dark-grey: #0a0a0a;
  --color-light-grey: #1c1c1c;
  --color-gold: #D4AF37;
  --color-gold-hover: #b5952f;
  --color-text: #F4F4F5;
  --color-text-muted: #A1A1AA;
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.08);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: #000;
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
}

.global-wrapper {
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
  position: relative;
  background-color: var(--color-black);
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

/* Typography Enhancements */
.text-gold {
  color: var(--color-gold);
}

.text-muted {
  color: var(--color-text-muted);
}

/* Glassmorphism Classes */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

.glass-card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 16px;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  -webkit-transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.glass-card:hover {
  transform: translate3d(0, -6px, 0);
  -webkit-transform: translate3d(0, -6px, 0);
  box-shadow: 0 16px 40px 0 rgba(212, 175, 55, 0.1);
  border-color: rgba(212, 175, 55, 0.3);
}

@media (max-width: 768px) {
  .glass {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    will-change: transform, opacity;
  }
  .glass-card {
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  }
}

/* Layout Utilities */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 3rem 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
}

.btn-primary {
  background: var(--color-gold);
  color: var(--color-black);
  border: none;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-primary:hover {
  background: var(--color-gold-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--color-gold);
  border: 2px solid var(--color-gold);
}

.btn-outline:hover {
  background: var(--color-gold);
  color: var(--color-black);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
  transform: translateY(-2px);
}

/* Header & Nav */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  padding: 1.5rem 0;
  border-bottom: 1px solid transparent;
}

.header.header-hidden {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}

.header.scrolled {
  padding: 1rem 0;
  background: rgba(5, 5, 5, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--color-text);
  letter-spacing: 1px;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.nav-links a {
  font-weight: 500;
  font-size: 0.95rem;
}

.nav-links a:hover {
  color: var(--color-gold);
}

/* Language Toggle */
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.05);
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-left: 0.5rem;
}

.lang-btn {
  background: none;
  border: none;
  color: #888;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0.2rem;
  transition: color 0.3s ease;
}

.lang-btn:hover {
  color: #fff;
}

.lang-btn.active {
  color: var(--color-gold);
}

.lang-divider {
  color: #444;
  font-size: 0.8rem;
}

/* Hide Default Google Translate Widget */
.goog-te-banner-frame.skiptranslate, 
.goog-te-gadget-icon,
.goog-te-gadget-simple,
#goog-gt-tt,
.goog-tooltip,
.goog-tooltip:hover {
    display: none !important;
}

.goog-text-highlight {
    background-color: transparent !important;
    box-shadow: none !important;
}

body {
    top: 0 !important; /* Prevents Google Translate from shifting the body down */
}

.nav-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--color-text);
}

/* Hero Section */
.hero {
  /* Set up relative positioning for absolute children if needed */
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  /* 1. Add the fallback color first */
  background-color: #050505;
  min-height: 100dvh;

  /* 2. Layer the image AND a dark gradient overlay for text readability */
  background-image:
    linear-gradient(180deg, rgba(5, 5, 5, 0.7) 0%, rgba(5, 5, 5, 1) 100%),
    url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?q=80&w=2072&auto=format&fit=crop');

  /* 3. Ensure the image covers the section and is centered */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  /* 4. Layering fix: Ensure it is behind the navigation and hero content */
  z-index: 1;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  overflow: hidden;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  animation: scaleFadeIn 10s ease infinite alternate;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(5, 5, 5, 0.9) 0%, rgba(5, 5, 5, 0.6) 50%, rgba(5, 5, 5, 0.9) 100%);
  z-index: -1;
}

.hero-content {
  max-width: 800px;
  text-align: center;
  margin: 0 auto;
}

.hero-content h1 {
  font-size: clamp(3rem, 5vw, 4.5rem);
  margin-bottom: 1.5rem;
  background: linear-gradient(to right, #FFF, #D4AF37);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: slideUp 1s ease forwards;
}

.hero-content p {
  font-size: 1.25rem;
  color: var(--color-text-muted);
  margin-bottom: 2.5rem;
  animation: slideUp 1s ease forwards 0.2s;
  opacity: 0;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  animation: slideUp 1s ease forwards 0.4s;
  opacity: 0;
}

/* Services & Pricing — Minimalist Typographic List */
.sp-section {
  background-color: #f5f4f0;
  padding: 4rem 0 3.5rem;
  position: relative;
  z-index: 1;
}

.sp-container {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 2rem;
  text-align: center;
}

.sp-heading {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(3.5rem, 8vw, 6rem);
  line-height: 0.92;
  letter-spacing: -0.04em;
  color: #111;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.sp-subtitle {
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: #555;
  margin-bottom: 0;
  font-weight: 400;
}

.sp-rule {
  border: none;
  border-top: 1px solid #ccc;
  margin: 2rem 0;
}

.sp-item {
  padding: 0.25rem 0;
}

.sp-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: 0.03em;
  color: #111;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

.sp-desc {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: #666;
  font-weight: 400;
  line-height: 1.5;
  margin: 0;
}

/* Responsive — sp list */
@media (max-width: 600px) {
  .sp-heading {
    font-size: clamp(2.5rem, 12vw, 4rem);
  }
  .sp-title {
    font-size: 1.1rem;
  }
  .sp-rule {
    margin: 1.5rem 0;
  }
}

/* Shared Section Header (portfolio, pricing, etc.) */
.section-header {
  text-align: center;
  margin-bottom: 2rem;
}

.section-header h2 {
  font-size: 2.2rem;
  margin-bottom: 0.75rem;
}

.section-header .subtitle {
  color: var(--color-gold);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
  display: block;
}

.service-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(212, 175, 55, 0.01));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--color-gold);
  font-size: 1.75rem;
  border: 1px solid rgba(212, 175, 55, 0.2);
}

.glass-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.glass-card ul {
  list-style: none;
  color: var(--color-text-muted);
}

.glass-card ul li {
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
}

.glass-card ul li::before {
  content: '▹';
  color: var(--color-gold);
  margin-right: 0.75rem;
  font-size: 1.2rem;
}

/* Portfolio Section */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.portfolio-card {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
}

.browser-mockup {
  background: rgba(20, 20, 20, 0.8);
  border-bottom: 1px solid var(--glass-border);
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  overflow: hidden;
}

.browser-header {
  padding: 0.75rem 1rem;
  display: flex;
  gap: 0.5rem;
  background: rgba(10, 10, 10, 0.9);
  border-bottom: 1px solid var(--glass-border);
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
}

.dot.red {
  background-color: #ff5f56;
}

.dot.yellow {
  background-color: #ffbd2e;
}

.dot.green {
  background-color: #27c93f;
}

.portfolio-iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: none;
  background-color: #fff;
  display: block;
}

.portfolio-info {
  padding: 2rem;
  text-align: center;
}

.placeholder-card {
  justify-content: center;
  align-items: center;
  min-height: 280px;
  border: 1px dashed rgba(212, 175, 55, 0.3);
  background: linear-gradient(145deg, rgba(212, 175, 55, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
}

.coming-soon-wrapper {
  text-align: center;
}

.coming-soon-content h3 {
  color: var(--color-text-muted);
  font-size: 1.5rem;
}

/* Sesotho Contact Section */
.sesotho-contact {
  width: 100%;
  margin: 0;
  padding: 0;
}

.sesotho-wrapper {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  min-height: 100dvh;
  background: linear-gradient(rgba(10, 15, 25, 0.8), rgba(10, 15, 25, 0.9)), url('assets/hero-bg.png');
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.sesotho-info {
  flex: 1 1 50%;
  padding: 4rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  max-height: 100dvh;
}

.sesotho-subtitle {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 2rem;
}

.sesotho-logo {
  max-width: 250px;
  margin-bottom: 2rem;
}

.sesotho-heading {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 4vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 1rem;
}

.sesotho-desc {
  font-size: 1.2rem;
  color: #ddd;
}

.sesotho-form {
  flex: 0 1 40%;
  margin: auto;
  border-radius: 8px;
  /* Thick Acrylic 3D Block */
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 
    inset 0 0 0 1px rgba(255, 255, 255, 0.1),
    inset 4px 4px 15px rgba(255, 255, 255, 0.2),
    inset -4px -4px 15px rgba(0, 0, 0, 0.6),
    0 30px 60px rgba(0, 0, 0, 0.8);
  padding: 4rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 1;
}

@media (max-width: 900px) {
  .sesotho-wrapper {
    flex-direction: column;
    padding: 2rem 1rem;
  }
  .sesotho-info {
    flex: 1 1 100%;
    padding: 2rem 1rem;
    max-height: none;
  }
  .sesotho-form {
    flex: 1 1 100%;
    width: 100%;
    max-width: 100%;
    padding: 3rem 1.5rem;
    margin-top: 2rem;
  }
  .sesotho-form::before {
    top: -6px; left: -6px; right: -6px; bottom: -6px;
  }
}

/* Outer thick transparent edge */
.sesotho-form::before {
  content: '';
  position: absolute;
  top: -12px; left: -12px; right: -12px; bottom: -12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.01);
  box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.05);
  pointer-events: none;
  z-index: -1;
}

/* Inner refractive bevel */
.sesotho-form::after {
  content: '';
  position: absolute;
  top: 4px; left: 4px; right: 4px; bottom: 4px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  pointer-events: none;
  z-index: -1;
}

.form-header {
  color: #fff;
  font-size: 1.1rem;
  text-transform: uppercase;
  margin-bottom: 3rem;
  text-align: center;
  font-weight: 600;
  letter-spacing: 1px;
}

.form-header .divider {
  color: #555;
  margin: 0 10px;
}

.form-checkbox {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.form-checkbox label {
  font-size: 0.85rem;
  color: #ccc;
}

.form-checkbox a {
  color: #fff;
  text-decoration: underline;
}

.btn-submit-glow {
  width: 100%;
  border-radius: 50px;
  background: var(--color-gold);
  color: #000;
  border: none;
  font-weight: 700;
  padding: 1.2rem;
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
  transition: all 0.3s ease;
  text-transform: none;
  font-size: 1.1rem;
}

.btn-submit-glow:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(212, 175, 55, 0.6);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 400;
  font-size: 0.85rem;
  color: #ccc;
  font-family: var(--font-body);
  letter-spacing: 0.5px;
}

.form-control {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  padding: 0.5rem 0;
  border-radius: 0;
  color: #fff;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-bottom: 1px solid var(--color-gold);
  background: transparent;
}

select.form-control option {
  background-color: #0d0d0f;
  color: #fff;
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

.btn-mercedes {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background: transparent;
  border: 1px solid #dfb15b;
  color: #fff;
  padding: 1rem;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-mercedes:hover {
  background: #dfb15b;
  color: #000;
}

.btn-submit-gold {
  border-radius: 50px;
  font-weight: 700;
  padding: 1.2rem;
  transition: all 0.3s ease;
  text-transform: none;
  font-size: 1.1rem;
  width: 100%;
}

.btn-submit-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(212, 175, 55, 0.6) !important;
  background: #f0c36b !important;
}

/* Footer */
.footer {
  border-top: 1px solid var(--glass-border);
  padding: 2rem 0 1rem;
  background: #000;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.footer-col h4 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: #FFF;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--color-text-muted);
}

.footer-links a:hover {
  color: var(--color-gold);
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: var(--color-gold);
  color: #000;
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding-top: 1rem;
  border-top: 1px solid var(--glass-border);
  color: var(--color-text-muted);
  font-size: 0.875rem;
}

/* Floating Zoom */
.floating-zoom {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: #2D8CFF;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: 0 4px 20px rgba(45, 140, 255, 0.4);
  z-index: 1000;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  animation: pulse 2s infinite;
  opacity: 0;
  transform: scale(0);
  pointer-events: none;
}

.floating-zoom.visible {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.floating-zoom:hover {
  transform: scale(1.1);
  color: white;
}

/* Animations */
@keyframes slideUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes scaleFadeIn {
  from { transform: scale(1.05); }
  to { transform: scale(1); }
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(45, 140, 255, 0.7); }
  70% { box-shadow: 0 0 0 20px rgba(45, 140, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(45, 140, 255, 0); }
}

/* Scroll Reveal Animations — GPU-accelerated */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* Prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  .reveal { transition: none; opacity: 1; transform: none; }
  .hero-content h1, .hero-content p, .hero-ctas { animation: none; opacity: 1; }
  .hero-bg img { animation: none; }
  .floating-zoom { animation: none; }
}

/* Responsive */
@media (max-width: 992px) {
  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 280px;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: flex-start;
    padding: 6rem 2rem 2rem;
    transition: right 0.4s ease;
    border-left: 1px solid var(--glass-border);
  }

  .nav-links.active {
    right: 0;
  }

  .nav-toggle {
    display: block;
    z-index: 1001;
  }

  .hero {
    padding-top: 40px;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .services-grid,
  .portfolio-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

#about {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  background-image: none;
  position: relative;
  z-index: 1;
}

#services,
#portfolio,
#pricing {
  background-color: transparent;
  background-image: none;
  position: relative;
  z-index: 1;
  /* Content sits on this base layer, above the ripple canvas */
}

/* Fixed Ripple Background */
#ripple-bg {
  position: fixed !important;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;

  /*
   * IMPORTANT: background-image is NO LONGER set here.
   * jquery.ripples replaces background-image on init, so the texture is
   * injected AFTER the plugin loads via $(rippleBg).css() in main.js.
   * This ensures it works on both localhost AND live Hostinger deployment.
   *
   * Absolute path used: /assets/logo-white.png
   * This resolves from the domain root on any server depth.
   */
  background-color: #0a0a0a !important; /* Dark fallback if image fails */
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

/* Dark Cinematic Overlay applied independently to avoid breaking WebGL ripple canvas */
#ripple-bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(rgba(10, 10, 10, 0.85), rgba(10, 10, 10, 0.95));
  z-index: 1; /* Overlay sits ABOVE the webgl canvas but BELOW the page content */
  pointer-events: none; /* Let pointer events pass through to trigger ripples */
}

/* Fix for background disappearing on iOS */
@media (max-width: 1024px) {
  #ripple-bg {
    background-attachment: scroll;
    background-position: center center;
  }
}

/* Ripple Wrapper */
#rippleWrapper {
  position: relative;
  min-height: 100vh;
  z-index: 10; /* Elevate typography and cards above the canvas */
  color: var(--color-text);
}

/* Ensure all text inside the wrapper is clearly visible against the dark overlay */
#rippleWrapper h2,
#rippleWrapper h3,
#rippleWrapper h4,
#rippleWrapper .coming-soon-content h3 {
  color: var(--color-text);
}

#rippleWrapper p,
#rippleWrapper ul,
#rippleWrapper .contact-info p,
#rippleWrapper .glass-card ul {
  color: var(--color-text-muted);
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal.show {
  display: flex;
  opacity: 1;
}

.modal-content {
  width: 90%;
  max-width: 600px;
  position: relative;
  transform: translateY(-50px);
  transition: transform 0.3s ease;
  max-height: 90vh;
  overflow-y: auto;
  padding: 3rem;
  background: rgba(10, 15, 25, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
}

/* Custom Modal Scrollbar */
.modal-content::-webkit-scrollbar {
  width: 6px;
}

.modal-content::-webkit-scrollbar-track {
  background: rgba(10, 10, 10, 0.5);
  border-radius: 8px;
  margin: 10px 0;
}

.modal-content::-webkit-scrollbar-thumb {
  background: var(--color-gold);
  border-radius: 8px;
}

.modal.show .modal-content {
  transform: translateY(0);
}

.close-modal {
  position: absolute;
  top: 15px;
  right: 20px;
  color: var(--color-text-muted);
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s ease;
  z-index: 10;
}

/* Pricing Section */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}

@media (max-width: 1024px) {
  .pricing-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

.pricing-card {
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  padding: 1.25rem 1.25rem 1rem;
}

.pricing-highlight {
  border: 1px solid var(--color-gold);
  box-shadow: 0 8px 30px rgba(212, 175, 55, 0.15);
  transform: translateY(-5px);
}

.pricing-highlight:hover {
  transform: translateY(-10px);
  box-shadow: 0 16px 40px rgba(212, 175, 55, 0.25);
}

.badge {
  position: absolute;
  top: 26px;
  right: -42px;
  width: 170px;
  text-align: center;
  background: var(--color-gold);
  color: #000;
  padding: 6px 0;
  font-size: 0.75rem;
  font-weight: 800;
  transform: rotate(45deg);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  z-index: 10;
}

.tier-name {
  font-size: 1.3rem;
  margin-bottom: 0.15rem;
}

.tier-subtitle {
  display: block;
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-bottom: 0.75rem;
}

.price {
  font-size: 2rem;
  font-weight: 800;
  margin: 0.25rem 0;
  color: var(--color-text);
}

.price span {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.target-audience {
  font-size: 0.8rem;
  padding-bottom: 0.4rem;
  margin-bottom: 0.4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  line-height: 1.4;
}

.pitch {
  font-style: italic;
  margin-bottom: 0.5rem;
  color: var(--color-gold);
  font-size: 0.8rem;
  line-height: 1.4;
}

.features-list {
  list-style: none;
  margin-bottom: 2rem;
  flex-grow: 1;
}

/* Remove checkmarks for monthly subscription tiers */
.pricing-card .features-list {
  padding-left: 0;
  margin-bottom: 2rem;
}

.pricing-card .features-list li {
  position: relative;
  padding-left: 0; /* Remove icon padding */
  margin-bottom: 1rem;
  color: #ccc;
  font-size: 0.95rem;
  display: flex;
  align-items: flex-start;
  flex-shrink: 0;
  text-align: left;
}

/* Hide the checkmarks */
.pricing-card .features-list li i,
.pricing-card .features-list li svg,
.pricing-card .features-list li::before {
  display: none !important;
}

.mt-auto {
  margin-top: auto;
  width: 100%;
}

.mt-section {
  margin-top: 3.5rem;
}

.mb-4 {
  margin-bottom: 1.5rem;
}

/* Premium Grid Layout */
.premium-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: center; /* Centers them vertically so middle can be taller */
  margin-top: 2rem;
}

@media (max-width: 992px) {
  .premium-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

/* Base Card Style */
.premium-card {
  background: #111;
  border-radius: 16px;
  padding: 2.5rem 2rem;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.premium-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Highlighted Middle Card */
.premium-card--highlighted {
  background: linear-gradient(180deg, #1a1a1a 0%, #111 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 3.5rem 2rem; /* Taller padding */
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 40px rgba(138, 43, 226, 0.1);
}

@media (max-width: 768px) {
  .premium-card {
    padding: 2rem 1.5rem;
  }
  .premium-card--highlighted {
    padding: 2.5rem 1.5rem;
  }
}

/* Glow Effect for Highlighted Card */
.premium-card--highlighted::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 150%;
  height: 200px;
  background: radial-gradient(ellipse at top, rgba(138, 43, 226, 0.2) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* Elements inside the card */
.premium-card > * {
  position: relative;
  z-index: 1; /* Keep above glow */
}

/* Badge for Highlighted Card */
.pc-badge {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 0.75rem;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  z-index: 2; /* Ensure it stays above other relative elements */
}

.pc-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2a2a3a 0%, #1a1a2a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.pc-icon-glow {
  background: linear-gradient(135deg, #8a2be2 0%, #4b0082 100%);
  box-shadow: 0 0 20px rgba(138, 43, 226, 0.4);
}

.pc-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #fff;
}

.pc-subtitle {
  font-size: 0.9rem;
  color: #aaa;
  margin-bottom: 1.5rem;
  line-height: 1.5;
  min-height: 4rem; /* Align heights */
}

.pc-price {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1.5rem;
}

.pc-btn {
  width: 100%;
  padding: 0.9rem;
  border-radius: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  text-align: center;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

.pc-btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.pc-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  transform: none;
  box-shadow: none;
}

.pc-btn-primary {
  background: linear-gradient(90deg, #ff6b35 0%, #f79256 100%);
  color: #fff;
  border: none;
  box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.pc-btn-primary:hover {
  background: linear-gradient(90deg, #f79256 0%, #ff6b35 100%);
  color: #fff;
  box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
  transform: none;
}

.pc-meta {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}

.pc-meta span {
  font-size: 0.85rem;
  color: #bbb;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.pc-meta i {
  color: #777;
  width: 16px;
  text-align: center;
}

.pc-divider {
  border: none;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin-bottom: 1.5rem;
}

.pc-feature-header {
  font-size: 0.75rem;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
  text-align: center;
  font-weight: 600;
}

.pc-features {
  list-style: none;
  padding: 0;
  margin: 0;
  flex-grow: 1;
}

.pc-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: #ccc;
  line-height: 1.4;
}

.pc-features i {
  color: #555;
  margin-top: 0.2rem;
}

.premium-card--highlighted .pc-features i {
  color: #777;
}

.pc-feature-badge {
  background: rgba(255, 255, 255, 0.1);
  font-size: 0.65rem;
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
  margin-left: 0.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  color: #ccc;
}

.pc-feature-badge i {
  margin: 0;
  color: #aaa;
  font-size: 0.6rem;
}

.close-modal:hover {
  color: var(--color-gold);
}
/* About Section Motto Image Animation */
.floating-motto {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0,0,0,0.6), 0 0 40px rgba(212,175,55,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  transform: translateY(0);
  animation: floatMotto 6s ease-in-out infinite;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.floating-motto:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 40px 80px rgba(0,0,0,0.8), 0 0 60px rgba(212,175,55,0.15);
}

@keyframes floatMotto {
  0% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0); }
}


@media (max-width: 768px) {
  .floating-zoom {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    font-size: 20px;
  }
} 


/* Gallery Page Styles */
.gallery-section {
  padding: 8rem 0;
  min-height: 100vh;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
}

.gallery-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  cursor: pointer;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

/* Half Gold / Half Transparent Button */
.btn-gallery {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.5rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid var(--color-gold);
  border-radius: 50px;
  background: linear-gradient(to right, var(--color-gold) 50%, transparent 50%);
  background-size: 200% 100%;
  background-position: right bottom;
  color: #fff;
  transition: all 0.4s ease;
  cursor: pointer;
}

.btn-gallery:hover {
  background-position: left bottom;
  color: #000;
  box-shadow: 0 0 30px rgba(212, 175, 55, 0.4);
}

.hero-gallery-cta {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  width: 100%;
} 


/* Mobile CTA Fix */
.floating-zoom {
  z-index: 9999 !important;
} 


#water-section {
  position: relative;
  border-radius: 30px;
  padding: 4rem 2rem;
  margin-top: 6rem;
  background-image: url('assets/background-image.png');
  background-size: cover;
  background-position: center;
  overflow: hidden;
  border: 1px solid var(--glass-border);
} 

