/* --- CORRECTED AND UNIFIED CSS --- */

/* Import Google Fonts (Poppins & Open Sans) */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600&family=Poppins:wght@400;600;700&display=swap');

/* === 1. ROOT VARIABLES (One single source of truth for your design) === */
:root {
    --primary-gradient-start: #93b8e7;
    --primary-gradient-end: #b993e7;
    --text-dark: #2c3e50;
    --text-medium: #555;
    --text-light: #7f8c8d;
    --background-light: #ecf0f1;
    --background-card: #ffffff;
    --border-light: #dfe6e9;
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Open Sans', sans-serif;
}

/* === 2. GENERAL BODY & TYPOGRAPHY STYLES === */
body {
    font-family: var(--font-body);
    margin: 0;
    background-color: var(--background-light);
    color: var(--text-dark);
    line-height: 1.6;
}

/* === 3. SITEWIDE ELEMENTS (Header & Footer) === */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5vw;
    background-color: var(--background-card);
    border-bottom: 1px solid var(--border-light);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.logo { display: flex; align-items: center; }
.logo img { height: 40px; margin-right: 10px; }
.logo h1 { margin: 0; font-size: 1.8em; font-family: var(--font-heading); color: var(--text-dark); font-weight: 700; }

nav ul { list-style: none; display: flex; margin: 0; padding: 0; gap: 30px; }
nav a { text-decoration: none; color: var(--text-medium); font-weight: 600; font-size: 1.05em; position: relative; }
nav a::after { content: ''; position: absolute; width: 0; height: 2px; display: block; margin-top: 5px; right: 0; background: linear-gradient(to right, var(--primary-gradient-start), var(--primary-gradient-end)); transition: width 0.3s ease; }
nav a:hover::after { width: 100%; left: 0; background: linear-gradient(to left, var(--primary-gradient-start), var(--primary-gradient-end)); }

footer { text-align: center; padding: 30px 20px; margin-top: 80px; background-color: var(--background-card); color: var(--text-medium); border-top: 1px solid var(--border-light); }
.footer-links { margin-bottom: 15px; display: flex; justify-content: center; gap: 25px; }
.footer-links a { color: var(--text-medium); text-decoration: none; }
.footer-links a:hover { color: var(--primary-gradient-end); text-decoration: underline; }
footer p { font-size: 0.9em; color: var(--text-light); }

/* === 4. HOMEPAGE SPECIFIC STYLES === */
.hero { text-align: center; padding: 100px 20px; background: linear-gradient(135deg, var(--primary-gradient-start) 0%, var(--primary-gradient-end) 100%); color: white; }
.hero h2 { font-size: 3.5em; margin-bottom: 40px; font-family: var(--font-heading); font-weight: 700; line-height: 1.2; }
.hero-buttons { display: flex; justify-content: center; gap: 20px; }

.btn { text-decoration: none; padding: 14px 30px; border-radius: 30px; font-weight: bold; font-size: 1.1em; border: none; transition: transform 0.2s ease, box-shadow 0.2s ease; box-shadow: 0 4px 10px rgba(0,0,0,0.2); }
.btn-primary { background-color: white; color: var(--primary-gradient-end); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 6px 15px rgba(0,0,0,0.3); }
.btn-secondary { background: transparent; border: 2px solid white; color: white; }
.btn-secondary:hover { background-color: rgba(255,255,255,0.2); transform: translateY(-3px); box-shadow: 0 6px 15px rgba(0,0,0,0.3); }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 30px; padding: 60px 5vw; max-width: 1200px; margin: 0 auto; }
.feature-card { background-color: var(--background-card); border-radius: 15px; padding: 30px; text-align: center; box-shadow: 0 5px 15px rgba(0,0,0,0.08); transition: transform 0.2s ease, box-shadow 0.2s ease; border: 1px solid var(--border-light); text-decoration: none; color: var(--text-dark);}
.feature-card:hover { transform: translateY(-5px); box-shadow: 0 8px 20px rgba(0,0,0,0.12); }
.feature-card .icon { font-size: 3em; margin-bottom: 15px; background: linear-gradient(45deg, var(--primary-gradient-start), var(--primary-gradient-end)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; display: inline-block; }
.feature-card h3 { margin: 10px 0 8px 0; font-family: var(--font-heading); font-weight: 600; }
.feature-card p { color: var(--text-light); font-size: 0.95em; margin: 0; }


/* === 5. ABOUT US PAGE STYLES (Corrected and Integrated) === */
.about-us-section {
    text-align: center;
    padding: 80px 5vw; /* Consistent padding with other sections */
}

.about-us-section .container { /* Use a more specific selector */
    max-width: 1000px;
    margin: 0 auto;
}

.about-us-section .section-title {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.about-us-section .section-intro {
    font-size: 1.1rem;
    color: var(--text-medium);
    max-width: 700px;
    margin: 0 auto 60px auto;
    line-height: 1.8;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 35px;
}

.team-member-card {
    background: var(--background-card);
    border-radius: 15px; /* Matches your feature-card */
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08); /* Matches your feature-card */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.team-member-card:hover {
    transform: translateY(-5px); /* Matches your feature-card */
    box-shadow: 0 8px 20px rgba(0,0,0,0.12); /* Matches your feature-card */
}

.member-photo-container {
    padding: 5px; 
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-gradient-start), var(--primary-gradient-end)); /* USES YOUR SITE'S GRADIENT */
    margin-bottom: 25px;
    box-shadow: 0 6px 20px rgba(0,0,0, 0.15);
    display: inline-block;
}

