/* =============================================
   PsycheCare Clinic - Main Stylesheet
   Theme: Soft Green Calming Professional
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400;1,500;1,600;1,700&family=Lato:ital,wght@0,300;0,400;0,700;1,300;1,400&display=swap');

/* ── CSS Variables ── */
:root {
    --primary: #6FBF8F;
    --primary-dark: #5aad7a;
    --primary-light: #8fd4a8;
    --secondary: #E8F5E9;
    --accent: #2E7D32;
    --accent-light: #388E3C;
    --white: #ffffff;
    --light-green: #F1FAF3;
    --text-dark: #1a2e1f;
    --text-medium: #3d5a44;
    --text-light: #6b8f72;
    --border: #d4edda;
    --shadow: rgba(111, 191, 143, 0.15);
    --shadow-strong: rgba(46, 125, 50, 0.2);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-main: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;
    --radius: 16px;
    --radius-sm: 8px;
}

/* ── Base Styles ── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
    line-height: 1.7;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-main);
    font-weight: 700;
    line-height: 1.3;
}

a {
    text-decoration: none;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
}

/* ── Preloader ── */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--secondary);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    transition: opacity 0.5s, visibility 0.5s;
}

#preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader-inner {
    text-align: center;
}

.preloader-leaf {
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 50% 0 50% 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    animation: leafSpin 1.2s ease-in-out infinite alternate;
    color: white;
    font-size: 24px;
}

@keyframes leafSpin {
    0% {
        transform: rotate(-20deg) scale(0.9);
    }

    100% {
        transform: rotate(20deg) scale(1.1);
    }
}

.preloader-inner p {
    font-family: var(--font-main);
    font-weight: 700;
    color: var(--accent);
    font-size: 18px;
}

/* ── Top Bar ── */
.top-bar {
    background: var(--accent);
    color: white;
    padding: 8px 0;
    font-size: 13px;
    font-family: var(--font-main);
}

.top-bar a {
    color: rgba(255, 255, 255, 0.85);
}

.top-bar a:hover {
    color: white;
}

/* ── Navbar ── */
#mainNav {
    background: white;
    box-shadow: 0 2px 20px var(--shadow);
    padding: 0px 0;
    transition: var(--transition);
}

#mainNav.scrolled {
    padding: 8px 0;
    box-shadow: 0 4px 30px var(--shadow-strong);
}

.brand-icon {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
}

.brand-logo {
    max-width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
}

.brand-container {
    width: 15%;
}

.nav-item {
    margin-right: 12px;
}

.navbar-nav .nav-link {
    font-family: var(--font-main);
    font-weight: 500;
    font-size: 14px;
    color: var(--text-medium);
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--accent);
    background: var(--secondary);
}

.dropdown-menu {
    border: none;
    box-shadow: 0 8px 30px var(--shadow);
    border-radius: var(--radius);
    padding: 12px;
    min-width: 220px;
}

.dropdown-item {
    border-radius: var(--radius-sm);
    padding: 10px 16px;
    font-family: var(--font-main);
    font-size: 13px;
    font-weight: 500;
    color: var(--text-medium);
}

.dropdown-item:hover {
    background: var(--secondary);
    color: var(--accent);
}

/* ── Buttons ── */
.btn-primary-green {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white !important;
    border: none;
    font-family: var(--font-main);
    font-weight: 600;
    font-size: 14px;
    padding: 12px 28px;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(111, 191, 143, 0.4);
}

.btn-primary-green:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(111, 191, 143, 0.5);
    background: linear-gradient(135deg, var(--primary-dark), var(--accent));
}

.btn-outline-green {
    background: transparent;
    color: var(--primary) !important;
    border: 2px solid var(--primary);
    font-family: var(--font-main);
    font-weight: 600;
    font-size: 14px;
    padding: 10px 28px;
    transition: var(--transition);
}

.btn-outline-green:hover {
    background: var(--primary);
    color: white !important;
    transform: translateY(-2px);
}

.btn-white-outline {
    background: transparent;
    color: white !important;
    border: 2px solid rgba(255, 255, 255, 0.7);
    font-family: var(--font-main);
    font-weight: 600;
    padding: 12px 30px;
    transition: var(--transition);
}

