/* Modern Enterprise Design Styles */

/* Breadcrumb Navigation */
.breadcrumbs {
  background-color: #f8f9fa;
  padding: 10px 0;
  border-bottom: 1px solid #e9ecef;
  font-size: 14px;
}

.breadcrumbs ol {
  list-style: none !important;
  list-style-type: none !important;
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
}

.breadcrumbs li {
  display: inline-flex;
  align-items: center;
}

.breadcrumbs li + li:before {
  content: "/";
  margin: 0 8px;
  color: #6c757d;
}

.breadcrumbs a {
  color: #ff4500;
  text-decoration: none;
  transition: color 0.2s ease;
}

.breadcrumbs a:hover {
  color: #e63e00;
  text-decoration: underline;
}

.breadcrumbs [aria-current="page"] {
  color: #495057;
  font-weight: 500;
}

.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  text-align: center;
  min-height: 50vh;
  height: 60vh;
  max-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 140px 0 80px !important;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .35;
  /* z-index removed to allow default stacking */
}

.hero .container {
    position: relative; /* This ensures the container and its content appear above the absolute-positioned sibling image */
    max-width: 1200px !important;
    padding: 0 20px !important;
    margin: 0 auto !important;
}

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

/* Images - simplified for better performance */
img {
  max-width: 100%;
  height: auto;
}

html, body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  scroll-behavior: smooth;
  overflow-x: hidden;
  box-sizing: border-box;
  /* Prevent cumulative layout shift */
  min-height: 100%;
  width: 100%;
  /* Set stable sizes */
  font-size: 16px;
  line-height: 1.5;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.6;
  color: #1a1a1a;
  background: #ffffff;
  overflow-x: hidden; /* Prevent horizontal scrolling */
  min-height: 100vh; /* Ensure minimum height */
  text-rendering: optimizeSpeed; /* Improve text rendering performance */
}

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

/* Hero section - simplified for better performance */
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .35;
  z-index: -1;
}

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

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

.section-heading h2, .section-heading h3.h2-style {
  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);
  text-align: left;
}

.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: 0;
  margin-right: auto;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
  text-align: left;
}

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

.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);
}

/* Apple-Inspired Hero Styles */
.hero-apple {
  background: linear-gradient(180deg, #000000 0%, #1a1a1a 100%);
  min-height: 65vh;
  height: 70vh;
  max-height: 700px;
  padding: 140px 0 80px !important;
}

.hero-apple .hero-bg {
  opacity: 0.25;
  filter: brightness(0.9) contrast(1.1);
}

.apple-hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem) !important;
  font-weight: 700 !important;
  line-height: 1.1 !important;
  letter-spacing: -0.04em !important;
  margin-bottom: 1.5rem !important;
  background: linear-gradient(180deg, #ffffff 0%, #e8e8e8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none !important;
}

.apple-hero-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.4rem) !important;
  line-height: 1.5 !important;
  color: rgba(255, 255, 255, 0.85) !important;
  font-weight: 400 !important;
  margin-bottom: 3rem !important;
  max-width: 750px !important;
  margin-left: 0 !important;
  margin-right: auto !important;
  letter-spacing: -0.01em !important;
  text-shadow: none !important;
  text-align: left !important;
}

.apple-hero-buttons {
  display: flex !important;
  gap: 1rem !important;
  justify-content: flex-start !important;
  align-items: center !important;
  flex-wrap: wrap !important;
}

.apple-button-primary {
  background: #ff4500 !important;
  color: white !important;
  padding: 14px 28px !important;
  border-radius: 980px !important;
  font-size: 1rem !important;
  font-weight: 500 !important;
  border: none !important;
  letter-spacing: -0.01em !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  box-shadow: 0 4px 12px rgba(255, 69, 0, 0.3) !important;
}

.apple-button-primary:hover {
  background: #ff6b35 !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 20px rgba(255, 69, 0, 0.4) !important;
}

.apple-button-secondary {
  background: rgba(255, 255, 255, 0.12) !important;
  color: #ffffff !important;
  padding: 14px 28px !important;
  border-radius: 980px !important;
  font-size: 1rem !important;
  font-weight: 500 !important;
  border: none !important;
  letter-spacing: -0.01em !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
}

.apple-button-secondary:hover {
  color: #ffffff !important;
  transform: translateY(-1px) !important;
  background: rgba(255, 255, 255, 0.18) !important;
}

.apple-button-secondary .button-arrow,
.apple-button-white .button-arrow {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  margin-left: 4px;
}

