:root {
    /* ---------- Color Palette ---------- */
    --primary: #4A90E2;       /* Soft Blue */
    --primary-hover: #3d7dcc; /* Slightly darker for hover */
    --secondary: #3BBFA7;     /* Teal Green */
    --secondary-hover: #34a892;
    --accent1: #F5C044;       /* Sunshine Yellow */
    --accent2: #FF6F61;       /* Coral */
    --light-bg: #F5F7FA;      /* Light Gray */
    --text-color: #4A4A4A;    /* Slate */
    --white: #FFFFFF;
}

/* ---------- Global ---------- */
html, body {
    height: 100%;
    margin: 0;
}

body {
    background-color: var(--light-bg);
    color: var(--text-color);
    font-family: 'Inter', sans-serif;
}

/* ---------- Main Wrapper ---------- */
.wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.content {
    flex: 1;
}

/* ---------- Navbar ---------- */
.navbar {
    background-color: var(--primary) !important;
}
.navbar .navbar-brand,
.navbar .nav-link {
    color: var(--white) !important;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
}
.navbar .nav-link:hover {
    color: var(--secondary) !important;
}

/* ---------- Headings ---------- */
h1, h2, h3 {
    font-family: 'Poppins', sans-serif;
    margin-bottom: 1rem;
}

h1 { font-size: 48px; }
h2 { font-size: 36px; }
h3 { font-size: 28px; }

/* ---------- Buttons ---------- */
.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    border-radius: 10px;
    font-family: 'Poppins', sans-serif;
    font-weight: bold;
    text-transform: uppercase;
    border: none;
    padding: 0.75rem 1.5rem;
    transition: all 0.2s ease;
}
.btn-primary:hover {
    background-color: var(--primary-hover);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--secondary);
    border: 2px solid var(--secondary);
    border-radius: 10px;
    font-family: 'Poppins', sans-serif;
    font-weight: bold;
    text-transform: uppercase;
    padding: 0.75rem 1.5rem;
    transition: all 0.2s ease;
}
.btn-secondary:hover {
    background-color: var(--secondary-hover);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* ---------- Cards ---------- */
.card {
    border-radius: 12px;
    border: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.card-title {
    color: var(--primary);
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
}

/* ---------- Forms ---------- */
.form-label {
    font-weight: 500;
    color: var(--text-color);
}
.form-control:focus, .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(74, 144, 226, 0.25);
}

/* ---------- Hero / CTA ---------- */
.hero {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    padding: 8rem 2rem;
    text-align: center;
}
.cta {
    background-color: var(--primary);
    color: var(--white);
    padding: 4rem 2rem;
    text-align: center;
}

/* ---------- Footer ---------- */
footer {
    background-color: var(--text-color);
    color: var(--white);
    padding: 2rem;
    text-align: center;
}

/* ---------- Features Page ---------- */
.features-section {
    padding: 60px 20px;
    max-width: 900px;
    margin: 0 auto;
    color: var(--text-color);
}

/* Section headers */
.features-section h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: var(--primary);
    text-align: center;
    font-family: 'Poppins', sans-serif;
}

/* Section paragraphs */
.features-section p {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 40px;
    text-align: center;
}

/* Feature list */
.feature-what-you-can-do ul {
    list-style: none;
    padding: 0;
    margin: 0 auto 40px;
    max-width: 700px;
}

.feature-what-you-can-do li {
    background-color: var(--white);
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    font-size: 1rem;
}

.feature-what-you-can-do li strong {
    color: var(--primary);
}

/* Responsive */
@media (max-width: 768px) {
    .features-section h2 { font-size: 28px; }
    .features-section p,
    .feature-what-you-can-do li { font-size: 14px; }
    .feature-what-you-can-do li { padding: 15px; }
}

/* Section separation */
.feature-continuity-engine,
.feature-what-you-can-do,
.feature-whats-coming-next {
    margin-bottom: 60px;
}

/* ---------- About Page ---------- */
.about-section {
    background-color: var(--white);
}

.about-section h1 {
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.about-section .lead {
    font-size: 1.25rem;
    color: var(--secondary);
    margin-bottom: 2rem;
}

.about-mission, .about-team, .about-story, .about-values {
    margin-top: 4rem;
}

.about-mission h2,
.about-team h2,
.about-story h2,
.about-values h2 {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 1rem;
}

.about-mission p,
.about-team p,
.about-story p,
.about-values p {
    color: var(--text-color);
    line-height: 1.7;
}

.team-member {
    text-align: center;
    padding: 2rem;
    border-radius: 1rem;
    background-color: #f9f9fb;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: transform 0.2s;
}

.team-member:hover {
    transform: translateY(-5px);
}

.team-member img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin-bottom: 1rem;
    object-fit: cover;
}

