/* ==========================================================================
   DIGITAL MARKETING PAGE — Extracted from inline <style>
   ========================================================================== */

/* Custom hero style */
.science-hero {
    background: linear-gradient(135deg, #2c3e50 0%, #001f3f 100%);
}

/* Image Carousel */
.image-carousel-container {
    width: 100%;
    overflow: hidden;
    background: #001222;
    padding: 30px 0;
    white-space: nowrap;
    position: relative;
    box-shadow: inset 0 5px 20px rgba(0, 0, 0, 0.5);
}

.image-carousel-track {
    display: inline-block;
    animation: scrollCarousel 30s linear infinite;
}

.image-carousel-track img {
    height: 350px;
    width: auto;
    border-radius: 12px;
    margin: 0 15px;
    object-fit: cover;
    display: inline-block;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
}

@keyframes scrollCarousel {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Service / Project Cards Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.project-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #eaeaea;
    display: flex;
    flex-direction: column;
}

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

.project-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-bottom: 3px solid var(--primary-color);
}

.project-details {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.project-details h3 {
    margin-top: 0;
    color: var(--secondary-color);
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.project-desc {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.project-cost-box {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 4px solid var(--secondary-color);
}

.cost-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
    font-size: 0.95rem;
}

.btn-book {
    background: linear-gradient(135deg, var(--primary-color) 0%, #e67e22 100%);
    color: #fff;
    font-weight: bold;
    text-align: center;
    padding: 12px;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.3s;
    border: none;
    cursor: pointer;
    width: 100%;
    display: block;
}

.btn-book:hover {
    background: linear-gradient(135deg, #e67e22 0%, var(--primary-color) 100%);
    color: #fff;
}

/* Responsive */
@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }

    .image-carousel-track img {
        height: 220px;
    }
}
