/* Services Page Specific Styles */


/* Services Section */
.services-section {
    padding: 80px 0;
    background: #f8f9fa;
}

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

/* Service Card */
.service-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 4px solid var(--primary-color);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

/* Service Image */
.service-image {
    height: 250px;
    overflow: hidden;
    position: relative;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

/* Service Content */
.service-content {
    padding: 30px;
}

.service-title {
    font-size: var(--font-size-xl);
    font-weight: 300;
    color: var(--primary-color);
    margin: 0 0 15px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.service-description {
    font-size: var(--font-size-base);
    color: #555;
    line-height: var(--line-height-relaxed);
    margin: 0 0 25px 0;
    font-weight: 500;
}

/* Service Details */
.service-detail h2 {
    font-size: var(--font-size-lg);
    font-weight: 300;
    color: #333;
    margin: 25px 0 10px 0;
    text-transform: none;
    letter-spacing: 0.3px;
}

.service-detail h3 {
    font-size: calc(var(--font-size-xl) * 0.6);
    font-weight: 300;
    color: #333;
    margin: 25px 0 10px 0;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.service-details h4 {
    font-size: var(--font-size-lg);
    font-weight: 300;
    color: #333;
    margin: 25px 0 10px 0;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.service-details p {
    font-size: var(--font-size-sm);
    color: #666;
    line-height: var(--line-height-relaxed);
    margin: 0 0 15px 0;
}

.service-detail ul {
    margin: 15px 0 20px 0;
    padding-left: 25px;
}

.service-details li {
    font-size: var(--font-size-sm);
    color: #666;
    line-height: var(--line-height-relaxed);
    margin-bottom: 8px;
    position: relative;
}

.service-details li::marker {
    color: var(--primary-color);
}

/* CTA Section */
.cta-section {
    padding: 30px 0;
    background: linear-gradient(135deg, var(--primary-color));
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: var(--font-size-3xl);
    font-weight: 300;
    margin: 0 0 20px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-content p {
    font-size: var(--font-size-lg);
    margin: 0 0 30px 0;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-btn {
    display: inline-block;
    padding: 15px 40px;
    background: white;
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 6px;
    font-size: var(--font-size-base);
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cta-btn:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .services-section {
        padding: 60px 0;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .intro-content h1 {
        font-size: var(--font-size-2xl);
    }
    
    .intro-content p {
        font-size: var(--font-size-base);
    }
    
    .service-card {
        margin: 0 10px;
    }
    
    .service-image {
        height: 200px;
    }
    
    .service-content {
        padding: 25px 20px;
    }
    
    .service-title {
        font-size: var(--font-size-lg);
    }
    
    .service-description {
        font-size: var(--font-size-sm);
    }
    
    .service-details h4 {
        font-size: var(--font-size-base);
    }
    
    .service-details p,
    .service-details li {
        font-size: var(--font-size-xs);
    }
    
    .cta-section {
        padding: 60px 0;
    }
    
    .cta-content h2 {
        font-size: var(--font-size-2xl);
    }
    
    .cta-content p {
        font-size: var(--font-size-base);
    }
    
    .cta-btn {
        padding: 12px 30px;
        font-size: var(--font-size-sm);
    }
}

@media (max-width: 480px) {
    .services-section {
        padding: 40px 0;
    }
    
    .intro-content h1 {
        font-size: var(--font-size-xl);
    }
    
    .intro-content p {
        font-size: var(--font-size-sm);
    }
    
    .service-content {
        padding: 20px 15px;
    }
    
    .service-image {
        height: 180px;
    }
    
    .service-title {
        font-size: var(--font-size-base);
        margin-bottom: 10px;
    }
    
    .service-description {
        margin-bottom: 20px;
    }
    
    .service-details h4 {
        font-size: var(--font-size-sm);
        margin: 20px 0 8px 0;
    }
    
    .cta-section {
        padding: 50px 0;
    }
    
    .cta-content h2 {
        font-size: var(--font-size-xl);
        margin-bottom: 15px;
    }
    
    .cta-content p {
        font-size: var(--font-size-sm);
        margin-bottom: 25px;
    }
}

/* Services Sidebar Styles */
.service-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px;
    align-items: start;
}

.services-sidebar {
    background: white;
    border-radius: 8px;
    padding: 30px 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 100px;
}

.services-sidebar h3 {
    font-size: var(--font-size-lg);
    font-weight: 300;
    color: var(--primary-color);
    margin-bottom: 25px;
    text-align: left;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 15px;
}

.services-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.service-item {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 15px;
    border-radius: 8px;
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 80px;
    overflow: hidden;
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    transition: background 0.3s ease;
    z-index: 1;
}

.service-item:hover::before {
    background: rgba(0, 0, 0, 0.3);
}

.service-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.service-item.active {
    border-color: var(--primary-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.service-item.active::before {
    background: rgba(0, 0, 0, 0.4);
}

.service-item .service-image {
    display: none;
}

.service-item .service-name {
    position: relative;
    z-index: 2;
    font-size: var(--font-size-md);
    font-weight: 300;
    line-height: 1.3;
    text-align: center;
   
}

/* Responsive Design for Services Sidebar */
@media (max-width: 1024px) {
    .service-layout {
        grid-template-columns: 250px 1fr;
        gap: 30px;
    }
    
    .services-sidebar {
        padding: 25px 15px;
    }
    
    .service-item {
        padding: 18px 12px;
        min-height: 70px;
    }
    
    .service-item .service-name {
        font-size: var(--font-size-xs);
    }
}

@media (max-width: 768px) {
    .service-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .services-sidebar {
        position: static;
        order: -1;
    }
    
    .services-list {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 15px;
    }
    
    .service-item {
        padding: 30px 20px;
        min-height: 100px;
    }
    
    .service-item .service-name {
        font-size: var(--font-size-sm);
    }
}

/* Service Content with Image Layout */
.service-content-with-image {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: center;
    margin: 30px 0;
}

.service-text-left {
    padding-right: 15px;
}

.service-image-right {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 400px;
    overflow: hidden;
}

.service-image-right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.service-image-right img:hover {
    transform: scale(1.05);
}

.service-content-full {
    margin: 20px 0;
}

.service-content-full p {
    font-size: var(--font-size-base);
    color: #666;
    line-height: var(--line-height-relaxed);
    margin: 0 0 15px 0;
}

/* Responsive Design for Image Layout */
@media (max-width: 768px) {
    .service-content-with-image {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .service-text-left {
        padding-right: 0;
    }
    
    .service-image-right {
        order: -1;
        height: 320px;
    }
    
    .service-image-right img {
        max-width: none;
    }
}

/* Two Column Lists Layout */
.two-column-lists {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin: 30px 0;
}

.column-left,
.column-right {
    display: flex;
    flex-direction: column;
}

/* Responsive Design for Two Column Lists */
@media (max-width: 768px) {
    .two-column-lists {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}