body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    padding: 20px 0;
    background-color: #f4f7f6;
    color: #333;
    line-height: 1.6;
}

body.dark-mode {
    background-color: #2c3e50;
    color: #ecf0f1;
}

.container {
    background-color: #ffffff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: left;
    max-width: 800px;
    width: 90%;
    flex-grow: 1;
}

body.dark-mode .container {
    background-color: #34495e;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

header {
    text-align: center;
    margin-bottom: 40px;
}

header h1 {
    color: #007bff;
    margin-bottom: 10px;
    font-size: 2.8em;
    font-weight: 700;
}

body.dark-mode header h1 {
    color: #9bd2ff;
}

.tagline {
    font-size: 1.2em;
    color: #666;
}

body.dark-mode .tagline {
    color: #bbb;
}

/* Accordion Section Styles */
.accordion-section {
    margin-top: 40px;
}

.accordion-item {
    border: 1px solid #eee;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden; /* Hide overflow for smooth transition */
}

body.dark-mode .accordion-item {
    border-color: #555;
}

.accordion-header {
    background-color: #f0f8ff; /* Light header background */
    padding: 15px 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.5em;
    font-weight: 600;
    color: #007bff;
    transition: background-color 0.2s ease, color 0.2s ease;
}

body.dark-mode .accordion-header {
    background-color: #4a6572; /* Dark header background */
    color: #9bd2ff;
}

.accordion-header:hover {
    background-color: #e6f2ff;
    color: #0056b3;
}

body.dark-mode .accordion-header:hover {
    background-color: #5a7d8e;
    color: #c0e0ff;
}

.accordion-header::after {
    content: '+';
    font-size: 1.5em;
    transition: transform 0.2s ease;
}

.accordion-item.active .accordion-header::after {
    content: '-';
    transform: rotate(0deg); /* No rotation needed for + to - */
}

.accordion-content {
    padding: 0 20px;
    background-color: #fff; /* Light content background */
    max-height: 0;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    overflow: hidden;
}

body.dark-mode .accordion-content {
    background-color: #3d5a6a; /* Dark content background */
}

.accordion-item.active .accordion-content {
    max-height: 500px; /* Adjust as needed for content length */
    padding: 20px;
}

.accordion-content p, .accordion-content ul {
    margin-bottom: 15px;
}

.accordion-content ul {
    list-style-type: disc;
    margin-left: 20px;
    padding-left: 0;
}

.accordion-content ul li {
    margin-bottom: 5px;
}


hr {
    border: none;
    border-top: 1px solid #eee;
    margin: 50px 0;
}

body.dark-mode hr {
    border-top: 1px solid #555;
}

/* Form Styles */
.partnership-inquiry-form-section {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #eee;
    text-align: center;
}

body.dark-mode .partnership-inquiry-form-section {
    border-top: 1px solid #555;
}

.partnership-inquiry-form-section h2 {
    color: #007bff;
    margin-bottom: 25px;
    font-size: 1.8em;
    border-left: none;
    padding-left: 0;
}

body.dark-mode .partnership-inquiry-form-section h2 {
    color: #9bd2ff;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

body.dark-mode .form-group label {
    color: #ecf0f1;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
    width: calc(100% - 24px);
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1em;
    background-color: #f9f9f9;
    color: #333;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

body.dark-mode .form-group input[type="text"],
body.dark-mode .form-group input[type="email"],
body.dark-mode .form-group textarea {
    background-color: #4a6572;
    border-color: #607d8b;
    color: #ecf0f1;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group textarea:focus {
    border-color: #007bff;
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.25);
}

body.dark-mode .form-group input[type="text"]:focus,
body.dark-mode .form-group input[type="email"]:focus,
body.dark-mode .form-group textarea:focus {
    border-color: #9bd2ff;
    box-shadow: 0 0 0 3px rgba(155, 210, 255, 0.25);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.submit-button {
    background-color: #007bff;
    color: white;
    padding: 12px 30px;
    font-size: 1.1em;
    border-radius: 6px;
    transition: background-color 0.2s ease, transform 0.1s ease;
}

.submit-button:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
}

/* Comments Section Styles */
.comments-section {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #eee;
    text-align: center;
}

body.dark-mode .comments-section {
    border-top: 1px solid #555;
}

.comments-section h2 {
    color: #007bff;
    margin-bottom: 25px;
    font-size: 1.8em;
    border-left: none;
    padding-left: 0;
}

body.dark-mode .comments-section h2 {
    color: #9bd2ff;
}

/* Footer Styles */
footer {
    text-align: center;
    margin-top: 50px;
    padding: 20px;
    background-color: #f0f0f0;
    color: #555;
    font-size: 0.9em;
    width: 100%;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
}

body.dark-mode footer {
    background-color: #333;
    color: #ccc;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
}

footer a {
    color: #007bff;
    text-decoration: none;
}

body.dark-mode footer a {
    color: #9bd2ff;
}

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

/* Responsive adjustments */
@media (max-width: 768px) {
    .container {
        padding: 20px;
    }
    header h1 {
        font-size: 2.2em;
    }
    .tagline {
        font-size: 1em;
    }
    .accordion-header {
        font-size: 1.3em;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 1.8em;
    }
    .accordion-header {
        font-size: 1.2em;
    }
    .submit-button {
        padding: 10px 20px;
        font-size: 1em;
    }
    footer {
        padding: 15px;
    }
}