/* 
  =========================================
  PROPIN-STYLE PREMIUM REAL ESTATE STYLESHEET
  =========================================
  Designed with Modern Glassmorphism, Gold Accents, 
  and Native RTL (Right-to-Left) Logical Properties.
*/

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

:root {
  /* Colors */
  --bg-primary: #121212;
  --bg-secondary: #1a1a1a;
  --bg-tertiary: #232323;
  --bg-card: rgba(30, 30, 30, 0.65);
  
  --primary: #f6e27a;
  --primary-rgb: 246, 226, 122;
  --primary-hover: #ffd066;
  --primary-dark: #cb9b51;
  --primary-light: rgba(246, 226, 122, 0.15);
  
  --gold-gradient: linear-gradient(135deg, #f6e27a 0%, #cb9b51 30%, #ffd066 70%, #f6f2c0 85%, #866020 100%);
  --gold-gradient-hover: linear-gradient(135deg, #ffd066 0%, #dfb76c 30%, #ffd066 70%, #fffbeb 85%, #aa841e 100%);
  --text-gold-gradient: linear-gradient(135deg, #fbf5b7 0%, #cfab57 30%, #ffd066 70%, #fbf5b7 85%, #866020 100%);
  
  --text-primary: #ffffff;
  --text-secondary: #b5b5b5;
  --text-muted: #6e7881;
  
  --border-color: #2b2b2b;
  --border-light: rgba(255, 255, 255, 0.08);
  
  --bg-header-scrolled: rgba(18, 18, 18, 0.95);
  --bg-topbar: #0d0d0d;
  --bg-hero-overlay: linear-gradient(0deg, rgba(18,18,18,0.95) 0%, rgba(18,18,18,0.3) 50%, rgba(18,18,18,0.8) 100%);
  --bg-esg-card: linear-gradient(135deg, #1c170d 0%, #0d0a05 100%);
  
  /* Fonts */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-arabic: 'Tajawal', sans-serif;
  --font-current: var(--font-sans);
  
  /* Utilities */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --transition-smooth: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
  --shadow-glow: 0 0 15px rgba(246, 226, 122, 0.4);
}

/* Light Theme Variables */
html[data-theme="light"] {
  --bg-primary: #f5f6f8;
  --bg-secondary: #ffffff;
  --bg-tertiary: #ebebeb;
  --bg-card: rgba(255, 255, 255, 0.85);
  
  --primary: #aa841e;
  --primary-rgb: 170, 132, 30;
  --primary-hover: #cb9b51;
  --primary-dark: #866020;
  --primary-light: rgba(170, 132, 30, 0.12);
  
  --gold-gradient: linear-gradient(135deg, #f6e27a 0%, #dfb76c 30%, #ffd066 70%, #fffbeb 85%, #cb9b51 100%);
  --gold-gradient-hover: linear-gradient(135deg, #ffd066 0%, #dfb76c 30%, #ffd066 70%, #fffbeb 85%, #aa841e 100%);
  --text-gold-gradient: linear-gradient(135deg, #866020 0%, #aa841e 35%, #cb9b51 70%, #866020 100%);
  
  --text-primary: #151515;
  --text-secondary: #4a4d4d;
  --text-muted: #8e9292;
  
  --border-color: #d8d8d8;
  --border-light: rgba(0, 0, 0, 0.08);
  
  --bg-header-scrolled: rgba(255, 255, 255, 0.98);
  --bg-topbar: #eaeaea;
  --bg-hero-overlay: linear-gradient(0deg, rgba(245,246,248,0.95) 0%, rgba(245,246,248,0.3) 50%, rgba(245,246,248,0.8) 100%);
  --bg-esg-card: linear-gradient(135deg, #faf6eb 0%, #ede3cc 100%);
}

/* RTL Override for Arabic */
html[dir="rtl"] {
  --font-current: var(--font-arabic);
}

/* Base Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-current);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
}

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

/* Utility Containers */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding {
  padding: 80px 0;
}

@media (max-width: 768px) {
  .section-padding {
    padding: 50px 0;
  }
}

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition-smooth);
}

.header-scrolled {
  background-color: var(--bg-header-scrolled);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

/* Top Bar */
.top-bar {
  background-color: var(--bg-topbar);
  font-size: 13px;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-light);
  padding: 8px 0;
  transition: var(--transition-smooth);
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-contact {
  display: flex;
  gap: 20px;
}

.top-bar-contact a {
  display: flex;
  align-items: center;
  gap: 6px;
}

.top-bar-contact a:hover {
  color: var(--primary);
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 24px;
}

.top-bar-links {
  display: flex;
  gap: 16px;
}

.top-bar-links a:hover {
  color: var(--primary);
}

.lang-selector {
  display: flex;
  align-items: center;
  gap: 6px;
}

.lang-selector a {
  cursor: pointer;
  padding: 2px 6px;
  border-radius: var(--radius-sm);
}

.lang-selector a.active {
  background-color: var(--primary);
  color: var(--bg-primary);
  font-weight: 600;
}

.lang-separator {
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .top-bar-links {
    display: none !important;
  }
  .top-bar-contact a {
    white-space: nowrap !important;
  }
  .top-bar-right {
    gap: 12px !important;
  }
}

/* Main Navbar */
.navbar {
  padding: 16px 0;
  transition: var(--transition-smooth);
}

.header-scrolled .navbar {
  padding: 12px 0;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  font-weight: 800;
  font-size: 24px;
  color: var(--text-primary);
  letter-spacing: 1.5px;
}

.logo span {
  background: var(--text-gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.8px;
  padding: 8px 0;
  position: relative;
  text-transform: uppercase;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: var(--transition-smooth);
}

.nav-links a:hover, .nav-links a.active {
  color: var(--primary);
}

.nav-links a:hover::after, .nav-links a.active::after {
  width: 100%;
}

/* Hamburger & Mobile Menu */
.mobile-nav-toggle {
  display: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--text-primary);
}

.mobile-sidebar {
  position: fixed;
  top: 0;
  bottom: 0;
  right: -320px;
  width: 320px;
  background-color: var(--bg-secondary);
  border-left: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
  z-index: 2000;
  padding: 40px 24px;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  gap: 40px;
}

html[dir="rtl"] .mobile-sidebar {
  right: auto;
  left: -320px;
  border-left: none;
  border-right: 1px solid var(--border-color);
}

.mobile-sidebar.active {
  right: 0;
}

html[dir="rtl"] .mobile-sidebar.active {
  left: 0;
}

.mobile-sidebar-close {
  align-self: flex-end;
  font-size: 28px;
  cursor: pointer;
  color: var(--text-secondary);
  background: none;
  border: none;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mobile-nav-links a {
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
}

.mobile-nav-links a:hover, .mobile-nav-links a.active {
  color: var(--primary);
}

.sidebar-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  z-index: 1999;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
}

.sidebar-backdrop.active {
  opacity: 1;
  visibility: visible;
}

@media (max-width: 992px) {
  .nav-links {
    display: none;
  }
  .mobile-nav-toggle {
    display: block;
  }
}

/* Hero Section / Slider */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  width: 100%;
  overflow: hidden;
}

.hero-slider {
  height: 100%;
  width: 100%;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  display: flex;
  align-items: center;
  z-index: 1;
}

.hero-slide.active {
  opacity: 1;
  z-index: 2;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  transition: transform 6s ease;
}

.hero-slide.active .hero-bg {
  transform: scale(1);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-hero-overlay);
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 700px;
  padding: 0 24px;
}

.hero-content h1 {
  font-size: 54px;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 24px;
  text-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

.hero-content h1 span {
  background: var(--text-gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-content p {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 36px;
  max-width: 600px;
}

.btn-primary {
  background: var(--gold-gradient);
  color: #0b0b0b !important;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  border: none;
}

.btn-primary:hover {
  background: var(--gold-gradient-hover);
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}

/* Slider Controls */
.hero-controls {
  position: absolute;
  bottom: 40px;
  right: 24px;
  z-index: 20;
  display: flex;
  gap: 16px;
}

html[dir="rtl"] .hero-controls {
  right: auto;
  left: 24px;
}

.hero-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  background-color: rgba(18, 18, 18, 0.6);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-primary);
  font-size: 18px;
  transition: var(--transition-smooth);
}

.hero-btn:hover {
  background-color: var(--primary);
  color: var(--bg-primary);
  border-color: var(--primary);
}

/* Services Section (Propin Style detail expand layout) */
.services-section {
  background-color: var(--bg-secondary);
  position: relative;
  z-index: 10;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 16px;
}

.section-header h2 span {
  background: var(--text-gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.section-header p {
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

@media (max-width: 992px) {
  .services-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.service-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 40px;
  transition: var(--transition-smooth);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
  height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition-smooth);
}

html[dir="rtl"] .service-card::before {
  transform-origin: right;
}

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

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(var(--primary-rgb), 0.3);
  box-shadow: var(--shadow-md);
}

.service-card-header {
  margin-bottom: 24px;
}

.service-icon {
  width: 64px;
  height: 64px;
  background-color: var(--primary-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: var(--primary);
  margin-bottom: 24px;
}

.service-card h3 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 12px;
  line-height: 1.3;
}

.service-card-desc {
  color: var(--text-secondary);
  font-size: 14px;
}

/* Service Detail links (dynamic list) */
.service-items {
  margin-top: auto;
  border-top: 1px solid var(--border-color);
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.service-link {
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
}

.service-link i {
  color: var(--primary);
  font-size: 12px;
  transition: var(--transition-smooth);
}

.service-link:hover {
  color: var(--primary);
}

.service-link:hover i {
  transform: translateX(4px);
}

html[dir="rtl"] .service-link:hover i {
  transform: translateX(-4px);
}

/* Properties Showcase Section */
.properties-section {
  background-color: var(--bg-primary);
}

.filter-tabs {
  display: flex;
  justify-content: center;
  align-items: stretch;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 50px;
  background-color: var(--bg-secondary);
  border-radius: var(--radius-md);
  overflow-x: auto;
  scrollbar-width: none;
}

.filter-tabs::-webkit-scrollbar {
  display: none;
}

.filter-btn {
  flex: 1;
  min-width: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 24px 16px;
  border: none;
  border-radius: 0;
  background: none;
  cursor: pointer;
  transition: var(--transition-smooth);
  color: var(--text-secondary);
  border-inline-end: 1px solid var(--border-color);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.filter-btn:last-child {
  border-inline-end: none;
}

.filter-btn i {
  font-size: 26px;
  color: var(--text-muted);
  transition: var(--transition-smooth);
}

.filter-btn:hover {
  background-color: var(--bg-tertiary);
  color: var(--primary);
}

.filter-btn:hover i {
  color: var(--primary);
  transform: translateY(-2px);
}

.filter-btn.active {
  background-color: var(--bg-primary);
  color: var(--primary);
  border-top: 3px solid var(--primary);
  padding-top: 21px;
}

.filter-btn.active i {
  color: var(--primary);
}

.properties-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

@media (max-width: 992px) {
  .properties-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 600px) {
  .properties-grid {
    grid-template-columns: 1fr;
  }
}

.property-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.property-card:hover {
  transform: translateY(-5px);
  border-color: rgba(var(--primary-rgb), 0.25);
  box-shadow: var(--shadow-md);
}

.property-img-wrapper {
  position: relative;
  width: 100%;
  height: 240px;
  overflow: hidden;
}

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

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

.property-badge {
  position: absolute;
  top: 16px;
  inset-inline-start: 16px;
  background: var(--gold-gradient);
  color: #0b0b0b !important;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  letter-spacing: 0.5px;
}

.property-details {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.property-location {
  font-size: 13px;
  color: var(--primary);
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 8px;
}

.property-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.3;
}

.property-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  border-top: 1px solid var(--border-color);
  padding-top: 16px;
  margin-top: auto;
}

.spec-item {
  display: flex;
  flex-direction: column;
}

.spec-label {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.spec-val {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
}

/* Reports Section */
.reports-section {
  background-color: var(--bg-secondary);
  position: relative;
}

.reports-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

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

@media (max-width: 600px) {
  .reports-grid {
    grid-template-columns: 1fr;
  }
}

.report-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 30px;
  backdrop-filter: blur(10px);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 200px;
}

.report-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.report-content h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
  line-height: 1.4;
}

.report-content p {
  font-size: 13px;
  color: var(--text-secondary);
}

.report-card-footer {
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.report-download-btn {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.report-download-btn:hover {
  text-shadow: 0 0 8px rgba(var(--primary-rgb), 0.3);
}

/* ESG / Sustainability Banner */
.esg-section {
  position: relative;
  background-color: var(--bg-primary);
}

.esg-card {
  background: var(--bg-esg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  overflow: hidden;
}

@media (max-width: 992px) {
  .esg-card {
    flex-direction: column;
    padding: 40px 24px;
    align-items: flex-start;
  }
}

.esg-content {
  max-width: 60%;
  z-index: 10;
}

@media (max-width: 992px) {
  .esg-content {
    max-width: 100%;
  }
}

.esg-tag {
  color: var(--primary);
  text-transform: uppercase;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 2px;
  margin-bottom: 16px;
  display: inline-block;
}

.esg-content h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.esg-content p {
  color: var(--text-secondary);
  font-size: 15px;
}

.esg-points {
  display: flex;
  flex-direction: column;
  gap: 20px;
  z-index: 10;
}

.esg-point {
  display: flex;
  align-items: center;
  gap: 16px;
}

.esg-point-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: rgba(var(--primary-rgb), 0.1);
  border: 1px solid rgba(var(--primary-rgb), 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--primary);
  flex-shrink: 0;
}

.esg-point-text h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 2px;
}

.esg-point-text p {
  font-size: 13px;
  color: var(--text-secondary);
}

/* Footer styling */
footer {
  background-color: #0b0b0b !important;
  border-top: 1px solid #222222 !important;
  padding: 80px 0 30px 0;
  color: #ffffff !important;
}

footer .logo {
  color: #ffffff !important;
}

footer .logo span {
  background: linear-gradient(135deg, #f6e27a 0%, #cb9b51 30%, #ffd066 70%, #f6f2c0 85%, #866020 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  display: inline-block !important;
}

footer .footer-info p {
  color: #b5b5b5 !important;
}

footer .social-link {
  color: #b5b5b5 !important;
  background-color: #232323 !important;
}

footer .social-link:hover {
  background: linear-gradient(135deg, #f6e27a 0%, #cb9b51 30%, #ffd066 70%, #f6f2c0 85%, #866020 100%) !important;
  color: #0b0b0b !important;
}

footer .footer-column h3 {
  color: #ffffff !important;
}

footer .footer-column h3::after {
  background-color: #f6e27a !important;
}

footer .footer-links a {
  color: #b5b5b5 !important;
}

footer .footer-links a:hover {
  background: linear-gradient(135deg, #fbf5b7 0%, #cfab57 30%, #ffd066 70%, #fbf5b7 85%, #866020 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  padding-inline-start: 4px !important;
}

footer .footer-bottom {
  border-top: 1px solid #222222 !important;
  color: #6e7881 !important;
}

footer .footer-bottom-links a {
  color: #6e7881 !important;
}

footer .footer-bottom-links a:hover {
  background: linear-gradient(135deg, #fbf5b7 0%, #cfab57 30%, #ffd066 70%, #fbf5b7 85%, #866020 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 60px;
}

@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px 20px;
  }
  .footer-info {
    grid-column: span 2;
  }
}

.footer-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.footer-info p {
  color: var(--text-secondary);
  font-size: 14px;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--bg-tertiary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: var(--transition-smooth);
}

.social-link:hover {
  background-color: var(--primary);
  color: var(--bg-primary);
}

.footer-column h3 {
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 24px;
  position: relative;
  letter-spacing: 0.5px;
}

.footer-column h3::after {
  content: '';
  position: absolute;
  bottom: -6px;
  inset-inline-start: 0;
  width: 30px;
  height: 2px;
  background-color: var(--primary);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 14px;
  color: var(--text-secondary);
}

.footer-links a:hover {
  color: var(--primary);
  padding-inline-start: 4px;
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 13px;
  color: var(--text-muted);
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a:hover {
  color: var(--primary);
}

/* Page Specific layout (Services, Properties, Contact) */
.page-header {
  position: relative;
  background-color: var(--bg-secondary);
  padding: 160px 0 80px 0;
  border-bottom: 1px solid var(--border-color);
}

.page-header-content {
  max-width: 800px;
}

.page-header h1 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 16px;
}

.page-header h1 span {
  background: var(--text-gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.page-header p {
  font-size: 16px;
  color: var(--text-secondary);
}

/* Property search filters page */
.property-search-bar {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  padding: 24px;
  border-radius: var(--radius-md);
  margin-top: -40px;
  margin-bottom: 50px;
  position: relative;
  z-index: 100;
  box-shadow: var(--shadow-md);
}

.search-form {
  display: grid;
  grid-template-columns: repeat(4, 1fr) auto;
  gap: 16px;
  align-items: flex-end;
}

@media (max-width: 992px) {
  .search-form {
    grid-template-columns: repeat(2, 1fr);
  }
  .search-btn-wrapper {
    grid-column: span 2;
  }
}

@media (max-width: 600px) {
  .search-form {
    grid-template-columns: 1fr;
  }
  .search-btn-wrapper {
    grid-column: span 1;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.form-group select, .form-group input {
  padding: 12px;
  background-color: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 14px;
  width: 100%;
}

.form-group select:focus, .form-group input:focus {
  border-color: var(--primary);
  outline: none;
}

.btn-search {
  background: var(--gold-gradient);
  color: #0b0b0b !important;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 48px;
  border: none;
}

.btn-search:hover {
  background: var(--gold-gradient-hover);
  box-shadow: var(--shadow-glow);
}

/* Contact page styles */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 50px;
}

@media (max-width: 992px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.contact-info-col {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.contact-info-item {
  display: flex;
  gap: 20px;
}

.contact-icon {
  width: 52px;
  height: 52px;
  background-color: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--primary);
  flex-shrink: 0;
}

.contact-text h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 4px;
}

.contact-text p, .contact-text a {
  color: var(--text-secondary);
  font-size: 14px;
}

.contact-text a:hover {
  color: var(--primary);
}

.contact-form-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 40px;
}

@media (max-width: 600px) {
  .contact-form-card {
    padding: 24px;
  }
}

.contact-form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}

@media (max-width: 600px) {
  .contact-form-grid {
    grid-template-columns: 1fr;
  }
}

.form-full-width {
  grid-column: span 2;
}

@media (max-width: 600px) {
  .form-full-width {
    grid-column: span 1;
  }
}

.contact-form-card input, .contact-form-card textarea {
  width: 100%;
  padding: 14px;
  background-color: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 14px;
}

.contact-form-card input:focus, .contact-form-card textarea:focus {
  border-color: var(--primary);
  outline: none;
}

.contact-form-card textarea {
  height: 150px;
  resize: vertical;
}

.btn-submit {
  background: var(--gold-gradient);
  color: #0b0b0b !important;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
}

.btn-submit:hover {
  background: var(--gold-gradient-hover);
  box-shadow: var(--shadow-glow);
}

.map-container {
  width: 100%;
  height: 400px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-color);
  margin-top: 50px;
}

/* Services page segment list layout */
.services-detail-list {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.service-detail-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.service-detail-row:nth-child(even) {
  direction: rtl;
}

.service-detail-row:nth-child(even) .service-detail-content {
  direction: ltr;
}

html[dir="rtl"] .service-detail-row:nth-child(even) {
  direction: ltr;
}

html[dir="rtl"] .service-detail-row:nth-child(even) .service-detail-content {
  direction: rtl;
}

@media (max-width: 992px) {
  .service-detail-row, .service-detail-row:nth-child(even) {
    grid-template-columns: 1fr;
    gap: 30px;
    direction: ltr;
  }
  html[dir="rtl"] .service-detail-row, html[dir="rtl"] .service-detail-row:nth-child(even) {
    direction: rtl;
  }
}

.service-detail-content h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
}

.service-detail-content h2 span {
  background: var(--text-gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.service-detail-content p {
  color: var(--text-secondary);
  margin-bottom: 30px;
}

.service-sub-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

@media (max-width: 600px) {
  .service-sub-list {
    grid-template-columns: 1fr;
  }
}

.service-sub-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-secondary);
}

.service-sub-item i {
  color: var(--primary);
}

.service-detail-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
  height: 350px;
}

.service-detail-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animated {
  animation-duration: 0.8s;
  animation-fill-mode: both;
}

.fadeInUp {
  animation-name: fadeInUp;
}

/* 
  =========================================
  MODALS & INTERACTIVE SCHEDULER STYLING
  =========================================
*/

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-container {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-md);
  padding: 40px;
  position: relative;
  transform: translateY(20px);
  transition: var(--transition-smooth);
}

.modal-overlay.active .modal-container {
  transform: translateY(0);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 20px;
  margin-bottom: 24px;
}

.modal-header h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
}

.modal-close-btn {
  font-size: 24px;
  cursor: pointer;
  color: var(--text-secondary);
  background: none;
  border: none;
  transition: var(--transition-smooth);
}

.modal-close-btn:hover {
  color: var(--primary);
}

/* Modals Forms */
.modal-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.modal-form .form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.modal-form label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.modal-form input, .modal-form select, .modal-form textarea {
  width: 100%;
  padding: 14px;
  background-color: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 14px;
  transition: var(--transition-smooth);
}

.modal-form input:focus, .modal-form select:focus, .modal-form textarea:focus {
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 10px rgba(var(--primary-rgb), 0.15);
}

.modal-form textarea {
  height: 110px;
  resize: vertical;
}

/* KVKK switch toggles matching image details */
.toggle-group {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  cursor: pointer;
  margin-top: 6px;
}

.toggle-switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 22px;
  flex-shrink: 0;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  transition: .3s;
  border-radius: 22px;
}

.toggle-slider:before {
  position: absolute;
  content: "";
  height: 14px;
  width: 14px;
  left: 3px;
  bottom: 3px;
  background-color: var(--text-muted);
  transition: .3s;
  border-radius: 50%;
}

.toggle-switch input:checked + .toggle-slider {
  background-color: var(--primary-light);
  border-color: var(--primary);
}

.toggle-switch input:checked + .toggle-slider:before {
  transform: translateX(22px);
  background-color: var(--primary);
}

.toggle-label {
  font-size: 11px;
  color: var(--text-secondary);
  line-height: 1.5;
  user-select: none;
}

/* Scheduler calendar styling */
.scheduler-title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 12px;
  text-transform: uppercase;
  color: var(--primary);
}

.calendar-month {
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 10px;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  margin-bottom: 24px;
}

.calendar-header-day {
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  padding-bottom: 6px;
}

.calendar-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background-color: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.calendar-day:hover:not(.empty) {
  border-color: var(--primary);
  color: var(--primary);
  transform: scale(1.05);
}

.calendar-day.selected {
  background: var(--gold-gradient) !important;
  color: #0b0b0b !important;
  border: none !important;
  box-shadow: var(--shadow-glow);
}

.calendar-day.empty {
  background: none;
  border: none;
  cursor: default;
}

.time-slots {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 10px;
}

@media (max-width: 480px) {
  .time-slots {
    grid-template-columns: repeat(2, 1fr);
  }
}

.time-slot {
  padding: 12px;
  text-align: center;
  background-color: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.time-slot:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.time-slot.selected {
  background: var(--gold-gradient);
  color: #0b0b0b !important;
  border-color: transparent;
  box-shadow: var(--shadow-glow);
}

/* Side-by-side Action Buttons in Reports card footer */
.report-card-footer {
  margin-top: 24px;
}

.report-actions {
  display: flex;
  gap: 12px;
  width: 100%;
}

@media (max-width: 420px) {
  .report-actions {
    flex-direction: column;
    gap: 8px;
  }
}

.btn-report-action {
  flex: 1;
  padding: 12px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition-smooth);
  border: 1px solid var(--border-color);
  background-color: var(--bg-tertiary);
  color: var(--text-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-report-action i {
  font-size: 14px;
}

.btn-report-action:hover {
  background: var(--gold-gradient);
  color: #0b0b0b !important;
  border-color: transparent;
  box-shadow: var(--shadow-sm);
}

/* 
  =========================================
  PROPERTY DETAILS PAGE STYLING
  =========================================
*/

/* Breadcrumbs */
.breadcrumbs {
  font-size: 13px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}

.breadcrumbs a:hover {
  color: var(--primary);
}

.breadcrumbs i {
  font-size: 10px;
  color: var(--text-muted);
}

/* Details Page Grid layout */
.detail-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr;
  gap: 40px;
  margin-top: 40px;
}

@media (max-width: 992px) {
  .detail-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* Image Showcase Gallery */
.detail-gallery {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
  margin-bottom: 30px;
}

.main-gallery-img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}

@media (max-width: 768px) {
  .main-gallery-img {
    height: 320px;
  }
}

/* Property Specs Details list inside main column */
.detail-specs-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 30px;
  margin-bottom: 40px;
  box-shadow: var(--shadow-sm);
}

.detail-specs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

@media (max-width: 768px) {
  .detail-specs-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

.detail-spec-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-inline-end: 1px solid var(--border-color);
  padding-inline-end: 10px;
}

.detail-spec-item:last-child {
  border-inline-end: none;
}

@media (max-width: 768px) {
  .detail-spec-item:nth-child(2n) {
    border-inline-end: none;
  }
}

.detail-spec-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
}

.detail-spec-value {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
}

/* Alternating Tabs (Description, Specs, Map) */
.detail-tabs-container {
  margin-bottom: 40px;
}

.detail-tabs-nav {
  display: flex;
  border-bottom: 1px solid var(--border-color);
  gap: 24px;
  margin-bottom: 24px;
}

.detail-tab-btn {
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 12px 4px;
  border-bottom: 3px solid transparent;
  cursor: pointer;
  color: var(--text-secondary);
  transition: var(--transition-smooth);
}

.detail-tab-btn:hover {
  color: var(--primary);
}

.detail-tab-btn.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.detail-tab-pane {
  display: none;
  animation: fadeInUp 0.4s ease forwards;
}

.detail-tab-pane.active {
  display: block;
}

.detail-tab-pane p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Right Sidebar Cards */
.sidebar-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 30px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}

.sidebar-card-title {
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 20px;
  position: relative;
  letter-spacing: 0.5px;
  color: var(--text-primary);
}

.sidebar-card-title::after {
  content: '';
  position: absolute;
  bottom: -6px;
  inset-inline-start: 0;
  width: 30px;
  height: 2px;
  background-color: var(--primary);
}

/* Documents action download links */
.detail-documents-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.detail-document-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background-color: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  transition: var(--transition-smooth);
}

.detail-document-link i.fa-file-pdf {
  color: #ff3b30; /* PDF red brand color */
  font-size: 18px;
}

.detail-document-link i.fa-download {
  color: var(--text-muted);
  font-size: 14px;
  transition: var(--transition-smooth);
}

.detail-document-link:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.detail-document-link:hover i.fa-download {
  color: var(--primary);
  transform: translateY(2px);
}

/* =========================================
   AUTHENTICATION PAGES (LOGIN & REGISTER)
   ========================================= */

.auth-page-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 40px 24px;
  position: relative;
  background-color: var(--bg-primary);
  overflow: hidden;
  z-index: 1;
}

.auth-page-wrapper::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('assets/hero_skyscraper.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: blur(2px) brightness(0.7);
  z-index: -2;
  transition: var(--transition-smooth);
}

html[data-theme="light"] .auth-page-wrapper::before {
  filter: blur(2px) brightness(1.05) contrast(0.95);
}

.auth-page-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(18, 18, 18, 0.6) 0%, rgba(18, 18, 18, 0.85) 100%);
  z-index: -1;
  transition: var(--transition-smooth);
}

