/*
Theme Name: Ali Mehndi Expert
Theme URI: https://alimehndiexpert.com/
Author: AME Developer
Author URI: https://alimehndiexpert.com/
Description: A premium, handcrafted WordPress theme for Ali Mehndi Expert — Pakistan's award-winning bridal mehndi artist. Features WooCommerce integration, advanced gallery, booking system, multi-language support, and luxury design aesthetics.
Version: 2.1.0
Tested up to: 6.8
Requires PHP: 8.0
Requires at least: 6.0
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ali-mehndi-expert
Tags: custom-logo, custom-menu, custom-header, custom-background, featured-images, footer-widgets, full-width-template, rtl-language-support, translation-ready, theme-options, portfolio, blog, e-commerce, one-column, two-columns
*/

/* ============================================================
   TABLE OF CONTENTS
   1. CSS Custom Properties
   2. Reset & Base
   3. Typography
   4. Layout & Grid
   5. Utility Classes
   6. Animation Foundations
   ============================================================ */

/* ============================================================
   1. CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  /* Brand Colors */
  --color-primary: #EC5598;
  --color-primary-dark: #d44485;
  --color-primary-light: #f7a3c8;
  --color-primary-rgb: 236, 85, 152;

  --color-secondary: #C9A94E;
  --color-secondary-dark: #a88d3a;
  --color-secondary-light: #e3d49e;

  --color-dark: #1a1a1a;
  --color-dark-light: #2d2d2d;
  --color-body-text: #333333;
  --color-muted: #666666;
  --color-light-text: #999999;

  --color-white: #ffffff;
  --color-off-white: #faf8f5;
  --color-cream: #f5f0eb;
  --color-light-bg: #f9f5f2;
  --color-border: #e8e0d8;
  --color-border-light: #f0ebe5;

  /* Overlay */
  --overlay-dark: rgba(26, 26, 26, 0.7);
  --overlay-primary: rgba(236, 85, 152, 0.85);

  /* Typography */
  --font-heading: 'Playfair Display', 'Georgia', serif;
  --font-body: 'Poppins', 'Helvetica Neue', sans-serif;
  --font-accent: 'Great Vibes', cursive;

  --fs-display: clamp(2.5rem, 5vw, 4.5rem);
  --fs-h1: clamp(2rem, 4vw, 3.5rem);
  --fs-h2: clamp(1.75rem, 3vw, 2.75rem);
  --fs-h3: clamp(1.25rem, 2.5vw, 1.75rem);
  --fs-h4: clamp(1.1rem, 2vw, 1.35rem);
  --fs-h5: 1.1rem;
  --fs-h6: 1rem;
  --fs-body: 1rem;
  --fs-small: 0.875rem;
  --fs-xs: 0.75rem;

  --fw-light: 300;
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;
  --fw-extrabold: 800;

  --lh-tight: 1.2;
  --lh-snug: 1.35;
  --lh-normal: 1.6;
  --lh-relaxed: 1.8;

  --ls-tight: -0.02em;
  --ls-normal: 0;
  --ls-wide: 0.05em;
  --ls-wider: 0.1em;
  --ls-widest: 0.2em;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --space-5xl: 8rem;
  --space-section: clamp(4rem, 8vw, 8rem);

  /* Layout */
  --container-sm: 640px;
  --container-md: 768px;
  --container-lg: 1024px;
  --container-xl: 1200px;
  --container-2xl: 1400px;
  --container-padding: clamp(1rem, 3vw, 2rem);

  /* Button Padding */
  --btn-padding: 14px 32px;
  --btn-padding-lg: 18px 42px;
  --btn-padding-sm: 10px 22px;

  /* Borders & Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 20px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.15);
  --shadow-glow: 0 0 30px rgba(236, 85, 152, 0.2);

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
  --transition-smooth: 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);

  /* Z-Index */
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-fixed: 300;
  --z-modal-backdrop: 400;
  --z-modal: 500;
  --z-tooltip: 600;
  --z-loader: 9999;
}

/* ============================================================
   2. RESET & BASE
   ============================================================ */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: var(--fw-regular);
  line-height: var(--lh-normal);
  color: var(--color-body-text);
  background-color: var(--color-white);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  vertical-align: middle;
}

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

a:hover,
a:focus {
  color: var(--color-primary-dark);
}

