/* ==========================================================================
   Kalameh WebFonts (@font-face Definitions)
   Standard (KalamehWeb) & Farsi-Numerals (KalamehWebFaNum)
   ========================================================================== */

/* 1. KalamehWeb (Standard) */
@font-face {
  font-family: 'KalamehWeb';
  font-style: normal;
  font-weight: 100;
  font-display: swap;
  src: url('../fonts/Kalameh/01-%20Standard-Fonts/WebFonts/fonts/woff2/KalamehWeb-Thin.woff2') format('woff2'),
       url('../fonts/Kalameh/01-%20Standard-Fonts/WebFonts/fonts/woff/KalamehWeb-Thin.woff') format('woff');
}
@font-face {
  font-family: 'KalamehWeb';
  font-style: normal;
  font-weight: 200;
  font-display: swap;
  src: url('../fonts/Kalameh/01-%20Standard-Fonts/WebFonts/fonts/woff2/KalamehWeb-ExtraLight.woff2') format('woff2'),
       url('../fonts/Kalameh/01-%20Standard-Fonts/WebFonts/fonts/woff/KalamehWeb-ExtraLight.woff') format('woff');
}
@font-face {
  font-family: 'KalamehWeb';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('../fonts/Kalameh/01-%20Standard-Fonts/WebFonts/fonts/woff2/KalamehWeb-Light.woff2') format('woff2'),
       url('../fonts/Kalameh/01-%20Standard-Fonts/WebFonts/fonts/woff/KalamehWeb-Light.woff') format('woff');
}
@font-face {
  font-family: 'KalamehWeb';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/Kalameh/01-%20Standard-Fonts/WebFonts/fonts/woff2/KalamehWeb-Regular.woff2') format('woff2'),
       url('../fonts/Kalameh/01-%20Standard-Fonts/WebFonts/fonts/woff/KalamehWeb-Regular.woff') format('woff');
}
@font-face {
  font-family: 'KalamehWeb';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/Kalameh/01-%20Standard-Fonts/WebFonts/fonts/woff2/KalamehWeb-Medium.woff2') format('woff2'),
       url('../fonts/Kalameh/01-%20Standard-Fonts/WebFonts/fonts/woff/KalamehWeb-Medium.woff') format('woff');
}
@font-face {
  font-family: 'KalamehWeb';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/Kalameh/01-%20Standard-Fonts/WebFonts/fonts/woff2/KalamehWeb-SemiBold.woff2') format('woff2'),
       url('../fonts/Kalameh/01-%20Standard-Fonts/WebFonts/fonts/woff/KalamehWeb-SemiBold.woff') format('woff');
}
@font-face {
  font-family: 'KalamehWeb';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/Kalameh/01-%20Standard-Fonts/WebFonts/fonts/woff2/KalamehWeb-Bold.woff2') format('woff2'),
       url('../fonts/Kalameh/01-%20Standard-Fonts/WebFonts/fonts/woff/KalamehWeb-Bold.woff') format('woff');
}
@font-face {
  font-family: 'KalamehWeb';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('../fonts/Kalameh/01-%20Standard-Fonts/WebFonts/fonts/woff2/KalamehWeb-ExtraBold.woff2') format('woff2'),
       url('../fonts/Kalameh/01-%20Standard-Fonts/WebFonts/fonts/woff/KalamehWeb-ExtraBold.woff') format('woff');
}
@font-face {
  font-family: 'KalamehWeb';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url('../fonts/Kalameh/01-%20Standard-Fonts/WebFonts/fonts/woff2/KalamehWeb-Black.woff2') format('woff2'),
       url('../fonts/Kalameh/01-%20Standard-Fonts/WebFonts/fonts/woff/KalamehWeb-Black.woff') format('woff');
}

/* 2. KalamehWebFaNum (Farsi Numerals) */
@font-face {
  font-family: 'KalamehWebFaNum';
  font-style: normal;
  font-weight: 100;
  font-display: swap;
  src: url('../fonts/Kalameh/02-%20Farsi-Numerals/WebFonts/fonts/woff2/KalamehWebFaNum-Thin.woff2') format('woff2'),
       url('../fonts/Kalameh/02-%20Farsi-Numerals/WebFonts/fonts/woff/KalamehWebFaNum-Thin.woff') format('woff');
}
@font-face {
  font-family: 'KalamehWebFaNum';
  font-style: normal;
  font-weight: 200;
  font-display: swap;
  src: url('../fonts/Kalameh/02-%20Farsi-Numerals/WebFonts/fonts/woff2/KalamehWebFaNum-ExtraLight.woff2') format('woff2'),
       url('../fonts/Kalameh/02-%20Farsi-Numerals/WebFonts/fonts/woff/KalamehWebFaNum-ExtraLight.woff') format('woff');
}
@font-face {
  font-family: 'KalamehWebFaNum';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('../fonts/Kalameh/02-%20Farsi-Numerals/WebFonts/fonts/woff2/KalamehWebFaNum-Light.woff2') format('woff2'),
       url('../fonts/Kalameh/02-%20Farsi-Numerals/WebFonts/fonts/woff/KalamehWebFaNum-Light.woff') format('woff');
}
@font-face {
  font-family: 'KalamehWebFaNum';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/Kalameh/02-%20Farsi-Numerals/WebFonts/fonts/woff2/KalamehWebFaNum-Regular.woff2') format('woff2'),
       url('../fonts/Kalameh/02-%20Farsi-Numerals/WebFonts/fonts/woff/KalamehWebFaNum-Regular.woff') format('woff');
}
@font-face {
  font-family: 'KalamehWebFaNum';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/Kalameh/02-%20Farsi-Numerals/WebFonts/fonts/woff2/KalamehWebFaNum-Medium.woff2') format('woff2'),
       url('../fonts/Kalameh/02-%20Farsi-Numerals/WebFonts/fonts/woff/KalamehWebFaNum-Medium.woff') format('woff');
}
@font-face {
  font-family: 'KalamehWebFaNum';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/Kalameh/02-%20Farsi-Numerals/WebFonts/fonts/woff2/KalamehWebFaNum-SemiBold.woff2') format('woff2'),
       url('../fonts/Kalameh/02-%20Farsi-Numerals/WebFonts/fonts/woff/KalamehWebFaNum-SemiBold.woff') format('woff');
}
@font-face {
  font-family: 'KalamehWebFaNum';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/Kalameh/02-%20Farsi-Numerals/WebFonts/fonts/woff2/KalamehWebFaNum-Bold.woff2') format('woff2'),
       url('../fonts/Kalameh/02-%20Farsi-Numerals/WebFonts/fonts/woff/KalamehWebFaNum-Bold.woff') format('woff');
}
@font-face {
  font-family: 'KalamehWebFaNum';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('../fonts/Kalameh/02-%20Farsi-Numerals/WebFonts/fonts/woff2/KalamehWebFaNum-ExtraBold.woff2') format('woff2'),
       url('../fonts/Kalameh/02-%20Farsi-Numerals/WebFonts/fonts/woff/KalamehWebFaNum-ExtraBold.woff') format('woff');
}
@font-face {
  font-family: 'KalamehWebFaNum';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url('../fonts/Kalameh/02-%20Farsi-Numerals/WebFonts/fonts/woff2/KalamehWebFaNum-Black.woff2') format('woff2'),
       url('../fonts/Kalameh/02-%20Farsi-Numerals/WebFonts/fonts/woff/KalamehWebFaNum-Black.woff') format('woff');
}

