/* Modern Index Page Styles - Mobile Optimized */

/* CSS Custom Properties for Dynamic Viewport */
:root {
  --vh: 1vh;
  --primary-color: #1E3A8A;
  --primary-light: #3B82F6;
  --primary-dark: #1E40AF;
  --text-dark: #1f2937;
  --text-light: #6b7280;
  --border-radius: 12px;
  --border-radius-lg: 16px;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  --navbar-height: 60px; /* Navbar yüksekliği */
}

/* Hero Section - Mobile First */
.hero-section {
  position: relative;
  height: 100svh;           /* modern mobile-safe */
  min-height: calc(var(--vh, 1vh) * 100); /* fallback */
  padding: 0;
  margin: 0;
  overflow: hidden;
  background: #000;         /* black matte behind video */
}

.hero-video-container {
  position: absolute; inset: 0;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;        /* fill without letterboxing */
  object-position: center;
}


/* Hero overlay - completely removed */
.hero-overlay {
  display: none !important;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  text-align: center;
  padding: 0 1rem;
  /* Avoid big top margins here; keep copy concise to prevent overflow */
}


/* Grid pattern overlay - disabled on mobile for performance */
.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0;
  z-index: 2;
  transition: opacity 0.3s ease;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 200;
  animation: bounce 2s infinite;
}

/* Typography - Fluid and Mobile-First */
.hero-title {
  margin-bottom: 1.5rem;
  animation: fadeInUp 1s ease-out;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
  color: white !important;
  position: relative;
  z-index: 100;
}

.company-name {
  color: white !important;
  -webkit-text-fill-color: white !important;
  background: none !important;
  text-shadow: 
    0 2px 4px rgba(0, 0, 0, 0.8),
    0 4px 8px rgba(0, 0, 0, 0.6) !important;
  display: block;
  font-size: clamp(2rem, 8vw, 4rem);
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.1;
}

.hero-subtitle {
  display: block;
  font-size: clamp(1.1rem, 4vw, 1.8rem);
  font-weight: 500;
  opacity: 0.95;
  text-shadow: 
    0 2px 4px rgba(0, 0, 0, 0.8),
    0 4px 8px rgba(0, 0, 0, 0.6);
  margin-bottom: 1rem;
  color: white !important;
  line-height: 1.3;
}

.hero-description {
  font-size: clamp(1rem, 3vw, 1.3rem);
  margin-bottom: 2rem;
  opacity: 0.95;
  line-height: 1.6;
  text-shadow: 
    0 2px 4px rgba(0, 0, 0, 0.8),
    0 4px 8px rgba(0, 0, 0, 0.6);
  animation: fadeInUp 1s ease-out 0.2s both;
  max-width: 90%;
  margin-left: auto;
  margin-right: auto;
  color: white !important;
}

/* --- THIN STATS BAR (bottom of hero) --- */
.hero-stats {
  position: relative;
  margin-top: 10rem;                /* adjust this to move it lower/higher */
  left: 50%;
  transform: translateX(-50%);     /* hard-center horizontally */
  display: inline-block;           /* hug content width */
  border-top: 1px solid rgba(255,255,255,0.4);
  background: rgba(0,0,0,0.4);
  padding: 0.75rem 1rem;
  border-radius: 8px;
}

/* FROM HERE */

@media (max-width: 576px) {
  .hero-stats {
    margin-top: 18vh;         /* ~18% of viewport height */
  }
}

@media (max-width: 576px) {
  .hero-title {
    margin-top: 8vh;   /* ~8% of viewport height */
  }
  .hero-subtitle {
    margin-top: 2vh;
  }
}

/* TO HERE */

.stats-inline {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
}

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

.stat-number {
  font-size: clamp(1rem, 3vw, 1.3rem);
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: clamp(0.7rem, 2vw, 0.9rem);
  color: rgba(255,255,255,0.85);
}

.stat-divider {
  width: 1px;
  height: 25px;
  background: rgba(255,255,255,0.5);
}

