/* Services Page Styles - Clean & Professional */

/* Services Modal */
.services-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: none;
  animation: modalFadeIn 0.3s ease;
}

.services-modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
}

.modal-container {
  position: relative;
  background: #ffffff;
  border-radius: 20px;
  padding: 40px;
  max-width: 800px;
  width: 90%;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: modalSlideIn 0.4s ease;
}

.modal-header {
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.modal-close {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 44px;
  height: 44px;
  background: #162c6b;
  color: white;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 18px;
  transition: all 0.3s ease;
}

.modal-close:hover {
  background: #1f3a8a;
  transform: rotate(90deg) scale(1.1);
}

.modal-header h2 {
  font-size: 36px;
  color: #162c6b;
  margin-bottom: 10px;
  font-weight: 700;
}

.modal-header p {
  color: #64748b;
  font-size: 18px;
}

.modal-content {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.service-detail {
  background: #f9fbfe;
  border-radius: 16px;
  padding: 30px;
  border: 2px solid #e2e8f0;
  transition: all 0.3s ease;
}

.service-detail:hover {
  border-color: #1f3a8a;
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.service-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #1f3a8a, #133C72);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: white;
  font-size: 24px;
}

.service-detail h3 {
  font-size: 20px;
  color: #162c6b;
  margin-bottom: 10px;
  font-weight: 600;
}

.service-detail p {
  color: #64748b;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.service-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-features span {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #4a5568;
}

.service-features i {
  color: #1f3a8a;
  font-size: 12px;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-30px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Services Hero */
.services-hero {
  background: linear-gradient(135deg, #0b2a6f 0%, #1f3a8a 100%);
  padding: 50px 5% 70px;
  text-align: center;
  color: white;
}

.services-hero h1 {
  font-size: 42px;
  margin-bottom: 20px;
  font-weight: 700;
}

.services-hero p {
  font-size: 18px;
  max-width: 700px;
  margin: 0 auto 30px;
  opacity: 0.9;
  line-height: 1.6;
}

/* Main services container */
.services-container {
  padding: 80px 5%;
  max-width: 1400px;
  margin: 0 auto;
}
/* Grid Setup: 3 cards first row, 2 cards second */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
  justify-items: center;
}

/* Card Style */
.service-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  transition: all 0.4s ease;
  width: 100%;
  max-width: 350px;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

/* Icon */
.service-icon {
  height: 90px;
  width: 90px;
  background: linear-gradient(135deg, #0b2a6f 0%, #1f3a8a 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 20px auto 10px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
  transition: transform 0.3s ease;
}

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

.service-icon i {
  font-size: 32px;
  color: white;
}

/* Content */
.service-content {
  padding: 20px;
  text-align: center;
}

.service-content h3 {
  font-size: 21px;
  color: #1e293b;
  font-weight: 600;
  margin-bottom: 12px;
}

.service-content p {
  font-size: 15px;
  color: #4a5568;
  line-height: 1.6;
  margin-bottom: 15px;
}

/* Features */
.service-features {
  list-style: none;
  padding: 0;
  margin: 15px 0;
  text-align: left;
}

.service-features li {
  display: flex;
  align-items: center;
  font-size: 14px;
  color: #1e293b;
  margin-bottom: 10px;
}

.service-features li i {
  color: linear-gradient(135deg, #0b2a6f 0%, #1f3a8a 100%);
  margin-right: 8px;
  font-size: 12px;
}

/* Button */
.service-btn {
  display: inline-block;
  padding: 10px 28px;
  border-radius: 50px;
  background: linear-gradient(135deg, #0b2a6f 0%, #1f3a8a 100%);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.service-btn:hover {
  background: transparent;
  color: #1a147c;
  border-color: #1b1768;
}

/* Responsive Grid: 3+2 Layout */
@media screen and (min-width: 992px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .services-grid .service-card:nth-child(n+4) {
    grid-column: span 1;
  }
}

@media screen and (max-width: 991px) {
  .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}


.process-section {
  background: #f9fbfe;
  padding: 80px 5%;
  margin-top: 60px;
}

.section-title {
  text-align: center;
  color: #162c6b;
  font-size: 36px;
  margin-bottom: 50px;
  font-weight: 600;
}

/* Process items - keeping your original class names */
.process-item-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.process__item {
  flex: 1;
  min-width: 300px;
  max-width: 350px;
  text-align: center;
}

.process__image {
  position: relative;
  margin-bottom: 20px;
}

.process__image img {
  width: 100%;
  border-radius: 12px;
}

.process-number {
  position: absolute;
  top: -15px;
  left: -15px;
  width: 40px;
  height: 40px;
  background: #1f3a8a;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 18px;
}

.process__content h4 {
  color: #162c6b;
  font-size: 20px;
  margin-bottom: 10px;
}

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

.mt-25 {
  margin-top: 25px;
}

.mb-10 {
  margin-bottom: 10px;
}

.cta-section {
  background: linear-gradient(135deg, #1f3a8a, #0b2a6f);
  padding: 80px 5%;
  text-align: center;
  color: white;
  margin-top: 60px;
  border-radius: 20px;
}

.cta-section h2 {
  font-size: 32px;
  margin-bottom: 20px;
}

.cta-section p {
  font-size: 18px;
  max-width: 700px;
  margin: 0 auto 30px;
  opacity: 0.9;
}

.cta-btn {
  display: inline-block;
  background: white;
  color: #1f3a8a;
  padding: 14px 40px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
}

.cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Active Link */
.nav-links a.active {
  color: #1f3a8a;
  font-weight: 600;
  position: relative;
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background: #1f3a8a;
  border-radius: 2px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .services-hero h1 {
    font-size: 32px;
  }
  
  .services-hero {
    padding: 80px 5% 40px;
  }
  
  .services-container {
    padding: 50px 5%;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .section-title {
    font-size: 28px;
  }
  
  .process-item-container {
    flex-direction: column;
    align-items: center;
  }
  
  .process__item {
    min-width: 100%;
  }
  
  .cta-section h2 {
    font-size: 26px;
  }
}
.services-images {
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.services-images img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
}
.services-images:hover {
   transform: translateY(-10px);
}