:root {
  /* Augusta Daylight / Clubhouse Luxury Palette */
  --color-clubhouse-bg:    #F8FAF6; /* Natural ivory/cream course canvas */
  --color-clubhouse-surface:#FFFFFF;/* Pure white card surface */
  --color-clubhouse-subtle:#EEF4EE; /* Soft morning sage tint for secondary strips */
  --color-fairway-pine:    #0E3528; /* Deep Augusta pine green for headings & primary brand */
  --color-fairway-emerald: #1A6C4A; /* Vibrant fairway turf green */
  --color-fairway-light:   #2D8A63; /* Luminous grass highlight */
  --color-sand-gold:       #C5A059; /* Championship bunker sand gold */
  --color-sand-gold-dark:  #9E792F; /* High-contrast gold for text on light bg */
  --color-sand-gold-hover: #B58F48;
  --color-sand-muted:      rgba(197, 160, 89, 0.15);
  --color-text-main:       #182A20; /* High-legibility deep pine charcoal */
  --color-text-muted:      #5C7567; /* Sophisticated sage moss text */
  --color-border-subtle:   rgba(14, 53, 40, 0.10);
  --color-border-gold:     rgba(197, 160, 89, 0.32);

  /* Legacy variable aliases for smooth backward compatibility */
  --color-fairway-noir:    #0E3528;
  --color-fairway-deep:    #08241B;
  --color-fairway-surface: #14382A;
  --color-clubhouse-white: #FFFFFF;
  --color-carbon-slate:    #EEF4EE;
  --color-carbon-card:     #FFFFFF;
  --color-carbon-border:   rgba(197, 160, 89, 0.30);

  /* Typography - Kalameh Family */
  --font-fa: 'KalamehWeb', 'KalamehWebFaNum', sans-serif;
  --font-ar: 'KalamehWeb', 'KalamehWebFaNum', sans-serif;
  --font-fanum: 'KalamehWebFaNum', 'KalamehWeb', sans-serif;
  --font-en: 'Futura PT', 'Futura', 'Trebuchet MS', -apple-system, sans-serif;

  /* Transitions & Shadows */
  --transition-smooth: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-gold: 0 10px 30px rgba(197, 160, 89, 0.22);
  --shadow-card: 0 10px 30px rgba(14, 53, 40, 0.06);
  --shadow-card-hover: 0 18px 40px rgba(14, 53, 40, 0.12);
}

/* Base HTML & Body Containment + Text Size Adjustment */
html {
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-x: clip;
}

body {
  background-color: var(--color-clubhouse-bg);
  color: var(--color-text-main);
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  padding: 0;
  overflow-x: clip;
  width: 100%;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Responsive Media Containment */
img, video, iframe, canvas, svg {
  max-width: 100%;
  height: auto;
}

[lang="fa"], [lang="ar"] {
  font-family: var(--font-fa);
}

[lang="en"] {
  font-family: var(--font-en);
}

/* Typography & Text Utilities (Balanced Luxury: ExtraLight 200 Headings with dlig) */
h1, h2, h3, h4, h5, h6,
.display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
  font-family: var(--font-fa);
  font-weight: 200; /* Luxury ExtraLight 200 */
  font-feature-settings: "dlig" on, "ss01" on;
  -webkit-font-feature-settings: "dlig" on, "ss01" on;
  letter-spacing: -0.015em;
  color: var(--color-fairway-pine);
}

h1, .display-4 {
  font-size: clamp(2.3rem, 4.6vw, 3.8rem);
  line-height: 1.26;
  font-weight: 200;
}

h2, .display-5, .display-6 {
  font-size: clamp(1.85rem, 3.4vw, 2.6rem);
  line-height: 1.35;
  font-weight: 200;
}

h3 {
  font-size: clamp(1.4rem, 2.4vw, 1.85rem);
  line-height: 1.4;
  font-weight: 200;
}

h4 {
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
  line-height: 1.45;
  font-weight: 200;
}

h5 {
  font-size: 1.15rem;
  font-weight: 300;
}

h6 {
  font-size: 0.95rem;
  font-weight: 400;
}

p, body {
  font-family: var(--font-fa);
  font-weight: 300;
  font-size: 1.02rem;
  line-height: 1.85;
}

.lead {
  font-weight: 200;
  font-size: 1.2rem;
  line-height: 1.85;
  color: var(--color-text-muted);
}

.text-gold {
  color: var(--color-sand-gold-dark) !important;
}

.text-fairway-pine {
  color: var(--color-fairway-pine) !important;
}

.text-fairway-emerald {
  color: var(--color-fairway-emerald) !important;
}

