/* Reset some default styles */
body, h1, h2, p, ul, li {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    width: 80%;
    margin: 0 auto;
    max-width: 1200px;
}

/* Flexbox layout for header */
header {
    background: #f4a261;
    color: #fff;
    padding: 1rem 0;
    display: flex;
    justify-content: center; /* Center items horizontally */
    align-items: center;
}

.header-logo {
    flex: 1;
    display: flex;
    justify-content: center; /* Center logo horizontally */
}

.about-logo {
    padding: 4rem 0;
    flex: 1;
    display: flex;
    justify-content: center; /* Center logo horizontally */
}

.logo {
    max-width: 300px; /* Adjust this value to make the logo bigger */
    height: auto;
    animation: fadeIn 2s ease-in-out;
}

nav {
    flex: 1;
    display: flex;
    justify-content: center; /* Center nav items horizontally */
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 1rem; /* Space between nav items */
}

nav ul li {
    margin: 0;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

/* Hero section */
#hero {
    color: #000;
    text-align: center;
    padding: 4rem 0;
    animation: fadeIn 2s ease-in-out;
}

#hero h2 {
    font-size: 2.5rem;
}

#hero p {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.cta-button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: #333;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s ease;
}

.cta-button:hover {
    background: #555;
}

/* Grid layout for content with card styling */
#content {
    padding: 2rem 0;
}

#content .row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.column {
    flex: 1;
    padding: 1rem;
    max-width: 100%;
    display: flex;
    flex-direction: column;
}

/* Card styling */
article {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%; /* Make sure the cards fill the column height */
}

/* Ensure all cards in the row are the same height */
.column > article {
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Ensure content is spaced correctly */
}

/* Card content styling */
article h2 {
    padding: 1rem;
    background: #f4a261; /* Accent color */
    color: #fff;
}

article p {
    padding: 1rem;
    flex: 1; /* Ensure p takes available space */
}

.section-image {
    width: 100%;
    height: auto;
    border-bottom: 2px solid #f4a261; /* Accent color */
}

/* Footer styles */
footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 1rem 0;
    position: relative;
}

.footer-column {
    width: 50%;
    display: inline-block;
    vertical-align: middle;
    padding: 0.5rem;
}

.footer-column a {
    color: #fff;
    text-decoration: none;
    margin: 0 0.5rem;
}

.footer-column a:hover {
    text-decoration: underline;
}

/* Keyframe animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
