/* AM Web Solutions - Modern Dark Theme with Neon Accents */

:root {
  --primary-color: #00ff88;
  --secondary-color: #0066ff;
  --accent-color: #ff0066;
  --bg-dark: #0a0a0a;
  --bg-darker: #000000;
  --bg-light: #1a1a1a;
  --text-primary: #ffffff;
  --text-secondary: #b0b0b0;
  --text-muted: #666666;
  --border-color: #333333;
  --shadow-glow: 0 0 20px rgba(0, 255, 136, 0.3);
  --transition: all 0.3s ease;
  
  /* Typography */
  --font-size-xs: 0.75rem;    /* 12px */
  --font-size-sm: 0.875rem;   /* 14px */
  --font-size-base: 1rem;     /* 16px */
  --font-size-lg: 1.125rem;   /* 18px */
  --font-size-xl: 1.25rem;    /* 20px */
  --font-size-2xl: 1.5rem;    /* 24px */
  --font-size-3xl: 1.875rem;  /* 30px */
  --font-size-4xl: 2.25rem;   /* 36px */
  --font-size-5xl: 3rem;      /* 48px */
  --font-size-6xl: 3.75rem;   /* 60px */
  
  --font-weight-light: 300;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  
  --line-height-tight: 1.25;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.75;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg-dark);
  color: var(--text-primary);
  font-size: var(--font-size-base);
  line-height: var(--line-height-normal);
  overflow-x: hidden;
}

.about-hero-image {
  max-width: 100%;
  height: auto;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

@media (max-width: 480px) {
  .container {
    padding: 0 14px;
  }
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  transition: var(--transition);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.nav-logo a {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 5px;
}

.logo-image {
  height: 50px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
}

.footer-logo .logo-image {
  height: 40px;
}

.logo-text {
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-bold);
  color: var(--primary-color);
  text-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
}

.logo-subtext {
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
  font-weight: var(--font-weight-medium);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: var(--font-weight-medium);
  font-size: var(--font-size-base);
  transition: var(--transition);
  position: relative;
}

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

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--primary-color);
  box-shadow: var(--shadow-glow);
}

.nav-cta {
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
  color: var(--bg-dark);
  padding: 10px 20px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: var(--font-weight-semibold);
  font-size: var(--font-size-base);
  transition: var(--transition);
  box-shadow: var(--shadow-glow);
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 25px rgba(0, 255, 136, 0.4);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.bar {
  width: 25px;
  height: 3px;
  background: var(--primary-color);
  margin: 3px 0;
  transition: var(--transition);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--bg-darker) 0%, var(--bg-dark) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 80%, rgba(0, 255, 136, 0.1) 0%, transparent 50%),
              radial-gradient(circle at 80% 20%, rgba(0, 102, 255, 0.1) 0%, transparent 50%);
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 60px;
}

.hero-content {
  max-width: 600px;
  flex: 1;
}

.hero-visual {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image {
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 10px 30px rgba(0, 255, 136, 0.2));
}

.hero-title {
  font-size: var(--font-size-5xl);
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--spacing-lg);
  line-height: var(--line-height-tight);
}

.title-main {
  display: block;
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.title-sub {
  display: block;
  color: var(--text-primary);
}

.hero-description {
  font-size: var(--font-size-xl);
  color: var(--text-secondary);
  margin-bottom: var(--spacing-xl);
  line-height: var(--line-height-normal);
}

.hero-buttons {
  display: flex;
  gap: 20px;
  margin-bottom: 50px;
}

/* Buttons */
.btn {
  padding: 15px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: var(--font-weight-semibold);
  font-size: var(--font-size-base);
  transition: var(--transition);
  border: none;
  cursor: pointer;
  display: inline-block;
  text-align: center;
}

.btn-primary {
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
  color: var(--bg-dark);
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 255, 136, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
  background: var(--primary-color);
  color: var(--bg-dark);
  box-shadow: var(--shadow-glow);
}

/* Sections */
.section-title {
  font-size: var(--font-size-4xl);
  font-weight: var(--font-weight-bold);
  text-align: center;
  margin-bottom: var(--spacing-lg);
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-description {
  text-align: center;
  color: var(--text-secondary);
  font-size: var(--font-size-lg);
  margin-bottom: var(--spacing-4xl);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: var(--line-height-relaxed);
}

/* Services Section */
.services {
  padding: 100px 0;
  background: var(--bg-light);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.service-card {
  background: var(--bg-dark);
  padding: 40px 30px;
  border-radius: 20px;
  border: 1px solid var(--border-color);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary-color);
  box-shadow: 0 20px 40px rgba(0, 255, 136, 0.2);
}

.service-card.featured {
  border-color: var(--primary-color);
  box-shadow: var(--shadow-glow);
}

.service-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--primary-color);
  color: var(--bg-dark);
  padding: 5px 15px;
  border-radius: 15px;
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-semibold);
}

.service-icon {
  font-size: var(--font-size-5xl);
  color: var(--primary-color);
  margin-bottom: var(--spacing-lg);
}

.service-title {
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-semibold);
  margin-bottom: var(--spacing-md);
  color: var(--text-primary);
}

.service-description {
  color: var(--text-secondary);
  margin-bottom: var(--spacing-lg);
  line-height: var(--line-height-normal);
  font-size: var(--font-size-base);
}

.service-price {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-bold);
  color: var(--primary-color);
}

/* About Section */
.about {
  padding: 100px 0;
  background: var(--bg-dark);
}

/* About Page Styles */
.about-content {
  padding: 100px 0;
  background: var(--bg-light);
}

.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.intro-content {
  max-width: 600px;
}

.intro-content .section-description {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 25px;
}

.intro-highlights {
  display: flex;
  gap: 30px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--primary-color);
  font-weight: 600;
}

.highlight-item i {
  font-size: 1.2rem;
}

.intro-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-hero-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 12px;
}

/* Portfolio Section */
.portfolio {
  padding: 100px 0;
  background: var(--bg-light);
}

.portfolio-filters {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.filter-btn {
  background: transparent;
  color: var(--text-secondary);
  border: 2px solid var(--border-color);
  padding: 10px 25px;
  border-radius: 25px;
  cursor: pointer;
  transition: var(--transition);
  font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
  border-color: var(--primary-color);
  color: var(--primary-color);
  box-shadow: var(--shadow-glow);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.portfolio-card {
  background: var(--bg-dark);
  border-radius: 15px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.portfolio-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary-color);
  box-shadow: 0 15px 30px rgba(0, 255, 136, 0.2);
}

.portfolio-image {
  position: relative;
  height: 250px;
  background: var(--bg-light);
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.portfolio-card:hover .project-image {
  transform: scale(1.05);
}

/* Team Member Styles */
.member-image {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin: 0 auto 20px;
  background: var(--bg-light);
  border: 3px solid var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-glow);
  overflow: hidden;
}

.member-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

/* Contact Section */
.contact {
  padding: 100px 0;
  background: var(--bg-dark);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

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

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: var(--text-primary);
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 15px;
  background: var(--bg-dark);
  border: 2px solid var(--border-color);
  border-radius: 10px;
  color: var(--text-primary);
  font-size: 1rem;
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 10px rgba(0, 255, 136, 0.3);
}

.btn-full {
  width: 100%;
  padding: 18px;
  font-size: 1.1rem;
}

/* Homepage Sections */
.services-preview {
  padding: 100px 0;
  background: var(--bg-light);
}

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

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 15px;
  text-shadow: 0 0 10px rgba(0, 255, 136, 0.3);
}

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

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.service-preview-card {
  background: var(--bg-dark);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 40px 30px;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-preview-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
  transition: var(--transition);
}

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

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

