/* Base styles */
:root {
    --primary-color: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #a5b4fc;
    --secondary-color: #f59e0b;
    --text-dark: #1f2937;
    --text-light: #4b5563;
    --text-lighter: #9ca3af;
    --border-color: #e5e7eb;
    --light-bg: #f9fafb;
    --bg-primary: #ffffff;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s ease;
    --header-height: 70px;
    --card-border-radius: 16px;
    --btn-border-radius: 8px;
}

/* Global styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    background-color: #f8f9fa;
}

body {
    display: flex;
    flex-direction: column;
    padding-top: var(--header-height);
    min-height: 100vh;
    position: relative;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

button {
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
}

/* Main container styles */
main {
    flex-grow: 1;
    width: 100%;
    margin-top: 0;
    padding-bottom: 2rem;
    display: flex;
    flex-direction: column;
    z-index: 1;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
    z-index: 1;
}

/* ENHANCED NAVBAR STYLES */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--bg-primary);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    z-index: 1000;
    height: var(--header-height);
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(231, 233, 250, 0.7);
}

.main-header.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    height: 60px;
}

.header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    padding: 0 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.logo-container {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-image {
    max-height: 40px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo-container:hover .logo-image {
    transform: scale(1.05);
}

/* You can remove these styles or comment them out if you want
.logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary-color);
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  margin-right: 10px;
}

.logo-container span {
  color: var(--primary-color);
  font-weight: 700;
  font-size: 1.6rem;
}
*/

/* Add responsive styles for the logo */
@media (max-width: 768px) {
  .logo-image {
    max-height: 32px;
  }
}

.logo-container:hover {
    transform: scale(1.05);
    color: var(--primary-dark);
}

.logo-icon {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 12px;
    margin-right: 12px;
    box-shadow: 0 4px 8px rgba(99, 102, 241, 0.2);
    transition: var(--transition);
}

.logo-container:hover .logo-icon {
    transform: rotate(5deg);
    box-shadow: 0 6px 12px rgba(99, 102, 241, 0.3);
}

.logo-icon i {
    color: white;
    font-size: 1.3rem;
}

.main-nav {
    display: flex;
    align-items: center;
    margin-left: auto;
}

.desktop-nav {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.desktop-nav li {
    margin: 0 5px;
    position: relative;
}

.desktop-nav a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 10px 15px;
    border-radius: 6px;
    transition: var(--transition);
    display: flex;
    align-items: center;
}

.desktop-nav a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 10px;
    right: 10px;
    height: 2px;
    background-color: var(--primary-color);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: right center;
}

.desktop-nav a:hover {
    color: var(--primary-color);
    background-color: rgba(99, 102, 241, 0.05);
}

.desktop-nav a:hover::after,
.desktop-nav a.active::after {
    transform: scaleX(1);
    transform-origin: left center;
}

.desktop-nav a.active {
    color: var(--primary-color);
    font-weight: 600;
}

.desktop-nav a i {
    margin-right: 6px;
    font-size: 0.9em;
}

.nav-cta {
    margin-left: 15px;
}

.nav-cta .cta-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 8px 16px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
    border: none;
}

.nav-cta .cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(99, 102, 241, 0.3);
    color: white;
}

.nav-cta .cta-button i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.nav-cta .cta-button:hover i {
    transform: translateX(4px);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-dark);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 10px;
    margin-left: 10px;
    border-radius: 8px;
    transition: var(--transition);
    outline: none;
    position: relative;
    z-index: 1010;
}

.mobile-menu-btn:hover {
    color: var(--primary-color);
    background-color: rgba(99, 102, 241, 0.05);
}

.mobile-menu-btn:active {
    transform: scale(0.95);
}

.mobile-menu-btn i {
    transition: transform 0.3s ease;
}

.mobile-menu-btn.active i {
    transform: rotate(90deg);
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--text-dark);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* MOBILE MENU STYLES - FIXED VERSION */
.mobile-menu {
    position: absolute;
    top: var(--header-height, 80px);
    left: 0;
    width: 100%;
    background-color: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    z-index: 999;
    padding: 20px;
    display: none;
    transition: none;  /* Disable transitions for reliability */
}

.mobile-menu.active {
    display: block;
}

.mobile-menu a {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    color: #1f2937;
    font-weight: 500;
    transition: color 0.3s;
}

.mobile-menu a:hover {
    color: var(--primary-color, #6366f1);
}

.mobile-menu a:last-child {
    border-bottom: none;
}

.mobile-menu-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1000;
}

