 /* Terminals Page Styles */
    :root {
        --primary: #0056b3;
        --primary-dark: #003366;
        --accent: #00a0e1;
        --light: #f8f9fa;
        --dark: #212529;
        --text-light: #ffffff;
        --text-dark: #333333;
    }
    
    /* Hero Section */
    .terminals-hero {
        position: relative;
        height: 80vh;
        min-height: 600px;
        background: linear-gradient(rgba(0, 51, 102, 0.7), rgba(0, 86, 179, 0.7)), 
                    url('../assets/MAFINA/mafina-images-pack/img4.jpg') no-repeat center center;
        background-size: cover;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        color: var(--text-light);
        overflow: hidden;
    }
    
    .hero-conten {
        max-width: 800px;
        padding: 0 2rem;
        z-index: 2;
    }
    
    .hero-conten.hero-title {
        font-size: 3.5rem;
        margin-bottom: 1.5rem;
        text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    }
    
   .hero-conten .hero-subtitle {
        font-size: 1.5rem;
        margin-bottom: 2.5rem;
        font-weight: 300;
    }
    
   .hero-conten .hero-scroll {
        position: absolute;
        bottom: 30px;
        font-size: 1.5rem;
        animation: bounce 2s infinite;
        cursor: pointer;
    }
    
    /* Strategic Locations */
    .strategic-locations {
        padding: 6rem 0;
        background-color: var(--light);
    }
    
    .section-header {
        text-align: center;
        margin-bottom: 4rem;
    }
    
    .section-title {
        font-size: 2.5rem;
        color: var(--primary-dark);
        margin-bottom: 1rem;
    }
    
    .section-divider {
        width: 80px;
        height: 4px;
        background: var(--accent);
        margin: 0 auto 1.5rem;
    }
    
    .section-description {
        font-size: 1.2rem;
        color: var(--text-dark);
        max-width: 700px;
        margin: 0 auto;
    }
    
    .location-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 2rem;
        margin-top: 3rem;
    }
    
    .location-card {
        background: white;
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        transition: transform 0.3s ease;
    }
    
    .card-image {
        position: relative;
        height: 220px;
        overflow: hidden;
    }
    
    .image-zoom {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
    }
    
    .location-card:hover .image-zoom {
        transform: scale(1.1);
    }
    
    .location-tag {
        position: absolute;
        top: 15px;
        right: 15px;
        background: var(--accent);
        color: white;
        padding: 0.3rem 1rem;
        border-radius: 20px;
        font-weight: 600;
    }
    
    .card-content {
        padding: 1.5rem;
    }
    
    .card-content h3 {
        color: var(--primary-dark);
        margin-bottom: 1rem;
    }
    
    .facility-features {
        margin-top: 1.5rem;
    }
    
    .facility-features li {
        display: flex;
        align-items: center;
        margin-bottom: 0.8rem;
    }
    
    .facility-features i {
        margin-right: 0.8rem;
        color: var(--accent);
    }
    
    /* Global Network */
    .global-network {
        padding: 6rem 0;
        background-color: white;
    }
    
    .network-content {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
        align-items: center;
    }
    
    .network-text h2 {
        font-size: 2.2rem;
        color: var(--primary-dark);
        margin-bottom: 1.5rem;
    }
    
    .network-text p {
        margin-bottom: 2.5rem;
        font-size: 1.1rem;
        line-height: 1.6;
    }
    
    .network-stats {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
    .network-stats {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
    margin: 40px 0;
}

.stat-item {
    text-align: center;
    padding: 20px;
    min-width: 180px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #0066cc;
    display: block;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 1rem;
    color: #333;
    display: block;
}

@media (max-width: 768px) {
    .network-stats {
        flex-direction: column;
        align-items: center;
    }
    
    .stat-item {
        margin-bottom: 20px;
    }
}
    .stat-item {
        text-align: center;
        padding: 1.5rem;
        background: var(--light);
        border-radius: 8px;
    }
    
    .stat-number {
        font-size: 2.5rem;
        font-weight: 700;
        color: var(--accent);
        display: block;
        margin-bottom: 0.5rem;
    }
    
    .stat-label {
        font-size: 0.9rem;
        color: var(--text-dark);
    }
    
    .network-map {
        position: relative;
        height: 400px;
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }
    
    .map-point {
        position: absolute;
        width: 16px;
        height: 16px;
        background: var(--accent);
        border-radius: 50%;
        transform: scale(0);
        transition: all 0.3s ease;
        z-index: 1000;
        pointer-events: none;
    }
    
    .map-point:after {
        content: attr(data-location);
        position: absolute;
        top: -40px;
        left: 50%;
        transform: translateX(-50%);
        background: var(--primary-dark);
        color: white;
        padding: 0.5rem 1rem;
        border-radius: 4px;
        font-size: 0.9rem;
        white-space: nowrap;
        opacity: 0;
        transition: opacity 0.3s ease;
    }
    
    .map-point.active {
        transform: scale(1.5);
    }
    
    .map-point.active:after {
        opacity: 1;
    }
    
    .leaflet-marker-icon {
        background: var(--accent);
        border-radius: 50%;
        width: 16px !important;
        height: 16px !important;
        margin-left: -8px !important;
        margin-top: -8px !important;
        transition: all 0.3s ease;
    }
    
    .leaflet-marker-icon.active {
        transform: scale(1.5);
    }
    
    /* Recent Expansions */
    .recent-expansions {
        padding: 6rem 0;
        background-color: var(--light);
    }
    
    .expansion-timeline {
        position: relative;
        max-width: 900px;
        margin: 0 auto;
        padding-left: 1rem;
    }
    
    .expansion-timeline:before {
        content: '';
        position: absolute;
        width: 4px;
        background: var(--accent);
        top: 0;
        bottom: 0;
        left: 0;
    }
    
    .timeline-item {
        position: relative;
        margin-bottom: 3rem;
        padding-left: 2.5rem;
    }
    
    .timeline-date {
        position: absolute;
        left: -3.5rem;
        top: 0;
        width: 70px;
        height: 70px;
        border-radius: 50%;
        background: var(--primary);
        color: white;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 700;
        font-size: 1.2rem;
    }
    
    .timeline-content {
        background: white;
        padding: 2rem;
        border-radius: 8px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }
    
    .timeline-content h3 {
        color: var(--primary-dark);
        margin-bottom: 1rem;
    }
    
    .timeline-image {
        margin-top: 1.5rem;
        height: 200px;
        overflow: hidden;
        border-radius: 8px;
    }
    
    .image-parallax {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
    }
    
    .timeline-item:hover .image-parallax {
        transform: scale(1.1);
    }
    /* Mobile Responsive Styles */
@media (max-width: 768px) {
    .expansion-timeline {
        padding-left: 0;
        max-width: 100%;
    }

    .expansion-timeline:before {
        left: 35px; /* Move line closer to center */
    }

    .timeline-item {
        padding-left: 5rem; /* More space for date */
        margin-bottom: 2.5rem;
    }

    .timeline-date {
        left: 0;
        width: 60px;
        height: 60px;
        font-size: 1rem;
        top: 50%;
        transform: translateY(-50%);
    }

    .timeline-content {
        padding: 1.5rem;
    }

    .timeline-image {
        height: 160px; /* Slightly smaller images */
    }
}

@media (max-width: 480px) {
    .timeline-item {
        padding-left: 4.5rem;
        margin-bottom: 2rem;
    }

    .timeline-date {
        width: 50px;
        height: 50px;
        font-size: 0.9rem;
    }

    .timeline-content h3 {
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
    }

    .timeline-content p {
        font-size: 0.9rem;
    }

    .timeline-image {
        height: 140px;
        margin-top: 1rem;
    }
}

/* Very small devices (e.g., iPhone 5/SE) */
@media (max-width: 320px) {
    .timeline-item {
        padding-left: 4rem;
    }

    .timeline-date {
        width: 45px;
        height: 45px;
    }
}
    /* Customer Service */
    .customer-service {
        padding: 6rem 0;
        background: white;
    }
    
    .service-container {
        max-width: 1200px;
        margin: 0 auto;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
        align-items: center;
    }
    
    .service-image {
        height: 500px;
        overflow: hidden;
        border-radius: 8px;
    }
    
    .service-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .service-content h2 {
        font-size: 2.2rem;
        color: var(--primary-dark);
        margin-bottom: 1.5rem;
    }
    
    .service-content p {
        margin-bottom: 2rem;
        font-size: 1.1rem;
        line-height: 1.6;
    }
    
    .service-features {
        margin-bottom: 2rem;
    }
    
    .feature-item {
        display: flex;
        margin-bottom: 1.5rem;
    }
    
    .feature-icon {
        width: 50px;
        height: 50px;
        background: var(--light);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-right: 1.5rem;
        color: var(--accent);
        font-size: 1.2rem;
    }
    
    .feature-text h3 {
        color: var(--primary-dark);
        margin-bottom: 0.5rem;
    }
    
    /* CTA Section */
    .terminals-cta {
        position: relative;
        height: 400px;
        background: url('../assets/MAFINA/mafina-images-pack/Onshore\ site.jpg') no-repeat center center;
        background-size: cover;
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
        color: var(--text-light);
    }
    
    .cta-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 51, 102, 0.7);
    }
    
    .cta-content {
        position: relative;
        z-index: 2;
        max-width: 800px;
        padding: 0 2rem;
    }
    
    .cta-content h2 {
        font-size: 2.5rem;
        margin-bottom: 1.5rem;
    }
    
    .cta-content p {
        font-size: 1.2rem;
        margin-bottom: 2rem;
    }
    
    .cta-buttons {
        display: flex;
        justify-content: center;
        gap: 1.5rem;
    }
    
    .btn {
        display: inline-block;
        padding: 0.8rem 2rem;
        border-radius: 50px;
        font-weight: 600;
        text-decoration: none;
        transition: all 0.3s ease;
    }
    
    .btn-primary {
        background: var(--accent);
        color: white;
        border: 2px solid var(--accent);
    }
    
    .btn-primary:hover {
        background: transparent;
        color: white;
        transform: translateY(-3px);
        box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    }
    
    .btn-outline {
        background: transparent;
        color: white;
        border: 2px solid white;
    }
    
    .btn-outline:hover {
        background: white;
        color: var(--primary-dark);
        transform: translateY(-3px);
    }
    
    .btn-pulse {
        animation: pulse 2s infinite;
    }
    /* CTA Section - Responsive Modifications */
