/* Service Pages Styling */
/* ====================== */
/* CTA Section Buttons */
.cta-section .btn-primary {
    padding: 12px 28px;
    font-size: 1rem;
    background: white;
    color: var(--primary-color);
    border: 2px solid white;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.cta-section .btn:hover {
    background-color: #e55a2b;
    border-color: #e55a2b;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.4);
}

.cta-section .btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-buttons {
    margin-top: 20px;
}
/* Service Hero Section */
/* ==================== */
.service-hero {
    padding: 100px 0 80px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.service-hero .container {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    flex: 1;
    padding-right: 40px;
}

.hero-content h1 {
    font-size: 3.2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content .lead {
    font-size: 1.3rem;
    color: #444;
    margin-bottom: 30px;
    max-width: 600px;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 4px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--dark-blue);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: rgba(30, 95, 168, 0.1);
    transform: translateY(-2px);
}

.hero-image {
    flex: 1;
    position: relative;
    z-index: 1;
}

.hero-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.hero-image img:hover {
    transform: scale(1.02);
}

/* ====================== */
/* Services Overview */
/* ================== */
.services-overview {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    position: relative;
    overflow: hidden;
}

.services-overview .section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.services-overview .section-header h2 {
    color: var(--primary-color);
    font-size: 2.8rem;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.services-overview .section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--secondary-color);
}

.services-overview .section-header p {
    color: #555;
    font-size: 1.2rem;
    line-height: 1.7;
    margin: 0 auto;
    max-width: 700px;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin: 50px auto 0;
    max-width: 1200px;
    width: 100%;
    align-items: stretch;
}

/* Service Card Styles */
.service-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    min-height: 100%;
}

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

.service-image {
    height: 200px;
    overflow: hidden;
}

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

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

.service-content {
    padding: 25px;
    padding-bottom: 15px;
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
}

.service-content h3 {
    color: var(--primary-color);
    font-size: 1.25rem;
    margin-bottom: 12px;
    font-weight: 600;
}

.service-content p {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
    min-height: 0;
}

.service-view-more-btn {
    display: block;
    padding: 12px 25px;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-color);
    margin: auto 25px 25px;
    text-align: center;
    box-sizing: border-box;
    width: calc(100% - 50px);
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}

.service-view-more-btn:hover {
    background: #2a6db8;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(30, 95, 168, 0.3);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .service-card {
        max-width: 100%;
    }
}

.service-card {
    background: #ffffff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    z-index: 1;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

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

.service-icon {
    background: linear-gradient(135deg, var(--primary-color), var(--dark-blue));
    color: white;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 40px auto 30px;
    font-size: 36px;
    box-shadow: 0 8px 20px rgba(30, 95, 168, 0.3);
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.service-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s ease;
    z-index: -1;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.service-card:hover .service-icon::after {
    opacity: 1;
    transform: scale(1.2);
}

.service-card h3 {
    text-align: center;
    color: var(--primary-color);
    margin: 0 25px 20px;
    font-size: 1.6rem;
    font-weight: 600;
    position: relative;
    padding-bottom: 15px;
}

.service-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background: var(--secondary-color);
    transition: width 0.3s ease;
}

.service-card:hover h3::after {
    width: 80px;
}

.service-card p {
    color: #555;
    padding: 0 30px 30px;
    text-align: center;
    flex-grow: 1;
    font-size: 1.05rem;
    line-height: 1.7;
    margin: 0;
    transition: color 0.3s ease;
}

.service-card:hover p {
    color: #333;
}

.learn-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    margin: 0 auto 40px;
    padding: 10px 25px;
    border: 2px solid var(--primary-color);
    border-radius: 30px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.learn-more::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--dark-blue));
    transition: width 0.3s ease;
    z-index: -1;
}

.learn-more:hover {
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(30, 95, 168, 0.3);
}

.learn-more:hover::before {
    width: 100%;
}

.learn-more i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.learn-more:hover i {
    transform: translateX(5px);
}