.mobile-menu-btn i {
    font-size: 1.5rem;
    color: var(--text-dark, #1f2937);
    transition: color 0.3s;
}

.mobile-menu-btn.active i {
    color: var(--primary-color, #6366f1);
}

@media (max-width: 991px) {
    .mobile-menu-btn {
        display: block;
    }
    
    .desktop-nav {
        display: none;
    }
}

.mobile-menu {
    display: none;
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background-color: var(--bg-primary);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    z-index: 999;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.4s ease-in-out;
}

.mobile-menu.active {
    max-height: 300px;
    display: block;
}

.mobile-menu a {
    display: block;
    padding: 15px 20px;
    color: var(--text-dark);
    font-weight: 500;
    text-decoration: none;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.mobile-menu a:last-child {
    border-bottom: none;
}

.mobile-menu a:hover {
    background-color: var(--light-bg);
    color: var(--primary-color);
    padding-left: 25px;
}

.mobile-menu a.active {
    color: var(--primary-color);
    font-weight: 600;
    border-left: 3px solid var(--primary-color);
    background-color: rgba(99, 102, 241, 0.05);
}

.mobile-menu-cta {
    padding: 16px 24px;
    margin-top: 8px;
}

.mobile-menu-cta .cta-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 12px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.mobile-menu-cta .cta-button:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

/* Responsive adjustments for navbar */
@media (max-width: 991px) {
    .desktop-nav,
    .nav-cta {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .main-header.scrolled {
        height: 60px;
    }
    
    .logo-container {
        font-size: 1.3rem;
    }
    
    .logo-icon {
        width: 36px;
        height: 36px;
    }
    
    .logo-icon i {
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .header-wrapper {
        padding: 0 0.75rem;
    }
    
    .logo-container {
        font-size: 1.2rem;
    }
    
    .logo-icon {
        width: 32px;
        height: 32px;
        margin-right: 8px;
    }
    
    .logo-icon i {
        font-size: 1rem;
    }
    
    .mobile-menu a {
        padding: 12px 15px;
    }
}

/* ENHANCED APP CONTAINER AND HEADER STYLING */

/* Enhanced app container with depth and modern styling */
.app-container {
    background: var(--bg-primary);
    border-radius: var(--card-border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06), 
                0 30px 60px rgba(99, 102, 241, 0.05);
    padding: 2.5rem;
    margin: 2.5rem auto;
    max-width: 950px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(231, 233, 250, 0.7);
}

/* Add subtle pattern to app container */
.app-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%236366f1' fill-opacity='0.02' fill-rule='evenodd'/%3E%3C/svg%3E");
    z-index: -1;
}

/* Create decorative elements in container */
.app-container::after {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    border-radius: 50%;
    opacity: 0.08;
    z-index: -1;
}

/* Enhanced header styling */
.app-container header {
    position: relative;
    margin-bottom: 3rem;
    padding: 1rem 0 3rem;
    border-bottom: 1px solid rgba(231, 233, 250, 0.7);
    overflow: hidden;
}

/* App logo and title styling */
.app-container header h1 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 0.8rem;
    color: var(--text-dark);
    letter-spacing: -0.03em;
    position: relative;
    display: inline-block;
}

/* Add subtle animation to the robot icon */
.app-container header h1 i.fa-robot {
    color: var(--primary-color);
    margin-right: 0.5rem;
    position: relative;
    display: inline-block;
    animation: float 6s ease-in-out infinite;
    transform-origin: center;
}

/* Create glow effect for icon on hover */
.app-container header h1:hover i.fa-robot {
    animation: pulse 2s infinite;
    transform: scale(1.1) rotate(5deg);
}

/* Style the lead text */
.app-container header .lead {
    font-size: 1.25rem;
    color: var(--text-light);
    font-weight: 400;
    margin-bottom: 0;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

/* Add underline decoration to lead text */
.app-container header .lead::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, var(--primary-light), var(--primary-color), var(--primary-light));
    border-radius: 3px;
}

/* ENHANCED BUTTON STYLING WITH HOVER EFFECTS */

/* Base button styling */
.btn {
    padding: 0.7rem 1.5rem;
    border-radius: var(--btn-border-radius);
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.215, 0.61, 0.355, 1);
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    font-family: inherit;
    letter-spacing: 0.3px;
    font-size: 1rem;
    gap: 8px;
    z-index: 1;
}

/* Primary button styling */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border: none;
}

/* Primary button hover effect */
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(99, 102, 241, 0.3);
}

/* Add shine effect on hover */
.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.2) 50%,
        transparent 100%
    );
    z-index: -1;
    transition: all 0.6s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

/* Secondary button styling */
.btn-secondary, .btn-outline-secondary {
    background: transparent;
    color: var(--text-dark);
    border: 1px solid var(--border-color);
}

/* Secondary button hover effect */
.btn-secondary:hover, .btn-outline-secondary:hover {
    background-color: var(--light-bg);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

/* Danger button styling */
.btn-danger {
    background: linear-gradient(135deg, #ff4d4d, #f03e3e);
    color: white;
}

/* Danger button hover effect */
.btn-danger:hover {
    background: linear-gradient(135deg, #ff3333, #e03131);
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(240, 62, 62, 0.3);
}

/* Large button styling */
.btn-lg {
    padding: 0.9rem 2rem;
    font-size: 1.125rem;
    border-radius: 9px;
}

/* Button icon styling */
.btn i {
    font-size: 0.9em;
    transition: transform 0.3s ease;
}

/* Button icon animation on hover */
.btn:hover i {
    transform: translateX(3px);
}

/* Disabled button styling */
.btn:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    pointer-events: none;
}

/* ENHANCED OVERALL WEBSITE ARRANGEMENT */

/* Improved section spacing */
section, .section {
    padding: 3rem 0;
    position: relative;
}

/* Add fade-in animation for sections */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.show {
    opacity: 1;
    transform: translateY(0);
}

/* Improve card styling */
.card {
    border-radius: var(--card-border-radius);
    border: 1px solid rgba(231, 233, 250, 0.7);
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    overflow: hidden;
    background-color: var(--bg-primary);
}

.card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

/* Improve form controls */
.form-control, .form-select {
    border-radius: 8px;
    padding: 0.75rem 1rem;
    border: 1.5px solid var(--border-color);
    transition: all 0.3s ease;
    font-size: 1rem;
    background-color: var(--bg-primary);
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.15);
    outline: none;
}

/* Improve form labels */
.form-label {
    font-weight: 500;
    margin-bottom: 0.5rem;
    font-size: 1rem;
    color: var(--text-dark);
    letter-spacing: 0.01em;
}

/* Form input mode radios */
.input-mode-container {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

.form-check-input {
    width: 1.2em;
    height: 1.2em;
    margin-top: 0.15em;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Checkmark animation */
.form-check-input:checked::after {
    content: '';
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 6px;
    height: 6px;
    background-color: white;
    border-radius: 50%;
    animation: pulse 0.5s ease-out forwards;
}

.form-check-label {
    cursor: pointer;
    font-weight: 500;
    padding-left: 0.2rem;
    display: flex;
    align-items: center;
    user-select: none;
}

.form-check-label i {
    margin-right: 0.5rem;
    color: var(--primary-color);
}

/* Interview progress styling */
.progress {
    height: 10px;
    background-color: rgba(231, 233, 250, 0.6);
    border-radius: 50px;
    overflow: hidden;
    margin: 1rem 0;
}

.progress-bar {
    background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
    border-radius: 50px;
    transition: width 0.5s ease;
}

/* Improved interview question card */
.question-card {
    background-color: var(--light-bg);
    border-radius: 12px;
    padding: 1.8rem;
    box-shadow: var(--shadow-sm);
    margin-bottom: 2rem;
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
}

.question-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    border-left-width: 8px;
}

.question-card h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 600;
    font-size: 1.3rem;
}

/* Improved answer card */
.answer-card {
    background-color: var(--light-bg);
    border-radius: 12px;
    padding: 1.8rem;
    box-shadow: var(--shadow-sm);
    margin-bottom: 2rem;
    border-left: 4px solid var(--secondary-color);
    transition: all 0.3s ease;
}

.answer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

/* Recording controls styling */
.recording-controls {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    justify-content: center;
}

.recording-status {
    text-align: center;
    font-weight: 500;
    color: var(--text-light);
    animation: blink 1.5s infinite;
}

/* Volume meter styling */
#volume-meter {
    height: 8px;
    background-color: rgba(231, 233, 250, 0.6);
    border-radius: 50px;
    overflow: hidden;
    margin: 1.2rem 0;
}

