/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Root Variables - Dark Theme (Default) */
:root {
  /* Dark Theme Colors */
  --bg-primary: #0a0a14;
  --bg-secondary: #121220;
  --bg-tertiary: #1a1a2e;
  --text-primary: #ffffff;
  --text-secondary: #b0b0c0;
  --text-tertiary: #8888a0;
  
  /* Neon Accent Colors */
  --accent-blue: #00f0ff;
  --accent-purple: #a020f0;
  --accent-cyan: #00ffff;
  
  /* Gradient Colors */
  --gradient-primary: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
  --gradient-secondary: linear-gradient(135deg, var(--accent-purple), var(--accent-cyan));
  
  /* Shadows */
  --shadow-neon-blue: 0 0 10px rgba(0, 240, 255, 0.5);
  --shadow-neon-purple: 0 0 10px rgba(160, 32, 240, 0.5);
  --shadow-neon-cyan: 0 0 10px rgba(0, 255, 255, 0.5);
  
  /* Transitions */
  --transition-fast: 0.3s ease;
  --transition-medium: 0.5s ease;
  --transition-slow: 0.8s ease;
}

/* Light Theme */
[data-theme="light"] {
  --bg-primary: #ffffff;
  --bg-secondary: #f8f9fa;
  --bg-tertiary: #e9ecef;
  --text-primary: #212529;
  --text-secondary: #495057;
  --text-tertiary: #6c757d;
  --accent-blue: #007bff;
  --accent-purple: #6f42c1;
  --accent-cyan: #17a2b8;
  --shadow-neon-blue: 0 0 10px rgba(0, 123, 255, 0.3);
  --shadow-neon-purple: 0 0 10px rgba(111, 66, 193, 0.3);
  --shadow-neon-cyan: 0 0 10px rgba(23, 162, 184, 0.3);
}

/* Futuristic Theme */
[data-theme="futuristic"] {
  --bg-primary: #0c0c14;
  --bg-secondary: #161625;
  --bg-tertiary: #1f1f35;
  --text-primary: #e0e0ff;
  --text-secondary: #a0a0c0;
  --text-tertiary: #707090;
  --accent-blue: #00f0ff;
  --accent-purple: #a020f0;
  --accent-cyan: #00ffff;
  --shadow-neon-blue: 0 0 15px rgba(0, 240, 255, 0.7);
  --shadow-neon-purple: 0 0 15px rgba(160, 32, 240, 0.7);
  --shadow-neon-cyan: 0 0 15px rgba(0, 255, 255, 0.7);
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color var(--transition-medium), color var(--transition-medium);
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: 3.5rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 4px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition-fast);
  cursor: pointer;
  border: none;
  font-size: 0.9rem;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--text-primary);
  box-shadow: var(--shadow-neon-blue);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.8);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 2px solid var(--accent-purple);
  box-shadow: var(--shadow-neon-purple);
}

.btn-secondary:hover {
  background: var(--gradient-secondary);
  transform: translateY(-3px);
  box-shadow: 0 0 20px rgba(160, 32, 240, 0.8);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--accent-blue);
}

.btn-outline:hover {
  background: var(--accent-blue);
  color: var(--bg-primary);
}

/* Header with Theme Toggle */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  background: rgba(10, 10, 20, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(160, 32, 240, 0.2);
  transition: var(--transition-fast);
}

[data-theme="light"] .header {
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

[data-theme="futuristic"] .header {
  background: rgba(12, 12, 20, 0.95);
  border-bottom: 1px solid rgba(0, 240, 255, 0.3);
}

.header.scrolled {
  padding: 15px 0;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo h1 {
  font-size: 1.8rem;
  margin-bottom: 0;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.logo span {
  font-size: 0.8rem;
  letter-spacing: 2px;
  color: var(--text-tertiary);
  text-transform: uppercase;
}

.nav ul {
  display: flex;
  list-style: none;
}

.nav ul li {
  margin-left: 30px;
}

.nav ul li a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  position: relative;
  padding: 5px 0;
  transition: var(--transition-fast);
}

.nav ul li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: var(--transition-fast);
}

.nav ul li a:hover::after,
.nav ul li a.active::after {
  width: 100%;
}

.nav ul li a:hover,
.nav ul li a.active {
  color: var(--text-primary);
}

.auth-buttons .btn {
  padding: 8px 20px;
  font-size: 0.8rem;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--text-primary);
  margin: 3px 0;
  transition: var(--transition-fast);
  border-radius: 2px;
}