.service-preview-card .service-icon {
  font-size: var(--font-size-5xl);
  color: var(--primary-color);
  margin-bottom: var(--spacing-lg);
}

.service-preview-card h3 {
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-semibold);
  color: var(--text-primary);
  margin-bottom: var(--spacing-md);
}

.service-preview-card p {
  color: var(--text-secondary);
  margin-bottom: var(--spacing-lg);
  line-height: var(--line-height-normal);
  font-size: var(--font-size-base);
}

.price-tag {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--bg-dark);
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: var(--font-weight-semibold);
  font-size: var(--font-size-sm);
}

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

/* Featured Work */
.featured-work {
  padding: 100px 0;
  background: var(--bg-dark);
}

.featured-projects {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 40px;
  margin-bottom: 50px;
}

.featured-project {
  background: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  transition: var(--transition);
}

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

.project-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
}

.project-image svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-info {
  padding: 30px;
}

.project-info h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 15px;
}

.project-info p {
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.6;
}

.project-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.tag {
  background: var(--bg-dark);
  color: var(--primary-color);
  padding: 5px 12px;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 500;
  border: 1px solid var(--primary-color);
}

/* Why Choose Us */
.why-choose-us {
  padding: 100px 0;
  background: var(--bg-light);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.benefit-card {
  background: var(--bg-dark);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 40px 30px;
  text-align: center;
  transition: var(--transition);
}

.benefit-card:hover {
  transform: translateY(-5px);
  border-color: var(--secondary-color);
  box-shadow: 0 0 20px rgba(0, 102, 255, 0.3);
}

.benefit-icon {
  font-size: 2.5rem;
  color: var(--secondary-color);
  margin-bottom: 20px;
}

.benefit-card h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 15px;
}

.benefit-card p {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Company Stats */
.company-stats {
  padding: 100px 0;
  background: var(--bg-dark);
}

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

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
}

.stat-item {
  text-align: center;
  padding: 50px 30px;
  background: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.stat-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--secondary-color), transparent);
  transition: var(--transition);
}

.stat-item:hover::before {
  left: 100%;
}

.stat-item:hover {
  transform: translateY(-5px);
  border-color: var(--secondary-color);
  box-shadow: 0 0 20px rgba(0, 102, 255, 0.3);
}

.stat-icon {
  font-size: 2.5rem;
  color: var(--secondary-color);
  margin-bottom: 20px;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 10px;
  text-shadow: 0 0 10px rgba(0, 255, 136, 0.3);
}

.stat-label {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 15px;
}

.stat-description {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Call to Action */
.cta-section {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--bg-darker), var(--bg-dark));
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 50%, rgba(0, 255, 136, 0.1) 0%, transparent 70%);
}

.cta-content {
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 20px;
  text-shadow: 0 0 10px rgba(0, 255, 136, 0.3);
}

.cta-content p {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Footer */
.footer {
  background: var(--bg-darker);
  padding: 50px 0 30px;
  border-top: 1px solid var(--border-color);
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  margin-bottom: 30px;
}

.footer-brand p {
  color: var(--text-secondary);
  margin-top: 15px;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid var(--border-color);
  color: var(--text-muted);
}

/* Services Overview */
.services-overview {
    padding: 80px 0;
    background: var(--bg-light);
}

.services-overview .section-title {
    text-align: center;
    margin-bottom: 20px;
}

.services-overview .section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.2rem;
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.services-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.highlight {
    text-align: center;
    padding: 30px 20px;
    background: var(--bg-dark);
    border-radius: 15px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.highlight:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
    box-shadow: 0 10px 30px rgba(255, 0, 102, 0.1);
}

.highlight i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 20px;
    display: block;
}

