
/* ===== COMMON UTILITY CLASSES ===== */
:root {
  /* Section Padding */
  --section-padding-xl: 150px;
  --section-padding-lg: 120px;
  --section-padding-md: 100px;
  --section-padding-sm: 80px;
  --section-padding-xs: 60px;
  
  /* Mobile-specific paddings */
  --mobile-section-padding-lg: 60px;
  --mobile-section-padding-md: 45px;
  --mobile-section-padding-sm: 35px;
  --mobile-section-padding-xs: 25px;
}

.section-padding {
  padding-top: var(--section-padding-lg);
  padding-bottom: var(--section-padding-lg);
}

.section-padding-sm {
  padding-top: var(--section-padding-sm);
  padding-bottom: var(--section-padding-sm);
}

.bg-light {
  background-color: var(--background-secondary);
}

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

/* Enhanced Key statement styling - Improved visual hierarchy */
.key-statement {
  font-size: 22px;
  font-weight: 700;
  color: var(--hrv-orange);
  display: block;
  margin: 25px 0;
  line-height: 1.3;
  position: relative;
  font-style: italic; /* Added italic for better hierarchy */
  opacity: 0.9; /* Slightly dimmed for hierarchy */
  transition: all 0.3s ease;
}

.key-statement:hover {
  transform: translateX(5px);
  opacity: 1;
}

/* Animation classes */
.animate-element {
  opacity: 0;
  animation: fadeInUp 1s ease forwards;
}

.animate-element:nth-child(2) {
  animation-delay: 0.2s;
}

.animate-element:nth-child(3) {
  animation-delay: 0.4s;
}

/* Background patterns and decorative elements */
.bg-pattern {
  background-color: var(--background-secondary);
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ef721f' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* ===== OUR VISION SECTION ===== */
.vision-section {
  position: relative;
  overflow: hidden;
}

.vision-image-box {
  position: relative;
  padding-bottom: 50px;
}

.vision-image-box .main-image {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: var(--shadow-heavy); /* Enhanced shadow for more depth */
  transition: all 0.5s ease;
}

.vision-image-box .main-image img {
  width: 100%;
  border-radius: 15px;
  transition: transform 0.5s ease;
}

.vision-image-box:hover .main-image {
  box-shadow: var(--shadow-xl); /* Enhanced hover shadow */
}

.vision-image-box:hover .main-image img {
  transform: scale(1.05);
}

.vision-image-box .experience-badge {
  position: absolute;
  right: 20px;
  bottom: 20px;
  width: 250px;
  background: var(--background-primary);
  border-radius: 15px;
  text-align: center;
  padding: 20px 15px;
  box-shadow: var(--shadow-medium);
  z-index: 1;
}

.vision-image-box .experience-badge h3 {
  font-size: 20px;
  line-height: 1.3;
  color: var(--text-primary);
  font-weight: 500;
  margin: 0;
}

.vision-image-box .experience-badge h3 span {
  font-size: 30px;
  font-weight: 700;
  color: var(--hrv-orange);
  margin-right: 5px;
}

.vision-image-box .shape-element {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
}

.vision-image-box .shape-1 {
  width: 200px;
  height: 200px;
  background: rgba(239, 114, 31, 0.1);
  left: -50px;
  top: -50px;
}

.vision-image-box .shape-2 {
  width: 120px;
  height: 120px;
  background: rgba(0, 58, 112, 0.1);
  right: 50px;
  top: 50px;
}

.vision-content {
  position: relative;
  padding-left: 30px;
}

.vision-content .text-content {
  margin-bottom: 30px;
}

.vision-content .text-content p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 15px;
}

/* Enhanced CTA box spacing */
.vision-content .cta-box {
  margin-top: 1.2rem; /* Increased from 30px for better button spacing */
}


/* ===== VIRTUAL MODEL SECTION ===== */
.virtual-model-section {
  position: relative;
}

