/* CSS Variables - Dark Brown & Orange Theme */

 /* =========================================
   BASE THEME (LIGHT MODE)
   ========================================= */
:root {
  /* Brand Colors */
  --primary-color: #E8751A;       /* Vibrant orange for buttons, links */
  --secondary-color: #8B4513;     /* Rich brown for accents */
  --accent-color: #FFB347;        /* Soft warm accent (hover, highlights) */

  /* Status Colors */
  --success-color: #C68642;       /* Warm earthy success tone */
  --warning-color: #D4A017;       /* Golden brown warning */
  --error-color: #B22222;         /* Deep red error */

  /* Text Colors */
  --text-main: #2E1B0E;           /* Main text, deep brown */
  --text-light: #7B5C44;          /* Secondary text, softer brown */
  --text-invert: #FFF8E7;         /* Light text for dark backgrounds */

  /* Backgrounds */
  --bg-body: #FFF8E7;             /* Very soft warm beige */
  --bg-surface: #FAF0E0;          /* Card & container background */
  --bg-highlight: #FFE4C4;        /* Subtle highlight areas */

  /* Borders & Shadows */
  --border-color: #E2B887;        /* Soft brown border */
  --shadow-light: 0 2px 10px rgba(46, 27, 14, 0.1);
  --shadow-medium: 0 4px 20px rgba(46, 27, 14, 0.15);
  --shadow-heavy: 0 8px 40px rgba(46, 27, 14, 0.25);

  /* General Settings */
  --font-family: 'Poppins', sans-serif;
  --border-radius: 12px;
  --transition-fast: 0.3s ease;
  --transition-slow: 0.6s ease;
}

/* =========================================
   DARK MODE
   ========================================= */
[data-theme="dark"] {
  /* Brand Colors (brighter for contrast) */
  --primary-color: #FF8C1A;       /* Brighter orange for dark bg */
  --secondary-color: #C76A30;     /* Softer brown accent */
  --accent-color: #E89A5F;        /* Warm highlight tone */

  /* Status Colors (slightly brighter) */
  --success-color: #9D6B3F;
  --warning-color: #E0A63F;
  --error-color: #FF5C33;

  /* Text Colors */
  --text-main: #FFF3E0;           /* Light cream text */
  --text-light: #E2B887;          /* Soft warm secondary text */
  --text-invert: #2E1B0E;         /* Dark text for bright elements */

  /* Backgrounds */
  --bg-body: #2B1A10;             /* Dark cocoa background */
  --bg-surface: #3A2214;          /* Dark card background */
  --bg-highlight: #4E2A18;        /* Slightly lighter highlight */

  /* Borders & Shadows */
  --border-color: #5D4037;        /* Muted brown border */
  --shadow-light: 0 2px 10px rgba(0, 0, 0, 0.3);
  --shadow-medium: 0 4px 20px rgba(0, 0, 0, 0.4);
  --shadow-heavy: 0 8px 40px rgba(0, 0, 0, 0.5);
}

/* =========================================
   AUTO DARK MODE SUPPORT
   ========================================= */
@media (prefers-color-scheme: dark) {
  :root {
    --primary-color: #FF8C1A;
    --secondary-color: #C76A30;
    --accent-color: #E89A5F;

    --text-main: #FFF3E0;
    --text-light: #E2B887;
    --text-invert: #2E1B0E;

    --bg-body: #2B1A10;
    --bg-surface: #3A2214;
    --bg-highlight: #4E2A18;
  }
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


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

body {
  font-family: var(--font-family);
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--bg-white);
  overflow-x: hidden;
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

.hidden {
  display: none !important;
}

/* Enhanced Loader Styles */
.loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  overflow: hidden;
}

.loader-content {
  text-align: center;
  color: var(--text-white);
  position: relative;
  z-index: 2;
}

/* Enhanced Logo Container */
.loader-logo-container {
  position: relative;
  margin-bottom: 3rem;
  display: inline-block;
}

.rotating-border {
  position: absolute;
  top: -20px;
  left: -20px;
  right: -20px;
  bottom: -20px;
  border: 3px solid transparent;
  border-top: 3px solid var(--accent-color);
  border-right: 3px solid var(--accent-color);
  border-radius: 50%;
  animation: rotate 3s linear infinite;
}

.pulse-circle {
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  border: 2px solid rgba(255, 140, 0, 0.3);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

.loader-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  padding: 2rem;
}

.logo-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
  animation: logoFloat 2s ease-in-out infinite alternate;
}

.logo-text {
  font-size: 3rem;
  font-weight: 900;
  letter-spacing: 4px;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  margin-bottom: 0.5rem;
}

.logo-subtitle {
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 2px;
  opacity: 0.9;
}

