/* ==========================================================================
   Rynoxi Web Styling Framework (Production Ready)
   Architecture: CSS Custom Variables, Mobile-First responsive grids, Light/Dark Modes
   ========================================================================== */

/* Theme Configuration Defaults (Dark Theme Default) */
:root {
  --font-heading: 'Space Grotesk', 'Sora', sans-serif;
  --font-body: 'Inter', 'Manrope', sans-serif;

  /* Core Palette */
  --bg-color: #0B0B0D;
  --bg-secondary: #151517;
  --bg-surface: #1E1E22;
  
  --primary-gold: #D6A44D;
  --bright-gold: #F5D27A;
  --dark-gold: #8C6426;
  --metallic-gray: #50545B;
  
  /* HSL parameters for dynamic calculations */
  --primary-hue: 39;
  --primary-sat: 61%;
  --primary-light: 57%;
  --secondary-hue: 37;
  --secondary-sat: 57%;
  --secondary-light: 35%;
  
  /* System Mappings */
  --bg-gradient: radial-gradient(circle at 50% 50%, #151517 0%, #0B0B0D 100%);
  --card-bg: #151517;
  --card-border: rgba(255, 255, 255, 0.05);
  
  --text-color: #FFFFFF; /* Only for headlines */
  --text-muted: #B8B8BD; /* Never use pure white for body text */
  
  --primary: #D6A44D;
  --primary-glow: rgba(214, 164, 77, 0.35);
  --secondary: #8C6426;
  --accent: #F5D27A;
  
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.08);
  
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.55);
  
  /* Layout Controls */
  --max-width: 1200px;
  --max-width-narrow: 800px;
  --border-radius-sm: 8px;
  --border-radius-md: 14px; /* Buttons have 14px border radius */
  --border-radius-lg: 24px;
  
  --transition-smooth: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  --transition-bounce: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  
  --gold-gradient: linear-gradient(135deg, #8C6426 0%, #D6A44D 40%, #F5D27A 70%, #B9872D 100%);
}

/* Light Theme Variables Override */
[data-theme="light"] {
  --font-heading: 'Space Grotesk', 'Sora', sans-serif;
  --font-body: 'Inter', 'Manrope', sans-serif;

  --bg-color: #0B0B0D;
  --bg-secondary: #151517;
  --bg-surface: #1E1E22;
  
  --primary-gold: #D6A44D;
  --bright-gold: #F5D27A;
  --dark-gold: #8C6426;
  --metallic-gray: #50545B;
  
  --primary-hue: 39;
  --primary-sat: 61%;
  --primary-light: 57%;
  --secondary-hue: 37;
  --secondary-sat: 57%;
  --secondary-light: 35%;
  
  --bg-gradient: radial-gradient(circle at 50% 50%, #151517 0%, #0B0B0D 100%);
  --card-bg: #151517;
  --card-border: rgba(255, 255, 255, 0.05);
  
  --text-color: #FFFFFF;
  --text-muted: #B8B8BD;
  
  --primary: #D6A44D;
  --primary-glow: rgba(214, 164, 77, 0.35);
  --secondary: #8C6426;
  --accent: #F5D27A;
  
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.08);
  
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.55);
}

/* ==========================================================================
   Base resets & typography settings
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: var(--bg-color);
  background-image: var(--bg-gradient);
  color: var(--text-color);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  transition: background-color 0.4s ease, color 0.4s ease;
}

/* Scrollbar customization */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-color);
}
::-webkit-scrollbar-thumb {
  background: var(--card-border);
  border-radius: var(--border-radius-sm);
  border: 2px solid var(--bg-color);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

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

img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: var(--border-radius-sm);
}

ul {
  list-style: none;
}

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

/* Layout Utilities */
.container {
  width: 90%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 60px 0;
}

.container-narrow {
  width: 90%;
  max-width: var(--max-width-narrow);
  margin: 0 auto;
  padding: 60px 0;
}

.container-grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

@media (min-width: 769px) {
  .container-grid-2 {
    grid-template-columns: 1fr 1fr;
  }
}

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

/* Common Section Typography styling */
.section-tag {
  display: inline-block;
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 2px;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 12px;
  position: relative;
  padding-left: 24px;
}

.section-tag::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 2px;
  background: var(--primary);
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--text-color) 30%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 50px auto;
}

.section-text {
  color: var(--text-muted);
  margin-bottom: 24px;
  font-size: 1rem;
}

/* Custom Buttons Styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--border-radius-sm);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 20px var(--primary-glow);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px var(--primary-glow);
  background: hsl(var(--primary-hue), var(--primary-sat), calc(var(--primary-light) - 5%));
}

.btn-secondary {
  border: 1px solid var(--card-border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-color);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--primary);
}

.btn-block {
  display: flex;
  width: 100%;
}

/* Form Require Star */
.req {
  color: #f43f5e;
}

/* ==========================================================================
   Announcement Banner
   ========================================================================== */
.announcement-banner {
  background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
  color: #fff;
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 1000;
  font-size: 0.85rem;
  font-weight: 500;
}

.banner-content {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  width: 100%;
}

.banner-btn {
  background: rgba(255, 255, 255, 0.2);
  padding: 4px 12px;
  border-radius: 20px;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition-smooth);
}

.banner-btn:hover {
  background: #fff;
  color: var(--primary);
}

.banner-close {
  font-size: 1.5rem;
  cursor: pointer;
  color: #fff;
  line-height: 1;
}

/* ==========================================================================
   Welcome Popup Modal
   ========================================================================== */
.welcome-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  z-index: 2000;
  display: none; /* Controlled by JS */
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.welcome-popup-overlay.active {
  display: flex;
  opacity: 1;
}

.popup-box {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow-lg);
  border-radius: var(--border-radius-md);
  padding: 40px;
  max-width: 480px;
  width: 90%;
  position: relative;
  text-align: center;
  transform: translateY(30px);
  transition: var(--transition-bounce);
}