.member-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--background-card); /* USES YOUR SITE'S CARD BACKGROUND COLOR */
    display: block;
}

.member-name {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0 0 20px 0;
}

.linkedin-button {
    display: inline-block;
    text-decoration: none;
    padding: 12px 28px;
    border-radius: 30px; /* Matches your .btn style */
    font-weight: bold;
    font-size: 1em;
    transition: all 0.3s ease;
    margin-top: auto; /* Pushes button to the bottom */

    /* Style to match your .btn-secondary */
    background: transparent;
    border: 2px solid var(--primary-gradient-end);
    color: var(--primary-gradient-end);
}

.linkedin-button:hover {
    /* Style to match your .btn-primary hover (but with gradient) */
    background: linear-gradient(135deg, var(--primary-gradient-start), var(--primary-gradient-end));
    color: white;
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
}

/* === 6. OTHER CONTENT PAGES & COMPONENTS === */
.content-wrapper {
    max-width: 800px;
    margin: 40px auto;
    padding: 40px;
    background-color: var(--background-card);
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}
.content-wrapper h1 { font-family: var(--font-heading); font-size: 2.5em; margin-top: 0; color: var(--text-dark); }
.content-wrapper p, .content-wrapper li { font-size: 1.1em; line-height: 1.7; color: var(--text-medium); }
.content-wrapper ol { padding-left: 20px; }
.content-wrapper blockquote { border-left: 4px solid var(--primary-gradient-start); margin: 20px 0; padding: 10px 20px; font-style: italic; font-size: 1.2em; }
.video-container { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; max-width: 100%; background: #000; margin-top: 20px; border-radius: 10px;}
.video-container iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

/* --- Music Categories and Start Session Button --- */
.start-session-btn {
    display: inline-block;
    padding: 10px 30px;
    margin: 20px 0 40px; 
    background-color: #E6E6FA;
    color: #4B0082;
    font-weight: bold;
    border: 1px solid #C8A2C8;
    border-radius: 8px;
    text-decoration: none;
    font-size: 1.2em;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s, transform 0.1s;
}
.start-session-btn:hover { background-color: #DDA0DD; transform: translateY(-1px); }

.category-grid {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: flex-start;
    gap: 30px;
    margin-top: 20px;
    padding: 10px 0;
    width: 100%; 
}

.category-card {
    width: 120px; 
    height: 120px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #f0f0f0; 
    border: 2px solid #ccc;
    border-radius: 10px;
    text-decoration: none;
    color: #333;
    font-weight: bold;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s, box-shadow 0.2s;
}
.category-card i { font-size: 2.5em; margin-bottom: 8px; color: #007bff; }
.category-card:hover { transform: translateY(-5px); box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1); border-color: #007bff; }

/* --- Chatbot Styles --- */
#chat-bubble { position: fixed; bottom: 30px; right: 30px; background: linear-gradient(135deg, var(--primary-gradient-start), var(--primary-gradient-end)); color: white; width: 60px; height: 60px; border-radius: 50%; display: flex; justify-content: center; align-items: center; font-size: 2em; cursor: pointer; box-shadow: 0 4px 15px rgba(0,0,0,0.2); transition: transform 0.2s ease; z-index: 1000; }
#chat-bubble:hover { transform: scale(1.1); }
#chat-window { position: fixed; bottom: 100px; right: 30px; width: 350px; height: 450px; background-color: var(--background-card); border-radius: 15px; box-shadow: 0 5px 20px rgba(0,0,0,0.3); display: flex; flex-direction: column; overflow: hidden; transition: opacity 0.3s, transform 0.3s; z-index: 1000; }
#chat-window.hidden { opacity: 0; transform: translateY(20px); pointer-events: none; }
#chat-header { background: linear-gradient(135deg, var(--primary-gradient-start), var(--primary-gradient-end)); color: white; padding: 10px 15px; display: flex; justify-content: space-between; align-items: center; font-weight: bold; }
#chat-header button { background: none; border: none; color: white; font-size: 1.5em; cursor: pointer; }
#chat-log { flex-grow: 1; padding: 15px; overflow-y: auto; display: flex; flex-direction: column; }
.chat-message { padding: 8px 12px; border-radius: 18px; margin-bottom: 10px; max-width: 80%; line-height: 1.4; }
.user-message { background-color: var(--primary-gradient-end); color: white; align-self: flex-end; margin-left: auto; }
.bot-message { background-color: var(--background-light); color: var(--text-dark); align-self: flex-start; }
#chat-input-container { display: flex; padding: 10px; border-top: 1px solid var(--border-light); }
#chat-input { flex-grow: 1; border: 1px solid var(--border-light); padding: 10px; border-radius: 20px; background-color: var(--background-light); }
#send-btn { border: none; background-color: var(--primary-gradient-end); color: white; border-radius: 50%; width: 40px; height: 40px; margin-left: 10px; cursor: pointer; font-size: 1em; }


/* === 7. RESPONSIVE DESIGN === */
@media (max-width: 768px) {
    header { flex-direction: column; padding: 15px 20px; }
    nav ul { margin-top: 15px; flex-wrap: wrap; justify-content: center; }
    .hero h2 { font-size: 2.5em; }
    .hero-buttons { flex-direction: column; gap: 15px; }
    .btn { width: 80%; margin: 0 auto; }
    .features { padding: 40px 20px; }
    .content-wrapper { padding: 25px; margin: 20px; }
    .about-us-section .section-title { font-size: 2.2rem; }
}
 