.apple-button-secondary:hover .button-arrow,
.apple-button-white:hover .button-arrow {
  transform: translateX(4px);
}

/* Mobile responsiveness for Apple hero */
@media (max-width: 768px) {
  .hero-apple {
    padding: 140px 0 80px !important;
    min-height: 75vh;
  }
  
  .apple-hero-title {
    font-size: 2.5rem !important;
    margin-bottom: 1.2rem !important;
  }
  
  .apple-hero-subtitle {
    font-size: 1.1rem !important;
    margin-bottom: 2.5rem !important;
    max-width: 100% !important;
  }
  
  .apple-hero-buttons {
    flex-direction: column !important;
    gap: 0.8rem !important;
    align-items: flex-start !important;
  }
  
  .apple-button-primary,
  .apple-button-secondary {
    width: 100%;
    max-width: 320px;
    justify-content: flex-start;
  }
}

/* Apple-Inspired Section Styles */
.apple-section {
  padding: 100px 0 !important;
}

.apple-section-header {
  text-align: left !important;
  margin-bottom: 4rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
}

.apple-section-header h2,
.apple-section-header .h2-style {
  text-align: left !important;
}

.apple-section-header p {
  text-align: left !important;
}

.apple-section-title {
  font-size: clamp(2.2rem, 5vw, 3.5rem) !important;
  font-weight: 700 !important;
  line-height: 1.1 !important;
  letter-spacing: -0.03em !important;
  margin-bottom: 1.5rem !important;
  color: #1a1a1a !important;
  text-align: left !important;
}

.apple-section-subtitle {
  font-size: clamp(1rem, 2vw, 1.3rem) !important;
  line-height: 1.5 !important;
  color: #64748b !important;
  font-weight: 400 !important;
  max-width: 700px !important;
  margin: 0 0 0 0 !important;
  letter-spacing: -0.01em !important;
  text-align: left !important;
}

/* Apple-Inspired CTA Buttons in sections */
.apple-cta-buttons {
  display: flex !important;
  gap: 1rem !important;
  flex-wrap: wrap !important;
}

/* Apple-Inspired Final CTA Section */
.apple-final-cta {
  background: linear-gradient(180deg, #000000 0%, #1a1a1a 100%) !important;
  padding: 120px 0 !important;
}

.apple-cta-title {
  font-size: clamp(2.5rem, 5vw, 4rem) !important;
  font-weight: 700 !important;
  line-height: 1.1 !important;
  letter-spacing: -0.03em !important;
  margin-bottom: 1.5rem !important;
  color: white !important;
}

.apple-cta-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.4rem) !important;
  line-height: 1.5 !important;
  color: rgba(255, 255, 255, 0.85) !important;
  font-weight: 400 !important;
  max-width: 700px !important;
  margin: 0 auto 3rem !important;
  letter-spacing: -0.01em !important;
}

.apple-button-white {
  background: white !important;
  color: #000000 !important;
  padding: 14px 28px !important;
  border-radius: 980px !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
  border: none !important;
  letter-spacing: -0.01em !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2) !important;
}

.apple-button-white:hover {
  background: #f5f5f5 !important;
  color: #000000 !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.3) !important;
}

.apple-button-white:visited {
  color: #000000 !important;
}

.apple-button-white .button-arrow {
  color: #000000 !important;
  stroke: #000000 !important;
}

.apple-button-grey {
  background: #e5e7eb !important;
  color: #000000 !important;
  padding: 14px 28px !important;
  border-radius: 980px !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
  border: none !important;
  letter-spacing: -0.01em !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
}

.apple-button-grey:hover {
  background: #d1d5db !important;
  color: #000000 !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12) !important;
}

.apple-button-grey:visited {
  color: #000000 !important;
}

.apple-button-grey .button-arrow {
  color: #000000 !important;
  stroke: #000000 !important;
}


/* Mobile responsiveness for Apple sections */
@media (max-width: 768px) {
  .apple-section {
    padding: 80px 0 !important;
  }
  
  .apple-section-title {
    font-size: 2rem !important;
    margin-bottom: 1.2rem !important;
  }
  
  .apple-section-subtitle {
    font-size: 1rem !important;
  }
  
  .apple-cta-buttons {
    flex-direction: column !important;
    align-items: center !important;
  }
  
  .apple-final-cta {
    padding: 80px 0 !important;
  }
  
  .apple-cta-title {
    font-size: 2.2rem !important;
    margin-bottom: 1rem !important;
  }
  
  .apple-cta-subtitle {
    font-size: 1.1rem !important;
    margin-bottom: 2.5rem !important;
  }
  
  .apple-button-white {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }
}