.highlight h3 {
    color: var(--text-primary);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.highlight p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* Portfolio Overview */
.portfolio-overview {
    padding: 80px 0;
    background: var(--bg-secondary);
}

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

.overview-content .section-title {
    margin-bottom: 20px;
}

.overview-content .section-subtitle {
    color: var(--text-secondary);
    font-size: 1.2rem;
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.portfolio-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.portfolio-highlights .highlight {
    text-align: center;
    padding: 40px 30px;
    background: var(--bg-primary);
    border-radius: 20px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.portfolio-highlights .highlight:hover {
    transform: translateY(-10px);
    border-color: var(--accent-color);
    box-shadow: 0 15px 40px rgba(0, 255, 255, 0.15);
}

.portfolio-highlights .highlight i {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 25px;
    display: block;
}

.portfolio-highlights .highlight h3 {
    color: var(--text-primary);
    margin-bottom: 15px;
    font-size: 1.4rem;
    font-weight: 600;
}

.portfolio-highlights .highlight p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* Portfolio Filters */
.portfolio-filters-section {
    padding: 60px 0 40px;
    background: var(--bg-primary);
}

.portfolio-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

.filter-btn {
    padding: 12px 25px;
    background: transparent;
    border: 2px solid var(--border-color);
    color: var(--text-secondary);
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--bg-primary);
    transform: translateY(-2px);
}

/* Portfolio Grid */
.portfolio-section {
    padding: 40px 0 80px;
    background: var(--bg-primary);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
}

.portfolio-item {
    opacity: 1;
    transition: all 0.5s ease;
}

.portfolio-item.hidden {
    opacity: 0;
    transform: scale(0.8);
    pointer-events: none;
}

.portfolio-card {
    background: var(--bg-secondary);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.portfolio-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 255, 255, 0.1);
    border-color: var(--accent-color);
}

.portfolio-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.project-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.portfolio-card:hover .project-image {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-card:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-content {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.portfolio-title {
    color: var(--text-primary);
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.portfolio-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.portfolio-features {
    margin-bottom: 20px;
}

.portfolio-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.portfolio-features li {
    color: var(--text-secondary);
    padding: 5px 0;
    position: relative;
    padding-left: 20px;
}

.portfolio-features li:before {
    content: '✓';
    color: var(--accent-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.portfolio-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tech-tag {
    background: var(--accent-color);
    color: var(--bg-primary);
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Contact Overview Section */
.contact-overview {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.contact-overview .overview-content {
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-overview .section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.contact-overview .section-subtitle {
    font-size: 1.2rem;
    color: #6c757d;
    margin-bottom: 3rem;
    line-height: 1.6;
}

.contact-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.contact-highlights .highlight {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-highlights .highlight:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.contact-highlights .highlight i {
    font-size: 2.5rem;
    color: #3498db;
    margin-bottom: 1rem;
}

.contact-highlights .highlight h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.contact-highlights .highlight p {
    color: #6c757d;
    line-height: 1.6;
}

/* Contact Section */
.contact-section {
    padding: var(--section-padding) 0;
    background: var(--bg-dark);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 2.5rem;
    align-items: start;
}

/* Allow grid children to shrink and prevent horizontal overflow */
.contact-grid > * {
    min-width: 0;
}

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

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

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-form-container {
    background: var(--bg-secondary);
    padding: var(--section-padding);
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

.contact-form-container h2 {
    color: var(--text-primary);
    font-size: var(--font-size-2xl);
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-form-container p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: var(--font-size-base);
}

.contact-form {
    background: transparent;
    padding: 0;
    border: 0;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* Scoped refinements to Contact page */
.contact-section .form-row {
    gap: 1rem 1.5rem;
    margin-bottom: 1.25rem;
}

.contact-section .form-group textarea {
    min-height: 160px;
}

.contact-section .btn.btn-full {
  width: 100%;
  padding: 16px;
  font-size: 1.05rem;
}

/* Contact info details spacing */
.contact-method .contact-details h3 {
  margin: 0 0 4px;
}

.contact-method .contact-details p {
  margin: 2px 0;
  color: var(--text-secondary);
}

/* Scoped contact form refinements */
.contact-section .form-group {
    margin-bottom: 1.25rem;
}

.contact-section .form-group label {
    margin-bottom: 0.5rem;
}

.contact-section .form-group input,
.contact-section .form-group select,
.contact-section .form-group textarea {
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    padding: 14px;
}

@media (max-width: 768px) {
    .contact-form-container {
        padding: 1.25rem;
    }
}

@media (max-width: 480px) {
    .contact-form-container {
        padding: 1rem;
    }
}

.contact-info {
    padding: 2rem;
}

.contact-info h3 {
    font-size: var(--font-size-xl);
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.contact-info h2 {
    font-size: var(--font-size-xl);
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.contact-methods {
    margin-bottom: 2rem;
}

.contact-method {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    padding: 1rem;
    background: var(--bg-secondary);
    border-radius: 10px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.contact-method:hover {
    border-color: var(--primary-color);
    background: var(--bg-dark);
}

.contact-method i {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-right: 1rem;
    width: 20px;
}

.contact-method span {
    color: var(--text-primary);
    font-weight: 500;
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.faq-header {
    text-align: center;
    margin-bottom: 50px;
}

.faq-header .section-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-top: 15px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-dark);
    border-radius: 15px;
    border: 1px solid var(--border-color);
    margin-bottom: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--primary-color);
    box-shadow: 0 5px 20px rgba(0, 255, 136, 0.1);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: rgba(0, 255, 136, 0.05);
}

.faq-question h3 {
    color: var(--text-primary);
    margin: 0;
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-semibold);
}

.faq-question i {
    color: var(--primary-color);
    font-size: var(--font-size-base);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    color: var(--text-secondary);
    line-height: var(--line-height-normal);
    font-size: var(--font-size-base);
    padding: 0 30px 25px;
    margin: 0;
}

/* Process Section */
.process-section {
    padding: var(--section-padding) 0;
    background: var(--bg-secondary);
    position: relative;
}

.process-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.05), rgba(0, 191, 255, 0.05));
    pointer-events: none;
}

.process-section .section-title {
    text-align: center;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: var(--font-size-4xl);
}

.process-section .section-description {
    text-align: center;
    color: var(--text-secondary);
    font-size: var(--font-size-lg);
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    position: relative;
}

.process-step {
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 2rem;
    position: relative;
    transition: var(--transition);
    overflow: hidden;
}

.process-step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: var(--transition);
}

.process-step:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 255, 136, 0.2);
}

.process-step:hover::before {
    transform: scaleX(1);
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--bg-dark);
    margin-bottom: 1.5rem;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 255, 136, 0.3);
}

.step-number::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 80px;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    opacity: 0.3;
    animation: pulse 2s infinite;
}

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

.step-content h3 {
    color: var(--text-primary);
    font-size: var(--font-size-xl);
    margin-bottom: 1rem;
    font-weight: 600;
}

.step-content p {
    color: var(--text-secondary);
    line-height: var(--line-height-normal);
    font-size: var(--font-size-base);
    margin: 0;
}

/* Process Steps Connection Line for Desktop */
@media (min-width: 1024px) {
    .process-steps {
        grid-template-columns: repeat(4, 1fr);
        position: relative;
    }
    
    .process-steps::before {
        content: '';
        position: absolute;
        top: 30px;
        left: 15%;
        right: 15%;
        height: 2px;
        background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
        z-index: 0;
    }
    
    .process-step {
        position: relative;
        z-index: 1;
    }
}

@media (max-width: 768px) {
    .process-steps {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .process-step {
        padding: 1.5rem;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: var(--font-size-lg);
    }
    
    .step-number::after {
        width: 70px;
        height: 70px;
    }
}

/* Testimonials Section */
.testimonials-section {
    padding: var(--section-padding) 0;
    background: var(--bg-dark);
    position: relative;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.03), rgba(0, 191, 255, 0.03));
    pointer-events: none;
}

.testimonials-section .section-title {
    text-align: center;
    margin-bottom: 4rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: var(--font-size-4xl);
    position: relative;
}

.testimonials-section .section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2.5rem;
    position: relative;
    transition: var(--transition);
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: var(--transition);
}

.testimonial-card::after {
    content: '"';
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 4rem;
    color: var(--primary-color);
    opacity: 0.1;
    font-family: serif;
    line-height: 1;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-color);
    box-shadow: 0 15px 40px rgba(0, 255, 136, 0.15);
}

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

.testimonial-content {
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.testimonial-content p {
    color: var(--text-secondary);
    font-size: var(--font-size-lg);
    line-height: var(--line-height-relaxed);
    font-style: italic;
    margin: 0;
    position: relative;
}

.testimonial-content p::before {
    content: '"';
    color: var(--primary-color);
    font-size: 2rem;
    position: absolute;
    left: -15px;
    top: -5px;
    font-family: serif;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
    z-index: 2;
}

.testimonial-author::before {
    content: '';
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--bg-dark);
    font-size: var(--font-size-lg);
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(0, 255, 136, 0.3);
}

.author-info {
    flex: 1;
}

.author-info h4 {
    color: var(--text-primary);
    font-size: var(--font-size-lg);
    font-weight: 600;
    margin: 0 0 0.25rem 0;
}

.author-info p {
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
    margin: 0;
    opacity: 0.8;
}

/* Add initials to author avatars */
.testimonial-card:nth-child(1) .testimonial-author::before {
    content: 'MR';
}

.testimonial-card:nth-child(2) .testimonial-author::before {
    content: 'JC';
}

.testimonial-card:nth-child(3) .testimonial-author::before {
    content: 'SJ';
}

/* Star Rating Effect */
.testimonial-content::after {
    content: '★★★★★';
    position: absolute;
    bottom: -30px;
    left: 0;
    color: var(--primary-color);
    font-size: 1.2rem;
    letter-spacing: 2px;
}

@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .testimonial-card {
        padding: 2rem;
    }
    
    .testimonial-content p {
        font-size: var(--font-size-base);
    }
    
    .testimonial-card::after {
        font-size: 3rem;
        top: 15px;
        right: 20px;
    }
}