#volume-level {
    height: 100%;
    border-radius: 50px;
    transition: width 0.1s ease, background-color 0.3s ease;
}

/* Text input styling */
.text-input textarea {
    resize: vertical;
    min-height: 150px;
    border-radius: 12px;
    padding: 1rem;
    font-family: inherit;
}

/* Feedback section styling */
.feedback-card {
    background-color: var(--light-bg);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    margin-bottom: 2rem;
    border-left: 4px solid var(--primary-color);
    position: relative;
    transition: all 0.3s ease;
}

.feedback-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.07);
}

/* Rating section styling */
.rating-section {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.rating-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.rating-score {
    font-size: 1.5rem;
    font-weight: 700;
    color: var (--primary-color);
}

.rating-bar-container {
    height: 8px;
    background-color: rgba(99, 102, 241, 0.1);
    border-radius: 50px;
    overflow: hidden;
}

.rating-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
    border-radius: 50px;
    transition: width 1s cubic-bezier(0.19, 1, 0.22, 1);
}

/* Completion section styling */
.completion-card {
    background: linear-gradient(135deg, white, #f9faff);
    border-radius: 20px;
    padding: 3rem 2rem;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.completion-card::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, rgba(99, 102, 241, 0) 70%);
    border-radius: 50%;
    top: -150px;
    right: -150px;
    z-index: 0;
}

.completion-card::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, rgba(99, 102, 241, 0) 70%);
    border-radius: 50%;
    bottom: -100px;
    left: -100px;
    z-index: 0;
}

.completion-icon {
    font-size: 4rem;
    color: #10b981;
    margin-bottom: 1.5rem;
    animation: pulse 2s infinite;
    display: inline-block;
    position: relative;
    z-index: 1;
}

.score-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    margin: 2rem auto;
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.3);
    position: relative;
    z-index: 1;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 600;
    line-height: 1.3;
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

/* Form styling */
.form-label {
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    display: block;
}

.form-select, .form-control {
    border: 1px solid var(--border-color);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    color: var(--text-dark);
    background-color: white;
    transition: var(--transition);
    width: 100%;
    font-family: inherit;
    font-size: 1rem;
}

.form-select:focus, .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
    outline: none;
}

/* Enhanced select dropdown styling for role categories */
.form-select {
    border-radius: 8px;
    padding: 0.75rem 1rem;
    border: 1.5px solid var(--border-color);
    transition: all 0.3s ease;
    font-size: 1rem;
    background-color: var(--bg-primary);
    color: var(--text-dark);
    max-height: 300px;
    cursor: pointer;
}

.form-select:focus {
    border-color: var (--primary-color);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.15);
    outline: none;
}

/* Style option groups */
.form-select optgroup {
    font-weight: 600;
    color: var(--primary-color);
    background-color: rgba(99, 102, 241, 0.05);
    padding: 8px 6px;
    font-size: 0.95rem;
}

.form-select option {
    padding: 10px;
    color: var(--text-dark);
    background-color: white;
    font-weight: normal;
}

/* Style focused option */
.form-select option:checked,
.form-select option:hover {
    background-color: var(--primary-color);
    color: white;
}

/* For mobile view */
@media (max-width: 576px) {
    .form-select {
        font-size: 16px; /* Prevents zoom on iOS */
    }
}

/* Button styles */
.btn {
    padding: 0.625rem 1.25rem;
    border-radius: 8px;
    font-weight: 500;
    transition: var(--transition);
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-family: inherit;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
}

.btn-lg {
    padding: 0.875rem 1.75rem;
    font-size: 1.125rem;
}

.btn-danger {
    background-color: #dc3545;
    color: white;
}

.btn-danger:hover {
    background-color: #c82333;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.2);
}

.btn:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

.btn i {
    margin-right: 6px;
    font-size: 0.9em;
}

/* ENHANCED FOOTER STYLES */
.main-footer {
    background-color: #1f2937;
    color: rgba(255, 255, 255, 0.8);
    padding: 3rem 0 1rem;
    margin-top: auto;
    width: 100%;
    flex-shrink: 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 2fr;
    gap: 30px;
    margin-bottom: 2rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    color: white;
    font-weight: 700;
    font-size: 1.5rem;
}

.footer-logo i {
    color: var(--primary-color);
    margin-right: 10px;
    font-size: 1.5rem;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.footer-links h4,
.footer-contact h4 {
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.2rem;
    position: relative;
    display: inline-block;
}

.footer-links h4::after,
.footer-contact h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 40px;
    height: 2px;
    background: var(--primary-color);
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.95rem;
    display: inline-block;
}

.footer-links a:hover {
    color: white;
    transform: translateX(5px);
}