ul, ol {
  list-style: none;
}

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  border: none;
  outline: none;
  background: none;
}

button {
  cursor: pointer;
}

table {
  border-collapse: collapse;
  width: 100%;
}

/* Accessibility */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

.screen-reader-text:focus {
  background-color: var(--color-white);
  clip: auto !important;
  clip-path: none;
  color: var(--color-dark);
  display: block;
  font-size: 1em;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: var(--z-tooltip);
}

::selection {
  background: var(--color-primary);
  color: var(--color-white);
}

/* ============================================================
   3. TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: var(--fw-bold);
  line-height: var(--lh-tight);
  color: var(--color-dark);
  text-wrap: balance;
}

h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); }
h5 { font-size: var(--fs-h5); }
h6 { font-size: var(--fs-h6); }

p {
  margin-bottom: var(--space-md);
  text-wrap: pretty;
}

p:last-child {
  margin-bottom: 0;
}

.text-accent {
  font-family: var(--font-accent);
  color: var(--color-primary);
}

.text-display {
  font-size: var(--fs-display);
  font-weight: var(--fw-bold);
  line-height: 1.1;
  letter-spacing: var(--ls-tight);
}

.text-subtitle {
  font-family: var(--font-body);
  font-size: var(--fs-h4);
  font-weight: var(--fw-light);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  color: var(--color-primary);
}

.text-lead {
  font-size: 1.15rem;
  line-height: var(--lh-relaxed);
  color: var(--color-muted);
}

blockquote {
  padding: var(--space-lg) var(--space-xl);
  border-left: 4px solid var(--color-primary);
  background: var(--color-light-bg);
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.1rem;
  margin: var(--space-xl) 0;
}

/* ============================================================
   4. LAYOUT & GRID
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--container-xl);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
}

.container-sm { max-width: var(--container-sm); }
.container-md { max-width: var(--container-md); }
.container-lg { max-width: var(--container-lg); }
.container-xl { max-width: var(--container-xl); }
.container-2xl { max-width: var(--container-2xl); }
.container-fluid { max-width: 100%; }

.row {
  display: flex;
  flex-wrap: wrap;
  margin-left: calc(var(--space-md) * -1);
  margin-right: calc(var(--space-md) * -1);
}

.col {
  flex: 1;
  padding-left: var(--space-md);
  padding-right: var(--space-md);
}

/* Column widths */
.col-1  { flex: 0 0 8.333%; max-width: 8.333%; }
.col-2  { flex: 0 0 16.667%; max-width: 16.667%; }
.col-3  { flex: 0 0 25%; max-width: 25%; }
.col-4  { flex: 0 0 33.333%; max-width: 33.333%; }
.col-5  { flex: 0 0 41.667%; max-width: 41.667%; }
.col-6  { flex: 0 0 50%; max-width: 50%; }
.col-7  { flex: 0 0 58.333%; max-width: 58.333%; }
.col-8  { flex: 0 0 66.667%; max-width: 66.667%; }
.col-9  { flex: 0 0 75%; max-width: 75%; }
.col-10 { flex: 0 0 83.333%; max-width: 83.333%; }
.col-11 { flex: 0 0 91.667%; max-width: 91.667%; }
.col-12 { flex: 0 0 100%; max-width: 100%; }

/* Section spacing */
.section {
  padding-top: var(--space-section);
  padding-bottom: var(--space-section);
}

.section-sm {
  padding-top: var(--space-3xl);
  padding-bottom: var(--space-3xl);
}

/* Section header */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-3xl);
}

.section-header .section-label {
  font-family: var(--font-accent);
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  color: var(--color-primary);
  display: block;
  margin-bottom: var(--space-sm);
}

.section-header h2 {
  margin-bottom: var(--space-md);
}

.section-header p {
  color: var(--color-muted);
  font-size: 1.05rem;
}

/* Separator line */
.separator {
  width: 60px;
  height: 3px;
  background: var(--color-primary);
  margin: var(--space-md) auto;
  border-radius: var(--radius-full);
}

.separator-left {
  margin-left: 0;
}

/* ============================================================
   5. UTILITY CLASSES
   ============================================================ */