.model-step-block {
  position: relative;
  margin-bottom: 50px;
  padding: 30px;
  border-radius: 15px;
  background-color: var(--background-primary);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.5s ease;
  overflow: hidden;
}

/* Default hover effect line (for steps 1, 3, 5) */
.model-step-block:before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 5px;
  height: 0;
  background: var(--theme-gradient);
  transition: all 0.5s ease;
}

/* Right-side hover effect for even steps (2, 4) */
.model-step-block:nth-child(even):before {
  left: auto;
  right: 0;
}

/* Animation effect for both left and right hover lines */
.model-step-block:hover:before {
  height: 100%;
}

/* Adjust the key-benefit border for even steps */
.model-step-block:nth-child(even) .key-benefit {
  border-left: none;
  border-right: 3px solid var(--hrv-orange);
  border-radius: 5px 0 0 5px;
}

.model-step-block:last-child {
  margin-bottom: 0;
}

.model-step-block:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.model-step-content {
  position: relative;
  padding: 20px 0;
}

.model-step-content .step-number {
  display: inline-block;
  width: 60px;
  height: 60px;
  line-height: 60px;
  text-align: center;
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
  background: var(--theme-gradient);
  border-radius: 50%;
  margin-bottom: 20px;
  box-shadow: 0 5px 15px rgba(239, 114, 31, 0.3);
  transition: all 0.3s ease;
}

.model-step-block:hover .step-number {
  transform: scale(1.1);
}

.model-step-content h3 {
  font-size: 24px;
  line-height: 1.3;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 15px;
}

.model-step-content p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.model-step-content .key-benefit {
  position: relative;
  padding: 15px 20px;
  background-color: rgba(239, 114, 31, 0.1);
  border-left: 3px solid var(--hrv-orange);
  border-radius: 0 5px 5px 0;
  margin-top: 20px;
  transition: all 0.3s ease;
}

.model-step-block:hover .key-benefit {
  background-color: rgba(239, 114, 31, 0.15);
}

.model-step-content .key-benefit .benefit-label {
  font-weight: 600;
  color: var(--hrv-orange);
  display: block;
  margin-bottom: 5px;
}

.model-step-content .key-benefit p {
  margin-bottom: 0;
  font-size: 15px;
}

.model-step-content .features-list {
  margin-bottom: 20px;
}

.model-step-content .features-list ul {
  list-style: none;
  padding-left: 0;
}

.model-step-content .features-list ul li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 10px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-secondary);
}

.model-step-content .features-list ul li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--hrv-orange);
  font-weight: 700;
}

.model-step-image {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow-light);
  margin-top: 15px;
  margin-bottom: 15px;
}

.model-step-image img {
  width: 100%;
  border-radius: 15px;
  transition: transform 0.5s ease;
}

.model-step-block:hover .model-step-image img {
  transform: scale(1.05);
}

/* Ensure responsive behavior */
@media only screen and (max-width: 767px) {
  /* On mobile, keep hover effect on left for all steps for consistency */
  .model-step-block:nth-child(even):before {
    left: 0;
    right: auto;
  }
  
  /* Reset the key-benefit styling for mobile */
  .model-step-block:nth-child(even) .key-benefit {
    border-left: 3px solid var(--hrv-orange);
    border-right: none;
    border-radius: 0 5px 5px 0;
  }
}

/* ===== WHY MODEL SECTION - IMPROVED ===== */
.why-model-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #0c0c10 0%, #121518 100%);
  padding-top: var(--section-padding-lg);
  padding-bottom: var(--section-padding-lg);
  color: #fff;
}

.hexagon-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='49' viewBox='0 0 28 49'%3E%3Cg fill-rule='evenodd'%3E%3Cg id='hexagons' fill='%23ef721f' fill-opacity='0.08' fill-rule='nonzero'%3E%3Cpath d='M13.99 9.25l13 7.5v15l-13 7.5L1 31.75v-15l12.99-7.5zM3 17.9v12.7l10.99 6.34 11-6.35V17.9l-11-6.34L3 17.9zM0 15l12.98-7.5V0h-2v6.35L0 12.69v2.3zm0 18.5L12.98 41v8h-2v-6.85L0 35.81v-2.3zM15 0v7.5L27.99 15H28v-2.31h-.01L17 6.35V0h-2zm0 49v-8l12.99-7.5H28v2.31h-.01L17 42.15V49h-2z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.15;
  z-index: 0;
}

