html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #f8f9fa;
}

.navbar-brand img {
    height: 40px;
}


.section-title {
    font-weight: 600;
    font-size: 2rem;
}

.card {
    border: none;
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.card h5 {
    font-weight: 600;
}

.footer {
    background: #212529;
    color: #ccc;
}

.footer a {
    color: #ccc;
    text-decoration: none;
}

.footer a:hover {
    color: #fff;
    text-decoration: underline;
}

.hero {
    background-image: url('../assets/images/innovations/hero_image.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    padding: 100px 0;
    min-height: 400px;
    color: white;
    text-align: center;
    border-radius: 20px;
    margin: 30px auto;
    width: 90%;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

/* Hover effect */
.hero:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5);
    cursor: pointer;
}


/* Dark overlay with opacity on background */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.55);
    /* Adjust opacity here */
    /* z-index: 0; */
}

/* Ensures content appears above the overlay */
.hero .container {
    position: relative;
    z-index: 1;
    height: 180px;
}

/* Optional: Center the text better */
.hero h1 {
    font-size: 2rem;
    font-weight: 600;
    margin-top: 30px;
}

.hero p {
    font-size: 1.2rem;
    /* margin: top 20px; */
    text-align: center;
    align-items: center;
}

.hero:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5);
    cursor: pointer;
    background-position: center 48%;
}

/* WHAT WE RE BUILDING */

.timeline {
    position: relative;
    margin-left: 20px;
    border-left: 3px solid #dee2e6;
    padding-left: 20px;
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
}

.timeline-icon {
    position: absolute;
    left: -30px;
    top: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.timeline-content {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.05);
}

/*Services*/

.scrolling-wrapper {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 1rem;
    animation: scroll-left 20s linear infinite;
}

.service-card {
    width: 250px;
    height: 300px;
    flex: 0 0 auto;
    background: #fff;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    scroll-snap-align: start;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
}

/*portfolio*/
.card-img-top {
    height: 220px;
    object-fit: cover;
    border-bottom: 1px solid #ddd;
}

.card-title {
    font-weight: 600;
}

.card-text {
    color: #555;
}