/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }

p {
    margin-bottom: 1rem;
    color: #666;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #1d4ed8, #1e40af);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #2563eb;
    border: 2px solid #2563eb;
}

.btn-secondary:hover {
    background: #2563eb;
    color: white;
    transform: translateY(-2px);
}

/* Header */
.header {
    background: white;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-img {
    height: 40px;
    width: auto;
    display: block;
    flex-shrink: 0;
}

.logo-text h2 {
    color: #2563eb;
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.2;
}

.footer-logo-img {
    height: 60px;
    width: auto;
    margin-bottom: 1rem;
    display: block;
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #2563eb;
}

.btn-signin {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white !important;
    padding: 10px 20px;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-weight: 500;
    white-space: nowrap;
    display: inline-block;
}

.btn-signin:hover {
    background: linear-gradient(135deg, #1d4ed8, #1e40af);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.3);
    color: white !important;
}

.apply-btn {
    background: #2563eb;
    color: white !important;
    padding: 10px 20px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.apply-btn:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 120px 0 80px;
    margin-top: 80px;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    color: #1e293b;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #64748b;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
}

.hero-card h3 {
    text-align: center;
    color: #1e293b;
    margin-bottom: 1.5rem;
}

.pre-approval-form .form-group {
    margin-bottom: 1rem;
}

.pre-approval-form input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.pre-approval-form input:focus {
    outline: none;
    border-color: #2563eb;
}

.hero-features {
    display: grid;
    gap: 1rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #64748b;
}

.feature-item i {
    color: #10b981;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.feature-item span {
    font-weight: 500;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    color: #1e293b;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.25rem;
    color: #64748b;
}

/* Services Section */
.services {
    padding: 80px 0;
    background: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid #f1f5f9;
    transition: all 0.3s ease;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.service-icon i {
    font-size: 2rem;
    color: white;
}

.service-card h3 {
    color: #1e293b;
    margin-bottom: 1rem;
}

.service-card p {
    color: #64748b;
    line-height: 1.6;
}

/* About Section */
.about {
    padding: 80px 0;
    background: #f8fafc;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    color: #1e293b;
    margin-bottom: 1.5rem;
}

.about-text p {
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.stat {
    text-align: center;
}

.stat h3 {
    font-size: 2.5rem;
    color: #2563eb;
    margin-bottom: 0.5rem;
}

.stat p {
    color: #64748b;
    margin: 0;
}

.about-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Video Container Styles */
.video-container {
    position: relative;
    width: 100%;
    height: 400px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    background: #000;
}

.company-video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #000;
}

.company-video:hover {
    transform: scale(1.02);
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: all 0.3s ease;
    border-radius: 16px;
}

.video-overlay:hover {
    background: rgba(0, 0, 0, 0.5);
}

.play-button {
    width: 80px;
    height: 80px;
    background: rgba(37, 99, 235, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.3);
}

.play-button:hover {
    background: rgba(37, 99, 235, 1);
    transform: scale(1.1);
    box-shadow: 0 15px 40px rgba(37, 99, 235, 0.4);
}

.play-button i {
    color: white;
    font-size: 2rem;
    margin-left: 4px; /* Slight offset to center the play icon */
}

/* Hide overlay when video is playing */
.video-container.playing .video-overlay {
    opacity: 0;
    pointer-events: none;
}

/* Video controls styling */
.company-video::-webkit-media-controls-panel {
    background: rgba(0, 0, 0, 0.7);
}

.company-video::-webkit-media-controls-play-button {
    background: #2563eb;
    border-radius: 50%;
}



/* Process Section */
.process {
    padding: 80px 0;
    background: #f8fafc;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.step {
    text-align: center;
    padding: 2rem;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
}

.step h3 {
    color: #1e293b;
    margin-bottom: 1rem;
}

.step p {
    color: #64748b;
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background: white;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid #f1f5f9;
}

.stars {
    color: #fbbf24;
    margin-bottom: 1rem;
}

.testimonial-card p {
    font-style: italic;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.testimonial-author strong {
    color: #1e293b;
    display: block;
}

.testimonial-author span {
    color: #64748b;
    font-size: 0.875rem;
}



/* Contact Section */
.contact {
    padding: 80px 0;
    background: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info {
    display: grid;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    color: white;
    font-size: 1.25rem;
}

.contact-item h3 {
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: #64748b;
    margin: 0;
}

.contact-form {
    background: #f8fafc;
    padding: 2rem;
    border-radius: 16px;
}

.contact-form h3 {
    text-align: center;
    color: #1e293b;
    margin-bottom: 2rem;
}

.message-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.message-form .form-group {
    margin-bottom: 1.5rem;
}

.message-form input,
.message-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
    background: white;
}

.message-form input:focus,
.message-form textarea:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.message-form input.error,
.message-form textarea.error {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.message-form input.error:focus,
.message-form textarea.error:focus {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.message-form textarea {
    resize: vertical;
    min-height: 100px;
}

.message-form .btn {
    width: 100%;
    margin-top: 1rem;
    position: relative;
}

.message-form .btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.message-form .btn.loading {
    color: transparent;
}

.message-form .btn.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Authentication Page */
.auth-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 120px 0 80px;
    margin-top: 80px;
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
}

.auth-container {
    max-width: 500px;
    margin: 0 auto;
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.auth-tabs {
    display: flex;
    border-bottom: 1px solid #e2e8f0;
}

.auth-tab {
    flex: 1;
    padding: 20px;
    background: none;
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    transition: all 0.3s ease;
}

.auth-tab.active {
    color: #2563eb;
    border-bottom: 3px solid #2563eb;
}

.auth-tab:hover {
    background: #f8fafc;
}

.auth-form {
    padding: 40px;
    display: none;
}

.auth-form.active {
    display: block;
}

.auth-form h2 {
    text-align: center;
    margin-bottom: 0.5rem;
    color: #1e293b;
}

.auth-form > p {
    text-align: center;
    margin-bottom: 2rem;
    color: #64748b;
}

.form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 500;
    color: #374151;
    font-size: 0.9rem;
}

.form-group input {
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.password-input {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #6b7280;
    cursor: pointer;
    padding: 4px;
}

.password-toggle:hover {
    color: #374151;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #374151;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #2563eb;
}

.forgot-password {
    color: #2563eb;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
}

.forgot-password:hover {
    text-decoration: underline;
}

.auth-btn {
    width: 100%;
    padding: 14px;
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 1rem;
}

.social-auth {
    margin-top: 2rem;
    text-align: center;
}

.social-auth > p {
    color: #6b7280;
    margin-bottom: 1rem;
    position: relative;
}

.social-auth > p::before,
.social-auth > p::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 30%;
    height: 1px;
    background: #e5e7eb;
}

.social-auth > p::before {
    left: 0;
}

.social-auth > p::after {
    right: 0;
}

.social-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.social-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 12px 20px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    background: white;
    color: #374151;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.social-btn:hover {
    border-color: #d1d5db;
    background: #f9fafb;
}

.social-btn.google:hover {
    border-color: #ea4335;
    color: #ea4335;
}

.social-btn.facebook:hover {
    border-color: #1877f2;
    color: #1877f2;
}

/* Responsive Design for Auth */
@media (max-width: 768px) {
    .auth-container {
        margin: 0 20px;
    }
    
    .auth-form {
        padding: 30px 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .form-options {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .social-buttons {
        flex-direction: column;
    }
}

/* Password Strength Indicator */
.password-strength {
    margin-top: 8px;
    padding: 12px;
    border-radius: 8px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    font-size: 0.85rem;
}

.strength-title {
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
}

.requirement {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
    font-size: 0.8rem;
}

.requirement.met {
    color: #059669;
}

.requirement.unmet {
    color: #6b7280;
}

.requirement i {
    font-size: 0.75rem;
}

.requirement.met i {
    color: #059669;
}

.requirement.unmet i {
    color: #ef4444;
}

/* Footer */
.footer {
    background: #1e293b;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3,
.footer-section h4 {
    color: white;
    margin-bottom: 1.5rem;
}

.footer-section p {
    color: #cbd5e1;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section ul li a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #60a5fa;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: #334155;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #2563eb;
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid #334155;
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: #94a3b8;
    margin: 0;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #60a5fa;
}

/* Password Reset Form Styles */
.form-footer {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e5e7eb;
}

.form-footer p {
    margin: 0;
    color: #6b7280;
    font-size: 0.875rem;
}

.form-footer a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.form-footer a:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

/* Profile Page Styles */
.profile-section {
    padding: 120px 0 80px 0;
    background: #f8fafc;
    min-height: calc(100vh - 200px);
}

.profile-container {
    max-width: 800px;
    margin: 0 auto;
}

.profile-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-top: 2rem;
}

.profile-header h1 {
    font-size: 2.5rem;
    color: #1e293b;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.profile-header p {
    font-size: 1.125rem;
    color: #64748b;
}

.profile-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.profile-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 2rem;
}

.profile-avatar {
    font-size: 4rem;
    color: #64748b;
}

.profile-info h2 {
    font-size: 1.5rem;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.profile-info p {
    color: #64748b;
    margin-bottom: 0.25rem;
}

.profile-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.action-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.action-card h3 {
    font-size: 1.25rem;
    color: #1e293b;
    margin-bottom: 0.75rem;
}

.action-card p {
    color: #64748b;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.action-card .btn {
    width: 100%;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 0;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.modal-header {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    margin: 0;
    color: #1e293b;
    font-size: 1.5rem;
}

.close {
    color: #6b7280;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
}

.close:hover {
    color: #374151;
}

.modal-content form {
    padding: 2rem;
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
}

/* Document Management Styles */
.document-modal {
    max-width: 900px;
    width: 95%;
    max-height: 90vh;
    overflow-y: auto;
}

.document-content {
    padding: 2rem;
    max-height: calc(90vh - 120px);
    overflow-y: auto;
}

.upload-section {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e5e7eb;
}

.upload-section h3 {
    margin-bottom: 1.5rem;
    color: #1e293b;
}

.upload-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.upload-form small {
    color: #6b7280;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.documents-section h3 {
    margin-bottom: 1.5rem;
    color: #1e293b;
}

.document-filters {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.document-filters select,
.document-filters input {
    padding: 0.5rem 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 0.875rem;
}

.document-filters input {
    flex: 1;
    min-width: 200px;
}

.documents-list {
    max-height: 300px;
    overflow-y: auto;
    min-height: 100px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 1rem;
    background: #f9fafb;
}

.document-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    margin-bottom: 1rem;
    background: white;
    transition: all 0.2s ease;
}

.document-item:hover {
    border-color: #2563eb;
    box-shadow: 0 2px 4px rgba(37, 99, 235, 0.1);
}

.document-icon {
    font-size: 2rem;
    color: #64748b;
    min-width: 40px;
    text-align: center;
}

.document-info {
    flex: 1;
}

.document-info h4 {
    margin: 0 0 0.5rem 0;
    color: #1e293b;
    font-size: 1rem;
}

.document-type {
    margin: 0 0 0.25rem 0;
    color: #2563eb;
    font-size: 0.875rem;
    font-weight: 500;
}

.document-date {
    margin: 0 0 0.25rem 0;
    color: #6b7280;
    font-size: 0.875rem;
}

.document-description {
    margin: 0;
    color: #64748b;
    font-size: 0.875rem;
    font-style: italic;
}

.document-actions {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.btn-small {
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    min-width: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
}

.document-actions .btn {
    border: 1px solid;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    font-weight: 500;
}

.document-actions .btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-danger {
    background: #dc2626;
    color: white;
    border: 1px solid #dc2626;
}

.btn-danger:hover {
    background: #b91c1c;
    border-color: #b91c1c;
}

.no-documents {
    text-align: center;
    color: #6b7280;
    padding: 2rem;
    font-style: italic;
}

.loading {
    text-align: center;
    color: #6b7280;
    padding: 2rem;
}

/* Responsive Profile */
@media (max-width: 768px) {
    .profile-section {
        padding: 100px 0 60px 0;
    }
    
    .profile-header h1 {
        font-size: 2rem;
    }
    
    .profile-card {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .profile-actions {
        grid-template-columns: 1fr;
    }
    
    .modal-content {
        width: 95%;
        margin: 5% auto;
        max-height: 95vh;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .form-actions .btn {
        width: 100%;
    }
    
    .document-filters {
        flex-direction: column;
    }
    
    .document-filters input {
        min-width: auto;
    }
    
    .document-item {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
    
    .document-actions {
        justify-content: center;
    }
    
    .document-modal {
        max-height: 95vh;
    }
    
    .document-content {
        max-height: calc(95vh - 100px);
        padding: 1rem;
    }
    
    .documents-list {
        max-height: 200px;
    }
}

/* Google Translate Widget Styling */
#google_translate_element {
    margin-left: 1rem;
    display: flex;
    align-items: center;
}

#google_translate_element .goog-te-gadget {
    font-family: 'Inter', sans-serif !important;
    font-size: 14px !important;
    display: flex;
    align-items: center;
}

#google_translate_element .goog-te-gadget .goog-te-combo {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 8px 12px;
    font-size: 14px;
    color: #333;
    outline: none;
    transition: all 0.3s ease;
    min-width: 120px;
}

#google_translate_element .goog-te-gadget .goog-te-combo:hover {
    border-color: #2563eb;
    box-shadow: 0 2px 4px rgba(37, 99, 235, 0.1);
}

#google_translate_element .goog-te-gadget .goog-te-combo:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Hide Google Translate attribution */
.goog-te-banner-frame {
    display: none !important;
}

.goog-te-gadget {
    color: transparent !important;
}

.goog-te-gadget .goog-te-combo {
    color: #333 !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Google Translate Widget Mobile Styling */
    #google_translate_element {
        margin-left: 0;
        margin-top: 0.5rem;
        order: 1; /* Move translate widget after other nav items */
    }
    
    #google_translate_element .goog-te-gadget .goog-te-combo {
        width: 100%;
        max-width: 200px;
        font-size: 12px;
        padding: 6px 8px;
    }
    
    .nav-menu {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-menu .nav-item {
        width: 100%;
        text-align: center;
    }
    
    /* Ensure Sign In button displays properly */
    .nav-menu .nav-item .btn-signin {
        display: inline-block;
        width: auto;
        min-width: 200px;
        margin: 0 auto;
    }
    .logo-img {
        height: 35px;
    }
    
    .logo-text h2 {
        font-size: 1.25rem;
    }
    
    .footer-logo-img {
        height: 50px;
    }
    
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .video-container {
        height: 300px;
    }
    
    .play-button {
        width: 60px;
        height: 60px;
    }
    
    .play-button i {
        font-size: 1.5rem;
    }

    .apply-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
    
    .message-form .form-row {
        grid-template-columns: 1fr;
    }

    .stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .rates-grid {
        grid-template-columns: 1fr;
    }

    .process-steps {
        grid-template-columns: 1fr;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .logo-img {
        height: 30px;
    }
    
    .logo-text h2 {
        font-size: 1rem;
    }
    
    .footer-logo-img {
        height: 45px;
    }

    .hero {
        padding: 100px 0 60px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.125rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.875rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .service-card,
    .rate-card,
    .testimonial-card {
        padding: 1.5rem;
    }
    
    .video-container {
        height: 250px;
    }
    
    .play-button {
        width: 50px;
        height: 50px;
    }
    
    .play-button i {
        font-size: 1.25rem;
    }
}

/* Admin Dashboard Styles */
.admin-section {
    padding: 120px 0 80px 0;
    background: #f8fafc;
    min-height: calc(100vh - 200px);
}

.admin-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.admin-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-top: 2rem;
}

.admin-header h1 {
    font-size: 2.5rem;
    color: #1e293b;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.admin-header p {
    font-size: 1.1rem;
    color: #64748b;
}

/* Admin Stats */
.admin-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.stat-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.stat-card:nth-child(1) .stat-icon {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.stat-card:nth-child(2) .stat-icon {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.stat-card:nth-child(3) .stat-icon {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.stat-card:nth-child(4) .stat-icon {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.stat-info h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 0.25rem 0;
}

.stat-info p {
    font-size: 0.875rem;
    color: #64748b;
    margin: 0;
}

/* Admin Content */
.admin-content {
    background: white;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

/* Admin Tabs */
.admin-tabs {
    display: flex;
    background: #f1f5f9;
    border-bottom: 1px solid #e2e8f0;
}

.admin-tab {
    flex: 1;
    padding: 1rem 1.5rem;
    background: none;
    border: none;
    font-size: 1rem;
    font-weight: 500;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.admin-tab:hover {
    background: #e2e8f0;
    color: #475569;
}

.admin-tab.active {
    background: white;
    color: #1e293b;
    border-bottom: 3px solid #3b82f6;
}

/* Tab Content */
.admin-tab-content {
    display: none;
    padding: 2rem;
}

.admin-tab-content.active {
    display: block;
}

.tab-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.tab-header h2 {
    font-size: 1.5rem;
    color: #1e293b;
    margin: 0;
}

.search-filters {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.search-filters input {
    padding: 0.5rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 0.875rem;
    min-width: 200px;
}

.search-filters select {
    padding: 0.5rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 0.875rem;
    background: white;
}

/* Admin Tables */
.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.admin-table th {
    background: #f8fafc;
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    color: #374151;
    border-bottom: 1px solid #e5e7eb;
}

.admin-table td {
    padding: 1rem;
    border-bottom: 1px solid #f3f4f6;
    vertical-align: middle;
}

.admin-table tbody tr:hover {
    background: #f9fafb;
}

.status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
}

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

.status-badge.unverified {
    background: #fef3c7;
    color: #92400e;
}

/* Table Containers */
.users-table-container,
.documents-table-container {
    max-height: 500px;
    overflow-y: auto;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
}

/* Analytics Grid */
.analytics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.analytics-card {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.analytics-card h3 {
    font-size: 1.25rem;
    color: #1e293b;
    margin: 0 0 1rem 0;
}

.chart-placeholder {
    text-align: center;
    padding: 2rem;
    color: #64748b;
}

.chart-placeholder i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

/* User Details Modal */
.user-details {
    max-width: 600px;
}

.user-info {
    margin-bottom: 2rem;
}

.user-info h3 {
    font-size: 1.5rem;
    color: #1e293b;
    margin: 0 0 1rem 0;
}

.user-info p {
    margin: 0.5rem 0;
    color: #374151;
}

.user-documents {
    border-top: 1px solid #e5e7eb;
    padding-top: 1rem;
}

.user-documents h4 {
    font-size: 1.125rem;
    color: #1e293b;
    margin: 0 0 1rem 0;
}

.document-list {
    max-height: 200px;
    overflow-y: auto;
}

.document-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    border-bottom: 1px solid #f3f4f6;
    font-size: 0.875rem;
    gap: 1rem;
}

.document-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    flex: 1;
}

.doc-name {
    font-weight: 500;
    color: #1e293b;
}

.doc-type, .doc-size, .doc-date {
    font-size: 0.75rem;
    color: #64748b;
}

.document-actions {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}

/* Document Details Modal */
.document-details {
    max-width: 1200px;
    width: 100%;
}

/* Document Preview Modal - Make it much larger */
#documentPreviewModal .modal-content {
    width: 95%;
    max-width: 1400px;
    max-height: 95vh;
    margin: 1% auto;
}

#documentPreviewModal .modal-body {
    padding: 0;
    max-height: calc(95vh - 80px);
    overflow: hidden;
}

#documentPreviewModal .document-details {
    display: flex;
    height: 100%;
    max-height: calc(95vh - 80px);
}

#documentPreviewModal .document-info {
    flex: 0 0 300px;
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 0;
    overflow-y: auto;
    border-right: 1px solid #e5e7eb;
}

#documentPreviewModal .document-preview {
    flex: 1;
    min-height: calc(95vh - 120px);
    max-height: calc(95vh - 120px);
}

/* User Details Modal - Make it much larger */
#userDetailsModal .modal-content {
    width: 98%;
    max-width: 1600px;
    max-height: 95vh;
    margin: 1% auto;
}

#userDetailsModal .modal-body {
    padding: 0;
    max-height: calc(95vh - 80px);
    overflow: hidden;
}

#userDetailsModal .user-details {
    display: flex;
    height: 100%;
    max-height: calc(95vh - 80px);
}

#userDetailsModal .user-info {
    flex: 0 0 220px;
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 0;
    overflow-y: auto;
    border-right: 1px solid #e5e7eb;
}

#userDetailsModal .user-documents {
    flex: 1;
    padding: 1.5rem;
    overflow-y: auto;
    min-height: calc(95vh - 120px);
    max-height: calc(95vh - 120px);
    background: #ffffff;
    min-width: 800px;
}

/* User Documents List Styling */
#userDetailsModal .document-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    margin-bottom: 1rem;
    background: #ffffff;
    transition: all 0.2s ease;
    min-height: 80px;
}

