/* Navigation Menu Styling */
.resources-page-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
    display: flex;
    justify-content: center;
}

/* Video Background Section */
.video-background-wrapper {
    position: absolute;
    width: 100vw;
    overflow: hidden;
}
  
.video-background-frame {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    object-fit: cover;
    z-index: -1;
}
  
/* Overlay Content */
.overlay-content {
    position: absolute;
    z-index: 1;
    color: #ffffff;
    text-align: center;
    padding: 20px;
    width: 100vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.overlay-content,
.image-header-container,
.video-background-frame,
.video-background-wrapper {
    height: 25vh !important;
}
    
.resource-heading {
    font-size: 24px;
    margin: 10px 0;
    text-align: center;
    font-weight: 500; /* Thin weight for headings */
    background: none; /* Ensure no background color */
    z-index: 1000;
}

.container {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.headshot-jeff,
.headshot-chris {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 50%;
}

.headshot-gina {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 50%;
}

.loan-officers-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-top: 50px;
    margin-bottom: 50px;
}

.loan-officer {
    flex: 1;
    max-width: 300px;
    margin: 10px;
    text-align: center;
    margin-bottom: 60px !important;

}

.loan-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.loan-popup-content {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    position: relative;
    max-width: 400px; 
    width: 90%; 
    margin: auto; 
    transform: translateY(80%); 
}

.close-button {
    position: absolute;
    top: 10px;
    right: 20px;
    cursor: pointer;
}

.welcome-section {
    margin-top: 15px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.container h2,
.welcome-section h2 {
    color: #333;
    font-size: 24px;
    font-weight: 500;
}

.welcome-section p {
    color: #555;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 10px;
    max-width: 800px;
}

.general-options, 
.grant-options, 
.loan-options {
    margin: 20px auto;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    width: 800px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.general-option, 
.grant-option, 
.loan-option {
    padding: 20px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px; /* Changed from 20px to 16px (not bold) */
    background-color: #fff;
    transition: transform 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.general-option h3, 
.grant-option h3, 
.loan-option h3 {
    color: #333;
    margin-bottom: 10px;
    text-align: center;
    font-weight: 700; /* Bold */
    font-size: 18px; /* Bold */
    letter-spacing: 1px;
    line-height: 1.5;


}

.container p,
.general-option p, 
.grant-option p, 
.loan-option p {
    color: #555;
    line-height: 1.6;
    margin: 0;
    font-weight: normal; /* Ensure not bold */
}

.general-option:hover, 
.grant-option:hover, 
.loan-option:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

button {
    width: 200px; 
    margin: 0 5px; 
    background-color: transparent;
    color: #666; 
    padding: 15px; 
    text-align: center;
    font-size: 12px; 
    cursor: pointer;
    border: 2px solid lightgray; 
    border-radius: 8px; 
    transition: background-color 0.3s, color 0.3s;
    font-weight: 400; 
}

button:hover {
    background-color: #666; 
    color: white; 
}

.loan-officer .button-container {
    display: flex;
    justify-content: center; 
    margin-top: 10px; 
    width: 100%; 
}

h2.collapsible {
    cursor: pointer;
    color: #666; 
    padding: 10px;
    font-size: 20px;
    border-radius: 5px;
    transition: background-color 0.3s;
}

h2.collapsible:hover {
    background-color: rgba(0, 0, 0, 0.1);
}

.content {
    padding: 10px;
    background-color: #f8f9fa;
    border-radius: 0 0 5px 5px;
    display: none;
    color: #666; 
}

.footer-info p {
    color: white;
}

.general-options,
.grant-options,
.loan-options {
    justify-content: center;
    align-items: center;
    text-align: center;
}

@media screen and (max-width: 500px) and (orientation: portrait) {
    .welcome-section p {
        max-width: 65%;
        font-size: 12px; /* Not bold, smaller font */
    }

    .container h2,
    .welcome-section h2 {
        font-size: 18px;
    }

    .resource-heading {
        font-size: 18px;    
    }   

    .general-option,
    .grant-option,
    .loan-option {
        font-size: 14px; /* Thicker font */
    }

    .general-option h3,
    .grant-option h3,
    .loan-option h3 {
        font-size: 13px; /* Bold */
        font-weight: 700;
    }

    .container p,
    .general-option p,
    .grant-option p,
    .loan-option p {
        font-size: 12px; /* Not bold */
    }

    h2.collapsible {
        font-size: 14px;
    }
}
 
@media screen and (max-width: 968px) and (orientation: portrait) {
    .general-options, 
    .grant-options,
    .loan-options {
        max-width: 90%;
    }
    
}

@media screen and (max-height: 2208px) and (max-width: 769px){
    /* Unfolded mode styles */
    .general-options, 
    .grant-options,
    .loan-options {
        max-width: 90%;
    }
}

@media screen and (max-height: 2208px) and (min-width: 769px){
    /* Unfolded mode styles */
    .general-options, 
    .grant-options,
    .loan-options {
        max-width: 90%;
    }
}