.welcome-popup-overlay.active .popup-box {
  transform: translateY(0);
}

.popup-close-btn {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 1.8rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition-smooth);
}

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

.popup-icon {
  width: 70px;
  height: 70px;
  background: var(--primary-glow);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 20px auto;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.popup-box h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.popup-box p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 25px;
}

.popup-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.popup-btn {
  padding: 12px 20px;
  border-radius: var(--border-radius-sm);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.popup-btn.primary-btn {
  background: var(--primary);
  color: #fff;
}

.popup-btn.primary-btn:hover {
  transform: scale(1.02);
}

.popup-btn.secondary-btn {
  color: var(--text-muted);
}

.popup-btn.secondary-btn:hover {
  color: var(--text-color);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  z-index: 900;
  transition: var(--transition-smooth);
}

.site-header.scrolled {
  padding: 5px 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 90%;
  max-width: var(--max-width);
  margin: 0 auto;
  height: 80px;
}

/* Brand Logo Styling */
.logo-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-symbol {
  width: 42px;
  height: 42px;
  border-radius: var(--border-radius-sm);
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  box-shadow: 0 4px 15px var(--primary-glow);
}

.logo-text-wrapper {
  display: flex;
  flex-direction: column;
}

.logo-brand {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: 0.5px;
  line-height: 1.1;
  background: linear-gradient(95deg, var(--text-color) 40%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.logo-subtext {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
  font-weight: 600;
}

/* Desktop navigation links */
.desktop-nav ul {
  display: none;
}

@media (min-width: 1025px) {
  .desktop-nav ul {
    display: flex;
    gap: 30px;
  }
  
  .nav-link {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-muted);
    position: relative;
    padding: 6px 0;
  }
  
  .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition-smooth);
  }
  
  .nav-link:hover {
    color: var(--text-color);
  }
  
  .nav-link:hover::after {
    width: 100%;
  }

  /* Active nav link (current section) */
  .nav-link.active {
    color: var(--text-color);
  }
  .nav-link.active::after {
    width: 100%;
  }
}

/* Action Group styling */
.header-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

.theme-toggle-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--card-border);
  background: var(--card-bg);
  color: var(--text-color);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.theme-toggle-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: rotate(20deg);
}

.cta-header-btn {
  display: none;
}

@media (min-width: 769px) {
  .cta-header-btn {
    display: inline-flex;
    background: var(--primary);
    color: #fff;
    padding: 10px 20px;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: var(--border-radius-sm);
    box-shadow: 0 4px 15px var(--primary-glow);
  }
  
  .cta-header-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px var(--primary-glow);
  }
}

/* Mobile Toggle Hamburger */
.mobile-nav-toggle-btn {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 18px;
  cursor: pointer;
  z-index: 1001;
}

@media (min-width: 1025px) {
  .mobile-nav-toggle-btn {
    display: none;
  }
}

.mobile-nav-toggle-btn .bar {
  width: 100%;
  height: 2px;
  background: var(--text-color);
  transition: all 0.3s ease;
}

.mobile-nav-toggle-btn.active .bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.mobile-nav-toggle-btn.active .bar:nth-child(2) {
  opacity: 0;
}
.mobile-nav-toggle-btn.active .bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Nav Drawer styles */
.mobile-nav {
  position: fixed;
  top: 80px;
  left: 0;
  width: 100%;
  height: 0;
  background: var(--card-bg);
  border-bottom: 1px solid var(--card-border);
  overflow: hidden;
  z-index: 850;
  transition: height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-nav.active {
  height: calc(100vh - 80px);
}

.mobile-nav ul {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 80%;
  gap: 25px;
  padding: 40px 0;
}

.mobile-nav-link {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-muted);
}

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

.mobile-nav-link-cta {
  background: var(--primary);
  color: #fff;
  padding: 12px 35px;
  border-radius: var(--border-radius-sm);
  font-size: 1.1rem;
  font-weight: 700;
  display: block;
}

/* ==========================================================================
   Hero Section & Visual Graphic
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  padding-top: 140px;
  padding-bottom: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background: radial-gradient(circle at 80% 20%, hsla(var(--primary-hue), var(--primary-sat), var(--primary-light), 0.08) 0%, transparent 60%);
}

.hero-container {
  width: 90%;
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 5;
}

@media (min-width: 1025px) {
  .hero-container {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

.hero-content {
  text-align: center;
}

@media (min-width: 1025px) {
  .hero-content {
    text-align: left;
  }
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-glow);
  color: var(--primary);
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.hero-main-title {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 850;
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 20px;
  color: var(--text-color);
}

@media (min-width: 481px) {
  .hero-main-title {
    font-size: 3.5rem;
  }
}
@media (min-width: 1025px) {
  .hero-main-title {
    font-size: 4.2rem;
  }
}

.hero-lead-text {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 35px;
  max-width: 620px;
}

@media (max-width: 1024px) {
  .hero-lead-text {
    margin-left: auto;
    margin-right: auto;
  }
}

.hero-cta-group {
  display: flex;
  flex-direction: column;
  gap: 15px;
  justify-content: center;
}

@media (min-width: 481px) {
  .hero-cta-group {
    flex-direction: row;
  }
}
@media (min-width: 1025px) {
  .hero-cta-group {
    justify-content: flex-start;
  }
}

/* Glassmorphism Mockup Code window in Hero */
.glass-card-mockup {
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  text-align: left;
  position: relative;
}