.why-model-image-container {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

.why-model-image {
  position: relative;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.5s ease;
  height: 100%;
  min-height: 450px;
}

.why-model-image img {
  width: 600px;
  height: 600px;
  object-fit: cover;
  transition: all 0.5s ease;
}

.why-model-image:hover img {
  transform: scale(1.02);
}

.why-model-image .shape-element {
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(239, 114, 31, 0.2);
  right: -50px;
  bottom: -50px;
  z-index: 1;
}

.floating-badge {
  position: absolute;
  right: -30px;
  top: 32px;
  background: var(--theme-gradient);
  color: white;
  padding: 10px 20px;
  border-radius: 5px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transform: rotate(40deg);
  z-index: 2;
}

.floating-badge .badge-content {
  display: flex;
  align-items: center;
}

.floating-badge .badge-icon {
  font-size: 20px;
  margin-right: 10px;
}

.why-model-content {
  position: relative;
  padding-left: 30px;
  color: #f0f0f0;
}

/* Enhanced model intro with better line height */
.model-intro {
  font-size: 17px;
  line-height: 1.8; /* Increased from 1.7 for better readability */
  margin-bottom: 30px;
  position: relative;
  padding-bottom: 20px;
  color: #f0f0f0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.benefits-list {
  margin-top: 30px;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 25px;
  transition: all 0.3s ease;
  padding: 5px 0;
  position: relative;
}

.benefit-item:hover {
  transform: translateX(10px);
}

.benefit-item:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 70px;
  width: calc(100% - 70px);
  height: 1px;
  background: rgba(255, 255, 255, 0.05);
}

.benefit-item:last-child:after {
  display: none;
}

/* Improved icon alignment */
.benefit-icon {
  background: var(--theme-gradient);
  min-width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-right: 20px;
  box-shadow: 0 5px 15px rgba(239, 114, 31, 0.3);
  flex-shrink: 0; /* Prevents icon from shrinking */
  align-self: flex-start; /* Better baseline alignment */
}

.benefit-icon i {
  font-size: 22px;
  color: white;
}

.benefit-content {
  flex: 1; /* Takes remaining space */
  padding-top: 2px; /* Better text alignment with icon */
}

.benefit-content h3 {
  font-size: 20px;
  margin-bottom: 8px;
  font-weight: 600;
  color: #fff;
  line-height: 1.3;
}

.benefit-content p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0;
  font-size: 15px;
  line-height: 1.6;
}

/* Making sure the section works on mobile */
@media (max-width: 991px) {
  .why-model-image {
    min-height: 350px;
    margin-bottom: 40px;
  }
  
  .why-model-content {
    padding-left: 0;
  }
}

/* ===== TEAM SECTION ===== */
.team-section {
  position: relative;
  overflow: hidden;
}

