/* Modern Enterprise Design Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.6;
  color: #1a1a1a;
  background: #ffffff;
}

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

/* Hero Section */
.hero {
  padding: 140px 0 100px !important;
  text-align: center;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: white;
  display: flex;
  align-items: center;
  min-height: 80vh;
}

.hero.hero-dev-teams .container {
  max-width: 1000px !important;
  padding: 0 40px !important;
}

.hero.hero-dev-teams .section-heading {
  max-width: 800px;
  margin: 0 auto;
}

.hero .container {
  margin: 0 auto !important;
  padding: 0 20px !important;
  max-width: 1400px !important;
}

.hero .section-heading {
  text-align: center !important;
  margin: 0 auto !important;
}

/* All section headings should be centered */
.section-heading {
  text-align: center !important;
  margin-bottom: 3rem;
}

.section-heading h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 1rem;
  color: #1a1a1a;
}

.section-heading p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #64748b;
  max-width: 600px;
  margin: 0 auto;
}

.hero h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 2rem;
  color: white;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.hero p {
  font-size: 1.15rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 3rem;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.hero .hero-buttons {
  display: inline-flex;
  gap: 1.5rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.hero .button {
  padding: 18px 36px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.hero .primary-button {
  background: linear-gradient(135deg, #ff4500, #e63e00);
  color: white;
  border: 2px solid #ff4500;
}

.hero .primary-button:hover {
  background: #e03e00;
  border-color: #e03e00;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 69, 0, 0.3);
}

.hero .secondary-button {
  background: transparent;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.hero .secondary-button:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

/* Hero Background Variants - for different landing pages */
.hero.hero-dev-teams {
  background: linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65)), url('/images/webp/dev-pair.webp');
}

.hero.hero-home {
  background: linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65)), url('images/hero.webp');
}

/* All hero variants share the same background properties */
.hero.hero-home,
.hero.hero-dev-teams,
.hero.hero-ai,
.hero.hero-devops,
.hero.hero-cloud {
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.btn-primary {
  background: linear-gradient(135deg, #ff4500, #e63e00);
  color: white !important;
  padding: 18px 36px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  border: 2px solid #ff4500;
  cursor: pointer;
  min-width: 180px;
}

.btn-primary:hover {
  background: #e03e00;
  border-color: #e03e00;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 69, 0, 0.3);
}

.btn-secondary {
  background: transparent;
  color: white;
  padding: 16px 34px;
  border: 2px solid rgba(255, 255, 255, 0.8);
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  min-width: 180px;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
  color: white;
  transform: translateY(-2px);
}

/* Services Section */
.services {
  padding: 80px 0;
}

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

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #1a1a1a;
}

.section-header p {
  font-size: 1.2rem;
  color: #64748b;
  max-width: 550px;
  margin: 0 auto;
  line-height: 1.5;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 3rem;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  align-items: stretch;
  width: 100%;
  box-sizing: border-box;
}

.service-card {
  background: white;
  border-radius: 16px;
  padding: 2.5rem;
  border: 1px solid #e2e8f0;
  transition: all 0.3s ease;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border-color: #ff4500;
}

.service-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #ff4500, #e63e00);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.service-icon svg {
  width: 30px;
  height: 30px;
  color: white;
}

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

.service-card p {
  color: #64748b;
  line-height: 1.6;
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}

.service-card p a {
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* Enterprise Assessment Section */
.enterprise-assessment {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  position: relative;
  overflow: hidden;
  padding: 80px 0;
}

.enterprise-assessment::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: transparent;
}

.assessment-content {
  max-width: 1200px;
  margin: 0 auto;
}

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

.assessment-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: #1a1a1a;
}