.footer-contact p {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.footer-contact p i {
    margin-right: 10px;
    color: var(--primary-color);
    width: 16px;
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 1.5rem;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    transition: var(--transition);
}

.social-icon:hover {
    background: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(99, 102, 241, 0.3);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    text-align: center;
}

.footer-bottom p {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-bottom a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.footer-bottom a:hover {
    color: white;
    text-decoration: underline;
}

/* Interview sections styling */
.setup-section {
    text-align: center;
    animation: fadeIn 0.5s ease-in-out;
}

.interview-section {
    animation: fadeIn 0.5s ease-in-out;
    scroll-margin-top: 90px; /* Ensures content is visible below fixed header */
}

.interview-header {
    margin-bottom: 1.5rem;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-size: 0.95rem;
}

.progress {
    height: 10px;
    background-color: var(--light-bg);
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.progress-bar {
    background-color: var(--primary-color);
    border-radius: 20px;
    transition: width 0.5s ease;
}

.question-card, .answer-card, .feedback-card {
    background-color: var(--light-bg);
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--primary-color);
    animation: fadeIn 0.5s ease-in-out;
    scroll-margin-top: 100px;
}

.answer-card {
    border-left-color: var(--secondary-color);
}

.question-card h3, .answer-section h3, .feedback-section h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 600;
}

/* Voice input styling */
.voice-input {
    margin-bottom: 1.5rem;
}

.recording-controls {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.recording-status {
    text-align: center;
    color: var(--text-light);
    animation: blink 1.5s infinite;
    margin-top: 1rem;
    font-weight: 500;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

#volume-meter {
    height: 8px;
    background-color: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
    margin: 1rem 0;
}

#volume-level {
    height: 100%;
    transition: width 0.1s ease;
    border-radius: 4px;
}

/* Text input styling */
.text-input textarea {
    resize: vertical;
    min-height: 150px;
}

/* Rating section */
.rating-section {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.rating-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.rating-score {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
}

.rating-bar-container {
    height: 8px;
    background-color: rgba(99, 102, 241, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

.rating-bar {
    height: 100%;
    background-color: var(--primary-color);
    border-radius: 10px;
}

/* Completion section */
.completion-card {
    background-color: white;
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    text-align: center;
    animation: fadeIn 0.5s ease-in-out;
}

.completion-icon {
    font-size: 3.5rem;
    color: #10b981;
    animation: pulse 2s infinite;
    margin-bottom: 1.5rem;
    display: block;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.7;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.overall-score {
    margin: 2.5rem 0;
}

.score-circle {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    font-weight: 600;
    margin: 1.5rem auto;
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.3);
}

/* Input mode selection */
.input-mode-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 0.5rem;
}

.form-check-input {
    margin-right: 0.5rem;
}

.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.form-check-label {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.form-check-label i {
    margin-right: 0.5rem;
}

/* Loading overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    backdrop-filter: blur(4px);
}

.spinner-container {
    background-color: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    text-align: center;
    max-width: 400px;
    width: 85%;
    animation: fadeIn 0.3s ease;
}

.spinner-border {
    width: 3rem;
    height: 3rem;
    color: var(--primary-color);
}

/* Alert styling */
.alert {
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}

.alert-warning {
    background-color: rgba(245, 158, 11, 0.1);
    border-left: 4px solid var(--secondary-color);
    color: var(--text-dark);
}

/* Utility classes */
.d-none {
    display: none !important;
}

.d-flex {
    display: flex !important;
}

.justify-content-center {
    justify-content: center !important;
}

.gap-3 {
    gap: 1rem !important;
}

.mb-3 {
    margin-bottom: 1rem !important;
}

.mt-3 {
    margin-top: 1rem !important;
}

.mt-4 {
    margin-top: 1.5rem !important;
}

.me-1 {
    margin-right: 0.25rem !important;
}

.me-2 {
    margin-right: 0.5rem !important;
}

.ms-2 {
    margin-left: 0.5rem !important;
}

.d-grid {
    display: grid !important;
}

.gap-2 {
    gap: 0.5rem !important;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive styles */
@media (max-width: 991px) {
    .desktop-nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .footer-logo {
        justify-content: center;
    }
    
    .footer-links h4::after,
    .footer-contact h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-contact p {
        justify-content: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .app-container {
        padding: 1.5rem;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 60px;
    }
    
    .header-wrapper {
        padding: 0 1rem;
    }
    
    .logo-container {
        font-size: 1.3rem;
    }
    
    .logo-icon {
        width: 32px;
        height: 32px;
    }
    
    .logo-icon i {
        font-size: 1rem;
    }
    
    .mobile-menu {
        top: var(--header-height);
    }
    
    .mobile-menu a {
        padding: 12px 15px;
        font-size: 1rem;
    }
    
    h1 {
        font-size: 2.2rem;
    }
    
    .recording-controls {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
    
    .completion-card {
        padding: 1.5rem;
    }
    
    .score-circle {
        width: 90px;
        height: 90px;
        font-size: 1.4rem;
    }
}

@media (max-width: 576px) {
    .footer-bottom p {
        font-size: 0.85rem;
    }
    
    .app-container {
        padding: 1.25rem;
        margin: 1rem auto;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.7rem;
    }
    
    h3 {
        font-size: 1.3rem;
    }
    
    .question-card, .answer-card, .feedback-card {
        padding: 1.25rem;
    }
    
    .form-select, .form-control {
        padding: 0.65rem 0.85rem;
    }
    
    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
    
    .rating-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

/* iOS-specific fixes */
@supports (-webkit-touch-callout: none) {
    body {
        min-height: -webkit-fill-available;
    }
    
    .mobile-menu {
        min-height: -webkit-fill-available;
    }
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Fade-in animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Add fade-in to containers */
.app-container, .question-card, .answer-card, .feedback-card, .completion-card {
    animation: fadeIn 0.6s ease-out forwards;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .app-container {
        padding: 1.5rem;
        margin: 1rem auto;
    }
    
    .app-container header {
        padding: 0.5rem 0 2rem;
    }
    
    .app-container header h1 {
        font-size: 2.2rem;
    }
    
    .app-container header .lead {
        font-size: 1.1rem;
    }
    
    .recording-controls {
        flex-direction: column;
    }
    
    .question-card, .answer-card, .feedback-card {
        padding: 1.5rem;
    }
    
    .completion-card {
        padding: 2rem 1.5rem;
    }
    
    .score-circle {
        width: 100px;
        height: 100px;
        font-size: 1.6rem;
    }
}

@media (max-width: 576px) {
    .app-container header h1 {
        font-size: 1.8rem;
    }
    
    .app-container header .lead {
        font-size: 1rem;
    }
    
    .btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.95rem;
    }
    
    .btn-lg {
        padding: 0.7rem 1.4rem;
        font-size: 1rem;
    }
    
    .rating-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

/* ENHANCED RECORDING BUTTON STYLES */
.recording-controls {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
    margin-bottom: 2rem;
}

/* Start recording button styling */
#start-recording {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border: none;
    border-radius: 50px;
    padding: 0.8rem 1.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 6px 12px rgba(99, 102, 241, 0.2);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1;
}

#start-recording:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.3);
}

#start-recording:active {
    transform: translateY(-1px);
    box-shadow: 0 8px 15px rgba(99, 102, 241, 0.25);
}

#start-recording::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: translateX(-100%);
    transition: all 0.6s ease;
    z-index: -1;
}

#start-recording:hover::before {
    transform: translateX(100%);
}

#start-recording i {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.9);
    transition: transform 0.3s ease;
}

#start-recording:hover i {
    transform: scale(1.1);
    color: white;
}

#start-recording:disabled {
    background: linear-gradient(135deg, #a5a6f3, #8a8ce0);
    cursor: not-allowed;
    transform: none !important;
    box-shadow: 0 4px 8px rgba(99, 102, 241, 0.15);
}

#start-recording:disabled::before {
    display: none;
}

/* Stop recording button styling */
#stop-recording {
    background: linear-gradient(135deg, #ff4d4d, #dc3545);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 0.8rem 1.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 6px 12px rgba(220, 53, 69, 0.2);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1;
}

#stop-recording:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(220, 53, 69, 0.3);
}