/* Enhanced Progress Container */
.progress-container {
  margin: 2rem 0;
  width: 300px;
  max-width: 90vw;
}

.progress-label {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  opacity: 0.9;
}

.progress-bar {
  width: 100%;
  height: 8px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  margin-bottom: 1rem;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-color), var(--primary-color));
  border-radius: 4px;
  width: 0%;
  transition: width 0.3s ease;
  position: relative;
}

.progress-glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  animation: progressShimmer 2s linear infinite;
}

.progress-text {
  font-size: 0.9rem;
  opacity: 0.8;
  font-weight: 500;
}

/* Enhanced Loading Dots */
.loading-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 2rem 0;
}

.loading-dots span {
  width: 12px;
  height: 12px;
  background-color: var(--accent-color);
  border-radius: 50%;
  animation: loadingDots 1.5s ease-in-out infinite;
}

.loading-dots span:nth-child(2) { animation-delay: 0.3s; }
.loading-dots span:nth-child(3) { animation-delay: 0.6s; }
.loading-dots span:nth-child(4) { animation-delay: 0.9s; }
.loading-dots span:nth-child(5) { animation-delay: 1.2s; }

/* Loading Messages */
.loading-messages {
  margin-top: 2rem;
  height: 2rem;
  position: relative;
}

.loading-message {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  font-size: 1rem;
  font-weight: 500;
  transition: opacity 0.5s ease;
  white-space: nowrap;
}

.loading-message.active {
  opacity: 1;
}

/* Loader Background Animation */
.loader-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.floating-element {
  position: absolute;
  width: 100px;
  height: 100px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  animation: float 20s infinite linear;
}

.floating-element:nth-child(1) {
  left: 10%;
  animation-delay: 0s;
  animation-duration: 15s;
}

.floating-element:nth-child(2) {
  left: 20%;
  animation-delay: 5s;
  animation-duration: 18s;
}

.floating-element:nth-child(3) {
  right: 10%;
  animation-delay: 10s;
  animation-duration: 22s;
}

.floating-element:nth-child(4) {
  right: 20%;
  animation-delay: 3s;
  animation-duration: 25s;
}

.floating-element:nth-child(5) {
  left: 50%;
  animation-delay: 8s;
  animation-duration: 20s;
}

/* Landing Page Styles */
.landing-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 2rem;
  background: var(--bg-white);
}
.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-gold);
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: 2px;
}

/* Style for the navbar logo image */
.nav-logo img {
    height: 80px;
    width: auto;
    object-fit: contain;
    margin-right: 0.5rem;
    display: block;
    border-radius: 8px;

    
    
     padding: 2px 6px;
    max-width: 160px;
}


.nav-logo i {
    font-size: 2rem;
}

.landing-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.gradient-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, 
    rgba(250, 124, 34, 0.562) 0%, 
    rgba(230, 114, 31, 0.05) 50%, 
    rgba(245, 170, 78, 0.1) 100%);
}

.pattern-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(circle at 25% 25%, rgba(210, 105, 30, 0.1) 2px, transparent 2px),
                    radial-gradient(circle at 75% 75%, rgba(139, 69, 19, 0.1) 2px, transparent 2px);
  background-size: 50px 50px;
  animation: patternMove 30s linear infinite;
}

.floating-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--accent-color);
  border-radius: 50%;
  opacity: 0.6;
  animation: particleFloat 15s infinite linear;
}

.particle:nth-child(1) { left: 10%; animation-delay: 0s; }
.particle:nth-child(2) { left: 20%; animation-delay: 3s; }
.particle:nth-child(3) { left: 30%; animation-delay: 6s; }
.particle:nth-child(4) { right: 30%; animation-delay: 9s; }
.particle:nth-child(5) { right: 20%; animation-delay: 12s; }
.particle:nth-child(6) { right: 10%; animation-delay: 15s; }

.landing-content {
  text-align: center;
  position: relative;
  z-index: 2;
  max-width: 1200px;
  width: 100%;
}

/* Enhanced Welcome Section */
.welcome-section {
  margin-bottom: 4rem;
}

.welcome-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  color: var(--text-white);
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-medium);
  animation: welcomeBadgeFloat 3s ease-in-out infinite alternate;
}

.main-title {
  margin-bottom: 2rem;
}

.title-line {
  display: block;
  overflow: hidden;
  margin-bottom: 0.5rem;
}
.welcome-section .welcome-logo {
  width: 260px;        /* adjust size as needed */
  max-width: 100%;     /* keeps it responsive */
  height: auto;        /* maintains aspect ratio */
  display: block;      /* removes inline spacing issues */
  margin: 0 auto;      /* centers the image in its container */
}

  

.title-word {
  display: inline-block;
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 900;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  animation: titleSlideIn 1s ease-out;
}