.text-muted-custom {
  color: var(--color-text-muted) !important;
}

/* OpenType Utility Classes */
.ot-dlig {
  font-feature-settings: "dlig" on;
  -webkit-font-feature-settings: "dlig" on;
}

.ot-ss01 {
  font-feature-settings: "ss01" on;
  -webkit-font-feature-settings: "ss01" on;
}

.ot-ss02 {
  font-feature-settings: "ss02" on;
  -webkit-font-feature-settings: "ss02" on;
}

.font-fanum {
  font-family: var(--font-fanum) !important;
}

.dir-ltr {
  direction: ltr !important;
  text-align: left !important;
  unicode-bidi: isolate !important;
}

.phone-fanum {
  font-family: var(--font-fanum) !important;
  direction: ltr !important;
  text-align: left !important;
  unicode-bidi: isolate !important;
}

.font-extralight {
  font-weight: 200 !important;
}

.font-light {
  font-weight: 300 !important;
}

.font-regular {
  font-weight: 400 !important;
}

.font-medium {
  font-weight: 500 !important;
}

.font-semibold {
  font-weight: 600 !important;
}

.font-bold {
  font-weight: 700 !important;
}

/* Header & Glassmorphism Navigation */
.navbar-golfly {
  background: rgba(248, 250, 246, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-border-gold);
  transition: var(--transition-smooth);
}

.navbar-brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 900;
  font-size: 1.35rem;
  color: var(--color-fairway-pine);
  text-decoration: none;
}

.navbar-brand-logo .crest {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1.5px solid var(--color-sand-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle, #E8F2EC, #D6E8DC);
  color: var(--color-sand-gold-dark);
  font-size: 1.25rem;
}

.nav-link-golfly {
  color: #1A3A2B !important;
  font-weight: 500;
  font-size: 0.96rem;
  padding-inline: 0.85rem !important;
  padding-block: 0.5rem !important;
  transition: var(--transition-smooth);
  border-radius: 6px;
}

.nav-link-golfly:hover,
.nav-link-golfly.active {
  color: var(--color-fairway-emerald) !important;
  background: rgba(197, 160, 89, 0.08);
}

/* Luxury Navbar Dropdowns */
.navbar-golfly .dropdown-menu {
  background: rgba(8, 23, 17, 0.98) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border: 1px solid rgba(197, 160, 89, 0.35) !important;
  border-radius: 14px !important;
  padding: 0.5rem !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.65) !important;
  min-width: 270px;
}

.navbar-golfly .dropdown-item {
  color: #FFFFFF !important;
  padding: 0.6rem 0.85rem !important;
  border-radius: 10px !important;
  transition: all 0.2s ease !important;
  font-size: 0.95rem;
}

.navbar-golfly .dropdown-item:hover,
.navbar-golfly .dropdown-item:focus {
  background: rgba(197, 160, 89, 0.14) !important;
  color: #F5E6CC !important;
  transform: translateX(3px);
}

[dir="rtl"] .navbar-golfly .dropdown-item:hover,
[dir="rtl"] .navbar-golfly .dropdown-item:focus {
  transform: translateX(-3px);
}

.navbar-golfly .nav-item-desc {
  font-size: 0.76rem !important;
  color: rgba(255, 255, 255, 0.68) !important;
  line-height: 1.4;
  display: block;
  margin-top: 2px;
}

.navbar-golfly .dropdown-item:hover .nav-item-desc {
  color: rgba(255, 255, 255, 0.9) !important;
}

.navbar-golfly .dropdown-divider {
  border-color: rgba(197, 160, 89, 0.2) !important;
  margin: 0.4rem 0 !important;
}

/* Hover dropdown open on Desktop */
@media (min-width: 992px) {
  .navbar-golfly .nav-item.dropdown:hover > .dropdown-menu {
    display: block;
    animation: navDropFadeIn 0.22s ease forwards;
  }
}

@keyframes navDropFadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 991.98px) {
  .navbar-golfly .navbar-collapse {
    background: #FFFFFF !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border: 1px solid rgba(197, 160, 89, 0.35);
    border-radius: 16px;
    padding: 1.25rem;
    margin-top: 0.75rem;
    box-shadow: 0 16px 45px rgba(0, 0, 0, 0.12);
  }

  .navbar-golfly .nav-link-golfly {
    color: #1A3A2B !important;
    padding-block: 0.7rem !important;
    font-size: 1rem !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  }

  .navbar-golfly .nav-link-golfly:hover,
  .navbar-golfly .nav-link-golfly.active {
    color: var(--color-fairway-emerald) !important;
    background: rgba(197, 160, 89, 0.12);
  }

  .navbar-golfly .dropdown-menu {
    background: #F8FAF7 !important;
    border: 1px solid rgba(197, 160, 89, 0.25) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06) !important;
    margin-top: 0.4rem !important;
    margin-bottom: 0.6rem !important;
    padding: 0.5rem !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  .navbar-golfly .dropdown-item,
  .navbar-golfly .dropdown-item.text-light {
    color: #1A3A2B !important;
  }

  .navbar-golfly .dropdown-item:hover,
  .navbar-golfly .dropdown-item:focus {
    background: rgba(197, 160, 89, 0.15) !important;
    color: var(--color-fairway-emerald) !important;
  }

  .navbar-golfly .nav-item-desc {
    color: #556B5F !important;
  }

  .navbar-golfly .dropdown-item:hover .nav-item-desc {
    color: #1A3A2B !important;
  }

  .navbar-golfly .dropdown-divider {
    border-color: rgba(0, 0, 0, 0.08) !important;
  }

  .navbar-golfly .dropdown-menu.bg-dark {
    background-color: #F8FAF7 !important;
    border-color: rgba(197, 160, 89, 0.25) !important;
  }

  .navbar-golfly .dropdown-menu.bg-dark .text-light {
    color: #1A3A2B !important;
  }
}

/* ==========================================================================
   HOMEPAGE LUXURY ANNOUNCEMENT CAPSULE & SLIDING TICKER
   ========================================================================== */