#stop-recording:active {
    transform: translateY(-1px);
    box-shadow: 0 8px 15px rgba(220, 53, 69, 0.25);
}

#stop-recording::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: translateX(-100%);
    transition: all 0.6s ease;
    z-index: -1;
}

#stop-recording:hover::before {
    transform: translateX(100%);
}

#stop-recording i {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.9);
    transition: transform 0.3s ease;
}

#stop-recording:hover i {
    transform: scale(1.1);
    color: white;
}

#stop-recording:disabled {
    background: linear-gradient(135deg, #f5a9a9, #e07575);
    cursor: not-allowed;
    transform: none !important;
    box-shadow: 0 4px 8px rgba(220, 53, 69, 0.15);
}

#stop-recording:disabled::before {
    display: none;
}

/* Recording status animation */
.recording-status {
    display: none;
    position: relative;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    background-color: rgba(243, 244, 246, 0.8);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    text-align: center;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.recording-status.active {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse-border 2s infinite;
}

.recording-status::before {
    content: '';
    display: inline-block;
    width: 10px;
    height: 10px;
    background-color: #dc3545;
    border-radius: 50%;
    margin-right: 10px;
    animation: pulse-dot 1.5s infinite;
}

@keyframes pulse-dot {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.7; }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes pulse-border {
    0% { box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.4); }
    70% { box-shadow: 0 0 0 8px rgba(220, 53, 69, 0); }
    100% { box-shadow: 0 0 0 0 rgba(220, 53, 69, 0); }
}

/* Volume meter styling */
#volume-meter {
    height: 8px;
    background-color: rgba(243, 244, 246, 0.7);
    border-radius: 50px;
    overflow: hidden;
    margin: 1rem 0;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
}

#volume-level {
    height: 100%;
    border-radius: 50px;
    background-image: linear-gradient(90deg, #10b981, #34d399, #6ee7b7);
    transition: width 0.1s ease, background-color 0.3s ease;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
}

#volume-level.bg-danger {
    background-image: linear-gradient(90deg, #ef4444, #f87171);
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.5);
}

#volume-level.bg-warning {
    background-image: linear-gradient(90deg, #f59e0b, #fbbf24);
    box-shadow: 0 0 10px rgba(245, 158, 11, 0.5);
}

#volume-level.bg-success {
    background-image: linear-gradient(90deg, #10b981, #34d399);
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
}

/* Text input styling */
#text-input {
    position: relative;
    margin-bottom: 1.5rem;
}

#text-answer-input {
    width: 100%;
    min-height: 150px;
    padding: 1rem 1.2rem;
    border: 1.5px solid var(--border-color);
    border-radius: 12px;
    resize: vertical;
    transition: all 0.3s ease;
    font-family: inherit;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--light-bg);
}

#text-answer-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
    outline: none;
    background-color: white;
}

#text-answer-input::placeholder {
    color: var(--text-lighter);
    font-style: italic;
}

#submit-text {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border: none;
    border-radius: 8px;
    padding: 0.8rem 1.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 6px 12px rgba(99, 102, 241, 0.2);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    margin-left: auto;
    width: auto;
    z-index: 1;
}

#submit-text:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.3);
}

#submit-text::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: translateX(-100%);
    transition: all 0.6s ease;
    z-index: -1;
}

#submit-text:hover::before {
    transform: translateX(100%);
}

/* ENHANCED ANSWER DISPLAY */
.answer-section {
    position: relative;
    margin-top: 2.5rem;
    animation: fadeInUp 0.5s ease forwards;
}

.answer-section h3 {
    position: relative;
    display: inline-block;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.answer-section h3::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, var(--secondary-color), #fdba74);
    border-radius: 3px;
}

.answer-card {
    background-color: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-left: 4px solid var(--secondary-color);
    position: relative;
    transition: all 0.3s ease;
    overflow: hidden;
}

.answer-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.05), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.answer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.answer-card:hover::before {
    opacity: 1;
}

#answer-text {
    position: relative;
    color: var(--text-dark);
    font-size: 1.05rem;
    line-height: 1.7;
    margin: 0;
    font-weight: 400;
    z-index: 1;
    white-space: pre-wrap;
}

#submit-answer {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    padding: 0.8rem 1.8rem;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 6px 12px rgba(99, 102, 241, 0.2);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1;
    width: 100%;
    max-width: 250px;
    margin-left: auto;
    margin-top: 1.5rem;
}

#submit-answer i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

#submit-answer:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.3);
}

#submit-answer:hover i {
    transform: translateX(4px);
}

#submit-answer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: translateX(-100%);
    transition: all 0.6s ease;
    z-index: -1;
}

#submit-answer:hover::before {
    transform: translateX(100%);
}

#submit-answer:disabled {
    background: linear-gradient(135deg, #a5a6f3, #8a8ce0);
    cursor: not-allowed;
    transform: none !important;
    box-shadow: 0 4px 8px rgba(99, 102, 241, 0.15);
}

#submit-answer:disabled::before,
#submit-answer:disabled i {
    display: none;
}

/* Add shimmer effect for loading text */
@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.loading-text {
    background: linear-gradient(90deg, 
        var(--light-bg) 0%, 
        rgba(255, 255, 255, 0.8) 50%, 
        var(--light-bg) 100%);
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
    color: transparent !important;
    border-radius: 4px;
    user-select: none;
    pointer-events: none;
}

/* Microphone test panel styling */
#mic-status-panel {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(99, 102, 241, 0.1);
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
    overflow: hidden;
}

#mic-status-panel:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    border-color: rgba(99, 102, 241, 0.2);
}

#mic-status-panel h5 {
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 1.2rem;
}

#mic-status-panel h5 i {
    color: var(--primary-color);
}

.mic-visualizer-container {
    background-color: rgba(0, 0, 0, 0.04);
    border-radius: 8px;
    padding: 10px;
    position: relative;
}

#mic-visualizer {
    width: 100%;
    height: 40px;
    background-color: #111827;
    border-radius: 6px;
}

#test-mic-btn {
    background-color: transparent;
    border: 1.5px solid var(--primary-color);
    color: var(--primary-color);
    transition: all 0.3s ease;
    border-radius: 8px;
    padding: 0.6rem 1rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

#test-mic-btn:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.15);
}