.btn-white-outline:hover {
    background: white;
    color: var(--accent) !important;
}

.btn-accent-outline {
    background: transparent;
    color: var(--primary) !important;
    border: 2px solid var(--primary);
    font-family: var(--font-main);
    font-weight: 600;
    font-size: 13px;
    padding: 10px 20px;
    transition: var(--transition);
}

.btn-accent-outline:hover {
    background: var(--primary);
    color: white !important;
}

/* ── Section Styles ── */
.section-label {
    display: inline-block;
    background: var(--secondary);
    color: var(--accent);
    font-family: var(--font-main);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 16px;
    border: 1px solid var(--border);
}

.section-title {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.section-title span {
    color: var(--primary);
}

.section-subtitle {
    font-size: 16px;
    color: var(--text-light);
    max-width: 580px;
    line-height: 1.8;
}

section {
    padding: 90px 0;
}

.bg-light-green {
    background: var(--light-green);
}

.bg-secondary-green {
    background: var(--secondary);
}

/* ── Hero Section ── */
.hero-section {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--secondary) 0%, #c8e6c9 30%, var(--secondary) 100%);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 50px 0 50px;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(111, 191, 143, 0.3), transparent);
    border-radius: 50%;
    animation: heroBlob1 8s ease-in-out infinite;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(46, 125, 50, 0.1), transparent);
    border-radius: 50%;
    animation: heroBlob2 10s ease-in-out infinite;
}

@keyframes heroBlob1 {

    0%,
    100% {
        transform: scale(1) translate(0, 0);
    }

    50% {
        transform: scale(1.1) translate(20px, -20px);
    }
}

@keyframes heroBlob2 {

    0%,
    100% {
        transform: scale(1) translate(0, 0);
    }

    50% {
        transform: scale(1.15) translate(-15px, 15px);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    background: white;
    border: 1px solid var(--border);
    border-radius: 50px;
    padding: 8px 20px;
    font-size: 13px;
    font-family: var(--font-main);
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 28px;
    box-shadow: 0 4px 15px var(--shadow);
    gap: 8px;
}

.hero-badge-dot {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.7;
        transform: scale(1.3);
    }
}

.hero-title {
    font-size: clamp(41px, 6vw, 41px);
    font-weight: 800;
    line-height: 1.15;
    color: var(--text-dark);
    margin-bottom: 24px;
}

.hero-title .highlight {
    color: var(--primary);
    position: relative;
    display: inline-block;
}

.hero-title .highlight::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
    opacity: 0.4;
}

.hero-description {
    font-size: 17px;
    color: var(--text-medium);
    line-height: 1.8;
    max-width: 520px;
    margin-bottom: 40px;
}

.hero-stats {
    display: flex;
    gap: 32px;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}

.hero-stat-number {
    font-family: var(--font-main);
    font-size: 32px;
    font-weight: 800;
    color: var(--accent);
    display: block;
    line-height: 1;
}

.hero-stat-label {
    font-size: 12px;
    color: var(--text-light);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-image-wrapper {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-image-main {
    width: 100%;
    max-width: 480px;
    border-radius: 40px;
    box-shadow: 0 30px 80px rgba(46, 125, 50, 0.2);
    object-fit: cover;
    aspect-ratio: 4/5;
    background: linear-gradient(135deg, var(--primary-light), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 120px;
    color: rgba(255, 255, 255, 0.8);
}

.hero-floating-card {
    position: absolute;
    background: white;
    border-radius: var(--radius);
    padding: 16px 20px;
    box-shadow: 0 10px 40px var(--shadow);
    font-family: var(--font-main);
    animation: float 6s ease-in-out infinite;
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 180px;
}

.hero-floating-card:first-child {
    top: 10%;
    left: -30px;
    animation-delay: 0s;
}

.hero-floating-card:last-child {
    bottom: 20%;
    right: -30px;
    animation-delay: 3s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

.card-icon-wrapper {
    width: 44px;
    height: 44px;
    background: var(--secondary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--accent);
    flex-shrink: 0;
}

.floating-card-number {
    font-size: 20px;
    font-weight: 800;
    color: var(--text-dark);
}

.floating-card-label {
    font-size: 11px;
    color: var(--text-light);
}

/* ── Services ── */
.service-card {
    background: white;
    border-radius: var(--radius);
    padding: 36px 28px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px var(--shadow);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--secondary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--primary);
    margin: 0 auto 24px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--primary);
    color: white;
    transform: scale(1.1);
}

.service-card h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.service-card p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.7;
}

.service-card .service-link {
    color: var(--primary);
    font-weight: 600;
    font-size: 13px;
    font-family: var(--font-main);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 20px;
    transition: var(--transition);
}

.service-card:hover .service-link {
    gap: 10px;
    color: var(--accent);
}

/* ── Why Choose Us ── */
.choose-us-section {
    background: var(--accent);
    position: relative;
    overflow: hidden;
}

.choose-us-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.choose-us-section .section-title {
    color: white;
}

.choose-us-section .section-label {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
}

.choose-feature {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 24px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    margin-bottom: 20px;
}

.choose-feature:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(8px);
}