@media (max-width: 480px) {
    .testimonials-section .section-title {
        font-size: var(--font-size-3xl);
    }
    
    .testimonial-card {
        padding: 1.5rem;
    }
    
    .testimonial-author::before {
        width: 40px;
        height: 40px;
        font-size: var(--font-size-base);
    }
}

/* Mission & Values Section */
.mission-values {
    padding: 100px 0;
    background: var(--bg-light);
    position: relative;
}

.mission-values::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 70%, rgba(0, 255, 136, 0.05) 0%, transparent 50%);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    position: relative;
    z-index: 1;
}

.value-card {
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 50px 40px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: all 0.4s ease;
}

.value-card:hover::before {
    left: 0;
}

.value-card:hover {
    transform: translateY(-10px);
    border-color: var(--secondary-color);
    box-shadow: 0 20px 40px rgba(0, 102, 255, 0.2);
}

.value-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    font-size: 2rem;
    color: var(--bg-dark);
    transition: all 0.3s ease;
}

.value-card:hover .value-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 20px rgba(0, 255, 136, 0.3);
}

.value-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
    position: relative;
}

.value-card h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background: var(--secondary-color);
    opacity: 0;
    transition: all 0.3s ease;
}

.value-card:hover h3::after {
    opacity: 1;
    width: 80px;
}

.value-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 1rem;
}

/* Why Choose Us Section - Enhanced */
.why-choose-us {
    padding: 100px 0;
    background: var(--bg-dark);
    position: relative;
}

.why-choose-us::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 70% 30%, rgba(0, 102, 255, 0.05) 0%, transparent 50%);
}

.why-choose-us .section-title {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.reasons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 1;
}

.reason-card {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 40px 30px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.reason-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.02), rgba(0, 102, 255, 0.02));
    opacity: 0;
    transition: all 0.3s ease;
}

.reason-card:hover::before {
    opacity: 1;
}

.reason-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-color);
    box-shadow: 0 15px 35px rgba(0, 255, 136, 0.15);
}

.reason-number {
    display: inline-block;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--bg-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.reason-card:hover .reason-number {
    transform: scale(1.1);
    box-shadow: 0 8px 16px rgba(0, 255, 136, 0.3);
}

.reason-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 15px;
    position: relative;
}

.reason-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Team Section - Enhanced */
.team-section {
    padding: 100px 0;
    background: var(--bg-light);
    position: relative;
}

.team-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 80%, rgba(0, 102, 255, 0.03) 0%, transparent 60%);
}

.team-section .section-title {
    text-align: center;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.team-section .section-description {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
    color: var(--text-secondary);
    font-size: 1.1rem;
    position: relative;
    z-index: 1;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    position: relative;
    z-index: 1;
}

.team-member {
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.team-member::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.02), rgba(0, 102, 255, 0.02));
    opacity: 0;
    transition: all 0.3s ease;
}

.team-member:hover::before {
    opacity: 1;
}

.team-member:hover {
    transform: translateY(-10px);
    border-color: var(--secondary-color);
    box-shadow: 0 20px 40px rgba(0, 102, 255, 0.15);
}

.member-image {
    position: relative;
    margin-bottom: 30px;
}

.member-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.team-member:hover .member-photo {
    border-color: var(--primary-color);
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.3);
}

.member-image::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 0;
}

.team-member:hover .member-image::before {
    opacity: 0.1;
    transform: translate(-50%, -50%) scale(1.1);
}

.member-info h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.member-role {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.member-bio {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 25px;
    font-size: 0.95rem;
}

.member-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.skill-tag {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--bg-dark);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.skill-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 255, 136, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
  .values-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .reasons-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  
  .team-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .value-card,
  .reason-card,
  .team-member {
    padding: 30px 25px;
  }
  
  .member-skills {
    gap: 6px;
  }
  
  .skill-tag {
    padding: 4px 10px;
    font-size: 0.75rem;
  }
  
  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background: rgba(10, 10, 10, 0.98);
    width: 100%;
    text-align: center;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--border-color);
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-menu a {
    padding: 15px;
    display: block;
    border-bottom: 1px solid var(--border-color);
  }

  .nav-toggle {
    display: flex;
  }

  .hero-container {
    flex-direction: column;
    gap: 30px;
    text-align: center;
  }

  .hero-visual {
    order: -1;
  }

  .hero-image {
    max-width: 80%;
  }

  .hero-title {
    font-size: var(--font-size-4xl);
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .contact-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
  }
}

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

@media (max-width: 768px) {
  .section-title {
    font-size: 2rem;
  }
  .section-subtitle {
    font-size: 1rem;
  }
  .hero-description {
    font-size: var(--font-size-base);
  }
  .page-title {
    font-size: 2rem;
  }
  .page-description {
    font-size: 1rem;
  }
  .nav-container {
    height: 60px;
  }
  .logo-image {
    height: 40px;
  }
  .services-grid,
  .benefits-grid,
  .stats-grid,
  .featured-projects,
  .values-grid,
  .team-grid {
    gap: 20px;
  }
  .bundles-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .nav-menu .nav-cta {
    width: 100%;
    text-align: center;
  }
  .btn {
    padding: 12px 18px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: var(--font-size-3xl);
  }
  .hero-image {
    max-width: 70%;
  }
  .page-title {
    font-size: 1.75rem;
  }
  .page-description {
    font-size: 0.95rem;
  }
  .hero-container {
    gap: 24px;
  }
  .nav-container {
    padding: 0 12px;
  }
  .btn {
    width: 100%;
  }
}

/* Project Detail Pages */
.project-header {
  padding: 140px 0 100px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: white;
  position: relative;
  overflow: hidden;
}