#test-mic-btn.btn-outline-danger {
    border-color: #dc3545;
    color: #dc3545;
}

#test-mic-btn.btn-outline-danger:hover {
    background-color: #dc3545;
    color: white;
}

#mic-test-status {
    margin-top: 0.8rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.text-success {
    color: #10b981 !important;
}

.text-warning {
    color: #f59e0b !important;
}

.text-danger {
    color: #ef4444 !important;
}

/* Recording troubleshooter styling */
#recording-troubleshooter {
    background-color: rgba(254, 249, 195, 0.4);
    border-left: 4px solid #f59e0b;
    padding: 1.2rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

#recording-troubleshooter:hover {
    background-color: rgba(254, 249, 195, 0.5);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.05);
}

#recording-troubleshooter p {
    color: var(--text-dark);
    margin-bottom: 0.8rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

#recording-troubleshooter p i {
    color: #f59e0b;
    font-size: 1.2rem;
}

#recording-troubleshooter .mt-2 {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* Improved button animation on page load */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.recording-controls .btn {
    animation: fadeInUp 0.5s ease forwards;
}

.recording-controls .btn:nth-child(2) {
    animation-delay: 0.1s;
}

/* Add focus styles for buttons */
.btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.4);
}

.btn-danger:focus {
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.4);
}

/* Responsive adjustments for recording buttons */
@media (max-width: 768px) {
    .recording-controls {
        flex-direction: column;
        gap: 1rem;
    }
    
    #start-recording, 
    #stop-recording,
    #submit-text,
    #submit-answer {
        width: 100%;
        justify-content: center;
    }
    
    #submit-answer {
        margin-left: 0;
        max-width: none;
    }
    
    .answer-section h3::after {
        left: 0;
    }
}

@media (max-width: 576px) {
    #start-recording, #stop-recording {
        padding: 0.7rem 1.2rem;
        font-size: 0.95rem;
    }
    
    .recording-status {
        font-size: 0.9rem;
        padding: 0.4rem 0.8rem;
    }
    
    .answer-card {
        padding: 1.5rem;
    }
    
    #answer-text {
        font-size: 1rem;
    }
    
    #mic-status-panel {
        padding: 1rem;
    }
    
    #mic-status-panel h5 {
        font-size: 1rem;
    }
    
    #recording-troubleshooter {
        padding: 1rem;
    }
}

/* Enhanced Feedback Assessment Section */
.feedback-assessment {
    margin: 2rem 0;
}

.assessment-category {
    margin-bottom: 1.5rem;
}

.assessment-heading {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    position: relative;
}

/* Category icons and colors */
.assessment-heading::before {
    content: '';
    display: inline-block;
    width: 28px;
    height: 28px;
    margin-right: 12px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    flex-shrink: 0;
}

/* Strengths section styling */
.strengths .assessment-heading {
    color: #047857;
}

.strengths .assessment-heading::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23047857'%3E%3Cpath d='M12 22C6.477 22 2 17.523 2 12S6.477 2 12 2s10 4.477 10 10-4.477 10-10 10zm-1-11v6h2v-6h-2zm0-4v2h2V7h-2z'/%3E%3C/svg%3E");
}

/* Areas for improvement styling */
.improvements .assessment-heading {
    color: #b45309;
}

.improvements .assessment-heading::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23b45309'%3E%3Cpath d='M12 22C6.477 22 2 17.523 2 12S6.477 2 12 2s10 4.477 10 10-4.477 10-10 10zm-1-7v2h2v-2h-2zm0-8v6h2V7h-2z'/%3E%3C/svg%3E");
}

/* Assessment items styling */
.assessment-items {
    padding-left: 40px;
    margin: 0;
}

.assessment-item {
    position: relative;
    margin-bottom: 1rem;
    padding-left: 28px;
    list-style: none;
}

/* Strength item styling */
.strengths .assessment-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 4px;
    width: 18px;
    height: 18px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2310b981'%3E%3Cpath d='M12 22C6.477 22 2 17.523 2 12S6.477 2 12 2s10 4.477 10 10-4.477 10-10 10zm-.997-6l7.07-7.071-1.414-1.414-5.656 5.657-2.829-2.829-1.414 1.414L11.003 16z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

/* Improvement item styling */
.improvements .assessment-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 4px;
    width: 18px;
    height: 18px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23f59e0b'%3E%3Cpath d='M12 22C6.477 22 2 17.523 2 12S6.477 2 12 2s10 4.477 10 10-4.477 10-10 10zm1-11v6h-2v-6h2zm0-4v2h-2V7h2z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

/* Item content styling */
.assessment-item-content {
    display: flex;
    flex-direction: column;
}

.assessment-item-title {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.assessment-item-description {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Technical difficulty item specific styling */
.item-technical::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23f43f5e'%3E%3Cpath d='M13 14.725c0-5.141 3.892-10.519 10-11.725l.984 2.126c-2.215.835-4.163 3.742-4.38 5.746 2.491.392 4.396 2.547 4.396 5.149 0 3.182-2.584 4.979-5.199 4.979-3.015 0-5.801-2.305-5.801-6.275zm-10 0c0-5.141 3.892-10.519 10-11.725l.984 2.126c-2.215.835-4.163 3.742-4.38 5.746 2.491.392 4.396 2.547 4.396 5.149 0 3.182-2.584 4.979-5.199 4.979-3.015 0-5.801-2.305-5.801-6.275z'/%3E%3C/svg%3E");
}

/* Preparation item specific styling */
.item-preparation::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23f43f5e'%3E%3Cpath d='M12 22C6.477 22 2 17.523 2 12S6.477 2 12 2s10 4.477 10 10-4.477 10-10 10zM11 7v4h2V7h-2zm0 6v2h2v-2h-2z'/%3E%3C/svg%3E");
}

/* Adaptation item specific styling */
.item-adaptation::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23f43f5e'%3E%3Cpath d='M13.414 12l3.293-3.293-1.414-1.414L12 10.586 8.707 7.293 7.293 8.707 10.586 12l-3.293 3.293 1.414 1.414L12 13.414l3.293 3.293 1.414-1.414L13.414 12z'/%3E%3C/svg%3E");
}

/* Progress indicators */
.assessment-progress-bar {
    height: 8px;
    background-color: rgba(229, 231, 235, 0.5);
    border-radius: 6px;
    overflow: hidden;
    margin-top: 0.5rem;
}

