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

:root {
    --primary-dark: #000000; /* Pure black */
    --secondary-dark: #111111; /* Very dark grey */
    --accent-color: #222222; /* Dark grey for gradients */
    --text-light: #FFFFFF; /* White */
    --text-muted: #AAAAAA; /* Light grey for muted text */
    --border-color: #444444; /* Medium grey for borders */
    --highlight: #FFFFFF; /* White for highlights and active states */
    --card-background: #080808; /* Off-black for cards */
    --navbar-black: #000000; /* Pure black for navbar */
    --button-text-dark: #000000; /* Black text for light buttons */
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--primary-dark);
    color: var(--text-light);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navigation */
.navbar {
    background-color: var(--navbar-black);
    border-bottom: 1px solid var(--border-color);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.nav-container {
    max-width: 93%; /* max-width: 1200px;  for fixed size*/
    margin: 0 auto;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-icon {
    height: 48px;
    width: 48px;
    object-fit: contain;
}

.logo-text {
    display: none;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-menu a, .nav-link { /* Ensure .nav-link also gets base styling */
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    padding: 0.5rem 0; /* Add some padding for better hover area if needed */
    display: inline-block; /* Helps with consistent vertical alignment */
    line-height: normal; /* Ensure consistent line height with other items */
}

/* New rule for main element */
main {
    margin-top: 100px; /* Account for fixed navbar height */
}

.nav-menu a:hover,
.nav-menu a.active,
.nav-link:hover, /* Hover for the main "Projects" link */
.projects-dropdown-toggle.active-dropdown-parent { /* Style for active project parent */
    color: var(--highlight);
}

.nav-menu a.active::after,
.projects-dropdown-toggle.active-dropdown-parent::after { /* Underline for active project parent */
    content: '';
    position: absolute;
    bottom: -5px; /* Adjusted to be relative to the padding */
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--highlight);
}

/* Navigation Dropdown */
.nav-dropdown {
    position: relative;
    display: inline-block; /* Aligns with other nav items */
}

.projects-dropdown-toggle {
    /* cursor: pointer;  No longer needed as it's a direct link */
    padding-right: 5px; 
}

.dropdown-caret {
    font-size: 0.8em;
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.nav-dropdown:hover .dropdown-caret {
    transform: rotate(180deg);
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--navbar-black);
    min-width: 220px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.5);
    z-index: 1001;
    border: 1px solid var(--border-color);
    top: 100%; 
    left: 0;
    padding: 0.5rem 0;
}

.dropdown-content a {
    color: var(--text-muted);
    padding: 10px 20px;
    text-decoration: none;
    display: block;
    font-weight: 400;
    white-space: nowrap;
}

.dropdown-content a:hover {
    background-color: var(--secondary-dark);
    color: var(--highlight);
}

.nav-dropdown:hover .dropdown-content {
    display: block;
}

/* Nested Dropdown Styles */
.nested-dropdown {
    position: relative;
}

.nested-dropdown-toggle {
    display: block;
    padding: 10px 20px;
    text-decoration: none;
    color: var(--text-muted);
    white-space: nowrap;
    font-weight: 400;
}

.nested-dropdown-toggle:hover {
    background-color: var(--secondary-dark);
    color: var(--highlight);
}

.nested-dropdown-content {
    display: none;
    position: absolute;
    left: 100%;
    top: 0;
    background-color: var(--navbar-black);
    min-width: 200px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.5);
    z-index: 1002;
    border: 1px solid var(--border-color);
    padding: 0.5rem 0;
}

.nested-dropdown:hover .nested-dropdown-content {
    display: block;
}

.nested-dropdown-content a {
    color: var(--text-muted);
    padding: 10px 20px;
    text-decoration: none;
    display: block;
    font-weight: 400;
    white-space: nowrap;
}

.nested-dropdown-content a:hover {
    background-color: var(--secondary-dark);
    color: var(--highlight);
}

/* Page Hero Sections */
.page-hero {
    /* margin-top: 100px; */ /* Removed */
    padding: 6rem 0 4rem;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--accent-color) 100%); /* Black to Dark Grey gradient */
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.page-hero h1 {
    font-size: 3rem;
    font-weight: 300;
    margin-bottom: 1rem;
}

.page-hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    font-weight: 400;
}