/* Button Styles - Mobile Optimized */
.btn-primary, .hero-btn {
  background: linear-gradient(135deg, #1E3A8A, #3B82F6);
  border: none;
  color: white;
  padding: 1rem 2rem;
  font-weight: 600;
  border-radius: var(--border-radius);
  transition: all 0.3s ease;
  text-decoration: none;
  min-width: 200px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  font-size: clamp(0.9rem, 3vw, 1rem);
  display: inline-block;
  text-align: center;
}

/* Touch-friendly hover effects */
@media (hover: hover) {
  .btn-primary:hover, .hero-btn:hover {
    background: linear-gradient(135deg, #1E40AF, #60A5FA);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  }
}

@media (hover: none) {
  .btn-primary:active, .hero-btn:active {
    background: linear-gradient(135deg, #1E40AF, #60A5FA);
    transform: translateY(-1px);
  }
}

.btn-outline-primary {
  border: 2px solid #3B82F6;
  color: #3B82F6;
  background: transparent;
  padding: 1rem 2rem;
  font-weight: 600;
  border-radius: var(--border-radius);
  transition: all 0.3s ease;
  font-size: clamp(0.9rem, 3vw, 1rem);
  min-width: 200px;
  display: inline-block;
  text-align: center;
}

@media (hover: hover) {
  .btn-outline-primary:hover {
    background: #3B82F6;
    color: white;
    transform: translateY(-2px);
  }
}

/* Key Numbers Section */
.key-numbers-section {
  background: linear-gradient(135deg, #f8fafc, #e2e8f0);
  padding: 4rem 0;
}

.number-card {
  background: white;
  padding: 2rem 1.5rem;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  text-align: center;
  transition: all 0.3s ease;
  height: 100%;
  border: 1px solid transparent;
}

@media (hover: hover) {
  .number-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
  }
}

.number-icon {
  width: clamp(60px, 15vw, 80px);
  height: clamp(60px, 15vw, 80px);
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: white;
  font-size: clamp(1.5rem, 4vw, 2rem);
  transition: all 0.3s ease;
}

@media (hover: hover) {
  .number-card:hover .number-icon {
    transform: scale(1.1);
  }
}

.number-value {
  font-size: clamp(2rem, 8vw, 3rem);
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1rem;
  line-height: 1;
}

.number-label {
  font-size: clamp(1rem, 3vw, 1.2rem);
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.number-description {
  color: var(--text-light);
  font-size: clamp(0.9rem, 2.5vw, 0.95rem);
  line-height: 1.5;
}

/* Company Introduction Section */
.company-intro-section {
  padding: 4rem 0;
  background: white;
}

.section-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: 25px;
  font-size: clamp(0.8rem, 2vw, 0.9rem);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
}

.section-title {
  font-size: clamp(1.8rem, 6vw, 2.8rem);
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.section-description, .section-subtitle {
  font-size: clamp(1rem, 3vw, 1.2rem);
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.intro-features {
  margin-bottom: 2rem;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, #f8fafc, #f1f5f9);
  border-radius: var(--border-radius-lg);
  border: 1px solid #e2e8f0;
  transition: all 0.3s ease;
}

@media (hover: hover) {
  .feature-item:hover {
    transform: translateX(10px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
  }
}

.feature-icon {
  width: clamp(50px, 12vw, 60px);
  height: clamp(50px, 12vw, 60px);
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  border-radius: var(--border-radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: clamp(1.2rem, 3vw, 1.5rem);
  margin-right: 1rem;
  flex-shrink: 0;
}

.feature-content h5 {
  color: var(--text-dark);
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: clamp(1rem, 3vw, 1.1rem);
}

.feature-content p {
  color: var(--text-light);
  margin: 0;
  line-height: 1.6;
  font-size: clamp(0.9rem, 2.5vw, 1rem);
}

.intro-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.intro-buttons .btn {
  padding: 1rem 2rem;
  font-weight: 600;
  border-radius: var(--border-radius);
  min-width: 200px;
  font-size: clamp(0.9rem, 3vw, 1rem);
}

/* Visual Grid - Mobile Optimized */
.intro-visual {
  position: relative;
  margin-top: 2rem;
}

.visual-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
}

.visual-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
}

@media (hover: hover) {
  .visual-item:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-xl);
  }
}

.visual-1 {
  height: 180px;
}

.visual-2, .visual-3 {
  height: 150px;
}

.visual-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.visual-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: white;
  padding: 1rem;
  font-size: clamp(0.8rem, 2vw, 0.9rem);
  font-weight: 600;
}

.visual-stats {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.visual-stat {
  background: var(--primary-color);
  color: white;
  padding: 1rem;
  border-radius: var(--border-radius);
  text-align: center;
}

.visual-stat .stat-number {
  display: block;
  font-size: clamp(1.2rem, 4vw, 1.5rem);
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.visual-stat .stat-text {
  font-size: clamp(0.7rem, 2vw, 0.8rem);
  opacity: 0.9;
}

/* Featured Projects Section */
.featured-projects-section {
  padding: 4rem 0;
  background: linear-gradient(135deg, #f8fafc, #e2e8f0);
}

.project-card {
  background: white;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: all 0.3s ease;
  height: 100%;
}

@media (hover: hover) {
  .project-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-xl);
  }
}

.project-image {
  position: relative;
  overflow: hidden;
  height: 200px;
}

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

@media (hover: hover) {
  .project-card:hover .project-image img {
    transform: scale(1.1);
  }
}

.project-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius);
  font-size: clamp(0.7rem, 2vw, 0.8rem);
  font-weight: 600;
  z-index: 2;
}

.project-content {
  padding: 1.5rem;
}

.project-title {
  font-size: clamp(1.1rem, 3vw, 1.3rem);
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.project-description {
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-size: clamp(0.9rem, 2.5vw, 1rem);
}

.project-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  justify-content: center;
}

.highlight {
  background: var(--primary-color);
  color: white;
  padding: 0.3rem 0.8rem;
  border-radius: var(--border-radius);
  font-size: clamp(0.7rem, 2vw, 0.8rem);
  font-weight: 600;
}

.project-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  font-size: clamp(0.9rem, 2.5vw, 1rem);
}

@media (hover: hover) {
  .project-link:hover {
    color: var(--primary-dark);
    transform: translateX(5px);
  }
}

/* Services Preview Section */
.services-preview-section {
  padding: 4rem 0;
  background: white;
}

.service-preview-card {
  background: white;
  padding: 2rem 1.5rem;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: all 0.3s ease;
  height: 100%;
  border: 1px solid #e2e8f0;
}

@media (hover: hover) {
  .service-preview-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
  }
}