.team-section .pattern-layer {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.team-section .pattern-1 {
  position: absolute;
  left: 0;
  top: -200px;
  width: 1300px;
  height: 1300px;
  background-repeat: no-repeat;
  background-position: center;
  z-index: -1;
  margin: 0 auto;
  right: 0;
}

.team-section .pattern-2 {
  position: absolute;
  top: -200px;
  right: 60px;
  width: 490px;
  height: 490px;
  z-index: -2;
  animation: zoomInOut 8s infinite;
}

.team-image {
  position: relative;
  display: block;
}

.team-image .main-image {
  position: relative;
  display: block;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: var(--shadow-heavy); /* Enhanced shadow for depth */
  transition: all 0.5s ease;
}

.team-image .main-image img {
  width: 100%;
  border-radius: 30px;
  transition: transform 0.5s ease;
}

.team-image:hover .main-image {
  box-shadow: var(--shadow-xl); /* Enhanced hover shadow */
}

.team-image:hover .main-image img {
  transform: scale(1.05);
}

.team-image .icon-box {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 150px;
  height: 150px;
  background: #fff;
  border-radius: 30px 0 30px 0;
  padding: 15px;
  box-shadow: var(--shadow-medium); /* Added shadow for consistency */
}

.team-image .icon-box .icon {
  position: relative;
  display: inline-block;
  width: 120px;
  height: 120px;
  line-height: 120px;
  border: 1px solid var(--border-dark);
  border-radius: 25px 0 25px 0;
  font-size: 50px;
  text-align: center;
  box-shadow: 5px 5px 0 0 var(--border-dark);
}

.team-content {
  position: relative;
  display: block;
  padding-left: 30px;
}

.team-expertise-list {
  list-style: none;
  padding-left: 0;
  margin-top: 20px;
  margin-bottom: 20px;
}

.team-expertise-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 15px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-secondary);
  transition: all 0.3s ease;
}

.team-expertise-list li:hover {
  transform: translateX(5px);
}

.team-expertise-list li:before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--hrv-orange);
  font-size: 20px;
  font-weight: bold;
}

/* ===== GLOBAL PRESENCE SECTION ===== */
.global-presence-section {
  position: relative;
  background-color: var(--background-tertiary);
}

.country-card {
  background-color: var(--background-primary);
  padding: 25px 15px;
  border-radius: 15px;
  text-align: center;
  box-shadow: var(--shadow-light);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-bottom: 3px solid transparent;
  position: relative;
  overflow: hidden;
}

/* Enhanced hover effects */
.country-card:hover {
  transform: translateY(-12px) scale(1.05); /* Enhanced hover with scale */
  box-shadow: var(--shadow-heavy); /* Stronger shadow on hover */
  border-bottom: 3px solid var(--hrv-orange);
}

.country-card img.country-flag {
  height: 60px;
  width: auto;
  margin-bottom: 15px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.country-card:hover img.country-flag {
  transform: scale(1.1);
}

.country-card h4 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.country-card p {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 0;
}

/* New expertise labels */
.expertise-label {
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: var(--theme-gradient);
  color: white;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  opacity: 0;
  transition: all 0.3s ease;
  white-space: nowrap;
  z-index: 10;
}

.country-card:hover .expertise-label {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ===== COMMITMENT SECTION ===== */
.commitment-section {
  position: relative;
  background: linear-gradient(135deg, var(--background-primary) 0%, var(--background-secondary) 100%);
}

.commitment-content {
  position: relative;
  padding-right: 30px;
}

/* Enhanced CTA subheading */
.cta-subheading {
  font-size: 20px;
  font-weight: 600;
  color: var(--hrv-orange);
  margin-bottom: 20px;
  line-height: 1.4;
}

.commitment-image {
  position: relative;
  margin-top: 30px;
  padding-left: 24px; /* Increased spacing between image and CTA */
}

.commitment-image .main-image {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow-heavy); /* Enhanced shadow for depth */
  transition: all 0.5s ease;
}

.commitment-image .main-image img {
  width: 100%;
  border-radius: 15px;
  transition: transform 0.5s ease;
}

.commitment-image:hover .main-image {
  box-shadow: var(--shadow-xl); /* Enhanced hover shadow */
}

.commitment-image:hover .main-image img {
  transform: scale(1.05);
}

.commitment-image .shape-element {
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(0, 58, 112, 0.1);
  left: -50px;
  bottom: -50px;
  z-index: -1;
}

/* ===== GLOBAL OFFICES SECTION ===== */
.global-offices-section {
  position: relative;
}

.office-location-card {
  background-color: var(--background-primary);
  border-radius: 15px;
  box-shadow: var(--shadow-light);
  padding: 30px 20px;
  text-align: center;
  transition: all 0.3s ease;
  height: 100%;
}

.office-location-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-medium);
}

