/* Fleet Charging Specific Styles */

/* Fix for navbar overlap */
body {
    padding-top: 80px;
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f8f9fc;
    margin: 0;
    color: #1a1a2e;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Section */
.fleet-header {
    background: linear-gradient(135deg, #2b4e87 0%, #77c7b5 100%);
    color: white;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
    margin-top: -80px;
}

.fleet-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(119, 199, 181, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(244, 198, 50, 0.15) 0%, transparent 50%);
}

.fleet-header .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
    padding-top: 80px;
}

.fleet-header .header-content {
    flex: 1;
    max-width: 600px;
}

.fleet-header h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.1;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.header-subtitle {
    font-size: 1.4rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.header-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.header-tagline {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    font-style: italic;
    margin-top: 1rem;
    border-left: 3px solid #f4c632;
    padding-left: 1rem;
}

.fleet-header .header-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.fleet-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);
}

/* Main Content Section */
.main-content-section {
    padding: 80px 0;
    background: white;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: start;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.content-text h2 {
    font-size: 2.2rem;
    color: #2b4e87;
    margin-bottom: 3rem;
    font-weight: 700;
    line-height: 1.4;
}

.key-highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 2rem;
}

.key-highlight-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 20px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.06);
    transition: all 0.3s;
    border: 1px solid rgba(43, 78, 135, 0.1);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 280px;
}

.key-highlight-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 45px rgba(43, 78, 135, 0.15);
    border-color: rgba(43, 78, 135, 0.3);
}

.key-highlight-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #2b4e87 0%, #77c7b5 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.5rem;
    box-shadow: 0 4px 20px rgba(139, 69, 19, 0.3);
}

.key-highlight-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #13558b;
    font-weight: 700;
    line-height: 1.4;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Features Section */
/* Features Section - Fixed for 2 boxes */
.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: #2b4e87;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #2b4e87 0%, #77c7b5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Force exactly 2 columns */
    gap: 30px; /* Reduced gap */
    justify-items: center;
    align-items: stretch;
    max-width: 800px; /* Constrain the width */
    margin: 0 auto; /* Center the grid */
}

.feature-card {
    background: white;
    padding: 40px 30px; /* Reduced padding */
    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;
    width: 100%; /* Take full width of grid cell */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 280px; /* Reduced height */
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    font-size: 4rem; /* Reduced size */
    margin-bottom: 20px; /* Reduced margin */
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100px; /* Reduced size */
    height: 100px; /* Reduced size */
    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.3rem; /* Reduced size */
    font-weight: 700;
    color: #2b4e87;
    margin-bottom: 0;
    line-height: 1.4;
    text-align: center;
    min-height: 60px; /* Reduced height */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* For mobile - single column */
@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr; /* Single column on mobile */
        gap: 25px;
        max-width: 500px;
    }
    
    .feature-card {
        padding: 35px 25px;
        min-height: 250px;
    }
    
    .feature-icon {
        font-size: 3.5rem;
        width: 90px;
        height: 90px;
        margin-bottom: 20px;
    }
    
    .feature-card h3 {
        font-size: 1.2rem;
        min-height: 55px;
    }
}

/* For very small screens */
@media (max-width: 480px) {
    .features-grid {
        gap: 20px;
    }
    
    .feature-card {
        padding: 30px 20px;
        min-height: 220px;
    }
    
    .feature-icon {
        font-size: 3rem;
        width: 80px;
        height: 80px;
        margin-bottom: 15px;
    }
    
    .feature-card h3 {
        font-size: 1.1rem;
        min-height: 50px;
    }
}

