/* Arabic-optimized CSS for Devsterra Static Site */

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

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

body {
  font-family: 'Cairo', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: #1a1a1a;
  background-color: #ffffff;
  direction: rtl;
  text-align: right;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: 3.5rem;
  font-weight: 800;
}

h2 {
  font-size: 2.5rem;
  font-weight: 700;
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
}

p {
  margin-bottom: 1rem;
  color: #666;
}

/* Container */
.container {
  max-width: 100%;
  margin: 0;
  padding: 0 2rem;
  width: 100%;
}

/* Skip Link for Accessibility */
.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: #000;
  color: #fff;
  padding: 8px;
  text-decoration: none;
  z-index: 1000;
  border-radius: 4px;
}

.skip-link:focus {
  top: 6px;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #e5e7eb;
  width: 100%;
  margin: 0;
  padding: 0;
}

.header-content {
  display: flex;
  align-items: center;
  gap: 3rem;
  height: 5rem;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: #1a1a1a;
  font-weight: 700;
  font-size: 1.125rem;
  padding: 0 1rem;
}

.logo-icon {
  width: 1.5rem;
  height: 1.5rem;
  background: linear-gradient(135deg, #3b82f6, #60a5fa);
  border-radius: 0.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 0.75rem;
}

.logo-text {
  background: linear-gradient(135deg, #3b82f6, #60a5fa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Navigation */
.nav-desktop {
  display: flex;
  align-items: center;
  gap: 8rem;
  padding: 0 1rem;
}

.nav-link {
  text-decoration: none;
  color: #6b7280;
  font-weight: 500;
  font-size: 0.9rem;
  transition: color 0.2s;
  position: relative;
  padding: 0.5rem 0.75rem;
  border-radius: 0.25rem;
}

.nav-link:hover,
.nav-link.active {
  color: #3b82f6;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  right: 0;
  height: 2px;
  background: #3b82f6;
  border-radius: 1px;
}

/* Mobile Menu */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 0.2rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem 1rem;
}

.mobile-menu-toggle span {
  width: 20px;
  height: 2px;
  background: #1a1a1a;
  transition: all 0.3s;
}

.mobile-menu {
  display: none;
  padding: 1rem 0;
  border-top: 1px solid #e5e7eb;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mobile-nav-link {
  text-decoration: none;
  color: #6b7280;
  font-weight: 500;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  transition: all 0.2s;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: #3b82f6;
  background: rgba(96, 165, 250, 0.1);
}

/* Main Content */
.main {
  margin-top: 4rem;
  min-height: calc(100vh - 4rem);
}

/* Hero Section - Unified Style */
.hero,
.work-hero,
.about-hero,
.contact-hero,
.blog-hero,
.project-hero,
.services-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1e40af 0%, #3b82f6 50%, #60a5fa 100%);
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 4rem 0;
}

/* Hero Background Overlay for Better Text Visibility */
.hero::before,
.work-hero::before,
.about-hero::before,
.contact-hero::before,
.blog-hero::before,
.project-hero::before,
.services-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.hero::before {
  content: '';
  position: absolute;
  top: 5rem;
  right: 2.5rem;
  width: 18rem;
  height: 18rem;
  background: rgba(96, 165, 250, 0.1);
  border-radius: 50%;
  filter: blur(3rem);
  animation: pulse 4s ease-in-out infinite;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 5rem;
  left: 2.5rem;
  width: 24rem;
  height: 24rem;
  background: rgba(59, 130, 246, 0.1);
  border-radius: 50%;
  filter: blur(3rem);
  animation: pulse 4s ease-in-out infinite 1s;
}

@keyframes pulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.6; }
}

.hero-content {
  text-align: center;
  max-width: 50rem;
  margin: 0 auto;
  position: relative;
  z-index: 10;
}

/* Hero Content Container */
.hero .container,
.work-hero .container,
.about-hero .container,
.contact-hero .container,
.blog-hero .container,
.project-hero .container,
.services-hero .container {
  position: relative;
  z-index: 10;
}