.team-member h5 {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.team-member p {
    color: var(--text-color);
    font-size: 0.95rem;
}


/* ---------- FAQ Page ---------- */

.accordion-button {
    color: var(--primary)
}

/* ---------- Login Page ---------- */

.login-card {
    background-color: #fff;
    padding: 40px 30px;
    border-radius: 12px;
    max-width: 450px;
    margin: 60px auto;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.login-title {
    text-align: center;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 30px;
    color: #2b2c35;
}

.login-form label {
    display: block;
    font-weight: 500;
    margin-bottom: 6px;
    margin-top: 15px;
}

.login-form input {
    width: 100%;
    padding: 12px 14px;
    border-radius: 8px;
    border: 1px solid #ccc;
    margin-bottom: 10px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.login-form input:focus {
    border-color: #7c75da;
    outline: none;
}

.login-button {
    width: 100%;
    padding: 12px;
    margin-top: 20px;
    background-color: #7c75da;
    color: white;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.login-button:hover {
    background-color: #5e54b3;
}

.forgot-password {
    text-align: right;
    margin-top: 10px;
}

.forgot-password a {
    color: #7c75da;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.forgot-password a:hover {
    color: #5e54b3;
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 500px) {
    .login-card {
        padding: 30px 20px;
    }
}

/* ---------- Forgot / Reset Password Pages ---------- */

.password-card {
    background-color: #fff;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    max-width: 450px;
    margin: 60px auto;
    text-align: center;
    animation: fadeIn 0.4s ease;
}

.password-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #2b2c35;
    font-family: 'Poppins', sans-serif;
}

.password-subtitle {
    font-size: 1rem;
    color: var(--text-color);
    margin-bottom: 25px;
}

.password-form label {
    display: block;
    font-weight: 500;
    margin-bottom: 6px;
    margin-top: 15px;
    text-align: left;
}

.password-form input {
    width: 100%;
    padding: 12px 14px;
    border-radius: 8px;
    border: 1px solid #ccc;
    margin-bottom: 15px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.password-form input:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(74, 144, 226, 0.25);
}

.password-button {
    width: 100%;
    padding: 12px;
    margin-top: 15px;
    background-color: var(--primary);
    color: white;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.password-button:hover {
    background-color: var(--primary-hover);
}

/* Success & Error Messages */
.password-message {
    margin-top: 20px;
    font-size: 0.95rem;
    color: #2ecc71; /* green success */
}

.password-error {
    margin-top: 20px;
    font-size: 0.95rem;
    color: #e74c3c; /* red error */
}

/* Optional link back to login */
.back-to-login {
    margin-top: 20px;
    font-size: 0.9rem;
}

.back-to-login a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s;
}

.back-to-login a:hover {
    color: var(--primary-hover);
    text-decoration: underline;
}

/* Fade-in animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 500px) {
    .password-card {
        padding: 30px 20px;
        margin: 40px auto;
    }

    .password-title {
        font-size: 1.5rem;
    }
}

/* ---------- Sign Up Page ---------- */

.signup-card {
    background-color: #fff;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    max-width: 500px;
    margin: 60px auto;
    text-align: center;
    animation: fadeIn 0.4s ease;
}

.signup-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #2b2c35;
    font-family: 'Poppins', sans-serif;
}

.signup-subtitle {
    font-size: 1rem;
    color: var(--text-color);
    margin-bottom: 30px;
}

.signup-form label {
    display: block;
    font-weight: 500;
    margin-bottom: 6px;
    margin-top: 15px;
    text-align: left;
}

.signup-form input,
.signup-form select {
    width: 100%;
    padding: 12px 14px;
    border-radius: 8px;
    border: 1px solid #ccc;
    margin-bottom: 15px;
    font-size: 1rem;
    transition: border-color 0.3s;
    background-color: #fff;
}

.signup-form input:focus,
.signup-form select:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(74, 144, 226, 0.25);
}

.signup-form select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg fill='%234A90E2' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 20px;
    cursor: pointer;
}

.signup-button {
    width: 100%;
    padding: 14px;
    margin-top: 20px;
    background-color: var(--primary);
    color: white;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.1s;
}

.signup-button:hover {
    background-color: var(--primary-hover);
}

.signup-button:active {
    transform: scale(0.98);
}

.signup-message {
    margin-top: 20px;
    font-size: 0.95rem;
    color: #2ecc71;
}

.signup-error {
    margin-top: 20px;
    font-size: 0.95rem;
    color: #e74c3c;
}

.login-redirect {
    margin-top: 20px;
    font-size: 0.9rem;
}

.login-redirect a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s;
}

.login-redirect a:hover {
    color: var(--primary-hover);
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 500px) {
    .signup-card {
        padding: 30px 20px;
        margin: 40px auto;
    }

    .signup-title {
        font-size: 1.5rem;
    }
}
