/* iFSP Website - Services Page CSS */
/* This file contains styles specific to the services page */

/* Services Page Content - SERVICES SPECIFIC */
.services-content {
    padding: 100px 0;
    background: White;
}

.about-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 80px;
    align-items: start;
}

.about-text h2 {
    font-size: 2.5rem;
    font-weight: 300;
    color: #2c3e50;
    margin-bottom: 30px;
}

.about-text h3 {
    font-size: 1.5rem;
    font-weight: 500;
    color: #00231f;
    margin: 40px 0 20px;
}

.about-text p {
    font-size: 16px;
    line-height: 1.8;
    color: #5a6c7d;
    margin-bottom: 20px;
}

.about-stats {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.stat-item {
    text-align: center;
    margin-bottom: 40px;
}

.stat-item:last-child {
    margin-bottom: 0;
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    color: #00231f;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 14px;
    color: #5a6c7d;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Values Section - ABOUT SPECIFIC */
.values {
    padding: 100px 0;
    background: white;
}

.values h2 {
    font-size: 2.5rem;
    font-weight: 300;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 80px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.value-item {
    text-align: center;
    padding: 40px 20px;
}

.value-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.value-item h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #00231f;
    margin-bottom: 15px;
}

.value-item p {
    color: #5a6c7d;
    line-height: 1.6;
}

/* Team Section - ABOUT SPECIFIC */
.team {
    padding: 100px 0;
    background: #f8f9fa;
}

.team h2 {
    font-size: 2.5rem;
    font-weight: 300;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 80px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.team-member {
    background: white;
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
}

.team-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    background: #ddd;
}

.team-member h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #00231f;
    margin-bottom: 10px;
}

.team-role {
    color: #f4a444;
    font-weight: 500;
    margin-bottom: 15px;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
}

.team-member p:last-child {
    color: #5a6c7d;
    line-height: 1.6;
}

/* Services Hero Section - SERVICES SPECIFIC */
.services-hero {
    position: relative;
    background: #00231f;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.services-hero .hero-image-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('Images-services/services-hero-image.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.services-hero .hero-image-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.15);
    z-index: 2;
}

.services-hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 1200px;
    padding: 80px 40px;
    background: none;
}

.hero-text-overlay {
    position: relative;
    z-index: 2;
    background: none;
}

.hero-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 15px;
    font-weight: 300;
}

.services-title {
    font-size: 3.5rem;
    font-weight: 200;
    color: white;
    line-height: 1.1;
    margin-bottom: 0;
}

.services-text-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    max-width: 1000px;
    margin: 0 auto;
}

.services-text-left p,
.services-text-right p {
    font-size: 16px;
    line-height: 1.8;
    color: #5a6c7d;
    margin-bottom: 0;
    text-align: justify;
}

.services-text-left p strong,
.services-text-right p strong {
    color: #000000;
    font-weight: 500;
}

.service-areas {
    padding: 100px 0;
    background: white;
}

.service-areas h2 {
    font-size: 2.5rem;
    font-weight: 300;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 40px;
}

.title-divider {
    width: 18%;
    max-width: 225px;
    height: 32px;
    margin: 0 auto 120px;
    position: relative;
    background: #0d192c;
    padding: 8px 0;
    display: flex;
    align-items: center;
    transition: width 3s ease-out, max-width 3s ease-out;
}

.title-divider.animate {
    width: 60%;
    max-width: 750px;
}

.title-divider::before {
    content: '';
    position: absolute;
    top: 8px;
    bottom: 8px;
    left: 0;
    right: 0;
    background: white;
}

.title-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 8px;
    background: #c25b31;
    transform: translateY(-50%);
    z-index: 1;
}

/* Service Category Sections */
.service-category {
    margin-bottom: 80px;
}

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

/* Dark background sections - edge to edge */
.service-category-dark {
    background-color: #0d192c;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    padding-left: calc(50vw - 50%);
    padding-right: calc(50vw - 50%);
    padding-top: 80px;
    padding-bottom: 80px;
    margin-bottom: 80px;
}

.service-category-dark .category-title {
    color: #fff;
    text-align: center;
}

.service-category-dark .category-description {
    color: #fff;
}

.service-category-dark .service-item h3,
.service-category-dark .service-item p {
    color: #fff;
}

.service-category-dark .service-icon {
    background-color: #fff;
}

.category-title {
    font-size: 18px;
    font-weight: 600;
    color: #00231f;
    margin-bottom: 20px;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-align: center;
}

.category-description {
    font-size: 14px;
    color: #5a6c7d;
    line-height: 1.6;
    margin-bottom: 20px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 40px auto 0;
}

.services-grid-two {
    grid-template-columns: repeat(2, 1fr);
    max-width: 800px;
}

.service-item {
    text-align: center;
    padding: 30px 20px;
    transition: transform 0.3s ease;
}

.service-item:hover {
    transform: translateY(-5px) !important;
}

.service-icon {
    margin-bottom: 20px;
    width: 60px;
    height: 60px;
    background-color: #d8e2f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
}

.service-icon img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.service-item h3 {
    font-size: 14px;
    font-weight: 600;
    color: #00231f;
    margin-bottom: 15px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.service-item p {
    font-size: 14px;
    color: #5a6c7d;
    line-height: 1.6;
}

.service-principles {
    padding: 100px 0 160px 0;
    background: White;
}

.principles-title {
    font-size: 2.5rem;
    font-weight: 300;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 60px;
}

.principles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    max-width: 1000px;
    margin: 0 auto;
}

.principle-item {
    text-align: left;
    padding: 0;
}

.principle-item h3 {
    font-size: 18px;
    font-weight: 600;
    color: #00231f;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

.principle-item p {
    font-size: 14px;
    color: #5a6c7d;
    line-height: 1.7;
}

/* CTA Section - ABOUT SPECIFIC (if needed) */
.cta {
    padding: 100px 0;
    background: #00231f;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 300;
    color: white;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
}

/* Mobile Responsive - SERVICES SPECIFIC */
@media (max-width: 768px) {
    .services-hero-content {
        padding: 40px 25px;
        max-width: 100%;
    }
    
    .services-title {
        font-size: 2.2rem;
        font-weight: 200;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 15px;
        margin-bottom: 45px;
    }
    
    .services-hero {
        min-height: 100vh;
    }
    
    .services-text-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .services-content {
        padding: 60px 20px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .services-grid-two {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .category-title {
        font-size: 18px;
    }
    
    .service-item h3 {
        font-size: 13px;
    }
    
    .category-description {
        font-size: 13px;
    }
    
    .principles-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .service-principles {
        padding: 80px 20px;
    }
}

@media (max-width: 480px) {
    .services-hero-content {
        padding: 20px 15px;
        min-height: auto;
    }
    
    .services-title {
        font-size: 1.6rem;
        font-weight: 200;
        line-height: 1.1;
        margin-bottom: 10px;
    }
    
    .hero-subtitle {
        font-size: 14px;
        margin-bottom: 15px;
    }
    
    .services-hero {
        min-height: 100vh;
    }
    
    .services-content {
        padding: 40px 15px;
    }
    
    .services-text-content {
        gap: 20px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid-two {
        grid-template-columns: 1fr;
    }
    
    .category-title {
        font-size: 18px;
    }
    
    .service-item h3 {
        font-size: 12px;
    }
    
    .category-description {
        font-size: 12px;
    }
    
    .principles-grid {
        grid-template-columns: 1fr;
    }
    
    .service-principles {
        padding: 60px 15px;
    }
}