/* assets/css/services.css */

/* Reusable Section Heading Styles */
.section-heading {
    font-size: 1.875rem;
    font-weight: 400;
    color: var(--accent-blue);
    margin-bottom: 10px;
    text-align: center;
}
.section-subtitle {
    font-size: 1rem;
    font-weight: 400;
    color: #555; /* Using a slightly darker grey for better contrast */
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

/* --- Hero Section (Services Page Specific) - UPDATED --- */
.hero-section {
    position: relative;
    width: 100%;
    height: 280px;
    background-image: url('../images/our-servcies.png'); /* Kept the services page background */
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    padding: 20px;
}
.hero-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 1;
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}
.hero-content h1 {
    font-size: 2.8rem;
    font-weight: 700;
    color: white; /* Explicitly set color for hero */
    margin-bottom: 10px;
}
.hero-content p {
    font-size: 1.15rem;
    font-weight: 400;
    opacity: 0.9;
}

/* --- Services Section --- */
.new-services-section {
    padding: 80px 20px;
    background-color: #f0f2f5;
}
.new-services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}
.new-service-card {
    background-color: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}
.new-service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
}
.new-service-card .card-image-wrapper {
    width: 100%;
    height: 300px;
    overflow: hidden;
}
.new-service-card .card-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.new-service-card .card-content {
    padding: 25px 20px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}
.new-service-card .card-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #0d2d6d;
}

/* --- OEM & ODM Process Section --- */
.oem-odm-section {
    padding: 80px 20px;
    background-color: #ffffff;
    text-align: center;
}
.section-title {
    color: #20479e;
    font-size: 2.5rem;
    margin-bottom: 15px;
}
.process-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}
.process-card {
    background-color: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.process-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
}
.process-card .card-image-wrapper {
    overflow: hidden;
}
.process-card .card-image-wrapper img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}
.process-card:hover .card-image-wrapper img {
    transform: scale(1.05);
}
.process-card .card-content {
    padding: 20px;
    text-align: center;
    background-color: #ffffff;
    border-top: 1px solid #f0f0f0;
}
.process-card .card-content p {
    font-size: 1.125rem;
    font-weight: 600;
    color: #0d2d6d;
}

/* --- Formula Modulation Section --- */
.formula-modulation-section {
    padding: 80px 20px;
    background-color: #20479E;
    color: #ffffff;
    text-align: center;
}
.formula-modulation-section .section-title {
    color: #ffffff;
}
.formula-modulation-section .section-subtitle {
    color: #ffffff;
}
.steps-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px 20px;
    max-width: 1200px;
    margin: 0 auto;
}
.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.step-item img {
    height: 80px;
    width: 80px;
    object-fit: contain;
    margin-bottom: 20px;
    background-color: transparent;
}
.step-item .step-label {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
.step-item .step-description {
    font-size: 1rem;
    line-height: 1.4;
}

/* --- CTA Section --- */
.cta-section {
    position: relative;
    padding: 80px 20px;
    background: url(https://manilifestyle.com/wp-content/uploads/2025/07/Contact_2_Us_V1.png) no-repeat center center;
    background-size: cover;
    text-align: center;
}
.cta-box {
    background-color: rgba(17, 61, 145, 0.95);
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
    border-radius: 8px;
    color: white;
}
.cta-title {
    font-size: 2rem;
    line-height: 1.2;
    font-weight: 600;
    margin-bottom: 30px;
}
.cta-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}
.cta-buttons .btn {
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 250px;
}
.btn-primary { background-color: white; color: #113D91; border: 1px solid white; }
.btn-secondary { background-color: transparent; color: white; border: 1px solid white; }
.btn:hover { opacity: 0.9; }

/* --- Media Queries --- */
@media (min-width: 768px) {
    .section-heading { font-size: 2.25rem; }
    .hero-section { height: 350px; }
    .hero-content h1 { font-size: 3.5rem; }
    .new-services-grid { grid-template-columns: repeat(2, 1fr); }
    .process-grid { grid-template-columns: repeat(2, 1fr); }
    .steps-grid { grid-template-columns: repeat(3, 1fr); }
    .cta-buttons { flex-direction: row; justify-content: center; }
    .cta-buttons .btn { width: auto; }
}

@media (min-width: 1024px) {
    .section-heading { font-size: 2.75rem; }
    .hero-section { height: 420px; }
    .hero-content h1 { font-size: 4rem; }
    .new-services-grid { grid-template-columns: repeat(4, 1fr); }
    .process-grid { grid-template-columns: repeat(3, 1fr); }
    .steps-grid { grid-template-columns: repeat(6, 1fr); }
    .formula-modulation-section .section-title { font-size: 3rem; }
}