.service-preview-card .service-icon {
  width: clamp(60px, 15vw, 70px);
  height: clamp(60px, 15vw, 70px);
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: white;
  font-size: clamp(1.5rem, 4vw, 1.8rem);
  transition: all 0.3s ease;
}

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

.service-preview-card .service-title {
  font-size: clamp(1rem, 3vw, 1.2rem);
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.service-preview-card .service-description {
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-size: clamp(0.9rem, 2.5vw, 1rem);
}

.service-preview-card .service-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  font-size: clamp(0.9rem, 2.5vw, 1rem);
}

@media (hover: hover) {
  .service-preview-card .service-link:hover {
    color: var(--primary-dark);
    transform: translateX(5px);
  }
}

/* Trusted By Section */
.trusted-by-section {
  padding: 4rem 0;
  background: linear-gradient(135deg, #f8fafc, #e2e8f0);
}

.client-logo {
  text-align: center;
  transition: all 0.3s ease;
}

@media (hover: hover) {
  .client-logo:hover {
    transform: translateY(-5px);
  }
}

/* Logo card with image + name */
.logo-box {
  background: #fff;
  padding: 0.75rem 0.75rem;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-sm);
  min-height: 100px;            /* gives room for img + name */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  border: 1px solid #e2e8f0;
  transition: all 0.3s ease;
}

.logo-img {
  max-height: 48px;             /* tune per your logos */
  max-width: 100%;
  width: auto;
  object-fit: contain;
  display: block;
}

.logo-name {
  font-weight: 600;
  color: var(--text-dark);
  font-size: clamp(0.75rem, 2vw, 0.9rem);
  line-height: 1;
}

/* Hover effect */
@media (hover: hover) {
  .client-logo:hover .logo-box {
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
    transform: translateY(-3px);
  }
}

/* Tighten on smaller screens */
@media (max-width: 576px) {
  .logo-box { min-height: 90px; padding: 0.6rem; }
  .logo-img { max-height: 42px; }
}

.more-clients {
  background: var(--primary-color);
  color: white;
  padding: 1.5rem 1rem;
  border-radius: var(--border-radius-lg);
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: clamp(0.8rem, 2vw, 0.9rem);
}

