/* About Page Styles - For use in Modal/iframe */

/* Import Tailwind CSS utilities - although the actual import happens in HTML */
/* Font definitions based on imported Google Fonts */
:root {
    --font-poiret: 'Poiret One', sans-serif;
    --font-cormorant:  'Cormorant Garamond', serif;/*'Cormorant Garamond', serif;*/
    --primary-color: #043b6e;
    --secondary-color: #4f7dc4;
    --text-color: #333;
    --light-color: #e2e8f0;
}

/* Apply font styling globally */
h1, h2, h3 {
    font-family: var(--font-poiret);
    font-weight: bold;
}

p, li, a {
    font-family: var(--font-cormorant);
    font-weight: bold;
    font-size: 1.2rem;
}

/* Icon styles for Font Awesome */
.icon {
    margin-right: 0.5rem;
}

.about-iframe-content {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    margin: 0;
    padding: 0;
    background-color: transparent;
    overflow-x: hidden;
}

.about-iframe-content .container {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 1rem;
    box-sizing: border-box;
}

.about-iframe-content header {
    background-color: #043b6e;
    color: white;
    padding: 1rem 0;
    text-align: center;
    position: relative;
    margin-bottom: 1rem;
}

.about-iframe-content h1 {
    font-family: 'Poiret One', sans-serif;
    margin: 0;
    font-size: 2rem;
}

.about-iframe-content .section {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.about-iframe-content h2 {
    color: #0d6efd;
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 0.5rem;
    margin-top: 0;
    font-size: 1.5rem;
}

.about-iframe-content .team-member {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.about-iframe-content .team-member img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 1.5rem;
}

.about-iframe-content footer {
    text-align: center;
    padding: 1rem;
    background-color: #212529;
    color: white;
}

.about-iframe-content .contact-btn {
    display: inline-block;
    background-color: #0d6efd;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
    text-decoration: none;
    margin-top: 1rem;
    transition: background-color 0.3s;
}

.about-iframe-content .contact-btn:hover {
    background-color: #0b5ed7;
}

/* Modal specific styles */
.about-iframe-content .modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
}

.about-iframe-content .modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 0;
    border: 1px solid #888;
    width: 80%;
    max-width: 800px;
    max-height: 80vh;
    overflow-y: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.about-iframe-content .disclaimer-close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    padding: 0 10px;
    cursor: pointer;
}

.about-iframe-content .disclaimer-close:hover,
.about-iframe-content .disclaimer-close:focus {
    color: black;
    text-decoration: none;
}

/* About modal specific styles */
.about-modal {
    display: none;
    position: fixed;
    z-index: 1050;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.5);
}

.about-modal-content {
    background-color: #043b6e;
    margin: 5% auto;
    padding: 0;
    border: 1px solid #888;
    width: 80%;
    max-width: 800px;
    height: 80vh;
    position: relative;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.about-close {
    color: #aaa;
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1060;
}

.about-close:hover,
.about-close:focus {
    color: black;
    text-decoration: none;
}

.about-iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 8px;
}

/* Iframe specific styles */
.iframe-container {
    height: 100%;
    width: 100%;
    border: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .about-iframe-content .modal-content, 
    .about-modal-content {
        width: 95%;
        margin: 10% auto;
    }
    
    .about-iframe-content .team-member {
        flex-direction: column;
        text-align: center;
    }
    
    .about-iframe-content .team-member img {
        margin-right: 0;
        margin-bottom: 1rem;
    }
}