#userDetailsModal .document-item:hover {
    border-color: #3b82f6;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

#userDetailsModal .document-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1;
}

#userDetailsModal .doc-name {
    font-weight: 600;
    color: #1e293b;
    font-size: 1rem;
}

#userDetailsModal .doc-type,
#userDetailsModal .doc-size,
#userDetailsModal .doc-date {
    font-size: 0.875rem;
    color: #64748b;
}

#userDetailsModal .document-actions {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
    min-width: 280px;
    justify-content: flex-end;
}

#userDetailsModal .document-actions .btn {
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
    border-radius: 6px;
    transition: all 0.2s ease;
    min-width: 80px;
    text-align: center;
}

#userDetailsModal .document-actions .btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.document-info {
    margin-bottom: 1.5rem;
}

.document-info h3 {
    font-size: 1.5rem;
    color: #1e293b;
    margin: 0 0 1rem 0;
}

.document-info p {
    margin: 0.5rem 0;
    color: #374151;
}

.document-preview {
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.document-preview iframe {
    width: 100%;
    height: 100%;
    border: none;
    min-height: 600px;
}

.document-preview img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    min-height: 600px;
}

#documentPreviewModal .document-preview iframe,
#documentPreviewModal .document-preview img {
    min-height: calc(95vh - 120px);
    height: 100%;
}

