/* EV Charging as a Service Specific Styles */

/* Fix for navbar overlap */
body {
    padding-top: 80px;
}

/* Header Section */
.ev-caas-header {
    background: linear-gradient(135deg, #2b4e87 0%, #77c7b5 100%);
    color: white;
    padding: 60px 0 80px 0;
    position: relative;
    overflow: hidden;
    margin-top: -80px;
}

.ev-caas-header .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding-top: 80px;
}

.ev-caas-header .header-content {
    flex: 1;
    max-width: 600px;
}

.ev-caas-header h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.ev-caas-header .header-subtitle {
    font-size: 1.4rem;
    font-weight: 500;
    margin-bottom: 15px;
    line-height: 1.4;
}

.ev-caas-header .header-description {
    font-size: 1.1rem;
    opacity: 0.9;
    line-height: 1.6;
}

.ev-caas-header .header-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ev-caas-header .image-placeholder {
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8rem;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

/* Features Section */
.features-section {
    padding: 100px 0;
    background-color: #f8f9fa;
}

.features-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.features-section .section-header {
    text-align: center;
    margin-bottom: 60px;
}

.features-section .section-header h2 {
    font-size: 2.7rem;
    font-weight: 800;
    color: #146ea1;
    margin-bottom: 15px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    justify-items: center;
    align-items: stretch;
}

.feature-card {
    background: white;
    padding: 50px 40px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
    max-width: 380px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    height: 100%;
    min-height: 350px;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    font-size: 5rem;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #2b4e87 0%, #77c7b5 100%);
    border-radius: 50%;
    color: white;
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2b4e87;
    margin-bottom: 20px;
    line-height: 1.4;
    text-align: center;
    min-height: 68px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.feature-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: #666;
    margin: 0;
}

/* Centered layout for exactly 3 items */
.features-grid.centered-three {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    justify-content: center;
    align-items: stretch;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.features-grid.centered-three .feature-card {
    margin: 0 auto;
}

/* Suitable For Section */
.suitable-section {
    padding: 100px 0;
    background: white;
}

.suitable-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.suitable-section .section-header {
    text-align: center;
    margin-bottom: 60px;
}

.suitable-section .section-header h2 {
    font-size: 2.7rem;
    font-weight: 800;
    color: #146ea1;
    margin-bottom: 15px;
}

.suitable-section .section-subtitle {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.suitable-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    justify-items: center;
}

.suitable-card {
    background: #f8f9fa;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    width: 100%;
    max-width: 280px;
}

.suitable-card:hover {
    transform: translateY(-5px);
    border-color: #8B4513;
    box-shadow: 0 10px 25px rgba(139, 69, 19, 0.1);
}

.suitable-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #146ea1 0%, #2b4e87 100%);
    border-radius: 50%;
    color: white;
    margin: 0 auto 20px;
}

.suitable-card h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #146ea1;
    margin: 0;
    line-height: 1.4;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #8B4513 0%, #D2691E 100%);
    color: white;
    text-align: center;
}

.cta-section .container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.cta-section .cta-button {
    display: inline-block;
    background: white;
    color: #8B4513;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 2px solid white;
}

.cta-section .cta-button:hover {
    background: transparent;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.2);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .features-grid.centered-three {
        grid-template-columns: repeat(3, minmax(300px, 1fr));
        gap: 30px;
    }
}

@media (max-width: 1024px) {
    .features-grid.centered-three {
        grid-template-columns: repeat(2, 1fr);
        max-width: 800px;
    }
    
    .suitable-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 70px;
    }
    
    .ev-caas-header {
        margin-top: -70px;
        padding: 50px 0 60px 0;
    }
    
    .ev-caas-header .container {
        flex-direction: column;
        text-align: center;
        padding-top: 70px;
    }
    
    .ev-caas-header h1 {
        font-size: 2.5rem;
    }
    
    .ev-caas-header .header-subtitle {
        font-size: 1.2rem;
    }
    
    .ev-caas-header .image-placeholder {
        width: 200px;
        height: 200px;
        font-size: 5rem;
    }
    
    .features-grid.centered-three {
        grid-template-columns: 1fr;
        gap: 30px;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .feature-card {
        padding: 40px 30px;
        max-width: 100%;
        min-height: 320px;
    }
    
    .feature-icon {
        font-size: 4rem;
        width: 100px;
        height: 100px;
        margin-bottom: 25px;
    }
    
    .feature-card h3 {
        font-size: 1.3rem;
        min-height: 60px;
    }
    
    .suitable-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-content p {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    body {
        padding-top: 60px;
    }
    
    .ev-caas-header {
        margin-top: -60px;
        padding: 40px 0 50px 0;
    }
    
    .ev-caas-header .container {
        padding-top: 60px;
    }
    
    .ev-caas-header h1 {
        font-size: 2rem;
    }
    
    .features-section,
    .suitable-section,
    .cta-section {
        padding: 60px 0;
    }
    
    .features-section .section-header h2,
    .suitable-section .section-header h2 {
        font-size: 2rem;
    }
    
    .feature-card {
        padding: 30px 20px;
        min-height: 300px;
    }
    
    .feature-icon {
        font-size: 3.5rem;
        width: 90px;
        height: 90px;
        margin-bottom: 20px;
    }
    
    .feature-card h3 {
        font-size: 1.2rem;
        min-height: 55px;
    }
    
    .suitable-grid {
        grid-template-columns: 1fr;
    }
    
    .suitable-card {
        padding: 30px 20px;
    }
    
    .suitable-icon {
        font-size: 3rem;
        width: 70px;
        height: 70px;
    }
    
    .suitable-card h4 {
        font-size: 1.1rem;
    }
}

/* Header Image Section - Updated for image only */
.ev-caas-header .header-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-container {
    width: 100%;
    max-width: 400px;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.header-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.6s ease;
}

.header-img:hover {
    transform: scale(1.05);
}

/* Responsive adjustments for the image */
@media (max-width: 768px) {
    .image-container {
        max-width: 200px;
        height: 200px;
    }
}

@media (max-width: 480px) {
    .image-container {
        max-width: 150px;
        height: 150px;
    }
}