html[data-theme="light"] .auth-page-wrapper::after {
  background: linear-gradient(135deg, rgba(245, 246, 248, 0.45) 0%, rgba(245, 246, 248, 0.65) 100%);
}

.auth-container {
  width: 100%;
  max-width: 460px;
  z-index: 10;
  animation: authFadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.auth-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  box-shadow: var(--shadow-md);
  position: relative;
}

@media (max-width: 480px) {
  .auth-card {
    padding: 32px 24px;
  }
}

.auth-header {
  text-align: center;
  margin-bottom: 32px;
}

.auth-header .logo {
  justify-content: center;
  margin-bottom: 12px;
  font-size: 28px;
}

.auth-header p {
  color: var(--text-secondary);
  font-size: 14px;
}

/* Social Buttons */
.social-auth-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  height: 48px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: none;
  font-family: inherit;
}

.social-btn.google {
  background-color: #ffffff !important;
  color: #1f2024 !important;
  border: 1px solid #dae0e9 !important;
}

.social-btn.google:hover {
  background-color: #f8f9fa !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transform: translateY(-1px);
}

.social-btn.apple {
  background-color: #000000 !important;
  color: #ffffff !important;
  border: 1px solid #000000 !important;
}

html[data-theme="light"] .social-btn.apple {
  background-color: #000000 !important;
  color: #ffffff !important;
  border: 1px solid #000000 !important;
}