/* Hero Background Variants can be used for container-level adjustments if needed */

/* All hero variants share the same background properties */
/* The .hero.hero-dev-teams rule was removed as its background properties are no longer needed with the <img> implementation. */
.hero.hero-ai,
.hero.hero-devops,
.hero.hero-cloud {
  
  background-position: center;
}

.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;
  max-width: 400px;
  white-space: normal;
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
  line-height: 1.3;
  text-align: center;
  display: inline-block;
}

.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, .section-header .h2-style {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #1a1a1a;
  text-align: center;
}

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

/* Service grid - simplified for performance */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 3rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  align-items: stretch;
  width: 100%;
  box-sizing: border-box;
  min-height: 450px;
}

.service-card {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  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: 16px;
  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: 700;
  margin-bottom: 1rem;
  color: #1a1a1a;
}

.service-card p {
  color: #64748b;
  line-height: 1.6;
  font-size: 1rem;
  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: left;
  margin-bottom: 4rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
}

.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: 2.5rem;
  margin-bottom: 4rem;
  min-height: 400px; /* Reserve space for cards */
  contain: layout paint;
}

.assessment-card {
  background: white;
  padding: 2rem;
  border-radius: 16px;
  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;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.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 10px 40px rgba(0, 0, 0, 0.08);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.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(3, 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;
}

/* Apple-Inspired Stats Section */
.apple-stats {
  background: linear-gradient(180deg, #000000 0%, #0a0a0a 100%) !important;
  padding: 80px 0 !important;
}

.apple-stat-number {
  font-size: clamp(3rem, 6vw, 5rem) !important;
  font-weight: 700 !important;
  color: #ff4500 !important;
  margin-bottom: 0.5rem !important;
  letter-spacing: -0.02em !important;
  text-shadow: 0 4px 20px rgba(255, 69, 0, 0.4) !important;
  line-height: 1 !important;
}

.apple-stat-label {
  font-size: clamp(0.9rem, 1.5vw, 1.1rem) !important;
  color: rgba(255, 255, 255, 0.85) !important;
  font-weight: 400 !important;
  letter-spacing: -0.01em !important;
  line-height: 1.5 !important;
}

@media (max-width: 768px) {
  .apple-stats {
    padding: 60px 0 !important;
  }
  
  .apple-stat-number {
    font-size: 2.8rem !important;
    margin-bottom: 0.4rem !important;
  }
  
  .apple-stat-label {
    font-size: 0.9rem !important;
  }
}

/* Why Enterprises Build With Us Section */
.why-build-with-us {
  background-color: #f8fafc;
}

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

.why-build-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
}

.why-build-content {
  padding-right: 20px;
}

.why-build-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1a202c;
  margin-bottom: 24px;
  line-height: 1.2;
  text-align: left;
}

.why-build-content p {
  font-size: 1.2rem;
  color: #4a5568;
  line-height: 1.7;
  margin-bottom: 32px;
  text-align: left;
}

.specialised-teams-features {
  text-align: left;
  max-width: 1200px;
  margin: 0 auto 3rem auto;
  padding: 0 20px;
}

.specialised-teams-features p {
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
  color: #4a5568;
  text-align: left;
}

.specialised-teams-features ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.specialised-teams-features ul li {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  padding-left: 25px;
  position: relative;
}

.specialised-teams-features ul li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  top: 2px;
  color: #ff4500;
  font-weight: bold;
  font-size: 1.1rem;
}

.specialised-teams-features ul li strong {
  color: #2d3748;
}

.why-build-benefits {
  background-color: #ffffff;
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  border: 1px solid #e2e8f0;
}

.why-build-benefits p {
  font-weight: 600;
  margin-bottom: 20px;
}

.why-build-benefits ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 30px;
}

.why-build-benefits ul li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 15px;
  font-size: 1.1rem;
}

.why-build-benefits ul li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  top: 0;
  color: #ff4500;
  font-weight: bold;
  font-size: 1.1rem;
}

.why-build-benefits .button.primary-button {
    width: 100%;
    text-align: center;
}

@media (max-width: 768px) {
  .why-build-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .why-build-content {
    padding-right: 0;
    text-align: center;
  }
  
  .why-build-content h2 {
    font-size: 2rem;
  }
  
  .why-build-content p {
    font-size: 1.1rem;
  }
  
  .why-build-benefits {
    margin-top: 0;
  }
}

