/* CSS Custom Properties - Clean White Theme */
:root {
  /* Colors */
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-card: #ffffff;
  --text-primary: #1a202c;
  --text-secondary: #4a5568;
  --text-muted: #718096;
  
  /* Brand Colors */
  --brand-primary: #2d3561; /* Your logo dark blue */
  --brand-secondary: #12a2be; /* Cyan from atom */
  --brand-secondary-hover: #0e8ca3; /* Darker cyan for hover */
  --accent-red: #ff4757; /* Red orbit */
  --accent-yellow: #ffa502; /* Yellow orbit */
  --accent-green: #2ed573;
  --nucleus: #7ed957; /* Green nucleus */
  
  /* UI Colors */
  --border-color: #e2e8f0;
  --shadow-light: 0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow-medium: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-large: 0 10px 25px rgba(0, 0, 0, 0.15);
  
  /* Gradients */
  --gradient-hero: linear-gradient(135deg, #1a202c 0%, #2d3561 50%, #4a5568 100%);
}

/* Enhanced Dark Mode Variables */
[data-theme="dark"] {
  --bg-primary: #0f0f23;
  --bg-secondary: #1a1a2e;
  --bg-card: #16213e;
  --text-primary: #ffffff;
  --text-secondary: #cbd5e0;
  --text-muted: #a0aec0;
  --border-color: #2d3748;
  --shadow-light: 0 1px 3px rgba(0, 0, 0, 0.3);
  --shadow-medium: 0 4px 6px rgba(0, 0, 0, 0.3);
  --shadow-large: 0 10px 25px rgba(0, 0, 0, 0.4);
}

/* Dark mode specific overrides */
[data-theme="dark"] .hero {
  background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 50%, #2d3748 100%);
}

[data-theme="dark"] .demo-callout {
  background: var(--bg-card);
  color: var(--text-primary);
}


/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-primary);
}

/* Navigation Base Styles */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: all 0.3s ease;
}

[data-theme="dark"] .navbar {
    background: rgba(15, 15, 35, 0.95);
    border-bottom: 1px solid #2d3748;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--brand-primary);
}

.logo {
    height: 40px;
    width: auto;
}

/* Desktop Navigation */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    color: var(--brand-secondary);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--brand-secondary);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

/* Theme Toggle Styles */
.theme-toggle {
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 25px;
    padding: 0.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    transition: all 0.3s ease;
}

.theme-toggle:hover {
    border-color: var(--brand-secondary);
    transform: scale(1.05);
}

.theme-toggle .sun,
.theme-toggle .moon {
    font-size: 1rem;
    transition: all 0.3s ease;
}

/* Light mode - sun active */
[data-theme="light"] .theme-toggle .sun {
    opacity: 1;
    transform: scale(1.1);
}

[data-theme="light"] .theme-toggle .moon {
    opacity: 0.3;
    transform: scale(0.9);
}

/* Dark mode - moon active */
[data-theme="dark"] .theme-toggle .sun {
    opacity: 0.3;
    transform: scale(0.9);
}

[data-theme="dark"] .theme-toggle .moon {
    opacity: 1;
    transform: scale(1.1);
}

/* Mobile Theme Toggle */
.mobile-theme-toggle {
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: 15px;
    padding: 1rem 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
    width: 100%;
    justify-content: center;
    color: var(--text-primary);
    font-weight: 500;
}

.mobile-theme-toggle:hover {
    background: var(--brand-secondary);
    color: white;
    border-color: var(--brand-secondary);
}

.theme-icon {
    font-size: 1.25rem;
}

.theme-text {
    font-size: 1rem;
}

/* Navigation Controls */
.nav-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Hamburger Menu */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.hamburger-line {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* Hamburger Animation */
.nav-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.nav-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Hide mobile theme toggle on desktop */
.mobile-theme-item {
    display: none;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .nav-container {
        padding: 0 1rem;
    }
    
    /* Show hamburger menu */
    .nav-toggle {
        display: flex;
    }
    
    /* Hide desktop theme toggle */
    .desktop-only {
        display: none;
    }
    
    /* Show mobile theme toggle */
    .mobile-theme-item {
        display: block;
        margin-top: 2rem;
        padding-top: 2rem;
        border-top: 1px solid var(--border-color);
    }
    
    /* Mobile menu */
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--bg-primary);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding: 2rem 0;
        transition: left 0.3s ease;
        box-shadow: var(--shadow-medium);
        overflow-y: auto;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 1rem 0;
        width: 100%;
        text-align: center;
    }
    
    .nav-menu a {
        font-size: 1.2rem;
        padding: 1rem 2rem;
        border-radius: 8px;
        display: block;
        width: 100%;
        transition: all 0.3s ease;
    }
    
    .nav-menu a:hover {
        background: var(--bg-secondary);
        color: var(--brand-secondary);
    }
    
    .nav-menu a::after {
        display: none;
    }
}

