/* Custom Services Page Styles - Tech & Professional Look */
:root {
    --tech-blue-primary: #0d6efd;
    --tech-blue-dark: #0a58ca;
    --tech-bg-light: #f8f9fa;
    --tech-text-dark: #212529;
    --tech-text-muted: #6c757d;
    --tech-card-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    --tech-card-hover-shadow: 0 15px 30px rgba(13, 110, 253, 0.15);
}

/* Overview Section */
#overview-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

#overview-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 100%;
    background: url('../images/bg/tech-new-bg.jpg') no-repeat right center; /* Placeholder for a tech pattern if available */
    opacity: 0.1;
}

.overview-counter-box {
    text-align: center;
    padding: 20px;
    border-right: 1px solid #dee2e6;
}

.overview-counter-box:last-child {
    border-right: none;
}

.overview-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--tech-blue-primary);
    margin-bottom: 5px;
}

.overview-label {
    font-size: 1rem;
    color: var(--tech-text-muted);
    font-weight: 500;
}

.cert-logos img {
    max-height: 50px;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s;
}

.cert-logos img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* Enhanced Service Cards */
.service-area {
    background: #fff;
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: var(--tech-card-shadow);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
    border: 1px solid rgba(0,0,0,0.03);
    position: relative;
    overflow: hidden;
}

.service-area:hover {
    transform: translateY(-10px);
    box-shadow: var(--tech-card-hover-shadow);
    border-color: rgba(13, 110, 253, 0.2);
}

.service-area::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--tech-blue-primary);
    transition: width 0.3s ease;
}

.service-area:hover::after {
    width: 100%;
}

.service-content i {
    font-size: 40px;
    color: var(--tech-blue-primary);
    margin-bottom: 25px;
    background: rgba(13, 110, 253, 0.1);
    width: 80px;
    height: 80px;
    line-height: 80px;
    text-align: center;
    border-radius: 50%;
    transition: all 0.3s;
}

.service-area:hover .service-content i {
    background: var(--tech-blue-primary);
    color: #fff;
    transform: rotateY(180deg);
}

.service-content h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--tech-text-dark);
}

.service-content p {
    color: var(--tech-text-muted);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 25px;
}

.read-more-btn {
    display: inline-flex;
    align-items: center;
    color: var(--tech-blue-primary);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.read-more-btn i {
    margin-left: 5px;
    font-size: 12px;
    transition: margin-left 0.3s;
    background: none !important;
    width: auto !important;
    height: auto !important;
    color: inherit !important;
}

.read-more-btn:hover i {
    margin-left: 10px;
}

/* Success Cases (Project Area) Refinement */
#project {
    background: #fff;
}

.project-item {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--tech-card-shadow);
    margin-bottom: 30px;
    transition: all 0.3s;
}

.project-item:hover {
    box-shadow: var(--tech-card-hover-shadow);
}

.p-content {
    background: #fff;
    padding: 20px;
    border-top: none;
}

.p-content h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 5px;
}

.p-content h5 {
    font-size: 14px;
    color: var(--tech-blue-primary);
    font-weight: 500;
}

/* Contact Form Section */
#contact-section {
    background: linear-gradient(to right, #0d6efd, #0a58ca);
    color: #fff;
    padding: 80px 0;
}

.contact-wrapper {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.contact-info-side {
    background: #001f3f; /* Dark Navy */
    padding: 40px;
    color: #fff;
    height: 100%;
}

.contact-info-side h3 {
    color: #fff;
    margin-bottom: 20px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.contact-info-item i {
    font-size: 20px;
    color: var(--tech-blue-primary);
    margin-right: 15px;
    margin-top: 5px;
}

.form-side {
    padding: 40px;
}

.form-control {
    border-radius: 5px;
    padding: 12px 15px;
    border: 1px solid #e9ecef;
    background: #f8f9fa;
    margin-bottom: 20px;
}

.form-control:focus {
    border-color: var(--tech-blue-primary);
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
    background: #fff;
}

.btn-submit {
    background: var(--tech-blue-primary);
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    width: 100%;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-submit:hover {
    background: var(--tech-blue-dark);
}

/* Typography & General */
.section-header h3 {
    color: var(--tech-blue-primary);
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 16px;
    margin-bottom: 10px;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 800;
    color: var(--tech-text-dark);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .overview-counter-box {
        border-right: none;
        border-bottom: 1px solid #dee2e6;
    }
    
    .contact-wrapper .row {
        flex-direction: column;
    }
    
    .contact-info-side, .form-side {
        width: 100%;
    }
}