.window-header {
  background: rgba(255, 255, 255, 0.03);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.window-header .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.window-header .dot.red { background: #ef4444; }
.window-header .dot.yellow { background: #eab308; }
.window-header .dot.green { background: #22c55e; }

.window-title {
  font-family: monospace;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-left: 10px;
}

.code-editor-mock {
  padding: 24px;
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.8rem;
  color: #cbd5e1;
  line-height: 1.5;
  overflow-x: auto;
}

.code-line {
  margin-bottom: 4px;
  white-space: nowrap;
}

.code-line.indent-1 {
  padding-left: 20px;
}

.c-keyword { color: #f43f5e; }
.c-string { color: #10b981; }
.c-fn { color: #3b82f6; }
.c-comment { color: #64748b; font-style: italic; }

/* Parallax decorative waves */
.hero-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: 2;
  opacity: 0.15;
}

.hero-shape-1 {
  width: 250px;
  height: 250px;
  background: var(--primary);
  top: 15%;
  right: 10%;
}

.hero-shape-2 {
  width: 300px;
  height: 300px;
  background: var(--secondary);
  bottom: 10%;
  left: 5%;
}

.hero-shape-3 {
  width: 150px;
  height: 150px;
  background: var(--accent);
  top: 60%;
  right: 40%;
}

/* Scroll indicator */
.scroll-indicator-arrow {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--text-muted);
  font-size: 1.3rem;
  animation: bounce-anim 2s infinite;
  z-index: 5;
  cursor: pointer;
}

@keyframes bounce-anim {
  0%, 20%, 50%, 80%, 100% {
    transform: translate(-50%, 0);
  }
  40% {
    transform: translate(-50%, -10px);
  }
  60% {
    transform: translate(-50%, -5px);
  }
}

/* ==========================================================================
   Partners Marquee
   ========================================================================== */
.partners-section {
  padding: 40px 0;
  border-top: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
  background: rgba(255, 255, 255, 0.01);
}

.section-micro-title {
  text-align: center;
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 2px;
  margin-bottom: 25px;
}

.partners-slider-wrapper {
  overflow: hidden;
  width: 100%;
  position: relative;
  display: flex;
}

.partners-marquee {
  display: flex;
  gap: 60px;
  white-space: nowrap;
  animation: marquee-anim 22s linear infinite;
  width: max-content;
}

.partner-logo-item {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--text-muted);
  opacity: 0.6;
  transition: var(--transition-smooth);
}

.partner-logo-item:hover {
  opacity: 1;
  color: var(--primary);
  transform: scale(1.05);
}

@keyframes marquee-anim {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ==========================================================================
   About Section & Counters
   ========================================================================== */
.about-section {
  position: relative;
}

.about-visual {
  position: relative;
}

.image-mask-wrapper {
  position: relative;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.image-mask-wrapper:hover .about-img {
  transform: scale(1.04);
}

.visual-badge {
  position: absolute;
  bottom: 25px;
  right: 25px;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  padding: 20px 30px;
  border-radius: var(--border-radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: var(--shadow-lg);
}

.badge-num {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.badge-lbl {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
}

/* About Stats dynamic counters grid */
.about-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 30px 0;
}

.stat-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  padding: 20px;
  border-radius: var(--border-radius-md);
  transition: var(--transition-smooth);
}

.stat-card:hover {
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-3px);
}

.stat-num {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 4px;
}

.stat-lbl {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Skills Progress bars styling */
.skills-progress-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.skill-item {
  width: 100%;
}

.skill-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.progress-bar-track {
  width: 100%;
  height: 6px;
  background: var(--card-border);
  border-radius: 10px;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  width: 0; /* Animated dynamically on IntersectionObserver trigger */
  background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
  border-radius: 10px;
  transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   Services Grid
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

@media (min-width: 481px) and (max-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 769px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--border-radius-md);
  padding: 40px 30px;
  text-align: left;
  transition: var(--transition-bounce);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.service-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: var(--shadow-lg);
}

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

.service-icon-box {
  width: 55px;
  height: 55px;
  border-radius: var(--border-radius-sm);
  background: var(--primary-glow);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 24px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* ==========================================================================
   Portfolio Grid & Detail Modal
   ========================================================================== */
.portfolio-header {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 40px;
  gap: 20px;
}

@media (min-width: 769px) {
  .portfolio-header {
    flex-direction: row;
    align-items: flex-end;
  }
}

.portfolio-filter-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.filter-tab {
  padding: 8px 18px;
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid var(--card-border);
  background: var(--card-bg);
  transition: var(--transition-smooth);
}

.filter-tab.active, .filter-tab:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* Grid layout with layout switches */
.portfolio-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

@media (min-width: 481px) and (max-width: 768px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 769px) {
  .portfolio-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.project-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  transition: var(--transition-smooth);
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  display: block;
}

.project-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
}

.project-img-holder {
  height: 230px;
  overflow: hidden;
  position: relative;
}

.project-img-holder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.project-overlay-details {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.project-card:hover .project-overlay-details {
  opacity: 1;
}

.overlay-btn {
  background: #fff;
  color: #000;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  transform: translateY(15px);
  transition: var(--transition-bounce);
}

.project-card:hover .overlay-btn {
  transform: translateY(0);
}

.project-body {
  padding: 24px;
}

.project-category {
  font-size: 0.75rem;
  color: var(--primary);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 6px;
  display: block;
}

.project-body h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.project-body p {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.4;
}

/* Lightbox Modal Styles */
.project-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(15px);
  z-index: 1900;
  display: none; /* Controlled by JS */
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
  padding: 20px;
}

.project-modal.active {
  display: flex;
  opacity: 1;
}

.project-modal-box {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--border-radius-md);
  max-width: 700px;
  width: 100%;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
  transform: scale(0.9);
  transition: var(--transition-bounce);
}

.project-modal.active .project-modal-box {
  transform: scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
  z-index: 10;
  background: rgba(0,0,0,0.5);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

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

.modal-img-holder {
  height: 350px;
  background: #000;
}

.modal-img-holder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}

.modal-content-holder {
  padding: 30px;
}

.modal-tag {
  font-size: 0.8rem;
  color: var(--primary);
  font-weight: 700;
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 10px;
}

.modal-content-holder h3 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 14px;
}

.modal-content-holder p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 25px;
}

/* ==========================================================================
   Team Members Grid
   ========================================================================== */
.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

@media (min-width: 481px) and (max-width: 768px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 769px) {
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.team-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  transition: var(--transition-smooth);
  position: relative;
  text-align: left;
}

.team-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.15);
}

.team-img-holder {
  height: 280px;
  position: relative;
  overflow: hidden;
}

.team-img-holder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  transition: transform 0.5s ease;
}

.team-card:hover .team-img-holder img {
  transform: scale(1.05);
}

.team-social-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 20px;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.team-card:hover .team-social-overlay {
  opacity: 1;
}

.social-circle-link {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  margin: 0 5px;
  transition: var(--transition-smooth);
}

.social-circle-link:hover {
  background: var(--primary);
  transform: translateY(-3px);
}

.team-details {
  padding: 24px;
}

.team-details h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.team-role {
  font-size: 0.75rem;
  color: var(--primary);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: block;
}

.team-bio {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.4;
}

/* ==========================================================================
   Pricing Matrix Grid
   ========================================================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  align-items: center;
}

@media (min-width: 769px) {
  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.pricing-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--border-radius-md);
  padding: 40px 30px;
  text-align: left;
  transition: var(--transition-bounce);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.pricing-card.featured {
  border-color: var(--primary);
  background: radial-gradient(circle at 100% 0%, hsla(var(--primary-hue), var(--primary-sat), var(--primary-light), 0.05) 0%, var(--card-bg) 60%);
  transform: scale(1.03);
}

@media (max-width: 768px) {
  .pricing-card.featured {
    transform: scale(1);
  }
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(255, 255, 255, 0.15);
}

.pricing-card.featured:hover {
  border-color: var(--primary);
}

.featured-badge {
  position: absolute;
  top: 25px;
  right: -30px;
  background: var(--primary);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 6px 30px;
  transform: rotate(45deg);
}

.pricing-tier {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--text-color);
}

.price-box {
  display: flex;
  align-items: baseline;
  margin-bottom: 25px;
}

.price-num {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 850;
  color: var(--text-color);
  line-height: 1;
}

.price-period {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-left: 6px;
}

.pricing-features-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 35px;
}

.pricing-features-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.pricing-features-list li i {
  color: var(--accent);
  font-size: 0.9rem;
}

/* ==========================================================================
   Testimonial Slide Carousel
   ========================================================================== */
.testimonial-slider-container {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  padding: 30px 10px;
}

.testimonial-wrapper {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  width: 100%;
}

.testimonial-slide {
  min-width: 100%;
  padding: 10px;
  box-sizing: border-box;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.testimonial-slide.active {
  opacity: 1;
}

.testimonial-slide blockquote {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-style: italic;
  font-weight: 500;
  line-height: 1.6;
  margin-bottom: 30px;
  position: relative;
  color: var(--text-color);
}

.testimonial-slide blockquote::before {
  content: '“';
  font-size: 5rem;
  color: var(--primary-glow);
  position: absolute;
  top: -45px;
  left: 50%;
  transform: translateX(-50%);
  line-height: 1;
  font-family: serif;
}

.testimonial-stars {
  color: #eab308;
  margin-bottom: 20px;
  font-size: 0.9rem;
}

.client-profile-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.client-avatar {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary);
}

.client-meta {
  text-align: left;
}

.client-meta h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
}