/* Dark mode support for hamburger */
[data-theme="dark"] .hamburger-line {
    background: var(--text-primary);
}

[data-theme="dark"] .mobile-theme-toggle {
    background: var(--bg-card);
    border-color: var(--border-color);
}

[data-theme="dark"] .mobile-theme-toggle:hover {
    background: var(--brand-secondary);
    color: white;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--gradient-hero);
  color: white;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  text-align: center;
  position: relative;
  z-index: 2;
}

.atom-animation {
  margin-bottom: 2rem;
  display: flex;
  justify-content: center;
}

/* Animated Atom */
.atom {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 0 auto;
}

.nucleus {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  background: var(--nucleus);
  border-radius: 50%;
  box-shadow: 0 0 20px var(--nucleus);
  animation: pulse 2s infinite;
}

.orbit {
  position: absolute;
  border: 2px solid;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.orbit-1 {
  width: 60px;
  height: 60px;
  border-color: var(--accent-red);
  animation: rotate 3s linear infinite;
}

.orbit-2 {
  width: 90px;
  height: 90px;
  border-color: var(--accent-yellow);
  animation: rotate 4s linear infinite reverse;
}

.orbit-3 {
  width: 120px;
  height: 120px;
  border-color: var(--brand-secondary);
  animation: rotate 5s linear infinite;
}

.electron {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  top: -4px;
  left: 50%;
  transform: translateX(-50%);
}

.orbit-1 .electron {
  background: var(--accent-red);
  box-shadow: 0 0 10px var(--accent-red);
}

.orbit-2 .electron {
  background: var(--accent-yellow);
  box-shadow: 0 0 10px var(--accent-yellow);
}

.orbit-3 .electron {
  background: var(--brand-secondary);
  box-shadow: 0 0 10px var(--brand-secondary);
}

@keyframes rotate {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes pulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-50%, -50%) scale(1.2); }
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.1;
}

.brand {
  display: block;
  background: linear-gradient(135deg, var(--brand-secondary), #ffffff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.tagline {
  display: block;
  font-size: 1.5rem;
  color: var(--accent-yellow);
  font-weight: 400;
  margin-top: 0.5rem;
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Button Styles */
.btn {
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  text-align: center;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  cursor: pointer;
  font-size: 1rem;
}

.btn-primary {
  background: var(--brand-secondary);
  color: white;
  border-color: var(--brand-secondary);
  box-shadow: var(--shadow-medium);
}

.btn-primary:hover {
  background: var(--brand-secondary-hover);
  border-color: var(--brand-secondary-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-large);
}

.btn-secondary {
  background: transparent;
  color: white;
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: white;
  transform: translateY(-2px);
}

/* Sections */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  padding: 5rem 0;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.section-subtitle {
  font-size: 1.125rem;
  text-align: center;
  color: var(--text-secondary);
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Services Grid */
.services-preview {
  background: var(--bg-secondary);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--bg-card);
  padding: 2rem;
  border-radius: 20px;
  box-shadow: var(--shadow-light);
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-large);
}

.service-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.service-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.service-card p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.service-features {
  list-style: none;
}

.service-features li {
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  position: relative;
  padding-left: 1.5rem;
}

.service-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent-green);
  font-weight: bold;
}

/* Portfolio */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.portfolio-item {
  background: var(--bg-card);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-light);
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
}

.portfolio-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-large);
}

.portfolio-image {
  height: 200px;
  background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-secondary) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.125rem;
}

.portfolio-content {
  padding: 1.5rem;
}

.portfolio-content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.portfolio-content p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.portfolio-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.tag {
  background: var(--bg-secondary);
  color: var(--text-muted);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.875rem;
  border: 1px solid var(--border-color);
}

.portfolio-cta {
  text-align: center;
}

/* Contact Section */
.contact {
  background: var(--bg-secondary);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
/* Add more space under contact info section header */
.contact-info-section > p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 2rem; /* Changed from 3rem to 4rem */
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-icon {
  font-size: 1.5rem;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.contact-item h4 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: var(--text-primary);
}

.contact-item p {
  color: var(--text-secondary);
}

/* Contact Form */
.contact-form {
  background: var(--bg-card);
  padding: 2rem;
  border-radius: 20px;
  margin-top: 40px;
  box-shadow: var(--shadow-light);
  border: 1px solid var(--border-color);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  border: 2px solid var(--border-color);
  border-radius: 10px;
  background: var(--bg-primary);
  color: var(--text-primary);
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--brand-secondary);
}