.golfly-announcement-section {
  position: relative;
  z-index: 20;
  padding: 1.25rem 0;
  margin: 0;
  background-color: #071912;
  background-image: 
    linear-gradient(180deg, rgba(6, 17, 13, 0.82) 0%, rgba(10, 32, 24, 0.74) 50%, rgba(6, 17, 13, 0.90) 100%),
    url('../images/course/panorama.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  border-top: 1px solid rgba(197, 160, 89, 0.25);
  border-bottom: 1px solid rgba(197, 160, 89, 0.25);
  box-shadow: inset 0 8px 24px rgba(0, 0, 0, 0.5), inset 0 -8px 24px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}

.golfly-announcement-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at center, rgba(197, 160, 89, 0.12) 0%, transparent 75%);
  pointer-events: none;
}

.golfly-announcement-capsule {
  position: relative;
  z-index: 2;
  background: rgba(6, 20, 15, 0.84);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(197, 160, 89, 0.45);
  border-radius: 9999px;
  padding: 0.45rem 0.85rem 0.45rem 1.4rem;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

html[dir="rtl"] .golfly-announcement-capsule {
  padding: 0.45rem 1.4rem 0.45rem 0.85rem;
}

.golfly-announcement-capsule:hover {
  border-color: rgba(197, 160, 89, 0.85);
  box-shadow: 0 14px 42px rgba(0, 0, 0, 0.65), 0 0 28px rgba(197, 160, 89, 0.28);
  transform: translateY(-1px);
}

.announcement-badge-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.announcement-beacon-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: var(--color-sand-gold);
  box-shadow: 0 0 0 0 rgba(197, 160, 89, 0.7);
  animation: beaconPulse 2s infinite cubic-bezier(0.66, 0, 0, 1);
  display: inline-block;
}

@keyframes beaconPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(197, 160, 89, 0.8);
    transform: scale(0.95);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(197, 160, 89, 0);
    transform: scale(1.15);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(197, 160, 89, 0);
    transform: scale(0.95);
  }
}

.announcement-badge-pill {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 0.3rem 0.75rem;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  text-transform: uppercase;
}

.announcement-badge-gold {
  background: rgba(197, 160, 89, 0.2);
  color: var(--color-sand-gold);
  border: 1px solid rgba(197, 160, 89, 0.5);
}

.announcement-badge-emerald {
  background: rgba(16, 185, 129, 0.2);
  color: #34D399;
  border: 1px solid rgba(16, 185, 129, 0.5);
}

.announcement-badge-crimson {
  background: rgba(239, 68, 68, 0.2);
  color: #F87171;
  border: 1px solid rgba(239, 68, 68, 0.5);
}

.announcement-badge-blue {
  background: rgba(56, 189, 248, 0.2);
  color: #38BDF8;
  border: 1px solid rgba(56, 189, 248, 0.5);
}

/* Ticker Slide Track */
.announcement-ticker-track {
  position: relative;
  flex-grow: 1;
  height: 32px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.golfly-announcement-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  opacity: 0;
  transform: translateY(100%);
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.45s ease;
  pointer-events: none;
}

