body {
    font-family: var(--font-family-body);
    font-optical-sizing: auto;
    font-style: normal;
    line-height: 1.6; 
    color: #333;
    -webkit-font-smoothing: antialiased;
  background-color: #f8f8f2; /* A light off-white base */
    background-image:
        radial-gradient(circle, rgba(0,0,0,0.02) 1px, transparent 1px),
        radial-gradient(circle, rgba(0,0,0,0.02) 1px, transparent 1px);
    background-size: 20px 20px;
    background-position: 0 0, 10px 10px;
}

h1, h2, h3 {
    font-family: var(--font-family-display); /* Use Poppins for headings */
    font-weight: 700; /* Make headings bolder */
    color: var(--color-primary); /* Use your primary color for headings */
    line-height: 1.2;
    margin-bottom: 0.25em;
}

nav {
    background-color: #f0f0f0;
    border-bottom: 1px solid #ddd;
    padding: 5px 20px;
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex; /* Make nav a flex container */
    justify-content: space-between; /* Keep space-between to separate the two ul elements */
    align-items: center;
}

nav > ul:first-child { /* Target the first ul (main navigation) */
    list-style: none;
    padding: 15px 0;
    margin: 0;
    display: flex;
    gap: 20px;
    text-align: center;
    /* Use margin auto to center the block of links */
    margin-left: auto;
    margin-right: auto;
}

nav ul.social-nav {
    list-style: none;
    padding: 15px 0;
    margin: 0;
    display: flex;
    gap: 15px;
    text-align: right;
}

nav ul li {
    display: inline;
    margin: 0;
}

nav ul.social-nav li {
    display: inline; /* For social navigation items */
    margin: 0; /* Remove individual item horizontal margins, use gap on ul */
}

nav li a {
    color: var(--color-text-default);
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

nav li a:hover {
    background-color: #ddd;
    color: var(--color-primary);
    text-decoration: underline;
    text-underline-offset: 3px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

nav ul.social-nav li a {
    font-size: 1.5em;
    padding: 5px;
}

nav ul.social-nav li a:hover {
    background-color: transparent;
    text-decoration: none; /* Corrected typo */
    box-shadow: none;
}

nav ul.social-nav li a .fa-facebook {
    color: #1877F2;
}

nav ul.social-nav li a .fa-instagram {
    color: #E4405F;
}

nav li a.active {
    background-color: var(--color-primary);
    color: white;
    font-weight: bold;
    position: relative;
}

nav li a.active::after {
    content: "";
    position: absolute;
    bottom: -3px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%; /*width*/
    height: 2px;
    background-color: var(--color-primary);
}

#home {
    padding: 40px 20px;
    min-height: 50vh;
    background-image: url('https://image.pollinations.ai/prompt/subtle%20black%20and%20gold%20pattern'); /* Updated URL */
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#home h1 {
    font-size: 2.5em;
    margin-bottom: 1em;
    text-align: center;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8); 
    background-color: transparent; 
    padding: 0; /
    border-radius: 0; 
}

#home p {
    font-size: 1.1em;
    color: #1a1a1a;
    line-height: 1.7;
    text-align: center;
    margin-bottom: 2em;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8); /* Adjust shadow values as needed */
    background-color: transparent; /* Remove the background color */
    padding: 0; /* Remove padding if no background */
    border-radius: 0; /* Remove border-radius if no background */
}

.welcome-containuer h1,
.welcome-container p {
    opacity: 0;
    animation: fadeIn 1s ease-in-out forwards;
}
.welcome-container {
    border: 4px solid #d4af37; 
    padding: 20px;
    margin-bottom: 0; 
    border-radius: 6px;
    text-align: center; 
    background-color: #faf9f6; 
    width: 80%; 
    max-width: 80%; 
    margin-left: auto; 
    margin-right: auto; 
    animation-delay: .03s;
 }

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
section {
    padding: 20px;
    min-height: 10vh; 
}
.join-container {
     border: 4px solid #d4af37; 
    padding: 20px; 
    margin-bottom: 20px; 
    border-radius: 6px; 
    text-align: center;
    background-color: #faf9f6; 
    width: 80%; 
    max-width: 80%; 
    margin-left: auto; 
    margin-right: auto; 
    transition: border-color 0.3s ease-in-out;
    animation-delay: .05s;
}

.join-container:hover {
    border-color: #c29e2a;
} 

.join-container h2 {
    font-size: 1.5em;
    margin-bottom: 10px;
}

