#homeSlider {
    display: inline-block;
    width: 100%;
    z-index: 1;
}
#homeSlider .img {
    margin: 0;
    padding: 0;
    display: inline-block;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
}

#homeSlider #slider {
    width: 100%;
    height: 100%;
    white-space: nowrap;
    overflow: hidden;
    z-index: 1;
}

#homeSlider .img .caption {
    font-family: 'InterFace W02 Bold1373151', Arial, sans-serif;
    font-size: 4vw;
    white-space: pre-wrap;
    line-height: 0.89em;
    text-transform: uppercase;
    padding: 150px 70px 0 70px;
    text-align: center;
    background: none;
}

#homeSlider .img .caption a.readmore {
    position: relative;
    color: #ffffff;
    font-size: 10px;
    top: 20px;
    padding: 10px;
    background: rgba(0,0,0,0.1);
    text-shadow: 0px 0px 6px rgba(0,0,0,0.8);
}

#homeSlider .img .caption a.readmore:hover {
    background: rgba(0,0,0,0.3);
}

#homeSlider .img .caption a.readmore:after {
    content: ">>";
    padding: 0 10px;
}

#homeSlider .img .caption1 {
    color: #ffffff;
    text-shadow: 0px 0px 6px rgba(0,0,0,0.8);
}

#homeSlider .img .caption2 {
    color: #666666;
    text-shadow: 0px 0px 6px rgba(255, 255, 255, 0.8);
}

#homeSlider .sliderBar {
    width: 100%;
    position: absolute;
    bottom: 0px;
    height: 90px;
    background: url(images/sliderPipe.png) repeat-x;
}
#homeSlider .sliderBar .sliderCrude {
    position: absolute;
    bottom: 0px;
    height: 90px;
    background: url(images/sliderCrude.png) repeat-x;
    z-index: 1;
}
#homeSlider .sliderBar a {
    position: relative;
    display: inline-block;
    height: 84px;
    width: 25px;
    background: url(images/sliderValve.png) no-repeat;
    z-index: 2;
}

#homeSlider a.next {
    display: inline-block;
    position: absolute;
    right: 10px;
    top: 50%;
    background: url(images/next.png) no-repeat;
    width: 54px;
    height: 54px;
}

#homeSlider a.previous {
    display: inline-block;
    position: absolute;
    left: 10px;
    top: 50%;
    background: url(images/previous.png) no-repeat;
    width: 54px;
    height: 54px;
}

/* SUMED Introduction Styling */
.intro-grid {
    margin: -10px -10px 0 -10px;
    background: linear-gradient(to right, #f4f6f9, #eef1f5);
    color: #1a1a1a;
    padding: 60px 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.intro-container {
    position: relative;
    top: 40px;
    opacity: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Card styling for clickable sections */
.intro-card {
    position: relative;
    padding: 25px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    overflow: hidden;
    cursor: pointer;
}

.intro-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

/* Orange accent line on top of each card */
.intro-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background-color: #f39200;
    transition: height 0.3s ease;
}

.intro-card:hover::before {
    height: 6px;
}

.intro-card p {
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 35px; /* Space for the read more link */
    color: #333;
}

/* Read more link styling */
.read-more {
    position: absolute;
    bottom: 20px;
    right: 25px;
    color: #f39200;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.read-more::after {
    content: '→';
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.read-more:hover {
    color: #d67e00;
}

.read-more:hover::after {
    transform: translateX(3px);
}

/* Making the whole card clickable */
.intro-card a.card-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    text-indent: -9999px;
}

/* Footer section */
.intro-footer {
    position: relative;
    top: 40px;
    opacity: 0;
    max-width: 1200px;
    margin: 40px auto 0;
    padding: 30px;
    background-color: rgba(243, 146, 0, 0.05);
    border-left: 4px solid #f39200;
    border-radius: 5px;
}

.intro-footer p {
    font-size: 1.15rem;
    line-height: 1.8;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .intro-container {
        grid-template-columns: 1fr;
    }
}