/* Backgrounds */
.bg-primary { background-color: var(--color-primary); }
.bg-dark { background-color: var(--color-dark); }
.bg-cream { background-color: var(--color-cream); }
.bg-light { background-color: var(--color-light-bg); }
.bg-white { background-color: var(--color-white); }
.bg-off-white { background-color: var(--color-off-white); }

/* Text colors */
.text-primary { color: var(--color-primary); }
.text-dark { color: var(--color-dark); }
.text-white { color: var(--color-white); }
.text-muted { color: var(--color-muted); }
.text-gold { color: var(--color-secondary); }

/* Text alignment */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

/* Display */
.d-flex { display: flex; }
.d-grid { display: grid; }
.d-block { display: block; }
.d-inline-block { display: inline-block; }
.d-none { display: none; }

/* Flex utilities */
.flex-center { justify-content: center; align-items: center; }
.flex-between { justify-content: space-between; align-items: center; }
.flex-column { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.align-center { align-items: center; }
.justify-center { justify-content: center; }
.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }
.gap-lg { gap: var(--space-lg); }
.gap-xl { gap: var(--space-xl); }
.gap-2xl { gap: var(--space-2xl); }

/* Spacing */
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--space-sm); }
.mt-2 { margin-top: var(--space-md); }
.mt-3 { margin-top: var(--space-lg); }
.mt-4 { margin-top: var(--space-xl); }
.mt-5 { margin-top: var(--space-2xl); }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--space-sm); }
.mb-2 { margin-bottom: var(--space-md); }
.mb-3 { margin-bottom: var(--space-lg); }
.mb-4 { margin-bottom: var(--space-xl); }
.mb-5 { margin-bottom: var(--space-2xl); }

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: var(--fs-small);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  text-align: center;
  border-radius: var(--radius-sm);
  transition: all var(--transition-base);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-white);
  border: 2px solid var(--color-primary);
}

.btn-primary:hover {
  background-color: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.btn-outline:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-2px);
}

.btn-dark {
  background-color: var(--color-dark);
  color: var(--color-white);
  border: 2px solid var(--color-dark);
}

.btn-dark:hover {
  background-color: transparent;
  color: var(--color-dark);
}

.btn-gold {
  background-color: var(--color-secondary);
  color: var(--color-white);
  border: 2px solid var(--color-secondary);
}

.btn-gold:hover {
  background-color: var(--color-secondary-dark);
  border-color: var(--color-secondary-dark);
  color: var(--color-white);
  transform: translateY(-2px);
}

.btn-white {
  background: var(--color-white);
  color: var(--color-dark);
  border: 2px solid var(--color-white);
}

.btn-white:hover {
  background: transparent;
  color: var(--color-white);
}

.btn-lg {
  padding: 18px 42px;
  font-size: 1rem;
}

.btn-sm {
  padding: 10px 22px;
  font-size: var(--fs-xs);
}

/* ============================================================
   6. ANIMATION FOUNDATIONS
   ============================================================ */

/* Reveal animations — triggered by JS IntersectionObserver */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* Stagger children delays */
.stagger > *:nth-child(1) { transition-delay: 0.05s; }
.stagger > *:nth-child(2) { transition-delay: 0.1s; }
.stagger > *:nth-child(3) { transition-delay: 0.15s; }
.stagger > *:nth-child(4) { transition-delay: 0.2s; }
.stagger > *:nth-child(5) { transition-delay: 0.25s; }
.stagger > *:nth-child(6) { transition-delay: 0.3s; }
.stagger > *:nth-child(7) { transition-delay: 0.35s; }
.stagger > *:nth-child(8) { transition-delay: 0.4s; }

/* Hover lift */
.hover-lift {
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.hover-lift:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

/* Image zoom on hover */
.img-zoom {
  overflow: hidden;
}

.img-zoom img {
  transition: transform var(--transition-slow);
}

.img-zoom:hover img {
  transform: scale(1.08);
}

/* Pulse animation for CTA */
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.pulse {
  animation: pulse 2s infinite;
}

/* Subtle float animation */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

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

/* Shimmer effect for gold accent */
@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

.text-shimmer {
  background: linear-gradient(
    90deg,
    var(--color-secondary-dark),
    var(--color-secondary-light),
    var(--color-secondary-dark)
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 4s linear infinite;
}

/* ── Gradient Text ── */
.gradient-text {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary), var(--color-primary-light));
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientShift 6s ease infinite;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* ── Glassmorphism ── */
.glass {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
}

.glass-dark {
  background: rgba(26, 26, 26, 0.65);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
}

/* ── Button Ripple Effect ── */
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 60%);
  transform: scale(0);
  opacity: 0;
  border-radius: inherit;
  transition: transform 0.5s ease, opacity 0.3s ease;
}