.choose-feature-icon {
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: white;
    flex-shrink: 0;
}

.choose-feature h5 {
    color: white;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px;
}

.choose-feature p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 14px;
    margin: 0;
}

/* ── Psychologist Cards ── */
.doctor-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 4px 20px var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border);
    height: 100%;
}

.doctor-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px var(--shadow-strong);
}

.doctor-card-img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    background: linear-gradient(135deg, var(--secondary), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
    color: var(--primary);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.doctor-card-img::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.1));
}

.doctor-card-body {
    padding: 24px;
}

.doctor-name {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.doctor-specialization {
    color: var(--primary);
    font-size: 13px;
    font-weight: 600;
    font-family: var(--font-main);
    margin-bottom: 16px;
}

.doctor-info-row {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}

.doctor-info-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-light);
}

.doctor-info-item i {
    color: var(--primary);
}

.doctor-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #F59E0B;
    font-size: 13px;
}

.doctor-bio {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.doctor-schedule {
    background: var(--secondary);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    margin-bottom: 20px;
    font-size: 13px;
}

.doctor-schedule strong {
    color: var(--accent);
    font-weight: 700;
}

.doctor-card-footer {
    padding: 0 24px 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.doctor-card-footer .btn {
    flex: 1;
    font-size: 13px;
    font-weight: 600;
    font-family: var(--font-main);
}

/* ── Testimonials ── */
.testimonial-section {
    background: var(--secondary);
}

.testimonial-card {
    background: white;
    border-radius: var(--radius);
    padding: 36px 32px;
    box-shadow: 0 4px 20px var(--shadow);
    border: 1px solid var(--border);
    position: relative;
    height: 100%;
}

.testimonial-card::before {
    content: '\201C';
    font-size: 80px;
    color: var(--primary);
    opacity: 0.3;
    position: absolute;
    top: 10px;
    left: 20px;
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-stars {
    color: #F59E0B;
    font-size: 15px;
    margin-bottom: 16px;
}

.testimonial-text {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-medium);
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-family: var(--font-main);
    font-size: 18px;
}

.testimonial-name {
    font-weight: 700;
    font-size: 15px;
    color: var(--text-dark);
}

.testimonial-label {
    font-size: 12px;
    color: var(--text-light);
}

/* ── Blog Cards ── */
.blog-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: var(--transition);
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px var(--shadow);
}

.blog-card-img {
    height: 200px;
    background: linear-gradient(135deg, var(--secondary), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: var(--primary);
    overflow: hidden;
}

.blog-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-card-category {
    display: inline-block;
    background: var(--secondary);
    color: var(--accent);
    font-size: 11px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 50px;
    font-family: var(--font-main);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-card-body {
    padding: 24px;
}

.blog-card-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
    transition: var(--transition);
}

.blog-card:hover .blog-card-title {
    color: var(--primary);
}

.blog-card-excerpt {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 20px;
}

.blog-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    color: var(--text-light);
}

.blog-card-meta i {
    color: var(--primary);
    margin-right: 4px;
}

.read-more {
    color: var(--primary);
    font-weight: 600;
    font-size: 13px;
    font-family: var(--font-main);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.read-more:hover {
    gap: 10px;
    color: var(--accent);
}

/* ── Page Header / Hero-small ── */
.page-header {
    background: linear-gradient(135deg, var(--accent) 0%, #1b5e20 100%);
    padding: 80px 0 60px;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Ccircle cx='40' cy='40' r='20'/%3E%3C/g%3E%3C/svg%3E");
}

.page-header-content {
    position: relative;
    z-index: 2;
}

.page-header h1 {
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 800;
    color: white;
    margin-bottom: 12px;
}

.page-header p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
}

.breadcrumb {
    background: transparent;
    margin: 0;
    padding: 0;
}

.breadcrumb-item a {
    color: rgba(255, 255, 255, 0.7);
}

.breadcrumb-item.active {
    color: rgba(255, 255, 255, 0.9);
}

.breadcrumb-item+.breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.5);
}

