
/* Enhanced Our Offices Section */
.benefits-section {
  padding: 80px 0;
  background: #ffffff;
  position: relative;
  overflow: hidden;
}

/* Subtle background pattern */
.benefits-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(90deg, transparent 79px, rgba(21, 84, 219, 0.03) 81px, rgba(21, 84, 219, 0.03) 82px, transparent 84px),
    linear-gradient(rgba(21, 84, 219, 0.03) 79px, transparent 81px, transparent 82px, rgba(21, 84, 219, 0.03) 84px);
  background-size: 84px 84px;
  opacity: 0.3;
}

.benefits-section h2.section-title {
  text-align: center;
  font-size: 3rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 60px;
  position: relative;
  z-index: 2;
}

@keyframes backgroundMove {
  0%, 100% { 
    background-position: 0% 0%, 100% 100%;
    opacity: 0.7;
  }
  50% { 
    background-position: 100% 100%, 0% 0%;
    opacity: 1;
  }
}

/* Geometric accent elements */
.benefits-section::after {
  content: "";
  position: absolute;
  top: 20%;
  right: 10%;
  width: 200px;
  height: 200px;
  background: linear-gradient(45deg, rgba(59, 130, 246, 0.1), rgba(249, 115, 22, 0.1));
  border-radius: 50%;
  filter: blur(40px);
  animation: floatAccent 15s ease-in-out infinite;
}

@keyframes floatAccent {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-30px, -20px) scale(1.2); }
}

.benefits-section h2.section-title {
  text-align: center;
  font-size: 3rem;
  font-weight: 700;
  color: #000000;
  margin-bottom: 60px;
  position: relative;
  z-index: 2;
  /* text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3); */
}

.benefits-section h2.section-title .brand-blue {
  background: #015cb1;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  /* filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2)); */
}

/* .benefits-section h2.section-title::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #60a5fa, #f97316);
  border-radius: 2px;
  box-shadow: 0 2px 8px rgba(96, 165, 250, 0.3);
} */

/* Office Cards Grid - Equal Heights */
.offices-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.office-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
   border: 2px solid rgba(59, 130, 246, 0.2);
  border-radius: 20px;
  padding: 0;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  min-height: 320px;
}

.office-card-content {
  padding: 30px 25px;
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: space-between;
}

.office-card-header {
  flex-shrink: 0;
}

.office-card-body {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 15px 0;
}

.office-card-footer {
  flex-shrink: 0;
  margin-top: auto;
}

/* Card hover effects */
.office-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  background: rgba(255, 255, 255, 1);
}

/* Headquarters special styling */
.office-card.headquarters {
  background: rgba(255, 255, 255, 0.98);
  border: 2px solid rgba(59, 130, 246, 0.2);
}

.office-card.headquarters:hover {
  border-color: rgba(59, 130, 246, 0.4);
  background: rgba(255, 255, 255, 1);
}

/* Office Icon Styling */
.office-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  transition: all 0.3s ease;
}

.office-card.headquarters .office-icon {
  background: linear-gradient(135deg, #3b82f6, #1e40af);
  color: white;
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

.office-card.regional .office-icon {
  background: linear-gradient(135deg, #f97316, #ea580c);
  color: white;
  box-shadow: 0 8px 25px rgba(249, 115, 22, 0.3);
}

.office-card:hover .office-icon {
  transform: scale(1.1);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
}

/* Office Text Styling */
.office-name {
  font-size: 1.2rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 10px;
  /* text-transform: uppercase; */
  letter-spacing: 0.5px;
}

.office-location {
  font-size: 1.1rem;
  font-weight: 600;
  color: #3b82f6;
  margin-bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.office-location::before {
  content: "📍";
  font-size: 0.9rem;
}

.office-address {
  font-size: 0.9rem;
  color: #64748b;
  line-height: 1.5;
  text-align: center;
}

.office-address strong {
  color: #1e293b;
  font-weight: 600;
  display: block;
  margin-bottom: 8px;
  font-size: 0.95rem;
}

/* Additional subtitle styling */
.section-subtitle {
  text-align: center;
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.8);
  margin-top: -40px;
  margin-bottom: 50px;
  position: relative;
  z-index: 2;
  font-style: normal;
  /* text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3); */
}

/* Responsive Design */
@media (max-width: 1200px) {
  .offices-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    max-width: 800px;
  }
  
  .office-card {
    min-height: 300px;
  }
  
  .office-card-content {
    padding: 25px 20px;
  }
}

@media (max-width: 768px) {
  .benefits-section {
    padding: 80px 0;
  }
  
  .benefits-section h2.section-title {
    font-size: 2.5rem;
    margin-bottom: 40px;
  }
  
  .offices-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 400px;
  }
  
  .office-card {
    min-height: 280px;
  }
  
  .office-card-content {
    padding: 25px 20px;
  }
  
  .office-icon {
    width: 60px;
    height: 60px;
    font-size: 1.8rem;
  }
  
  .office-name {
    font-size: 1.1rem;
  }
  
  .office-location {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .benefits-section h2.section-title {
    font-size: 2rem;
  }
  
  .office-card {
    border-radius: 16px;
    min-height: 260px;
  }
  
  .office-card-content {
    padding: 20px 15px;
  }
  
  .office-icon {
    width: 55px;
    height: 55px;
    font-size: 1.6rem;
    border-radius: 12px;
  }
  
  .office-name {
    font-size: 1rem;
  }
  
  .office-address {
    font-size: 0.85rem;
  }
}

/* Additional subtitle styling */
.section-subtitle {
  text-align: center;
  font-size: 1.2rem;
  color: #64748b;
  margin-top: -40px;
  margin-bottom: 50px;
  position: relative;
  z-index: 2;
  font-style:normal;
}