.strengths .assessment-progress-bar .progress {
    height: 100%;
    background: linear-gradient(90deg, #10b981, #34d399);
    border-radius: 6px;
}

.improvements .assessment-progress-bar .progress {
    height: 100%;
    background: linear-gradient(90deg, #f59e0b, #fbbf24);
    border-radius: 6px;
}

/* Separate assessment card */
.feedback-assessment-card {
    background-color: white;
    border-radius: 16px;
    padding: 1.75rem 2rem;
    box-shadow: var(--shadow-md);
    margin-top: 2.5rem;
    margin-bottom: 2.5rem;
    border-top: 4px solid var(--primary-color);
    transition: all 0.3s ease;
}

.feedback-assessment-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feedback-assessment-card .section-title {
    font-size: 1.4rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-color);
    font-weight: 600;
}

/* Tags for skills */
.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 1rem;
}

.skill-tag {
    background-color: rgba(99, 102, 241, 0.1);
    color: var (--primary-color);
    padding: 6px 12px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.skill-tag:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.skill-tag i {
    margin-right: 6px;
    font-size: 0.8rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .feedback-assessment-card {
        padding: 1.5rem;
    }
    
    .assessment-items {
        padding-left: 20px;
    }
    
    .assessment-item {
        padding-left: 26px;
    }
    
    .assessment-heading::before {
        width: 24px;
        height: 24px;
        margin-right: 10px;
    }
}

@media (max-width: 576px) {
    .assessment-heading {
        font-size: 1.15rem;
    }
    
    .assessment-item-title {
        font-size: 0.95rem;
    }
    
    .assessment-item-description {
        font-size: 0.9rem;
    }
    
    .skill-tag {
        padding: 4px 10px;
        font-size: 0.8rem;
    }
}

/* ENHANCED FEEDBACK ASSESSMENT STYLING */
.feedback-assessment {
    margin: 2.5rem 0;
    animation: fadeIn 0.6s ease-out;
}

/* Assessment section containers */
.assessment-category {
    background-color: white;
    border-radius: 12px;
    margin-bottom: 1.8rem;
    box-shadow: var(--shadow-md);
    overflow: hidden;
    position: relative;
    transition: all 0.3s ease;
}

.assessment-category:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

/* Strength section specific styling */
.strengths {
    border-top: 4px solid #10b981;
}

.strengths .assessment-heading {
    background-color: rgba(16, 185, 129, 0.08);
    border-bottom: 1px solid rgba(16, 185, 129, 0.15);
}

.strengths .assessment-heading i {
    color: #10b981;
}

/* Improvements section specific styling */
.improvements {
    border-top: 4px solid #f59e0b;
}

.improvements .assessment-heading {
    background-color: rgba(245, 158, 11, 0.08);
    border-bottom: 1px solid rgba(245, 158, 11, 0.15);
}

.improvements .assessment-heading i {
    color: #f59e0b;
}

/* Assessment headings */
.assessment-heading {
    padding: 1.2rem 1.8rem;
    display: flex;
    align-items: center;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark);
}

.assessment-heading i {
    margin-right: 12px;
    font-size: 1.5rem;
}

/* Assessment content container */
.assessment-content {
    padding: 1.5rem 1.8rem;
}

/* Assessment items styling */
.assessment-items {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Individual assessment item */
.assessment-item {
    position: relative;
    padding-left: 32px;
    margin-bottom: 1.2rem;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
}

.assessment-item:last-child {
    margin-bottom: 0;
}

.assessment-item:hover {
    transform: translateX(5px);
}

/* Strength item icon */
.strengths .assessment-item::before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 3px;
    color: #10b981;
    font-size: 1.1rem;
}

/* Area for improvement item icons - specialized by type */
.item-technical::before {
    content: '\f7d9' !important; /* fa-tools */
    color: #ef4444 !important;
}

.item-preparation::before {
    content: '\f5da' !important; /* fa-book-open */
    color: #f59e0b !important;  
}

.item-adaptation::before {
    content: '\f0e7' !important; /* fa-bolt */
    color: #8b5cf6 !important;
}

/* Default improvement icon */
.improvements .assessment-item::before {
    content: '\f071';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 3px;
    color: #f59e0b;
    font-size: 1.1rem;
}

/* Assessment item title */
.assessment-item-title {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.4rem;
    font-size: 1.05rem;
}

/* Assessment item description */
.assessment-item-description {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Skill tags */
.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 1rem;
}

/* Strength tags */
.strengths .skill-tag {
    background-color: rgba(16, 185, 129, 0.1);
    color: #059669;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.strengths .skill-tag:hover {
    background-color: rgba(16, 185, 129, 0.15);
    border-color: rgba(16, 185, 129, 0.3);
}