/* ── Forms ── */
.form-card {
    background: white;
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: 0 8px 40px var(--shadow);
    border: 1px solid var(--border);
}

.form-control,
.form-select {
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--text-dark);
    background-color: white;
    transition: var(--transition);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(111, 191, 143, 0.15);
    outline: none;
}

.form-label {
    font-family: var(--font-main);
    font-weight: 600;
    font-size: 13px;
    color: var(--text-medium);
    margin-bottom: 8px;
}

.form-text {
    font-size: 12px;
    color: var(--text-light);
}

.invalid-feedback {
    font-size: 12px;
}

textarea.form-control {
    min-height: 130px;
    resize: vertical;
}

/* ── Time slots ── */
.time-slots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 10px;
}

.time-slot {
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 12px;
    text-align: center;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    font-family: var(--font-main);
    color: var(--text-medium);
    background: white;
    transition: var(--transition);
}

.time-slot:hover:not(.booked) {
    border-color: var(--primary);
    background: var(--secondary);
    color: var(--accent);
}

.time-slot.selected {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.time-slot.booked {
    background: #fee2e2;
    border-color: #fca5a5;
    color: #9b1c1c;
    cursor: not-allowed;
    opacity: 0.7;
}

/* ── Success overlay ── */
.success-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}

.success-overlay.show {
    display: flex;
}