.error-message {
    text-align: center;
    padding: 2rem;
    color: #6b7280;
}

.error-message i {
    font-size: 3rem;
    color: #f59e0b;
    margin-bottom: 1rem;
}

.error-message h3 {
    margin-bottom: 0.5rem;
    color: #374151;
}

.error-message p {
    margin-bottom: 1rem;
    color: #6b7280;
}

/* Loading and No Data States */
.loading,
.no-data {
    text-align: center;
    padding: 2rem;
    color: #64748b;
    font-style: italic;
}

/* User Info Cell Styles */
.user-info-cell {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.user-name {
    font-weight: 500;
    color: #1e293b;
}

.user-email {
    font-size: 0.75rem;
    color: #64748b;
    font-style: italic;
}

/* Hide admin nav item by default */
#adminNavItem {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    position: absolute !important;
    left: -9999px !important;
}

/* Responsive Admin */
@media (max-width: 768px) {
    .admin-section {
        padding: 100px 0 60px 0;
    }
    
    /* Document Preview Modal - Mobile */
    #documentPreviewModal .modal-content {
        width: 98%;
        max-width: none;
        max-height: 98vh;
        margin: 1% auto;
    }
    
    #documentPreviewModal .document-details {
        flex-direction: column;
        max-height: calc(98vh - 80px);
    }
    
    #documentPreviewModal .document-info {
        flex: none;
        max-height: 200px;
        border-right: none;
        border-bottom: 1px solid #e5e7eb;
    }
    
    #documentPreviewModal .document-preview {
        min-height: calc(98vh - 300px);
        max-height: calc(98vh - 300px);
    }
    
    #documentPreviewModal .document-preview iframe,
    #documentPreviewModal .document-preview img {
        min-height: calc(98vh - 300px);
    }
    
    /* User Details Modal - Mobile */
    #userDetailsModal .modal-content {
        width: 98%;
        max-width: none;
        max-height: 98vh;
        margin: 1% auto;
    }
    
    #userDetailsModal .user-details {
        flex-direction: column;
        max-height: calc(98vh - 80px);
    }
    
    #userDetailsModal .user-info {
        flex: none;
        max-height: 200px;
        border-right: none;
        border-bottom: 1px solid #e5e7eb;
    }
    
    #userDetailsModal .user-documents {
        min-height: calc(98vh - 280px);
        max-height: calc(98vh - 280px);
    }
    
    #userDetailsModal .document-item {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    
    #userDetailsModal .document-actions {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .admin-header h1 {
        font-size: 2rem;
    }
    
    .admin-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .stat-card {
        padding: 1rem;
    }
    
    .stat-info h3 {
        font-size: 1.5rem;
    }
    
    .admin-tabs {
        flex-direction: column;
    }
    
    .admin-tab {
        padding: 0.75rem;
        font-size: 0.875rem;
    }
    
    .tab-header {
        flex-direction: column;
        align-items: stretch;
    }
    
    .search-filters {
        flex-direction: column;
    }
    
    .search-filters input,
    .search-filters select {
        min-width: auto;
    }
    
    .admin-table {
        font-size: 0.75rem;
    }
    
    .admin-table th,
    .admin-table td {
        padding: 0.5rem;
    }
    
    .analytics-grid {
        grid-template-columns: 1fr;
    }
}