.title-word::before {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  z-index: -1;
  transform: translate(3px, 3px);
  opacity: 0.3;
}

.subtitle {
  color: var(--text-light);
  font-size: 1.2rem;
  line-height: 1.8;
}

.subtitle-desc {
  font-size: 1rem;
  opacity: 0.8;
  margin-top: 0.5rem;
}

/* Enhanced 3D Logo */
.logo-container {
  margin: 4rem 0;
  position: relative;
  display: inline-block;
  cursor: pointer;
}

.logo-rings {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.ring {
  position: absolute;
  border: 2px solid transparent;
  border-radius: 50%;
  animation: ringRotate 10s linear infinite;
}

.ring-1 {
  width: 200px;
  height: 200px;
  border-top: 2px solid var(--primary-color);
  border-right: 2px solid var(--primary-color);
  margin-left: -100px;
  margin-top: -100px;
}

.ring-2 {
  width: 160px;
  height: 160px;
  border-bottom: 2px solid var(--accent-color);
  border-left: 2px solid var(--accent-color);
  margin-left: -80px;
  margin-top: -80px;
  animation-direction: reverse;
  animation-duration: 8s;
}

.ring-3 {
  width: 220px;
  height: 220px;
  border-top: 1px solid var(--secondary-color);
  border-bottom: 1px solid var(--secondary-color);
  margin-left: -110px;
  margin-top: -110px;
  animation-duration: 12s;
  opacity: 0.6;
}

.logo-wrapper {
  width: 120px;
  height: 120px;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.6s ease;
  margin: 0 auto;
}

.logo-face {
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  backface-visibility: hidden;
  box-shadow: var(--shadow-heavy);
  overflow: hidden;
}

.logo-face.front {
  transform: rotateY(0deg);
}

.logo-face.back {
  transform: rotateY(180deg);
}

.logo-text {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--text-white);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.logo-icon {
  font-size: 3rem;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.logo-spark {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 20px;
  height: 20px;
  background: radial-gradient(circle, var(--accent-color), transparent);
  border-radius: 50%;
  animation: sparkle 2s ease-in-out infinite alternate;
}

.logo-glow {
  position: absolute;
  top: -20px;
  left: -20px;
  right: -20px;
  bottom: -20px;
  background: radial-gradient(circle, rgba(255, 140, 0, 0.3), transparent);
  border-radius: 50%;
  animation: logoGlow 4s ease-in-out infinite alternate;
}

.logo-shadow {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 20px;
  background: radial-gradient(ellipse, rgba(44, 26, 10, 0.3), transparent);
  border-radius: 50%;
  animation: shadowPulse 4s ease-in-out infinite alternate;
}

/* Enhanced Services Container */
/* Container */
.services-container {
  margin: 4rem 0;
}

.services-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 3rem;
  color: var(--text-dark);
  text-align: center;
}

/* Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

/* Service Cards */
.service-card {
  background: var(--bg-white);
  border: 2px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 2rem;
  position: relative;
  transition: all var(--transition-fast);
  text-decoration: none;
  color: inherit;
  display: block;
  box-shadow: var(--shadow-light);
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 140, 0, 0.1), transparent);
  transition: left 0.5s ease;
}

.service-card:hover::before {
  left: 100%;
}

.service-card.active-service {
  border-color: var(--primary-color);
  box-shadow: var(--shadow-medium);
  transform: translateY(-5px);
}

.service-card.active-service:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-heavy);
}

.service-card.coming-soon-service {
  opacity: 0.8;
  position: relative;
}

/* Icon Section */
.service-icon {
  margin-bottom: 1.5rem;
  text-align: center;
}

.icon-container {
  position: relative;
  display: inline-flex;
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(255, 140, 0, 0.4);
}

.icon {
  font-size: 2.8rem;
  color: var(--text-white);
  animation: iconFloat 3s ease-in-out infinite alternate;
}

.icon-container:hover .icon {
  transform: scale(1.1);
  color: #fffbe6;
}

.icon-glow {
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  background: radial-gradient(circle, rgba(255, 140, 0, 0.25), transparent);
  border-radius: 50%;
  animation: iconGlow 3s ease-in-out infinite alternate;
  pointer-events: none;
}

/* Content */
.service-content {
  text-align: center;
}

.service-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.service-description {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.service-features {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.feature {
  font-size: 0.9rem;
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: transform 0.3s ease, color 0.3s ease;
}

.feature:hover {
  color: var(--primary-color);
  transform: translateX(3px);
}

/* Status */
.service-status {
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

.service-status.available {
  background: linear-gradient(135deg, var(--success-color), var(--primary-color));
  color: var(--text-white);
}

.service-status.coming-soon {
  background: linear-gradient(135deg, var(--warning-color), var(--accent-color));
  color: var(--text-white);
}

/* Arrow */
.service-arrow {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 1.6rem;
  color: var(--primary-color);
  opacity: 0.6;
  transition: all var(--transition-fast);
}

.service-card:hover .service-arrow {
  opacity: 1;
  transform: translateX(5px);
}

/* Animations */
@keyframes iconGlow {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.2);
    opacity: 0.4;
  }
}

@keyframes iconFloat {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-5px);
  }
}