.client-meta p {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Slider buttons and dots */
.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
  margin-top: 40px;
}

.slider-arrow-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--card-border);
  background: var(--card-bg);
  color: var(--text-color);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.slider-arrow-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.slider-dots {
  display: flex;
  gap: 8px;
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--card-border);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.slider-dot.active {
  background: var(--primary);
  width: 22px;
  border-radius: 10px;
}

/* ==========================================================================
   FAQ Accordions
   ========================================================================== */
.faq-accordion-group {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.faq-item {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--border-radius-sm);
  overflow: hidden;
  transition: var(--transition-smooth);
}

.faq-header-btn {
  width: 100%;
  padding: 22px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  transition: var(--transition-smooth);
}

.faq-header-btn:hover {
  color: var(--primary);
}

.faq-icon-arrow {
  font-size: 0.9rem;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  color: var(--text-muted);
}

.faq-item.active .faq-icon-arrow {
  transform: rotate(180deg);
  color: var(--primary);
}

.faq-body-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-body-content {
  padding: 0 28px 24px 28px;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   Blog News Cards
   ========================================================================== */
.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

@media (min-width: 769px) {
  .blog-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.blog-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  transition: var(--transition-smooth);
}

.blog-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: var(--shadow-lg);
}

.blog-img-holder {
  height: 250px;
  overflow: hidden;
}

.blog-img-holder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  transition: transform 0.5s ease;
}

.blog-card:hover .blog-img-holder img {
  transform: scale(1.04);
}

.blog-details {
  padding: 30px;
}

.blog-meta-row {
  display: flex;
  gap: 15px;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 12px;
  text-transform: uppercase;
  font-weight: 600;
}

.blog-meta-row span i {
  color: var(--primary);
  margin-right: 5px;
}

.blog-details h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.blog-details p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 20px;
}

.blog-read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
}

.blog-read-more:hover {
  gap: 12px;
}

/* ==========================================================================
   Contact Form Settings
   ========================================================================== */
.contact-section {
  position: relative;
  background: radial-gradient(circle at 10% 90%, hsla(var(--secondary-hue), var(--secondary-sat), var(--secondary-light), 0.04) 0%, transparent 50%);
}

.contact-info-card {
  display: flex;
  flex-direction: column;
}

.contact-detail-items {
  display: flex;
  flex-direction: column;
  gap: 25px;
  margin: 30px 0;
}

.detail-item {
  display: flex;
  gap: 18px;
}

.detail-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--border-radius-sm);
  background: var(--primary-glow);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.detail-text h4 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.detail-text p {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.5;
}

