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

body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background: url('networking-background.png') center/cover fixed;
    color: #ffffff;
    line-height: 1.6;
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header/Nav */
.header {
    background: rgba(6, 8, 37, 0.85);
    backdrop-filter: blur(10px);
    padding: 1.5rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
    min-height: 150px;
}

.nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 120px;
    gap: 2rem;
}

.nav-brand {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.nav-cta {
    flex-shrink: 0;
}

.cta-button {
    background: linear-gradient(135deg, #FFD700, #FFC107);
    color: #060825;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    background: linear-gradient(135deg, #FFC107, #FFB300);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.nav-brand img {
    height: 120px;
    width: auto;
}

.nav-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    text-align: center;
}

.nav-title {
    font-size: 2.5rem;
    color: #FFD700;
    font-weight: 700;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    margin: 0 0 1rem 0;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
    justify-content: center;
    align-items: center;
    flex: 1;
}

.nav-link {
    font-weight: 500;
    color: #F3F4F6; /* Lighter, more welcoming grey */
    transition: all 0.3s ease;
    padding: 1rem 1.5rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    font-size: 1.1rem;
}

.nav-link:hover,
.nav-link.active {
    color: #FFD700; /* Rich gold accent */
    background: rgba(255, 215, 0, 0.1);
    transform: translateY(-1px);
}

/* Hamburger toggle (mobile) */
.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0.5rem;
    gap: 0.25rem;
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background-color: #E5E7EB;
    margin: 4px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* Hamburger Animation */
.nav-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Main Content */
.main {
    min-height: calc(100vh - 140px);
}

/* Hero */
.hero {
    text-align: center;
    padding: 4rem 1rem;
    background: rgba(6, 8, 37, 0.75);
    backdrop-filter: blur(5px);
}

.hero-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #FFD700; /* Rich gold */
    font-weight: 700;
}

.hero-description {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 2rem;
    color: #D1D5DB; /* Light grey for readability */
}

.hero-subtitle {
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto 2rem;
    color: #FFD700; /* Gold accent to highlight founding credentials */
    font-weight: 500;
    font-style: italic;
}

.hero-actions {
    margin-top: 2rem;
}

.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-primary {
    background-color: #FFD700; /* Rich gold */
    color: #0A1428; /* Dark navy text */
}

.btn-primary:hover {
    background-color: #FFC107; /* Slightly darker gold on hover */
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(255, 215, 0, 0.3);
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    min-width: 200px;
}