.golfly-announcement-slide.active {
  position: relative;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.golfly-announcement-slide.prev {
  opacity: 0;
  transform: translateY(-100%);
}

.announcement-headline-link {
  color: #FFFFFF;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.4;
  display: inline-block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  transition: color 0.2s ease;
}

.announcement-headline-link:hover {
  color: var(--color-sand-gold);
}

/* Actions & Dots */
.announcement-actions-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.announcement-cta-btn {
  background: linear-gradient(135deg, var(--color-sand-gold), #B58F48);
  color: #081711 !important;
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.35rem 0.95rem;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
  box-shadow: 0 4px 12px rgba(197, 160, 89, 0.28);
}

.announcement-cta-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
  box-shadow: 0 6px 16px rgba(197, 160, 89, 0.4);
}

.announcement-controls {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.announcement-nav-arrow {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid rgba(197, 160, 89, 0.35);
  background: rgba(255, 255, 255, 0.05);
  color: var(--color-sand-gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  font-size: 0.72rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.announcement-nav-arrow:hover {
  background: rgba(197, 160, 89, 0.25);
  border-color: var(--color-sand-gold);
  color: #FFFFFF;
}

.announcement-dots {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.announcement-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  transition: all 0.3s ease;
}

.announcement-dot.active {
  background: var(--color-sand-gold);
  width: 14px;
  border-radius: 9999px;
}

/* Mobile Responsiveness for Announcement Capsule */
@media (max-width: 768px) {
  .golfly-announcement-section {
    padding: 0.85rem 0;
    margin: 0;
  }

  .golfly-announcement-capsule {
    border-radius: 18px;
    padding: 0.75rem 0.9rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
    background: rgba(6, 20, 15, 0.90);
  }

  .announcement-top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }

  .announcement-ticker-track {
    height: auto;
    min-height: 40px;
  }

  .golfly-announcement-slide {
    position: relative;
    height: auto;
    display: none;
  }

  .golfly-announcement-slide.active {
    display: block;
    position: relative;
  }

  .announcement-headline-link {
    font-size: max(16px, 0.95rem) !important;
    white-space: normal;
    display: block;
    line-height: 1.5;
  }

  .announcement-actions-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding-top: 0.4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .announcement-cta-btn {
    font-size: 0.85rem;
    padding: 0.4rem 1.1rem;
  }
}

/* Gold Buttons & Badges */
.btn-gold {
  background: linear-gradient(135deg, var(--color-sand-gold), #B58F48);
  color: #0E3528 !important;
  font-weight: 700;
  border: none;
  padding-inline: 1.5rem;
  padding-block: 0.75rem;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 14px rgba(197, 160, 89, 0.25);
}

.btn-gold:hover {
  background: linear-gradient(135deg, #D9B46E, var(--color-sand-gold));
  color: #072219 !important;
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.btn-outline-gold {
  background: transparent;
  color: var(--color-sand-gold-dark) !important;
  border: 1.5px solid var(--color-sand-gold);
  font-weight: 700;
  padding-inline: 1.5rem;
  padding-block: 0.75rem;
  border-radius: 6px;
  transition: var(--transition-smooth);
}

.btn-outline-gold:hover {
  background: var(--color-sand-gold);
  color: #0E3528 !important;
  border-color: var(--color-sand-gold);
}

.badge-gold {
  background: rgba(197, 160, 89, 0.16);
  color: var(--color-sand-gold-dark);
  border: 1px solid rgba(197, 160, 89, 0.45);
  padding-inline: 0.85rem;
  padding-block: 0.35rem;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.5px;
}

/* Language Selector Dropdown */
.lang-selector-btn {
  background: #FFFFFF;
  border: 1px solid var(--color-border-subtle);
  color: var(--color-fairway-pine);
  border-radius: 6px;
  padding-inline: 0.85rem;
  padding-block: 0.45rem;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 2px 6px rgba(14, 53, 40, 0.05);
}

.dropdown-menu {
  background: #FFFFFF !important;
  border: 1px solid var(--color-border-gold) !important;
  box-shadow: 0 15px 35px rgba(14, 53, 40, 0.12) !important;
  border-radius: 10px;
}

.dropdown-item {
  color: var(--color-text-main) !important;
  transition: var(--transition-smooth);
}

.dropdown-item:hover, .dropdown-item:focus {
  background: rgba(26, 108, 74, 0.08) !important;
  color: var(--color-fairway-emerald) !important;
}

/* Hero Carousel */
.banner-slider-wrapper {
  position: relative;
  background: #06110D;
  overflow-x: clip;
}

.mainHeroSwiper .swiper-slide {
  height: 85vh;
  min-height: 620px;
}

/* Strict aspect-ratio integrity on all hero slide images (Desktop) */
.hero-slide-visual-wrap {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.hero-slide-visual-wrap img,
.mainHeroSwiper .swiper-slide img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block;
}

/* Luminous, feather-light directional overlay (Desktop) */
.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14, 53, 40, 0.15) 0%, rgba(10, 36, 27, 0.65) 100%);
  z-index: 2;
  transition: background 0.3s ease, backdrop-filter 0.3s ease;
  pointer-events: none;
}

.hero-clean-hdr h1, .hero-clean-hdr .display-4 {
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.95), 0 2px 4px rgba(0, 0, 0, 0.9);
}
.hero-clean-hdr p.lead {
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.9);
}
.hero-frosted-glass-box {
  transition: var(--transition-smooth);
}

@media (max-width: 768px) {
  /* 1. Adaptive 16:9 Aspect Ratio on Mobile - Full photo completely in viewport with zero cropping */
  .mainHeroSwiper .swiper-slide {
    height: auto !important;
    min-height: unset !important;
    max-height: none !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    background: #06110D !important;
    padding-bottom: 2.2rem !important;
    box-sizing: border-box;
  }

  .mainHeroSwiper .hero-slide-visual-wrap {
    position: relative !important;
    width: 100% !important;
    aspect-ratio: 16 / 9 !important;
    height: auto !important;
    max-height: 54vw;
    overflow: hidden !important;
    background: #06110D !important;
    z-index: 1;
  }

  .mainHeroSwiper .hero-slide-visual-wrap img,
  .mainHeroSwiper .swiper-slide img {
    width: 100% !important;
    height: 100% !important;
    aspect-ratio: 16 / 9 !important;
    object-fit: cover !important;
    object-position: center center !important;
    transform: none !important; /* Eliminate zoom scaling on mobile so 100% of photo is visible */
    display: block !important;
  }

  /* 2. Feather-light overlay over the photo area: leaves 80%+ of the photo crystal clear */
  .hero-slide-overlay {
    position: absolute !important;
    inset: 0 !important;
    background: linear-gradient(180deg, rgba(6, 17, 13, 0.0) 0%, rgba(6, 17, 13, 0.10) 65%, rgba(6, 17, 13, 0.50) 100%) !important;
    pointer-events: none !important;
    z-index: 2 !important;
  }

  .hero-slide-overlay.has-frosted-glass {
    background: rgba(6, 17, 13, 0.15) !important;
  }

  /* 3. Sleek Floating Frosted Glass Content Capsule at the bottom */
  .mainHeroSwiper .container.hero-slide-container,
  .mainHeroSwiper .container {
    position: relative !important;
    z-index: 5 !important;
    margin-top: -32px !important; /* Gentle overlap with base of image */
    padding-inline: 0.95rem !important;
    padding-bottom: 0 !important;
    display: block !important;
    height: auto !important;
    align-items: stretch !important;
  }

  .mainHeroSwiper .hero-slide-content-box,
  .hero-frosted-glass-box {
    background: rgba(10, 29, 22, 0.94) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border: 1px solid rgba(197, 160, 89, 0.40) !important;
    border-radius: 18px !important;
    padding: 1.2rem 1.25rem !important;
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.75) !important;
    max-width: 100% !important;
  }

  .mainHeroSwiper h1,
  .mainHeroSwiper .display-4 {
    font-size: 1.22rem !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    letter-spacing: -0.01em !important;
    margin-bottom: 0.45rem !important;
    color: #FFFFFF !important;
  }

  .mainHeroSwiper p.lead {
    font-size: 0.88rem !important;
    line-height: 1.6 !important;
    margin-bottom: 0.95rem !important;
    max-width: 100% !important;
    color: #FFFFFF !important;
    opacity: 0.92 !important;
  }

  .mainHeroSwiper .badge {
    font-size: 0.75rem !important;
    padding: 0.35rem 0.75rem !important;
    margin-bottom: 0.5rem !important;
  }

  .mainHeroSwiper .hero-slide-buttons {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0.65rem !important;
  }

  .mainHeroSwiper .hero-slide-buttons .btn,
  .mainHeroSwiper .btn {
    padding: 0.55rem 1.15rem !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    border-radius: 50px !important;
  }

  /* Swiper pagination dots positioned cleanly below the capsule */
  .mainHeroSwiper .swiper-pagination {
    bottom: 0.5rem !important;
  }

  /* Sleek navigation arrows positioned gracefully on the 16:9 photo */
  .mainHeroSwiper .swiper-button-next,
  .mainHeroSwiper .swiper-button-prev {
    top: 26vw !important; /* Centers arrows directly on the 16:9 photo */
    width: 38px !important;
    height: 38px !important;
    background: rgba(6, 17, 13, 0.65) !important;
    border: 1px solid rgba(197, 160, 89, 0.45) !important;
    border-radius: 50% !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
  }
  .mainHeroSwiper .swiper-button-next::after,
  .mainHeroSwiper .swiper-button-prev::after {
    font-size: 14px !important;
    font-weight: 800 !important;
    color: var(--color-sand-gold) !important;
  }
}