/* Theme Toggle Button */
.theme-toggle {
  display: flex;
  align-items: center;
  margin-left: 20px;
  position: relative;
}

.theme-toggle-btn {
  width: 50px;
  height: 25px;
  background: var(--bg-tertiary);
  border-radius: 25px;
  border: 1px solid rgba(160, 32, 240, 0.2);
  position: relative;
  cursor: pointer;
  transition: var(--transition-fast);
}

[data-theme="light"] .theme-toggle-btn {
  border: 1px solid rgba(0, 0, 0, 0.1);
}

[data-theme="futuristic"] .theme-toggle-btn {
  border: 1px solid rgba(0, 240, 255, 0.3);
}

.theme-toggle-btn::before {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--gradient-primary);
  top: 2px;
  left: 2px;
  transition: var(--transition-fast);
}

[data-theme="light"] .theme-toggle-btn::before {
  background: var(--accent-blue);
}

[data-theme="futuristic"] .theme-toggle-btn::before {
  background: var(--accent-cyan);
}

/* Theme Options */
.theme-options {
  position: absolute;
  top: 100%;
  right: 0;
  background: var(--bg-secondary);
  border-radius: 10px;
  padding: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  z-index: 1001;
  display: none;
  border: 1px solid rgba(160, 32, 240, 0.2);
  min-width: 150px;
}

[data-theme="light"] .theme-options {
  border: 1px solid rgba(0, 0, 0, 0.1);
}

[data-theme="futuristic"] .theme-options {
  border: 1px solid rgba(0, 240, 255, 0.3);
}

.theme-toggle:hover .theme-options {
  display: block;
}

.theme-option {
  padding: 8px 12px;
  cursor: pointer;
  border-radius: 5px;
  transition: var(--transition-fast);
  font-size: 0.9rem;
}

.theme-option:hover {
  background: var(--bg-tertiary);
}

.theme-option.active {
  background: var(--gradient-primary);
  color: white;
}

/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at center, var(--bg-secondary) 0%, var(--bg-primary) 70%);
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../assets/hero-pattern.png') center/cover no-repeat;
  opacity: 0.1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  animation: fadeInUp 1s ease;
}

.hero-title {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.hero-title .highlight {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  max-width: 600px;
  color: var(--text-secondary);
}

.hero-buttons .btn {
  margin-right: 15px;
}

/* Sections */
section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  margin-bottom: 20px;
}

.section-header p {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
  color: var(--text-secondary);
}

/* Services Section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.service-card {
  background: var(--bg-secondary);
  border-radius: 15px;
  padding: 30px;
  transition: var(--transition-medium);
  border: 1px solid rgba(160, 32, 240, 0.1);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  background: var(--gradient-primary);
  transition: var(--transition-medium);
  z-index: -1;
  opacity: 0.1;
}

.service-card:hover::before {
  height: 100%;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border-color: rgba(0, 240, 255, 0.3);
}

.service-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-tertiary);
  border-radius: 50%;
  margin-bottom: 20px;
  color: var(--accent-blue);
  font-size: 1.5rem;
  border: 1px solid rgba(0, 240, 255, 0.2);
}

.service-card:hover .service-icon {
  color: var(--text-primary);
  box-shadow: var(--shadow-neon-blue);
}

.service-card h3 {
  margin-bottom: 15px;
}

/* Process Section */
.process-section {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.process-step {
    text-align: center;
    padding: 30px;
    background: var(--bg-tertiary);
    border-radius: 15px;
    border: 1px solid rgba(160, 32, 240, 0.1);
    transition: var(--transition-medium);
    position: relative;
}

[data-theme="light"] .process-step {
    border: 1px solid rgba(0, 0, 0, 0.1);
}

[data-theme="futuristic"] .process-step {
    border: 1px solid rgba(0, 240, 255, 0.3);
}

.process-step:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-color: rgba(0, 240, 255, 0.5);
}

.step-number {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: white;
    font-weight: bold;
    font-size: 1.5rem;
    border-radius: 50%;
    margin: 0 auto 20px;
    box-shadow: var(--shadow-neon-blue);
}

.process-step h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

/* Service Detail Section */
.service-detail {
    padding: 100px 0;
}

.service-detail.bg-dark {
    background: var(--bg-secondary);
}

.service-detail-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.service-detail-content.reverse {
    direction: rtl;
}

.service-detail-content.reverse .service-detail-text,
.service-detail-content.reverse .service-detail-image {
    direction: ltr;
}