/* Quick Contact */
.quick-contact {
  margin-top: 3rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, rgba(210, 105, 30, 0.1), rgba(255, 140, 0, 0.1));
  border-radius: var(--border-radius);
  border: 1px solid var(--border-color);
}

.contact-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  transition: color var(--transition-fast);
}

.contact-link:hover {
  color: var(--accent-color);
  text-decoration: underline;
}

/* Floating Controls */
.floating-controls {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  z-index: 1000;
}

.floating-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  color: var(--text-white);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-medium);
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.floating-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-heavy);
}

.floating-btn:active {
  transform: translateY(0);
}

.btn-ripple {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.3s ease, height 0.3s ease;
}

.floating-btn:active .btn-ripple {
  width: 100px;
  height: 100px;
}

/* Animations */
@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes pulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.1); }
}

@keyframes logoFloat {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-10px); }
}

@keyframes progressShimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

@keyframes loadingDots {
  0%, 20% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.7; }
  80%, 100% { transform: scale(1); opacity: 1; }
}

@keyframes float {
  0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(-100px) rotate(360deg); opacity: 0; }
}

@keyframes patternMove {
  0% { transform: translate(0, 0); }
  100% { transform: translate(50px, 50px); }
}

@keyframes particleFloat {
  0% { transform: translateY(100vh); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(-100px); opacity: 0; }
}

@keyframes welcomeBadgeFloat {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-5px); }
}

@keyframes titleSlideIn {
  0% { transform: translateX(-100px); opacity: 0; }
  100% { transform: translateX(0); opacity: 1; }
}

@keyframes ringRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

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

@keyframes shadowPulse {
  0% { opacity: 0.3; transform: translateX(-50%) scale(1); }
  100% { opacity: 0.5; transform: translateX(-50%) scale(1.1); }
}

@keyframes sparkle {
  0% { opacity: 0; transform: scale(0.8); }
  100% { opacity: 1; transform: scale(1.2); }
}

@keyframes iconGlow {
  0% { opacity: 0.3; }
  100% { opacity: 0.6; }
}

/* Responsive Design */
@media (max-width: 768px) {
  .floating-controls {
    bottom: 1rem;
    right: 1rem;
  }
  
  .floating-btn {
    width: 48px;
    height: 48px;
    font-size: 1rem;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .service-card {
    padding: 1.5rem;
  }
  
  .logo-wrapper {
    width: 100px;
    height: 100px;
  }
  
  .ring-1 { width: 160px; height: 160px; margin-left: -80px; margin-top: -80px; }
  .ring-2 { width: 130px; height: 130px; margin-left: -65px; margin-top: -65px; }
  .ring-3 { width: 180px; height: 180px; margin-left: -90px; margin-top: -90px; }
  
  .progress-container {
    width: 250px;
  }
  
  .landing-page {
    padding: 1rem;
  }
  
  .services-title {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .title-word {
    font-size: clamp(2rem, 12vw, 4rem);
  }
  
  .subtitle {
    font-size: 1rem;
  }
  
  .subtitle-desc {
    font-size: 0.9rem;
  }
  
  .service-features {
    font-size: 0.8rem;
  }
  
  .floating-controls {
    flex-direction: row;
    bottom: 1rem;
    right: 1rem;
    left: 1rem;
    justify-content: flex-end;
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Navbar default for dark mode before scroll */
[data-theme="dark"] .navbar {
  background-color: #ffffff;        /* White background */
  color: var(--text-invert) !important;       /* Dark text for contrast */
  transition: background-color 0.3s ease, color 0.3s ease;
  box-shadow: none;                /* No shadow initially */
}

/* Navbar links in dark mode before scroll */
[data-theme="dark"] .navbar a {
  color: #2E1B0E !important;                   /* Dark brown for links */
}

[data-theme="dark"] .navbar a:hover {
  color: var(--primary-color) !important;      /* Highlight on hover */
}

/* Navbar after scrolling in dark mode */
[data-theme="dark"] .navbar.scrolled {
  background-color: var(--bg-surface) !important; /* Your dark brown bg */
  color: var(--text-invert) !important;             /* Light cream text */
  
}

[data-theme="dark"] .navbar.scrolled a {
  color: var(--text-invert) !important;             /* Light text when scrolled */
}

[data-theme="dark"] .navbar.scrolled a:hover {
  color: var(--accent-color) !important;          /* Accent hover on dark bg */
}
