:root {
    --primary-color: #10355c;
    --secondary-color: #57b5eb;
    --accent-color: #FB8500;
    --error-color: #ed1c24;
    --text-color: #555;
    --background-color: #f0f8ff;
}

body, h1, h2, p {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    box-sizing: border-box;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: var(--background-color);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    text-align: center;
    padding: 80px 20px;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.hero p {
    font-size: 1.2rem;
}

/* Flex Container */
.flex-container {
    display: flex;
    flex-direction: column;
    flex: 5;
    width: 100%;
    height: auto;
    padding: 20px;
}

.flex-item {
    background-color: #fff;
    background-image: url("https://www.transparenttextures.com/patterns/brushed-alum-dark.png"); /* Subtle texture */
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin: 10px;
    padding: 40px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    text-align: center; /* Left-align text */
}

.flex-item:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
    background-color: var(--background-color);
}

.flex-item h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--primary-color);
    text-align: center; /* Center-align titles */
}

.flex-item p {
    font-size: 1rem;
    color: var(--text-color);
    max-width: 800px;
    margin: 0 auto; /* Center-align paragraphs within max-width */
}

/* Accordion */
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

/* Collapsible Sections */
.collapsible h2 {
    cursor: pointer;
}

.collapsible h2 .fa-chevron-down {
    transition: transform 0.3s ease;
}

.collapsible h2 .fa-chevron-down.rotate {
    transform: rotate(180deg);
}

/* Call-to-Action Button */
.cta-button {
    background-color: var(--primary-color);
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 15px;
}

.cta-button:hover {
    background-color: var(--secondary-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .flex-item {
        padding: 20px;
        margin: 5px;
        text-align: justify;
    }

    .flex-item h2 {
        font-size: 1.5rem;
    }

    .flex-item p {
        font-size: 0.9rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }
}