.success-card {
    background: white;
    border-radius: 24px;
    padding: 56px 48px;
    text-align: center;
    max-width: 480px;
    width: 90%;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.2);
    animation: popIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes popIn {
    from {
        transform: scale(0.7) translateY(30px);
        opacity: 0;
    }

    to {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

.success-icon {
    width: 88px;
    height: 88px;
    background: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 42px;
    color: var(--primary);
}

.success-card h3 {
    font-size: 26px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.success-card p {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.7;
}

/* ── Dashboard Layout ── */
.dashboard-wrapper {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 270px;
    min-width: 270px;
    background: var(--accent);
    min-height: 100vh;
    position: sticky;
    top: 0;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    z-index: 100;
}

.sidebar-header {
    padding: 28px 24px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-brand-name {
    color: white;
    font-size: 18px;
    font-weight: 800;
    display: block;
}

.sidebar-brand-role {
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
}

.sidebar-nav {
    padding: 20px 16px;
    flex: 1;
}

.sidebar-section-label {
    color: rgba(255, 255, 255, 0.4);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 8px 12px 4px;
    font-weight: 700;
    font-family: var(--font-main);
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    color: rgba(255, 255, 255, 0.75);
    font-size: 14px;
    font-weight: 500;
    font-family: var(--font-main);
    transition: var(--transition);
    margin-bottom: 2px;
}

.sidebar-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.sidebar-link.active {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 15px rgba(111, 191, 143, 0.4);
}

.sidebar-link i {
    width: 20px;
    text-align: center;
    font-size: 15px;
}

.sidebar-badge {
    background: #ef4444;
    color: white;
    font-size: 10px;
    padding: 2px 7px;
    border-radius: 10px;
    margin-left: auto;
    font-weight: 700;
}

.sidebar-footer {
    padding: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-user-info {
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
    font-family: var(--font-main);
}

.sidebar-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    color: white;
}

.sidebar-user-name {
    font-size: 13px;
    font-weight: 700;
    color: white;
}

.sidebar-user-role {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.6);
    text-transform: capitalize;
}

.main-content {
    flex: 1;
    padding: 32px;
    background: var(--light-green);
    min-height: 100vh;
    overflow-x: hidden;
}

.content-header {
    margin-bottom: 32px;
}

.content-header h1 {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-dark);
}

.content-header p {
    color: var(--text-light);
    font-size: 14px;
}

.stat-card {
    background: white;
    border-radius: var(--radius);
    padding: 24px 28px;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 20px;
    transition: var(--transition);
    box-shadow: 0 2px 10px var(--shadow);
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px var(--shadow);
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.stat-icon.green {
    background: var(--secondary);
    color: var(--accent);
}

.stat-icon.blue {
    background: #dbeafe;
    color: #1d4ed8;
}

.stat-icon.orange {
    background: #fff7ed;
    color: #c2410c;
}

.stat-icon.purple {
    background: #faf5ff;
    color: #7c3aed;
}

.stat-number {
    font-size: 32px;
    font-weight: 800;
    color: var(--text-dark);
    font-family: var(--font-main);
}

.stat-label {
    font-size: 13px;
    color: var(--text-light);
    font-weight: 600;
}

.stat-change {
    font-size: 12px;
    color: #16a34a;
    font-weight: 600;
}

.stat-change.down {
    color: #dc2626;
}

.card-table {
    background: white;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    overflow: hidden;
    box-shadow: 0 2px 10px var(--shadow);
}

.card-table-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.card-table-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    font-family: var(--font-main);
}

.table {
    margin: 0;
}

.table th {
    font-family: var(--font-main);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-light);
    background: var(--light-green);
    border-bottom: 1px solid var(--border);
    padding: 14px 20px;
}

.table td {
    padding: 16px 20px;
    vertical-align: middle;
    font-size: 14px;
    border-bottom: 1px solid rgba(212, 237, 218, 0.5);
}

.table tbody tr:last-child td {
    border-bottom: none;
}

.table tbody tr:hover {
    background: var(--light-green);
}

/* ── Status Badges ── */
.badge-status {
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    font-family: var(--font-main);
    text-transform: capitalize;
    display: inline-block;
}

.badge-pending {
    background: #fff7ed;
    color: #c2410c;
}

.badge-confirmed {
    background: #d1fae5;
    color: #065f46;
}

.badge-completed {
    background: #dbeafe;
    color: #1e40af;
}

.badge-cancelled {
    background: #fee2e2;
    color: #991b1b;
}

.badge-new {
    background: #f5f3ff;
    color: #5b21b6;
}

.badge-reviewed {
    background: #fff7ed;
    color: #b45309;
}

.badge-shortlisted {
    background: #d1fae5;
    color: #065f46;
}

.badge-rejected {
    background: #fee2e2;
    color: #991b1b;
}

/* ── About page ── */
.about-value-card {
    text-align: center;
    padding: 32px 24px;
    background: white;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.about-value-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px var(--shadow);
}

.about-value-icon {
    width: 72px;
    height: 72px;
    background: var(--secondary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--primary);
    margin: 0 auto 20px;
}

.about-value-card h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.about-value-card p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.7;
}

.cert-badge {
    background: white;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: var(--transition);
}

.cert-badge:hover {
    border-color: var(--primary);
}

.cert-icon {
    width: 48px;
    height: 48px;
    background: var(--secondary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 22px;
    flex-shrink: 0;
}

.cert-name {
    font-weight: 700;
    color: var(--text-dark);
    font-size: 14px;
}

.cert-issuer {
    font-size: 12px;
    color: var(--text-light);
}

/* ── Contact ── */
.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 24px;
    background: white;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    margin-bottom: 20px;
    transition: var(--transition);
}

.contact-info-item:hover {
    box-shadow: 0 8px 30px var(--shadow);
}

.contact-info-icon {
    width: 52px;
    height: 52px;
    background: var(--secondary);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 20px;
    flex-shrink: 0;
}

.contact-info-label {
    font-size: 12px;
    color: var(--text-light);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
    font-family: var(--font-main);
}

.contact-info-value {
    font-size: 15px;
    color: var(--text-dark);
    font-weight: 600;
}

.map-embed {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
}

/* ── Careers ── */
.job-card {
    background: white;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    padding: 28px;
    transition: var(--transition);
}

.job-card:hover {
    border-color: var(--primary);
    box-shadow: 0 8px 30px var(--shadow);
}

.job-type-badge {
    background: var(--secondary);
    color: var(--accent);
    font-size: 11px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 50px;
    font-family: var(--font-main);
}

