/* ========================================
   SERVICES SECTION STYLES
   Component: Services Section
   ======================================== */

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

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

@media (max-width: 600px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
}

.service-card {
    background: #f1f1f1;
    padding: 10px;
    border-radius: 2px;
  //  box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
    text-align: center;
    position: relative;
    overflow: hidden;
  //  border: 2px solid rgba(37, 99, 235, 0.15);
}

@media (max-width: 768px) {
    .service-card {
        padding: 30px 25px;
    }
}

@media (max-width: 480px) {
    .service-card {
        padding: 25px 20px;
    }
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
 //   background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(147, 51, 234, 0.05));
    opacity: 0;
    z-index: -1;
}

.service-card:hover::before {
    opacity: 1;
}



.service-card > * {
    position: relative;
    z-index: 1;
}

.service-icon {
    width: 100%;
    height: 150px;
    /* background: linear-gradient(135deg, var(--secondary), #fb923c); */
    /* border-radius: 20px; */
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin: 0 auto 16px;
    /* box-shadow: 0 8px 25px rgba(249, 115, 22, 0.4); */
    /* transition: all 0.3s
ease; */
    overflow: hidden;
}

.service-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Fill the container, cropping if needed */
}



.service-title {
    font-size: 1.2rem;
    color: #0637d7;
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 1.3;
	text-shadow: 1px 1px 1px rgb(121 121 121 / 43%);
}

body.th .service-title {
    font-size: 1.2rem;
    line-height: 1.5;
}

body.zh .service-title {
    font-size: 1.4rem;
}

.service-desc {
    color: var(--gray);
    line-height: 1.7;
    font-size: 1rem;
    text-align: left;
}

body.th .service-desc {
    font-size: 1rem;
    line-height: 1.8;
}

/* Service Description Formatted Content */
.service-desc p {
    margin-bottom: 10px;
}

.service-desc p:last-child {
    margin-bottom: 0;
}

.service-desc strong,
.service-desc b {
    color: var(--dark);
    font-weight: 700;
}

.service-desc em,
.service-desc i {
    font-style: italic;
}

.service-desc ul,
.service-desc ol {
    padding-left: 20px;
    margin: 10px 0;
}

.service-desc ul li,
.service-desc ol li {
    margin-bottom: 5px;
    line-height: 1.6;
}

.service-desc ul li {
    list-style-type: disc;
}

.service-desc ol li {
    list-style-type: decimal;
}

.service-desc a {
    color: var(--primary);
    text-decoration: none;
    border-bottom: 1px solid var(--primary);
    transition: all 0.3s ease;
}

.service-desc a:hover {
    color: var(--secondary);
    border-bottom-color: var(--secondary);
}

.service-desc blockquote {
    border-left: 3px solid var(--primary);
    padding-left: 15px;
    margin: 10px 0;
    font-style: italic;
    color: #666;
}
