#services {
  padding: 80px 0;
  background: #f5f8fc;
  font-family: Arial, sans-serif;
}

#services .container {
  width: 100%;
  max-width: 1200px;
  margin: auto;
  padding: 0 15px;
  box-sizing: border-box;
}

#services .head {
  text-align: center;
  margin-bottom: 45px;
}

#services .label {
  color: #f47721;
  font-weight: 700;
  letter-spacing: 2px;
  font-size: 13px;
}

#services .head h2 {
  color: #123765;
  font-size: 36px;
  margin: 12px 0;
}

#services .head p {
  color: #68758a;
  font-size: 16px;
}

/* Service Grid */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch;
}

/* Service Card */
.service-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e7edf4;
  transition: 0.35s ease;
  box-shadow: 0 5px 20px rgba(18, 55, 101, 0.06);

  display: flex;
  flex-direction: column;
  min-height: 480px;
  height: auto;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(18, 55, 101, 0.13);
}

/* Service Image */
.service-img {
  width: 100%;
  height: 280px;
  overflow: hidden;
  flex-shrink: 0;
}

.service-img a {
  display: block;
  width: 100%;
  height: 100%;
}

.service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: 0.5s ease;
}

.service-card:hover .service-img img {
  transform: scale(1.08);
}

/* Service Number */
.service-number {
  color: #f47721;
  font-size: 14px;
  font-weight: 700;
}

/* Service Content */
.service-content {
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1;
}

/* Heading Link */
.service-content > a:first-child {
  display: block;
  text-decoration: none;
  margin: 0;
}

.service-content h3 {
  color: #123765;
  font-size: 21px;
  margin: 30px 0 5px;
  line-height: 1.4;
}

/* Paragraph */
.service-content p {
  color: #697586;
  font-size: 14px;
  line-height: 1.7;
  margin: 5px 0;
}

/* Read More Link */
.service-content > a:last-child {
  display: inline-block;
  margin-top: auto;
  margin-bottom: 16px;
  padding-top: 5px;
  color: #f47721;
  text-decoration: none;
  font-weight: 700;
  transition: 0.3s ease;
  white-space: nowrap;
}

.service-content > a:last-child:hover {
  color: #123765;
}

/* Tablet Responsive */
@media (max-width: 900px) {
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
  }

  .service-img {
    height: 260px;
  }
}

/* Mobile Responsive */
@media (max-width: 600px) {
  #services {
    padding: 55px 0;
  }

  #services .head h2 {
    font-size: 27px;
  }

  .service-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .service-card {
    min-height: auto;
  }

  .service-img {
    height: 250px;
  }

  .service-content {
    padding: 18px 20px;
  }

  .service-content h3 {
    font-size: 19px;
  }
}

/* Main Grid Section */
.gridcol {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  align-items: start;
  width: 100%;
  padding: 40px 0;
  box-sizing: border-box;
}

/* Image */
.singleimage {
  width: 100%;
  height: 500px;
  overflow: hidden;
  border-radius: 10px;
}

.singleimage img {
  width: 98%;
  height: 98%;
  border: 8px solid orange;
  object-fit: cover;
  display: block;
  border-radius: 10px;
  margin: 10px;
}

/* Description */
.description {
  width: 100%;
  min-width: 0;
}

.description h2 {
  font-size: 26px;
  color: #123765;
  margin: 0 0 20px;
  line-height: 1.4;
}

/* Responsive Table Wrapper */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* Table */
.description table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid #545353;
}

.description table th,
.description table td {
  padding: 12px 15px;
  border: 1px solid #ddd;
  text-align: left;
  font-size: 15px;
  line-height: 1.5;
}

.description table th {
  color: rgb(92, 88, 88);
  font-weight: 500;
}

.description table td {
  color: #444;
  background: #fff;
}

.description table tr:nth-child(even) td {
  background: #f5f8fc;
}

/* Paragraph */
.description p {
  font-size: 15px;
  line-height: 1.8;
  color: #555;
  margin-top: 18px;
}

/* Tablet Responsive */
@media (max-width: 992px) {
  .gridcol {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .singleimage img {
    height: 300px;
  }

  .description h2 {
    font-size: 22px;
  }
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .gridcol {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 25px 0;
  }

  .singleimage img {
    height: auto;
    min-width: 400px;
    max-height: 400px;
    object-fit: contain;
  }

  .description h2 {
    font-size: 22px;
    margin-bottom: 15px;
  }

  .description table {
    min-width: 400px;
  }

  .description table th,
  .description table td {
    padding: 10px;
    font-size: 14px;
  }

  .description p {
    font-size: 14px;
    padding: 15px;
  }
  .singleimage {
    width: 100%;
    height: 250px;
    overflow: hidden;
    border-radius: 10px;
  }
}
.quote-btn {
  display: inline-block;
  padding: 13px 30px;
  background: transparent;
  color: #ffffff;
  border: 2px solid #f47721;
  background:orange;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  display: block;
  width: fit-content;
  margin: 20px auto;
}

.quote-btn:hover {
  border-color: #f47721;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(244, 119, 33, 0.25);
}