/* Homepage Hero Section */
.hero {
    /* margin-top: 100px; */ /* Removed */
    min-height: 70vh; /* Reduced height for smaller video hero */
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    pointer-events: none;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Slightly darker overlay for better contrast */
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: 2rem;
    max-width: 800px;
}

.hero-tagline {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--highlight); /* White */
    text-transform: uppercase;
    letter-spacing: 3px;
}

/* Content Sections */
.about-content,
.leadership-content,
.products-overview,
.careers-content,
.contact-content {
    padding: 4rem 0;
}

.about-section,
.team-intro,
.overview-content,
.careers-intro {
    margin-bottom: 4rem;
}

.about-section h2,
.team-intro h2,
.overview-content h2,
.careers-intro h2 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: var(--text-light);
}

.large-text {
    font-size: 1.3rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.7;
}

/* Company Summary */
.company-summary {
    padding: 6rem 0;
    background-color: var(--secondary-dark);
}

.summary-content h2 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
    text-align: center;
}

.powerful-statement {
    font-size: 1.3rem;
    text-align: center;
    margin-bottom: 4rem;
    color: var(--text-muted);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.summary-item {
    text-align: center;
    padding: 2rem;
    border: 1px solid var(--border-color);
    background-color: var(--card-background);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.summary-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.1);
}

.summary-item h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--highlight); /* White */
}

/* Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 4rem 0;
}

.value-item {
    background-color: var(--card-background);
    padding: 2rem;
    border: 1px solid var(--border-color);
    text-align: center;
}

.value-item h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--highlight); /* White */
}

/* Leadership Grid */
.leadership-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin: 4rem 0;
}

.leader-card {
    background-color: var(--card-background);
    border: 1px solid var(--border-color);
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.leader-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.1);
}

.leader-image-placeholder {
    width: 150px;
    height: 150px;
    background-color: var(--secondary-dark);
    border: 2px solid var(--border-color);
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.leader-info h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.leader-info .title {
    color: var(--highlight); /* White */
    font-weight: 500;
    margin-bottom: 1rem;
}

.leader-info .background {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    font-style: italic;
}

.leader-info .description {
    font-size: 0.95rem;
    line-height: 1.6;
}

.advisors-intro {
    margin-top: 5rem; /* Add space above advisors section */
}

.advisors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0 4rem;
}

.advisor-card {
    background-color: var(--card-background);
    border: 1px solid var(--border-color);
    padding: 1.5rem;
    text-align: left;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.advisor-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.1);
}

.advisor-card h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.advisor-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.team-culture {
    background-color: var(--secondary-dark);
    padding: 3rem;
    border: 1px solid var(--border-color);
    margin-top: 4rem;
}

.team-culture h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

/* Product Categories */
.product-categories {
    padding: 4rem 0;
}

.category-grid {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.product-category {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    padding: 3rem;
    background-color: var(--card-background);
    border: 1px solid var(--border-color);
}

.product-category:nth-child(even) {
    direction: rtl;
}

.product-category:nth-child(even) .category-content {
    direction: ltr;
}

.category-media .video-placeholder {
    height: 300px;
}

.category-content h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: var(--highlight); /* White */
}

.category-details h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 1.5rem 0 0.5rem;
    color: var(--text-light);
}

.category-details ul {
    list-style: none;
    margin-bottom: 1.5rem;
}

.category-details li {
    padding: 0.25rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.category-details li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--highlight); /* White */
    font-weight: bold;
}

.product-link {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 0.75rem 1.5rem;
    background-color: var(--highlight); /* White background */
    color: var(--button-text-dark); /* Black text */
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s ease, color 0.3s ease;
    border: 2px solid var(--highlight); /* White border */
}

.product-link:hover {
    background-color: transparent;
    color: var(--highlight); /* White text */
}

.human-element {
    background-color: var(--secondary-dark);
    padding: 4rem 0;
    text-align: center;
}

.human-element h2 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

/* Benefits and Position Grids */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 4rem 0;
}

.benefit-item {
    background-color: var(--card-background);
    padding: 2rem;
    border: 1px solid var(--border-color);
    text-align: center;
}

.benefit-item h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--highlight); /* White */
}

.open-positions {
    margin: 4rem 0;
}