/* Responsive Styles for Services Overview */
@media (max-width: 1300px) {
    .service-cards {
        max-width: 1100px;
        gap: 20px;
    }
    
    .service-card h3 {
        font-size: 1.4rem;
    }
    
    .service-card p {
        font-size: 0.95rem;
        padding: 0 20px 20px;
    }
}

@media (max-width: 992px) {
    .service-cards {
        grid-template-columns: repeat(2, 1fr);
        max-width: 800px;
        margin: 50px auto 0;
        gap: 25px;
    }
    
    .services-overview .section-header h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .services-overview {
        padding: 80px 0;
    }
    
    .services-overview .section-header h2 {
        font-size: 2.2rem;
    }
    
    .services-overview .section-header p {
        font-size: 1.1rem;
        max-width: 90%;
        margin: 0 auto;
    }
    
    .service-cards {
        grid-template-columns: 1fr;
        max-width: 100%;
        padding: 0 20px;
    }
    
    .service-card {
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .services-overview .section-header h2 {
        font-size: 2rem;
    }
    
    .service-card {
        width: 100%;
    }
    
    .service-icon {
        width: 80px;
        height: 80px;
        font-size: 32px;
    }
}

/* ====================== */
/* Featured Services */
/* ================== */
.featured-services {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.featured-service {
    display: flex;
    align-items: center;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.featured-content {
    flex: 1;
    padding: 50px;
}

.service-tag {
    display: inline-block;
    background: var(--secondary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.featured-content h2 {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    line-height: 1.3;
}

.featured-content p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 30px;
    line-height: 1.7;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0 0 30px;
}

.service-features li {
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
}

.service-features i {
    color: var(--success-color);
    margin-right: 10px;
    margin-top: 4px;
    font-size: 1.1rem;
}

.featured-image {
    flex: 1;
    min-height: 500px;
    background-size: cover;
    background-position: center;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ====================== */
/* Why Choose Us */
/* ================== */
.why-choose-us {
    padding: 100px 0;
    background: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-box {
    text-align: center;
    padding: 40px 25px;
    border-radius: 8px;
    background: var(--light-gray);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--dark-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: white;
    font-size: 32px;
    box-shadow: 0 5px 15px rgba(30, 95, 168, 0.3);
}

.feature-box h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.feature-box p {
    color: #555;
    line-height: 1.6;
}

/* ====================== */
/* CTA Section */
/* ================== */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-color), var(--dark-blue));
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

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

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-section .btn-primary {
    background: white;
    color: var(--primary-color);
    border-color: white;
    padding: 15px 40px;
    font-size: 1.1rem;
}

.cta-section .btn-primary:hover {
    background: transparent;
    color: white;
}

/* ====================== */
/* Responsive Styles */
/* ================== */
@media (max-width: 1200px) {
    .hero-content h1 {
        font-size: 2.8rem;
    }
    
    .featured-service {
        flex-direction: column;
    }
    
    .featured-image {
        min-height: 400px;
        width: 100%;
    }
}

@media (max-width: 992px) {
    .service-hero .container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content {
        padding-right: 0;
        margin-bottom: 40px;
    }
    
    .cta-buttons {
        justify-content: center;
    }
    
    .featured-content {
        padding: 40px 30px;
    }
    
    .featured-content h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
    }
    
    .featured-content {
        padding: 30px 20px;
    }
    
    .featured-content h2 {
        font-size: 1.6rem;
    }
    
    .cta-section h2 {
        font-size: 2rem;
    }
    
    .service-card, .feature-box {
        padding: 25px 20px;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .cta-section h2 {
        font-size: 1.8rem;
    }
    
    .cta-section p {
        font-size: 1rem;
    }
}
:root {
    --primary-color: #1e5fa8;
    --secondary-color: #ff6b35;
    --text-color: #333;
    --light-bg: #f9f9f9;
    --white: #ffffff;
    --dark-blue: #0d47a1;
    --light-gray: #f5f7fa;
    --border-color: #e0e6ed;
    --success-color: #4caf50;
}

/* Base Styles */
body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-divider {
    width: 80px;
    height: 4px;
    background: var(--secondary-color);
    margin: 0 auto 20px;
}

.section-header p {
    font-size: 1.2rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

/* Page Header */
.page-header {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), 
                url('../img/electrical-bg.jpg') no-repeat center center/cover;
    color: var(--white);
    padding: 120px 0;
    text-align: center;
    position: relative;
}

.page-header h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

.hero-intro {
    font-size: 1.4rem;
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
}

/* Service Overview */
.service-section {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--light-gray);
}

.service-overview {
    display: flex;
    gap: 40px;
    align-items: center;
    margin-top: 40px;
}

.service-features {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 40px;
    overflow-x: auto;
    padding-bottom: 20px;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) #f0f0f0;
}

.service-features::-webkit-scrollbar {
    height: 8px;
}

.service-features::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 4px;
}

.service-features::-webkit-scrollbar-thumb {
    background-color: var(--primary-color);
    border-radius: 4px;
}

.feature {
    flex: 0 0 calc(33.333% - 14px);
    min-width: 300px;
    background: var(--white);
    border-radius: 10px;
    padding: 30px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.feature i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.feature h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.feature p {
    color: var(--text-light);
    line-height: 1.6;
}

.service-overview .service-image {
    flex: 1;
    min-width: 45%;
    height: 380px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

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

.service-overview .service-image:hover img {
    transform: scale(1.03);
}

.service-description {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    padding: 20px;
}

.service-description p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin: 0;
    color: #444;
    margin-bottom: 1.5rem;
}

/* Services Grid Section */
.services-grid-section {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.services-grid-section h2 {
    text-align: center;
    margin-bottom: 50px;
    color: var(--primary-color);
    font-size: 2.2rem;
    position: relative;
    padding-bottom: 15px;
}

.services-grid-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--accent-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 0;
    display: flex;
    flex-direction: column;
    height: 100%;
}

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

.service-card h3 {
    color: white;
    margin: 0;
    font-size: 1.3rem;
    padding: 20px;
    background-color: var(--primary-color);
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.service-card-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    flex-grow: 1;
}

.service-card li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    color: #555;
    line-height: 1.6;
}

.service-card li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

/* Why Choose Us */
.why-choose-us {
    padding: 80px 0;
    background: var(--light-gray);
}

.reasons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.reason {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.reason:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.reason-icon {
    width: 80px;
    height: 80px;
    background: rgba(30, 95, 168, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: var(--primary-color);
    font-size: 32px;
    transition: all 0.3s ease;
}

.reason:hover .reason-icon {
    background: var(--primary-color);
    color: var(--white);
    transform: rotateY(180deg);
}

.reason h3 {
    color: var(--primary-color);
    margin: 20px 0 15px;
    font-size: 1.4rem;
}

.reason p {
    color: #666;
    line-height: 1.7;
    margin: 0;
}

/* Safety & Compliance */
.safety-compliance {
    padding: 80px 0;
    background: var(--white);
    position: relative;
}

.safety-content {
    display: flex;
    align-items: stretch; /* Make both columns same height */
    gap: 50px;
    position: relative;
}

.safety-text {
    flex: 1;
    padding: 40px 0; /* Add some vertical padding */
}

.safety-text h2 {
    color: var(--primary-color);
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.compliance-list {
    list-style: none;
    padding: 0;
    margin: 25px 0;
}

.compliance-list li {
    padding: 10px 0 10px 35px;
    position: relative;
    margin-bottom: 10px;
    color: #444;
}

.compliance-list li i {
    color: var(--success-color);
    position: absolute;
    left: 0;
    top: 12px;
    font-size: 1.2rem;
}



.safety-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    position: relative;
    transition: transform 0.5s ease;
    flex-shrink: 0;
    min-width: 100%;
    min-height: 100%;
}

.safety-image:hover img {
    transform: scale(1.03);
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .safety-content {
        flex-direction: column;
    }
    
    .safety-image {
        width: 100%;
        min-height: 400px;
        margin-top: 30px;
        height: auto;
    }
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-blue) 100%);
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../img/pattern.png') repeat;
    opacity: 0.1;
    z-index: 1;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--white);
    line-height: 1.3;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
    cursor: pointer;
}