/* Social media handles row */
.social-circles-group {
  display: flex;
  gap: 10px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.social-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--card-border);
  background: var(--card-bg);
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}

.social-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  transform: translateY(-3px);
}


/* Form Styles */
.contact-form-holder {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--border-radius-lg);
  padding: 40px 30px;
  box-shadow: var(--shadow-lg);
}

@media (min-width: 481px) {
  .contact-form-holder {
    padding: 50px;
  }
}

.form-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 30px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

@media (min-width: 481px) {
  .form-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.input-group {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
}

.input-group label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 8px;
  color: var(--text-muted);
}

.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.input-wrapper input {
  width: 100%;
  padding: 14px 16px 14px 44px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--card-border);
  border-radius: var(--border-radius-sm);
  transition: var(--transition-smooth);
}

.input-wrapper input:focus, .contact-form-holder textarea:focus {
  border-color: var(--primary);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 0 4px var(--primary-glow);
}

.input-icon {
  position: absolute;
  left: 16px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.contact-form-holder textarea {
  width: 100%;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--card-border);
  border-radius: var(--border-radius-sm);
  transition: var(--transition-smooth);
  resize: vertical;
}

/* Form validation styling */
.error-msg {
  display: none;
  color: #ef4444;
  font-size: 0.7rem;
  margin-top: 4px;
}

.input-group.invalid .input-wrapper input,
.input-group.invalid textarea {
  border-color: #ef4444;
  background: rgba(239, 68, 68, 0.02);
}

.input-group.invalid .error-msg {
  display: block;
}

/* ==========================================================================
   Professional Footer
   ========================================================================== */
.site-footer {
  background: #020617;
  color: #94a3b8;
  border-top: 1px solid rgba(255,255,255,0.04);
}

[data-theme="light"] .site-footer {
  background: #0f172a;
}

.footer-top {
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.container-footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

@media (min-width: 481px) and (max-width: 768px) {
  .container-footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 769px) {
  .container-footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  }
}

.footer-brand-box .logo-group {
  margin-bottom: 16px;
}

.footer-tagline {
  font-size: 0.85rem;
  line-height: 1.5;
  margin-bottom: 20px;
}

.footer-social-row {
  display: flex;
  gap: 8px;
}

.footer-social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  color: #94a3b8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  transition: var(--transition-smooth);
  border: 1px solid rgba(255,255,255,0.05);
}

.footer-social-link:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  transform: translateY(-2px);
}

.footer-links-box h4, .footer-info-box h4 {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #fff;
  margin-bottom: 20px;
}

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

.footer-links-box ul a {
  font-size: 0.85rem;
  color: #94a3b8;
}

.footer-links-box ul a:hover {
  color: var(--primary);
  padding-left: 4px;
}

.admin-hidden-link {
  font-style: italic;
  opacity: 0.5;
}

.admin-hidden-link:hover {
  opacity: 1 !important;
}

.meaning-desc {
  font-size: 0.75rem;
  line-height: 1.4;
  margin-bottom: 20px;
  font-style: italic;
}

.footer-contact-details {
  font-size: 0.8rem;
  line-height: 1.6;
}

.footer-contact-details i {
  color: var(--primary);
  width: 18px;
}

.footer-bottom {
  padding: 30px 0;
  font-size: 0.8rem;
}

.container-flex {
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: center;
}

@media (min-width: 769px) {
  .container-flex {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-policies {
  display: flex;
  gap: 20px;
}

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

/* ==========================================================================
   Toast Notifications Popup
   ========================================================================== */
.toast-holder {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 380px;
  width: 90%;
}

.custom-toast {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow-lg);
  padding: 16px 20px;
  border-radius: var(--border-radius-sm);
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--text-color);
  animation: slide-toast-in 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  position: relative;
  overflow: hidden;
}

.custom-toast.success {
  border-left: 4px solid #10b981;
}

.custom-toast.error {
  border-left: 4px solid #f43f5e;
}

.toast-icon {
  font-size: 1.25rem;
}

.custom-toast.success .toast-icon { color: #10b981; }
.custom-toast.error .toast-icon { color: #f43f5e; }

.toast-message {
  font-size: 0.85rem;
  font-weight: 500;
}

@keyframes slide-toast-in {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

.custom-toast.slide-out {
  animation: slide-toast-out 0.4s ease forwards;
}

@keyframes slide-toast-out {
  from { transform: translateX(0); opacity: 1; }
  to { transform: translateX(100%); opacity: 0; }
}

/* ==========================================================================
   Scroll-Triggered CSS Animations
   ========================================================================== */
.scroll-anim {
  opacity: 0;
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.scroll-anim.fade-in.animated {
  opacity: 1;
}

.scroll-anim.slide-up {
  transform: translateY(40px);
}
.scroll-anim.slide-up.animated {
  opacity: 1;
  transform: translateY(0);
}

.scroll-anim.slide-left {
  transform: translateX(-40px);
}
.scroll-anim.slide-left.animated {
  opacity: 1;
  transform: translateX(0);
}

.scroll-anim.slide-right {
  transform: translateX(40px);
}
.scroll-anim.slide-right.animated {
  opacity: 1;
  transform: translateX(0);
}

.scroll-anim.zoom-in {
  transform: scale(0.9);
}
.scroll-anim.zoom-in.animated {
  opacity: 1;
  transform: scale(1);
}

/* Button hover wave element (Dynamic Ripple) */
.ripple-element {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: scale(0);
  animation: ripple-animation 0.65s linear;
  pointer-events: none;
  z-index: 0;
}

@keyframes ripple-animation {
  to {
    transform: scale(1);
    opacity: 0;
  }
}

/* Back to top button */
.back-to-top-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: 0 4px 20px var(--primary-glow);
  transition: var(--transition-bounce);
  opacity: 0;
  visibility: hidden;
  z-index: 800;
}

.back-to-top-btn.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px var(--primary-glow);
}

/* Smooth theme transition for common elements */
.service-card,
.project-card,
.team-card,
.pricing-card,
.blog-card,
.faq-item,
.stat-card {
  transition: var(--transition-smooth), background-color 0.4s ease, border-color 0.4s ease;
}

/* Font size utility */
.font-sm {
  font-size: 0.95rem;
}

/* Overflow horizontal auto for tables */
.overflow-x-auto {
  overflow-x: auto;
}

/* Scroll margin for sections with fixed header */
section[id] {
  scroll-margin-top: 90px;
}

/* ==========================================================================
   Language Selector Dropdown
   ========================================================================== */
.lang-selector-dropdown {
  position: relative;
  display: inline-block;
}

.lang-btn {
  height: 40px;
  padding: 0 14px;
  border-radius: 20px;
  border: 1px solid var(--card-border);
  background: var(--card-bg);
  color: var(--text-color);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  transition: var(--transition-smooth);
}

.lang-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.lang-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-lg);
  list-style: none;
  padding: 8px 0;
  margin: 0;
  min-width: 140px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1000;
}