.contact-form .btn-primary {
  width: 100%;
}

/* Footer */
.footer {
  background: var(--brand-primary);
  color: white;
  padding: 3rem 0 1rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-logo {
  height: 40px;
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--brand-secondary);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.8);
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background-color: var(--bg-primary);
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: var(--shadow-medium);
    padding: 2rem 0;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-toggle {
    display: flex;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .tagline {
    font-size: 1.25rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 300px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .contact-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-content {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .nav-container {
    padding: 0 1rem;
  }

  .container {
    padding: 0 1rem;
  }

  .hero-title {
    font-size: 2rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .service-card,
  .contact-form {
    padding: 1.5rem;
  }
}
/* About Page Styles */
.page-hero {
  padding: 8rem 0 4rem;
  background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-secondary) 100%);
  color: white;
  text-align: center;
}

.page-hero-content h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.page-hero-content p {
  font-size: 1.25rem;
  opacity: 0.9;
}

.about-content {
  padding: 5rem 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
  align-items: start;
}

.about-text h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.about-text h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 2rem 0 1rem;
  color: var(--text-primary);
}

.about-text p {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.about-stats {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.stat-card {
  background: var(--bg-card);
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  box-shadow: var(--shadow-light);
  border: 1px solid var(--border-color);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--brand-secondary);
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.stat-description {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Skills Section */
.skills-section {
  background: var(--bg-secondary);
  padding: 5rem 0;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.skill-category {
  background: var(--bg-card);
  padding: 2rem;
  border-radius: 15px;
  box-shadow: var(--shadow-light);
  border: 1px solid var(--border-color);
}

.skill-category h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.skill-tag {
  background: var(--brand-secondary);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 25px;
  font-size: 0.875rem;
  font-weight: 500;
}

/* Values Section */
.values-section {
  padding: 5rem 0;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.value-card {
  text-align: center;
  padding: 2rem;
}

.value-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.value-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.value-card p {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* CTA Section */
.cta-section {
  background: var(--bg-secondary);
  padding: 5rem 0;
  text-align: center;
}

.cta-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.cta-content p {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Active Navigation Link */
.nav-menu a.active {
  color: var(--brand-secondary);
}

.nav-menu a.active::after {
  width: 100%;
}

/* Responsive Design for About Page */
@media (max-width: 768px) {
  .page-hero-content h1 {
    font-size: 2.5rem;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .about-stats {
    flex-direction: row;
    overflow-x: auto;
    gap: 1rem;
  }
  
  .stat-card {
    min-width: 150px;
  }
  
  .skills-grid {
    grid-template-columns: 1fr;
  }
  
  .values-grid {
    grid-template-columns: 1fr;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .btn {
    width: 100%;
    max-width: 300px;
  }
}
/* Services Page Styles */
.services-detailed {
  padding: 5rem 0;
}

.service-detailed {
  margin-bottom: 4rem;
  background: var(--bg-card);
  border-radius: 20px;
  padding: 3rem;
  box-shadow: var(--shadow-light);
  border: 1px solid var(--border-color);
}

.service-header {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 2rem;
}

.service-icon-large {
  font-size: 4rem;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
  width: 80px;
  height: 80px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.service-info h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.service-info p {
  font-size: 1.125rem;
  color: var(--text-secondary);
}

.service-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
}

.service-features h3,
.service-benefits h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.feature-item {
  background: var(--bg-secondary);
  padding: 1.5rem;
  border-radius: 15px;
  border: 1px solid var(--border-color);
}

.feature-item h4 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.feature-item p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.benefits-list {
  list-style: none;
  padding: 0;
}

.benefits-list li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-color);
  position: relative;
  padding-left: 2rem;
  color: var(--text-secondary);
}

.benefits-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent-green);
  font-weight: bold;
  font-size: 1.125rem;
}

.benefits-list li:last-child {
  border-bottom: none;
}

/* Process Preview */
.process-preview {
  background: var(--bg-secondary);
  padding: 5rem 0;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.process-step {
  text-align: center;
  padding: 2rem 1rem;
}

.step-number {
  width: 60px;
  height: 60px;
  background: var(--brand-secondary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 1rem;
}

.process-step h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.process-step p {
  color: var(--text-secondary);
}

.process-cta {
  text-align: center;
}

/* Responsive Design for Services */
@media (max-width: 768px) {
  .service-header {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  
  .service-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .feature-grid {
    grid-template-columns: 1fr;
  }
  
  .process-steps {
    grid-template-columns: 1fr;
  }
}

/* Portfolio Page Styles */
.portfolio-filter {
  background: var(--bg-secondary);
  padding: 2rem 0;
  border-bottom: 1px solid var(--border-color);
}

.filter-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.filter-btn {
  background: transparent;
  border: 2px solid var(--border-color);
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  color: var(--text-secondary);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--brand-secondary);
  border-color: var(--brand-secondary);
  color: white;
}

.portfolio-main {
  padding: 5rem 0;
}

.portfolio-grid-full {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

/* Featured Large Portfolio Item */
.portfolio-item-large {
  grid-column: span 2;
  background: var(--bg-card);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-light);
  border: 1px solid var(--border-color);
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 400px;
}

.portfolio-image-large {
  position: relative;
  overflow: hidden;
}

.portfolio-image-large img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(45, 53, 97, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.portfolio-item-large:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-item-large:hover .portfolio-image-large img {
  transform: scale(1.05);
}

.portfolio-overlay-content {
  text-align: center;
  color: white;
  padding: 2rem;
}

.portfolio-overlay-content h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.portfolio-overlay-content p {
  margin-bottom: 1.5rem;
  opacity: 0.9;
}

.portfolio-details {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.portfolio-details h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.portfolio-category {
  color: var(--brand-secondary);
  font-weight: 500;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.portfolio-details > p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 2rem;
}

.project-stats {
  margin-bottom: 2rem;
}

.stat {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border-color);
}

.stat:last-child {
  border-bottom: none;
}

.stat-label {
  font-weight: 500;
  color: var(--text-primary);
}

.stat-value {
  color: var(--text-secondary);
}

.project-features h4 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.project-features ul {
  list-style: none;
  padding: 0;
}

.project-features li {
  padding: 0.5rem 0;
  position: relative;
  padding-left: 1.5rem;
  color: var(--text-secondary);
}

.project-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent-green);
  font-weight: bold;
}

/* Regular Portfolio Items */
.portfolio-item {
  background: var(--bg-card);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-light);
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
}

.portfolio-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-large);
}

.portfolio-image {
  height: 200px;
  overflow: hidden;
}

.placeholder-image {
  height: 100%;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
}

.placeholder-image span {
  font-size: 3rem;
  margin-bottom: 0.5rem;
}

.placeholder-image p {
  font-size: 1rem;
  font-weight: 500;
}

.portfolio-content {
  padding: 1.5rem;
}

.portfolio-content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.portfolio-content p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
  line-height: 1.5;
}

.portfolio-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.tag {
  background: var(--bg-secondary);
  color: var(--text-muted);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.875rem;
  border: 1px solid var(--border-color);
}

/* Testimonials */
.testimonials {
  background: var(--bg-secondary);
  padding: 5rem 0;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background: var(--bg-card);
  padding: 2rem;
  border-radius: 20px;
  box-shadow: var(--shadow-light);
  border: 1px solid var(--border-color);
}

.testimonial-content {
  margin-bottom: 1.5rem;
}

.testimonial-content p {
  font-style: italic;
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: 1.05rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-info h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: var(--text-primary);
}

.author-info span {
  color: var(--text-muted);
  font-size: 0.875rem;
}

/* Portfolio Filter Functionality */
.portfolio-item[data-category] {
  transition: all 0.3s ease;
}

.portfolio-item.hidden {
  display: none;
}

/* Responsive Design for Portfolio */
@media (max-width: 768px) {
  .portfolio-item-large {
    grid-column: span 1;
    grid-template-columns: 1fr;
    min-height: auto;
  }
  
  .portfolio-image-large {
    height: 250px;
  }
  
  .portfolio-details {
    padding: 1.5rem;
  }
  
  .project-stats {
    margin-bottom: 1.5rem;
  }
  
  .filter-buttons {
    gap: 0.5rem;
  }
  
  .filter-btn {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
  }
  
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .portfolio-grid-full {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .portfolio-item-large {
    margin-bottom: 1rem;
  }
  
  .testimonial-card {
    padding: 1.5rem;
  }
}

/* Process Page Styles */
.process-overview {
  padding: 5rem 0;
}

.process-intro {
  text-align: center;
  margin-bottom: 4rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.process-intro h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.process-intro p {
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.process-timeline {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.process-phase {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 2rem;
  align-items: start;
}

.phase-number {
  width: 80px;
  height: 80px;
  background: var(--brand-secondary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  position: sticky;
  top: 100px;
}

.phase-content {
  background: var(--bg-card);
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: var(--shadow-light);
  border: 1px solid var(--border-color);
}

.phase-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.phase-content h3 {
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.phase-subtitle {
  color: var(--brand-secondary);
  font-size: 1.125rem;
  margin-bottom: 2rem;
  font-style: italic;
}

.phase-details {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.phase-description p {
  color: var(--text-secondary);
  line-height: 1.6;
}

.phase-activities h4,
.phase-deliverables h4 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.phase-activities ul,
.phase-deliverables ul {
  list-style: none;
  padding: 0;
}

.phase-activities li,
.phase-deliverables li {
  padding: 0.5rem 0;
  position: relative;
  padding-left: 1.5rem;
  color: var(--text-secondary);
}

.phase-activities li::before,
.phase-deliverables li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--brand-secondary);
  font-weight: bold;
}

.phase-duration {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background: var(--bg-secondary);
  border-radius: 10px;
  border: 1px solid var(--border-color);
}

.duration-label {
  font-weight: 600;
  color: var(--text-primary);
}

.duration-value {
  color: var(--brand-secondary);
  font-weight: 600;
}

.process-benefits {
  background: var(--bg-secondary);
  padding: 5rem 0;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.benefit-card {
  background: var(--bg-card);
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  box-shadow: var(--shadow-light);
  border: 1px solid var(--border-color);
}

.benefit-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.benefit-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.benefit-card p {
  color: var(--text-secondary);
  line-height: 1.6;
}

.tools-section {
  padding: 5rem 0;
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.tool-category {
  background: var(--bg-card);
  padding: 2rem;
  border-radius: 15px;
  box-shadow: var(--shadow-light);
  border: 1px solid var(--border-color);
}

.tool-category h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.tool-items {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.tool-item {
  background: var(--bg-secondary);
  color: var(--text-secondary);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.875rem;
  border: 1px solid var(--border-color);
}

/* Pricing Page Styles */
.pricing-intro {
  padding: 3rem 0;
  text-align: center;
}

.intro-content {
  max-width: 800px;
  margin: 0 auto;
}

.intro-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.intro-content p {
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.pricing-tiers {
  padding: 5rem 0;
  background: var(--bg-secondary);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--bg-card);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: var(--shadow-light);
  border: 1px solid var(--border-color);
  position: relative;
  transition: all 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-large);
}

.pricing-card.featured {
  border-color: var(--brand-secondary);
  transform: scale(1.05);
}

.featured-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand-secondary);
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
}

.pricing-header {
  text-align: center;
  margin-bottom: 2rem;
}

.pricing-header h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  margin-bottom: 0.5rem;
}

.currency {
  font-size: 1.5rem;
  color: var(--text-secondary);
}

.amount {
  font-size: 3rem;
  font-weight: 700;
  color: var(--brand-secondary);
}

.period {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-left: 0.25rem;
}

.pricing-subtitle {
  color: var(--text-secondary);
  font-size: 1rem;
}

.pricing-features {
  margin-bottom: 2rem;
}

.pricing-features ul {
  list-style: none;
  padding: 0;
}

.pricing-features li {
  padding: 0.75rem 0;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-color);
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-timeline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background: var(--bg-secondary);
  border-radius: 10px;
  margin-bottom: 2rem;
}

.timeline-label {
  font-weight: 600;
  color: var(--text-primary);
}

.timeline-value {
  color: var(--brand-secondary);
  font-weight: 600;
}

.pricing-cta {
  text-align: center;
}

.individual-services {
  padding: 5rem 0;
}

.services-pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.service-pricing-item {
  background: var(--bg-card);
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  box-shadow: var(--shadow-light);
  border: 1px solid var(--border-color);
}

.service-pricing-item h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.service-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--brand-secondary);
  margin-bottom: 1rem;
}

.service-pricing-item p {
  color: var(--text-secondary);
  line-height: 1.6;
}

.pricing-faq {
  background: var(--bg-secondary);
  padding: 5rem 0;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.faq-item {
  background: var(--bg-card);
  padding: 2rem;
  border-radius: 15px;
  box-shadow: var(--shadow-light);
  border: 1px solid var(--border-color);
}

.faq-item h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.faq-item p {
  color: var(--text-secondary);
  line-height: 1.6;
}

.value-proposition {
  padding: 5rem 0;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.value-item {
  text-align: center;
  padding: 2rem;
}

.value-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.value-item h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.value-item p {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Contact Page Styles */
.contact-main {
  padding: 5rem 0;
}


/* Contact Methods Grid - Fixed Desktop Layout */
.contact-methods {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 2rem;
    background: var(--bg-card);
    border-radius: 15px;
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    height: 160px; /* Fixed height for consistency */
    box-sizing: border-box;
}

.contact-method:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
    border-color: var(--brand-secondary);
}

/* Method Content - Fixed Height Distribution */
.method-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: 100%;
    padding-top: 0.5rem;
}

.method-content h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    line-height: 1.2;
}

.method-content p {
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.3;
    flex-grow: 1;
}

.method-note {
    font-size: 0.875rem;
    color: var(--text-muted);
    font-style: italic;
    line-height: 1.2;
    margin-top: auto;
}

/* Icon Styling - Consistent Size */
.method-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.method-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(45, 53, 97, 0.3);
}

.method-icon i {
    font-size: 1.5rem;
    color: white;
}

/* Desktop Specific Adjustments */
@media (min-width: 1024px) {
    .contact-methods {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
        max-width: 800px;
    }
    
    .contact-method {
        height: 150px;
        padding: 2rem;
    }
}

/* Large Desktop */
@media (min-width: 1200px) {
    .contact-methods {
        max-width: 900px;
        gap: 3rem;
    }
    
    .contact-method {
        height: 160px;
        padding: 2.5rem;
    }
}

/* Mobile Responsive - Keep existing mobile styles */
@media (max-width: 768px) {
    .contact-methods {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        max-width: 100%;
    }
    
    .contact-method {
        padding: 1.5rem;
        height: auto;
        min-height: 120px;
    }
    
    .method-icon {
        width: 50px;
        height: 50px;
    }
    
    .method-icon i {
        font-size: 1.25rem;
    }
    
    .method-content h3 {
        font-size: 1rem;
    }
    
    .method-content p {
        font-size: 0.95rem;
    }
    
    .method-note {
        font-size: 0.8rem;
    }
}


.consultation-info {
  background: var(--bg-secondary);
  padding: 2rem;
  border-radius: 15px;
  margin-bottom: 35px;
  border: 1px solid var(--border-color);
}

.consultation-info h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.consultation-info ul {
  list-style: none;
  padding: 0;
}

.consultation-info li {
  padding: 0.5rem 0;
  color: var(--text-secondary);
}

.form-container {
  background: var(--bg-card);
  padding: 3rem;
  border-radius: 20px;
  box-shadow: var(--shadow-light);
  border: 1px solid var(--border-color);
}

.form-container h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.form-container > p {
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.main-contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 1rem;
  border: 2px solid var(--border-color);
  border-radius: 10px;
  background: var(--bg-primary);
  color: var(--text-primary);
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--brand-secondary);
}

.checkbox-group {
  flex-direction: row;
  align-items: flex-start;
  gap: 0.75rem;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
  margin: 0;
  width: auto;
}

.checkmark {
  width: 20px;
  height: 20px;
  border: 2px solid var(--border-color);
  border-radius: 4px;
  flex-shrink: 0;
  margin-top: 2px;
}

.btn-large {
  padding: 1.25rem 2rem;
  font-size: 1.125rem;
  width: 100%;
}

.btn-loading {
  display: none;
}

.quick-contact {
  background: var(--bg-secondary);
  padding: 5rem 0;
}

.quick-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.quick-option {
  background: var(--bg-card);
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  box-shadow: var(--shadow-light);
  border: 1px solid var(--border-color);
}

.option-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.quick-option h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.quick-option p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.contact-faq {
  padding: 5rem 0;
}

/* Responsive Design for All New Pages */
@media (max-width: 768px) {
  /* Process Page */
  .process-phase {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .phase-number {
    position: static;
    margin: 0 auto 1rem;
  }
  
  .phase-details {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  /* Pricing Page */
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  
  .pricing-card.featured {
    transform: none;
  }
  
  .services-pricing-grid {
    grid-template-columns: 1fr;
  }
  
  /* Contact Page */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .form-container {
    padding: 2rem;
  }
  
  .quick-options {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .process-intro h2,
  .intro-content h2 {
    font-size: 2rem;
  }
  
  .phase-content {
    padding: 1.5rem;
  }
  
  .pricing-card {
    padding: 2rem;
  }
  
  .form-container {
    padding: 1.5rem;
  }
}

/* Interactive Atom Styles */
.interactive-atom {
    cursor: pointer;
    position: relative;
}

.service-electron {
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.service-electron:hover {
    transform: scale(1.3);
    z-index: 10;
}

.service-icon {
    font-size: 1.2rem;
    display: block;
}

.service-electron[data-tooltip]:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--text-primary);
    color: white;
    padding: 0.5rem;
    border-radius: 5px;
    font-size: 0.8rem;
    white-space: nowrap;
    z-index: 100;
}

.nucleus-label {
    font-size: 0.6rem;
    color: white;
    font-weight: 600;
}

/* Service Popup */
.service-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.service-popup.active {
    display: flex;
}

.popup-content {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 20px;
    max-width: 500px;
    width: 90%;
    position: relative;
    box-shadow: var(--shadow-large);
}

.popup-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-secondary);
}



[data-theme="dark"] {
    --bg-primary: #0f0f23;
    --bg-secondary: #1a1a2e;
    --bg-card: #16213e;
    --text-primary: #ffffff;
    --text-secondary: #cbd5e0;
    --text-muted: #a0aec0;
    --border-color: #2d3748;
}

/* Enhanced Theme Toggle */
.theme-toggle {
  background: var(--bg-card);
  border: 2px solid var(--border-color);
  border-radius: 25px;
  padding: 0.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  transition: all 0.3s ease;
  margin-right: 1rem;
  position: relative;
  overflow: hidden;
}

.theme-toggle:hover {
  border-color: var(--brand-secondary);
  transform: scale(1.05);
}

.theme-toggle .sun,
.theme-toggle .moon {
  font-size: 1rem;
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
}

/* Light mode - sun active */
[data-theme="light"] .theme-toggle {
  background: #fff3cd;
  border-color: #ffc107;
}

[data-theme="light"] .theme-toggle .sun {
  opacity: 1;
  transform: scale(1.1);
}

[data-theme="light"] .theme-toggle .moon {
  opacity: 0.3;
  transform: scale(0.9);
}

/* Dark mode - moon active */
[data-theme="dark"] .theme-toggle {
  background: #1a1a2e;
  border-color: var(--brand-secondary);
}

[data-theme="dark"] .theme-toggle .sun {
  opacity: 0.3;
  transform: scale(0.9);
}

[data-theme="dark"] .theme-toggle .moon {
  opacity: 1;
  transform: scale(1.1);
}


.nav-controls {
    display: flex;
    align-items: center;
}

/* Demo Promise Styles */
.demo-promise {
    display: block;
    margin-top: 1rem;
    padding: 1rem;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 10px;
    border-left: 4px solid var(--brand-secondary);
    font-size: 1rem;
    color: var(--brand-secondary);
    font-weight: 600;
}

.fast-demo-banner {
    background: linear-gradient(135deg, var(--brand-secondary), var(--accent-green));
    color: white;
    padding: 1.5rem;
    border-radius: 15px;
    margin-top: 2rem;
    text-align: center;
    box-shadow: var(--shadow-medium);
}

.demo-icon {
    font-size: 1.5rem;
    margin-right: 0.5rem;
}

.demo-callout {
    background: var(--bg-secondary);
    padding: 1.5rem;
    color:#0f0f23;
    border-radius: 15px;
    margin-top: 2rem;
    border-left: 4px solid var(--brand-secondary);
}

.demo-guarantee {
    margin-bottom: 2rem;
}

.guarantee-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    background: var(--bg-secondary);
    padding: 1.5rem;
    border-radius: 15px;
    border: 2px solid var(--brand-secondary);
}

