/* --- Global Styles --- */
body {
    font-family: 'Inter', sans-serif;
    background-color: #f8f5f0; /* Soft cream base from logo */
    color: #223336; /* Deep slate from logo text */
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

/* --- Navigation & Header --- */
header {
    background: rgba(248, 245, 240, 0.95) !important;
    backdrop-filter: blur(10px);
    border-bottom: 2px solid #76b852; /* Leaf green accent */
    padding: 10px 0;
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
}

.nav-link {
    color: #223336 !important;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: capitalize;
}

.nav-link:hover {
    color: #76b852 !important;
}

/* --- Typography --- */
h1, h2, h3 {
    color: #223336;
    font-weight: 800;
    letter-spacing: -0.5px;
}

span.text-blue-600 { /* Overriding Tailwind classes to match brand */
    color: #76b852 !important;
}

/* --- Hero & Sections --- */
.hero-gradient {
    background: linear-gradient(135deg, #f8f5f0 0%, #e9ece5 100%);
}

.section-divider {
    height: 4px;
    width: 50px;
    background: #76b852;
    margin: 0 auto 1.5rem;
    border-radius: 2px;
}

/* --- Course Cards --- */
.course-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.course-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(34, 51, 54, 0.1);
    border-color: #a8d59d;
}

/* --- Buttons (The "SiteSeed" Green) --- */
.bg-blue-600, 
button[onclick*="toggleModal"],
.cta-button {
    background-color: #76b852 !important;
    color: #ffffff !important;
    border-radius: 12px;
    font-weight: 600;
    box-shadow: 0 4px 6px -1px rgba(118, 184, 82, 0.3);
    transition: all 0.3s ease;
}

.bg-blue-600:hover, 
.cta-button:hover {
    background-color: #639d43 !important;
    box-shadow: 0 10px 15px -3px rgba(118, 184, 82, 0.4);
    transform: translateY(-1px);
}

/* --- Modals --- */
#signinModal > div, 
#enrollmentModal > div {
    background: #ffffff;
    border-radius: 24px;
    border: none;
    box-shadow: 0 25px 50px -12px rgba(34, 51, 54, 0.25);
}

input:focus, select:focus, textarea:focus {
    border-color: #76b852 !important;
    ring: 2px solid #a8d59d !important;
}

/* --- Footer --- */
footer {
    background-color: #223336; /* Deep slate for contrast */
    color: #f8f5f0;
    padding: 3rem 0;
    margin-top: 4rem;
}
/* Custom Brand Color */
.brand-green-text {
    color: #76b852 !important; /* The specific leaf green from your logo */
}

/* Optional: Subtle logo hover effect */
header img {
    transition: transform 0.3s ease;
}

header img:hover {
    transform: scale(1.1) rotate(2deg);
}
:root {
    --primary-green: #74b75a; /* Matching your SiteSeed theme */
    --dark-bg: #1a1a1a;
    --light-gray: #f4f4f4;
}

.chat-toggle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: var(--primary-green);
    border-radius: 50%;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 1000;
    transition: transform 0.3s ease;
}

.chat-toggle:hover { transform: scale(1.1); }

.chat-window {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 350px;
    height: 450px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    z-index: 1000;
    transition: all 0.3s ease;
}

.hidden { display: none; opacity: 0; transform: translateY(20px); }

.chat-header {
    background: var(--dark-bg);
    color: white;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.online-indicator {
    width: 10px;
    height: 10px;
    background: #4CAF50;
    border-radius: 50%;
    display: inline-block;
    margin-right: 8px;
}

.chat-messages {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
    background: var(--light-gray);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.message {
    padding: 10px 14px;
    border-radius: 15px;
    max-width: 80%;
    font-size: 0.9rem;
    line-height: 1.4;
}

.message.bot { background: white; align-self: flex-start; border-bottom-left-radius: 2px; }
.message.user { background: var(--primary-green); color: white; align-self: flex-end; border-bottom-right-radius: 2px; }

.chat-input-area {
    padding: 15px;
    border-top: 1px solid #eee;
    display: flex;
    gap: 10px;
}

#user-input {
    flex: 1;
    border: 1px solid #ddd;
    padding: 8px;
    border-radius: 6px;
    outline: none;
}

#send-btn {
    background: var(--primary-green);
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 6px;
    cursor: pointer;
}
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-6px); }
    100% { transform: translateY(0px); }
  }
  .group:hover .floating {
    animation: float 2s ease-in-out infinite;
  }