/* 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;
}


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

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

.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: 550px;
  margin: 0 auto;
  line-height: 1.7;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.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-wrapper {
  height: 180px;
  position: relative;
  overflow: hidden;
}

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

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

.blog-card-image-wrapper::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;
  z-index: 1;
}

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

.blog-card-content {
  padding: 25px 20px;
}

.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.25rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 12px;
  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.5;
  font-size: 0.95rem;
  margin-bottom: 20px;
  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 .blog-arrow {
  transition: transform 0.3s ease;
  margin-left: 4px;
}

.blog-card:hover .blog-card-cta .blog-arrow {
  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;
}

/* Tablet Styles */
@media (max-width: 992px) and (min-width: 769px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
}

/* Mobile Styles */
@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;
  }
  
  .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-card .features-heading {
  font-weight: 600;
  color: #2d3748;
  margin-bottom: 10px;
  margin-top: 20px;
  font-size: 1rem;
}

.service-card .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: '\2713';
  position: absolute;
  left: 0;
  color: #ff4500;
  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;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
}

.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: 2.5rem;
  margin-top: 3rem;
}

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

.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: 0;
}

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

/* 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: 80px 0 30px !important;
    min-height: 40vh;
    height: auto;
    max-height: none;
    text-align: left;
    display: flex;
    align-items: center;
    margin-top: 0;
  }
  
  /* The .hero.hero-dev-teams rule was removed as its background properties are no longer needed with the <img> implementation. */
  .hero.hero-ai,
  .hero.hero-devops,
  .hero.hero-cloud {
    background-color: #0e0e0e; /* Fallback color */
    background-position: center !important;
  }
  
  /* The .hero.hero-home rule was removed as its background properties are no longer needed with the <img> implementation. */
  
  /* Ensure hero background images have consistent display on mobile */
  /* Hero background image styling */
  .hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
    opacity: 0.35;
    z-index: -1;
  }
  

  

  .hero h1 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    text-align: left;
  }
  
  .hero p {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    text-align: left;
    margin-left: 0;
  }
  
  .hero .hero-buttons {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  
  .hero .button {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }
  
  /* Service cards grid */
  .services-grid {
    grid-template-columns: 1fr;
    padding: 0 1rem;
    gap: 2rem;
    min-height: 1200px; /* Reserve more space on mobile due to stacked layout */
  }
  
  .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, except in hero sections and Why Vietnam */
  .section-heading:not(.hero .section-heading):not(.why-vietnam-section .section-heading) {
    text-align: center !important;
  }
  
  .section-heading:not(.hero .section-heading):not(.why-vietnam-section .section-heading) h2 {
    text-align: center !important;
  }
  
  .section-heading:not(.hero .section-heading):not(.why-vietnam-section .section-heading) p {
    text-align: center !important;
  }
  
  /* Why Vietnam and Trusted Tech sections should be left-aligned on mobile */
  .why-vietnam-section .section-heading,
  .trusted-tech .section-heading {
    text-align: left !important;
  }
  
  .why-vietnam-section .section-heading h2,
  .why-vietnam-section .section-heading p,
  .trusted-tech .section-heading h2,
  .trusted-tech .section-heading p {
    text-align: left !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    max-width: 100% !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;
  }
  
  .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;
  }
}

/* ========================================
   MERGED COMPONENT STYLES FROM shared-styles.css
   ======================================== */

/* Navigation Component Styles - Apple-Inspired */
.navigation {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 1px 0 0 rgba(0, 0, 0, 0.05);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 20px;
  max-width: 1400px;
  margin: 0 auto;
  min-height: 44px;
}

/* New Logo Styles - Logomark + Text */
.logo-link {
  text-decoration: none;
  transition: transform 0.3s ease;
}

