/* General reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    overflow-x: hidden; /* Prevent horizontal scrolling */
}

/* Smooth font and overall look */
body {
    font-family: 'Poppins', sans-serif;
    background-color: #f0f4f8;
    color: #1f2937;
    text-align: center;
    display: flex;
    flex-direction: column;
}

/* Full viewport height for the main landing page */
.center-content {
    min-height: 100vh; /* Ensure full height */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

/* Heading Styling */
h1 {
    font-size: 4em;
    font-weight: 600;
    color: #4A4A4A;
    margin-bottom: 10px;
    line-height: 1.2; /* Make heading spacing look balanced */
}

/* Subtitle */
.subtitle {
    font-size: 1.3em;
    color: #6b7280;
    margin-bottom: 25px;
    max-width: 600px;
    line-height: 1.4;
    padding: 0 15px;
}

/* Link styling */
.links a {
    display: inline-block;
    font-size: 1.3em;
    color: #0070D2;
    text-decoration: none;
    background-color: #fff;
    padding: 12px 25px;
    border-radius: 30px;
    margin: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.links a:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Ensure the sections container displays well on desktop and mobile */
.hidden-sections {
    width: 100%;
    display: none; /* Hidden by default */
    padding: 20px 0;
    margin-top: 30px;
}

/* Section content styling */
.section-content {
    padding: 25px;
    background-color: #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    max-width: 800px;
    margin: 300px auto;
    opacity: 1;
    transition: opacity 0.5s ease-in-out;
}

.section-content h2 {
    font-size: 2.2em;
    color: #0070D2;
    margin-bottom: 15px;
}

.section-content p {
    font-size: 1.2em;
    color: #333;
    line-height: 1.6;
}

/* Show the section when active */
.show {
    display: block; /* Ensure the section becomes visible */
    opacity: 1; /* Ensure opacity transitions when shown */
}

/* Animation for scrolling sections */
.active {
    opacity: 1; /* Sections are fully visible */
}

/* Animation for smooth reveal */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 20px, 0);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

/* Mobile-specific adjustments */
@media (max-width: 768px) {
    h1 {
        font-size: 2.8em;
    }
    .subtitle {
        font-size: 1em;
    }
    .links a {
        font-size: 1.1em;
        padding: 10px 20px; /* Smaller padding for mobile */
    }
    .section-content {
        width: 90%; /* Ensure sections fit on small screens */
        padding: 20px;
    }
}

/* Desktop-specific adjustments */
@media (min-width: 1024px) {
    h1 {
        font-size: 6em;
    }
    .subtitle {
        font-size: 1.5em;
    }
    .links a {
        font-size: 1.4em;
        padding: 15px 30px;
    }
    .section-content {
        max-width: 850px; /* More width for desktop */
        padding: 30px;
    }
}
