/* --- Preloader Styles (Dark Blue Gradient) --- */
#preloader {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;


    background: radial-gradient(circle, #000000 0%, #0e1d2e 100%);

    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.75s ease;
}

#preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

#preloader .preloader-logo {
    display: block;
    width: 120px;
    animation: focusPulse 2.5s ease-in-out infinite;
}

@keyframes focusPulse {
    0% {
        transform: scale(1);
        filter: blur(0px);
        opacity: 1;
    }

    50% {
        transform: scale(1.05);
        filter: blur(1px);
        opacity: 0.8;
    }

    100% {
        transform: scale(1);
        filter: blur(0px);
        opacity: 1;
    }
}

/* --- End of Preloader Styles --- */


:root {
    /* Color Palette */
    --paynes-gray: #475461;
    /* ...rest of your css... */
}



/* CSS for the professional design */
:root {
    --primary-color: #0e1216;
    --background-color: #f0f2f5;
    --card-background: #ffffff;
    --text-color: #333;
    --heading-color: #111;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

/* In about.css */

body {
    font-family: 'Poppins', sans-serif;
    background-color: #f0f2f5;
    /* Correct light gray background */
    padding: 20px;
    color: #333;
}

.team-section {
    max-width: 1200px;
    margin: 40px auto;
    text-align: center;
    margin-bottom: 70px;
}

.team-section h2 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--heading-color);
}

.team-section .subtitle {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Member Card Container */
.team-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

/* Individual Member Card */
.member-card {
    background-color: var(--card-background);
    width: 300px;
    border-radius: 16px;
    box-shadow: var(--shadow);
    text-align: center;
    padding-top: 30px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.member-card:hover {
    transform: translateY(-5px);
}

.card-header {
    position: relative;
}

.profile-pic {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 15px;
}

.card-content {
    padding: 0 20px 25px;
}

.member-name {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
    color: var(--heading-color);
}

.member-role {
    font-size: 1rem;
    color: var(--primary-color);
    margin: 5px 0 15px 0;
    font-weight: 600;
}

/* --- NEW STYLES --- */

/* Class to hide extra member cards */
.member-card.is-hidden {
    display: none;
}

/* Container for the button */
.btn-container {
    margin-top: 40px;
}

/* "See All Members" button styling */
#see-all-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 12px 30px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(73, 86, 100, 0.3);
    transition: background-color 0.3s ease, transform 0.3s ease;
}

#see-all-btn:hover {
    background-color: #343c46;
    transform: translateY(-2px);
}

/* --- STYLES FOR HISTORY SECTION --- */
.history-section {
    max-width: 800px;
    /* A bit narrower for better text readability */
    margin: 40px auto;
    text-align: center;
    background-color: var(--card-background);
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow);
    margin-bottom: 70px;
    /* Adds space before the Principal section */
}

.history-section h2 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--heading-color);
}

.history-content {
    text-align: left;
    /* Left-align the text inside for easier reading */
    color: #555;
}

.history-content .history-intro {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 30px;
}

.history-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--heading-color);
    margin-bottom: 15px;
    text-align: center;
}

.history-content .timeline {
    list-style: none;
    padding-left: 0;
}

.history-content .timeline li {
    font-size: 1rem;
    padding: 10px 0;
    border-bottom: 1px solid #e0e0e0;
}

.history-content .timeline li:last-child {
    border-bottom: none;
}

.history-content .timeline strong {
    color: var(--primary-color);
    margin-right: 10px;
}

/* Footer Styles */
footer {
    background-color: #2c2c2c;
    /* A slightly softer black */
    color: #a0a0a0;
    text-align: center;
    padding: 40px 20px;
    margin-top: 50px;
    font-size: 0.9rem;
}

/* Social Media Icon Styles */
.footer-social {
    margin-bottom: 20px;
}

.footer-social a {
    color: #fff;
    font-size: 1.2rem;
    margin: 0 15px;
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-block;
    /* Allows transform to work */
}

.footer-social a:hover {
    color: var(--primary-color);
    /* Uses the blue from your theme */
    transform: translateY(-3px);
}

/* Contact Info Styles */
.footer-contact {
    margin-bottom: 20px;
}

.footer-contact p {
    margin: 5px 0;
    line-height: 1.6;
}

.footer-contact a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: var(--primary-color);
}

/* Copyright Text Style */
.footer-copyright {
    margin: 0;
    font-size: 0.8rem;
    color: #777;
    border-top: 1px solid #444;
    padding-top: 20px;
}