.lang-selector-dropdown.active .lang-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-dropdown-menu li {
  padding: 0;
  margin: 0;
}

.lang-dropdown-menu button {
  width: 100%;
  padding: 10px 16px;
  border: none;
  background: transparent;
  color: var(--text-color);
  text-align: left;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 500;
  transition: var(--transition-smooth);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.lang-dropdown-menu button:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--primary);
}

[data-theme="light"] .lang-dropdown-menu button:hover {
  background: rgba(0, 0, 0, 0.05);
}

.lang-dropdown-menu button.active {
  color: var(--primary);
  font-weight: 700;
}

/* ==========================================================================
   RTL Multilingual Support Overrides
   ========================================================================== */
[dir="rtl"] {
  text-align: right;
}

[dir="rtl"] .text-center,
[dir="rtl"] .text-center *,
[dir="rtl"] .services-section h2,
[dir="rtl"] .services-section p,
[dir="rtl"] .team-section h2,
[dir="rtl"] .team-section p,
[dir="rtl"] .pricing-section h2,
[dir="rtl"] .pricing-section p,
[dir="rtl"] .testimonials-section h2,
[dir="rtl"] .testimonials-section p,
[dir="rtl"] .faq-section h2,
[dir="rtl"] .faq-section p,
[dir="rtl"] .blog-section h2,
[dir="rtl"] .blog-section p {
  text-align: center !important;
}

[dir="rtl"] .hero-content {
  text-align: right;
}

@media (max-width: 1024px) {
  [dir="rtl"] .hero-content {
    text-align: center;
  }
}

[dir="rtl"] .about-content {
  text-align: right;
}

[dir="rtl"] .service-card,
[dir="rtl"] .project-card,
[dir="rtl"] .team-card,
[dir="rtl"] .pricing-card,
[dir="rtl"] .client-meta,
[dir="rtl"] .faq-header-btn,
[dir="rtl"] .blog-card,
[dir="rtl"] .contact-info-card,
[dir="rtl"] .contact-form-holder,
[dir="rtl"] .footer-brand-box,
[dir="rtl"] .footer-links-box,
[dir="rtl"] .footer-info-box {
  text-align: right;
}

[dir="rtl"] .logo-group {
  flex-direction: row;
}

[dir="rtl"] .desktop-nav ul {
  flex-direction: row;
}

[dir="rtl"] .faq-icon-arrow {
  margin-left: 0;
  margin-right: auto;
}

[dir="rtl"] .detail-item {
  display: flex;
  flex-direction: row;
  gap: 15px;
}

[dir="rtl"] .detail-icon {
  margin-right: 0;
  margin-left: 15px;
}

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

[dir="rtl"] .input-wrapper input {
  padding-left: 16px;
  padding-right: 48px;
}

[dir="rtl"] .input-group .error-msg {
  left: auto;
  right: 0;
}

[dir="rtl"] .close-banner-btn,
[dir="rtl"] .banner-close {
  right: auto;
  left: 20px;
}

[dir="rtl"] .popup-close-btn {
  right: auto;
  left: 20px;
}

[dir="rtl"] .modal-close-btn {
  right: auto;
  left: 20px;
}

[dir="rtl"] .lang-dropdown-menu {
  right: auto;
  left: 0;
}

[dir="rtl"] .lang-dropdown-menu button {
  text-align: right;
}

/* Mirror icons in RTL */
[dir="rtl"] .fa-arrow-right,
[dir="rtl"] .fa-chevron-right,
[dir="rtl"] .fa-paper-plane {
  transform: scaleX(-1);
  display: inline-block;
}

[dir="rtl"] .fa-chevron-left {
  transform: scaleX(-1);
  display: inline-block;
}

/* RTL fix for section-tag decorative line */
[dir="rtl"] .section-tag {
  padding-left: 0;
  padding-right: 24px;
}

[dir="rtl"] .section-tag::before {
  left: auto;
  right: 0;
}

/* ==========================================================================
   Luxury Matte Black & Gold Theme Overrides
   ========================================================================== */

/* Logo Image in Navigation and Footer */
.logo-img {
  height: 42px;
  width: 42px;
  object-fit: contain;
  border-radius: 8px;
  filter: drop-shadow(0 0 4px rgba(214, 164, 77, 0.2));
}

/* Hide Theme Toggle in Header */
#theme-toggle {
  display: none !important;
}

/* Base Typographic Overrides */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading) !important;
  color: #FFFFFF !important; /* Pure white only for headlines */
  letter-spacing: 0.5px;
}

p, span, li, a, label, textarea, input, select {
  font-family: var(--font-body);
}

/* Enforce Paragraph Color rule: never pure white */
p, 
.section-text, 
.section-subtitle, 
.footer-tagline, 
.footer-contact-details, 
.meaning-desc,
.hero-lead-text {
  color: #B8B8BD !important;
}