/* Stats Counter Bar */
.stats-strip {
  background: var(--color-clubhouse-subtle);
  border-top: 1px solid var(--color-border-gold);
  border-bottom: 1px solid var(--color-border-gold);
  padding-block: 2.4rem;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--color-fairway-pine);
  line-height: 1;
  margin-bottom: 0.35rem;
  font-feature-settings: 'tnum' on;
}

.stat-label {
  font-size: 0.92rem;
  color: var(--color-text-muted);
  font-weight: 600;
}

/* Dynamic Cards Grid */
.golf-card {
  background: var(--color-clubhouse-surface);
  border: 1px solid var(--color-border-gold);
  border-radius: 14px;
  padding: 1.85rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.golf-card::before {
  content: '';
  position: absolute;
  top: 0;
  inset-inline-start: 0;
  width: 100%;
  height: 3px;
  background: transparent;
  transition: var(--transition-smooth);
}

.golf-card:hover {
  transform: translateY(-6px);
  border-color: var(--color-sand-gold);
  box-shadow: var(--shadow-card-hover);
}

.golf-card:hover::before {
  background: linear-gradient(90deg, var(--color-sand-gold), transparent);
}

.golf-card .card-icon {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  background: rgba(26, 108, 74, 0.08);
  border: 1px solid var(--color-border-gold);
  color: var(--color-fairway-emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

/* Package Pricing Cards */
.package-card {
  background: var(--color-clubhouse-surface);
  border: 1px solid var(--color-border-gold);
  border-radius: 16px;
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-card);
}

.package-card.featured {
  border: 2px solid var(--color-sand-gold);
  box-shadow: 0 14px 40px rgba(197, 160, 89, 0.20);
  background: linear-gradient(180deg, #FFFFFF 0%, #FAFBF8 100%);
}

.package-card.featured::after {
  content: '';
  position: absolute;
  top: 0;
  inset-inline-start: 15%;
  inset-inline-end: 15%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--color-sand-gold), transparent);
}

.package-card:hover {
  transform: translateY(-8px);
  border-color: var(--color-sand-gold);
  box-shadow: var(--shadow-card-hover);
}

.package-card h4 {
  font-size: 1.6rem;
  font-weight: 200; /* ExtraLight luxury title */
  letter-spacing: -0.01em;
  color: var(--color-fairway-pine);
  margin-bottom: 0.4rem;
  font-feature-settings: "dlig" on, "ss01" on;
}

.package-price {
  font-family: var(--font-fanum);
  font-size: 2.35rem;
  font-weight: 700; /* High-contrast 700 with Persian Numerals */
  color: var(--color-sand-gold-dark);
  margin-block: 1.25rem;
  letter-spacing: -0.02em;
}

.package-features-list {
  list-style: none;
  padding: 0;
  margin-block: 1.5rem;
  flex-grow: 1;
}

.package-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  font-size: 0.95rem;
  color: var(--color-text-main);
}

.package-features-list li i {
  color: var(--color-fairway-emerald);
  font-size: 1.1rem;
}

.badge-sessions {
  background: var(--color-clubhouse-subtle);
  color: var(--color-fairway-pine);
  border: 1px solid var(--color-border-subtle);
  font-family: var(--font-fanum);
  font-weight: 600;
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
}

/* Bi-directional (Bidi) Adjustments */
[dir="rtl"] .bi-arrow-right,
[dir="rtl"] .bi-arrow-right-circle,
[dir="rtl"] .bi-arrow-right-circle-fill {
  transform: scaleX(-1);
}

/* Footer (Deep Augusta Racing Green Grounding Anchor) */
.footer-golfly {
  background: #0B251B;
  color: #E3ECE6;
  border-top: 1px solid rgba(197, 160, 89, 0.25);
  padding-top: 4.5rem;
  padding-bottom: 2.5rem;
}

.footer-golfly h4, .footer-golfly h5, .footer-golfly h6 {
  color: #FFFFFF;
}

.footer-golfly a {
  color: #C2D6CA;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.footer-golfly a:hover {
  color: var(--color-sand-gold);
}

/* ==========================================================================
   Editorial Bio Collage (Augusta Daylight Luxury)
   ========================================================================== */
.bio-editorial-section {
  position: relative;
  background: radial-gradient(circle at 80% 20%, rgba(26, 108, 74, 0.08) 0%, transparent 65%),
              linear-gradient(180deg, #FFFFFF 0%, var(--color-clubhouse-bg) 100%);
  padding-block: 5.5rem;
  overflow: hidden;
}

.bio-collage-container {
  position: relative;
  padding-inline: 1rem;
}

.bio-hero-portrait {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 2px solid var(--color-sand-gold);
  box-shadow: 0 25px 50px -12px rgba(14, 53, 40, 0.15);
  background: #EEF4EE;
  transition: var(--transition-smooth);
}

.bio-hero-portrait img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.bio-hero-portrait:hover img {
  transform: scale(1.03);
}

.bio-floating-thumb {
  position: absolute;
  border-radius: 14px;
  overflow: hidden;
  border: 2px solid var(--color-sand-gold);
  box-shadow: 0 16px 35px rgba(14, 53, 40, 0.12);
  background: #FFFFFF;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  z-index: 4;
}

.bio-floating-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bio-floating-thumb:hover {
  transform: translateY(-5px) scale(1.04);
  box-shadow: 0 25px 45px rgba(197, 160, 89, 0.35);
}

/* Positional variants for thumbs */
.bio-thumb-tee {
  width: 170px;
  height: 170px;
  bottom: -25px;
  inset-inline-start: -25px;
}

.bio-thumb-fairway {
  width: 150px;
  height: 190px;
  top: 30px;
  inset-inline-end: -25px;
}

.bio-thumb-putting {
  width: 140px;
  height: 140px;
  bottom: 40px;
  inset-inline-end: -20px;
}

.bio-floating-badge {
  position: absolute;
  top: 25px;
  inset-inline-start: 15px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--color-sand-gold);
  border-radius: 50px;
  padding: 0.55rem 1.15rem;
  color: var(--color-fairway-pine);
  font-size: 0.82rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 10px 25px rgba(14, 53, 40, 0.10);
  z-index: 5;
}