.join-container p {
    font-size: 1.1em;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    opacity: 0;
    animation: fadeIn 1s ease-in-out forwards;
}

#hiatus {
    padding: 40px 20px;
    text-align: center;
}

.hiatus-container {
    border: 4px solid #d4af37;
    padding: 30px;
    margin: 20px auto;
    border-radius: 8px;
    background-color: #faf9f6;
    max-width: 800px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.hiatus-container h2 {
    font-size: 2em;
    margin-bottom: 20px;
    color: #d4af37;
}

.hiatus-container p {
    font-size: 1.1em;
    line-height: 1.8;
}

.hiatus-container a {
    color: #d4af37;
    text-decoration: none;
    font-weight: bold;
}

.hiatus-container a:hover {
    text-decoration: underline;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
    }
}
}
#applications h2 { 
    margin-bottom: 10px; /* Adjust the pixel value for the desired space */
}
#applications {
    padding: 20px; /* Adjust as needed */
    display: flex;
    flex-direction: column; /* Stack items vertically */
    align-items: center;
    margin-top: 0;
}

.applications-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding 20px;
    margin: 20px auto;
    max-width: 960px;
}
.application-bubble {
    flex-basis: calc(50% - 10px);
    background-color: #faf9f6; 
    border: 2px solid #d4af37; 
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 10px; 
    width: 80%; 
    max-width: 400px; 
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1); 
    text-align: center; 
    
}

.application-bubble a { /* Style the link to fill the bubble */
    display: block; /* Make the link a block-level element */
    color: inherit; /* Inherit text color */
    text-decoration: none; /* Remove underline */
    padding: 10px 0; /* Padding around link text */
}

#applications .application-bubble a:hover {
    background-color: #ddd; /* Slightly lighter background on hover */
    transition: background-color 0.2s ease-in-out; /* Subtle hover transition */
}


#authors h2 {
    text-align: center;
    margin-bottom: 20px;
  }
#authors .authors-container {
     display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    padding: 20px;
    border: 4px solid #d4af37;
    border-radius: 8px;
    background-color: #f9f9f6; 
    margin: 20px auto 30px;
    max-width: 1200px;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); 
   background-image: linear-gradient(to bottom, #f9f9f6 0%, #f2f2ed 30%, #e8e8e3 70%, #f9f9f6 100%);
   transition: border-width 0.3s ease-in-out, border-color 0.3s ease-in-out;
}

#authors .authors-container:hover {
    border-width: 6px;
    border-color: #c29e2a
}

#authors .author h3 {
    font-size: 1.2em;
    font-weight: 600;
    margin-top: 0.5em;
    color: var(--color-text-default);
    transition: font-size 0.3s ease-in-out, color 0.3s ease-in-out;
    padding-top: 5px;
    padding-bottom: 5px;
}

#authors .author h3:hover {
    font-size: 1.3em !important;
    color: #d4af37 !important;
    border-top: 2px solid #d4af37;
    border-bottom: 2px solid #d4af37;
}

.author .author p {
    font-size: 0.9em;
    color: #777;
    margin-top: 0.2em;
    padding-top: 3px;
    padding-bottom: 3px;
    transition: border-color 0.3s ease-in-out;
}

#authors .author p:hover {
    border-top: 2px solid #d4af37;
    border-bottom: 2px solid #d4af37;
}
.author {
    text-align: center; /* Center the author's name below the image */
    margin-bottom: 20px; /* Spacing below each author's section */
}

.author img {
    max-width: 100%; /* Ensure the image doesn't exceed the container width */
    height: auto; /* Maintain aspect ratio */
    border-radius: 50%; /* Make the image round */
    border: 4px solid #f0f0f0; 
    object-fit: cover; /* Ensure the image fills the circle */
    aspect-ratio: 1/1; /* Maintain a 1:1 aspect ratio */
    transition: transform 0.3s ease-in-out, border-color 0.3s ease-in-out;
}

.author img:hover {
    transform: scale(1.05);
    border-color: #d4af37;
}

#authors .author a {
    color: #b8860b; /* A shade of gold for the default color 
    text-decoration: none; 
    transition: color 0.3s ease-in-out, font-size 0.3s ease-in-out; 
    font-weight: bold; 
    margin-top: 0.5em; 
    display: inline-block;
}

#authors .author a:hover {
    color: #d4af37; 
    font-size: 1.1em; 
    text-decoration: underline; 
}

@media (max-width: 1200px) { /* Example breakpoint for slightly smaller screens */
    #authors .authors-container {
        grid-template-columns: repeat(4, 1fr); /* Show 4 per line on medium screens */
    }
}

