/* General Styles */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    background-color: #f9f9f9;
    color: #333;
    overflow-x: hidden;
}

/* Hero Section */
.hero {
    background-image: url('https://via.placeholder.com/1920x500'); /* Replace with a suitable image */
    background-size: cover;
    background-position: center;
    color: #ffffff;
    padding: 5rem 0;
    text-align: center;
    position: relative;
}

.hero-container {
    background: rgba(0, 0, 0, 0.5);
    padding: 2rem;
    border-radius: 8px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: fadeIn 2s ease-in-out;
}

.hero p {
    font-size: 1.2rem;
    animation: fadeIn 3s ease-in-out;
}

/* Honor Code Sections */
.honor-code-section .container {
    width: 80%;
    margin: 2rem auto;
    padding: 1.5rem;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    animation: slideIn 1s ease-in-out;
}

.honor-code-section .container:hover {
    transform: translateY(-5px);
}

.honor-code-section h2 {
    font-size: 2rem;
    color: #00a5d1;
    margin-bottom: 1rem;
}

.honor-code-section p {
    font-size: 1rem;
}

/* Pledge Section */
.pledge-section {
    background-color: #00a5d1;
    color: #ffffff;
    padding: 3rem 0;
    text-align: center;
}

.pledge-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.pledge-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    background-color: #ffc107;
    color: #333;
    text-decoration: none;
    padding: 0.8rem 2rem;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #e0a800;
    cursor: pointer;
}

/* Footer Styles */
.footer-container {
    background-color: #333;
    color: #ffffff;
    text-align: center;
    padding: 1rem 0;
}

.footer-container a {
    color: #ffc107;
    text-decoration: underline;
}

.footer-container a:hover {
    color: #e0a800;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}