/* Setup Admin Page Styles */
.setup-status {
    margin: 2rem 0;
    text-align: center;
}

.success-message {
    background: #d1fae5;
    border: 1px solid #a7f3d0;
    border-radius: 8px;
    padding: 2rem;
    color: #065f46;
}

.success-message i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.success-message h3 {
    font-size: 1.5rem;
    margin: 0 0 1rem 0;
}

.error-message {
    background: #fee2e2;
    border: 1px solid #fca5a5;
    border-radius: 8px;
    padding: 2rem;
    color: #991b1b;
}

.error-message i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.error-message h3 {
    font-size: 1.5rem;
    margin: 0 0 1rem 0;
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.form-footer {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
    text-align: center;
    color: #64748b;
    font-size: 0.875rem;
}

.form-footer p {
    margin: 0.5rem 0;
}

/* Chatbot Widget Styles */
.chatbot-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 10000;
    font-family: 'Inter', sans-serif;
}

.chatbot-toggle {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.4);
    transition: all 0.3s ease;
    position: relative;
}

.chatbot-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(102, 126, 234, 0.6);
}

.chatbot-toggle i {
    color: white;
    font-size: 24px;
}

.chatbot-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #e74c3c;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

.chatbot-container {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 350px;
    height: 500px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    display: none;
    flex-direction: column;
    overflow: hidden;
}

