body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: 'Montserrat', sans-serif;
}

body {
    background: linear-gradient(rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.25)), 
                url('images/background.jpg') no-repeat center center fixed;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}



.logo {
    position: absolute;
    top: 40px;
    left: 40px;
    width: 250px; /* Increased size */
    z-index: 2;
    mix-blend-mode: normal; /* Ensure logo is not affected by overlay */
}

.content {
    text-align: center;
    color: white;
    z-index: 3;
    position: relative;
}

h1 {
    font-size: 4em;
    font-weight: bold;
}
.footer {
    background-color: transparent;
    color: white;
    text-align: center;
    padding: 20px 0;
    position: fixed;
    bottom: 0;
    width: 100%;
    font-size: 2em;
    z-index: 5;
}

.footer h4 {
    margin: 0;
    font-size: inherit;
    font-weight: bold;
}

.button {
    display: inline-block;
    padding: 15px 30px;
    color: white;
    border: 2px solid white;
    background: transparent;
    text-decoration: none;
    font-size: 1.2em;
    font-weight: bold;
    border-radius: 5px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.button:hover {
    background: white;
    color: #40547a;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 400px;
    margin: 0 auto;
}

.login-form input {
    padding: 10px;
    font-size: 1em;
    border: 2px solid #40547a;
    border-radius: 5px;
    outline: none;
    transition: border-color 0.3s;
}

.login-form input:focus {
    border-color: #6a8cc3;
}

.login-form button {
    background: #40547a;
    color: white;
    border: none;
    padding: 10px;
    font-size: 1em;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

.login-form button:hover {
    background: #6a8cc3;
}
.portal-header {
    background: linear-gradient(135deg, #40547a, #6a8cc3);
    color: white;
    text-align: center;
    padding: 40px 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.portal-header h1 {
    font-size: 2.5em;
    font-weight: 600;
    color:white;
}

.portal-header p {
    font-size: 1.2em;
    margin-top: 10px;
}

/* Main Content */
.portal-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    padding: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.portal-section {
    background: white;
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portal-section:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.portal-section .section-icon img {
    width: 60px;
    margin-bottom: 15px;
}

.portal-section h2 {
    font-size: 1.8em;
    font-weight: 600;
    margin-bottom: 10px;
    color: #40547a;
}

.portal-section p {
    font-size: 1.1em;
    margin-bottom: 20px;
    line-height: 1.5;
}

.portal-section .button {
    background: linear-gradient(135deg, #40547a, #6a8cc3);
    color: white;
    border: none;
    padding: 12px 25px;
    font-size: 1em;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s ease;
}

.portal-section .button:hover {
    background: linear-gradient(135deg, #6a8cc3, #40547a);
}

/* Background Container */


.section-icon {
    margin-bottom: 15px;
}

.section-icon i {
    font-size: 2.5em;
    
    transition: color 0.3s ease;
}

.mvp-icon {
    color: #40547a;
}

.pitchdeck-icon {
    color: #FFBA08;
}

.nda-icon {
    color: #48A9A6;
}


.portal-section:hover .section-icon i {
    opacity: 0.8;
}

/* Media Query for Mobile Screens */
@media (max-width: 768px) {
    body {
        display: flex;
        flex-direction: column; /* Stack elements vertically */
        justify-content: center; /* Center all content vertically */
        align-items: center; /* Center all content horizontally */
        padding: 20px 10px; /* Add padding around the edges */
        height: auto; /* Allow body height to adjust based on content */
        min-height: 100vh; /* Ensure it covers the full viewport if content is small */
        box-sizing: border-box;
        overflow-x: hidden; /* Prevent horizontal scrolling */
        overflow-y: auto; /* Allow vertical scrolling */
    }

    .logo {
        position: static; /* Remove absolute positioning */
        width: 120px; /* Smaller logo for mobile */
        margin-bottom: 20px; /* Add space below the logo */
    }

    .portal-header {
        text-align: center;
        margin-bottom: 20px; /* Add spacing between header and content */
    }

    .portal-content {
        display: flex;
        flex-direction: column; /* Stack sections vertically */
        align-items: center; /* Center-align sections */
        gap: 20px; /* Space between sections */
        width: 100%; /* Ensure sections fit within the screen */
        margin-bottom: 20px; /* Space below the content */
        justify-content: center; /* Center sections within the available space */
    }

    .portal-section {
        width: 90%; /* Adjust width for smaller screens */
        max-width: 400px; /* Set a maximum width */
        text-align: center; /* Center-align text */
        padding: 15px; /* Internal padding */
    }

    .footer {
        position: static; /* Remove fixed positioning */
        text-align: center;
        font-size: 0.9em; /* Slightly smaller font for mobile */
        margin-top: 20px; /* Add spacing above the footer */
        padding: 10px 0; /* Internal padding */
    }
}