.btn:active::after {
  transform: scale(2.5);
  opacity: 1;
  transition: transform 0s, opacity 0s;
}

/* ── Card Glow Border ── */
.glow-border {
  position: relative;
}

.glow-border::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary), var(--color-primary-light), var(--color-primary));
  background-size: 300% 300%;
  border-radius: inherit;
  z-index: -1;
  opacity: 0;
  transition: opacity var(--transition-base);
  animation: gradientShift 4s ease infinite;
}

.glow-border:hover::before {
  opacity: 1;
}

/* ── Parallax Decorative Elements ── */
@keyframes parallaxFloat {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(10px, -15px) rotate(2deg); }
  50% { transform: translate(-5px, -25px) rotate(-1deg); }
  75% { transform: translate(-10px, -10px) rotate(1deg); }
}

.deco-float {
  position: absolute;
  pointer-events: none;
  animation: parallaxFloat 8s ease-in-out infinite;
  opacity: 0.08;
}

.deco-float--slow { animation-duration: 12s; }
.deco-float--fast { animation-duration: 5s; }

/* ── Typewriter Effect ── */
@keyframes typewriter {
  from { width: 0; }
  to { width: 100%; }
}

@keyframes blink {
  0%, 100% { border-color: transparent; }
  50% { border-color: var(--color-primary); }
}

.typewriter {
  overflow: hidden;
  white-space: nowrap;
  border-right: 3px solid var(--color-primary);
  animation: typewriter 3s steps(40) 1s forwards,
             blink 0.7s step-end infinite;
  width: 0;
  display: inline-block;
}

/* ── Ken Burns Zoom ── */
@keyframes kenBurns {
  0% { transform: scale(1) translate(0, 0); }
  50% { transform: scale(1.12) translate(-1%, -1%); }
  100% { transform: scale(1) translate(0, 0); }
}

.ken-burns img {
  animation: kenBurns 20s ease-in-out infinite;
}

/* ── Bounce Scroll Indicator ── */
@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(12px); opacity: 0.5; }
}

.scroll-indicator {
  animation: scrollBounce 2s ease-in-out infinite;
}

/* ── Wave Section Divider ── */
.wave-divider {
  position: relative;
  overflow: hidden;
}

.wave-divider::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 60px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60'%3E%3Cpath fill='%23ffffff' d='M0,30 C360,60 720,0 1080,30 C1260,45 1380,50 1440,30 L1440,60 L0,60 Z'/%3E%3C/svg%3E") no-repeat bottom;
  background-size: cover;
}

.wave-divider--cream::after {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60'%3E%3Cpath fill='%23f5f0eb' d='M0,30 C360,60 720,0 1080,30 C1260,45 1380,50 1440,30 L1440,60 L0,60 Z'/%3E%3C/svg%3E") no-repeat bottom;
  background-size: cover;
}

.wave-divider--dark::after {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60'%3E%3Cpath fill='%231a1a1a' d='M0,30 C360,60 720,0 1080,30 C1260,45 1380,50 1440,30 L1440,60 L0,60 Z'/%3E%3C/svg%3E") no-repeat bottom;
  background-size: cover;
}

/* ── Skeleton Loading ── */
@keyframes skeletonPulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 0.8; }
}

.skeleton {
  background: linear-gradient(90deg, var(--color-cream) 25%, var(--color-light-bg) 50%, var(--color-cream) 75%);
  background-size: 200% 100%;
  animation: shimmer 2s ease-in-out infinite, skeletonPulse 2s ease-in-out infinite;
  border-radius: var(--radius-md);
}

/* ── Enhanced Hover Effects ── */
.hover-glow:hover {
  box-shadow: 0 0 30px rgba(236, 85, 152, 0.15),
              0 10px 40px rgba(0, 0, 0, 0.08);
}

.hover-border-primary {
  border: 2px solid transparent;
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.hover-border-primary:hover {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(236, 85, 152, 0.1);
}

/* ── Text Underline Animation ── */
.link-underline {
  position: relative;
  display: inline-block;
}

.link-underline::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: width var(--transition-base);
}