.service-detail-text h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    background: none;
    -webkit-text-fill-color: var(--text-primary);
}

.service-detail-text h3 {
    font-size: 1.5rem;
    margin: 30px 0 15px;
    background: none;
    -webkit-text-fill-color: var(--text-primary);
}

.service-detail-text ul {
    list-style: none;
    margin: 20px 0;
}

.service-detail-text ul li {
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
    color: var(--text-secondary);
}

.service-detail-text ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-blue);
    font-weight: bold;
}

.service-detail-text ol {
    margin: 20px 0;
    padding-left: 20px;
}

.service-detail-text ol li {
    margin-bottom: 15px;
    color: var(--text-secondary);
}

/* Why Us Section */
.why-us {
  background: var(--bg-secondary);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.feature-card {
  background: var(--bg-tertiary);
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  transition: var(--transition-medium);
  border: 1px solid rgba(160, 32, 240, 0.1);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border-color: rgba(160, 32, 240, 0.3);
}

.feature-icon {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-secondary);
  border-radius: 50%;
  margin: 0 auto 20px;
  color: var(--accent-purple);
  font-size: 1.8rem;
  border: 1px solid rgba(160, 32, 240, 0.2);
}

.feature-card:hover .feature-icon {
  color: var(--text-primary);
  box-shadow: var(--shadow-neon-purple);
}

/* Testimonials Section */
.testimonials-slider {
  display: flex;
  gap: 30px;
  overflow-x: auto;
  padding: 20px 0;
  scrollbar-width: none;
}

.testimonials-slider::-webkit-scrollbar {
  display: none;
}

.testimonial-card {
  background: var(--bg-secondary);
  border-radius: 15px;
  padding: 30px;
  min-width: 300px;
  border: 1px solid rgba(0, 240, 255, 0.1);
  transition: var(--transition-medium);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border-color: rgba(0, 240, 255, 0.3);
}

.testimonial-content p {
  font-style: italic;
  margin-bottom: 20px;
  position: relative;
}

.testimonial-content p::before {
  content: '"';
  font-size: 4rem;
  position: absolute;
  top: -20px;
  left: -15px;
  opacity: 0.1;
  color: var(--accent-blue);
}

.testimonial-author h4 {
  margin-bottom: 5px;
}

.testimonial-author span {
  color: var(--text-tertiary);
  font-size: 0.9rem;
}

/* Stats Section */
.stats {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.stat-card {
    text-align: center;
    padding: 30px;
    background: var(--bg-tertiary);
    border-radius: 15px;
    border: 1px solid rgba(160, 32, 240, 0.1);
    transition: var(--transition-medium);
}

[data-theme="light"] .stat-card {
    border: 1px solid rgba(0, 0, 0, 0.1);
}

[data-theme="futuristic"] .stat-card {
    border: 1px solid rgba(0, 240, 255, 0.3);
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-color: rgba(0, 240, 255, 0.5);
}

.stat-card h3 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-card p {
    margin-bottom: 0;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Timeline Section */
.timeline-section {
    padding: 100px 0;
    background: var(--bg-primary);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--gradient-primary);
    left: 50%;
    margin-left: -2px;
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
    width: 100%;
}

.timeline-item:nth-child(odd) {
    padding-right: calc(50% + 30px);
    text-align: right;
}

.timeline-item:nth-child(even) {
    padding-left: calc(50% + 30px);
}

.timeline-marker {
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--gradient-primary);
    border-radius: 50%;
    top: 0;
    left: 50%;
    margin-left: -10px;
    box-shadow: var(--shadow-neon-blue);
}

.timeline-content {
    background: var(--bg-secondary);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid rgba(160, 32, 240, 0.1);
    transition: var(--transition-medium);
}

[data-theme="light"] .timeline-content {
    border: 1px solid rgba(0, 0, 0, 0.1);
}

[data-theme="futuristic"] .timeline-content {
    border: 1px solid rgba(0, 240, 255, 0.3);
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-color: rgba(0, 240, 255, 0.5);
}

