:root {
    --primary-color: #28a745;
    --secondary-color: #636e72;
    --accent-color: #00cec9;
    --dark-bg: #2d3436;
    --light-bg: #f5f6fa;
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    --card-shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.12);
}

body {
    font-family: 'Inter', sans-serif;
    color: #333;
    overflow-x: hidden;
}

.navbar {
    background: #fff !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    padding: 8px 0;
}

.nav-link {
    font-size: 15px;
    font-weight: 500;
    color: #444 !important;
    padding: 5px 12px !important;
    transition: color 0.2s;
}

.nav-link:hover,
.nav-link.active {
    color: #006aff !important;
    /* Blue for active state */
}

/* Carets match the simple image style */
.nav-link.dropdown-toggle::after {
    display: inline-block;
    margin-left: 0.3em;
    vertical-align: middle;
    content: "";
    border-top: 0.3em solid;
    border-right: 0.3em solid transparent;
    border-bottom: 0;
    border-left: 0.3em solid transparent;
    background-image: none;
}

/* Wide spacing for a professional look */
@media (min-width: 992px) {
    .navbar-nav .nav-item {
        margin: 0 10px;
    }
}

/* Book Assessment pill button exactly like the image */
.btn-book {
    background-color: #28a745 !important;
    /* Green */
    color: #fff !important;
    border-radius: 50px !important;
    padding: 10px 30px !important;
    font-weight: 700;
    font-size: 15px;
    border: none !important;
    outline: none !important;
    transition: all 0.3s;
    line-height: 1.2;
    display: inline-block;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(40, 167, 69, 0.2);
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
}

.btn-book:hover {
    background-color: #218838 !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(40, 167, 69, 0.3);
}

.btn-book.active {
    background-color: #006aff !important;
    box-shadow: 0 4px 10px rgba(0, 106, 255, 0.2) !important;
}

.dropdown-menu {
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    padding: 8px 0;
    margin-top: 0 !important;
}

.dropdown-item {
    font-size: 14px;
    font-weight: 500;
    color: #333 !important;
    padding: 10px 20px;
}

.dropdown-item:hover {
    background-color: #f8f9fa;
    color: #0d6efd !important;
}

/* Show dropdown on hover for desktop */
@media (min-width: 992px) {
    .nav-item.dropdown:hover .dropdown-menu {
        display: block;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f0f7ff 0%, #ffffff 100%);
}

.hero-title {
    font-weight: 800;
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-title span {
    color: var(--primary-color);
}

/* Card Animations */
.animate-card {
    opacity: 0;
    transform: translateY(30px);
    transition: transform 1.2s cubic-bezier(0.165, 0.84, 0.44, 1),
        box-shadow 0.4s ease,
        opacity 1.2s ease;
    border: none;
    box-shadow: var(--card-shadow);
    border-radius: 15px;
    overflow: hidden;
}

.animate-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.animate-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--card-shadow-hover);
}

/* Image styling */
.img-fluid-rounded {
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Section Titles */
.section-title {
    font-weight: 700;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

.section-title.text-start::after {
    left: 0;
    transform: none;
}

/* Footer */
footer {
    background: #0f141a;
    color: #f8f9fa;
    padding: 80px 0 40px;
}

footer .text-muted {
    color: #ffffff !important;
    opacity: 0.7;
}

footer h6 {
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.9rem;
}

footer a {
    color: #adb5bd;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-block;
    margin-bottom: 8px;
}

footer a:hover {
    color: #fff;
    transform: translateX(5px);
}

footer .border-secondary {
    border-color: rgba(255, 255, 255, 0.1) !important;
}

/* Testimonials */
.testimonial-card {
    background: #fff;
    padding: 2.5rem;
    border-radius: 20px;
    position: relative;
}

.testimonial-card i {
    font-size: 2rem;
    color: rgba(0, 123, 255, 0.2);
    position: absolute;
    top: 20px;
    left: 20px;
}

.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1.2s cubic-bezier(0.165, 0.84, 0.44, 1),
        transform 1.2s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.delay-1 {
    transition-delay: 0.2s;
}

.delay-2 {
    transition-delay: 0.4s;
}

.delay-3 {
    transition-delay: 0.6s;
}

.delay-4 {
    transition-delay: 0.8s;
}

/* Custom Buttons */
.btn-primary {
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s;
}


/* Upload Area Styling */
.upload-area {
    border: 2px dashed #dee2e6;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    background: #f8f9fa;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.upload-area:hover,
.upload-area.active {
    border-color: var(--primary-color);
    background: rgba(40, 167, 69, 0.05);
}

.upload-area i {
    font-size: 3rem;
    color: #ced4da;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.upload-area:hover i,
.upload-area.active i {
    color: var(--primary-color);
    transform: translateY(-5px);
}

.upload-area .upload-text {
    font-weight: 600;
    color: #495057;
    margin-bottom: 0.5rem;
}

.upload-area .upload-hint {
    font-size: 0.85rem;
    color: #6c757d;
}

.upload-area input[type="file"] {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    cursor: pointer;
}

.file-preview {
    margin-top: 1rem;
    display: none;
    padding: 10px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    font-size: 0.9rem;
    color: var(--primary-color);
    font-weight: 500;
}

/* Summernote Enhancements */
.note-editor.note-frame {
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.note-toolbar {
    background: #f8fafc !important;
    border-bottom: 1px solid #e2e8f0 !important;
    padding: 8px !important;
}

.note-btn {
    background: #fff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 6px !important;
    padding: 4px 8px !important;
    transition: all 0.2s;
}

.note-btn:hover {
    background: #f1f5f9 !important;
    color: #006aff !important;
}

.note-editable {
    font-family: 'Inter', sans-serif !important;
    font-size: 14px !important;
    padding: 15px !important;
}