.job-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 12px 0 8px;
}

.job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 16px;
}

.job-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-light);
}

.job-meta i {
    color: var(--primary);
}

.job-salary {
    font-size: 14px;
    font-weight: 700;
    color: var(--accent);
}

/* ── Terms ── */
.terms-nav {
    position: sticky;
    top: 100px;
}

.terms-nav .nav-link {
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 600;
    color: var(--text-medium);
    font-family: var(--font-main);
}

.terms-nav .nav-link.active,
.terms-nav .nav-link:hover {
    background: var(--secondary);
    color: var(--accent);
}

.terms-section {
    scroll-margin-top: 100px;
}

.terms-section h3 {
    font-size: 22px;
    color: var(--accent);
    margin-bottom: 16px;
}

.terms-section p,
.terms-section li {
    font-size: 15px;
    color: var(--text-medium);
    line-height: 1.8;
}

/* ── Footer ── */
.site-footer {
    background: #1a2e1f;
}

.footer-top {
    padding: 80px 0 60px;
}

.footer-heading {
    font-size: 16px;
    font-weight: 700;
    color: white;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 12px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 32px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.65);
    font-size: 14px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 6px;
}

.footer-contact {
    list-style: none;
    padding: 0;
}

.footer-contact li {
    display: flex;
    gap: 14px;
    margin-bottom: 16px;
    align-items: flex-start;
}

.footer-contact i {
    color: var(--primary);
    font-size: 16px;
    margin-top: 3px;
    flex-shrink: 0;
}

.footer-contact span,
.footer-contact a {
    color: rgba(255, 255, 255, 0.65);
    font-size: 14px;
    line-height: 1.6;
}

.footer-contact a:hover {
    color: var(--primary);
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    padding: 20px 0;
}

.footer-bottom-link {
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
    transition: var(--transition);
}

.footer-bottom-link:hover {
    color: var(--primary);
}

/* ── Login / Register ── */
.auth-wrapper {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--secondary), #c8e6c9);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 16px;
}

.auth-card {
    background: white;
    border-radius: 24px;
    padding: 48px 40px;
    max-width: 440px;
    width: 100%;
    box-shadow: 0 24px 80px rgba(46, 125, 50, 0.15);
}

.auth-logo {
    text-align: center;
    margin-bottom: 32px;
}

.auth-title {
    font-size: 26px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.auth-subtitle {
    font-size: 14px;
    color: var(--text-light);
}

.auth-divider {
    text-align: center;
    position: relative;
    margin: 24px 0;
}

.auth-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--border);
}

.auth-divider span {
    background: white;
    padding: 0 12px;
    font-size: 13px;
    color: var(--text-light);
    position: relative;
}

/* ── Utilities ── */
.text-accent {
    color: var(--accent) !important;
}

.text-primary-green {
    color: var(--primary) !important;
}

.bg-accent {
    background: var(--accent) !important;
}

.rounded-xl {
    border-radius: var(--radius) !important;
}

.shadow-green {
    box-shadow: 0 8px 30px var(--shadow) !important;
}

.fw-800 {
    font-weight: 800 !important;
}

/* ── Animations ── */
[data-aos] {
    transition-duration: 600ms;
}

/* ── Scrollbar ── */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 3px;
}

/* ── Responsive ── */
@media (max-width: 991px) {
    .sidebar {
        width: 100%;
        min-width: unset;
        position: relative;
        min-height: auto;
    }

    .dashboard-wrapper {
        flex-direction: column;
    }

    .main-content {
        padding: 20px;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 20px;
    }

    .hero-floating-card {
        display: none;
    }
}

@media (max-width: 767px) {
    section {
        padding: 60px 0;
    }

    .auth-card {
        padding: 32px 24px;
    }

    .brand-container {
        width: 25%;
    }

    .brand-logo {
        max-width: 134px;
        height: auto;
        object-fit: contain;
        border-radius: 8px;
    }

    ul.navbar-nav.ms-auto.align-items-lg-center {
        margin-bottom: 15px !important;
    }

    .hero-title {
        font-size: clamp(29px, 6vw, 41px);
    }

    .form-card {
        padding: 24px 20px;
    }

    .time-slots-grid {
        grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
    }

    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }
}