.open-positions h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 2rem;
    text-align: center;
}

.position-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.position-item {
    background-color: var(--card-background);
    padding: 2rem;
    border: 1px solid var(--border-color);
}

.position-item h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.position-type {
    color: var(--highlight); /* White */
    font-weight: 500;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.apply-button {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    background-color: var(--highlight); /* White background */
    color: var(--button-text-dark); /* Black text */
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: background-color 0.3s ease, color 0.3s ease;
    border: 1px solid var(--highlight); /* White border */
}

.apply-button:hover {
    background-color: transparent;
    color: var(--highlight); /* White text */
}

.culture-section {
    background-color: var(--secondary-dark);
    padding: 3rem;
    border: 1px solid var(--border-color);
    margin-top: 4rem;
    text-align: center;
}

.culture-section h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

/* Contact Page */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin: 4rem 0;
}

.contact-info h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 3rem;
}

.contact-method {
    padding: 1.5rem;
    background-color: var(--card-background);
    border: 1px solid var(--border-color);
}

.contact-method h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--highlight); /* White */
}

.contact-method p {
    margin-bottom: 0.5rem;
    color: var(--text-muted);
}

.contact-form {
    background-color: var(--card-background);
    padding: 2rem;
    border: 1px solid var(--border-color);
}

.contact-form h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: var(--text-light);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-light);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    background-color: var(--secondary-dark);
    border: 1px solid var(--border-color);
    color: var(--text-light);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--highlight);
}

.submit-button {
    width: 100%;
    padding: 1rem;
    background-color: var(--highlight); /* White background */
    color: var(--button-text-dark); /* Black text */
    border: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
    border: 2px solid var(--highlight); /* White border */
}

.submit-button:hover {
    background-color: transparent;
    color: var(--highlight); /* White text */
}

.security-notice {
    background-color: var(--secondary-dark);
    padding: 2rem;
    border: 1px solid var(--border-color);
    margin-top: 3rem;
    text-align: center;
}

.security-notice h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--highlight); /* White */
}

/* CTA Section */
.cta-section {
    padding: 6rem 0;
    text-align: center;
}

.cta-section h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    font-weight: 500;
}

.cta-button {
    display: inline-block;
    background-color: var(--highlight); /* White background */
    color: var(--button-text-dark); /* Black text */
    padding: 1rem 2rem;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background-color 0.3s ease, color 0.3s ease;
    border: 2px solid var(--highlight); /* White border */
}

.cta-button:hover {
    background-color: transparent;
    color: var(--highlight); /* White text */
}

/* Footer */
.footer {
    background-color: var(--primary-dark);
    border-top: 1px solid var(--border-color);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.footer-logo span {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.footer-logo p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--text-light);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Project Detail Pages */
.project-detail-content {
    padding: 4rem 0;
}

.project-section {
    margin-bottom: 3rem;
    padding: 2rem;
    background-color: var(--card-background);
    border: 1px solid var(--border-color);
}

.project-section h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--highlight);
}