html[data-theme="dark"] .social-btn.apple {
  background-color: #ffffff !important;
  color: #000000 !important;
  border: 1px solid #ffffff !important;
}

.social-btn.apple:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.social-btn i {
  font-size: 18px;
}

.social-btn.google i {
  color: #4285f4; /* Google blue brand icon styling */
}

/* Auth Divider */
.auth-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 24px 0;
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background-color: var(--border-light);
}

.auth-divider span {
  padding: 0 16px;
}

/* Form Styling */
.auth-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.input-group {
  position: relative;
  display: flex;
  flex-direction: column;
}

.form-input {
  width: 100%;
  height: 50px;
  padding: 12px 16px 12px 46px;
  background: rgba(var(--primary-rgb), 0.01);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 14px;
  color: var(--text-primary);
  transition: var(--transition-smooth);
  outline: none;
}

html[dir="rtl"] .form-input {
  padding: 12px 46px 12px 16px;
}

.form-input.password-input {
  padding-right: 46px;
}

html[dir="rtl"] .form-input.password-input {
  padding-left: 46px;
  padding-right: 16px;
}

.input-icon {
  position: absolute;
  top: 25px;
  transform: translateY(-50%);
  left: 16px;
  color: var(--text-muted);
  font-size: 16px;
  pointer-events: none;
  transition: var(--transition-smooth);
}