/* Hero Title and Subtitle Specific Styles */
.hero-title,
.hero-subtitle {
  color: white !important;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.hero-title .gradient-text {
  color: white !important;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

/* Hero Stats */
.hero-stats {
  position: relative;
  z-index: 10;
}

.hero-stats .stat {
  color: white !important;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

.hero-stats .stat-number {
  color: white !important;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
  font-weight: 800 !important;
  font-size: 2.5rem !important;
}

.hero-stats .stat-label {
  color: white !important;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
  font-weight: 500 !important;
}

/* Hero Actions */
.hero-actions {
  position: relative;
  z-index: 10;
}

.hero-actions .btn {
  position: relative;
  z-index: 10;
}

/* Specific Hero Elements Override - ALL TEXT WHITE */
.hero *,
.hero h1,
.hero h2,
.hero h3,
.hero h4,
.hero h5,
.hero h6,
.hero p,
.hero span,
.hero div,
.hero a,
.hero .hero-content,
.hero .hero-content h1,
.hero .hero-content .hero-title,
.hero .hero-content .hero-subtitle,
.hero .hero-content p,
.hero .hero-content span,
.hero .hero-content div,
.hero .hero-content a,
.hero .gradient-text,
.hero .hero-stats,
.hero .hero-stats .stat,
.hero .hero-stats .stat-number,
.hero .hero-stats .stat-label,
.hero .hero-stats span,
.hero .hero-stats div,
.hero .hero-actions,
.hero .hero-actions .btn,
.hero .hero-actions span,
.hero .hero-actions div {
  color: white !important;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

/* Force all numbers in hero to be white */
.hero .stat-number,
.hero .hero-stats .stat-number,
.hero .hero-stats .stat .stat-number {
  color: white !important;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8) !important;
  font-weight: 800 !important;
  font-size: 2.5rem !important;
}

/* Additional override for any remaining numbers */
.hero .stat .stat-number,
.hero .hero-stats .stat .stat-number,
.hero .hero-stats .stat-number {
  color: white !important;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8) !important;
  font-weight: 800 !important;
  font-size: 2.5rem !important;
}

/* Ultra-specific override for hero stats numbers */
.hero .hero-stats .stat .stat-number {
  color: white !important;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8) !important;
  font-weight: 800 !important;
  font-size: 2.5rem !important;
}

/* Force override any inherited styles */
.hero .hero-stats .stat .stat-number,
.hero .hero-stats .stat-number {
  color: white !important;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8) !important;
  font-weight: 800 !important;
  font-size: 2.5rem !important;
}

/* Override any gradient or other color styles */
.hero .gradient-text {
  background: none !important;
  -webkit-background-clip: unset !important;
  -webkit-text-fill-color: white !important;
  background-clip: unset !important;
  color: white !important;
}

/* ALL HERO SECTIONS - ALL TEXT WHITE */
.work-hero *,
.about-hero *,
.contact-hero *,
.blog-hero *,
.project-hero *,
.services-hero * {
  color: white !important;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

/* Force all numbers in all hero sections to be white */
.work-hero .stat-number,
.about-hero .stat-number,
.contact-hero .stat-number,
.blog-hero .stat-number,
.project-hero .stat-number,
.services-hero .stat-number,
.work-hero .hero-stats .stat-number,
.about-hero .hero-stats .stat-number,
.contact-hero .hero-stats .stat-number,
.blog-hero .hero-stats .stat-number,
.project-hero .hero-stats .stat-number,
.services-hero .hero-stats .stat-number {
  color: white !important;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8) !important;
  font-weight: 800 !important;
  font-size: 2.5rem !important;
}

/* Override gradients in all hero sections */
.work-hero .gradient-text,
.about-hero .gradient-text,
.contact-hero .gradient-text,
.blog-hero .gradient-text,
.project-hero .gradient-text,
.services-hero .gradient-text {
  background: none !important;
  -webkit-background-clip: unset !important;
  -webkit-text-fill-color: white !important;
  background-clip: unset !important;
  color: white !important;
}

/* Button text in hero sections */
.hero .btn,
.work-hero .btn,
.about-hero .btn,
.contact-hero .btn,
.blog-hero .btn,
.project-hero .btn,
.services-hero .btn {
  color: white !important;
}

.hero .btn-outline,
.work-hero .btn-outline,
.about-hero .btn-outline,
.contact-hero .btn-outline,
.blog-hero .btn-outline,
.project-hero .btn-outline,
.services-hero .btn-outline {
  color: white !important;
  border-color: white !important;
}

