/* General Styling */
body {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    color: #fff;
    overflow: hidden; /* Prevent scrollbar from slider */
    position: relative;
    height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Background Slider */
#background-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -2; /* Below overlay */
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.slide.active {
    opacity: 1;
}

/* Dark Overlay */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); /* Dark overlay */
    z-index: -1; /* Above slider, below content */
}

/* Header (Logo) */
header {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 10;
}

.logo img {
    max-width: 200px;
    height: auto;
}

/* Main Content (Caption) */
.content {
    flex-grow: 1;
    display: flex;
    align-items: center; /* Vertically center */
    padding-left: 5%;
    z-index: 5;
}

.caption {
    max-width: 50%;
    text-align: left;
}

.caption h1 {
    font-size: 3em;
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
}

/* Footer (Contact Info & Social Media) */
footer {
    position: absolute;
    bottom: 20px;
    left: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    z-index: 10;
}

.contact-info p {
    margin: 5px 0;
    font-size: 1.1em;
}

.contact-info i {
    margin-right: 8px;
    color: #007bff; /* Example accent color */
}

.social-media {
    margin-top: 15px;
}

.social-media a {
    color: #fff;
    font-size: 1.5em;
    margin-right: 15px;
    transition: color 0.3s ease;
}

.social-media a:hover {
    color: #007bff; /* Example accent color on hover */
}

/* Responsive Design */
@media (max-width: 768px) {
    .caption {
        max-width: 75%;
    }
    
    .caption h1 {
        font-size: 2.2em;
    }

    .contact-info p {
        font-size: 1em;
    }

    .social-media a {
        font-size: 1.3em;
        margin-right: 10px;
    }

    header {
        top: 15px;
        left: 15px;
    }

    footer {
        bottom: 15px;
        left: 15px;
    }
}

@media (max-width: 480px) {
    .caption h1 {
        font-size: 1.8em;
    }

    .logo img {
        max-width: 90px;
    }
}