.link-underline:hover::after {
  width: 100%;
}

/* ── Rotating Icon on Hover ── */
.icon-rotate {
  transition: transform var(--transition-base);
  display: inline-block;
}

.icon-rotate:hover {
  transform: rotate(15deg) scale(1.1);
}

/* ── Counter Number Styling ── */
.counter-number {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: var(--fw-extrabold);
  line-height: 1;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ── Section Accent Dots ── */
.accent-dots {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin-bottom: var(--space-lg);
}

.accent-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-primary);
  opacity: 0.3;
}

.accent-dots span:nth-child(2) {
  opacity: 0.6;
  width: 24px;
  border-radius: var(--radius-full);
}

.accent-dots span:nth-child(3) {
  opacity: 0.3;
}

/* ── Timeline ── */
.timeline {
  position: relative;
  padding-left: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--color-primary), var(--color-secondary));
}

.timeline-item {
  position: relative;
  margin-bottom: var(--space-2xl);
  padding-left: var(--space-xl);
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -32px;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--color-primary);
  border: 3px solid var(--color-white);
  box-shadow: 0 0 0 3px var(--color-primary);
}

.timeline-year {
  font-family: var(--font-heading);
  font-weight: var(--fw-bold);
  color: var(--color-primary);
  font-size: var(--fs-small);
  text-transform: uppercase;
  letter-spacing: var(--ls-wider);
  margin-bottom: 4px;
}

/* ── Feature Grid ── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.feature-card {
  text-align: center;
  padding: var(--space-2xl) var(--space-xl);
  background: var(--color-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border-light);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  transform: scaleX(0);
  transition: transform var(--transition-base);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: var(--space-md);
  display: inline-block;
  transition: transform var(--transition-base);
}

.feature-card:hover .feature-icon {
  transform: scale(1.2) rotate(5deg);
}

.feature-card h4 {
  margin-bottom: var(--space-sm);
}

.feature-card p {
  color: var(--color-muted);
  font-size: var(--fs-small);
}

@media (max-width: 991px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575px) {
  .feature-grid { grid-template-columns: 1fr; }
}

/* ── Stats Bar ── */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
  text-align: center;
  padding: var(--space-3xl) 0;
}

.stats-bar__item {
  position: relative;
}

.stats-bar__item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: rgba(255,255,255,0.15);
}

.stats-bar__number {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: var(--fw-extrabold);
  color: var(--color-white);
  line-height: 1;
  margin-bottom: var(--space-sm);
}

.stats-bar__label {
  color: rgba(255,255,255,0.7);
  font-size: var(--fs-small);
  text-transform: uppercase;
  letter-spacing: var(--ls-wide);
}

@media (max-width: 767px) {
  .stats-bar { grid-template-columns: repeat(2, 1fr); gap: var(--space-lg); }
  .stats-bar__item:not(:last-child)::after { display: none; }
}

/* ============================================================
   7. RESPONSIVE BREAKPOINTS
   ============================================================ */
@media (max-width: 1199px) {
  .col-lg-6 { flex: 0 0 50%; max-width: 50%; }
  .col-lg-12 { flex: 0 0 100%; max-width: 100%; }
}

@media (max-width: 991px) {
  .col-md-6 { flex: 0 0 50%; max-width: 50%; }
  .col-md-12 { flex: 0 0 100%; max-width: 100%; }
  .d-md-none { display: none; }
  .d-md-block { display: block; }
}

@media (max-width: 767px) {
  .col-sm-6 { flex: 0 0 50%; max-width: 50%; }
  .col-sm-12 { flex: 0 0 100%; max-width: 100%; }
  .d-sm-none { display: none; }
  .d-sm-block { display: block; }
  .text-sm-center { text-align: center; }

  .section {
    padding-top: var(--space-3xl);
    padding-bottom: var(--space-3xl);
  }
}

@media (max-width: 575px) {
  .col-xs-12 { flex: 0 0 100%; max-width: 100%; }
}

/* ============================================================
   8. PREMIUM EFFECTS — 3D, Glassmorphism, Animations
   ============================================================ */

/* ── Glassmorphism Cards ── */
.glass-card {
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255,255,255,0.3);
  box-shadow: 0 8px 32px rgba(0,0,0,0.06);
}