.project-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.project-header .container {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.project-breadcrumb {
  margin-bottom: 40px;
  text-align: left;
}

.project-breadcrumb a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.project-breadcrumb a:hover {
  color: var(--accent-color);
}

.project-breadcrumb span {
  color: rgba(255, 255, 255, 0.6);
  margin: 0 10px;
}

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

.project-category {
  display: inline-block;
  background: rgba(0, 255, 255, 0.2);
  color: var(--accent-color);
  padding: 8px 20px;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 20px;
  border: 1px solid rgba(0, 255, 255, 0.3);
}

.project-title {
  font-size: 3.8rem;
  font-weight: 700;
  margin-bottom: 25px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.project-subtitle {
  font-size: 1.4rem;
  opacity: 0.9;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
  font-weight: 300;
}

.project-meta {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.project-client,
.project-date,
.project-duration {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  background: rgba(255, 255, 255, 0.1);
  padding: 12px 20px;
  border-radius: 25px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.project-client:hover,
.project-date:hover,
.project-duration:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.project-client i,
.project-date i,
.project-duration i {
  color: var(--accent-color);
  font-size: 1.1rem;
}

.project-image {
  margin: 50px auto 0;
  max-width: 900px;
  padding: 0 20px;
  position: relative;
}

.project-preview-image {
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
  transition: all 0.4s ease;
  border: 3px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

.project-preview-image:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.4);
  border-color: rgba(0, 255, 255, 0.4);
}

.project-meta {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.project-meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
}

.project-meta-item i {
  color: var(--accent-color);
}

.project-content {
  padding: 100px 0;
  background: var(--bg-primary);
}

.project-content .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.project-overview,
.project-challenge,
.project-solution {
  background: var(--bg-secondary);
  border-radius: 20px;
  padding: 60px;
  margin-bottom: 40px;
  border: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
}

.project-overview::before,
.project-challenge::before,
.project-solution::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.project-overview h2,
.project-challenge h2,
.project-solution h2 {
  color: var(--text-primary);
  font-size: 2.2rem;
  margin-bottom: 30px;
  font-weight: 600;
  position: relative;
}

.project-overview p,
.project-challenge p,
.project-solution p {
  color: var(--text-secondary);
  line-height: 1.8;
  font-size: 1.15rem;
  margin-bottom: 0;
}

.project-section {
  margin-bottom: 50px;
}

.project-section:last-child {
  margin-bottom: 0;
}

.project-section h2 {
  color: var(--text-primary);
  font-size: 2rem;
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 2px solid var(--accent-color);
  position: relative;
}

.project-section h2::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 50px;
  height: 2px;
  background: var(--primary-color);
}

.project-section p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.project-features {
  background: var(--bg-secondary);
  border-radius: 20px;
  padding: 60px;
  margin-bottom: 40px;
  border: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
}

.project-features::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.project-features h2 {
  color: var(--text-primary);
  font-size: 2.2rem;
  margin-bottom: 40px;
  font-weight: 600;
  text-align: center;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.feature-item {
  background: var(--bg-primary);
  padding: 35px;
  border-radius: 18px;
  border: 1px solid var(--border-color);
  transition: all 0.4s ease;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.feature-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.feature-item:hover::before {
  transform: scaleX(1);
}

.feature-item:hover {
  transform: translateY(-8px);
  border-color: var(--accent-color);
  box-shadow: 0 15px 40px rgba(0, 255, 255, 0.15);
}

.feature-item i {
  color: var(--accent-color);
  font-size: 2rem;
  margin-bottom: 20px;
  display: block;
  transition: all 0.3s ease;
}

.feature-item:hover i {
  transform: scale(1.1);
  color: var(--primary-color);
}

.feature-item h3 {
  color: var(--text-primary);
  margin-bottom: 15px;
  font-size: 1.3rem;
  font-weight: 600;
}

.feature-item p {
  color: var(--text-secondary);
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
}

.project-sidebar {
  position: sticky;
  top: 100px;
}

.sidebar-card {
  background: var(--bg-secondary);
  border-radius: 20px;
  padding: 40px;
  border: 1px solid var(--border-color);
  margin-bottom: 30px;
}

.sidebar-card h3 {
  color: var(--text-primary);
  margin-bottom: 25px;
  font-size: 1.4rem;
  text-align: center;
}

.project-info-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.project-info-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-secondary);
}

.project-info-list li:last-child {
  border-bottom: none;
}

.project-info-list li strong {
  color: var(--text-primary);
  font-weight: 600;
}

.project-tech {
  background: var(--bg-secondary);
  border-radius: 20px;
  padding: 60px;
  margin-bottom: 40px;
  border: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
}

.project-tech::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.project-tech h2 {
  color: var(--text-primary);
  font-size: 2.2rem;
  margin-bottom: 40px;
  font-weight: 600;
  text-align: center;
}

.tech-stack {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

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

.tech-category h3 {
  color: var(--text-primary);
  font-size: 1.3rem;
  margin-bottom: 20px;
  font-weight: 600;
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.tech-tag {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  padding: 10px 18px;
  border-radius: 25px;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.tech-tag:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.2);
}

.project-results {
  background: var(--bg-secondary);
  border-radius: 20px;
  padding: 60px;
  margin-bottom: 40px;
  border: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
}

.project-results::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.project-results h2 {
  color: var(--text-primary);
  font-size: 2.2rem;
  margin-bottom: 40px;
  font-weight: 600;
  text-align: center;
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.result-item {
  text-align: center;
  padding: 30px 20px;
  background: var(--bg-primary);
  border-radius: 15px;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.result-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.result-item:hover::before {
  transform: scaleX(1);
}

.result-item:hover {
  transform: translateY(-5px);
  border-color: var(--accent-color);
  box-shadow: 0 10px 30px rgba(0, 255, 255, 0.1);
}

.result-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent-color);
  margin-bottom: 10px;
  display: block;
}

.result-label {
  color: var(--text-secondary);
  font-size: 1rem;
  font-weight: 500;
}

.project-testimonial {
  background: var(--bg-secondary);
  border-radius: 20px;
  padding: 60px;
  margin-bottom: 40px;
  border: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.project-testimonial::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.project-testimonial blockquote {
  font-size: 1.3rem;
  line-height: 1.6;
  color: var(--text-primary);
  font-style: italic;
  margin: 0 0 30px 0;
  position: relative;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.project-testimonial blockquote::before {
  content: '"';
  font-size: 4rem;
  color: var(--accent-color);
  position: absolute;
  top: -20px;
  left: -30px;
  font-family: serif;
}

.project-testimonial cite {
  color: var(--text-secondary);
  font-size: 1.1rem;
  font-weight: 500;
  font-style: normal;
}

.sidebar-cta {
  text-align: center;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: white;
  border-radius: 20px;
  padding: 40px 30px;
  position: relative;
  overflow: hidden;
}

.sidebar-cta::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  animation: shimmer 3s ease-in-out infinite;
}

/* Project Pages Responsive Design */
@media (max-width: 768px) {
  .project-header {
    padding: 120px 0 80px;
  }
  
  .project-title {
    font-size: 2.8rem;
  }
  
  .project-subtitle {
    font-size: 1.2rem;
    max-width: 100%;
  }
  
  .project-meta {
    gap: 20px;
    flex-direction: column;
    align-items: center;
  }
  
  .project-client,
  .project-date,
  .project-duration {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }
  
  .project-image {
    margin: 30px auto 0;
    max-width: 100%;
  }
  
  .project-content {
    padding: 60px 0;
  }
  
  .project-overview,
  .project-challenge,
  .project-solution,
  .project-features,
  .project-tech,
  .project-results,
  .project-testimonial {
    padding: 40px 30px;
    margin-bottom: 30px;
  }
  
  .project-overview h2,
  .project-challenge h2,
  .project-solution h2,
  .project-features h2,
  .project-tech h2,
  .project-results h2 {
    font-size: 1.8rem;
    margin-bottom: 25px;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .feature-item {
    padding: 25px 20px;
  }
  
  .tech-stack {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .results-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .result-item {
    padding: 25px 15px;
  }
  
  .result-number {
    font-size: 2rem;
  }
  
  .project-testimonial blockquote {
    font-size: 1.1rem;
    padding: 0 20px;
  }
  
  .project-testimonial blockquote::before {
    font-size: 3rem;
    top: -15px;
    left: -15px;
  }
}

@media (max-width: 480px) {
  .project-header {
    padding: 100px 0 60px;
  }
  
  .project-title {
    font-size: 2.2rem;
  }
  
  .project-subtitle {
    font-size: 1.1rem;
  }
  
  .project-overview,
  .project-challenge,
  .project-solution,
  .project-features,
  .project-tech,
  .project-results,
  .project-testimonial {
    padding: 30px 20px;
  }
  
  .results-grid {
    grid-template-columns: 1fr;
  }
  
  .tech-tags {
    gap: 8px;
  }
  
  .tech-tag {
    padding: 8px 14px;
    font-size: 0.9rem;
  }
}

@keyframes shimmer {
  0%, 100% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
  50% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.sidebar-cta h4 {
  margin-bottom: 15px;
  font-size: 1.3rem;
  position: relative;
  z-index: 2;
}

.sidebar-cta p {
  margin-bottom: 25px;
  opacity: 0.9;
  position: relative;
  z-index: 2;
}

.sidebar-cta .btn {
  position: relative;
  z-index: 2;
}

.related-projects {
  padding: 80px 0;
  background: var(--bg-secondary);
}

.related-projects .section-title {
  text-align: center;
  margin-bottom: 60px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.related-project {
  background: var(--bg-primary);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.related-project:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border-color: var(--accent-color);
}

.related-project-image {
  height: 200px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 3rem;
  position: relative;
  overflow: hidden;
}

.related-project-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.2);
}

.related-project-content {
  padding: 30px;
}

.related-project h4 {
  color: var(--text-primary);
  margin-bottom: 15px;
  font-size: 1.3rem;
}

.related-project p {
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.6;
}

/* Responsive Design for Project Pages */
@media (max-width: 1024px) {
  .project-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .project-sidebar {
    position: static;
  }
  
  .project-main {
    padding: 30px;
  }
}

@media (max-width: 768px) {
  .project-title {
    font-size: 2.5rem;
  }
  
  .project-meta {
    flex-direction: column;
    gap: 15px;
  }
  
  .project-features {
    grid-template-columns: 1fr;
  }
  
  .related-grid {
    grid-template-columns: 1fr;
  }
  
  .sidebar-card {
    padding: 25px;
  }
}

@media (max-width: 480px) {
  .project-header {
    padding: 100px 0 60px;
  }
  
  .project-title {
    font-size: 2rem;
  }
  
  .project-main {
    padding: 20px;
  }
  
  .sidebar-card {
    padding: 20px;
  }
}

/* Professional Project Layout Styles - Mobile Banking App */

/* Project Hero Section */
.project-hero {
  padding: 80px 0;
  background: #f8f9fa;
}

.project-hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.project-hero-image {
  text-align: center;
}

.hero-image {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.project-hero-info {
  padding-left: 20px;
}

.project-hero-info .project-meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.project-hero-info .project-category,
.project-hero-info .project-duration {
  background: #0066ff;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
}

.project-hero-info h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: #0a0a0a;
}

.project-description {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #666;
  margin-bottom: 2rem;
}

.project-hero-info .project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.project-hero-info .tech-tag {
  background: #f0f8ff;
  color: #0066ff;
  padding: 0.5rem 1rem;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 500;
  border: 1px solid #e0f0ff;
}

/* Project Stats Section */
.project-stats-section {
  padding: 60px 0;
  background: white;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.stat-card {
  text-align: center;
  padding: 2rem 1.5rem;
  background: #f8f9fa;
  border-radius: 15px;
  border: 1px solid #e9ecef;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.stat-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.stat-card .stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: #0066ff;
  margin-bottom: 0.5rem;
}

.stat-card .stat-label {
  font-size: 1rem;
  color: #666;
  font-weight: 500;
}

/* Features Section */
.project-features-section {
  padding: 80px 0;
  background: #f8f9fa;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #0a0a0a;
}

.section-header p {
  font-size: 1.2rem;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.feature-card {
  background: white;
  padding: 2.5rem 2rem;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #0a0a0a;
}

.feature-card p {
  color: #666;
  line-height: 1.6;
}

/* Security Section */
.project-security-section {
  padding: 80px 0;
  background: white;
}

.security-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
  align-items: center;
}

.security-info h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: #0a0a0a;
}

.security-intro {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

.security-features {
  display: grid;
  gap: 1.5rem;
}

.security-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: #f8f9fa;
  border-radius: 10px;
  border-left: 4px solid #0066ff;
}

.security-icon {
  font-size: 1.5rem;
  margin-top: 0.2rem;
}

.security-details h4 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: #0a0a0a;
}

.security-details p {
  color: #666;
  line-height: 1.6;
  margin: 0;
}

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

.security-badge {
  background: linear-gradient(135deg, #0066ff 0%, #004db3 100%);
  color: white;
  padding: 3rem 2rem;
  border-radius: 20px;
  text-align: center;
}

.badge-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.badge-text h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.badge-text p {
  opacity: 0.9;
  margin: 0;
}

/* Project Actions Section */
.project-actions-section {
  padding: 80px 0;
  background: #f8f9fa;
  text-align: center;
}

.actions-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #0a0a0a;
}

.actions-content p {
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 2.5rem;
}

.project-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

/* Responsive Design for Professional Layout */
@media (max-width: 768px) {
  .project-hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .project-hero-info {
    padding-left: 0;
    text-align: center;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .security-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .project-actions {
    flex-direction: column;
    align-items: center;
  }
}

/* Service Category Styles */
.service-category {
  margin-bottom: 80px;
}

.category-title {
  font-size: var(--font-size-3xl);
  font-weight: var(--font-weight-bold);
  color: var(--text-primary);
  margin-bottom: 40px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.category-title i {
  color: var(--primary-color);
  font-size: var(--font-size-2xl);
}

/* Service Pricing Styles */
.service-pricing {
  margin-bottom: var(--spacing-md);
}

.price-range {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-bold);
  color: var(--primary-color);
  margin-bottom: 5px;
}

/* Value Proposition Styles */
.value-proposition {
  background: rgba(0, 255, 136, 0.1);
  padding: 15px;
  border-radius: 10px;
  margin: var(--spacing-md) 0;
  border-left: 4px solid var(--primary-color);
}

.value-proposition strong {
  color: var(--primary-color);
}

/* Value Section Styles */
.value-section {
  background: var(--bg-light);
  padding: 60px 0;
  margin-top: 80px;
  border-radius: 20px;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.value-item {
  text-align: center;
  padding: 30px 20px;
  background: var(--bg-dark);
  border-radius: 15px;
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.value-item:hover {
  transform: translateY(-5px);
  border-color: var(--primary-color);
  box-shadow: 0 10px 30px rgba(0, 255, 136, 0.2);
}

.value-item i {
  font-size: var(--font-size-3xl);
  color: var(--primary-color);
  margin-bottom: var(--spacing-md);
}

.value-item h3 {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);
  color: var(--text-primary);
  margin-bottom: var(--spacing-sm);
}

.value-item p {
  color: var(--text-secondary);
  font-size: var(--font-size-sm);
}

/* Agency Note Styles */
.agency-note {
  text-align: center;
  margin-top: 40px;
  padding: 30px;
  background: rgba(0, 255, 136, 0.1);
  border-radius: 15px;
  border: 1px solid var(--primary-color);
}

.agency-note p {
  font-size: var(--font-size-lg);
  color: var(--text-primary);
  margin: 0;
}

.agency-note strong {
  color: var(--primary-color);
  font-weight: var(--font-weight-bold);
}

/* Enhanced Service Features */
.service-features ul {
  list-style: none;
  padding: 0;
  margin: var(--spacing-md) 0;
}

.service-features li {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  color: var(--text-secondary);
  font-size: var(--font-size-sm);
}

.service-features li i {
  color: var(--primary-color);
  margin-right: 10px;
  font-size: var(--font-size-xs);
}

/* Responsive adjustments for new elements */
@media (max-width: 768px) {
  .category-title {
    font-size: var(--font-size-2xl);
    flex-direction: column;
    gap: 10px;
  }
  
  .value-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .value-item {
    padding: 20px 15px;
  }
  
  .agency-note {
    padding: 20px;
  }
  
  .agency-note p {
    font-size: var(--font-size-base);
  }
}

/* Contact Form Enhancements */
.form-help-text {
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
  margin-bottom: var(--spacing-sm);
  font-style: italic;
}

.checkbox-group-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
  margin-top: 10px;
}

.checkbox-group-container .checkbox-label {
  display: flex;
  align-items: center;
  padding: 10px;
  background: rgba(0, 255, 136, 0.05);
  border-radius: 8px;
  border: 1px solid var(--border-color);
  transition: var(--transition);
  cursor: pointer;
}

.checkbox-group-container .checkbox-label:hover {
  background: rgba(0, 255, 136, 0.1);
  border-color: var(--primary-color);
}

.checkbox-group-container .checkbox-label input[type="checkbox"]:checked + .checkmark {
  background: var(--primary-color);
}

/* Responsive adjustments for checkbox group */
@media (max-width: 768px) {
  .checkbox-group-container {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

/* Scoped: Safari-safe Add-On Services layout using flex */
.contact-section .checkbox-group-container {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.contact-section .checkbox-group-container .checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  flex: 1 1 280px;
}

.contact-section .checkbox-group-container .checkbox-label input[type="checkbox"] {
  -webkit-appearance: checkbox;
  appearance: checkbox;
  accent-color: var(--primary-color);
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-section .checkbox-group-container .checkbox-label .checkmark {
  display: none;
}

@media (max-width: 768px) {
  .contact-section .checkbox-group-container .checkbox-label {
    flex: 1 1 100%;
  }
}

/* Social Media Icons Styling */
.social-links {
  text-align: center;
  margin-top: 30px;
}

.social-links h3 {
  color: var(--text-primary);
  margin-bottom: 20px;
  font-size: var(--font-size-lg);
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  color: white;
  border-radius: 50%;
  text-decoration: none;
  font-size: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 255, 136, 0.3);
}

.social-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 255, 136, 0.4);
  background: var(--accent-color);
  color: white;
}

.social-link i {
  font-size: 22px;
}

/* Responsive adjustments for social icons */
@media (max-width: 768px) {
  .social-icons {
    gap: 15px;
  }
  
  .social-link {
    width: 45px;
    height: 45px;
    font-size: 18px;
  }
  
  .social-link i {
    font-size: 20px;
  }
}

/* Bundles Section Styles */
.bundles-section {
  padding: 80px 0;
  background: var(--bg-light);
  position: relative;
}

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

.bundles-header .section-title {
  font-size: var(--font-size-4xl);
  font-weight: var(--font-weight-bold);
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bundles-header .section-description {
  font-size: var(--font-size-lg);
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: var(--line-height-relaxed);
}

.bundles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

.bundle-card {
  background: var(--bg-dark);
  padding: 40px 30px;
  border-radius: 20px;
  border: 1px solid var(--border-color);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.bundle-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary-color);
  box-shadow: 0 20px 40px rgba(0, 255, 136, 0.2);
}

.bundle-card.featured {
  border-color: var(--primary-color);
  box-shadow: var(--shadow-glow);
  transform: scale(1.02);
}

.bundle-card.premium {
  border-color: var(--accent-color);
  box-shadow: 0 0 20px rgba(255, 0, 102, 0.3);
}

.bundle-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--primary-color);
  color: var(--bg-dark);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.bundle-card.premium .bundle-badge {
  background: var(--accent-color);
}

.bundle-header {
  margin-bottom: 25px;
}

.bundle-title {
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-semibold);
  margin-bottom: 15px;
  color: var(--text-primary);
  line-height: var(--line-height-tight);
}

.bundle-price {
  font-size: var(--font-size-3xl);
  font-weight: var(--font-weight-bold);
  color: var(--primary-color);
  margin-bottom: 10px;
}

.bundle-card.premium .bundle-price {
  color: var(--accent-color);
}

.bundle-features {
  flex-grow: 1;
  margin-bottom: 25px;
}

.bundle-features ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.bundle-features li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 12px;
  font-size: var(--font-size-base);
  color: var(--text-secondary);
  line-height: var(--line-height-normal);
}

.bundle-features li i {
  color: var(--primary-color);
  margin-right: 12px;
  margin-top: 2px;
  font-size: var(--font-size-sm);
  flex-shrink: 0;
}

.bundle-card.premium .bundle-features li i {
  color: var(--accent-color);
}

.bundle-value {
  background: rgba(0, 255, 136, 0.1);
  padding: 15px;
  border-radius: 10px;
  margin-bottom: 25px;
  border-left: 3px solid var(--primary-color);
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
  line-height: var(--line-height-normal);
}

.bundle-card.premium .bundle-value {
  background: rgba(255, 0, 102, 0.1);
  border-left-color: var(--accent-color);
}

.bundle-value strong {
  color: var(--text-primary);
}

.bundle-card .btn {
  margin-top: auto;
  width: 100%;
  justify-self: flex-end;
}

/* Add-On Section */
.addon-section {
  margin: 60px 0;
  padding: 40px;
  background: var(--bg-dark);
  border-radius: 20px;
  border: 1px solid var(--border-color);
}

.addon-title {
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-semibold);
  color: var(--text-primary);
  margin-bottom: 30px;
  text-align: center;
}

.addon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.addon-item {
  background: var(--bg-light);
  padding: 20px;
  border-radius: 15px;
  border: 1px solid var(--border-color);
  text-align: center;
  transition: var(--transition);
}

.addon-item:hover {
  border-color: var(--primary-color);
  transform: translateY(-5px);
}

.addon-item h4 {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-medium);
  color: var(--text-primary);
  margin-bottom: 10px;
}

.addon-price {
  font-size: var(--font-size-base);
  color: var(--primary-color);
  font-weight: var(--font-weight-semibold);
}

/* Bundles CTA */
.bundles-cta {
  text-align: center;
  padding: 40px;
  background: linear-gradient(135deg, rgba(0, 255, 136, 0.1), rgba(0, 102, 255, 0.1));
  border-radius: 20px;
  border: 1px solid var(--primary-color);
}

.bundles-note {
  font-size: var(--font-size-lg);
  color: var(--text-secondary);
  margin-bottom: 25px;
  line-height: var(--line-height-normal);
}

.bundles-note strong {
  color: var(--primary-color);
}

.btn-large {
  padding: 15px 40px;
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);
}