/* Footer */
footer {
    background: #0d1321;
    color: white;
    padding: 80px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-section h3 {
    color: #77c7b5;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    font-weight: 700;
}

.footer-section p, 
.footer-section li a {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section ul li a:hover {
    color: #77c7b5;
}

.footer-bottom {
    margin-top: 4rem;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-legal {
    margin-top: 1rem;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.5);
    margin: 0 1rem;
    text-decoration: none;
    font-size: 0.85rem;
}

.footer-legal a:hover {
    color: #77c7b5;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .content-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .key-highlights-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 800px;
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 70px;
    }
    
    .fleet-header {
        margin-top: -70px;
        padding: 50px 0 60px 0;
    }
    
    .fleet-header .container {
        flex-direction: column;
        text-align: center;
        padding-top: 70px;
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .fleet-header h1 {
        font-size: 2.5rem;
    }
    
    .header-subtitle {
        font-size: 1.2rem;
    }
    
    .fleet-header .image-placeholder {
        width: 200px;
        height: 200px;
        font-size: 5rem;
    }
    
    .features-section .section-header h2,
    .content-text h2 {
        font-size: 2.2rem;
    }
    
    .features-grid,
    .key-highlights-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .feature-card,
    .key-highlight-card {
        padding: 40px 30px;
        max-width: 100%;
        min-height: 280px;
    }
    
    .feature-icon {
        font-size: 4rem;
        width: 100px;
        height: 100px;
        margin-bottom: 25px;
    }
    
    .key-highlight-icon {
        font-size: 2rem;
        width: 70px;
        height: 70px;
    }
    
    .feature-card h3 {
        font-size: 1.3rem;
    }
    
    .key-highlight-card h3 {
        font-size: 1.2rem;
        min-height: 55px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

@media (max-width: 480px) {
    body {
        padding-top: 60px;
    }
    
    .fleet-header {
        margin-top: -60px;
        padding: 40px 0 50px 0;
    }
    
    .fleet-header .container {
        padding-top: 60px;
    }
    
    .fleet-header h1 {
        font-size: 2rem;
    }
    
    .features-section {
        padding: 60px 0;
    }
    
    .features-section .section-header h2,
    .content-text h2 {
        font-size: 1.8rem;
    }
    
    .feature-card,
    .key-highlight-card {
        padding: 30px 20px;
        min-height: 250px;
    }
    
    .feature-icon {
        font-size: 3.5rem;
        width: 90px;
        height: 90px;
        margin-bottom: 20px;
    }
    
    .key-highlight-icon {
        font-size: 1.8rem;
        width: 60px;
        height: 60px;
    }
    
    .feature-card h3 {
        font-size: 1.2rem;
    }
    
    .key-highlight-card h3 {
        font-size: 1.1rem;
        min-height: 50px;
    }
}



/* Updated Fleet Header Icons */
.fleet-header .header-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.fleet-icons-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 25px;
    padding: 40px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.vehicle-icon {
    font-size: 6rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 120px;
    min-height: 120px;
}

/* .vehicle-icon:hover {
    transform: scale(1.15);
    filter: drop-shadow(0 4px 12px rgba(255, 255, 255, 0.3));
} */

/* Optional: Add subtle animation */
@keyframes gentleBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

/* .vehicle-icon.car {
    animation: gentleBounce 3s ease-in-out infinite;
}

.vehicle-icon.bus {
    animation: gentleBounce 3s ease-in-out infinite 1.5s;
} */

/* Responsive adjustments */
@media (max-width: 768px) {
    .fleet-icons-container {
        gap: 30px;
        padding: 30px;
    }
    
    .vehicle-icon {
        font-size: 4.5rem;
        min-width: 90px;
        min-height: 90px;
    }
}

@media (max-width: 480px) {
    .fleet-icons-container {
        gap: 20px;
        padding: 25px;
    }
    
    .vehicle-icon {
        font-size: 3.5rem;
        min-width: 70px;
        min-height: 70px;
    }
}

/* Center only the 4th feature-card (End-to-End EV Charging Management by SNC) */
.feature-card:nth-child(4) {
    grid-column: 1 / -1; /* Make it span all columns */
    max-width: 400px; /* Set a maximum width */
    margin: 0 auto; /* Center it horizontally */
    justify-self: center; /* Center within grid cell */
    width: 100%; /* Ensure it takes full width of its container */
}

/* Add responsive styles */
@media (max-width: 1024px) {
    .feature-card:nth-child(4) {
        max-width: 500px;
    }
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr; /* Single column on mobile */
        max-width: 500px;
    }
    
    .feature-card:nth-child(4) {
        max-width: 400px;
        grid-column: 1; /* Reset to single column on mobile */
    }
}

@media (max-width: 480px) {
    .feature-card:nth-child(4) {
        max-width: 350px;
    }
}

/* ======= Fleet Charging Image Styles ======= */
.fleet-header .header-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Image Container - Clean Modern Style */
.image-container {
    width: 100%;
    max-width: 500px;
    height: 320px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.15);
    overflow: hidden;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Image styling */
.header-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 18px;
    transition: transform 0.6s ease, filter 0.3s ease;
}

.header-img:hover {
    transform: scale(1.05);
    filter: brightness(1.05);
}

/* Alternative: Show content on hover */
.image-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        transparent 60%,
        rgba(43, 78, 135, 0.7) 100%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
    border-radius: 18px;
}

.image-container:hover::before {
    opacity: 1;
}

/* Optional: Add text overlay on hover */
.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(43, 78, 135, 0.9), transparent);
    color: white;
    text-align: center;
    font-size: 0.9rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 2;
}

.image-container:hover .image-overlay {
    opacity: 1;
    transform: translateY(0);
}

/* Style Variations */

/* 1. Frame Style */
.image-container.frame-style {
    padding: 10px;
    background: rgba(255, 255, 255, 0.1);
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.image-container.frame-style .header-img {
    border-radius: 12px;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

/* 2. Minimal Style */
.image-container.minimal {
    background: transparent;
    backdrop-filter: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* 3. Card Style */
.image-container.card-style {
    background: rgba(255, 255, 255, 0.12);
    border: none;
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.2),
        0 5px 15px rgba(0, 0, 0, 0.1);
}

.image-container.card-style .header-img {
    border: 3px solid white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* 4. Dark Mode Style */
.image-container.dark-style {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Animation */
@keyframes fadeInImage {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.image-container {
    animation: fadeInImage 0.8s ease-out;
}

/* Loading state */
.image-container.loading {
    background: linear-gradient(90deg, 
        rgba(255, 255, 255, 0.1) 25%, 
        rgba(255, 255, 255, 0.2) 50%, 
        rgba(255, 255, 255, 0.1) 75%);
    background-size: 200% 100%;
    animation: loadingShimmer 1.5s infinite;
}

@keyframes loadingShimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* ======= Responsive Adjustments ======= */
@media (max-width: 768px) {
    .image-container {
        max-width: 400px;
        height: 260px;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .image-container {
        max-width: 320px;
        height: 210px;
    }
}

/* For smaller screens */
@media (max-width: 360px) {
    .image-container {
        max-width: 280px;
        height: 180px;
    }
}