/* ── 3D Perspective Containers ── */
.perspective-container {
  perspective: 1200px;
}

/* ── Animated Gradient Border ── */
.gradient-border {
  position: relative;
  border: none !important;
}

.gradient-border::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary), var(--color-primary-light), var(--color-primary));
  background-size: 300% 300%;
  animation: gradientBorderShift 4s ease infinite;
  border-radius: inherit;
  z-index: -1;
}

@keyframes gradientBorderShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* ── Gold Shimmer Text ── */
.text-shimmer {
  background: linear-gradient(135deg, var(--color-secondary-dark), var(--color-secondary), var(--color-secondary-light), var(--color-secondary));
  background-size: 300% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmerText 5s ease infinite;
}

/* Section labels get shimmer only in light sections */
.section-label {
  background: linear-gradient(135deg, var(--color-secondary-dark), var(--color-secondary), var(--color-secondary-light), var(--color-secondary));
  background-size: 300% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmerText 5s ease infinite;
}

/* Override shimmer for section labels inside dark sections (CTA, counter, banner) */
.cta-booking .section-label,
.awards-counter .section-label,
.page-banner .section-label,
[style*="-webkit-text-fill-color"] {
  background: none;
  -webkit-background-clip: unset;
  -webkit-text-fill-color: inherit;
  animation: none;
}

@keyframes shimmerText {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* ── Pulse Glow for CTA Buttons ── */
.pulse {
  animation: pulseGlow 2.5s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(var(--color-primary-rgb), 0.4); }
  50% { box-shadow: 0 0 0 15px rgba(var(--color-primary-rgb), 0); }
}

/* ── Counter Done Glow ── */
.counter-done {
  text-shadow: 0 0 20px rgba(var(--color-primary-rgb), 0.3);
}

/* ── Section Cream Background ── */
.section--cream {
  background: var(--color-cream);
}

/* ── Section Label (accent text above headings) ── */
.section-label {
  font-family: var(--font-accent);
  font-size: clamp(1rem, 2vw, 1.5rem);
  display: block;
  margin-bottom: var(--space-sm);
}

/* ── Awards Grid ── */
.awards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.award-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  padding: var(--space-2xl);
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
}

.award-card__icon {
  margin-bottom: var(--space-md);
}

.award-card__image {
  margin-bottom: var(--space-lg);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.award-card__image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.award-card__title {
  font-size: var(--fs-h4);
  margin-bottom: var(--space-xs);
}

.award-card__org {
  font-size: var(--fs-xs);
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: var(--ls-wider);
  font-weight: var(--fw-bold);
  display: block;
  margin-bottom: var(--space-sm);
}

.award-card__desc {
  font-size: var(--fs-small);
  color: var(--color-muted);
  margin: 0;
}

@media (max-width: 991px) {
  .awards-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575px) {
  .awards-grid { grid-template-columns: 1fr; }
}

/* ── Why Card (Feature Card Enhancement) ── */
.why-card {
  text-align: center;
  padding: var(--space-2xl);
  border-radius: var(--radius-lg);
  transition: all 0.3s ease;
}

/* ── Button Outline White ── */
.btn-outline-white {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.4);
  padding: var(--btn-padding-lg);
  border-radius: var(--radius-md);
  font-size: var(--fs-small);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: var(--ls-wide);
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.btn-outline-white:hover {
  background: rgba(255,255,255,0.15);
  border-color: #fff;
  transform: translateY(-2px);
}

/* ── Gallery Item Hover 3D lift ── */
.gallery-full-item {
  transition: all 0.4s cubic-bezier(0.25,0.46,0.45,0.94);
}

.gallery-full-item:hover {
  transform: translateY(-5px) scale(1.02);
  z-index: 2;
  box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

/* ── Staggered Reveal Delays ── */
.reveal[style*="animation-delay"] {
  animation-fill-mode: both;
}

/* ── Enhanced Service Card Hover ── */
.service-card {
  transition: all 0.4s cubic-bezier(0.25,0.46,0.45,0.94);
}

.service-card:hover {
  box-shadow: 0 20px 50px rgba(236,85,152,0.12);
}

.service-card__price {
  font-size: var(--fs-small);
  color: var(--color-primary);
  font-weight: var(--fw-semibold);
  margin-bottom: var(--space-sm);
}