/* Unified Card Background, Border, Shadow, and Hover Lift */
.service-card,
.project-card,
.team-card,
.pricing-card,
.blog-card,
.stat-card,
.faq-item {
  background: #151517 !important;
  border: 1px solid rgba(255, 255, 255, 0.05) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3) !important;
  transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1) !important; /* slow transitions */
}

/* Hover effects for all cards */
.service-card:hover,
.project-card:hover,
.team-card:hover,
.pricing-card:hover,
.blog-card:hover,
.stat-card:hover,
.faq-item:hover {
  transform: translateY(-8px) !important; /* slight lift */
  border-color: rgba(255, 255, 255, 0.12) !important;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55) !important; /* gold-shadow like premium glow */
}

/* Custom Minimal Outline Icons */
.service-icon-box,
.detail-icon,
.popup-icon,
.pricing-feature-icon {
  background: rgba(214, 164, 77, 0.02) !important;
  border: 1px solid rgba(214, 164, 77, 0.35) !important;
  border-radius: 8px !important;
  color: #D6A44D !important;
  box-shadow: 0 0 15px rgba(214, 164, 77, 0.15) !important;
}

/* Redesigned Centered Hero Layout */
.hero-section {
  background: #0B0B0D !important;
  padding-top: 160px;
  padding-bottom: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-container {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  max-width: 800px !important; /* Center focus */
  margin: 0 auto !important;
}

.hero-content {
  text-align: center !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
}

/* Remove grid spacing override */
@media (min-width: 1025px) {
  .hero-container {
    grid-template-columns: 1fr !important;
    display: flex !important;
  }
  .hero-content {
    text-align: center !important;
  }
}

/* Large Centered Hero Logo */
.hero-logo-wrapper {
  position: relative;
  margin-bottom: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-logo {
  width: 140px;
  height: 140px;
  object-fit: contain;
  border-radius: 28px;
  position: relative;
  z-index: 2;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
  filter: drop-shadow(0 0 25px rgba(214, 164, 77, 0.45));
}

.hero-logo-wrapper::before {
  content: '';
  position: absolute;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(214, 164, 77, 0.25) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 1;
  filter: blur(15px);
  animation: logoGlow 8s ease-in-out infinite alternate;
}

@keyframes logoGlow {
  0% {
    transform: scale(0.9);
    opacity: 0.6;
  }
  100% {
    transform: scale(1.1);
    opacity: 1;
  }
}

/* Smoky Particles canvas background in Hero */
#hero-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  opacity: 0.85;
}

/* Section dividers and background layout styles */
section {
  border-bottom: 1px solid rgba(214, 164, 77, 0.08) !important;
  position: relative;
}

/* Custom premium scrollbar styling */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #0B0B0D;
}
::-webkit-scrollbar-thumb {
  background: rgba(214, 164, 77, 0.25);
  border-radius: 4px;
  border: 2px solid #0B0B0D;
}
::-webkit-scrollbar-thumb:hover {
  background: #D6A44D;
}

/* Subtle carbon grain noise overlay for luxurious feel */

body::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9998;
  pointer-events: none;
  opacity: 0.02;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Premium Gold Gradient Buttons styling overrides */
.btn-primary {
  background: var(--gold-gradient) !important;
  color: #0B0B0D !important;
  box-shadow: 0 4px 20px rgba(214, 164, 77, 0.25) !important;
  border: none !important;
  border-radius: 14px !important;
}

.btn-primary:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 10px 30px rgba(214, 164, 77, 0.45) !important;
  background: linear-gradient(135deg, #A87D38 0%, #E0B45C 40%, #FFE29A 70%, #C9973D 100%) !important;
  color: #0B0B0D !important;
}

.btn-secondary {
  border: 1px solid rgba(214, 164, 77, 0.3) !important;
  background: rgba(255, 255, 255, 0.02) !important;
  color: #D6A44D !important;
  border-radius: 14px !important;
}

.btn-secondary:hover {
  background: rgba(214, 164, 77, 0.08) !important;
  border-color: #F5D27A !important;
  transform: translateY(-4px) !important;
  box-shadow: 0 10px 25px rgba(214, 164, 77, 0.15) !important;
}