.badge-icon {
    font-size: 2rem;
}

.badge-text strong {
    display: block;
    color: var(--text-primary);
    font-size: 1.125rem;
}

.badge-text small {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-controls {
        flex-direction: column;
        gap: 1rem;
    }
    
    .demo-promise {
        font-size: 0.9rem;
        padding: 0.75rem;
    }
    
    .guarantee-badge {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
}

/* Hover animations for cards */
.service-card, .portfolio-item, .pricing-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Stagger animations for grids */
.services-grid .service-card {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
    transform: translateY(30px);
}

.services-grid .service-card:nth-child(1) { animation-delay: 0.1s; }
.services-grid .service-card:nth-child(2) { animation-delay: 0.2s; }
.services-grid .service-card:nth-child(3) { animation-delay: 0.3s; }
.services-grid .service-card:nth-child(4) { animation-delay: 0.4s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Sticky CTA Button */
.sticky-cta {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    opacity: 0;
    transform: translateY(100px) scale(0.8);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.sticky-cta.show {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.chat-widget {
    position: fixed;
    bottom: 100px; /* Increased from 90px to give more space */
    right: 20px;
    z-index: 999;
    /* existing styles */
}

.sticky-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, var(--brand-secondary), var(--accent-green));
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    min-width: 160px;
    justify-content: center;
}

.sticky-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 212, 255, 0.4);
    background: linear-gradient(135deg, var(--accent-green), var(--brand-secondary));
}