.gradient-text {
  background: linear-gradient(135deg, #ff4500, #e63e00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.assessment-header p {
  font-size: 1.2rem;
  color: #64748b;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.assessment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.assessment-card {
  background: white;
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(255, 69, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.assessment-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(135deg, #ff4500, #e63e00);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.assessment-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(255, 69, 0, 0.15);
}

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

.card-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #ff4500, #e63e00);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.card-icon svg {
  width: 28px;
  height: 28px;
  color: white;
}

.assessment-card:hover .card-icon {
  transform: scale(1.1) rotate(5deg);
}

.assessment-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 1rem;
}

.assessment-card p {
  color: #64748b;
  line-height: 1.6;
  font-size: 1rem;
}

.assessment-cta {
  background: white;
  border-radius: 24px;
  padding: 3rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.assessment-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(135deg, #ff4500, #e63e00);
}

.cta-content h3 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 1rem;
}

.cta-content p {
  color: #64748b;
  font-size: 1.1rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}

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

.btn-gradient {
  background: linear-gradient(135deg, #ff4500, #e63e00);
  color: white;
  padding: 16px 32px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-gradient:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 10px 30px rgba(255, 69, 0, 0.4);
  background: linear-gradient(135deg, #ff6b35 0%, #ff4500 100%);
}

.btn-outline {
  background: transparent;
  color: #ff4500;
  padding: 16px 32px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid #ff4500;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-outline:hover {
  background: linear-gradient(135deg, #ff4500, #e63e00);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 69, 0, 0.3);
}

.cta-visual {
  position: relative;
}

.cta-visual img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  object-position: center;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.visual-overlay {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 1.5rem;
  display: flex;
  justify-content: space-around;
  border: 1px solid rgba(255, 69, 0, 0.2);
}

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

.stat-number {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  color: #ff4500;
  line-height: 1;
}

.stat-label {
  display: block;
  font-size: 0.8rem;
  color: #64748b;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 0.25rem;
}

/* Stats Section */
.stats {
  padding: 60px 0;
  background: #111;
  color: white;
}

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

.stat-item h3 {
  font-size: 3.5rem;
  font-weight: 700;
  color: #ff4500;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 10px rgba(255, 69, 0, 0.3);
}

.stat-item p {
  font-size: 1rem;
  color: #e2e8f0;
}

/* CTA Section */
.final-cta {
  padding: 120px 0;
  text-align: center;
  background: linear-gradient(135deg, #ff4500, #e63e00);
  color: white;
}

.final-cta .container {
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 40px;
}

.final-cta h2 {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.final-cta p {
  font-size: 1.3rem;
  margin-bottom: 2.5rem;
  opacity: 0.95;
  line-height: 1.6;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2.5rem;
}

.btn-white {
  background: white;
  color: #ff4500;
  padding: 16px 32px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 69, 0, 0.3);
}

/* General Section Styles */
.section {
  padding: 80px 0;
}

/* Heroes should not inherit section padding */
.section.hero {
  padding: 140px 0 100px !important;
}

/* Blog Section */
.blog-section {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

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

.blog-section .section-header h2 {
  font-size: 2.5rem;
  font-weight: 800;
  color: #1a1a1a;
  margin-bottom: 20px;
}

.blog-section .section-header p {
  font-size: 1.2rem;
  color: #666;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.7;
}

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

.blog-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid #e2e8f0;
  display: block;
  text-decoration: none;
  color: inherit;
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
  border-color: #ff4500;
  text-decoration: none;
  color: inherit;
}

.blog-card-image {
  height: 200px;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

.blog-card-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 69, 0, 0.1) 0%, rgba(255, 107, 53, 0.1) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.blog-card:hover .blog-card-image::before {
  opacity: 1;
}

.blog-card-content {
  padding: 30px;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
  font-size: 0.9rem;
  color: #666;
}

.blog-card-category {
  background: linear-gradient(135deg, #ff4500 0%, #ff6b35 100%);
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.blog-card-date {
  color: #999;
}

.blog-card-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 15px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-excerpt {
  color: #666;
  line-height: 1.6;
  margin-bottom: 25px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.blog-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ff4500;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  pointer-events: none;
}

.blog-card:hover .blog-card-cta {
  color: #e63e00;
  transform: translateX(5px);
}

.blog-card-cta::after {
  content: '→';
  transition: transform 0.3s ease;
}

.blog-card:hover .blog-card-cta::after {
  transform: translateX(3px);
}

.blog-card-read-time {
  color: #999;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 5px;
}

.blog-card-read-time::before {
  content: '⏱';
  font-size: 0.8rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .blog-section .section-header h2 {
    font-size: 2rem;
  }
  
  .blog-section .section-header p {
    font-size: 1.1rem;
  }
  
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 40px;
  }
  
  .blog-card-content {
    padding: 25px;
  }
  
  .blog-card-title {
    font-size: 1.2rem;
  }
}

/* Button Styles */
.button, .primary-button {
  background: linear-gradient(135deg, #ff4500, #e63e00);
  color: white !important;
  padding: 16px 32px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  display: inline-block;
}

.button:hover, .primary-button:hover {
  background: #e63e00;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 69, 0, 0.3);
}

/* Mobile Responsiveness */
/* Service Features List */
.service-features {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.service-features li {
  padding: 0.5rem 0;
  position: relative;
  padding-left: 1.5rem;
  color: #64748b;
  font-size: 0.95rem;
}

.service-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #10b981;
  font-weight: bold;
}

.service-cta {
  display: inline-flex;
  align-items: center;
  color: #ff4500;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  margin-top: 1rem;
  transition: all 0.3s ease;
}

.service-cta:hover {
  color: #e63e00;
  transform: translateX(4px);
}

/* Trusted Technologies Section */
.trusted-tech {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.tech-logos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.tech-logo {
  background: white;
  padding: 2rem 1.5rem;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.tech-logo:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  border-color: #ff4500;
}

.tech-logo span {
  font-weight: 600;
  color: #1a1a1a;
  font-size: 1.1rem;
}

.tech-logo:hover span {
  color: #ff4500;
}

/* Why Vietnam Section */
.why-vietnam-section {
  background: white;
}

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

.benefit-card {
  padding: 2.5rem;
  border-radius: 16px;
  border: 1px solid #fed7aa;
  position: relative;
  transition: all 0.3s ease;
}

.benefit-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(135deg, #ff4500, #e63e00);
  border-radius: 16px 16px 0 0;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(255, 69, 0, 0.15);
}

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

.benefit-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 1rem;
}

.benefit-card p {
  color: #64748b;
  line-height: 1.6;
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
}

.modal-content {
  background-color: white;
  margin: 5% auto;
  padding: 3rem;
  border-radius: 16px;
  width: 90%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.close-button {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: 2rem;
  font-weight: bold;
  cursor: pointer;
  color: #64748b;
  transition: color 0.3s ease;
}

.close-button:hover {
  color: #ff4500;
}

.modal-content h2 {
  color: #1a1a1a;
  margin-bottom: 1rem;
  font-size: 1.8rem;
  font-weight: 700;
}

.modal-content p {
  color: #64748b;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #1a1a1a;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

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

.submit-button {
  background: linear-gradient(135deg, #ff4500, #e63e00);
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.submit-button:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 25px rgba(255, 69, 0, 0.3);
  background: linear-gradient(135deg, #ff6b35 0%, #ff4500 100%);
}

.submit-button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

@media (max-width: 768px) {
  .hero {
    padding: 120px 0 80px;
    min-height: 70vh;
    text-align: center;
    color: white;
    display: flex;
    align-items: center;
  }
  
  .hero.hero-dev-teams {
    background: linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65)), url('images/webp/dev-pair.webp') !important;
    background-size: cover !important;
    background-position: center center !important;
    background-attachment: scroll !important;
  }
  
  /* Ensure homepage hero has correct background image on mobile */
.hero.hero-home.section {
  background: linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65)), url('images/webp/hero.webp') !important;
  background-size: cover !important;
  background-position: center center !important;
  background-attachment: scroll !important;
}
  
  /* Ensure other hero variants have correct background images on mobile */
  .hero.hero-ai {
    background: linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65)), url('images/ai-hero.webp') !important;
    background-size: cover !important;
    background-position: center center !important;
    background-attachment: scroll !important;
  }
  
  .hero.hero-devops {
    background: linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65)), url('images/devops-hero.webp') !important;
    background-size: cover !important;
    background-position: center center !important;
    background-attachment: scroll !important;
  }
  
  .hero.hero-cloud {
    background: linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65)), url('images/cloud-hero.webp') !important;
    background-size: cover !important;
    background-position: center center !important;
    background-attachment: scroll !important;
  }
  

  


  .hero h1 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
  }
  
  .hero p {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
  }
  
  .hero .hero-buttons {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  
  .hero .button {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .why-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .why-text h2 {
    font-size: 1.8rem;
    text-align: center;
  }
  
  .why-features {
    margin: 2rem 0;
  }
  
  .why-features li {
    margin-bottom: 1.2rem;
  }
  
  .why-cta {
    text-align: center;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  
  .tech-logos {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .benefit-card {
    padding: 2rem;
  }

  .modal-content {
    margin: 2% auto;
    padding: 2rem;
    width: 95%;
  }

  .tech-logo {
    padding: 1.5rem 1rem;
  }

  .assessment-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 3rem;
  }

  .assessment-card {
    padding: 2rem;
  }

  .assessment-cta {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .btn-gradient,
  .btn-outline {
    width: 100%;
    justify-content: center;
  }

  .cta-visual img {
    height: 300px;
  }

  .visual-overlay {
    position: static;
    margin-top: 1rem;
    background: rgba(255, 255, 255, 0.9);
  }

  .container {
    padding: 0 15px;
  }
  
  /* Ensure all section headings stay centered on mobile */
  .section-heading {
    text-align: center !important;
  }
  
  .section-heading h2 {
    text-align: center !important;
  }
  
  .section-heading p {
    text-align: center !important;
  }
  
  /* Final CTA Mobile Styles */
  .final-cta {
    padding: 80px 0;
  }
  
  .final-cta .container {
    padding: 40px 20px;
    max-width: 100%;
  }
  
  .final-cta h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    line-height: 1.3;
  }
  
  .final-cta p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    padding: 0 10px;
  }
  
  .btn-white {
    padding: 14px 28px;
    font-size: 1rem;
    width: auto;
    max-width: 300px;
  }
}

@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
  }
}