/* Features */
.features {
    background: rgba(6, 8, 37, 0.85);
    backdrop-filter: blur(10px);
    padding: 3rem 1rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.feature-card {
    background: rgba(51, 65, 85, 0.85);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 10px;
    color: #E5E7EB;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.feature-card h3 {
    color: #FFD700; /* Gold accent for headings */
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

/* Page Styles */
.about-hero,
.directory-hero,
.contact-hero,
.chapters-hero {
    padding: 3rem 0;
    text-align: center;
    color: white;
}

.about-hero {
    background: rgba(51, 65, 85, 0.85);
    backdrop-filter: blur(10px);
}

.directory-hero {
    background: rgba(51, 65, 85, 0.85);
    backdrop-filter: blur(10px);
}

.contact-hero {
    background: rgba(51, 65, 85, 0.85);
    backdrop-filter: blur(10px);
}

.chapters-hero {
    background: rgba(51, 65, 85, 0.85);
    backdrop-filter: blur(10px);
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Content sections */
.about-content,
.directory-content,
.contact-content,
.chapters-content {
    padding: 4rem 0;
    background: rgba(6, 8, 37, 0.85);
    backdrop-filter: blur(10px);
}

/* Directory specific styles */
.filter-controls {
    margin-bottom: 3rem;
    text-align: center;
}

.filter-controls label {
    font-weight: 600;
    color: #E5E7EB;
    margin-right: 1rem;
    font-size: 1.1rem;
}

.filter-dropdown {
    padding: 0.75rem 1rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    font-size: 1rem;
    background: rgba(31, 41, 55, 0.8);
    backdrop-filter: blur(10px);
    color: #E5E7EB;
    cursor: pointer;
    transition: border-color 0.3s ease;
    min-width: 200px;
}

.filter-dropdown:focus {
    outline: none;
    border-color: #FFD700;
}

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

.member-card,
.chapter-card {
    background: rgba(30, 41, 59, 0.85);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    position: relative;
}

.member-card {
    text-align: center;
}

.member-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1.5rem;
    border: 4px solid #374151;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.member-card:hover,
.chapter-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.member-name,
.chapter-name {
    color: #E5E7EB;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.member-profession {
    color: #FFD700;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.member-bio {
    color: #D1D5DB;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Chapter specific styles */
.chapter-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    gap: 1rem;
}

.chapter-name {
    margin: 0;
    flex: 1;
}

.chapter-format {
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    white-space: nowrap;
}

.chapter-format.in-person {
    background-color: rgba(16, 185, 129, 0.2);
    color: #10B981;
    border: 1px solid #10B981;
}

.chapter-format.virtual {
    background-color: rgba(59, 130, 246, 0.2);
    color: #3B82F6;
    border: 1px solid #3B82F6;
}

.chapter-format.hybrid {
    background-color: rgba(255, 107, 53, 0.2);
    color: #FF6B35;
    border: 1px solid #FF6B35;
}

.chapter-details {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.chapter-schedule {
    color: #E5E7EB;
    font-weight: 600;
    font-size: 1.1rem;
    margin: 0;
}

.chapter-location {
    color: #9CA3AF;
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.4;
}

/* Contact Form styles */
.form-container {
    max-width: 700px;
    margin: 0 auto;
    background: rgba(30, 41, 59, 0.85);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 3rem;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.join-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    color: #E5E7EB;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.875rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background: rgba(31, 41, 55, 0.8);
    backdrop-filter: blur(10px);
    color: #E5E7EB;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #FFD700;
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.5;
}

.form-group select {
    cursor: pointer;
}

.form-actions {
    margin-top: 1rem;
    text-align: center;
}

/* About page content */
.content-grid {
    display: grid;
    gap: 3rem;
}

.content-section {
    max-width: 800px;
    margin: 0 auto;
}

.content-section h2 {
    color: #FFD700;
    margin-bottom: 1rem;
    font-size: 1.75rem;
}

.content-section p {
    color: #D1D5DB;
    margin-bottom: 1rem;
    line-height: 1.7;
}

.values-list {
    list-style: none;
    padding-left: 0;
}

.values-list li {
    color: #D1D5DB;
    margin-bottom: 0.75rem;
    line-height: 1.6;
    padding-left: 1.5rem;
    position: relative;
}

.values-list li::before {
    content: '•';
    color: #FFD700;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Footer */
.footer {
    background: rgba(6, 8, 37, 0.9);
    backdrop-filter: blur(15px);
    padding: 1.5rem 1rem;
    text-align: center;
    font-size: 0.9rem;
    color: #9CA3AF;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer .disclaimer {
    font-size: 0.75rem;
    color: #6B7280; /* More muted grey for disclaimer */
    margin-top: 0.5rem;
    margin-bottom: 0;
}

.footer .social-links {
    margin: 1rem 0 0.5rem 0;
}

.instagram-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #FFD700;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
    color: white;
    font-weight: 500;
}

.instagram-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(240, 148, 51, 0.3);
}

.instagram-icon {
    width: 20px;
    height: 20px;
    display: inline-block;
    background: white;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.163c3.204 0 3.584.012 4.85.07 3.252.148 4.771 1.691 4.919 4.919.058 1.265.069 1.645.069 4.849 0 3.205-.012 3.584-.069 4.849-.149 3.225-1.664 4.771-4.919 4.919-1.266.058-1.644.07-4.85.07-3.204 0-3.584-.012-4.849-.07-3.26-.149-4.771-1.699-4.919-4.92-.058-1.265-.07-1.644-.07-4.849 0-3.204.013-3.583.07-4.849.149-3.227 1.664-4.771 4.919-4.919 1.266-.057 1.645-.069 4.849-.069zm0-2.163c-3.259 0-3.667.014-4.947.072-4.358.2-6.78 2.618-6.98 6.98-.059 1.281-.073 1.689-.073 4.948 0 3.259.014 3.668.072 4.948.2 4.358 2.618 6.78 6.98 6.98 1.281.058 1.689.072 4.948.072 3.259 0 3.668-.014 4.948-.072 4.354-.2 6.782-2.618 6.979-6.98.059-1.28.073-1.689.073-4.948 0-3.259-.014-3.667-.072-4.947-.196-4.354-2.617-6.78-6.979-6.98-1.281-.059-1.69-.073-4.949-.073zm0 5.838c-3.403 0-6.162 2.759-6.162 6.162s2.759 6.163 6.162 6.163 6.162-2.759 6.162-6.163c0-3.403-2.759-6.162-6.162-6.162zm0 10.162c-2.209 0-4-1.79-4-4 0-2.209 1.791-4 4-4s4 1.791 4 4c0 2.21-1.791 4-4 4zm6.406-11.845c-.796 0-1.441.645-1.441 1.44s.645 1.44 1.441 1.44c.795 0 1.439-.645 1.439-1.44s-.644-1.44-1.439-1.44z'/%3E%3C/svg%3E") no-repeat center;
    mask-size: contain;
}

/* Tablet Styles */
@media (max-width: 1024px) {
    .form-container {
        max-width: 90%;
        padding: 2.5rem;
    }
}


/* Ensure header is visible on desktop */
.header {
    display: block;
}

/* Hide mobile logo on desktop */
.mobile-logo {
    display: none;
}

/* Hide bottom navigation on desktop */
.bottom-nav {
    display: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Hide desktop header on mobile */
    .header {
        display: none !important;
    }
    
    /* Show mobile logo on mobile */
    .mobile-logo {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 1rem 0 2rem 0;
        background: transparent;
    }
    
    .mobile-logo img {
        height: 60px;
        width: 60px;
    }
    
    /* Show bottom navigation on mobile */
    .bottom-nav {
        display: flex;
    }
    
    .nav {
        padding: 1rem;
        min-height: auto;
        height: auto;
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: nowrap;
        transition: all 0.3s ease;
    }
    
    .nav-brand {
        flex-shrink: 0;
    }
    
    .nav-brand img {
        height: 60px;
        width: 60px;
        transition: all 0.3s ease;
    }
    
    .nav-title {
        font-size: 1.2rem;
        margin: 0;
        line-height: 1.2;
        padding: 0;
        font-weight: 600;
        transition: all 0.3s ease;
    }
    
    .nav-header {
        flex: 1;
        justify-content: center;
        gap: 0.5rem;
        transition: all 0.3s ease;
    }
    
    /* Hide desktop navigation on mobile */
    .nav-toggle {
        display: none;
    }
    
    .nav-menu {
        display: none;
    }
    
    /* Bottom Tab Navigation */
    .bottom-nav {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        height: 60px;
        background: rgba(6, 8, 37, 0.95);
        backdrop-filter: blur(15px);
        border-top: 1px solid rgba(255, 215, 0, 0.3);
        display: flex;
        align-items: center;
        justify-content: space-around;
        z-index: 1000;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
    }
    
    .bottom-nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-decoration: none;
        color: #9CA3AF;
        transition: all 0.2s ease;
        padding: 0.5rem;
        min-width: 45px;
    }
    
    .bottom-nav-item.active {
        color: #FFD700;
    }
    
    .bottom-nav-item:hover {
        color: #FFD700;
        transform: translateY(-2px);
    }
    
    .bottom-nav-icon {
        font-size: 1.2rem;
        margin-bottom: 0.25rem;
    }
    
    .bottom-nav-label {
        font-size: 0.7rem;
        font-weight: 500;
    }
    
    /* Add bottom padding to content to account for bottom nav */
    .main {
        padding-bottom: 80px;
    }
    
    .nav-cta {
        margin: 0;
        flex-shrink: 0;
    }
    
    .cta-button {
        padding: 0.6rem 1.2rem;
        font-size: 0.8rem;
        white-space: nowrap;
        border-radius: 15px;
        font-weight: 600;
        transition: all 0.3s ease;
    }
    
    /* Scrolled (Collapsed) State */
    .header.scrolled .nav {
        padding: 0.4rem 1rem;
    }
    
    .header.scrolled .nav-brand img {
        height: 35px;
        width: 35px;
    }
    
    .header.scrolled .nav-title {
        font-size: 0.9rem;
    }
    
    .header.scrolled .cta-button {
        padding: 0.4rem 0.8rem;
        font-size: 0.7rem;
    }
    
    
    /* Remove top padding since no header on mobile */
    .main {
        padding-top: 0;
        padding-bottom: 80px;
    }
    
    /* Hero sections with mobile logo */
    .hero, .about-hero, .directory-hero, .chapters-hero, .contact-hero {
        padding-top: 1rem;
    }
    .nav {
        flex-wrap: wrap;
    }
    
    .nav {
        padding: 0 1rem;
        flex-direction: column;
        min-height: auto;
    }
    
    .nav-brand {
        position: relative;
        left: auto;
        top: auto;
        transform: none;
        justify-content: center;
        margin-bottom: 1rem;
        z-index: 10;
    }
    
    .nav-header {
        flex-direction: column;
        align-items: center;
    }
    
    .nav-cta {
        position: relative;
        right: auto;
        top: auto;
        transform: none;
        margin-top: 1rem;
        text-align: center;
        order: 3;
    }
    
    .cta-button {
        font-size: 0.85rem;
        padding: 0.65rem 1.25rem;
    }
    
    .nav-menu {
        order: 2;
        margin-top: 1rem;
    }
    
    .nav-title {
        font-size: 2rem;
    }
    
    .nav-brand img {
        height: 90px;
    }
    
    .nav-header {
        padding-top: 0;
    }
    
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: linear-gradient(rgba(6, 8, 37, 0.95), rgba(6, 8, 37, 0.95));
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 2rem 1.5rem;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        gap: 1rem;
    }
    
    .nav-menu.active {
        display: flex;
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-item {
        width: 100%;
        text-align: center;
    }
    
    .nav-link {
        display: block;
        padding: 1.25rem 1rem;
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 5px;
        margin-bottom: 0.5rem;
        text-align: center;
        font-size: 1.2rem;
    }
    
    .nav-item:last-child .nav-link {
        border-bottom: none;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .features-grid,
    .members-grid,
    .chapters-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature-card,
    .member-card,
    .chapter-card {
        padding: 1.5rem;
    }
    
    .chapter-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .chapter-format {
        align-self: flex-start;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 3rem 1rem;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .features,
    .about-content,
    .directory-content,
    .contact-content,
    .chapters-content {
        padding: 3rem 1rem;
    }
    
    .form-container {
        max-width: 98%;
        padding: 1rem;
        margin: 0 auto;
        border-radius: 8px;
    }
    
    .contact-content {
        padding: 1rem 0;
    }
    
    .contact-content .container {
        padding: 0 0.5rem;
    }
    
    /* Ensure proper spacing for all page content */
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .btn-large {
        width: 100%;
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }
    
    .filter-controls {
        margin-bottom: 2rem;
    }
    
    .filter-controls label {
        display: block;
        margin-bottom: 0.5rem;
        margin-right: 0;
    }
    
    .filter-dropdown {
        width: 100%;
        max-width: 300px;
    }
}\n/* Nav Center Container */\n.nav-center {\n    display: flex;\n    flex-direction: column;\n    align-items: center;\n    justify-content: center;\n    flex: 1;\n    gap: 0.5rem;\n}