/* Unified Hero Titles */
.hero h1,
.work-hero h1,
.about-hero h1,
.contact-hero h1,
.blog-hero h1,
.project-hero h1,
.services-hero h1 {
  font-size: 4rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  color: white !important;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  position: relative;
  z-index: 10;
}

/* Unified Hero Subtitles */
.hero p,
.work-hero p,
.about-hero p,
.contact-hero p,
.blog-hero p,
.project-hero p,
.services-hero p {
  font-size: 1.5rem;
  color: white !important;
  margin-bottom: 3rem;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
  position: relative;
  z-index: 10;
}

.hero-title {
  font-size: 4rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.gradient-text {
  background: linear-gradient(135deg, #3b82f6, #60a5fa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.5rem;
  color: #6b7280;
  margin-bottom: 3rem;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
  margin-bottom: 4rem;
}

@media (min-width: 640px) {
  .hero-actions {
    flex-direction: row;
    justify-content: center;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  border: 2px solid transparent;
  cursor: pointer;
  font-size: 1rem;
}

.btn-primary {
  background: linear-gradient(135deg, #3b82f6, #60a5fa);
  color: white;
  box-shadow: 0 4px 14px 0 rgba(0, 191, 255, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px 0 rgba(0, 191, 255, 0.4);
}

.btn-outline {
  background: transparent;
  color: #1a1a1a;
  border-color: #d1d5db;
}

.btn-outline:hover {
  background: #f9fafb;
  border-color: #3b82f6;
  color: #3b82f6;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

.btn-icon {
  transition: transform 0.2s;
}

.btn:hover .btn-icon {
  transform: translateX(4px);
}

/* Hero Stats */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 32rem;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .hero-stats {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat {
  text-align: center;
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: white !important;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8) !important;
  background: none !important;
  -webkit-background-clip: unset !important;
  -webkit-text-fill-color: white !important;
  background-clip: unset !important;
  margin-bottom: 0.25rem;
}

@media (min-width: 768px) {
  .stat-number {
    font-size: 2.5rem;
  }
}

.stat-label {
  font-size: 0.875rem;
  color: #6b7280;
}

/* Section Styles */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.125rem;
  color: #6b7280;
  max-width: 48rem;
  margin: 0 auto;
}

/* Services Section */
.services {
  padding: 6rem 0;
  background: #ffffff;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.service-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  padding: 2rem;
  transition: all 0.3s;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 191, 255, 0.5);
}

.service-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: transform 0.3s;
}

.service-icon.web {
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
}

.service-icon.mobile {
  background: linear-gradient(135deg, #10b981, #059669);
}

.service-icon.desktop {
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.service-icon.automation {
  background: linear-gradient(135deg, #f59e0b, #d97706);
}

.service-card:hover .service-icon {
  transform: scale(1.1);
}

.service-icon svg {
  color: white;
}

.service-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #1a1a1a;
}

.service-description {
  color: #6b7280;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.service-features {
  list-style: none;
  margin-bottom: 2rem;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  color: #6b7280;
}

.service-features li::before {
  content: '✓';
  color: #3b82f6;
  font-weight: 600;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #3b82f6;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s;
}

.service-link:hover {
  gap: 0.75rem;
}

/* Why Choose Us Section */
.why-choose {
  padding: 6rem 0;
  background: #f8fafc;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

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

.feature-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s;
  height: 100%;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 191, 255, 0.5);
}

.feature-icon {
  width: 4rem;
  height: 4rem;
  background: linear-gradient(135deg, #3b82f6, #60a5fa);
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  transition: transform 0.3s;
}

.feature-card:hover .feature-icon {
  transform: scale(1.1);
}

.feature-icon svg {
  color: white;
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #1a1a1a;
}

.feature-description {
  color: #6b7280;
  line-height: 1.6;
}

/* Featured Work Section */
.featured-work {
  padding: 6rem 0;
  background: #ffffff;
}

.projects-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

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

.project-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  overflow: hidden;
  transition: all 0.3s;
  height: 100%;
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 191, 255, 0.5);
}

.project-image {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, rgba(96, 165, 250, 0.1), rgba(59, 130, 246, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

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

.project-icon {
  width: 4rem;
  height: 4rem;
  background: linear-gradient(135deg, #3b82f6, #60a5fa);
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.5rem;
  color: white;
  font-weight: 700;
  font-size: 1.25rem;
}

.project-placeholder p {
  font-size: 0.875rem;
  color: #6b7280;
}

.project-content {
  padding: 1.5rem;
}

.project-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: #1a1a1a;
}

.project-description {
  color: #6b7280;
  margin-bottom: 1rem;
  line-height: 1.6;
  font-size: 0.875rem;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.tech-tag {
  background: #f3f4f6;
  border: 1px solid #d1d5db;
  border-radius: 0.375rem;
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem;
  color: #374151;
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #3b82f6;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s;
  width: 100%;
  justify-content: center;
  padding: 0.75rem;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
}

.project-link:hover {
  background: #f8fafc;
  border-color: #3b82f6;
  gap: 0.75rem;
}

/* Testimonials Section */
.testimonials {
  padding: 6rem 0;
  background: #f8fafc;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

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

.testimonial-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  padding: 2rem;
  transition: all 0.3s;
  height: 100%;
}

.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 191, 255, 0.5);
}

.testimonial-quote {
  margin-bottom: 1.5rem;
}

.testimonial-quote svg {
  color: #3b82f6;
}

.testimonial-content {
  color: #6b7280;
  margin-bottom: 2rem;
  line-height: 1.6;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.author-info h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: #1a1a1a;
}

.author-role {
  font-size: 0.875rem;
  color: #3b82f6;
  margin-bottom: 0.25rem;
}

.author-company {
  font-size: 0.75rem;
  color: #6b7280;
}

.testimonial-rating {
  display: flex;
  gap: 0.25rem;
}

.testimonial-rating svg {
  color: #fbbf24;
}

/* Final CTA Section */
.final-cta {
  padding: 6rem 0;
  background: linear-gradient(135deg, rgba(0, 191, 255, 0.05), rgba(138, 43, 226, 0.05));
}

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

.cta-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #1a1a1a;
}

.cta-subtitle {
  font-size: 1.125rem;
  color: #6b7280;
  margin-bottom: 2rem;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

@media (min-width: 640px) {
  .cta-actions {
    flex-direction: row;
    justify-content: center;
  }
}

/* Footer */
.footer {
  background: #1a1a1a;
  color: #ffffff;
  padding: 4rem 0 2rem;
  width: 100%;
  margin: 0;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
  width: 100%;
}

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

.footer-section h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #ffffff;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer-logo .logo-icon {
  width: 1.5rem;
  height: 1.5rem;
  background: linear-gradient(135deg, #3b82f6, #60a5fa);
  border-radius: 0.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 0.75rem;
}

.footer-logo .logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  background: linear-gradient(135deg, #3b82f6, #60a5fa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-description {
  color: #9ca3af;
  line-height: 1.6;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: #9ca3af;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #3b82f6;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.contact-item svg {
  color: #3b82f6;
  flex-shrink: 0;
}

.contact-item a {
  color: #9ca3af;
  text-decoration: none;
  transition: color 0.2s;
}

.contact-item a:hover {
  color: #3b82f6;
}

.footer-bottom {
  border-top: 1px solid #374151;
  padding-top: 2rem;
  text-align: center;
  width: 100%;
}

.footer-copyright {
  color: #9ca3af;
  font-size: 0.875rem;
}

/* Footer Full Width */
@media (min-width: 1200px) {
  .footer .container {
    max-width: 100%;
    padding: 0 2rem;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: flex;
  }
  
  .nav-desktop {
    display: none;
  }
  
  .mobile-menu.active {
    display: block;
  }
  
  .header-content {
    padding: 0;
    gap: 1rem;
  }
  
  /* Unified Hero Responsive */
  .hero h1,
  .work-hero h1,
  .about-hero h1,
  .contact-hero h1,
  .blog-hero h1,
  .project-hero h1,
  .services-hero h1 {
    font-size: 2.5rem;
  }
  
  .hero p,
  .work-hero p,
  .about-hero p,
  .contact-hero p,
  .blog-hero p,
  .project-hero p,
  .services-hero p {
    font-size: 1.25rem;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.25rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .container {
    padding: 0 1rem;
  }
}

@media (max-width: 480px) {
  .header-content {
    padding: 0;
    gap: 0.5rem;
    height: 4rem;
  }
  
  /* Unified Hero Small Screens */
  .hero h1,
  .work-hero h1,
  .about-hero h1,
  .contact-hero h1,
  .blog-hero h1,
  .project-hero h1,
  .services-hero h1 {
    font-size: 2rem;
  }
  
  .hero p,
  .work-hero p,
  .about-hero p,
  .contact-hero p,
  .blog-hero p,
  .project-hero p,
  .services-hero p {
    font-size: 1.125rem;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1.125rem;
  }
  
  .btn-lg {
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
  }
}

/* Additional Styles for Services Page */
.service-technologies {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e5e7eb;
}

.service-technologies h4 {
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: #374151;
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tech-tag {
  background: #f3f4f6;
  border: 1px solid #d1d5db;
  border-radius: 0.375rem;
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem;
  color: #374151;
  transition: all 0.2s;
}

.tech-tag:hover {
  background: #e5e7eb;
  border-color: #9ca3af;
}

/* Process Section */
.process {
  padding: 6rem 0;
  background: #f8fafc;
}

.process-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  max-width: 48rem;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .process-steps {
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
  }
}

.process-step {
  text-align: center;
  position: relative;
}

.step-number {
  width: 3rem;
  height: 3rem;
  background: linear-gradient(135deg, #3b82f6, #60a5fa);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 1.25rem;
  margin: 0 auto 1.5rem;
  position: relative;
  z-index: 2;
}

.process-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 1.5rem;
  left: 50%;
  width: 100%;
  height: 2px;
  background: #e5e7eb;
  z-index: 1;
}

@media (min-width: 1024px) {
  .process-step:not(:last-child)::after {
    display: none;
  }
}

.step-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #1a1a1a;
}

.step-description {
  color: #6b7280;
  line-height: 1.6;
  font-size: 0.875rem;
}

/* Work Page Styles */
.work-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

.filter-btn {
  padding: 0.75rem 1.5rem;
  border: 2px solid #e5e7eb;
  background: white;
  color: #6b7280;
  border-radius: 0.5rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.filter-btn:hover,
.filter-btn.active {
  border-color: #3b82f6;
  color: #3b82f6;
  background: rgba(0, 191, 255, 0.05);
}

/* About Page Styles */
.about-hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
  padding: 6rem 0;
}

@media (min-width: 1024px) {
  .about-hero {
    grid-template-columns: 1fr 1fr;
  }
}

.about-content h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.about-content p {
  font-size: 1.125rem;
  margin-bottom: 2rem;
}

.about-image {
  background: linear-gradient(135deg, rgba(96, 165, 250, 0.1), rgba(59, 130, 246, 0.1));
  border-radius: 1rem;
  height: 24rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.about-image-placeholder {
  width: 6rem;
  height: 6rem;
  background: linear-gradient(135deg, #3b82f6, #60a5fa);
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

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

@media (min-width: 1024px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

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

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: white !important;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8) !important;
  background: none !important;
  -webkit-background-clip: unset !important;
  -webkit-text-fill-color: white !important;
  background-clip: unset !important;
  margin-bottom: 0.5rem;
}

.stat-label {
  color: #6b7280;
  font-size: 0.875rem;
}

.values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding: 6rem 0;
}

@media (min-width: 768px) {
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .values-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.value-card {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s;
  height: 100%;
}

.value-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 191, 255, 0.5);
}

.value-icon {
  width: 4rem;
  height: 4rem;
  background: linear-gradient(135deg, #3b82f6, #60a5fa);
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  transition: transform 0.3s;
}

.value-card:hover .value-icon {
  transform: scale(1.1);
}

.value-icon svg {
  color: white;
}

.value-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #1a1a1a;
}

.value-description {
  color: #6b7280;
  line-height: 1.6;
  font-size: 0.875rem;
}

/* Contact Page Styles */
.contact-hero {
  padding: 6rem 0;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  padding: 6rem 0;
}

@media (min-width: 1024px) {
  .contact-content {
    grid-template-columns: 1fr 2fr;
  }
}

.contact-info-section h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-info-card {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  padding: 1.5rem;
  transition: all 0.3s;
}

.contact-info-card:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  border-color: rgba(0, 191, 255, 0.5);
}

.contact-info-card .icon {
  width: 3rem;
  height: 3rem;
  background: linear-gradient(135deg, #3b82f6, #60a5fa);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.contact-info-card .icon svg {
  color: white;
}

.contact-info-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #1a1a1a;
}

.contact-info-card a {
  color: #6b7280;
  text-decoration: none;
  transition: color 0.2s;
}

.contact-info-card a:hover {
  color: #3b82f6;
}

.contact-form-section {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-weight: 500;
  color: #374151;
}

.form-group input,
.form-group textarea {
  padding: 0.75rem;
  border: 2px solid #e5e7eb;
  border-radius: 0.5rem;
  font-size: 1rem;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #3b82f6;
}

.form-group textarea {
  min-height: 8rem;
  resize: vertical;
}

.faq-section {
  padding: 6rem 0;
  background: #f8fafc;
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 48rem;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .faq-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.faq-item {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  padding: 1.5rem;
  transition: all 0.3s;
}

.faq-item:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  border-color: rgba(0, 191, 255, 0.5);
}

.faq-question {
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: #1a1a1a;
}

.faq-answer {
  color: #6b7280;
  line-height: 1.6;
  font-size: 0.875rem;
}

/* Blog Page Styles */
.blog-hero {
  padding: 6rem 0;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.blog-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

.blog-search {
  position: relative;
  max-width: 24rem;
  margin: 0 auto 2rem;
}

.blog-search input {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 3rem;
  border: 2px solid #e5e7eb;
  border-radius: 0.5rem;
  font-size: 1rem;
}

.blog-search .search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #6b7280;
}

.blog-posts {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding: 6rem 0;
}

@media (min-width: 768px) {
  .blog-posts {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.blog-post-card {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  overflow: hidden;
  transition: all 0.3s;
  height: 100%;
}

.blog-post-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 191, 255, 0.5);
}

.blog-post-image {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, rgba(96, 165, 250, 0.1), rgba(59, 130, 246, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.blog-post-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: #f3f4f6;
  border: 1px solid #d1d5db;
  border-radius: 0.375rem;
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem;
  color: #374151;
}

.blog-post-featured {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: #3b82f6;
  color: white;
  border-radius: 0.375rem;
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
}

.blog-post-content {
  padding: 1.5rem;
}

.blog-post-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: #1a1a1a;
  line-height: 1.4;
}

.blog-post-excerpt {
  color: #6b7280;
  margin-bottom: 1rem;
  line-height: 1.6;
  font-size: 0.875rem;
}

.blog-post-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  font-size: 0.75rem;
  color: #6b7280;
}

.blog-post-author,
.blog-post-date {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.blog-post-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #3b82f6;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s;
  width: 100%;
  justify-content: center;
  padding: 0.75rem;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
}

.blog-post-link:hover {
  background: #f8fafc;
  border-color: #3b82f6;
  gap: 0.75rem;
}

.newsletter-section {
  padding: 6rem 0;
  background: #f8fafc;
}

.newsletter-content {
  text-align: center;
  max-width: 32rem;
  margin: 0 auto;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 24rem;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .newsletter-form {
    flex-direction: row;
  }
}

.newsletter-form input {
  flex: 1;
  padding: 0.75rem 1rem;
  border: 2px solid #e5e7eb;
  border-radius: 0.5rem;
  font-size: 1rem;
}

.newsletter-form input:focus {
  outline: none;
  border-color: #3b82f6;
}

.newsletter-form button {
  padding: 0.75rem 2rem;
  background: linear-gradient(135deg, #3b82f6, #60a5fa);
  color: white;
  border: none;
  border-radius: 0.5rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.newsletter-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px 0 rgba(0, 191, 255, 0.4);
}

/* Print Styles */
@media print {
  .header,
  .footer,
  .btn {
    display: none;
  }
  
  .main {
    margin-top: 0;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.4;
  }
  
  h1, h2, h3 {
    page-break-after: avoid;
  }
}

/* ULTIMATE FIX FOR HERO STATS NUMBERS */
.hero .stat-number,
.hero .hero-stats .stat-number,
.hero .hero-stats .stat .stat-number,
.hero .stat .stat-number {
  color: white !important;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8) !important;
  font-weight: 800 !important;
  font-size: 2.5rem !important;
  background: none !important;
  -webkit-background-clip: unset !important;
  -webkit-text-fill-color: white !important;
  background-clip: unset !important;
}

/* Force override for all stat numbers */
.stat-number {
  color: white !important;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8) !important;
  background: none !important;
  -webkit-background-clip: unset !important;
  -webkit-text-fill-color: white !important;
  background-clip: unset !important;
}