/* Improvement tags */
.improvements .skill-tag {
    background-color: rgba(245, 158, 11, 0.1);
    color: #d97706;
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.improvements .skill-tag:hover {
    background-color: rgba(245, 158, 11, 0.15);
    border-color: rgba(245, 158, 11, 0.3);
}

.skill-tag {
    padding: 5px 12px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.skill-tag:hover {
    transform: translateY(-2px);
}

.skill-tag i {
    margin-right: 5px;
    font-size: 0.75rem;
}

/* Assessment progress bars */
.assessment-progress {
    margin-top: 0.5rem;
    margin-bottom: 0.25rem;
}

.assessment-progress-text {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    margin-bottom: 0.4rem;
}

.assessment-progress-text .label {
    color: var(--text-dark);
    font-weight: 500;
}

.assessment-progress-text .value {
    color: var(--text-light);
}

.assessment-progress-bar {
    height: 6px;
    background-color: #e5e7eb;
    border-radius: 3px;
    overflow: hidden;
}

.strengths .assessment-progress-bar .progress {
    height: 100%;
    background: linear-gradient(90deg, #10b981, #34d399);
    border-radius: 3px;
    width: 0;
    transition: width 1s cubic-bezier(0.19, 1, 0.22, 1);
}

.improvements .assessment-progress-bar .progress {
    height: 100%;
    background: linear-gradient(90deg, #f59e0b, #fbbf24);
    border-radius: 3px;
    width: 0;
    transition: width 1s cubic-bezier(0.19, 1, 0.22, 1);
}

/* Improvement action button */
.improvement-action {
    display: inline-flex;
    align-items: center;
    margin-top: 0.75rem;
    padding: 0.6rem 1rem;
    background-color: transparent;
    border: 1px solid #f59e0b;
    color: #d97706;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.improvement-action:hover {
    background-color: #f59e0b;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(245, 158, 11, 0.2);
}

.improvement-action i {
    margin-right: 6px;
}

/* Animation for progress bars */
.assessment-category.visible .assessment-progress-bar .progress {
    animation: progressAnimation 1.5s forwards;
}

@keyframes progressAnimation {
    from { width: 0; }
    to { width: var(--progress-width); }
}

/* Visual indicator for poor performance items */
.assessment-item.critical {
    padding: 1rem;
    border-radius: 8px;
    background-color: rgba(239, 68, 68, 0.06);
    border-left: 3px solid #ef4444;
}

.assessment-item.critical::before {
    top: 1rem;
    left: 1rem;
    color: #ef4444;
}

/* Section for overall feedback */
.overall-feedback-section {
    margin-top: 2rem;
    padding: 2rem;
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.overall-feedback-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
}

.overall-feedback-title {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-dark);
}

.overall-feedback-title i {
    margin-right: 10px;
    color: var(--primary-color);
}

.overall-feedback-content {
    color: var(--text-dark);
    line-height: 1.8;
    font-size: 1.05rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .assessment-category {
        margin-bottom: 1.5rem;
    }
    
    .assessment-heading {
        padding: 1rem 1.2rem;
        font-size: 1.2rem;
    }
    
    .assessment-content {
        padding: 1.2rem;
    }
    
    .assessment-item {
        padding-left: 28px;
    }
    
    .assessment-item.critical {
        padding: 0.8rem;
    }
    
    .overall-feedback-section {
        padding: 1.5rem;
    }
    
    .overall-feedback-title {
        font-size: 1.3rem;
    }
    
    .overall-feedback-content {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .assessment-item-title {
        font-size: 1rem;
    }
    
    .skill-tag {
        padding: 4px 10px;
        font-size: 0.8rem;
    }
    
    .improvement-action {
        padding: 0.5rem 0.8rem;
        font-size: 0.8rem;
    }
}

/* ENHANCED FEEDBACK SECTION STYLING */
.feedback-container {
    background-color: white;
    border-radius: 12px;
    padding: 1.8rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-left: 4px solid var(--primary-color);
    margin-bottom: 1.8rem;
    position: relative;
    transition: all 0.3s ease;
}

.feedback-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.feedback-container h5 {
    color: var(--text-dark);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-color);
    position: relative;
}

.feedback-container h5::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 70px;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), var(--primary-light));
    border-radius: 3px;
}

#feedback-text {
    color: var(--text-dark);
    line-height: 1.7;
    font-size: 1.05rem;
    margin-bottom: 0;
    position: relative;
    padding-left: 20px;
}

#feedback-text::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -8px;
    color: var(--primary-light);
    font-size: 2rem;
    font-family: Georgia, serif;
    opacity: 0.7;
}

/* Strengths and improvements sections */
.row h5 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
    display: flex;
    align-items: center;
}

/* Strengths heading */
.row .col-md-6:first-child h5 {
    color: #059669;
}

.row .col-md-6:first-child h5::before {
    content: '\f058';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-right: 8px;
    color: #059669;
}

/* Improvements heading */
.row .col-md-6:last-child h5 {
    color: #d97706;
}

.row .col-md-6:last-child h5::before {
    content: '\f14a';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-right: 8px;
    color: #d97706;
}

.list-group {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.list-group-item {
    border: none;
    padding: 0.9rem 1.2rem;
    background-color: white;
    border-left: 3px solid transparent;
    margin-bottom: 4px;
    border-radius: 6px !important;
    position: relative;
    transition: all 0.3s ease;
}

.list-group-item::before {
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-right: 10px;
    opacity: 0.8;
}

/* Strengths list items */
#strengths-list .list-group-item {
    border-left-color: #10b981;
    background-color: rgba(16, 185, 129, 0.05);
}

#strengths-list .list-group-item::before {
    content: '\f00c';
    color: #10b981;
}

#strengths-list .list-group-item:hover {
    background-color: rgba(16, 185, 129, 0.1);
    transform: translateX(5px);
}

/* Improvements list items */
#improvements-list .list-group-item {
    border-left-color: #f59e0b;
    background-color: rgba(245, 158, 11, 0.05);
}

#improvements-list .list-group-item::before {
    content: '\f044';
    color: #f59e0b;
}

#improvements-list .list-group-item:hover {
    background-color: rgba(245, 158, 11, 0.1);
    transform: translateX(5px);
}

/* Empty state styling */
.list-group:empty::after {
    content: 'No items to display';
    display: block;
    padding: 1rem;
    color: var(--text-lighter);
    text-align: center;
    font-style: italic;
    background-color: var(--light-bg);
    border-radius: 6px;
}

/* Improvement type indicators */
.improvement-technical::before {
    content: '\f7d9' !important; /* Tools icon */
}

.improvement-preparation::before {
    content: '\f02d' !important; /* Book icon */
}

.improvement-communication::before {
    content: '\f4ad' !important; /* Comment icon */
}

.improvement-adaptation::before {
    content: '\f0e7' !important; /* Lightning bolt icon */
}

/* Strengths type indicators */
.strength-knowledge::before {
    content: '\f19d' !important; /* Graduation cap icon */
}

.strength-communication::before {
    content: '\f086' !important; /* Comment dots icon */
}

.strength-problem-solving::before {
    content: '\f0eb' !important; /* Lightbulb icon */
}

.strength-experience::before {
    content: '\f073' !important; /* Calendar icon */
}

/* Add animation on content load */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.feedback-container {
    animation: fadeInUp 0.5s ease-out forwards;
}

.col-md-6:first-child {
    animation: fadeInUp 0.5s ease-out 0.1s forwards;
    opacity: 0;
}

.col-md-6:last-child {
    animation: fadeInUp 0.5s ease-out 0.2s forwards;
    opacity: 0;
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .feedback-container {
        padding: 1.5rem;
    }
    
    #feedback-text {
        font-size: 1rem;
    }
    
    .list-group-item {
        padding: 0.75rem 1rem;
        font-size: 0.95rem;
    }
    
    .row h5 {
        font-size: 1.1rem;
    }
    
    .col-md-6:last-child {
        margin-top: 1.5rem;
    }
}

/* Ensure content is properly spaced when dynamically loaded */
#strengths-list:not(:empty),
#improvements-list:not(:empty) {
    margin-bottom: 1rem;
}

/* Fix for question visibility when navigating */
#question-section-top {
  position: relative;
  top: -120px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}