.bio-floating-badge i {
  color: var(--color-sand-gold-dark);
}

.bio-quote-card {
  background: var(--color-clubhouse-subtle);
  border: 1px solid var(--color-border-gold);
  border-inline-start: 4px solid var(--color-sand-gold);
  border-radius: 14px;
  padding: 1.25rem 1.5rem;
  margin-block: 1.5rem;
  position: relative;
  color: var(--color-fairway-pine);
}

.bio-quote-card::before {
  content: '"';
  position: absolute;
  top: -10px;
  inset-inline-start: 15px;
  font-size: 3.5rem;
  line-height: 1;
  color: rgba(197, 160, 89, 0.35);
  font-family: Georgia, serif;
}

.bio-signature-script {
  font-family: 'Brush Script MT', cursive, 'Vazirmatn';
  font-size: 1.75rem;
  color: var(--color-sand-gold-dark);
  letter-spacing: 0.05em;
}

/* ==========================================================================
   Edge-to-Edge Panoramic Golf Course Section
   ========================================================================== */
.edge-to-edge-course {
  position: relative;
  width: 100%;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: #0B251B;
}

.edge-to-edge-course-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transform: scale(1.02);
  transition: transform 10s ease;
}

.edge-to-edge-course:hover .edge-to-edge-course-bg {
  transform: scale(1.08);
}

.edge-to-edge-course-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(14, 53, 40, 0.35) 0%, rgba(9, 35, 26, 0.82) 100%),
              linear-gradient(180deg, rgba(14, 53, 40, 0.25) 0%, rgba(9, 35, 26, 0.88) 100%);
  z-index: 2;
}

.edge-to-edge-course-content {
  position: relative;
  z-index: 5;
  max-width: 860px;
  text-align: center;
  padding: 4rem 1.5rem;
}

.edge-to-edge-quote {
  font-size: clamp(1.6rem, 3.2vw, 2.25rem);
  line-height: 1.75;
  font-weight: 200; /* ExtraLight luxury quote */
  color: #fff;
  letter-spacing: -0.01em;
  margin-bottom: 1.5rem;
  font-feature-settings: "dlig" on, "ss01" on;
  -webkit-font-feature-settings: "dlig" on, "ss01" on;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.7);
}

.edge-to-edge-quote .text-gold {
  color: var(--color-sand-gold) !important;
  font-weight: 600;
}

/* Card Image Header */
.golf-card-thumb {
  width: 100%;
  height: 180px;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 1.25rem;
  border: 1px solid var(--color-border-gold);
}

.golf-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.golf-card:hover .golf-card-thumb img {
  transform: scale(1.08);
}

/* ==========================================================================
   10. Golf Quotes Showcase (between Hero Carousel and Stats Strip)
   ========================================================================== */
.golf-quotes-section {
  position: relative;
  background: linear-gradient(180deg, #071912 0%, #0c2b1f 50%, #071912 100%);
  padding: 2.25rem 0;
  border-top: 1px solid rgba(197, 160, 89, 0.15);
  border-bottom: 1px solid rgba(197, 160, 89, 0.15);
  overflow: hidden;
  z-index: 10;
}

.golf-quotes-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(ellipse at center, rgba(197, 160, 89, 0.07) 0%, transparent 70%);
  pointer-events: none;
}

.golf-quotes-card {
  position: relative;
  background: linear-gradient(135deg, rgba(14, 42, 31, 0.92) 0%, rgba(8, 25, 18, 0.96) 100%);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(197, 160, 89, 0.32);
  border-radius: 20px;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  padding: 2.5rem 3.5rem 2.8rem;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
}

.golf-quotes-bg-icon {
  position: absolute;
  top: 10px;
  right: 25px;
  font-size: 5.5rem;
  line-height: 1;
  color: rgba(197, 160, 89, 0.08);
  pointer-events: none;
  font-family: 'KalamehWeb', serif;
}

[dir="rtl"] .golf-quotes-bg-icon {
  right: auto;
  left: 25px;
}

.golf-quotes-content-box {
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
  will-change: transform, opacity, filter;
  transform-style: preserve-3d;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.golf-quote-item {
  width: 100%;
  max-width: 960px;
}

.golf-quote-text {
  font-family: 'KalamehWeb', 'KalamehWebFaNum', sans-serif;
  font-size: clamp(1.2rem, 2.3vw, 1.55rem);
  font-weight: 500;
  line-height: 1.85;
  color: #f8fafc;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.golf-quote-place {
  font-family: 'KalamehWeb', 'KalamehWebFaNum', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-sand-gold);
  background: rgba(197, 160, 89, 0.12);
  border: 1px solid rgba(197, 160, 89, 0.32);
  padding: 0.35rem 1.25rem;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Nav Controls */
.golf-quotes-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(14, 42, 31, 0.8);
  border: 1px solid rgba(197, 160, 89, 0.3);
  color: var(--color-sand-gold);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
  z-index: 5;
}

.golf-quotes-nav-btn:hover {
  background: var(--color-sand-gold);
  color: #000;
  transform: translateY(-50%) scale(1.1);
}

.golf-quotes-prev {
  right: 15px;
}