/* Mobile responsive */
@media (max-width: 768px) {

    .sticky-btn {
        padding: 0.875rem 1.25rem;
        font-size: 0.9rem;
        min-width: 140px;
    }
    
    
    .sticky-btn {
        min-width: 60px;
        width: 60px;
        height: 60px;
        border-radius: 50%;
        padding: 0;
    }
    

/* Dark mode support */
[data-theme="dark"] .sticky-btn {
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.2);
}

[data-theme="dark"] .sticky-btn:hover {
    box-shadow: 0 12px 35px rgba(0, 212, 255, 0.3);
}
}

/* Mobile Navigation Fixes */
@media (max-width: 768px) {
    .navbar {
        padding: 0.75rem 1rem;
    }
    
    .nav-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }
    
    .nav-brand {
        flex: 1;
    }
    
    .nav-right {
        display: flex;
        align-items: center;
        gap: 1rem; /* Space between theme toggle and menu button */
    }
    
    /* Theme toggle mobile styling */
    #theme-toggle {
        width: 35px;
        height: 35px;
        padding: 0.4rem;
        font-size: 0.9rem;
        order: 1; /* Show first */
    }
    
    /* Mobile menu button */
    .nav-toggle {
        width: 35px;
        height: 35px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        background: none;
        border: none;
        cursor: pointer;
        order: 2; /* Show second */
        padding: 0.25rem;
    }
    
    .nav-toggle span {
        width: 20px;
        height: 2px;
        background: var(--text-primary);
        margin: 2px 0;
        transition: 0.3s;
        border-radius: 1px;
    }
    
    /* Hamburger animation */
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    /* Hide desktop menu on mobile */
    .nav-menu {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--bg-primary);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 2rem;
        transition: right 0.3s ease;
        z-index: 999;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu li {
        margin: 1rem 0;
    }
    
    .nav-menu a {
        font-size: 1.1rem;
        padding: 0.75rem 1.5rem;
        border-radius: 8px;
        transition: all 0.3s ease;
    }
    
    .nav-menu a:hover {
        background: var(--bg-secondary);
        color: var(--brand-secondary);
    }
}