.timeline-content h3 {
    color: var(--accent-blue);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.timeline-content h4 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

/* Services Carousel */
.services-carousel {
    position: relative;
    overflow: hidden;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

/* CTA Section */
.cta {
  background: var(--gradient-primary);
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../assets/cta-pattern.png') center/cover no-repeat;
  opacity: 0.1;
}

.cta-content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.cta-content h2 {
  color: var(--text-primary);
  margin-bottom: 20px;
}

.cta-content p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 30px;
  font-size: 1.1rem;
}

.cta-content .btn {
  background: var(--text-primary);
  color: var(--bg-primary);
  font-weight: 700;
}

.cta-content .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

/* Footer */
.footer {
  background: var(--bg-secondary);
  padding: 70px 0 30px;
  border-top: 1px solid rgba(160, 32, 240, 0.1);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 50px;
}

.footer-col h2, .footer-col h3 {
  background: none;
  -webkit-text-fill-color: var(--text-primary);
  margin-bottom: 20px;
  font-size: 1.5rem;
}

.footer-col h3 {
  font-size: 1.2rem;
}

.footer-description {
  margin-bottom: 20px;
  max-width: 300px;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-tertiary);
  color: var(--text-secondary);
  transition: var(--transition-fast);
  border: 1px solid rgba(160, 32, 240, 0.1);
}

.social-links a:hover {
  background: var(--gradient-primary);
  color: var(--text-primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-neon-blue);
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul li a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
}

.footer-col ul li a:hover {
  color: var(--accent-blue);
  transform: translateX(5px);
}

.contact-info li {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.contact-info li svg {
  margin-right: 10px;
  color: var(--accent-purple);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(160, 32, 240, 0.1);
  color: var(--text-tertiary);
  font-size: 0.9rem;
}

/* Auth Pages Styles */
.auth-body {
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
}

.auth-container {
    display: flex;
    max-width: 1000px;
    width: 100%;
    background: var(--bg-secondary);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(160, 32, 240, 0.2);
}

[data-theme="light"] .auth-container {
    border: 1px solid rgba(0, 0, 0, 0.1);
}

[data-theme="futuristic"] .auth-container {
    border: 1px solid rgba(0, 240, 255, 0.3);
}

.auth-card {
    flex: 1;
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
}

.auth-header {
    text-align: center;
    margin-bottom: 40px;
}

.auth-header .logo h1 {
    font-size: 2rem;
    margin-bottom: 5px;
}

.auth-header .logo span {
    font-size: 0.7rem;
}

.auth-header h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    background: none;
    -webkit-text-fill-color: var(--text-primary);
}

.auth-form {
    flex: 1;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-secondary);
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    background: var(--bg-tertiary);
    border: 1px solid rgba(160, 32, 240, 0.2);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: var(--transition-fast);
}

[data-theme="light"] .form-group input,
[data-theme="light"] .form-group select,
[data-theme="light"] .form-group textarea {
    border: 1px solid rgba(0, 0, 0, 0.1);
}

[data-theme="futuristic"] .form-group input,
[data-theme="futuristic"] .form-group select,
[data-theme="futuristic"] .form-group textarea {
    border: 1px solid rgba(0, 240, 255, 0.3);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-blue);
    box-shadow: var(--shadow-neon-blue);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
}

.checkbox-group input {
    width: auto;
    margin-right: 10px;
    margin-top: 3px;
}

.checkbox-group label {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.checkbox-group label a {
    color: var(--accent-blue);
    text-decoration: none;
}

.checkbox-group label a:hover {
    text-decoration: underline;
}

.forgot-password {
    color: var(--accent-blue);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.forgot-password:hover {
    color: var(--accent-purple);
    text-decoration: underline;
}

.btn-block {
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
}

.auth-footer {
    text-align: center;
    margin-top: 30px;
    color: var(--text-secondary);
}

.auth-footer a {
    color: var(--accent-blue);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-fast);
}

.auth-footer a:hover {
    color: var(--accent-purple);
    text-decoration: underline;
}

.auth-decoration {
    flex: 1;
    background: var(--gradient-primary);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.decoration-element {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.decoration-element:nth-child(1) {
    width: 200px;
    height: 200px;
    top: 10%;
    left: 20%;
}

.decoration-element:nth-child(2) {
    width: 150px;
    height: 150px;
    bottom: 20%;
    right: 15%;
}

.decoration-element:nth-child(3) {
    width: 100px;
    height: 100px;
    top: 40%;
    right: 30%;
}

/* Contact Page Styles */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-info-column h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  background: none;
  -webkit-text-fill-color: var(--text-primary);
}

.contact-details {
  margin: 40px 0;
}

.contact-item {
  display: flex;
  margin-bottom: 30px;
}

.contact-icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-tertiary);
  border-radius: 50%;
  margin-right: 20px;
  color: var(--accent-blue);
  border: 1px solid rgba(0, 240, 255, 0.2);
}

.contact-text h3 {
  margin-bottom: 5px;
  font-size: 1.2rem;
}