.logo-link:hover {
  transform: scale(1.02);
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-mark {
  height: 38px;
  width: auto;
  transition: transform 0.3s ease;
  margin-top: -2px;
}

.logo-text {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: #000000;
  letter-spacing: -0.02em;
  transition: color 0.3s ease;
  line-height: 1.2;
}

.logo-link:hover .logo-text {
  color: #ff4500;
}

.nav-menu {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.nav-link {
  text-decoration: none;
  color: rgba(0, 0, 0, 0.8);
  font-weight: 400;
  font-size: 0.875rem;
  letter-spacing: -0.01em;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  padding: 4px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  width: 0;
  height: 1px;
  background: #ff4500;
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover {
  color: #000000;
}

.nav-link.active {
  color: #000000;
  font-weight: 500;
}

.nav-link.active::after {
  width: 100% !important;
}

.nav-link:hover::after {
  width: 100% !important;
}

.cta-button {
  background: #ff4500;
  color: white !important;
  padding: 8px 18px;
  border-radius: 980px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.875rem;
  letter-spacing: -0.01em;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 1px 3px rgba(255, 69, 0, 0.2);
}

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

/* Mobile Navigation Styles - Apple-Inspired */
.burger-menu {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 28px;
  height: 28px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.burger-line {
  width: 100%;
  height: 2px;
  background: rgba(0, 0, 0, 0.8);
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center;
}

.burger-menu.active .burger-line {
  background: #ff4500;
}

.burger-menu.active .burger-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.burger-menu.active .burger-line:nth-child(2) {
  opacity: 0;
  transform: translateX(20px);
}

.burger-menu.active .burger-line:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

.mobile-nav {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  padding: 2rem 0;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
}

.mobile-nav.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mobile-nav-link {
  text-decoration: none;
  color: rgba(0, 0, 0, 0.8);
  font-weight: 400;
  font-size: 1rem;
  letter-spacing: -0.01em;
  padding: 0.5rem 1rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.mobile-nav-link:hover {
  color: #000000;
}

.mobile-nav-link.active {
  color: #000000;
  font-weight: 500;
}

.mobile-cta-button {
  background: #ff4500;
  color: white !important;
  padding: 10px 24px;
  border-radius: 980px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  margin-top: 1rem;
  box-shadow: 0 2px 8px rgba(255, 69, 0, 0.2);
}

.mobile-cta-button:hover {
  background: #ff6b35;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 69, 0, 0.3);
}

/* Prevent body scroll when mobile menu is open */
body.mobile-nav-open {
  overflow: hidden;
}

/* FOOTER COMPONENT STYLES - Apple-Inspired */
.footer {
  background: #1d1d1f;
  color: #f5f5f7;
  padding: 5rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-section h2 {
  color: #f5f5f7;
  font-weight: 600;
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
}

.footer-section h4 {
  color: #f5f5f7;
  font-weight: 600;
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.footer-section p {
  color: #a1a1a6;
  line-height: 1.7;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  font-weight: 400;
}

.footer-section p i {
  width: 16px;
  height: 16px;
  color: #ff4500;
}

.footer-section a {
  color: #a1a1a6;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 0.875rem;
  font-weight: 400;
}

.footer-section a:hover {
  color: #f5f5f7;
}

/* CRITICAL: Orange styling for footer contact icons */
.footer-contact-icon-orange {
  width: 16px !important;
  height: 16px !important;
  filter: brightness(0) saturate(100%) invert(40%) sepia(95%) saturate(1800%) hue-rotate(360deg) brightness(105%) contrast(115%) !important;
}

/* Legacy contact icon styles (keeping for backward compatibility) */
.footer-section a .contact-icon {
  width: 16px !important;
  height: 16px !important;
  filter: brightness(0) saturate(100%) invert(42%) sepia(93%) saturate(1352%) hue-rotate(360deg) brightness(119%) contrast(119%) !important;
}

.footer-section p .contact-icon {
  width: 16px !important;
  height: 16px !important;
  filter: brightness(0) saturate(100%) invert(42%) sepia(93%) saturate(1352%) hue-rotate(360deg) brightness(119%) contrast(119%) !important;
}

/* Additional specificity for contact icons to ensure orange color */
.footer .footer-section a .contact-icon,
.footer .footer-section p .contact-icon {
  filter: brightness(0) saturate(100%) invert(42%) sepia(93%) saturate(1352%) hue-rotate(360deg) brightness(119%) contrast(119%) !important;
}

/* Social Media Links - Apple-Inspired */
.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 2rem;
}

.social-link {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: #a1a1a6 !important;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  margin-bottom: 0 !important;
}

.social-link:hover {
  background: rgba(255, 69, 0, 0.15);
  color: #ff4500 !important;
  transform: scale(1.1);
}

.social-icon {
  width: 20px !important;
  height: 20px !important;
  filter: brightness(0) saturate(100%) invert(40%) sepia(95%) saturate(1800%) hue-rotate(360deg) brightness(105%) contrast(115%);
  transition: filter 0.3s ease;
}

.social-link:hover .social-icon {
  filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(7500%) hue-rotate(109deg) brightness(111%) contrast(111%);
}

.footer-badges {
  text-align: center;
  padding: 2rem 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer-badges a {
  display: inline-block;
  line-height: 0;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-badges a:hover {
  transform: scale(1.05);
}

.footer-badges img {
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: block;
  margin: 0 auto;
  max-width: 100%;
  height: auto;
}

.footer-badges a:hover img {
  opacity: 0.85;
}

.footer-bottom {
  padding-top: 2rem;
  text-align: center;
}

.footer-bottom p {
  color: #86868b;
  margin: 0;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.01em;
}

/* Modern Cards & Service Components */
:root {
  --card-radius: 16px;
  --card-shadow: 0 10px 30px rgba(0,0,0,0.08);
  --card-hover-shadow: 0 15px 35px rgba(0,0,0,0.12);
  --orange-primary: #ff4500;
  --orange-light: #ff6a3d;
  --orange-dark: #e03600;
  --orange-accent-bg: rgba(255, 69, 0, 0.1);
  --gradient-orange: linear-gradient(135deg, #ff4500 0%, #ff6a3d 100%);
}

/* Modern Card Layout */
.modern-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

/* Clickable Card Wrapper */
.modern-card-wrapper {
  text-decoration: none;
  color: inherit;
  display: block;
  height: 100%;
}

.modern-card {
  background: white;
  border-radius: var(--card-radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: all 0.35s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
}

.modern-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--card-hover-shadow);
}

.modern-card-image {
  height: 220px;
  overflow: hidden;
}

.modern-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.modern-card:hover .modern-card-image img {
  transform: scale(1.05);
}

.modern-card-content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.modern-card-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 600;
  color: #1F2937;
}

.modern-card-text {
  color: #4B5563;
  margin-bottom: 1rem;
  line-height: 1.6;
  flex-grow: 1;
}

.modern-card-list {
  list-style-type: none;
  padding-left: 0;
  margin-bottom: 1.5rem;
}

.modern-card-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  color: #4B5563;
}

.modern-card-list li:before {
  content: '•';
  color: var(--orange-primary);
  position: absolute;
  left: 0;
  font-weight: bold;
}

.modern-card-tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
  background-color: var(--orange-accent-bg);
  color: var(--orange-primary);
}

.modern-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid #F3F4F6;
}

.modern-card-link {
  display: inline-flex;
  align-items: center;
  color: var(--orange-primary);
  font-weight: 500;
  font-size: 0.9rem;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.modern-card-link:hover {
  transform: translateX(3px);
}

/* Animation for cards when they appear in viewport */
@keyframes cardAppear {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.card-animate {
  animation: cardAppear 0.7s ease forwards;
}

/* Staggered animation for multiple cards */
.modern-cards-grid .modern-card:nth-child(1) { animation-delay: 0.1s; }
.modern-cards-grid .modern-card:nth-child(2) { animation-delay: 0.25s; }
.modern-cards-grid .modern-card:nth-child(3) { animation-delay: 0.4s; }
.modern-cards-grid .modern-card:nth-child(4) { animation-delay: 0.55s; }

/* Related Content Section Styles */
.related-content-section {
  background: #f8fafc;
}

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

.related-articles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  justify-items: center;
  max-width: 1000px;
  margin: 0 auto;
}

.related-article {
  background: white;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
  text-align: center;
  border: 1px solid #e2e8f0;
}

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

.related-article h4 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #1a1a1a;
}

.related-article p {
  color: #64748b;
  line-height: 1.6;
  margin: 0;
}

/* Additional Mobile Responsive Styles for Components */
@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }
  
  .burger-menu {
    display: flex;
  }
  
  .nav-container {
    padding: 1rem 20px;
  }
  
  /* Mobile logo adjustments */
  .logo-mark {
    height: 38px;
    margin-top: -2px;
  }
  
  .logo-text {
    font-size: 1.5rem;
    line-height: 1.2;
  }
  
  .logo-container {
    gap: 10px;
    align-items: center;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .modern-cards-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .related-articles {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .related-article {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  .nav-container {
    padding: 0.8rem 15px;
  }
  
  .mobile-nav {
    padding: 1.5rem 0;
  }
  
  .mobile-nav-link {
    font-size: 1rem;
  }
  
  .mobile-cta-button {
    padding: 12px 24px;
    font-size: 0.9rem;
  }
}