.btn-primary {
    background: var(--secondary-color);
    color: var(--white);
    border: 2px solid var(--secondary-color);
}

.btn-primary:hover {
    background: #d2542b;
    border-color: #d2542b;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

.btn i {
    margin-right: 8px;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .service-overview,
    .safety-content {
        flex-direction: column;
        text-align: left;
    }
    
    .service-overview .service-image {
        width: 100%;
        height: 300px;
        margin-bottom: 20px;
    }
    
    .service-image,
    .safety-image {
        max-width: 600px;
        margin: 0 auto 40px;
    }
    
    .service-description,
    .safety-text {
        text-align: left;
    }
    
    .section-header h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .page-header h1 {
        font-size: 2.5rem;
    }
    
    .hero-intro {
        font-size: 1.2rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 576px) {
    .page-header {
        padding: 80px 0;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .service-card,
    .reason {
        padding: 25px 20px;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-overview .service-description {
    flex: 1;
    padding: 0 20px;
}

.service-overview,
.services-grid,
.why-choose-us,
.safety-content,
.cta-content {
    animation: fadeInUp 0.8s ease-out forwards;
}

/* Page Header */
.page-header {
    background: var(--primary-color);
    color: white;
    padding: 100px 0;
    text-align: center;
    position: relative;
}

.page-header h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-header p {
    font-size: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Service Detail Section */
.service-detail {
    padding: 5rem 0;
    background-color: #f9f9f9;
}

.service-detail-content {
    display: flex;
    align-items: center;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-detail-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-detail-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.service-detail-image img:hover {
    transform: scale(1.03);
}

.service-detail-text {
    flex: 1;
}

.service-detail-text h2 {
    color: #1e5fa8;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 1rem;
}

.service-detail-text h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: #ff6b35;
}

.service-detail-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 2rem;
}

/* Service Features */
.features-grid {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    margin-top: 3rem;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 20px;
}

.feature {
    flex: 0 0 calc(33.333% - 1.5rem);
    min-width: 280px;
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature i {
    font-size: 2.5rem;
    color: #1e5fa8;
    margin-bottom: 1.5rem;
    background: #e6f0ff;
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
    display: inline-block;
}

.feature h3 {
    color: #1e5fa8;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

/* Services Grid Items */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 3rem;
    padding: 20px 0;
}

.service-item {
    background: white;
    border-radius: 10px;
    padding: 30px 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid #f0f0f0;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-item i {
    font-size: 2.5rem;
    color: #1e5fa8; /* Blue color */
    margin-bottom: 20px;
    display: inline-block;
    transition: transform 0.3s ease, color 0.3s ease;
}

.service-item:hover i {
    color: #154a8a; /* Slightly darker blue on hover */
}

.service-item h3 {
    color: var(--primary-color);
    margin: 0 0 15px 0;
    font-size: 1.4rem;
    position: relative;
    padding-bottom: 10px;
}

.service-item h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

.service-item ul {
    list-style: none;
    padding: 0;
    margin: 0;
    flex-grow: 1;
}

.service-item li {
    padding: 8px 0;
    color: #555;
    position: relative;
    padding-left: 25px;
    font-size: 0.95rem;
    line-height: 1.6;
}

.service-item li::before {
    content: '✓';
    color: var(--accent-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Hover Effects */
.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-item:hover i {
    transform: scale(1.1);
}

.service-item:hover h3::after {
    width: 80px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 15px;
    }
    
    .service-item {
        padding: 25px 20px;
    }
    
    .services-grid-section h2 {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.service-card h3 {
    background: #1e5fa8;
    color: white;
    padding: 1.5rem;
    margin: 0;
    font-size: 1.3rem;
}

.service-card ul {
    padding: 1.5rem;
    margin: 0;
}

.service-card li {
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
    color: #555;
}

.service-card li::before {
    content: '✓';
    color: #ff6b35;
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Why Choose Us Section */
.why-choose-us {
    padding: 5rem 0;
    background: #f0f7ff;
}

.why-choose-us h2 {
    text-align: center;
    color: #1e5fa8;
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

.reasons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.reason {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

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

.reason i {
    font-size: 2.5rem;
    color: #1e5fa8;
    margin-bottom: 1.5rem;
}

.reason h3 {
    color: #1e5fa8;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

/* CTA Section */
.cta-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #1e5fa8 0%, #2d7fc5 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: white;
}

.cta-section p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.cta-section .btn {
    display: inline-block;
    background: #ff6b35;
    color: white;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: 2px solid #ff6b35;
}

.cta-section .btn:hover {
    background: transparent;
    color: white;
    border-color: white;
}

/* Maintenance Programs Section */
.maintenance-programs {
    padding: 80px 0;
    background-color: #f9fafc;
}

.maintenance-programs h2 {
    text-align: center;
    color: #1a365d;
    font-size: 2.5rem;
    margin-bottom: 50px;
    font-weight: 700;
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.program-card {
    background: white;
    border-radius: 12px;
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.program-card h3 {
    color: #2c5282;
    font-size: 1.8rem;
    margin-bottom: 20px;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.program-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #4299e1;
}

.program-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 30px;
}

.program-card li {
    padding: 10px 0;
    color: #4a5568;
    position: relative;
    padding-left: 30px;
    line-height: 1.6;
}

.program-card li::before {
    content: '✓';
    color: #4299e1;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.price {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #2b6cb0;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
}

/* Featured Card */
.program-card.featured {
    border: 2px solid #4299e1;
    transform: scale(1.05);
}

.program-card.featured::before {
    content: 'MOST POPULAR';
    position: absolute;
    top: 0;
    right: 0;
    background: #4299e1;
    color: white;
    padding: 5px 15px;
    font-size: 0.8rem;
    font-weight: 600;
    border-bottom-left-radius: 8px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .programs-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
    }
    
    .program-card.featured {
        transform: none;
    }
}

@media (max-width: 480px) {
    .maintenance-programs {
        padding: 50px 0;
    }
    
    .maintenance-programs h2 {
        font-size: 2rem;
        margin-bottom: 30px;
    }
    
    .program-card {
        padding: 30px 20px;
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    .service-detail-content {
        flex-direction: column;
        text-align: center;
    }
    
    .service-detail-text h2::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .service-detail-image {
        max-width: 600px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .page-header h1 {
        font-size: 2.5rem;
    }
    
    .page-header p {
        font-size: 1.2rem;
        padding: 0 20px;
    }
    
    .service-detail-text h2 {
        font-size: 2rem;
    }
    
    .features-grid {
        flex-wrap: wrap;
    }
    
    .feature {
        flex: 0 0 100%;
        margin-bottom: 2rem;
    }
}

/* Safety & Compliance Section */
.safety-compliance {
    padding: 100px 0;
    background-color: #ffffff;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.safety-content {
    display: flex;
    align-items: flex-start;
    gap: 60px;
    margin-top: 40px;
}

.safety-text {
    flex: 1;
    max-width: 800px;
    position: relative;
    z-index: 2;
}

.safety-text .section-header h2 {
    color: #1a365d;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.3;
}

.safety-text .section-divider {
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    margin: 0 0 30px 0;
}

.compliance-intro,
.compliance-outro {
    color: #4a5568;
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 30px;
}

.compliance-list {
    list-style: none;
    padding: 0;
    margin: 40px 0;
}

.compliance-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 24px;
    padding: 8px 0;
    position: relative;
    transition: transform 0.2s ease;
}

.compliance-item:hover {
    transform: translateX(5px);
}

.compliance-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background-color: #3182ce;
    border-radius: 50%;
    margin-right: 16px;
    flex-shrink: 0;
    box-shadow: 0 4px 6px rgba(49, 130, 206, 0.2);
}

.compliance-icon i {
    color: white;
    font-size: 12px;
    position: relative;
    top: 1px;
}

.compliance-text {
    color: #2d3748;
    font-size: 1.05rem;
    line-height: 1.6;
    font-weight: 400;
    padding-top: 2px;
}

.safety-image {
    flex: 0 0 45%;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12), 0 4px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 500px; /* Fixed height */
    position: relative;
    background: #f5f5f5; /* Light background in case image doesn't load */
    border: 1px solid rgba(0, 0, 0, 0.06);
    z-index: 2;
    min-width: 0; /* Prevents flex item from overflowing */
    margin: 0 auto; /* Center the container */
    padding: 0; /* Remove padding to allow full coverage */
    box-sizing: border-box;
}

.safety-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(30, 95, 168, 0.1);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
    pointer-events: none;
}

.safety-image:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.safety-image:hover::before {
    opacity: 0.8;
}

.safety-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Cover the entire container */
    object-position: center;
    display: block;
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-radius: 15px;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

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

.safety-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(30, 95, 168, 0.1);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
    pointer-events: none;
    border-radius: 15px;
}

.safety-image:hover::before {
    opacity: 0.8;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .safety-text {
        max-width: 50%;
    }
    
    .safety-image {
        flex: 0 0 45%;
        height: 450px;
    }
}

@media (max-width: 992px) {
    .safety-content {
        flex-direction: column;
        align-items: center; /* Center content in mobile view */
    }
    
    .safety-text {
        max-width: 100%;
        padding-right: 0;
        margin-bottom: 40px;
        text-align: center; /* Center text in mobile view */
    }
    
    .safety-image {
        width: 100%;
        max-width: 100%;
        margin: 40px auto; /* Center the image container */
        height: 400px;
    }
}

.safety-image:hover img {
    transform: scale(1.08);
}

@media (max-width: 992px) {
    .safety-content {
        flex-direction: column;
        text-align: center;
    }
    
    .safety-text .section-header h2,
    .safety-text .section-divider {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }
    
    .safety-text .section-divider {
        margin: 0 auto 20px;
    }
    
    .compliance-list {
        text-align: left;
    }
}

/* Animation for elements */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-detail-content,
.service-features,
.services-grid,
.why-choose-us {
    animation: fadeInUp 0.8s ease-out forwards;
}

/* Benefits Section - Horizontal Layout */
.benefits {
    padding: 80px 0;
    background-color: #fff;
    text-align: center;
}

.benefits .section-header h2 {
    color: #1a365d;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.benefits .section-header h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #f6ad55;
    border-radius: 2px;
}

.benefits .section-divider {
    margin: 30px auto 50px;
    width: 80px;
    height: 4px;
    background-color: #f6ad55;
}

.benefits-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
}

.benefit {
    flex: 1;
    min-width: 250px;
    max-width: 280px;
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border-radius: 10px;
    transition: all 0.3s ease;
    background-color: #f8fafc;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.benefit:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: #2c5282;
    font-size: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.benefit:hover .benefit-icon {
    transform: translateY(-5px);
    background-color: #2c5282;
    color: white;
}

.benefit h3 {
    color: #2d3748;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.benefit p {
    color: #4a5568;
    line-height: 1.6;
    font-size: 1rem;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .benefits-grid {
        max-width: 900px;
    }
    
    .benefit {
        min-width: 220px;
        max-width: 240px;
    }
}

@media (max-width: 992px) {
    .benefits-grid {
        gap: 30px;
    }
    
    .benefit {
        min-width: 200px;
        max-width: 220px;
        padding: 25px 15px;
    }
    
    .benefit-icon {
        width: 70px;
        height: 70px;
        font-size: 1.75rem;
    }
}

@media (max-width: 768px) {
    .benefits {
        padding: 60px 0;
    }
    
    .benefits .section-header h2 {
        font-size: 2rem;
    }
    
    .benefits-grid {
        max-width: 600px;
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
    
    .benefit {
        min-width: 100%;
        max-width: 100%;
    }
}

@media (max-width: 576px) {
    .benefits {
        padding: 50px 0;
    }
    
    .benefits .section-header h2 {
        font-size: 1.75rem;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
}