.terminals-cta {
    height: auto; /* Change from fixed height to auto */
    min-height: 400px; /* Set minimum height */
    padding: 4rem 1rem; /* Add padding for smaller screens */
}

.cta-content {
    max-width: 90%; /* More flexible max-width */
    padding: 2rem; /* Increased padding for better spacing */
}

.cta-content h2 {
    font-size: clamp(1.8rem, 5vw, 2.5rem); /* Fluid typography */
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: clamp(1rem, 3vw, 1.2rem); /* Fluid typography */
    margin-bottom: 1.5rem;
}

.cta-buttons {
    flex-direction: column; /* Stack buttons vertically on small screens */
    gap: 1rem;
    align-items: center;
}

.btn {
    width: 100%; /* Full width buttons on mobile */
    max-width: 250px; /* Buttons don't get too wide */
    padding: 0.8rem 1.5rem; /* Slightly less horizontal padding */
    text-align: center;
}

/* Tablet View (768px and up) */
@media (min-width: 768px) {
    .terminals-cta {
        min-height: 450px; /* Slightly taller on tablets */
    }
    
    .cta-buttons {
        flex-direction: row; /* Side-by-side buttons */
    }
    
    .btn {
        width: auto; /* Auto width for buttons */
    }
}

/* Desktop View (992px and up) */
@media (min-width: 992px) {
    .terminals-cta {
        min-height: 500px; /* Taller on desktop */
    }
    
    .cta-content {
        padding: 3rem;
    }
}