.contact-text p {
  margin-bottom: 0;
  color: var(--text-secondary);
}

.social-links-large {
  margin-top: 40px;
}

.social-links-large h3 {
  margin-bottom: 20px;
  font-size: 1.2rem;
}

.social-links-large .social-links a {
  width: 50px;
  height: 50px;
  font-size: 1.2rem;
}

.map-section {
  margin: 50px 0;
}

.map-placeholder {
  height: 400px;
  background: var(--bg-secondary);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(160, 32, 240, 0.1);
}

/* About Page Styles */
.history-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.history-text h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  background: none;
  -webkit-text-fill-color: var(--text-primary);
}

.mvv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.mvv-card {
  background: var(--bg-secondary);
  border-radius: 15px;
  padding: 40px 30px;
  text-align: center;
  border: 1px solid rgba(160, 32, 240, 0.1);
  transition: var(--transition-medium);
}

.mvv-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border-color: rgba(160, 32, 240, 0.3);
}

.mvv-icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-tertiary);
  border-radius: 50%;
  margin: 0 auto 20px;
  color: var(--accent-purple);
  font-size: 2rem;
  border: 1px solid rgba(160, 32, 240, 0.2);
}

.mvv-card:hover .mvv-icon {
  color: var(--text-primary);
  box-shadow: var(--shadow-neon-purple);
}

.mvv-card ul {
  list-style: none;
  text-align: left;
  margin-top: 20px;
}

.mvv-card ul li {
  margin-bottom: 15px;
  padding-left: 25px;
  position: relative;
  color: var(--text-secondary);
}

.mvv-card ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent-blue);
  font-weight: bold;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.team-member {
  background: var(--bg-secondary);
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  border: 1px solid rgba(0, 240, 255, 0.1);
  transition: var(--transition-medium);
}

.team-member:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border-color: rgba(0, 240, 255, 0.3);
}

.member-image {
  width: 120px;
  height: 120px;
  margin: 0 auto 20px;
}

/* Services Page Styles */
.service-detail {
  padding: 100px 0;
}

.service-detail.bg-dark {
  background: var(--bg-secondary);
}

.service-detail-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.service-detail-content.reverse {
  direction: rtl;
}

.service-detail-content.reverse .service-detail-text,
.service-detail-content.reverse .service-detail-image {
  direction: ltr;
}

.service-detail-text h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  background: none;
  -webkit-text-fill-color: var(--text-primary);
}

.service-detail-text ul {
  list-style: none;
  margin: 30px 0;
}

.service-detail-text ul li {
  margin-bottom: 15px;
  padding-left: 30px;
  position: relative;
  color: var(--text-secondary);
}

.service-detail-text ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent-blue);
  font-weight: bold;
}

/* Portfolio Page Styles */

/* Portfolio Stats */
.portfolio-stats {
    padding: 80px 0;
    background: var(--bg-primary);
}

/* Portfolio Filter */
.portfolio-filter {
    padding: 100px 0 50px;
    background: var(--bg-primary);
}

/* Portfolio Items */
.portfolio-items {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.portfolio-item {
    background: var(--bg-secondary);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(160, 32, 240, 0.1);
    transition: var(--transition-medium);
}

[data-theme="light"] .portfolio-item {
    border: 1px solid rgba(0, 0, 0, 0.1);
}

[data-theme="futuristic"] .portfolio-item {
    border: 1px solid rgba(0, 240, 255, 0.3);
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-color: rgba(160, 32, 240, 0.3);
}

.portfolio-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 20, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-medium);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-info {
    padding: 25px;
}

.portfolio-info h3 {
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.portfolio-meta {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
}

.portfolio-category {
    display: inline-block;
    padding: 5px 15px;
    background: var(--bg-tertiary);
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--text-tertiary);
}

.portfolio-client {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* Portfolio Detail Page Styles */
.project-hero {
  height: 60vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at center, var(--bg-secondary) 0%, var(--bg-primary) 70%);
}

.project-hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.project-hero-content .hero-title {
  font-size: 3rem;
  margin-bottom: 15px;
}

.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 30px;
}

.meta-item {
  display: flex;
  align-items: center;
  color: var(--text-secondary);
}

.meta-item svg {
  margin-right: 8px;
  color: var(--accent-blue);
}

.project-gallery {
  padding: 50px 0;
}

.gallery-main {
  height: 500px;
  margin-bottom: 20px;
}

.gallery-thumbs {
  display: flex;
  gap: 20px;
}

.thumb {
  width: 150px;
  height: 150px;
}