/* Hide desktop theme toggle on mobile */
@media (max-width: 768px) {
    /* Hide the desktop theme toggle completely on mobile */
    #desktop-theme-toggle,
    .desktop-only {
        display: none !important;
    }
    
    /* Make sure only the hamburger menu shows */
    .nav-controls {
        display: flex;
        align-items: center;
        justify-content: flex-end;
    }
    
    /* Only show nav-toggle on mobile */
    .nav-toggle {
        display: flex !important;
    }
}

/* Desktop styles - show desktop theme toggle, hide mobile one */
@media (min-width: 769px) {
    .mobile-theme-item {
        display: none !important;
    }
    
    .nav-toggle {
        display: none !important;
    }
    
    #desktop-theme-toggle,
    .desktop-only {
        display: flex !important;
    }
}

/* Mobile spacing for hero section */
@media (max-width: 768px) {
    .hero {
        padding-top: 100px; /* Add space below fixed navbar */
        margin-top: 0;
    }
    
    /* If you have a specific hero container */
    .hero-content {
        padding-top: 2rem;
    }
    
    /* Atom animation container spacing */
    .atom-container,
    .service-atom {
        margin-top: 2rem;
        margin-bottom: 2rem;
    }
    
    /* Alternative: Add space to the main content wrapper */
    .main-content {
        padding-top: 100px; /* Adjust this value as needed */
    }
}