.chatbot-container.active {
    display: flex;
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.chatbot-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chatbot-header-info h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.chatbot-header-info p {
    margin: 0;
    font-size: 12px;
    opacity: 0.9;
}

.chatbot-disclaimer {
    font-size: 11px;
    color: #6b7280;
    background: #f9fafb;
    border-top: 1px solid #e5e7eb;
    padding: 8px 12px;
}

.chatbot-close {
    background: none;
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.chatbot-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.chatbot-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.chatbot-message {
    display: flex;
    margin-bottom: 10px;
}

.bot-message {
    justify-content: flex-start;
}

.user-message {
    justify-content: flex-end;
}

.message-content {
    max-width: 80%;
    padding: 12px 16px;
    border-radius: 18px;
    font-size: 14px;
    line-height: 1.4;
}

.bot-message .message-content {
    background: #f8f9fa;
    color: #333;
    border-bottom-left-radius: 5px;
}

.user-message .message-content {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-bottom-right-radius: 5px;
}

.message-content ul {
    margin: 8px 0;
    padding-left: 20px;
}

.message-content li {
    margin: 4px 0;
}

.chatbot-input-container {
    padding: 15px 20px;
    border-top: 1px solid #e9ecef;
    display: flex;
    gap: 10px;
    align-items: center;
}

.chatbot-quick-replies {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 10px 20px 0;
    border-top: 1px solid #f0f2f5;
}

.quick-reply {
    background: #f1f3ff;
    color: #4b5fd2;
    border: 1px solid #dfe3ff;
    border-radius: 20px;
    padding: 6px 12px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.quick-reply:hover {
    background: #e9ecff;
    transform: translateY(-1px);
}

.chatbot-input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 25px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s ease;
}

.chatbot-input:focus {
    border-color: #667eea;
}

.chatbot-send {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.chatbot-send:hover {
    transform: scale(1.1);
}

.chatbot-send:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .chatbot-widget {
        bottom: 15px;
        right: 15px;
    }
    
    .chatbot-container {
        width: calc(100vw - 30px);
        height: 450px;
        right: -15px;
    }
    
    .chatbot-toggle {
        width: 55px;
        height: 55px;
    }
    
    .chatbot-toggle i {
        font-size: 20px;
    }
}
