/* Services Page Styles */
.services-page {
  padding-top: 100px;
}

/* Services Hero Section */
.services-hero {
  background: linear-gradient(
      135deg,
      rgba(9, 58, 96, 0.9) 0%,
      rgba(9, 58, 96, 0.8) 100%
    ),
    url("../images/services-hero-bg.jpg") no-repeat center center;
  background-size: cover;
  color: white;
  padding: 80px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 50vh;
  position: relative;
}

.hero-content {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.hero-text {
  max-width: 800px;
  margin: 0 auto;
}

.services-hero .hero-text h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
  animation: fadeInUp 0.8s ease-out;
}

.services-hero .hero-text p {
  font-size: 1.2rem;
  line-height: 1.6;
  opacity: 0.9;
  margin-bottom: 3rem;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

/* Hero CTA */
.hero-cta {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.cta-button.secondary {
  background-color: transparent;
  border: 2px solid white;
  color: white;
}

.cta-button.secondary:hover {
  background-color: white;
  color: var(--dark-blue);
}

/* Service Section Base Styles */
.service-section {
  padding: 100px 0;
  position: relative;
}

.service-section:nth-child(even) {
  background-color: #f9fafc;
}

.service-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
  min-height: 600px;
}

.service-content.reversed {
  direction: rtl;
}

.service-content.reversed > * {
  direction: ltr;
}

/* Service Badge - Updated for Desktop */
.service-badge {
  display: inline-block;
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: linear-gradient(135deg, var(--golden) 0%, #d8b45c 100%);
  text-align: center;
}

/* Desktop: Keep height but reduce width to content */
@media (min-width: 769px) {
  .service-badge {
    padding: 0.5rem 1.2rem;
    width: auto;
    display: inline-block;
    background: linear-gradient(135deg, var(--golden) 0%, #d8b45c 100%);
    color: white;
    border-radius: 50px;
  }
}

.service-text {
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: space-between;
}

.service-text h2 {
  font-size: 2.8rem;
  color: var(--dark-blue);
  margin-bottom: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
}

.service-intro {
  font-size: 1.2rem;
  color: #666;
  line-height: 1.7;
  margin-bottom: 3rem;
}

/* Service Details */
.service-details {
  margin-bottom: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.detail-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  flex: 1;
  min-height: 120px;
}

.detail-item:last-child {
  margin-bottom: 0;
}

.detail-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.detail-item i {
  background: linear-gradient(135deg, var(--dark-blue) 0%, #0a4a7a 100%);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-right: 1.5rem;
  flex-shrink: 0;
}

.detail-item h4 {
  color: var(--dark-blue);
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.detail-item p {
  color: #666;
  line-height: 1.6;
  margin: 0;
}

/* Service CTA */
.service-cta {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.visual-cta {
  justify-content: center;
  margin-top: 2.5rem;
}

.cta-link {
  color: var(--dark-blue);
  font-weight: 600;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  padding: 0.8rem 1.5rem;
  border: 2px solid transparent;
  border-radius: 5px;
}

.cta-link.secondary {
  background: transparent;
  color: var(--dark-blue);
  border: 2px solid var(--dark-blue);
}

.cta-link.secondary:hover {
  background: var(--dark-blue);
  color: var(--golden);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(9, 58, 96, 0.3);
}

.cta-link i {
  transition: transform 0.3s ease;
}

.cta-link:hover i {
  transform: translateX(5px);
}

/* Service Visual */
.service-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: space-between;
}

.visual-container {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  flex: 1;
}

.service-image {
  width: 100%;
  height: 100%;
  min-height: 400px;
  object-fit: cover;
  display: block;
}

.floating-stats {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  display: flex;
  gap: 1rem;
}

.stat {
  background: rgba(255, 255, 255, 0.95);
  padding: 1rem 1.5rem;
  border-radius: 10px;
  text-align: center;
  backdrop-filter: blur(10px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.stat-number {
  display: block;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--dark-blue);
  line-height: 1;
  text-transform: uppercase;
}

.stat-label {
  font-size: 0.8rem;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Process Section - Updated Hierarchy */
.process-section {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--dark-blue) 0%, #0a4a7a 100%);
  color: white;
  display: flex;
  flex-direction: column;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.section-header p {
  font-size: 1.1rem;
  opacity: 0.9;
}

/* Process Tabs - Centered */
.tab-buttons {
  display: flex;
  justify-content: center;
  margin-bottom: 4rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  padding: 0.5rem;
  backdrop-filter: blur(10px);
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.tab-button {
  background: transparent;
  border: none;
  color: white;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  flex: 1;
  max-width: 200px;
}

.tab-button.active {
  background: var(--golden);
  color: var(--dark-blue);
}

.tab-button:hover:not(.active) {
  background: rgba(255, 255, 255, 0.1);
}

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Process Section - Updated with Dark Blue Background */
.process-section {
  background: linear-gradient(135deg, var(--dark-blue) 0%, #0a4a7a 100%);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
  color: white;
}

.process-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #cea54a, transparent);
}

.process-section .container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 4rem; /* Space between sections */
}

/* Section Header - At the Top */
.section-header {
  text-align: center;
  width: 100%;
  order: 1; /* Ensures it stays at top */
}

.section-subtitle {
  color: #cea54a;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 1rem;
  display: block;
}

.section-header h2 {
  font-size: 2.8rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.section-description {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Tab Buttons - In the Middle */
.tab-buttons {
  display: flex;
  justify-content: center;
  margin-bottom: 0;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  padding: 0.5rem;
  backdrop-filter: blur(10px);
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  border: 1px solid rgba(255, 255, 255, 0.2);
  order: 2; /* Ensures it stays in middle */
}

.tab-button {
  background: transparent;
  border: none;
  color: white;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  flex: 1;
  max-width: 200px;
  font-size: 1rem;
}

.tab-button.active {
  background: var(--golden);
  color: var(--dark-blue);
  box-shadow: 0 4px 15px rgba(206, 165, 74, 0.3);
}

.tab-button:hover:not(.active) {
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

/* Tab Content - At the Bottom */
.tab-content {
  width: 100%;
  order: 3; /* Ensures it stays at bottom */
}

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Process Steps */
.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  width: 100%;
}

.process-step {
  background: rgba(255, 255, 255, 0.1);
  padding: 3rem 2rem;
  border-radius: 16px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
}

.process-step::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #cea54a, #b8913a);
  border-radius: 16px 16px 0 0;
  opacity: 0;
  transition: all 0.4s ease;
}

.process-step:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  border-color: rgba(206, 165, 74, 0.3);
  background: rgba(255, 255, 255, 0.15);
}

.process-step:hover::before {
  opacity: 1;
}

.step-number {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #cea54a, #b8913a);
  color: var(--dark-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 2rem;
  position: relative;
  transition: all 0.4s ease;
}

.process-step:hover .step-number {
  transform: scale(1.1);
  background: linear-gradient(135deg, #093a60, #0a4a7a);
  color: white;
}

.step-icon {
  width: 90px;
  height: 90px;
  background: linear-gradient(
    135deg,
    rgba(206, 165, 74, 0.2),
    rgba(206, 165, 74, 0.1)
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  font-size: 2.2rem;
  color: #cea54a;
  transition: all 0.4s ease;
}

.process-step:hover .step-icon {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.2),
    rgba(255, 255, 255, 0.1)
  );
  color: white;
  transform: scale(1.05);
}

.step-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: white;
  margin-bottom: 1.2rem;
}

.step-description {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  margin-bottom: 1.8rem;
  font-size: 1rem;
}

.step-features {
  list-style: none;
  text-align: left;
}

.step-features li {
  padding: 0.6rem 0;
  color: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  font-size: 0.95rem;
}

.step-features li i {
  color: #cea54a;
  font-size: 0.9rem;
  margin-top: 0.3rem;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.process-step:hover .step-features li i {
  transform: scale(1.2);
  color: white;
}

/* Responsive Design for Process Section */
@media (max-width: 1024px) {
  .process-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .process-section .container {
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  .process-section {
    padding: 4rem 0;
  }

  .section-header h2 {
    font-size: 2.2rem;
  }

  .process-steps {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .process-step {
    padding: 2.5rem 1.5rem;
  }

  .tab-buttons {
    flex-direction: column;
    gap: 0.5rem;
    max-width: 300px;
  }

  .tab-button {
    max-width: none;
  }

  .process-section .container {
    gap: 2.5rem;
  }
}

@media (max-width: 576px) {
  .section-header h2 {
    font-size: 2rem;
  }

  .process-step {
    padding: 2rem 1.2rem;
  }

  .step-icon {
    width: 70px;
    height: 70px;
    font-size: 1.8rem;
  }

  .step-number {
    width: 60px;
    height: 60px;
    font-size: 1.3rem;
  }

  .process-section .container {
    gap: 2rem;
  }
}

/* Advertising Section Specific */
.advertising-section .service-highlights {
  margin-bottom: 3rem;
}

.highlight-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.highlight-item {
  text-align: center;
  padding: 2rem 1.5rem;
  background: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.highlight-item:hover {
  transform: translateY(-5px);
}

.highlight-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--dark-blue) 0%, #0a4a7a 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  margin: 0 auto 1.5rem;
}

.highlight-item h4 {
  color: var(--dark-blue);
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.highlight-item p {
  color: #666;
  line-height: 1.6;
  margin: 0;
}

.advertising-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  height: 100%;
}

.platform-badge {
  background: white;
  padding: 2rem 1rem;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  transition: transform 0.3s ease;
}

.platform-badge:hover {
  transform: translateY(-5px);
}

.platform-badge i {
  font-size: 2rem;
  color: var(--dark-blue);
}

.platform-badge span {
  font-weight: 600;
  color: var(--dark-blue);
}

/* Consultation Section Specific */
.consultation-areas {
  margin-bottom: 3rem;
}

.consultation-areas h3 {
  color: var(--dark-blue);
  margin-bottom: 2rem;
  font-size: 1.5rem;
}

.areas-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.area-item {
  padding: 1.5rem;
  background: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  border-left: 4px solid var(--golden);
}

.area-item h4 {
  color: var(--dark-blue);
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.area-item p {
  color: #666;
  line-height: 1.6;
  margin: 0;
}

.consultation-visual {
  display: grid;
  gap: 2rem;
  height: 100%;
}

.consultation-card {
  background: white;
  padding: 2.5rem 2rem;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease;
}

.consultation-card:hover {
  transform: translateY(-10px);
}

.consultation-card i {
  font-size: 3rem;
  color: var(--golden);
  margin-bottom: 1.5rem;
}

.consultation-card h4 {
  color: var(--dark-blue);
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.consultation-card p {
  color: #666;
  line-height: 1.6;
  margin: 0;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Design */
@media (max-width: 992px) {
  .services-hero .hero-text h1 {
    font-size: 2.5rem;
  }

  .service-content {
    grid-template-columns: 1fr;
    gap: 3rem;
    min-height: auto;
  }

  .service-text h2 {
    font-size: 2.3rem;
  }

  .highlight-grid,
  .areas-grid {
    grid-template-columns: 1fr;
  }

  .advertising-visual {
    grid-template-columns: 1fr;
  }

  .visual-cta {
    justify-content: flex-start;
  }

  .service-text,
  .service-visual {
    height: auto;
  }
}

@media (max-width: 768px) {
  .services-hero {
    padding: 60px 0;
    min-height: 40vh;
  }

  .services-hero .hero-text h1 {
    font-size: 2rem;
  }

  .hero-cta {
    flex-direction: column;
    align-items: center;
  }

  .cta-button {
    width: 100%;
    max-width: 250px;
    text-align: center;
  }

  .service-section {
    padding: 80px 0;
  }

  .service-text h2 {
    font-size: 2rem;
  }

  .detail-item {
    flex-direction: column;
    text-align: center;
    min-height: auto;
  }

  .detail-item i {
    margin-right: 0;
    margin-bottom: 1rem;
  }

  .process-step {
    flex-direction: column;
    text-align: center;
  }

  .tab-buttons {
    flex-direction: column;
    gap: 0.5rem;
  }

  .tab-button {
    max-width: none;
  }

  .service-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .visual-cta {
    align-items: center;
  }
}

@media (max-width: 576px) {
  .floating-stats {
    position: static;
    flex-direction: column;
    margin-top: 1rem;
  }

  .stat {
    width: 100%;
  }

  .consultation-visual {
    grid-template-columns: 1fr;
  }

  .cta-link {
    text-align: center;
    justify-content: center;
  }

  .visual-cta {
    margin-top: 2rem;
  }

  .service-content {
    min-height: auto;
  }
}

/* Service Details - Fix Mobile Icon Centering */
.service-details {
  margin-bottom: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.detail-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  flex: 1;
  min-height: 120px;
}

.detail-item:last-child {
  margin-bottom: 0;
}

.detail-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.detail-item i {
  background: linear-gradient(135deg, var(--dark-blue) 0%, #0a4a7a 100%);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-right: 1.5rem;
  flex-shrink: 0;
}

.detail-item h4 {
  color: var(--dark-blue);
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.detail-item p {
  color: #666;
  line-height: 1.6;
  margin: 0;
}

/* Mobile View - Center Icons and Text */
@media (max-width: 768px) {
  .detail-item {
    flex-direction: column;
    text-align: center;
    align-items: center;
    min-height: auto;
    padding: 2rem 1.5rem;
  }

  .detail-item i {
    margin-right: 0;
    margin-bottom: 1.5rem;
    width: 60px;
    height: 60px;
    font-size: 1.4rem;
  }

  .detail-item h4 {
    text-align: center;
    width: 100%;
    margin-bottom: 1rem;
  }

  .detail-item p {
    text-align: center;
    width: 100%;
  }

  /* Ensure both service sections have centered content */
  .service-content.reversed .detail-item,
  .service-content .detail-item {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .service-content.reversed .detail-item i,
  .service-content .detail-item i {
    margin-right: 0;
    margin-bottom: 1.5rem;
  }
}

/* Extra small devices */
@media (max-width: 576px) {
  .detail-item {
    padding: 1.5rem 1rem;
  }

  .detail-item i {
    width: 55px;
    height: 55px;
    font-size: 1.3rem;
  }

  .detail-item h4 {
    font-size: 1.1rem;
  }

  .detail-item p {
    font-size: 0.95rem;
  }
}

/* Process Section - Updated with Dark Blue Background */
.process-section {
  background: linear-gradient(135deg, var(--dark-blue) 0%, #0a4a7a 100%);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
  color: white;
}

.process-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #cea54a, transparent);
}

.process-section .container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 4rem; /* Space between sections */
}

/* Section Header - At the Top */
.section-header {
  text-align: center;
  width: 100%;
  order: 1; /* Ensures it stays at top */
}

.section-subtitle {
  color: #cea54a;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 1rem;
  display: block;
}

.section-header h2 {
  font-size: 2.8rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.section-description {
  font-size: 1.2rem;
  color: white;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Tab Buttons - In the Middle */
.tab-buttons {
  display: flex;
  justify-content: center;
  margin-bottom: 0;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  padding: 0.5rem;
  backdrop-filter: blur(10px);
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  border: 1px solid rgba(255, 255, 255, 0.2);
  order: 2; /* Ensures it stays in middle */
}

.tab-button {
  background: transparent;
  border: none;
  color: white;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  flex: 1;
  max-width: 200px;
  font-size: 1rem;
}

.tab-button.active {
  background: var(--golden);
  color: var(--dark-blue);
  box-shadow: 0 4px 15px rgba(206, 165, 74, 0.3);
}

.tab-button:hover:not(.active) {
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

/* Tab Content - At the Bottom */
.tab-content {
  width: 100%;
  order: 3; /* Ensures it stays at bottom */
}

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Process Steps */
.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  width: 100%;
}

.process-step {
  background: rgba(255, 255, 255, 0.1);
  padding: 3rem 2rem;
  border-radius: 16px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  align-items: center; /* Ensure all content is centered */
}

.process-step::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #cea54a, #b8913a);
  border-radius: 16px 16px 0 0;
  opacity: 0;
  transition: all 0.4s ease;
}

.process-step:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  border-color: rgba(206, 165, 74, 0.3);
  background: rgba(255, 255, 255, 0.15);
}

.process-step:hover::before {
  opacity: 1;
}

.step-number {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #cea54a, #b8913a);
  color: var(--dark-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 2rem;
  position: relative;
  transition: all 0.4s ease;
}

.process-step:hover .step-number {
  transform: scale(1.1);
  background: linear-gradient(135deg, #093a60, #0a4a7a);
  color: white;
}

.step-icon {
  width: 90px;
  height: 90px;
  background: linear-gradient(
    135deg,
    rgba(206, 165, 74, 0.2),
    rgba(206, 165, 74, 0.1)
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  font-size: 2.2rem;
  color: #cea54a;
  transition: all 0.4s ease;
}

.process-step:hover .step-icon {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.2),
    rgba(255, 255, 255, 0.1)
  );
  color: white;
  transform: scale(1.05);
}

.step-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: white;
  margin-bottom: 1.2rem;
  text-align: center;
  width: 100%;
}

.step-description {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  margin-bottom: 1.8rem;
  font-size: 1rem;
  text-align: center;
  width: 100%;
}

.step-features {
  list-style: none;
  text-align: center;
  width: 100%;
  padding: 0;
  margin: 0;
}

.step-features li {
  padding: 0.6rem 0;
  color: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  font-size: 0.95rem;
  text-align: center;
}

.step-features li i {
  color: #cea54a;
  font-size: 0.9rem;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.process-step:hover .step-features li i {
  transform: scale(1.2);
  color: white;
}

/* Responsive Design for Process Section */
@media (max-width: 1024px) {
  .process-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .process-section .container {
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  .process-section {
    padding: 4rem 0;
  }

  .section-header h2 {
    font-size: 2.2rem;
  }

  .process-steps {
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 500px;
    margin: 0 auto;
  }

  .process-step {
    padding: 2.5rem 1.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .step-number,
  .step-icon {
    margin-left: auto;
    margin-right: auto;
  }

  .step-title,
  .step-description {
    text-align: center;
  }

  .step-features {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .step-features li {
    justify-content: center;
    text-align: center;
  }

  .tab-buttons {
    flex-direction: column;
    gap: 0.5rem;
    max-width: 300px;
  }

  .tab-button {
    max-width: none;
  }

  .process-section .container {
    gap: 2.5rem;
  }
}

@media (max-width: 576px) {
  .section-header h2 {
    font-size: 2rem;
  }

  .process-step {
    padding: 2rem 1.2rem;
  }

  .step-icon {
    width: 70px;
    height: 70px;
    font-size: 1.8rem;
  }

  .step-number {
    width: 60px;
    height: 60px;
    font-size: 1.3rem;
  }

  .step-features li {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }

  .process-section .container {
    gap: 2rem;
  }
}

/* Extra small devices */
@media (max-width: 400px) {
  .process-step {
    padding: 1.5rem 1rem;
  }

  .step-title {
    font-size: 1.2rem;
  }

  .step-description {
    font-size: 0.9rem;
  }

  .step-features li {
    font-size: 0.9rem;
  }
}

/* Remove underlines from all button-style links */
.cta-button,
.cta-link,
.hero-cta-item,
.tab-button,
.service-link,
.cta-button-primary,
.cta-button-secondary {
  text-decoration: none !important;
}

/* Specific button styles to ensure no underlines */
.cta-button:hover,
.cta-link:hover,
.hero-cta-item:hover,
.tab-button:hover,
.service-link:hover,
.cta-button-primary:hover,
.cta-button-secondary:hover {
  text-decoration: none !important;
}

/* Remove or optimize these heavy operations */
.detail-item:hover {
  transform: translateY(-5px); /* Can cause repaints */
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Add will-change for better performance */
.detail-item {
  will-change: transform;
  transform: translateZ(0); /* Hardware acceleration */
}