.project-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 50px;
}

.project-text h2,
.project-text h3 {
  background: none;
  -webkit-text-fill-color: var(--text-primary);
  margin-bottom: 20px;
}

.project-text h2 {
  font-size: 2rem;
}

.project-text h3 {
  font-size: 1.5rem;
  margin-top: 40px;
}

.project-text ul {
  list-style: none;
  margin: 20px 0;
}

.project-text ul li {
  margin-bottom: 15px;
  padding-left: 30px;
  position: relative;
  color: var(--text-secondary);
}

.project-text ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent-blue);
  font-weight: bold;
}

.sidebar-widget {
  background: var(--bg-secondary);
  border-radius: 15px;
  padding: 30px;
  margin-bottom: 30px;
  border: 1px solid rgba(160, 32, 240, 0.1);
}

.sidebar-widget h3 {
  font-size: 1.3rem;
  margin-bottom: 20px;
  background: none;
  -webkit-text-fill-color: var(--text-primary);
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tech-tag {
  padding: 8px 15px;
  background: var(--bg-tertiary);
  border-radius: 20px;
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.services-list {
  list-style: none;
}

.services-list li {
  margin-bottom: 15px;
  padding-left: 25px;
  position: relative;
  color: var(--text-secondary);
}

.services-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent-blue);
  font-weight: bold;
}

.related-projects {
  background: var(--bg-secondary);
  padding: 100px 0;
}

.image-placeholder.large {
  height: 100%;
}

.image-placeholder.thumb {
  height: 100%;
}

/* Placeholder Styles */
.image-placeholder {
  width: 100%;
  height: 100%;
  background: var(--bg-tertiary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px dashed rgba(160, 32, 240, 0.3);
}

.placeholder-content {
  text-align: center;
  color: var(--text-tertiary);
}

.placeholder-content svg {
  margin-bottom: 15px;
  color: var(--accent-purple);
}

.placeholder-content p {
  margin-bottom: 0;
  font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 992px) {
  .contact-wrapper,
  .history-content,
  .service-detail-content,
  .project-content {
    grid-template-columns: 1fr;
  }
  
  .service-detail-content.reverse {
    direction: ltr;
  }
  
  .service-detail-content.reverse .service-detail-text,
  .service-detail-content.reverse .service-detail-image {
    direction: ltr;
  }
  
  .auth-container {
    flex-direction: column;
    max-width: 500px;
  }
  
  .auth-decoration {
    display: none;
  }
  
  .project-hero-content .hero-title {
    font-size: 2.5rem;
  }
  
  .gallery-main {
    height: 300px;
  }
  
  .gallery-thumbs {
    gap: 10px;
  }
  
  .thumb {
    width: 100px;
    height: 100px;
  }
}

@media (max-width: 768px) {
  .portfolio-items {
    grid-template-columns: 1fr;
  }
  
  .project-hero-content .hero-title {
    font-size: 2rem;
  }
  
  .project-meta {
    flex-direction: column;
    gap: 10px;
  }
}

@media (max-width: 576px) {
  .auth-card {
    padding: 30px 20px;
  }
  
  .form-options {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
  
  .filter-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .filter-btn {
    width: 100%;
    max-width: 300px;
  }
}

/* Contact Methods */
.contact-methods {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.methods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.method-card {
    background: var(--bg-tertiary);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    border: 1px solid rgba(160, 32, 240, 0.1);
    transition: var(--transition-medium);
}

[data-theme="light"] .method-card {
    border: 1px solid rgba(0, 0, 0, 0.1);
}

[data-theme="futuristic"] .method-card {
    border: 1px solid rgba(0, 240, 255, 0.3);
}

.method-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-color: rgba(0, 240, 255, 0.5);
}

.method-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    border-radius: 50%;
    margin: 0 auto 20px;
    color: var(--accent-purple);
    font-size: 1.8rem;
    border: 1px solid rgba(160, 32, 240, 0.2);
}

[data-theme="light"] .method-icon {
    border: 1px solid rgba(0, 0, 0, 0.1);
}

[data-theme="futuristic"] .method-icon {
    border: 1px solid rgba(0, 240, 255, 0.3);
}

.method-card:hover .method-icon {
    color: var(--text-primary);
    box-shadow: var(--shadow-neon-purple);
}

.method-card h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.method-card p {
    margin-bottom: 20px;
    color: var(--text-secondary);
}

.method-card .btn-outline {
    padding: 8px 20px;
    font-size: 0.9rem;
}
