/* Reset default margins and paddings */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Set html and body to full height */
html, body {
    height: 100%;
    font-family: 'Poppins', Arial, sans-serif;
    overflow-x: hidden; /* Prevent horizontal scrolling */
}

/* Hero section styling */
.hero {
    background: url('images/sofit.jpg') no-repeat center center/cover;
    min-height: 100%;
    position: relative;
    color: white;
}

/* Logo styling */
header .logo {
    position: absolute;
    top: 20px;
    left: 10%; /* Align with hero-content */
}

header .logo img {
    height: 60px;
}

/* Hero content styling */
.hero-content {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    max-width: 600px;
    text-align: left;
}

.hero-content h1 {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-family: 'Teko', Arial, sans-serif;
    line-height: 1.2;
    color: #fff;
}

.hero-content p {
    font-size: 1.2em;
    margin-bottom: 30px;
    font-family: 'Poppins', Arial, sans-serif;
    line-height: 1.6;
    color: #e0e0e0;
}

.hero-content h1,
.hero-content p {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

/* Button styling */
.btn {
    display: inline-block;
    padding: 15px 30px;
    background-color: #ba3232;
    color: white;
    text-decoration: none;
    font-size: 1em;
    border-radius: 5px;
    font-family: 'Poppins', Arial, sans-serif;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #a72b2b;
}

/* Marquee styling */
.marquee-container {
    position: absolute;
    bottom: 0;
    width: 100%;
    overflow: hidden;
}

.marquee {
    white-space: nowrap;
    overflow: hidden;
    box-sizing: border-box;
    font-size: 1.2em;
    padding: 10px 0;
    color: white;
}

.marquee span {
    display: inline-block;
    padding-left: 100%;
    animation: marquee 20s linear infinite;
}

.marquee-left {
    background-color: rgba(147, 147, 147, 0.8);
}

.marquee-right {
    background-color: rgba(186, 50, 50, 0.8);
}

.marquee-left span {
    animation-direction: normal;
}

.marquee-right span {
    animation-direction: reverse;
}

@keyframes marquee {
    from {
        transform: translateX(0%);
    }
    to {
        transform: translateX(-100%);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    header .logo {
        top: 15px;
        left: 10%;
    }

    header .logo img {
        height: 100px;
    }

    .hero-content h1 {
        font-size: 3em;
    }

    .hero-content p {
        font-size: 1.1em;
    }

    .btn {
        font-size: 0.9em;
        padding: 12px 24px;
    }

    .marquee {
        font-size: 1.1em;
    }
}

@media (max-width: 480px) {
    header .logo {
        top: 10px;
        left: 5%;
    }

    header .logo img {
        height: 50px;
    }

    .hero-content {
        left: 5%;
        right: 5%;
    }

    .hero-content h1 {
        font-size: 2.5em;
    }

    .hero-content p {
        font-size: 1em;
    }

    .btn {
        font-size: 0.8em;
        padding: 10px 20px;
    }

    .marquee {
        font-size: 1em;
    }
}