/* For tablets */
@media (max-width: 1024px) and (min-width: 769px) {
    .hero {
        padding-top: 90px;
    }
}

/* Desktop - keep normal spacing */
@media (min-width: 1025px) {
    .hero {
        padding-top: 70px; /* Normal navbar height */
    }
}

/* Ultra-compact mobile menu with grid */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: auto;
        background: var(--bg-primary);
        display: grid;
        grid-template-columns: 1fr 1fr; /* Two columns */
        gap: 0.5rem;
        padding: 1rem;
        transition: left 0.3s ease;
        box-shadow: var(--shadow-medium);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 0;
        width: 100%;
        text-align: center;
    }
    
    .nav-menu a {
        font-size: 0.95rem;
        padding: 0.75rem 0.5rem;
        border-radius: 8px;
        display: block;
        width: 100%;
        transition: all 0.3s ease;
    }
    
    /* Theme toggle spans both columns */
    .mobile-theme-item {
        grid-column: 1 / -1;
        margin-top: 0.5rem;
        padding-top: 0.5rem;
        border-top: 1px solid var(--border-color);
    }
    
    .mobile-theme-toggle {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
}

.method-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.method-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(45, 53, 97, 0.3);
}

.method-icon i {
    font-size: 1.5rem;
    color: white;
}

.method-icon svg {
    width: 24px;
    height: 24px;
    color: white;
}

/* Contact icon specific styles */
.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

/* Alternative flat design */
.method-icon.flat {
    background: var(--bg-secondary);
    border: 2px solid var(--brand-secondary);
}

.method-icon.flat i,
.method-icon.flat svg {
    color: var(--brand-secondary);
}
