/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: #ffffff;
    color: #333;
    transition: all 0.3s ease;
}

body.dark-mode {
    background: #1e1e2f;
    color: #fff;
}

body.light-mode {
    background: #ffffff;
    color: #333;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background: #f8f9fa;
    transition: all 0.3s ease;
}

header.dark-mode {
    background: #2a2a44;
}

.logo {
    font-size: 1.5em;
    font-weight: bold;
    display: flex;
    align-items: center;
}

.logo img {
    width: 24px;
    height: 24px;
    margin-right: 10px;
}

nav a {
    margin-left: 20px;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: all 0.3s ease;
}

nav a:hover {
    color: #007bff;
}

nav a.dark-mode {
    color: #fff;
}

/* Main Section */
main {
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.main-content {
    max-width: 50%;
}

h1 {
    font-size: 3em;
    margin-bottom: 10px;
    font-weight: 700;
}

p {
    font-size: 1.2em;
    margin-bottom: 20px;
    color: #666;
    transition: all 0.3s ease;
}

p.dark-mode {
    color: #ccc;
}

button {
    padding: 10px 20px;
    background: #007bff;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    transition: all 0.3s ease;
}

button:hover {
    background: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

/* Testimonial */
.testimonial {
    background: #007bff;
    color: #fff;
    padding: 40px;
    text-align: center;
    margin: 40px 0;
    transition: all 0.3s ease;
}

.testimonial.dark-mode {
    background: #1a1a40;
}

.testimonial p {
    font-size: 1.5em;
    font-style: italic;
    color: #fff;
}

.testimonial .author {
    margin-top: 10px;
    font-size: 1em;
    font-weight: bold;
}

/* Footer */
footer {
    background: #f8f9fa;
    padding: 40px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    transition: all 0.3s ease;
}

footer.dark-mode {
    background: #2a2a44;
}

footer .column {
    flex: 1;
    min-width: 150px;
    margin: 10px;
}

footer h3 {
    margin-bottom: 10px;
    font-size: 1.2em;
}

footer a {
    display: block;
    color: #333;
    text-decoration: none;
    margin: 5px 0;
    transition: all 0.3s ease;
}

footer a:hover {
    color: #007bff;
}

footer a.dark-mode {
    color: #fff;
}

.social-icons {
    display: flex;
    justify-content: flex-end;
}

.social-icons a {
    margin-left: 10px;
}

.social-icons img {
    width: 20px;
    height: 20px;
}

.copyright {
    flex: 1;
    text-align: left;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 0.5s ease-in;
}

/* Responsive Design */
@media (max-width: 768px) {
    main {
        flex-direction: column;
        text-align: center;
    }

    .main-content {
        max-width: 100%;
    }
}