/* CTA Section */
.cta-section {
  padding: 4rem 0;
  background: linear-gradient(135deg, #1E3A8A 0%, #1E40AF 100%);
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="cta-grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23cta-grid)"/></svg>');
  opacity: 0.3;
}

.cta-section .container {
  position: relative;
  z-index: 2;
}

.cta-title {
  font-size: clamp(1.8rem, 6vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: white !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.cta-description {
  font-size: clamp(1rem, 3vw, 1.2rem);
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.95) !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  line-height: 1.6;
  max-width: 90%;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-btn {
  min-width: 200px;
  padding: 1rem 2rem;
  background: white !important;
  color: #1E3A8A !important;
  border: 2px solid white;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border-radius: var(--border-radius);
  font-size: clamp(0.9rem, 3vw, 1rem);
  display: inline-block;
  text-align: center;
}

@media (hover: hover) {
  .cta-btn:hover {
    background: #f8fafc !important;
    color: #1E3A8A !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
  }
}

@media (hover: none) {
  .cta-btn:active {
    background: #f8fafc !important;
    transform: translateY(-1px);
  }
}

/* Scroll to top button */
.scroll-to-top {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  opacity: 0;
  visibility: hidden;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
}

.scroll-to-top.show {
  opacity: 1;
  visibility: visible;
}

@media (hover: hover) {
  .scroll-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
  }
}

/* Responsive Design - Mobile First Approach */

/* Small phones */
@media (max-width: 350px) {
  :root { --navbar-height: 50px; }
  .hero-content { margin-top: calc(var(--navbar-height) + 1rem); }
  /* keep thin stats bar; no padding/max-width overrides */
  .stats-inline { gap: 1rem; }
}

/* Large phones */
@media (min-width: 576px) {
  :root { --navbar-height: 55px; }
  .hero-content { margin-top: calc(var(--navbar-height) + 1.5rem); }
  .visual-grid { grid-template-columns: 1fr 1fr; }
  .visual-1 { grid-column: 1 / 3; height: 200px; }
  .visual-stats { flex-direction: row; }
  .stats-inline { gap: 2rem; }
  .scroll-to-top { width: 50px; height: 50px; bottom: 2rem; right: 2rem; }
}

/* Tablets */
@media (min-width: 768px) {
  :root { --navbar-height: 70px; }
  .hero-content { margin-top: calc(var(--navbar-height) + 2rem); }
  .hero-section::before { opacity: 0.2; }

  .stats-inline { gap: 3rem; }

  .key-numbers-section,
  .company-intro-section,
  .featured-projects-section,
  .services-preview-section,
  .trusted-by-section { padding: 6rem 0; }

  .cta-section { padding: 5rem 0; }
  .feature-item { padding: 2rem; }
  .project-content { padding: 2rem; }
  .service-preview-card { padding: 2.5rem 2rem; }

  .logo-placeholder,
  .more-clients { height: 100px; padding: 2rem 1rem; }

  .intro-buttons,
  .cta-buttons { gap: 1.5rem; }

  .project-highlights { justify-content: flex-start; }
}

/* Small desktops */
@media (min-width: 992px) {
  :root { --navbar-height: 80px; }
  .hero-content { margin-top: calc(var(--navbar-height) + 2rem); }
  .hero-section::before { opacity: 0.3; }

  .stats-inline { gap: 4rem; }

  .key-numbers-section,
  .company-intro-section,
  .featured-projects-section,
  .services-preview-section,
  .trusted-by-section { padding: 8rem 0; }

  .cta-section { padding: 6rem 0; }
  .intro-content { margin-bottom: 4rem; }

  .visual-grid { grid-template-columns: 1fr 1fr; }
  .visual-1 { grid-column: 1 / 3; height: 220px; }
  .visual-2, .visual-3 { height: 180px; }
  .visual-stats { flex-direction: row; gap: 1.5rem; }
  .number-card { padding: 3rem 2rem; }
}

/* Large desktops */
@media (min-width: 1200px) {
  :root { --navbar-height: 90px; }
  .hero-content { margin-top: calc(var(--navbar-height) + 1rem); }
  .hero-description { max-width: 800px; }
  .cta-description { max-width: 700px; }
}

/* Ultra-wide screens */
@media (min-width: 1400px) {
  .container { max-width: 1320px; }
}

/* Animations */
@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
  40% { transform: translateY(-10px) translateX(-50%); }
  60% { transform: translateY(-5px) translateX(-50%); }
}

/* Performance optimizations for mobile */
@media (max-width: 768px) {  
  .hero-section::before { display: none; }
  .number-card, .project-card, .service-preview-card, .feature-item { transform: none; }
  .hero-section { background: linear-gradient(135deg, #1E3A8A 0%, #1E40AF 100%); }
  /* keep thin stats bar; no padding/max-width overrides */
}

/* Landscape orientation on mobile */
@media (max-width: 768px) and (orientation: landscape) {
  .hero-section { min-height: 100vh; padding: 2rem 0; }
  .hero-content { margin-top: calc(var(--navbar-height) + 1rem); }
  .hero-description { margin-bottom: 1.5rem; }
  /* keep thin stats bar; no margin/padding overrides */
}

/* Reduced motion accessibility */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .scroll-indicator { animation: none; }
}

/* High contrast mode */
@media (prefers-contrast: high) {
  .company-name,
  .hero-subtitle,
  .hero-description {
    text-shadow: 
      0 2px 4px rgba(0, 0, 0, 1),
      0 4px 8px rgba(0, 0, 0, 0.8);
  }
}

/* Focus styles for accessibility */
.btn-primary:focus,
.hero-btn:focus,
.btn-outline-primary:focus,
.cta-btn:focus {
  outline: 3px solid #60A5FA;
  outline-offset: 2px;
}

/* Print styles */
@media print {
  .hero-video-container,
  .hero-section::before,
  .scroll-to-top,
  .scroll-indicator { display: none !important; }
  
  .hero-section {
    background: white !important;
    color: black !important;
    height: auto !important;
    min-height: auto !important;
    padding: 2rem 0 !important;
  }
  
  .hero-content { margin-top: 0 !important; }
  
  .company-name,
  .hero-subtitle,
  .hero-description {
    color: black !important;
    text-shadow: none !important;
  }
}