@media (max-width: 768px) {
    #authors .authors-container {
        grid-template-columns: repeat(3, 1fr); /* Show 3 per line on smaller screens */
    }
}

@media (max-width: 480px) {
    #authors .authors-container {
        grid-template-columns: 1fr; /* One column on very small screens */
    }
}


#faq {
     padding: 10px;
    border: 2px solid #d4af37;
    border-radius: 8px;
    background-color: #faf9f6;
    margin-bottom: 30px;
    max-width: 80%;
    margin-left: auto;
    margin-right: auto;
    text-align: center; /* Optional */
}

.faq-container {
    max-width: 800px;
    margin: 30px auto;
    padding: 20px;
    border: 1px solid #d4af37;
    border-radius: 8px;
    background-color: #fefefe;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.faq-question {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    margin-bottom: 5px;
    border: 1px solid #d4af37;
    border-radius: 5px;
    background-color: #fcfcfc;
    transition: background-color 0.15s ease-in-out; 
}

.faq-question:hover {
    background-color: #eee;
}

.faq-toggle {
    cursor: pointer;
    font-size: 1.2em;
    width: 25px
    height: 25px;
    border: 1px sold #d4af37
    border-radius: 50%;
    display: flex;
    justify-content: center;
    font-weight: bold;
    color: #d4af37;
}

.faq-answer {
    display: none; /* Hide answers by default */
    padding: 15px;
    margin-top:10px;
    border-top: 1px solid #eee;
    background-color: #fefefe;
    border-radius: 0 0 8px 8px;
}

.faq-item {
    margin-bottom: 5px;
    border: 1px solid #d4af37;
    border-radius: 8px;
    background-color: #fcfcfc;
    transition: background-color 0.15s ease-in-out;
    border-bottom: 2px solid #eee;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-item.active .faq-answer {
    display: block; /* Show answer when the faq-item has the 'active' class */
    background-color: #fefefe;
    border: 2px solid #da4f37;
    border-top: none;
    border-bottom: 2px solid #d4af37;
    border-radius: 0 0 8px 8px;
    box-shadow: 1px 1px 3px #d4af37;
    padding: 15px 20px;
    margin: 0;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg); 
    font-size: 1.4em;
    border-bottom: none;
}

#contact h2 {
    text-align: center;
    margin-bottom: 20px;
}
.form-container {
    border: 2px solid #d4af37; /* Gold border */
    padding: 20px; /* Add some space inside the box */
    margin: 20px auto; /* Add vertical margin and center the box horizontally */
    border-radius: 8px; /* Optional: round the corners */
    background-color: #f9f9f6; /* Optional: light background color */
    width: 80%; /* Control the width of the box (adjust as needed) */
    max-width: 80%; /* Set a maximum width to prevent it from getting too wide on large screens */
}
section {
    padding: 40px 20px; /* Increased padding for more visual separation */
    min-height: 10vh;
    /* Example: Add a subtle border-bottom to sections */
    /* border-bottom: 1px solid #eee; */

.hamburger {
    display: none; /* Initially hidden on larger screens */
    cursor: pointer;
    padding: 10px;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 5px 0;
    transition: 0.4s;
}

/* Mobile Styles (below 768px width) */
@media (max-width: 768px) {
    nav > ul:first-child { /* Target the main navigation ul */
        display: none; /* Hide main navigation links */
        flex-direction: column;
        position: absolute;
        top: 60px; /* Adjust based on your header height */
        left: 0;
        background-color: rgba(240, 240, 240, 0.95);
        width: 100%;
        text-align: center;
        padding: 20px 0;
        z-index: 10;
        margin-left: 0; /* Reset left margin */
        margin-right: 0; /* Reset right margin */
    }

    nav ul.social-nav {
        display: flex;
        justify-content: center; /* Center social icons on mobile */
        width: 100%;
        position: absolute;
        bottom: 20px; /* Adjust as needed */
        left: 0;
        padding: 10px 0;
        background-color: rgba(240, 240, 240, 0.95);
    }

    nav > ul:first-child li { /* Style list items in the hidden menu */
        display: block;
        margin: 10px 0;
    }

    .hamburger {
        display: block; /* Show hamburger menu */
    }

    nav.open > ul:first-child {
        display: flex; /* Show main navigation when open class is applied */
    }

    nav.open ul.social-nav {
        display: flex; /* Show social icons when open class is applied */
    }
}