/* Subtle glassmorphism container settings */
.glass-card-mockup, 
.site-header, 
.lang-dropdown-menu,
.popup-box, 
.project-modal-box {
  background: rgba(255, 255, 255, 0.03) !important;
  backdrop-filter: blur(18px) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

/* ==========================================================================
   Performance & Polish — GPU Acceleration & Smoothness
   ========================================================================== */

/* GPU-accelerated elements */
.service-card,
.project-card,
.team-card,
.pricing-card,
.blog-card,
.stat-card,
.btn,
.hero-logo,
.logo-img,
.scroll-anim {
  will-change: transform;
  transform: translateZ(0);
}

/* Faster card hover lift using GPU */
.service-card:hover,
.project-card:hover,
.team-card:hover,
.pricing-card:hover,
.blog-card:hover {
  transform: translateY(-8px) translateZ(0) !important;
}

/* Smooth page entry animation on load */
@keyframes pageFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

body {
  animation: pageFadeIn 0.45s ease forwards;
}

/* New logo — no border-radius on the XR logo */
.logo-img,
.hero-logo {
  border-radius: 18px !important;
}

/* Hero logo — bigger and sharper */
.hero-logo {
  width: 160px !important;
  height: 160px !important;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

/* Subtle gold border on logo image */
.logo-img {
  height: 44px !important;
  width: 44px !important;
  box-shadow: 0 0 0 1px rgba(214,164,77,0.25), 0 4px 12px rgba(0,0,0,0.4) !important;
}

/* Hero glow pulse — larger for new logo */
.hero-logo-wrapper::before {
  width: 260px !important;
  height: 260px !important;
}

/* Navigation link smooth underline */
.nav-link {
  position: relative;
}

/* Optimize image rendering globally */
img {
  image-rendering: auto;
  -webkit-font-smoothing: antialiased;
}

/* Hardware accelerate animations */
@keyframes logoGlow {
  0%   { transform: scale(0.92) translateZ(0); opacity: 0.55; }
  100% { transform: scale(1.08) translateZ(0); opacity: 1; }
}

/* Announcement banner font smoothing */
.announcement-banner {
  -webkit-font-smoothing: antialiased;
  letter-spacing: 0.01em;
}

/* Pricing card featured highlight */
.pricing-card.featured {
  border-color: rgba(214, 164, 77, 0.4) !important;
  box-shadow: 0 0 0 1px rgba(214,164,77,0.3), 0 20px 60px rgba(0,0,0,0.5) !important;
}

/* Section transition for when toggled on/off by admin */
section {
  transition: opacity 0.3s ease;
}

/* ==========================================================================
   Ambient Lighting & Glowing Overlays Overhaul
   ========================================================================== */

/* Equal site background lighting & border style */
section {
  background: radial-gradient(circle at 50% 50%, #151517 0%, #0B0B0D 100%) !important;
  border-bottom: 1px solid rgba(214, 164, 77, 0.08) !important;
  position: relative;
  overflow: hidden;
}

/* Hero Ambient Lighting Overlays */
.hero-section {
  background: radial-gradient(circle at 50% 50%, rgba(214, 164, 77, 0.12) 0%, #151517 60%, #0B0B0D 100%) !important;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 15%;
  left: 10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(214, 164, 77, 0.12) 0%, transparent 70%);
  filter: blur(80px);
  z-index: 1;
  pointer-events: none;
  animation: glowPulse1 12s ease-in-out infinite alternate;
}

.hero-section::after {
  content: '';
  position: absolute;
  bottom: 15%;
  right: 10%;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(140, 100, 38, 0.15) 0%, transparent 70%);
  filter: blur(90px);
  z-index: 1;
  pointer-events: none;
  animation: glowPulse2 15s ease-in-out infinite alternate;
}

/* Contact Ambient Lighting Overlays */
.contact-section {
  background: radial-gradient(circle at 50% 50%, rgba(214, 164, 77, 0.1) 0%, #151517 70%, #0B0B0D 100%) !important;
  position: relative;
  overflow: hidden;
}

.contact-section::before {
  content: '';
  position: absolute;
  top: -10%;
  right: 5%;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(214, 164, 77, 0.1) 0%, transparent 70%);
  filter: blur(70px);
  z-index: 1;
  pointer-events: none;
  animation: glowPulse1 14s ease-in-out infinite alternate;
}

.contact-section::after {
  content: '';
  position: absolute;
  bottom: -10%;
  left: 5%;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(140, 100, 38, 0.12) 0%, transparent 70%);
  filter: blur(75px);
  z-index: 1;
  pointer-events: none;
  animation: glowPulse2 13s ease-in-out infinite alternate;
}

/* Footer Ambient Lighting & Overrides */
.site-footer {
  background: radial-gradient(circle at 50% 0%, rgba(214, 164, 77, 0.08) 0%, #151517 60%, #0B0B0D 100%) !important;
  color: var(--text-muted) !important;
  border-top: 1px solid rgba(214, 164, 77, 0.15) !important;
  box-shadow: 0 -15px 40px rgba(0, 0, 0, 0.6) !important;
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 200px;
  background: radial-gradient(circle, rgba(214, 164, 77, 0.07) 0%, transparent 70%);
  filter: blur(50px);
  z-index: 1;
  pointer-events: none;
}

/* Moving ambient lighting pulse keyframes */
@keyframes glowPulse1 {
  0% {
    transform: translate(0, 0) scale(0.9);
    opacity: 0.7;
  }
  50% {
    transform: translate(30px, -20px) scale(1.1);
    opacity: 1;
  }
  100% {
    transform: translate(-15px, 15px) scale(1);
    opacity: 0.8;
  }
}

@keyframes glowPulse2 {
  0% {
    transform: translate(0, 0) scale(1.05);
    opacity: 0.85;
  }
  50% {
    transform: translate(-25px, 30px) scale(0.92);
    opacity: 0.65;
  }
  100% {
    transform: translate(20px, -15px) scale(1);
    opacity: 1;
  }
}

/* Premium Staggered Animations for Hero Content */
.hero-content {
  opacity: 1 !important;
  transform: none !important;
}

.hero-logo-wrapper {
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeInUp 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
  animation-delay: 0.1s;
}

.hero-tag {
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeInUp 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
  animation-delay: 0.25s;
}

.hero-main-title {
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeInUp 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
  animation-delay: 0.4s;
}

.hero-lead-text {
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeInUp 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
  animation-delay: 0.55s;
}

.hero-cta-group {
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeInUp 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
  animation-delay: 0.7s;
}

@keyframes heroFadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Premium Card hover gradient borders */
.service-card,
.project-card,
.team-card,
.pricing-card,
.blog-card,
.faq-item {
  position: relative;
  overflow: hidden;
}

.service-card::after,
.project-card::after,
.team-card::after,
.pricing-card::after,
.blog-card::after,
.faq-item::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  border: 1.5px solid transparent;
  background: linear-gradient(135deg, rgba(214, 164, 77, 0.45), transparent, rgba(140, 100, 38, 0.45)) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
  z-index: 10;
}

.service-card:hover::after,
.project-card:hover::after,
.team-card:hover::after,
.pricing-card:hover::after,
.blog-card:hover::after,
.faq-item:hover::after {
  opacity: 1;
}

.service-card:hover,
.project-card:hover,
.team-card:hover,
.pricing-card:hover,
.blog-card:hover,
.faq-item:hover {
  box-shadow: 0 15px 45px rgba(214, 164, 77, 0.15) !important;
}
