/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Header Styles */
header {
    background-color: #E82221;
    padding: 20px;
    border-bottom: 2px solid #172E3C;
    text-align: center;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; /* Make it wrap on smaller screens */
}

.header-title {
    color: #FEFFFF; 
    font-family: 'Times New Roman', serif; 
    font-size: 32px; 
    margin: 0; 
    padding: 10px;
}

.logo {
    width: 100px;
    height: auto;
}

/* Navigation styles */
nav ul {
    list-style-type: none;
    padding: 10px;
}

nav ul li {
    display: inline;
    margin: 0 15px;
}

nav ul li a {
    text-decoration: none;
    color: #FEFFFF;
    font-weight: bold;
}

/* Slider Styles */
.slider {
    position: relative;
    width: 80%;
    margin: 30px auto;
    overflow: hidden;
    border: 2px solid #172E3C;
}

.slider-container img {
    width: 100%;
}

#prev, #next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 56, 0.8);
    color: white;
    font-size: 24px;
    border: none;
    padding: 10px;
    cursor: pointer;
}

#prev {
    left: 10px;
}

#next {
    right: 10px;
}

/* Section Styles */
section {
    padding: 20px;
    text-align: center;
}

#about, #services, #contact {
    background-color: #A61319;
    margin-top: 20px;
    padding: 20px;
}

#about, #services, #contact {
    background-color: #d6f0ff;
    text-align: left;
}

#about h2, #services h2, #contact h2 {
    font-size: 30px;
    font-weight: bold;
    color: #AA1519;
}

#about p, #services p, #contact p {
    font-size: 15px;
    line-height: 1.6;
    color: #142E3D;
}

/* Footer Styles */
footer {
    background-color: #172E3C;
    color: white;
    text-align: center;
    padding: 10px 0;
    width: 100%;
}

.footer-container p {
    margin: 0;
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        text-align: center;
    }

    .header-title {
        font-size: 24px;
    }

    nav ul {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    nav ul li {
        margin: 10px 0;
    }

    .slider {
        width: 95%; /* Make slider take more width on smaller screens */
    }

    #prev, #next {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .header-title {
        font-size: 18px;
    }

    .logo {
        width: 80px; /* Reduce logo size on small screens */
    }

    .slider-container img {
        height: auto;
    }

    #prev, #next {
        font-size: 16px;
        padding: 8px;
    }

    section {
        padding: 15px;
    }
}