.location-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--theme-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  transition: all 0.3s ease;
}

.office-location-card:hover .location-icon {
  transform: rotate(6deg) scale(1.1);
}

.location-icon i {
  font-size: 28px;
  color: white;
}

.office-location-card h3 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--text-primary);
}

.office-location-card p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 0;
}

.office-location-card a {
  color: var(--hrv-blue);
  transition: all 0.3s ease;
  display: inline-block;
}

.office-location-card a:hover {
  color: var(--hrv-orange);
  transform: translateY(-2px);
}

.contact-card {
  background: linear-gradient(135deg, var(--background-primary) 70%, rgba(239, 114, 31, 0.1) 100%);
  border-left: 4px solid var(--hrv-orange);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes zoomInOut {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

/* ===== MOBILE RESPONSIVENESS IMPROVEMENTS ===== */
@media only screen and (max-width: 767px) {
  .office-location-card {
    padding: 10px 7px;
  }
  
  .location-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 15px;
  }
  
  .office-location-card h3 {
    font-size: 13px;
    margin-bottom: 8px;
  }
  
  .office-location-card p {
    font-size: 15px;
    line-height: 1.4;
    overflow: hidden;
  }
  /* Mobile CTA improvements */
  .commitment-section .row {
    text-align: center;
  }

  .commitment-content {
    padding-right: 0;
    margin-bottom: 30px;
  }

  .commitment-image {
    padding-left: 0;
  }

  /* Mobile country cards - better spacing */
  .country-card {
    margin-bottom: 20px;
  }
}

/* ===== DARK THEME SPECIFIC OVERRIDES ===== */
[data-theme="dark"] .model-step-block,
[data-theme="dark"] .metric-block .inner-box,
[data-theme="dark"] .country-card,
[data-theme="dark"] .office-location-card,
[data-theme="dark"] .benefit-card {
  box-shadow: var(--shadow-medium);
}

[data-theme="dark"] .model-step-content .key-benefit {
  background-color: rgba(239, 114, 31, 0.15);
}

[data-theme="dark"] .vision-image-box .shape-1,
[data-theme="dark"] .why-model-image .shape-element {
  background: rgba(239, 114, 31, 0.15);
}

[data-theme="dark"] .vision-image-box .shape-2,
[data-theme="dark"] .commitment-image .shape-element {
  background: rgba(0, 114, 188, 0.15);
}

[data-theme="dark"] .contact-card {
  background: linear-gradient(135deg, var(--background-primary) 70%, rgba(239, 114, 31, 0.2) 100%);
}

/* ===== RESPONSIVE STYLES ===== */
@media only screen and (max-width: 1200px) {
  :root {
    --section-padding-lg: 100px;
    --section-padding-md: 80px;
  }
  
  .sec-title h2 {
    font-size: 36px;
  }
  
  .hero-banner h1 {
    font-size: 42px;
  }
  
  .vision-content,
  .why-model-content,
  .team-content,
  .commitment-content {
    padding-left: 0;
    padding-right: 0;
    margin-top: 30px;
  }
  
  .benefits-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}

@media only screen and (max-width: 991px) {
  :root {
    --section-padding-lg: var(--mobile-section-padding-lg);
    --section-padding-md: var(--mobile-section-padding-md);
    --section-padding-sm: var(--mobile-section-padding-sm);
  }
  
  .sec-title h2 {
    font-size: 32px;
  }
  
  .hero-banner {
    padding: 120px 0 80px;
  }
  
  .hero-banner h1 {
    font-size: 32px;
  }
  
  .hero-banner .subtitle {
    font-size: 18px;
  }
  
  .vision-image-box {
    padding-bottom: 0;
    margin-bottom: 30px;
  }
  
  .vision-image-box .experience-badge {
    position: relative;
    right: 0;
    bottom: 0;
    width: 100%;
    margin-top: 20px;
  }
  
  .model-step-block {
    margin-bottom: 30px;
    padding: 25px 20px;
  }
  
  .model-step-content {
    margin-bottom: 20px;
  }
  
  .model-step-block .flex-column-reverse {
    margin-bottom: 0;
  }
  
  .team-image {
    margin-bottom: 40px;
  }
  
  .team-image .icon-box {
    width: 120px;
    height: 120px;
  }
  
  .team-image .icon-box .icon {
    width: 90px;
    height: 90px;
    line-height: 90px;
    font-size: 40px;
  }
  
  .commitment-content {
    margin-bottom: 30px;
  }
  
 
  
  .metric-block .count-outer {
    font-size: 40px;
  }
  
  .metric-block .count-outer .symbol {
    font-size: 25px;
  }
  
  .metric-block h4 {
    font-size: 16px;
  }
  
  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .floating-badge {
    display: none;
  }
}

@media only screen and (max-width: 767px) {
  :root {
    --section-padding-lg: var(--mobile-section-padding-md);
    --section-padding-md: var(--mobile-section-padding-sm);
    --section-padding-sm: var(--mobile-section-padding-xs);
  }
  
  .sec-title {
    margin-bottom: 30px;
  }
  
  .sec-title h2 {
    font-size: 28px;
  }
  
  .hero-banner {
    padding: 100px 0 70px;
  }
  
  .hero-banner h1 {
    font-size: 28px;
  }
  
  .hero-banner .subtitle {
    font-size: 16px;
  }
  
  .model-step-block {
    padding: 20px 15px;
  }
  
  .model-step-content .step-number {
    width: 50px;
    height: 50px;
    line-height: 50px;
    font-size: 20px;
    margin-bottom: 15px;
  }
  
  .model-step-content h3 {
    font-size: 22px;
  }
  
  .benefit-item {
    margin-bottom: 20px;
    padding-bottom: 20px;
  }
  
  .team-expertise-list li {
    font-size: 15px;
  }
  
  .country-card {
    margin-bottom: 15px;
    padding: 20px 10px;
  }
  
  .office-location-card {
    padding: 25px 15px;
  }
  
  .key-statement {
    font-size: 20px;
    margin: 20px 0;
  }
  
  .curve-top, .curve-bottom {
    height: 50px;
    transform: translateY(-25px);
  }
  
  .curve-bottom {
    transform: translateY(25px);
  }
}

@media only screen and (max-width: 575px) {
  .sec-title h2 {
    font-size: 24px;
  }
  
  .hero-banner {
    padding: 80px 0 60px;
  }
  
  .hero-banner h1 {
    font-size: 24px;
  }
  
  .hero-banner .subtitle {
    font-size: 15px;
  }
  
  .btn-one, .btn-two {
    padding: 12px 25px;
    font-size: 14px;
    width: 100%;
    text-align: center;
  }
  
  .model-step-content h3 {
    font-size: 20px;
  }
  
  .model-step-content p {
    font-size: 15px;
  }
  
  .team-image .icon-box {
    width: 100px;
    height: 100px;
  }
  
  .team-image .icon-box .icon {
    width: 80px;
    height: 80px;
    line-height: 70px;
    font-size: 30px;
  }
  
  p {
    font-size: 15px;
    line-height: 1.6;
  }
  
  .model-step-content .features-list ul li {
    font-size: 15px;
  }
  
  .office-location-card h3 {
    font-size: 20px;
  }
  
  .office-location-card p {
    font-size: 12px;
  }
  

  .metric-block .count-outer {
    font-size: 36px;
    margin-bottom: 10px;
  }
  
  .metric-block .count-outer .symbol {
    font-size: 22px;
  }
  
  .metric-block h4 {
    font-size: 14px;
  }
  
  .benefit-card {
    padding: 20px 15px;
  }
  
  .benefit-icon {
    width: 50px;
    height: 50px;
  }
  
  .benefit-icon i {
    font-size: 22px;
  }
  
  .benefit-card h3 {
    font-size: 18px;
  }

  .why-model-image img {
    height: auto;
    object-fit: cover;
    transition: all 0.5s ease;
  }
}

/* About Page Theme Compatibility Enhancements */

/* Improved section backgrounds with theme-aware colors */
.vision-section {
  background-color: var(--background-primary);
}

.virtual-model-section {
  background: linear-gradient(180deg, var(--background-primary) 0%, var(--background-secondary) 100%);
}

/* Ensure proper text contrast in both themes */
.vision-content .text-content p,
.model-step-content p,
.commitment-content p,
.team-content p {
  color: var(--text-secondary);
}

.sec-title h2 {
  color: var(--text-primary);
}

/* Hero banner overlay adjustment for better readability in both themes */
.page-title .bg-layer:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--overlay-color);
  z-index: 1;
}