.project-section p,
.project-section ul {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.project-section ul {
    list-style: disc;
    margin-left: 2rem;
    margin-top: 1rem;
}

.project-section ul li {
    margin-bottom: 0.5rem;
}

.project-visual-placeholder {
    margin-top: 2rem;
    padding: 3rem;
    background-color: var(--secondary-dark);
    border: 1px dashed var(--border-color);
    text-align: center;
    color: var(--text-muted);
    font-size: 1.2rem;
}

/* Styling for project list on products page */
.project-list-page {
    list-style: none;
    padding-left: 0;
    margin-top: 2rem;
}

.project-list-page li {
    margin-bottom: 1rem;
}

.project-list-page li a {
    font-size: 1.2rem;
    color: var(--highlight);
    text-decoration: none;
    transition: color 0.3s ease;
}

.project-list-page li a:hover {
    color: var(--text-muted);
    text-decoration: underline;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    animation: fadeIn 0.3s ease;
    opacity: 0;
    transition: opacity 0.2s;
}

.modal.modal-open {
    opacity: 1;
}

.modal-content {
    background-color: var(--card-background);
    border: 1px solid var(--border-color);
    margin: 2% auto;
    padding: 0;
    width: 90%;
    max-width: 700px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: slideIn 0.3s ease;
    transform: translateY(-30px);
    transition: transform 0.2s;
}

.modal.modal-open .modal-content {
    transform: translateY(0);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.close {
    color: var(--text-muted);
    float: right;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    right: 20px;
    top: 15px;
    z-index: 2001;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover {
    color: var(--highlight);
}

.modal-header {
    display: flex;
    align-items: center;
    padding: 2rem;
    border-bottom: 1px solid var(--border-color);
    gap: 2rem;
}

.modal-image {
    flex-shrink: 0;
}

.modal-image img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border-color);
}

.modal-image-placeholder {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background-color: var(--secondary-dark);
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    color: var(--text-muted);
}

.modal-basic-info h2 {
    margin: 0 0 0.5rem 0;
    color: var(--highlight);
    font-size: 2rem;
}

.modal-basic-info p {
    margin: 0;
    color: var(--text-muted);
    font-size: 1.1rem;
    font-weight: 500;
}

.modal-body {
    padding: 2rem;
}

.modal-section {
    margin-bottom: 2rem;
}

.modal-section:last-child {
    margin-bottom: 0;
}

.modal-section h3 {
    color: var(--highlight);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.modal-section p {
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 1rem;
}

/* Advisor Search Functionality */
.advisor-search-container {
    margin: 2rem 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.advisor-search-input {
    width: 100%;
    padding: 1rem 1.5rem;
    background-color: var(--card-background);
    border: 2px solid var(--border-color);
    color: var(--text-light);
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    border-radius: 0;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.advisor-search-input:focus {
    outline: none;
    border-color: var(--highlight);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}

.advisor-search-input::placeholder {
    color: var(--text-muted);
    opacity: 0.8;
}

.search-results-count {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Search Animation */
.advisors-grid.search-active {
    opacity: 0.8;
}

.advisors-grid {
    transition: none;
}

/* Enhanced advisor card visibility for search */
.advisor-card {
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
}

.advisor-card[style*="display: none"] {
    opacity: 0;
    transform: scale(0.95);
}

/* Responsive modal */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 5% auto;
    }
    
    .modal-header {
        flex-direction: column;
        text-align: center;
    }
    
    .modal-image img,
    .modal-image-placeholder {
        width: 100px;
        height: 100px;
    }
    
    .modal-basic-info h2 {
        font-size: 1.5rem;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .product-category {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .product-category:nth-child(even) {
        direction: ltr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        gap: 1rem;
        font-size: 0.9rem;
    }
    
    .hero-title,
    .page-hero h1 {
        font-size: 2.5rem;
    }
    
    .hero {
        flex-direction: column;
        text-align: center;
    }
    
    .summary-grid,
    .values-grid,
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .leadership-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .about-section h2,
    .team-intro h2,
    .overview-content h2,
    .careers-intro h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 1rem;
    }
    
    .nav-menu {
        flex-wrap: wrap;
        gap: 0.5rem;
        justify-content: center;
    }
    
    .hero-title,
    .page-hero h1 {
        font-size: 2rem;
    }
    
    .large-text {
        font-size: 1.1rem;
    }
    
    .advisor-search-container {
        margin: 1.5rem 0;
        padding: 0 1rem;
    }
    
    .advisor-search-input {
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
    }
}

.frigatebird-image {
    width: 300px;
    height: 200px;
    background: black;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: bold;
}

/* Whitepaper Section Styling */
.whitepapers {
    padding: 4rem 0;
    background: black; /* Changed to black for better readability */
}

.whitepaper-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.whitepaper-item {
    background: black; /* Ensure the item background matches the section */
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(255, 255, 255, 0.1); /* Adjusted shadow for contrast */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whitepaper-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 16px rgba(255, 255, 255, 0.15);
}

.whitepaper-item h3 {
    color: white; /* Ensure text is readable on black background */
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.whitepaper-item p {
    color: white; /* Ensure text is readable on black background */
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.whitepaper-item .cta-button {
    background: white; /* Button stands out on black */
    color: black; /* Text contrast for button */
    border: 1px solid white; /* Maintain button visibility */
}

/* Add circular styling for leader images */
.leader-image-circle {
    width: 100px; /* Increased size */
    height: 100px; /* Increased size */
    border-radius: 50%;
    object-fit: cover;
    overflow: hidden;
}
