/* Global Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body Styles */
body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    background: linear-gradient(135deg, #e0eafc, #cfdef3);
    color: #333;
    padding: 20px;
    min-height: 100vh;
}

/* Header Section */
.header {
    background: linear-gradient(135deg, #1a3c34, #2a5d52);
    padding: 20px 0;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    position: relative;
}

/* Logo (InvestWise) */
.header .logo {
    color: #ffffff;
    font-size: 2.8rem;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.header .tagline {
    color: #ffb88c;
    font-size: 1.2rem;
    font-style: italic;
    font-family: 'Poppins', sans-serif;
    margin: 10px 0 20px;
    opacity: 0.9;
}

.header .nav {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.header .nav a {
    color: #ffffff;
    font-size: 1.1rem;
    font-family: 'Poppins', sans-serif;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 20px;
    transition: background 0.3s ease, color 0.3s ease;
}

.header .nav a:hover {
    background: #ff6f61;
    color: #ffffff;
}

/* Container Styles */
.container {
    max-width: 1200px;
    margin: 20px auto;
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.container:hover {
    transform: translateY(-5px);
}

/* Section Styles */
.section {
    padding: 50px 20px;
    text-align: center;
}

.section h1 {
    color: #1a3c34;
    font-size: 2.5rem;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.section h1::after {
    content: '';
    width: 50%;
    height: 4px;
    background: linear-gradient(to right, #ff6f61, #ffb88c);
    position: absolute;
    bottom: -5px;
    left: 0;
    border-radius: 2px;
}

.section h2 {
    color: #ff6f61;
    font-size: 1.8rem;
    margin: 30px 0 15px;
}

.box-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.box {
    background-color: white;
    width: 530px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    transition: transform 0.3s ease;
}

.box:hover {
    transform: translateY(-5px);
}

.box p {
    margin: 10px 0;
    color: #4a4a4a;
    font-size: 1.1rem;
}

/* Footer Styles */
footer {
    text-align: center;
    padding: 20px 0;
    color: #4a4a4a;
    font-size: 0.9rem;
}

/* Emoji Class */
.emoji {
    margin-right: 8px;
    font-size: 1.2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header .logo {
        max-width: 80px;
    }

    .header .tagline {
        font-size: 1rem;
    }

    .header .nav {
        gap: 15px;
        flex-wrap: wrap;
    }

    .header .nav a {
        font-size: 1rem;
        padding: 6px 12px;
    }

    .container {
        padding: 20px;
    }

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

    .box {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 15px 0;
    }

    .header .logo {
        max-width: 60px;
    }

    .header .tagline {
        font-size: 0.9rem;
        margin: 8px 0 15px;
    }

    .header .nav {
        flex-direction: column;
        gap: 10px;
    }

    body {
        padding: 10px;
    }

    .container {
        padding: 15px;
    }

    .section h1 {
        font-size: 1.8rem;
    }
}
/* Section Styles */
.section {
    padding: 50px 20px;
    text-align: center;
}

.section h1 {
    color: #1a3c34;
    font-size: 2.5rem;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.section h1::after {
    content: '';
    width: 50%;
    height: 4px;
    background: linear-gradient(to right, #ff6f61, #ffb88c);
    position: absolute;
    bottom: -5px;
    left: 0;
    border-radius: 2px;
}

.section h2 {
    color: #ff6f61;
    font-size: 1.8rem;
    margin: 15px 0 10px;
}

.box-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 20px; /* Space between box containers and contact details */
}

.top-boxes {
    justify-content: center; /* Ensure two boxes are centered */
}

.bottom-box {
    justify-content: center; /* Ensure single box is centered */
}

.box {
    background-color: white;
    width: 500px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    transition: transform 0.3s ease;
}

.image-box {
    padding: 0; /* Remove padding for image-only boxes */
}

.box:hover {
    transform: translateY(-5px);
}

.box img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 5px;
}

.contact-details {
    text-align: center;
    margin-top: 20px;
}

.contact-details p {
    margin: 10px 0;
    color: #4a4a4a;
    font-size: 1.1rem;
}