.page-title .content-box {
  position: relative;
  z-index: 2;
}

/* Enhanced contrast for benefit items in dark theme */
[data-theme="dark"] .benefit-item .benefit-content h3 {
  color: var(--text-primary);
}

[data-theme="dark"] .benefit-item .benefit-content p {
  color: var(--text-secondary);
}

/* Image containers with subtle borders in dark theme */
[data-theme="dark"] .model-step-image,
[data-theme="dark"] .vision-image-box .main-image,
[data-theme="dark"] .team-image .main-image,
[data-theme="dark"] .commitment-image .main-image {
  border: 1px solid var(--border-color);
}

/* Special handling for the model-step-content key benefit section */
[data-theme="dark"] .model-step-content .key-benefit {
  background-color: rgba(239, 114, 31, 0.15);
  border-left: 3px solid var(--hrv-orange);
}

/* Why Our Model Section - dark theme enhancements */
[data-theme="dark"] .why-model-section {
  background: linear-gradient(180deg, #121518 0%, #1a1e24 100%);
}

[data-theme="dark"] .hexagon-background {
  opacity: 0.08;
}

/* Ensure theme compatibility for office location cards */
.office-location-card {
  background-color: var(--background-primary);
  color: var(--text-primary);
}

[data-theme="dark"] .office-location-card.contact-card {
  background: linear-gradient(135deg, var(--background-tertiary) 70%, rgba(239, 114, 31, 0.2) 100%);
}

[data-theme="dark"] .funfact-block-two .inner-box h4 {
  color: var(--text-primary);
}

/* Ensure proper contrast for list items in dark theme */
[data-theme="dark"] .team-expertise-list li,
[data-theme="dark"] .model-step-content .features-list ul li {
  color: var(--text-secondary);
}

/* Global Presence Section adjustments */
[data-theme="dark"] .global-presence-section.bg-light {
  background-color: var(--background-tertiary);
}

[data-theme="dark"] .country-card h4 {
  color: var(--text-primary);
}

[data-theme="dark"] .country-card p {
  color: var(--text-secondary);
}

/* Enhance visibility of the experience badge in dark theme */
[data-theme="dark"] .vision-image-box .experience-badge {
  background: var(--background-tertiary);
  box-shadow: var(--shadow-medium);
}

[data-theme="dark"] .vision-image-box .experience-badge h3 {
  color: var(--text-primary);
}

/* Adjust the team section icon box for dark theme */
[data-theme="dark"] .team-image .icon-box {
  background: var(--background-tertiary);
}

[data-theme="dark"] .team-image .icon-box .icon {
  border-color: var(--border-color);
  box-shadow: 5px 5px 0 0 var(--border-dark);
}

/* Enhanced hover effects that work in both themes */
.model-step-block:hover,
.country-card:hover,
.office-location-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-heavy);
}

/* Floating badge adjustments for dark theme */
[data-theme="dark"] .floating-badge {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

/* Image and section transitions for smoother theme switching */
.model-step-image img,
.vision-image-box .main-image img,
.team-image .main-image img,
.commitment-image .main-image img,
.why-model-image img,
.country-flag,
.funfact-block-two .inner-box,
.benefit-item,
.office-location-card {
  transition: all var(--transition-base);
}