.golf-quotes-next {
  left: 15px;
}

[dir="rtl"] .golf-quotes-prev {
  right: 15px;
  left: auto;
}

[dir="rtl"] .golf-quotes-next {
  left: 15px;
  right: auto;
}

/* Progress bar */
.golf-quotes-timer {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
}

.golf-quotes-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #c5a059 0%, #e6ca85 50%, #c5a059 100%);
  box-shadow: 0 0 8px rgba(197, 160, 89, 0.6);
  transition: width linear;
}

/* ==========================================================================
   The 5 Animation Effects for Golf Quotes
   ========================================================================== */

/* 1. Fade Dissolve (Pure, Still & Serene) */
.quote-fx-fade.anim-in {
  animation: quoteFadeIn 0.65s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.quote-fx-fade.anim-out {
  animation: quoteFadeOut 0.3s ease-in forwards;
}

@keyframes quoteFadeIn {
  0% { opacity: 0; transform: scale(0.98); }
  100% { opacity: 1; transform: scale(1); }
}
@keyframes quoteFadeOut {
  0% { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(0.98); }
}

/* 2. Slide Up & Reveal (Bold Editorial Vertical Motion) */
.quote-fx-slide_up.anim-in {
  animation: quoteSlideUpIn 0.65s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.quote-fx-slide_up.anim-out {
  animation: quoteSlideUpOut 0.3s ease-in forwards;
}

@keyframes quoteSlideUpIn {
  0% { opacity: 0; transform: translateY(60px); }
  100% { opacity: 1; transform: translateY(0); }
}
@keyframes quoteSlideUpOut {
  0% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(-45px); }
}

/* 3. Soft Blur to Sharp (Cinematic Camera Focus Pull) */
.quote-fx-blur_reveal.anim-in {
  animation: quoteBlurIn 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  will-change: filter, opacity, transform;
}
.quote-fx-blur_reveal.anim-out {
  animation: quoteBlurOut 0.3s ease-in forwards;
  will-change: filter, opacity, transform;
}

@keyframes quoteBlurIn {
  0% { opacity: 0; filter: blur(25px); transform: scale(1.06); }
  100% { opacity: 1; filter: blur(0px); transform: scale(1); }
}
@keyframes quoteBlurOut {
  0% { opacity: 1; filter: blur(0px); transform: scale(1); }
  100% { opacity: 0; filter: blur(25px); transform: scale(0.94); }
}

/* 4. Cinematic Zoom & Scale (Dynamic Depth Zoom with Subtle Bounce) */
.quote-fx-zoom_scale.anim-in {
  animation: quoteZoomIn 0.65s cubic-bezier(0.34, 1.4, 0.64, 1) forwards;
}
.quote-fx-zoom_scale.anim-out {
  animation: quoteZoomOut 0.3s ease-in forwards;
}

@keyframes quoteZoomIn {
  0% { opacity: 0; transform: scale(0.7); }
  100% { opacity: 1; transform: scale(1); }
}
@keyframes quoteZoomOut {
  0% { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.15); }
}

/* 5. Elegant 3D Flip / Tilt (Bold 3D Plaque Rotation) */
.quote-fx-flip_tilt.anim-in {
  animation: quoteFlipIn 0.75s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  transform-origin: 50% 0%;
}
.quote-fx-flip_tilt.anim-out {
  animation: quoteFlipOut 0.35s ease-in forwards;
  transform-origin: 50% 100%;
}

@keyframes quoteFlipIn {
  0% { opacity: 0; transform: perspective(900px) rotateX(90deg) translateY(40px); }
  100% { opacity: 1; transform: perspective(900px) rotateX(0deg) translateY(0); }
}
@keyframes quoteFlipOut {
  0% { opacity: 1; transform: perspective(900px) rotateX(0deg) translateY(0); }
  100% { opacity: 0; transform: perspective(900px) rotateX(-90deg) translateY(-40px); }
}

@media (max-width: 767.98px) {
  .golf-quotes-card {
    padding: 2rem 1.5rem 2.2rem;
  }
  .golf-quotes-nav-btn {
    display: none;
  }
}

/* ==========================================================================
   Mobile Viewport, Safe Area & iOS Safari Form Zoom Prevention
   ========================================================================== */
:root {
  --safe-area-top: env(safe-area-inset-top, 0px);
  --safe-area-bottom: env(safe-area-inset-bottom, 0px);
  --safe-area-left: env(safe-area-inset-left, 0px);
  --safe-area-right: env(safe-area-inset-right, 0px);
}

.navbar-golfly {
  padding-top: max(0.75rem, env(safe-area-inset-top, 0px));
  padding-left: max(0.75rem, env(safe-area-inset-left, 0px));
  padding-right: max(0.75rem, env(safe-area-inset-right, 0px));
}

.footer-golfly {
  padding-bottom: max(2.5rem, calc(1.5rem + env(safe-area-inset-bottom, 0px)));
  padding-left: max(1rem, env(safe-area-inset-left, 0px));
  padding-right: max(1rem, env(safe-area-inset-right, 0px));
}

@media screen and (max-width: 768px) {
  /* Prevent iOS Safari from auto-zooming when form controls are focused (< 16px font-size) */
  input:not([type="checkbox"]):not([type="radio"]):not([type="color"]),
  select,
  textarea,
  .form-control,
  .form-select,
  .form-control-sm,
  .input-group-text {
    font-size: 16px !important;
    font-size: max(16px, 1rem) !important;
    line-height: 1.45 !important;
  }

  /* Modal Dialog containment on narrow mobile screens (375px/390px) */
  .modal-dialog {
    margin: 0.75rem auto;
    max-width: calc(100vw - 1.5rem);
  }

  /* Responsive containment for edge-to-edge section */
  .edge-to-edge-course {
    min-height: clamp(360px, 50dvh, 480px);
  }
  .edge-to-edge-course-content {
    padding: 2.5rem 1rem;
  }

  /* Table responsive wrapper containment */
  .table-responsive {
    -webkit-overflow-scrolling: touch;
    max-width: 100%;
  }
}