html[dir="rtl"] .input-icon {
  left: auto;
  right: 16px;
}

.password-toggle {
  position: absolute;
  top: 25px;
  transform: translateY(-50%);
  right: 16px;
  color: var(--text-muted);
  font-size: 16px;
  cursor: pointer;
  transition: var(--transition-smooth);
  background: none;
  border: none;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

html[dir="rtl"] .password-toggle {
  right: auto;
  left: 16px;
}

.form-input:focus {
  border-color: var(--primary);
  background: rgba(var(--primary-rgb), 0.03);
  box-shadow: 0 0 0 4px var(--primary-light);
}

.form-input:focus ~ .input-icon {
  color: var(--primary);
}

/* Auth Options links */
.auth-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 4px;
}

.forgot-link {
  font-size: 13px;
  color: var(--primary);
  font-weight: 500;
}

.forgot-link:hover {
  color: var(--primary-hover);
  text-decoration: underline;
}

.auth-footer {
  text-align: center;
  margin-top: 28px;
  font-size: 14px;
  color: var(--text-secondary);
}

.auth-footer a {
  color: var(--primary);
  font-weight: 700;
  margin-inline-start: 4px;
}

.auth-footer a:hover {
  color: var(--primary-hover);
  text-decoration: underline;
}

.back-home-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 500;
  transition: var(--transition-smooth);
  align-self: center;
  position: relative;
  z-index: 10;
}

.back-home-link:hover {
  color: var(--primary);
}

html[dir="rtl"] .back-home-link i {
  transform: scaleX(-1);
}

/* Animations */
@keyframes authFadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