/* Large Desktop View (1200px and up) */
@media (min-width: 1200px) {
    .terminals-cta {
        min-height: 550px;
    }
    
    .cta-content {
        max-width: 800px;
    }
}

/* Very Small Devices (below 400px) */
@media (max-width: 400px) {
    .cta-content {
        padding: 1.5rem 1rem;
    }
    
    .btn {
        padding: 0.7rem 1rem;
        font-size: 0.9rem;
    }
}

/* Maintain pulse animation at all sizes */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255,255,255,0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(255,255,255,0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255,255,255,0);
    }
}
    /* Animations */
    @keyframes fadeIn {
        from { opacity: 0; }
        to { opacity: 1; }
    }
    
    @keyframes slideUp {
        from { 
            opacity: 0;
            transform: translateY(30px);
        }
        to { 
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    @keyframes slideLeft {
        from { 
            opacity: 0;
            transform: translateX(30px);
        }
        to { 
            opacity: 1;
            transform: translateX(0);
        }
    }
    
    @keyframes slideRight {
        from { 
            opacity: 0;
            transform: translateX(-30px);
        }
        to { 
            opacity: 1;
            transform: translateX(0);
        }
    }
    
    @keyframes grow {
        from { transform: scaleX(0); }
        to { transform: scaleX(1); }
    }
    
    @keyframes bounce {
        0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
        40% { transform: translateY(-20px); }
        60% { transform: translateY(-10px); }
    }
    
    @keyframes pulse {
        0% { box-shadow: 0 0 0 0 rgba(0, 160, 225, 0.7); }
        70% { box-shadow: 0 0 0 15px rgba(0, 160, 225, 0); }
        100% { box-shadow: 0 0 0 0 rgba(0, 160, 225, 0); }
    }
    
    /* Animation Classes */
    .animate-fade-in {
        opacity: 0;
        animation: fadeIn 1s ease-out forwards;
    }
    
    .animate-delay-1 {
        animation-delay: 0.3s;
    }
    
    .animate-delay-2 {
        animation-delay: 0.6s;
    }
    
    .animate-slide-up {
        opacity: 0;
        animation: slideUp 0.8s ease-out forwards;
    }
    
    .animate-slide-left {
        opacity: 0;
        animation: slideLeft 0.8s ease-out forwards;
    }
    
    .animate-slide-right {
        opacity: 0;
        animation: slideRight 0.8s ease-out forwards;
    }
    
    .animate-grow {
        transform-origin: center;
        animation: grow 0.8s ease-out forwards;
    }
    
    .animate-bounce {
        animation: bounce 2s infinite;
    }
    
    /* Responsive Design */
    @media (max-width: 992px) {
        .network-content {
            grid-template-columns: 1fr;
        }
        
        .service-container {
            grid-template-columns: 1fr;
        }
        
        .service-image {
            order: -1;
            height: 350px;
        }
    }
    
    @media (max-width: 768px) {
        .hero-content .hero-title {
            font-size: 2.5rem;
        }
        
        .hero-conten .hero-subtitle {
            font-size: 1.2rem;
        }
        
        .network-stats {
            grid-template-columns: 1fr;
        }
        
        .location-grid {
            grid-template-columns: 1fr;
        }
        
        .cta-buttons {
            flex-direction: column;
            gap: 1rem;
        }
    }