/* Responsive Design for Bundles */
@media (max-width: 1024px) {
  .bundles-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
  }
  
  .bundle-card.featured {
    transform: none;
  }
}

@media (max-width: 768px) {
  .bundles-section {
    padding: 60px 0;
  }
  
  .bundles-header .section-title {
    font-size: var(--font-size-3xl);
  }
  
  .bundles-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .bundle-card {
    padding: 30px 20px;
  }
  
  .bundle-title {
    font-size: var(--font-size-xl);
  }
  
  .bundle-price {
    font-size: var(--font-size-2xl);
  }
  
  .addon-section {
    padding: 30px 20px;
    margin: 40px 0;
  }
  
  .addon-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .bundles-cta {
    padding: 30px 20px;
  }
  
  .bundles-note {
    font-size: var(--font-size-base);
  }
  
  .btn-large {
    padding: 12px 30px;
    font-size: var(--font-size-base);
  }
}

@media (max-width: 480px) {
  .bundles-header .section-title {
    font-size: var(--font-size-2xl);
  }
  
  .bundle-badge {
    top: 15px;
    right: 15px;
    padding: 6px 12px;
    font-size: 10px;
  }
  
  .bundle-card {
    padding: 25px 15px;
  }
}
/* Contact Page Layout Fixes (Overrides) */
.contact-grid {
  grid-template-columns: 1.3fr 1fr;
  gap: 2rem;
  grid-auto-rows: minmax(0, auto);
}

