/* css/styles.css */
* {
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
    line-height: 1.6;
}

/* Navigation */
nav {
    background-color: #2c3e50;
    padding: 15px;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
nav .logo {
    color: white;
    font-size: 24px;
    margin-left: 20px;
    text-decoration: none;
}
nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}
nav ul li {
    margin: 0 20px;
}
nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    transition: color 0.3s;
}
nav ul li a:hover {
    color: #e67e22;
}
nav .menu-toggle {
    display: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    margin-right: 20px;
}
ul, ol {
    list-style: none;
    padding-left: 0;
    margin-left: 0;
}

/* Banner */
.banner {
    background: url('../images/photo-1517836357463-d25dfeac3438.jpg') no-repeat center;
    background-size: cover;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    margin-top: 60px;
}
.banner h1 {
    font-size: 48px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}
.cta-button {
    background-color: #e67e22;
    padding: 15px 30px;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 18px;
    transition: background-color 0.3s;
}
.cta-button:hover {
    background-color: #d35400;
}

/* Sections */
.section {
    padding: 80px 50px 50px 50px;
    text-align: center;
}
.section h2 {
    color: #2c3e50;
    margin-bottom: 30px;
    font-size: 36px;
}
.card {
    display: inline-block;
    width: 300px;
    margin: 20px;
    background-color: white;
    padding: 25px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    transition: transform 0.3s;
    vertical-align: top;
}
.card:hover {
    transform: translateY(-10px);
}
.card h3 {
    color: #e67e22;
}
.article-card {
    width: 100%;
    max-width: 600px;
    text-align: left;
    opacity: 0; /* For fade-in effect */
    transition: opacity 0.5s ease-in;
}
.article-card.visible {
    opacity: 1;
}
.article-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
}

/* Forms */
form {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}
form label {
    display: block;
    margin: 10px 0 5px;
}
form input, form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
}
form button {
    background-color: #2c3e50;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}
form button:hover {
    background-color: #e67e22;
}

/* Scroll-to-Top Button */
#scrollToTop {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #e67e22;
    color: white;
    padding: 10px 15px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: none;
    font-size: 18px;
    z-index: 1000;
    transition: background-color 0.3s;
}
#scrollToTop:hover {
    background-color: #d35400;
}

/* Footer */
footer {
    background-color: #2c3e50;
    color: white;
    padding: 40px 20px;
    text-align: center;
}
footer a {
    color: #e67e22;
    text-decoration: none;
}
footer a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    nav ul {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 60px;
        left: 0;
        background-color: #2c3e50;
    }
    nav ul.active {
        display: flex;
    }
    nav ul li {
        margin: 10px 0;
        text-align: center;
    }
    nav .menu-toggle {
        display: block;
    }
    .banner h1 {
        font-size: 32px;
    }
    .card, .article-card {
        width: 100%;
        max-width: 300px;
    }
    .article-card img {
        height: 150px;
    }
}