.contact-grid > * {
  min-width: 0;
}

.contact-form-container {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  box-shadow: var(--shadow-md);
}

.contact-info {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  box-shadow: var(--shadow-md);
}

.contact-section .form-row {
  gap: 1.25rem 1.5rem;
  margin-bottom: 1.25rem;
}

.contact-section .form-group {
  margin-bottom: 1.25rem;
}

.contact-section .form-group input,
.contact-section .form-group select,
.contact-section .form-group textarea {
  line-height: 1.4;
  width: 100%;
  box-sizing: border-box;
}

.contact-section .btn.btn-full {
  width: 100%;
  padding: 16px;
  font-size: 1.05rem;
}

.contact-method {
  gap: 12px;
}

.contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--bg-dark);
}

.contact-details {
  display: flex;
  flex-direction: column;
}

.contact-details h3 {
  margin: 0 0 6px;
}

.contact-details p {
  margin: 2px 0;
  color: var(--text-secondary);
}

@media (min-width: 1200px) {
  .contact-form-container {
    max-width: 780px;
    justify-self: start;
    width: 100%;
  }
}

/* Cross-browser form control normalization (Safari/Firefox/Edge) */
.contact-section input[type="text"],
.contact-section input[type="email"],
.contact-section input[type="tel"],
.contact-section select,
.contact-section textarea {
  -webkit-appearance: none;
  appearance: none;
  background-clip: padding-box;
  border-radius: 10px;
  font-size: 16px;
  padding: 12px 14px;
}

/* Comfortable control height for inputs/selects, leave textarea flexible */
.contact-section input[type="text"],
.contact-section input[type="email"],
.contact-section input[type="tel"],
.contact-section select {
  min-height: 44px;
  height: auto;
}

/* Consistent select dropdown arrow across browsers */
.contact-section select {
  -webkit-appearance: menulist;
  appearance: auto;
  background-image: none;
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 12px;
  line-height: normal;
  height: auto;
}

/* Prevent text overflow issues with long labels/options */
.contact-section .checkbox-group-container .checkbox-label,
.contact-method .contact-details p {
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* Ensure form groups align properly within grid */
.contact-section .form-group {
  align-self: start;
}

/* Normalize control display to avoid baseline alignment differences */
.contact-section input,
.contact-section select,
.contact-section textarea {
  display: block;
}

/* Safari-only: revert to native select for reliable rendering */
@supports (-webkit-touch-callout: none) {
  .contact-section select {
    -webkit-appearance: menulist;
    appearance: auto;
    background-image: none !important;
    padding-right: 14px;
    line-height: normal;
    min-height: 44px;
    height: auto;
  }

  /* Safari-only: use flexbox for form rows to avoid grid quirks */
  .contact-section .form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
  }
  .contact-section .form-row .form-group {
    flex: 1 1 320px;
  }
}

/* Align form rows to start to avoid baseline issues across browsers */
.contact-section .form-row {
  align-items: start;
}
/* Safari Rendering Fixes: inputs/selects and grid alignment */
.contact-grid {
  align-items: start;
}

/* Inputs: keep comfortable height without forcing fixed height */
.contact-section input[type="text"],
.contact-section input[type="email"],
.contact-section input[type="tel"] {
  min-height: 44px;
  height: auto;
  line-height: 1.3;
  padding-block: 12px;
}

/* Select: avoid fixed height; use native metrics for Safari */
.contact-section select {
  height: auto;
  min-height: 40px;
  padding-block: 10px;
  line-height: normal;
}

/* Safari-only: ensure native select and natural height */
@supports (-webkit-touch-callout: none) {
  .contact-section select {
    -webkit-appearance: menulist;
    appearance: auto;
    background-image: none !important;
    height: auto !important;
    min-height: 40px !important;
    padding-block: 10px !important;
  }
}

/* Form rows: enforce row flow and top alignment across browsers */
.contact-section .form-row {
  grid-auto-flow: row;
  align-items: start;
}
/* Final Scoped Overrides: stabilize Safari layout and reduce conflicts */
.contact-section .form-row {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.contact-section .form-group > * {
  max-width: 100%;
}

.contact-section .form-group input,
.contact-section .form-group select,
.contact-section .form-group textarea {
  font: inherit;
  line-height: 1.4;
  padding: 12px 14px;
  height: auto;
}

.contact-section .form-group textarea {
  min-height: 160px;
}

.contact-section select {
  -webkit-appearance: menulist;
  appearance: auto;
  background-image: none !important;
  padding-right: 12px;
}
/* Cross-Platform Compatibility Utilities (Non-destructive) */
/* Allow grid children to shrink to prevent overflow across devices */
.services-grid > *,
.portfolio-grid > *,
.benefits-grid > *,
.stats-grid > *,
.contact-grid > *,
.testimonials-grid > *,
.values-grid > *,
.reasons-grid > *,
.team-grid > *,
.bundles-grid > *,
.addon-grid > *,
.features-grid > *,
.results-grid > *,
.related-grid > *,
.value-grid > * {
  min-width: 0;
}

/* Images: prevent layout shift by limiting overflow while preserving style */
img,
video {
  max-width: 100%;
  height: auto;
}

/* Long text: wrap gracefully across browsers */
.wrap-anywhere {
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* Touch-friendly controls: increase tap target without altering visuals */
button,
input[type="button"],
input[type="submit"],
input[type="reset"] {
  min-height: 44px;
}

/* Prevent accidental horizontal scroll from nested grids */
.container,
.section,
.contact-section,
main {
  overflow-x: hidden;
}