﻿/* Import Fonts */
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Arabic:wght@300;400;500;600;700&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
    /* Colors - Luxury Palette */
    --primary-color: #431387;
    --primary-light: #5d2dad;
    --secondary-color: #D400F6;
    --accent-color: #ffd700;
    --success-color: #10b981;
    --error-color: #ef4444;

    --white: #FFFFFF;
    --bg-light: #f8fafc;
    --text-dark: #0f172a;
    --text-muted: #64748b;
    --border-color: rgba(148, 163, 184, 0.1);

    /* Typography */
    --font-main: 'IBM Plex Sans Arabic', sans-serif;
    --font-en: 'Plus Jakarta Sans', sans-serif;

    /* Spacing & Sizing */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 50px;

    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-luxury: 0 25px 50px -12px rgba(67, 19, 135, 0.15);

    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
    line-height: 1.7;
    /* Optimized for Arabic readability */
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1.25rem;
    font-weight: 400;
}

a {
    transition: var(--transition);
    text-decoration: none;
}

.container {
    max-width: 1320px;
    padding-left: 2rem;
    padding-right: 2rem;
}

/* Smooth Hover for everything */
a,
button,
.clickable,
.nav-link,
.fab-btn,
.suggestion-tag {
    transition: var(--transition) !important;
}

/* Luxury Interactive Elements */
.td_btn,
.btn,
.hero-search-submit {
    font-family: var(--font-main);
    font-weight: 600;
    letter-spacing: 0.01em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition) !important;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    box-shadow: 0 10px 20px rgba(67, 19, 135, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(67, 19, 135, 0.3);
}

/* Cards & Containers */
.section-padding {
    padding: 120px 0;
}

/* Luxury IntroJS Customization */
.introjs-tooltip {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(20px) !important;
    border-radius: 24px !important;
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    box-shadow: 0 25px 50px -12px rgba(67, 19, 135, 0.25) !important;
    padding: 25px !important;
    max-width: 400px !important;
    font-family: var(--font-main) !important;
}

.introjs-tooltip-title {
    color: var(--primary-color) !important;
    font-size: 1.4rem !important;
    font-weight: 700 !important;
    margin-bottom: 15px !important;
    text-align: center !important;
}

.introjs-tooltiptext {
    color: #4b5563 !important;
    font-size: 1rem !important;
    line-height: 1.8 !important;
    text-align: center !important;
}

.introjs-button {
    background: white !important;
    color: var(--primary-color) !important;
    border: 2px solid var(--primary-color) !important;
    text-shadow: none !important;
    border-radius: 12px !important;
    padding: 10px 20px !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    box-shadow: none !important;
}

.introjs-button:hover {
    background: var(--primary-color) !important;
    color: white !important;
}

.introjs-nextbutton {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)) !important;
    border: none !important;
    color: white !important;
}

.introjs-nextbutton:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 20px rgba(67, 19, 135, 0.3) !important;
}

.introjs-skipbutton {
    color: #9ca3af !important;
    font-size: 0.9rem !important;
    margin-bottom: 15px !important;
}

.introjs-bullets ul li a {
    background: #e5e7eb !important;
    width: 10px !important;
    height: 10px !important;
    transition: all 0.3s ease !important;
}

.introjs-bullets ul li a.active {
    background: var(--primary-color) !important;
    width: 25px !important;
    border-radius: 5px !important;
}

.introjs-progressbar {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color)) !important;
}

.introjs-arrow {
    border-bottom-color: rgba(255, 255, 255, 0.95) !important;
}

/* Fix Badge Positioning */
.sectors-badge,
.services-badge,
.stats-badge,
.about-badge {
    display: inline-block !important;
    margin-bottom: 15px !important;
}

.sectors-header,
.services-header,
.section-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.glass-effect {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Typography Helpers */
.gradient-text {
    background: linear-gradient(135deg, #fff 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    filter: drop-shadow(0 2px 10px rgba(212, 0, 246, 0.3));
}

.text-balanced {
    text-wrap: balance;
}

/* Global Font Awesome Icons Fix */
i[class*="fa-"],
i[class*="fas"],
i[class*="far"],
i[class*="fab"],
.fa,
.fas,
.far,
.fab {
    font-family: "Font Awesome 6 Free", "Font Awesome 6 Pro" !important;
    font-weight: 900 !important;
    font-style: normal !important;
    display: inline-block !important;
    text-rendering: auto !important;
    -webkit-font-smoothing: antialiased !important;
    line-height: 1 !important;
    visibility: visible !important;
    opacity: 1 !important;
    speak: none !important;
}

.far {
    font-weight: 400 !important;
}

.fab {
    font-family: "Font Awesome 6 Brands" !important;
    font-weight: 400 !important;
}

/* Specific Icon Fixes for Index Page */
.fab-btn i,
.fab-item i,
.search-close i,
.notification-icon i,
.notification-close i,
.stat-icon-wrapper i,
.live-stat-card i,
.smart-notification i,
.quick-search-modal i {
    font-family: "Font Awesome 6 Free", "Font Awesome 6 Pro" !important;
    font-weight: 900 !important;
    font-style: normal !important;
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    text-rendering: auto !important;
    -webkit-font-smoothing: antialiased !important;
}

/* Fix specific icons */
.fa-plus,
.fa-search,
.fa-comments,
.fa-arrow-up,
.fa-times,
.fa-users,
.fa-handshake,
.fa-building,
.fa-project-diagram,
.fa-arrow-down,
.fa-check-circle,
.fa-exclamation-circle,
.fa-info-circle,
.fa-user-plus,
.fa-file-alt {
    font-family: "Font Awesome 6 Free", "Font Awesome 6 Pro" !important;
    font-weight: 900 !important;
    font-style: normal !important;
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* User Profile Dropdown Styles */
.user-profile-dropdown {
    position: relative;
    margin-left: 1rem;
}

.user-profile-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    color: white;
}

.user-profile-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.user-avatar:hover {
    border-color: white;
    transform: scale(1.1);
}

.avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-info-dropdown {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.125rem;
}

.user-name {
    font-size: 0.875rem;
    font-weight: 600;
    color: white;
}

.dropdown-arrow {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    transition: transform 0.3s ease;
}

.user-profile-dropdown.active .dropdown-arrow {
    transform: rotate(180deg);
}

.user-dropdown-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    min-width: 280px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.1);
    overflow: hidden;
    z-index: 1000;
}

.user-profile-dropdown.active .user-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Advanced dropdown animations */
@keyframes slideDownFade {
    from {
        opacity: 0;
        transform: translateY(-10px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes slideUpFade {
    from {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

    to {
        opacity: 0;
        transform: translateY(-10px) scale(0.95);
    }
}

/* Enhanced dropdown items */
.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.25rem;
    color: #374151;
    text-decoration: none;
    transition: all 0.2s ease;
    border-radius: 8px;
    margin: 0 0.5rem;
    position: relative;
}

.dropdown-item:hover {
    background: #f3f4f6;
    color: var(--primary-color);
    transform: translateX(4px);
}

.dropdown-item i {
    width: 18px;
    font-size: 1rem;
    color: #6b7280;
    transition: color 0.2s ease;
}

.dropdown-item:hover i {
    color: var(--primary-color);
}

.dropdown-item.logout-item {
    color: #dc2626;
    border-top: 1px solid #e5e7eb;
    margin-top: 0.5rem;
    padding-top: 1rem;
}

.dropdown-item.logout-item:hover {
    background: #fef2f2;
    color: #b91c1c;
}

.dropdown-item.logout-item i {
    color: #dc2626;
}

.dropdown-item.logout-item:hover i {
    color: #b91c1c;
}

/* Notification badge in dropdown */
.notification-badge {
    background: #ef4444;
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 11px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
}

/* Theme toggle styling */
.theme-toggle {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
    margin-left: auto;
}

.theme-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #ccc;
    border-radius: 24px;
    transition: 0.3s;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background: white;
    border-radius: 50%;
    transition: 0.3s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

input:checked+.toggle-slider {
    background: var(--primary-color);
}

input:checked+.toggle-slider:before {
    transform: translateX(20px);
}

/* Enhanced user avatar with status indicator */
.user-avatar {
    position: relative;
}

.user-avatar::after {
    content: '';
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 10px;
    height: 10px;
    background: #10b981;
    border: 2px solid white;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(16, 185, 129, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

/* Login buttons container for hiding/showing */
.login-buttons {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

/* Enhanced hover effects */
.user-profile-btn:hover .user-avatar {
    transform: scale(1.15);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.user-profile-btn:hover .user-name {
    color: rgba(255, 255, 255, 0.9);
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .user-dropdown-menu {
        min-width: 250px;
        right: -1rem;
    }

    .dropdown-header {
        padding: 1rem;
    }

    .dropdown-item {
        padding: 0.75rem 1rem;
        margin: 0 0.25rem;
    }

    .user-profile-btn {
        padding: 0.4rem 0.75rem;
        gap: 0.5rem;
    }

    .user-avatar {
        width: 32px;
        height: 32px;
    }

    .user-name {
        font-size: 0.8rem;
    }
}

.dropdown-header {
    padding: 1.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-avatar-large {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.user-avatar-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-details h6 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
}

.user-details p {
    margin: 0.25rem 0 0 0;
    font-size: 0.875rem;
    opacity: 0.9;
}

.dropdown-divider {
    height: 1px;
    background: rgba(0, 0, 0, 0.1);
    margin: 0;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.5rem;
    color: #374151;
    text-decoration: none;
    transition: all 0.2s ease;
    position: relative;
}

.dropdown-item:hover {
    background: rgba(102, 126, 234, 0.05);
    color: #667eea;
    padding-left: 2rem;
}

.dropdown-item i {
    width: 20px;
    font-size: 1rem;
    color: #6b7280;
    transition: color 0.2s ease;
}

.dropdown-item:hover i {
    color: #667eea;
}

.notification-badge {
    background: #ef4444;
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
}

.theme-toggle {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
    margin-left: auto;
}

.theme-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #ccc;
    border-radius: 24px;
    transition: 0.3s;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background: white;
    border-radius: 50%;
    transition: 0.3s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

input:checked+.toggle-slider {
    background: #667eea;
}

input:checked+.toggle-slider:before {
    transform: translateX(20px);
}

.logout-item {
    color: #dc2626 !important;
}

.logout-item:hover {
    background: rgba(220, 38, 38, 0.05);
    color: #dc2626 !important;
}

.logout-item i {
    color: #dc2626;
}

/* Enhanced Header Animations */
.header {
    animation: headerSlideDown 0.6s ease-out;
}

@keyframes headerSlideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.navbar-nav .nav-link {
    animation: navItemFadeIn 0.6s ease-out;
    animation-fill-mode: both;
}

.navbar-nav .nav-link:nth-child(1) {
    animation-delay: 0.1s;
}

.navbar-nav .nav-link:nth-child(2) {
    animation-delay: 0.2s;
}

.navbar-nav .nav-link:nth-child(3) {
    animation-delay: 0.3s;
}

.navbar-nav .nav-link:nth-child(4) {
    animation-delay: 0.4s;
}

@keyframes navItemFadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.btn-login,
.btn-signup {
    animation: buttonSlideUp 0.6s ease-out;
    animation-delay: 0.5s;
    animation-fill-mode: both;
}

@keyframes buttonSlideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive User Dropdown */
@media (max-width: 768px) {
    .user-profile-btn {
        padding: 0.5rem;
    }

    .user-info-dropdown {
        display: none;
    }

    .user-dropdown-menu {
        right: -1rem;
        min-width: 260px;
    }

    .dropdown-header {
        padding: 1rem;
    }

    .dropdown-item {
        padding: 0.75rem 1rem;
    }
}

/* Header Top Bar - Professional Design */
.header-top {
    background: linear-gradient(135deg,
            #0f172a 0%,
            #1e293b 50%,
            #0f172a 100%);
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
    position: relative;
    z-index: 1001;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

.header-top::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg,
            transparent,
            rgba(59, 130, 246, 0.6),
            rgba(99, 102, 241, 0.8),
            rgba(59, 130, 246, 0.6),
            transparent);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {

    0%,
    100% {
        opacity: 0.6;
    }

    50% {
        opacity: 1;
    }
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.header-contact {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    flex-wrap: wrap;
    width: 100%;
    justify-content: space-between;
}

.header-social {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.header-social a {
    color: #cbd5e1;
    font-size: 16px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.1);
}

.header-social a::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(59, 130, 246, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.4s, height 0.4s;
}

.header-social a:hover::before {
    width: 100%;
    height: 100%;
}

.header-social a:hover {
    color: #60a5fa;
    background: rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.3);
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 5px 20px rgba(59, 130, 246, 0.4);
}

.header-social svg {
    width: 18px;
    height: 18px;
    display: block;
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.header-social a:hover svg {
    transform: scale(1.15) rotate(5deg);
}

.header-email {
    color: #cbd5e1;
    font-size: 14px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(148, 163, 184, 0.1);
}

.header-email:hover {
    color: #60a5fa;
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.3);
    transform: translateX(-3px);
    box-shadow: 0 2px 10px rgba(59, 130, 246, 0.2);
}

.header-email svg {
    width: 16px;
    height: 16px;
    display: block;
    transition: transform 0.3s ease;
}

.header-email:hover svg {
    transform: scale(1.1);
}

.header-phone {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #cbd5e1;
    font-size: 14px;
}

.header-phone a {
    color: #cbd5e1;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(148, 163, 184, 0.1);
}

.header-phone a:hover {
    color: #60a5fa;
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.3);
    transform: translateX(-3px);
    box-shadow: 0 2px 10px rgba(59, 130, 246, 0.2);
}

.header-phone a i {
    font-size: 14px;
    transition: transform 0.3s ease;
}

.header-phone a:hover i {
    transform: scale(1.1) rotate(15deg);
}

.header-phone svg {
    width: 14px;
    height: 14px;
    display: block;
    transition: transform 0.3s ease;
}

.header-phone a:hover svg {
    transform: scale(1.1);
}

.header-phone span {
    color: rgba(148, 163, 184, 0.4);
    margin: 0 0.5rem;
    font-weight: 300;
}

@media (max-width: 991px) {
    .header-contact {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .header-social {
        order: 1;
    }

    .header-email {
        order: 2;
    }

    .header-phone {
        order: 3;
    }
}

@media (max-width: 767px) {
    .header-top {
        padding: 0.75rem 0;
    }

    .header-contact {
        gap: 0.75rem;
    }

    .header-email,
    .header-phone {
        font-size: 12px;
    }

    .header-social a {
        font-size: 14px;
        width: 20px;
        height: 20px;
    }
}

/* Header Styles - Modern Professional Design */
.header {
    background: linear-gradient(135deg, rgba(67, 19, 135, 0.98) 0%, rgba(212, 0, 246, 0.95) 100%) !important;
    backdrop-filter: blur(20px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
    padding: 1rem 0 !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 1000 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 4px 30px rgba(67, 19, 135, 0.3) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.navbar {
    padding: 0;
}

.navbar-brand {
    font-size: 1.25rem;
    font-weight: 400;
    color: #ffffff !important;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0.5rem;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}

.navbar-brand::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.15);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 12px;
}

.navbar-brand:hover::before {
    opacity: 1;
}

.navbar-brand:hover {
    transform: translateY(-2px);
}

.logo-icon {
    width: 42px;
    height: 42px;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    filter: drop-shadow(0 2px 8px rgba(255, 255, 255, 0.3)) brightness(0) invert(1);
}

.navbar-brand:hover .logo-icon {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 4px 12px rgba(255, 255, 255, 0.5)) brightness(0) invert(1);
}

.navbar-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    margin: 0 0.25rem !important;
    padding: 0.65rem 1.25rem !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    line-height: 1.5em !important;
    border-radius: 12px !important;
    position: relative !important;
    background: transparent !important;
}

.navbar-nav .nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.15);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 12px;
    z-index: -1;
}

.navbar-nav .nav-link:hover::before,
.navbar-nav .nav-link.active::before {
    opacity: 1;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 50%;
    transform: translateX(50%) scaleX(0);
    width: 60%;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
    border-radius: 100px;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    transform: translateX(50%) scaleX(1);
}

.navbar-nav .nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.navbar-nav .nav-link.active {
    color: #431387 !important;
    background: linear-gradient(135deg, rgba(67, 19, 135, 0.08), rgba(212, 0, 246, 0.08)) !important;
}

.btn-login {
    border: 1px solid var(--secondary-color);
    color: var(--white);
    background: transparent;
    border-radius: 6px;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    line-height: 1.4em;
    width: 120px;
    height: 36px;
}

.btn-login:hover {
    background: var(--secondary-color);
    color: var(--white);
}

.btn-signup {
    background: var(--white);
    color: var(--primary-color);
    border: 1px solid var(--secondary-color);
    border-radius: 6px;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 400;
    box-shadow: 0px 2px 13px 0px rgba(0, 0, 0, 0.18);
    transition: all 0.3s ease;
    line-height: 1.4em;
    width: 120px;
    height: 36px;
}

.btn-signup:hover {
    background: var(--secondary-color);
    color: var(--white);
}

.btn-agency-dashboard {
    background: var(--secondary-color);
    color: var(--white);
    border: 1px solid var(--secondary-color);
    border-radius: 6px;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    line-height: 1.4em;
    width: 160px;
    height: 36px;
}

.btn-agency-dashboard:hover {
    background: var(--accent-color);
    color: var(--white);
    border-color: var(--accent-color);
}

.btn-admin-dashboard {
    background: linear-gradient(135deg, #f9c34c, #ef8b14);
    color: #14171a;
    border: 1px solid transparent;
    border-radius: 6px;
    padding: 8px 20px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    line-height: 1.4em;
    width: auto;
    height: 36px;
    box-shadow: 0 5px 15px rgba(244, 142, 16, 0.35);
}

.btn-admin-dashboard:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(244, 142, 16, 0.45);
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 600px;
    background: linear-gradient(180deg, rgba(67, 19, 135, 1) 10%, rgba(67, 19, 135, 1) 42%, rgba(60, 19, 118, 0.88) 54%, rgba(60, 19, 117, 0.76) 66%, rgba(38, 0, 91, 0.31) 79%);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--primary-color);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 3rem 0;
}

.hero-title {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.4em;
    color: var(--white);
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 15px;
    font-weight: 400;
    color: var(--white);
    opacity: 0.8;
    margin-bottom: 1.5rem;
    line-height: 1.6em;
}

.search-container {
    margin-top: 2rem;
}

.search-input-wrapper {
    position: relative;
    background: rgba(255, 255, 255, 0.99);
    border-radius: 8px;
    padding: 8px 12px;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    gap: 8px;
    max-width: 650px;
    width: 100%;
    height: 56px;
    z-index: 3;
}

.search-input {
    border: none;
    outline: none;
    flex: 1;
    font-size: 15px;
    font-weight: 500;
    padding: 0;
    background: transparent;
    height: 40px;
    line-height: 1.4em;
}

.btn-search {
    background: var(--secondary-color);
    color: var(--white);
    border: none;
    border-radius: 8px;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
    width: 140px;
    height: 40px;
    flex-shrink: 0;
}

.btn-search svg {
    width: 20px;
    height: 20px;
}

.btn-search:hover {
    background: var(--accent-color);
}

.search-description {
    font-size: 18px;
    font-weight: 400;
    color: var(--white);
    opacity: 0.8;
    margin-top: 0.75rem;
    line-height: 1.5em;
    max-width: 650px;
}

.search-label {
    font-size: 14px;
    font-weight: 400;
    color: var(--gray);
    margin-top: 0.75rem;
    line-height: 1.5em;
}

.user-type-selector {
    position: relative;
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    z-index: 3;
}

.selector-line {
    position: absolute;
    width: 140px;
    height: 1px;
    background: var(--gray-dark);
    top: 50%;
    transform: translateY(-50%);
}

.selector-options {
    display: flex;
    gap: 1rem;
    background: var(--primary-color);
    padding: 0.5rem;
    border-radius: 6px;
    position: relative;
    z-index: 1;
}

.btn-selector {
    background: transparent;
    border: none;
    color: var(--white);
    font-size: 14px;
    font-weight: 400;
    padding: 0.4rem 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
    line-height: 1.5em;
}

.btn-selector.active {
    background: var(--primary-color);
    border-radius: 6px;
}

/* Sectors Section */
.sectors-section {
    padding: 100px 0;
    background: linear-gradient(180deg,
            rgba(255, 255, 255, 1) 0%,
            rgba(245, 246, 247, 1) 50%,
            rgba(255, 255, 255, 1) 100%);
    position: relative;
    overflow: hidden;
}

.sectors-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 30%, rgba(67, 19, 135, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(212, 0, 246, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.sectors-header {
    position: relative;
    z-index: 2;
    animation: fadeInUp 0.8s ease-out;
}

.sectors-badge {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(135deg, rgba(67, 19, 135, 0.1), rgba(212, 0, 246, 0.1));
    border: 1px solid rgba(67, 19, 135, 0.2);
    border-radius: 25px;
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    font-family: var(--font-main);
}

.sectors-title {
    font-size: 42px;
    font-weight: 800;
    color: var(--text-color);
    margin-bottom: 1rem;
    line-height: 1.2;
    font-family: var(--font-main);
}

.sectors-subtitle {
    font-size: 18px;
    color: var(--text-light);
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
    font-family: var(--font-main);
}

/* Unfied Sector Card Styling (Handled in Enhancements Section) */

.sector-card:nth-child(1) {
    animation-delay: 0.1s;
}

.sector-card:nth-child(2) {
    animation-delay: 0.2s;
}

.sector-card:nth-child(3) {
    animation-delay: 0.3s;
}

.sector-card:nth-child(4) {
    animation-delay: 0.4s;
}

.sector-card:nth-child(5) {
    animation-delay: 0.5s;
}

.sector-card:nth-child(6) {
    animation-delay: 0.6s;
}

.sector-card:nth-child(7) {
    animation-delay: 0.7s;
}

.sector-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg,
            var(--primary-color) 0%,
            var(--secondary-color) 50%,
            var(--accent-color) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 4;
}

.sector-card:hover::before {
    opacity: 1;
}

.sector-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12),
        0 10px 25px rgba(67, 19, 135, 0.1),
        0 0 40px rgba(67, 19, 135, 0.05);
    border-color: rgba(67, 19, 135, 0.2);
}

.sector-image {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
    transition: transform 0.4s ease;
}

.sector-card:hover .sector-image {
    transform: scale(1.05);
}

.sector-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.sector-card:hover .sector-image img {
    transform: scale(1.1);
}

.sector-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(1deg, rgba(67, 19, 135, 0.51) 24%, rgba(92, 52, 152, 0.29) 40%, rgba(124, 94, 174, 0.19) 53%, rgba(181, 168, 212, 0.02) 92%);
    pointer-events: none;
    z-index: 1;
}

.sector-gradient img {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: auto;
    opacity: 0.5;
}

.sector-card .sector-icon {
    position: absolute;
    top: 150px;
    right: 20px;
    z-index: 3;
}

.sector-card .sector-content {
    padding: 1.5rem 1.5rem 0;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.sector-card .sector-title,
.sector-card .sector-description {
    padding: 0;
    margin-top: 0;
    text-align: center;
}

.sector-card .sector-description {
    padding-bottom: 0;
    margin-bottom: 1rem;
}

.sector-icon {
    position: relative;
    width: 56px;
    height: 56px;
    margin-bottom: 0.75rem;
}

.icon-circle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--purple-dark);
    border: 4px solid var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(67, 19, 135, 0.2),
        0 4px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.sector-card:hover .icon-circle {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 30px rgba(67, 19, 135, 0.3),
        0 6px 15px rgba(0, 0, 0, 0.15);
}

.icon-circle img {
    width: 30px;
    height: 28px;
    object-fit: contain;
    z-index: 1;
}

.sector-card.sector-tech .icon-circle {
    background: var(--purple-dark);
}

.sector-card.sector-real-estate .icon-circle,
.sector-card.sector-food .icon-circle {
    background: var(--purple-dark);
}

.sector-card.sector-retail .icon-circle,
.sector-card.sector-hospitality .icon-circle {
    background: var(--purple-darker);
}

.sector-title {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.6em;
    color: var(--text-color);
    margin-bottom: 1rem;
    text-align: center;
    letter-spacing: -0.02em;
}

.sector-description {
    font-size: 15px;
    font-weight: 400;
    line-height: 1.8em;
    color: rgba(0, 0, 0, 0.7);
    text-align: center;
    margin-bottom: 0.5rem;
}

.sector-footer {
    padding: 1rem 1.5rem 1.5rem;
    margin-top: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.sector-card.sector-medical .sector-footer,
.sector-card.sector-education .sector-footer {
    padding: 1rem 1.5rem 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.sector-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-family: var(--font-main);
    box-shadow: 0 4px 15px rgba(67, 19, 135, 0.2);
}

.sector-cta-btn svg {
    transition: transform 0.3s ease;
}

.sector-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(67, 19, 135, 0.3);
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
}

.sector-cta-btn:hover svg {
    transform: translateX(3px);
}

@media (max-width: 768px) {
    .sectors-section {
        padding: 60px 0;
    }

    .sectors-title {
        font-size: 32px;
    }

    .sectors-subtitle {
        font-size: 16px;
    }

    .sector-card {
        min-height: 300px;
    }

    .sector-image {
        height: 180px;
    }

    .sector-card:hover {
        transform: translateY(-5px) scale(1.01);
    }
}

/* How It Works Section */
.how-it-works-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
}

.how-it-works-card {
    position: relative;
    overflow: visible;
}

.how-it-works-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.how-it-works-card:hover::before {
    transform: scaleX(1);
}

.how-it-works-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 40px rgba(67, 19, 135, 0.15);
}

.step-number {
    position: absolute;
    top: -20px;
    right: 20px;
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    box-shadow: 0 8px 20px rgba(67, 19, 135, 0.3);
    z-index: 10;
    border: 3px solid var(--white);
}

.step-icon {
    margin: 2rem 0 1.5rem;
    transition: transform 0.3s ease;
}

.how-it-works-card:hover .step-icon {
    transform: scale(1.1) rotate(5deg);
}

.step-title {
    color: var(--primary-color);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.step-description {
    color: var(--text-muted);
    line-height: 1.8;
    font-size: 0.95rem;
}

/* Fix Font Awesome Icons in How It Works Section */
.how-it-works-section .step-icon i {
    font-family: "Font Awesome 6 Free", "Font Awesome 6 Pro" !important;
    font-weight: 900 !important;
    display: inline-block !important;
    font-style: normal !important;
    font-variant: normal !important;
    text-rendering: auto !important;
    -webkit-font-smoothing: antialiased !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.how-it-works-section .benefit-icon i {
    font-family: "Font Awesome 6 Free", "Font Awesome 6 Pro" !important;
    font-weight: 900 !important;
    display: inline-block !important;
    font-style: normal !important;
    font-variant: normal !important;
    text-rendering: auto !important;
    -webkit-font-smoothing: antialiased !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Ensure text is visible in how-it-works section */
.how-it-works-section h2,
.how-it-works-section h4,
.how-it-works-section p,
.how-it-works-section span {
    color: #1e293b !important;
}

.how-it-works-section .services-badge {
    color: var(--primary-color) !important;
}

.how-it-works-section .services-subtitle {
    color: #64748b !important;
}

.benefit-card {
    transition: all 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(67, 19, 135, 0.15) !important;
}

.benefit-icon {
    margin-bottom: 1rem;
}

/* Services Section */
.services-section {
    padding: 100px 0;
    background: linear-gradient(180deg,
            rgba(255, 255, 255, 1) 0%,
            rgba(245, 246, 247, 1) 50%,
            rgba(255, 255, 255, 1) 100%);
    position: relative;
    overflow: hidden;
}

.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(67, 19, 135, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(212, 0, 246, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.services-header {
    position: relative;
    z-index: 2;
    animation: fadeInUp 0.8s ease-out;
}

.services-badge {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(135deg, rgba(67, 19, 135, 0.1), rgba(212, 0, 246, 0.1));
    border: 1px solid rgba(67, 19, 135, 0.2);
    border-radius: 25px;
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    font-family: var(--font-main);
}

.services-title {
    font-size: 42px;
    font-weight: 800;
    color: var(--text-color);
    margin-bottom: 1rem;
    line-height: 1.2;
    font-family: var(--font-main);
    word-break: normal;
    white-space: normal;
    word-wrap: normal;
    direction: rtl;
}

.services-subtitle {
    font-size: 18px;
    color: var(--text-light);
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
    font-family: var(--font-main);
    word-break: normal;
    white-space: normal;
    word-wrap: normal;
    direction: rtl;
}

.section-title {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.4em;
    color: var(--text-color);
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 22px;
    font-weight: 600;
    line-height: 1.4em;
    color: var(--text-color);
    margin-bottom: 0.75rem;
    letter-spacing: -0.015em;
}

.section-description {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5em;
    color: var(--text-color);
    margin-bottom: 2rem;
    opacity: 0.8;
}

.service-card {
    background: var(--white);
    border-radius: 20px;
    padding: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08),
        0 5px 15px rgba(67, 19, 135, 0.05);
    height: 100%;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    min-height: 450px;
    border: 1px solid rgba(67, 19, 135, 0.05);
    animation: fadeInUp 0.6s ease-out both;
    display: flex;
    flex-direction: column;
}

.service-card:nth-child(1) {
    animation-delay: 0.1s;
}

.service-card:nth-child(2) {
    animation-delay: 0.2s;
}

.service-card:nth-child(3) {
    animation-delay: 0.3s;
}

.service-card:nth-child(4) {
    animation-delay: 0.4s;
}

.service-card:nth-child(5) {
    animation-delay: 0.5s;
}

.service-card:nth-child(6) {
    animation-delay: 0.6s;
}

.service-card:nth-child(7) {
    animation-delay: 0.7s;
}

.service-card:nth-child(8) {
    animation-delay: 0.8s;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg,
            var(--primary-color) 0%,
            var(--secondary-color) 50%,
            var(--accent-color) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 4;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card .service-content {
    padding: 1.5rem 1.5rem 0;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    word-break: normal;
    white-space: normal;
    word-wrap: normal;
    direction: rtl;
}

.service-card .service-title,
.service-card .service-list {
    padding: 0;
    text-align: center;
}

.service-card .service-list {
    padding-bottom: 0;
    margin-bottom: 1rem;
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12),
        0 10px 25px rgba(67, 19, 135, 0.1),
        0 0 40px rgba(67, 19, 135, 0.05);
    border-color: rgba(67, 19, 135, 0.2);
}

.service-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 220px;
    overflow: hidden;
    z-index: 1;
    border-radius: 20px 20px 0 0;
    transition: transform 0.4s ease;
}

.service-card:hover .service-image {
    transform: scale(1.05);
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-icon {
    position: relative;
    z-index: 2;
    width: 36px;
    height: 40px;
    background: var(--accent-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 180px;
    margin-bottom: 0.75rem;
    margin-left: 1.5rem;
    margin-right: 1.5rem;
    box-shadow: 0 8px 20px rgba(67, 19, 135, 0.2),
        0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 6px;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 30px rgba(67, 19, 135, 0.3),
        0 6px 15px rgba(0, 0, 0, 0.15);
}

.service-card-no-image .service-icon {
    margin-top: 0;
}

.service-card-no-image {
    min-height: auto;
}

.service-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.service-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1rem;
    margin-top: 0;
    line-height: 1.6em;
    text-align: center;
    letter-spacing: normal;
    word-break: normal;
    white-space: normal;
    word-wrap: normal;
    direction: rtl;
}

.service-list {
    list-style: none;
    padding: 0;
    text-align: center;
    word-break: normal;
    white-space: normal;
    word-wrap: normal;
    direction: rtl;
}

.service-list li {
    font-size: 15px;
    font-weight: 400;
    line-height: 1.8em;
    color: rgba(0, 0, 0, 0.7);
    margin-bottom: 0.5rem;
    padding-right: 0;
    padding-left: 0;
    position: relative;
    text-align: center;
    word-break: normal;
    white-space: normal;
    word-wrap: normal;
    display: block;
    width: 100%;
    direction: rtl;
    unicode-bidi: embed;
    letter-spacing: normal;
}

.service-list li::before {
    content: '•';
    margin-left: 0.5rem;
    margin-right: 0.5rem;
    color: var(--secondary-color);
    font-weight: bold;
    display: inline-block;
}

.service-list li {
    display: list-item;
    list-style-type: none;
    text-align: right;
    direction: rtl;
    unicode-bidi: embed;
}

.service-footer {
    padding: 1rem 1.5rem 1.5rem;
    margin-top: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.service-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-family: var(--font-main);
    box-shadow: 0 4px 15px rgba(67, 19, 135, 0.2);
}

.service-cta-btn svg {
    transition: transform 0.3s ease;
}

.service-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(67, 19, 135, 0.3);
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
}

.service-cta-btn:hover svg {
    transform: translateX(3px);
}

@media (max-width: 768px) {
    .services-section {
        padding: 60px 0;
    }

    .services-title {
        font-size: 32px;
    }

    .services-subtitle {
        font-size: 16px;
    }

    .service-card {
        min-height: 400px;
    }

    .service-image {
        height: 180px;
    }

    .service-icon {
        margin-top: 160px;
    }

    .service-card:hover {
        transform: translateY(-5px) scale(1.01);
    }
}

/* How It Works Section */
.how-it-works-section {
    padding: 60px 0;
    background: var(--white);
}

.step-card {
    position: relative;
    overflow: visible;
}

.step-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow:
        0 20px 50px rgba(67, 19, 135, 0.3),
        0 10px 25px rgba(212, 0, 246, 0.2);
}

/* Unfied Step Number Styling (Handled in How It Works Section) */

.step-icon {
    margin: 1.5rem 0;
    position: relative;
}

.step-icon img {
    width: 100%;
    max-width: 160px;
    height: auto;
    border-radius: 12px;
}

.step-icon .quote-icon {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 23px;
    height: 17px;
    z-index: 2;
}

/* talent-icon removed - file not available */

.step-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.step-description {
    font-size: 0.95rem;
    font-weight: 400;
    line-height: 1.7;
    color: var(--text-muted);
}

/* Registration Section */
.registration-section {
    padding: 60px 0;
    background: var(--bg-light);
    scroll-margin-top: 150px;
}

.registration-card {
    background: var(--white);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    box-shadow: 0px 4px 4px 0px rgba(67, 19, 135, 0.64), 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
    height: 100%;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    min-height: 180px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.registration-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s;
}

.registration-card:hover::before {
    left: 100%;
}

.registration-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow:
        0 25px 60px rgba(67, 19, 135, 0.4),
        0 12px 30px rgba(212, 0, 246, 0.3);
}

.card-image {
    margin-bottom: 1rem;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.card-image img {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    display: block;
    object-fit: contain;
}

.card-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 0.75rem;
    line-height: 1.3em;
}

.card-description {
    font-size: 15px;
    font-weight: 400;
    line-height: 1.5em;
    color: var(--text-color);
}

/* Why Choose Section */
/* Why Choose Section - New Design */
.td_gray_bg_5 {
    background: var(--bg-light);
}

.td_shape_section_4 {
    position: relative;
    overflow: hidden;
    padding: 80px 0;
}

.td_hobble {
    position: relative;
}

.td_hover_layer_3,
.td_hover_layer_5 {
    transition: transform 0.3s ease;
}

.td_hover_layer_3:hover {
    transform: perspective(800px) translateX(-15px) translateY(-25px) !important;
}

.td_hover_layer_5:hover {
    transform: perspective(800px) translateY(-20px) translateX(-40px) !important;
}

.why-choose-section {
    padding: 60px 0;
    background: var(--primary-color);
    position: relative;
    overflow: visible;
}

.features-image-wrapper {
    position: relative;
    margin-bottom: 2rem;
    min-height: 501px;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    overflow: visible;
}

.features-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    border-radius: 20px;
    overflow: hidden;
}

.features-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    display: block;
}

.features-logo {
    position: absolute;
    top: 93.49px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    width: 99.32px;
    height: 54.02px;
    pointer-events: none;
}

.features-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.features-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    pointer-events: none;
}

.features-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    border-radius: 16px;
    display: block;
    object-fit: contain;
}

.features-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: auto;
    z-index: 3;
    pointer-events: none;
    border-radius: 0 0 20px 20px;
    overflow: hidden;
}

.features-gradient img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.features-list {
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    align-items: flex-start;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    padding: 12px;
}

.feature-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.feature-content {
    flex: 1;
}

.feature-content h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.5rem;
    line-height: 1.4em;
}

.feature-content p {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5em;
    color: var(--white);
    opacity: 0.9;
}

.why-choose-section .section-title {
    font-size: 28px;
    font-weight: 800;
    line-height: 1.3em;
    color: var(--white);
    margin-bottom: 0.75rem;
    text-align: center;
}

.why-choose-section .section-subtitle {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.4em;
    color: #FFF6F7;
    margin-bottom: 1.5rem;
    letter-spacing: 0.01em;
    text-align: center;
}

/* Footer */
.footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 3rem 0 1.5rem;
}

/* Moving Features Section */
.moving-features-section {
    background: linear-gradient(90deg, rgba(67, 19, 135, 0.95) 0%, rgba(212, 0, 246, 0.95) 100%);
    padding: 20px 0;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.moving-features-section .container {
    max-width: 100%;
    padding: 0;
}

.moving-features-inner {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 30px;
    padding: 0;
}

.moving-features-heading {
    flex: 0 0 auto;
    white-space: nowrap;
    display: flex;
    align-items: center;
    padding: 30px 45px 30px 35px;
    border-left: 5px solid #fff;
    min-height: 142px;
    position: relative;
    z-index: 2;
}

.moving-heading-text {
    font-size: 20px;
    font-weight: 600;
    font-family: var(--font-main);
    color: #ffffff;
    margin: 0;
    line-height: 1.5em;
}

.moving-features-wrapper {
    flex: 1;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.moving-box-container {
    display: flex;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.moving-box {
    display: inline-flex;
    flex-shrink: 0;
    animation: scrollRTL 30s linear infinite;
}

.moving-box-container:hover .moving-box {
    animation-play-state: paused;
}

.moving-features-list {
    display: flex;
    padding: 0;
    margin: 0;
    list-style: none;
    gap: 15px;
    align-items: center;
}

.moving-features-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 0 0 auto;
    min-width: 300px;
    max-width: 350px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.moving-features-list li:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.moving-feature-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #ffffff;
    flex-shrink: 0;
    padding: 10px;
}

.moving-feature-icon img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    display: block;
    filter: brightness(0) saturate(100%) invert(27%) sepia(51%) saturate(2878%) hue-rotate(258deg) brightness(94%) contrast(92%);
}

.moving-feature-content {
    flex: 1;
    text-align: right;
}

.moving-feature-title {
    font-size: 18px;
    font-weight: 600;
    font-family: var(--font-main);
    color: #ffffff;
    margin: 0 0 4px 0;
    line-height: 1.3em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.moving-feature-description {
    font-size: 13px;
    font-weight: 400;
    font-family: var(--font-main);
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    line-height: 1.4em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@keyframes scrollRTL {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(100%);
    }
}

/* Responsive for Moving Features */
@media (max-width: 992px) {
    .moving-features-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .moving-features-heading {
        width: 100%;
        margin-right: 0;
        margin-bottom: 15px;
        border-left: none;
        border-bottom: 5px solid #fff;
        padding: 20px;
        min-height: auto;
        text-align: center;
    }

    .moving-heading-text {
        font-size: 18px;
    }

    .moving-features-list li {
        min-width: 280px;
    }
}

@media (max-width: 768px) {
    .moving-features-section {
        padding: 15px 0;
    }

    .moving-features-heading {
        padding: 15px;
    }

    .moving-heading-text {
        font-size: 16px;
    }

    .moving-features-list li {
        min-width: 260px;
        padding: 15px;
    }

    .moving-feature-icon {
        width: 50px;
        height: 50px;
        padding: 8px;
    }

    .moving-feature-icon img {
        width: 32px;
        height: 32px;
    }

    .moving-feature-title {
        font-size: 20px;
    }

    .moving-feature-description {
        font-size: 13px;
    }
}

.footer-title {
    font-size: 22px;
    font-weight: 400;
    margin-bottom: 0.75rem;
    line-height: 1.5em;
}

.footer-description {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5em;
    opacity: 0.9;
}

.footer-heading {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 0.75rem;
    line-height: 1.5em;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    transition: opacity 0.3s ease;
    line-height: 1.5em;
}

.footer-links a:hover {
    opacity: 0.8;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 32px;
    height: 32px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
    padding: 6px;
}

.social-links a img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.social-links a:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-subtitle {
        font-size: 2rem;
    }

    .hero-content {
        padding: 2rem 0;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .search-description {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .section-subtitle {
        font-size: 1.75rem;
    }

    .sector-card,
    .service-card {
        margin-bottom: 2rem;
    }

    .navbar-nav {
        text-align: right;
    }

    .user-type-selector {
        flex-direction: column;
        gap: 0.5rem;
    }

    .selector-line {
        display: none;
    }
}

/* About Section - Using td classes */
.td_shape_section_2 {
    position: relative;
    overflow: hidden;
    padding: 80px 0;
    background: var(--white);
}

.td_shape {
    position: absolute;
    z-index: 0;
    opacity: 0.1;
}

.td_shape_position_1 {
    top: 10%;
    left: 5%;
}

.td_shape_position_2 {
    top: 20%;
    right: 10%;
    width: 50px;
    height: 50px;
    background: var(--secondary-color);
    border-radius: 50%;
}

.td_shape_position_3 {
    bottom: 15%;
    left: 8%;
    width: 40px;
    height: 40px;
    background: var(--accent-color);
    border-radius: 50%;
}

.td_shape_position_4 {
    bottom: 25%;
    right: 5%;
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
}

.td_shape_position_5 {
    top: 50%;
    right: 15%;
    width: 30px;
    height: 30px;
    background: var(--secondary-color);
    border-radius: 50%;
}

.td_accent_color {
    color: var(--primary-color);
}

.td_height_100 {
    height: 100px;
}

.td_height_lg_50 {
    height: 50px;
}

@media (min-width: 992px) {
    .td_height_lg_50 {
        height: 50px;
    }
}

.td_gap_y_40 {
    row-gap: 40px;
}

/* Image Box Styles */
.td_image_box {
    position: relative;
    padding: 20px;
}

.td_image_box_img_1 {
    position: relative;
    z-index: 2;
    margin-bottom: 20px;
    width: 100%;
}

.td_image_box_img_1 img {
    width: 100%;
    height: auto;
    min-height: 400px;
    max-height: 500px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(67, 19, 135, 0.2);
    display: block;
    background: linear-gradient(135deg, rgba(67, 19, 135, 0.1), rgba(212, 0, 246, 0.1));
}

.td_image_box_img_2 {
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 1;
    width: 60%;
    transform: translateX(-20px);
    max-width: 300px;
}

.td_image_box_img_2 img {
    width: 100%;
    height: auto;
    min-height: 250px;
    max-height: 300px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(67, 19, 135, 0.2);
    display: block;
    background: linear-gradient(135deg, rgba(67, 19, 135, 0.1), rgba(212, 0, 246, 0.1));
    transition: transform 0.3s ease;
}

.td_image_box_img_2:hover img {
    transform: scale(1.05) translateX(-5px);
}

.td_image_box_circle {
    position: absolute;
    top: 50%;
    right: -50px;
    transform: translateY(-50%);
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 2px dashed var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.95);
    z-index: 10;
    box-shadow: 0 10px 30px rgba(67, 19, 135, 0.2);
    animation: rotateCircle 20s linear infinite;
}

@media (max-width: 991px) {
    .td_image_box_circle {
        right: -30px;
        width: 120px;
        height: 120px;
    }
}

@media (max-width: 767px) {
    .td_image_box_circle {
        position: relative;
        top: auto;
        right: auto;
        transform: none;
        margin: 20px auto;
        width: 120px;
        height: 120px;
    }
}

.td_image_box_circle_in {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    overflow: hidden;
}

@media (max-width: 991px) {
    .td_image_box_circle_in {
        width: 100px;
        height: 100px;
    }
}

.td_image_box_circle_icon {
    position: absolute;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.td_image_box_circle_icon img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.td_image_box_circle_text {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    animation: rotateCircleReverse 20s linear infinite;
    pointer-events: none;
}

.td_image_box_circle_text,
.td_image_box_circle_text img,
.td_image_box_circle_text svg {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.td_center {
    text-align: center;
}

@keyframes rotateCircle {
    from {
        transform: translateY(-50%) rotate(0deg);
    }

    to {
        transform: translateY(-50%) rotate(360deg);
    }
}

@keyframes rotateCircleReverse {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(-360deg);
    }
}

/* About Content */
.about-content {
    padding: 20px 0;
}

.about-subtitle-up {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 10px;
    text-transform: uppercase;
    color: var(--secondary-color);
    font-family: var(--font-main);
}

.about-title {
    font-size: 35px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--primary-color);
    line-height: 1.3;
    font-family: var(--font-main);
}

.about-subtitle {
    font-size: 18px;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 40px;
    font-family: var(--font-main);
}

@media (max-width: 991px) {
    .about-title {
        font-size: 28px;
    }

    .about-subtitle {
        font-size: 16px;
    }
}

/* About Features */
.about-features {
    margin-bottom: 40px;
}

.about-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: var(--bg-light);
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.about-feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(67, 19, 135, 0.05), transparent);
    transition: left 0.6s;
}

.about-feature-item:hover::before {
    left: 100%;
}

.about-feature-item:hover {
    background: rgba(67, 19, 135, 0.05);
    transform: translateY(-8px) scale(1.02);
    box-shadow:
        0 15px 35px rgba(67, 19, 135, 0.15),
        0 8px 20px rgba(212, 0, 246, 0.1);
}

.about-feature-item:hover .about-icon-inner {
    transform: scale(1.1) rotate(5deg);
}

.about-feature-icon {
    flex-shrink: 0;
}

.about-icon-inner {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    justify-content: center;
    background: var(--white);
    box-shadow: 0 5px 15px rgba(67, 19, 135, 0.15);
    padding: 12px;
}

.about-icon-inner img {
    width: 35px;
    height: 35px;
    object-fit: contain;
    display: block;
    max-width: 100%;
    height: auto;
    filter: brightness(0) saturate(100%) invert(27%) sepia(51%) saturate(2878%) hue-rotate(258deg) brightness(94%) contrast(92%);
}

.about-feature-content {
    flex: 1;
}

.about-feature-content h3 {
    color: var(--primary-color);
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
    font-family: var(--font-main);
    line-height: 1.3;
}

.about-feature-content p {
    color: var(--text-light);
    font-size: 14px;
    margin: 0;
    line-height: 1.5;
    font-family: var(--font-main);
}

/* About Button */
.about-btn {
    display: inline-block;
    text-decoration: none;
    border-radius: 30px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.about-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(67, 19, 135, 0.3);
}

.about-btn-inner {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border-radius: 30px;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 16px;
    font-family: var(--font-main);
}

.about-btn-inner svg {
    width: 19px;
    height: 20px;
}

.about-btn-inner span {
    color: var(--white);
}

/* Responsive About Section */
@media (max-width: 991px) {
    .about-image-main {
        height: 350px;
    }

    .about-image-secondary {
        height: 200px;
    }

    .about-image-circle {
        right: -30px;
        width: 120px;
        height: 120px;
    }

    .about-circle-inner {
        width: 100px;
        height: 100px;
    }

    .about-title {
        font-size: 28px;
    }
}

@media (max-width: 767px) {
    .about-section {
        padding: 60px 0;
    }

    .about-image-main {
        height: 300px;
    }

    .about-image-secondary {
        height: 180px;
        width: 50%;
    }

    .about-image-circle {
        position: relative;
        top: auto;
        right: auto;
        transform: none;
        margin: 20px auto;
    }

    .about-title {
        font-size: 24px;
    }

    .about-subtitle {
        font-size: 16px;
    }

    .about-feature-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .about-feature-content {
        text-align: center;
    }

    .about-feature-content h3 {
        font-size: 18px;
    }

    .about-feature-content p {
        font-size: 13px;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
    background: var(--secondary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-color);
}

/* Why Choose Section - New Accordion Design */
.td_gray_bg_5 {
    background: var(--bg-light);
}

.td_shape_section_4 {
    position: relative;
    overflow: hidden;
    padding: 80px 0;
}

.td_hobble {
    position: relative;
}

.td_hover_layer_3,
.td_hover_layer_5 {
    transition: transform 0.3s ease;
}

.td_hover_layer_3:hover {
    transform: perspective(800px) translateX(-15px) translateY(-25px) !important;
}

.td_hover_layer_5:hover {
    transform: perspective(800px) translateY(-20px) translateX(-40px) !important;
}

.td_accordians {
    margin-top: 2rem;
}

.td_accordian {
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.td_accordian:hover {
    box-shadow: 0px 4px 15px rgba(67, 19, 135, 0.3);
}

.td_accordian.active {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.td_accordian_head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.td_accordian_head:hover {
    background: rgba(255, 255, 255, 0.1);
}

.td_accordian_title {
    font-size: 20px;
    font-weight: 500;
    color: var(--white);
    margin: 0;
    font-family: var(--font-main);
    flex: 1;
    text-align: right;
}

.td_accordian_toggle {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.td_accordian_toggle svg {
    transition: transform 0.3s ease;
}

.td_accordian.active .td_accordian_toggle svg {
    transform: rotate(180deg);
}

.td_accordian_body {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.td_accordian.active .td_accordian_body {
    padding: 0 1.5rem 1.25rem 1.5rem;
    max-height: 500px;
}

.td_accordian_body p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
    font-family: var(--font-main);
}

.td_fs_48 {
    font-size: 48px;
}

.td_fs_20 {
    font-size: 20px;
}

.td_medium {
    font-weight: 500;
}

.td_height_50 {
    height: 50px;
}

.td_height_lg_75 {
    height: 75px;
}

@media (min-width: 992px) {
    .td_height_lg_75 {
        height: 75px;
    }
}

.td_image_box.td_style_9 {
    position: relative;
    padding: 20px;
}

.td_image_box.td_style_9 .td_image_box_img_1 {
    position: relative;
    z-index: 2;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(67, 19, 135, 0.2);
}

.td_image_box.td_style_9 .td_image_box_img_1 img {
    width: 100%;
    height: auto;
    min-height: 500px;
    object-fit: cover;
    display: block;
    border-radius: 20px;
}

.td_image_box_shape_2,
.td_image_box_shape_3,
.td_image_box_shape_4,
.td_image_box_shape_5 {
    position: absolute;
    z-index: 1;
    pointer-events: none;
}

.td_image_box_shape_2 {
    top: 10%;
    right: -20px;
    opacity: 0.6;
}

.td_image_box_shape_3 {
    bottom: 15%;
    left: -30px;
    opacity: 0.5;
}

.td_image_box_shape_4 {
    top: 50%;
    right: 10%;
    transform: translateY(-50%);
    opacity: 0.7;
}

.td_image_box_shape_5 {
    top: 20%;
    left: 10%;
    opacity: 0.8;
}

.td_section_heading {
    margin-bottom: 30px;
}

.td_section_subtitle_up {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 10px;
    text-transform: uppercase;
    color: var(--secondary-color);
    font-family: var(--font-main) !important;
}

.td_section_title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--primary-color);
    line-height: 1.3;
    font-family: var(--font-main) !important;
}

@media (max-width: 991px) {
    .td_section_title {
        font-size: 36px;
    }
}

@media (max-width: 767px) {
    .td_section_title {
        font-size: 28px;
    }

    .td_accordian_title {
        font-size: 18px;
    }

    .td_accordian_head {
        padding: 1rem 1.25rem;
    }

    .td_accordian_body {
        padding: 0 1.25rem;
    }

    .td_accordian.active .td_accordian_body {
        padding: 0 1.25rem 1rem 1.25rem;
    }
}

/* Testimonials Section */
.td_height_100 {
    height: 100px;
}

.td_height_lg_0 {
    height: 0;
}

@media (min-width: 992px) {
    .td_height_lg_0 {
        height: 0;
    }
}

.td_height_lg_50 {
    height: 50px;
}

@media (min-width: 992px) {
    .td_height_lg_50 {
        height: 50px;
    }
}

.td_testimonial_with_shape_wrap {
    position: relative;
    overflow: hidden;
}

.td_testimonial_with_shape {
    position: relative;
    padding: 80px 0;
}

.td_testimonial_shape_1 {
    top: 10%;
    left: 5%;
    opacity: 0.3;
    z-index: 1;
}

.td_testimonial_shape_3 {
    top: 60%;
    right: 10%;
    opacity: 0.2;
    z-index: 1;
}

.td_testimonial_shape_4 {
    bottom: 10%;
    left: 15%;
    opacity: 0.25;
    z-index: 1;
}

.td_slider.td_style_1 {
    position: relative;
}

.td_image_box.td_style_8 {
    position: relative;
    padding: 20px;
}

.td_image_box.td_style_8 .td_image_box_img_1 {
    position: relative;
    z-index: 2;
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(67, 19, 135, 0.2);
}

.td_image_box.td_style_8 .td_image_box_img_1 img {
    width: 100%;
    height: auto;
    min-height: 500px;
    object-fit: cover;
    display: block;
    border-radius: 20px;
}

.td_image_box.td_style_8 .td_image_box_img_2 {
    position: absolute;
    top: 10%;
    right: -10%;
    width: 200px;
    height: 200px;
    border-radius: 15px;
    z-index: 3;
    box-shadow: 0 8px 30px rgba(67, 19, 135, 0.3);
    border: 5px solid #fff;
}

.td_image_box.td_style_8 .td_image_box_img_3 {
    position: absolute;
    bottom: 10%;
    left: -10%;
    width: 180px;
    height: 180px;
    border-radius: 15px;
    z-index: 3;
    box-shadow: 0 8px 30px rgba(67, 19, 135, 0.3);
    border: 5px solid #fff;
}

.td_image_box_shape_1 {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    opacity: 0.1;
    width: 262px;
    height: 242px;
}

.td_slider_container {
    position: relative;
}

.td_slider_wrapper {
    position: relative;
}

.td_slide {
    outline: none;
}

.td_testimonial.td_style_1.td_type_3 {
    position: relative;
    padding: 30px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.9));
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(67, 19, 135, 0.1);
}

.td_rating {
    position: relative;
    display: inline-block;
    font-size: 24px;
    color: #e0e0e0;
    margin-bottom: 20px;
    line-height: 1;
}

.td_rating i {
    margin: 0 3px;
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.td_rating_percentage {
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
    color: transparent;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 25%, #FF6B6B 50%, #FFD700 75%, #FFA500 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 3s ease-in-out infinite, starGlow 2s ease-in-out infinite;
    filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.6)) drop-shadow(0 0 12px rgba(255, 165, 0, 0.4));
}

.td_rating_percentage i {
    display: inline-block;
    animation: starPulse 1.5s ease-in-out infinite;
    margin: 0 3px;
    filter: drop-shadow(0 0 6px rgba(255, 215, 0, 0.8)) drop-shadow(0 0 10px rgba(255, 165, 0, 0.5));
}

.td_rating_percentage i:nth-child(1) {
    animation-delay: 0s;
}

.td_rating_percentage i:nth-child(2) {
    animation-delay: 0.1s;
}

.td_rating_percentage i:nth-child(3) {
    animation-delay: 0.2s;
}

.td_rating_percentage i:nth-child(4) {
    animation-delay: 0.3s;
}

.td_rating_percentage i:nth-child(5) {
    animation-delay: 0.4s;
}

@keyframes shimmer {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes starGlow {

    0%,
    100% {
        filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.6)) drop-shadow(0 0 12px rgba(255, 165, 0, 0.4));
    }

    50% {
        filter: drop-shadow(0 0 12px rgba(255, 215, 0, 0.9)) drop-shadow(0 0 18px rgba(255, 165, 0, 0.7)) drop-shadow(0 0 24px rgba(255, 107, 107, 0.4));
    }
}

@keyframes starPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.15);
        opacity: 0.9;
    }
}

.td_testimonial:hover .td_rating_percentage {
    animation-duration: 1.5s;
}

.td_testimonial:hover .td_rating_percentage i {
    animation-duration: 1s;
}

.td_star_sparkle {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background: radial-gradient(circle at 20% 50%, rgba(255, 215, 0, 0.4) 0%, transparent 50%),
        radial-gradient(circle at 40% 50%, rgba(255, 165, 0, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 60% 50%, rgba(255, 107, 107, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(255, 215, 0, 0.3) 0%, transparent 50%);
    animation: sparkleMove 4s ease-in-out infinite;
    opacity: 0.6;
}

@keyframes sparkleMove {

    0%,
    100% {
        opacity: 0.4;
        transform: translateX(0) scale(1);
    }

    25% {
        opacity: 0.8;
        transform: translateX(10px) scale(1.1);
    }

    50% {
        opacity: 0.6;
        transform: translateX(-5px) scale(0.95);
    }

    75% {
        opacity: 0.9;
        transform: translateX(5px) scale(1.05);
    }
}

.td_rating_percentage::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: linear-gradient(45deg, rgba(255, 215, 0, 0.1), rgba(255, 165, 0, 0.1), rgba(255, 107, 107, 0.1));
    border-radius: 50%;
    z-index: -1;
    animation: starAura 3s ease-in-out infinite;
    filter: blur(8px);
}

@keyframes starAura {

    0%,
    100% {
        opacity: 0.3;
        transform: scale(0.8);
    }

    50% {
        opacity: 0.6;
        transform: scale(1.2);
    }
}

.td_testimonial_text {
    font-size: 20px;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 25px;
    line-height: 1.8;
    font-family: var(--font-main);
}

.td_opacity_9 {
    opacity: 0.9;
}

.td_testimonial_meta {
    display: flex;
    align-items: center;
    gap: 15px;
}

.td_testimonial_meta img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-color);
}

.td_testimonial_meta_right h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 5px;
    font-family: var(--font-main);
}

.td_testimonial_meta_right p {
    font-size: 14px;
    color: var(--text-color);
    opacity: 0.7;
    margin: 0;
    font-family: var(--font-main);
}

.td_quote_icon {
    position: absolute;
    top: -20px;
    right: 30px;
    width: 65px;
    height: 46px;
    opacity: 0.2;
    z-index: 0;
}

.td_slider_arrows.td_style_2 {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    justify-content: flex-start;
    position: absolute;
    bottom: -80px;
    left: 0;
    z-index: 10;
}

.td_left_arrow,
.td_right_arrow {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.td_left_arrow:hover,
.td_right_arrow:hover {
    background: var(--secondary-color);
    transform: scale(1.1);
}

.td_left_arrow svg,
.td_right_arrow svg {
    width: 8px;
    height: 14px;
}

.td_left_arrow.slick-arrow,
.td_right_arrow.slick-arrow {
    position: static;
}

.td_gap_y_40 {
    gap: 40px 0;
}

.td_mb_35 {
    margin-bottom: 35px;
}

.td_mb_2 {
    margin-bottom: 2px;
}

@media (max-width: 991px) {

    .td_image_box.td_style_8 .td_image_box_img_2,
    .td_image_box.td_style_8 .td_image_box_img_3 {
        display: none;
    }

    .td_testimonial_text {
        font-size: 18px;
    }

    .td_section_title.td_fs_48 {
        font-size: 36px;
    }
}

@media (max-width: 767px) {
    .td_testimonial.td_style_1.td_type_3 {
        padding: 20px;
    }

    .td_testimonial_text {
        font-size: 16px;
    }

    .td_section_title.td_fs_48 {
        font-size: 28px;
    }

    .td_slider_arrows.td_style_2 {
        justify-content: center;
    }
}

/* Registration Section */
.registration-section {
    padding: 80px 0;
    background: linear-gradient(135deg,
            rgba(245, 246, 247, 1) 0%,
            rgba(255, 255, 255, 0.9) 25%,
            rgba(245, 246, 247, 1) 50%,
            rgba(255, 255, 255, 0.9) 75%,
            rgba(245, 246, 247, 1) 100%);
    background-size: 400% 400%;
    animation: gradientShift 8s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

.registration-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 70%, rgba(67, 19, 135, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(212, 0, 246, 0.03) 0%, transparent 50%);
    animation: floatShapes 12s ease-in-out infinite;
}

@keyframes gradientShift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

@keyframes floatShapes {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    33% {
        transform: translate(30px, -30px) rotate(120deg);
    }

    66% {
        transform: translate(-20px, 20px) rotate(240deg);
    }
}

.registration-card {
    background: linear-gradient(145deg,
            rgba(255, 255, 255, 0.95) 0%,
            rgba(255, 255, 255, 0.98) 50%,
            rgba(255, 255, 255, 0.95) 100%);
    backdrop-filter: blur(20px);
    border-radius: 25px;
    padding: 3rem 2rem;
    box-shadow: 0 25px 50px rgba(67, 19, 135, 0.1),
        0 15px 35px rgba(212, 0, 246, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    text-align: center;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(67, 19, 135, 0.08);
}

.registration-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg,
            var(--primary-color) 0%,
            var(--secondary-color) 50%,
            var(--accent-color) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.registration-card:hover::before {
    opacity: 1;
}

.registration-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 35px 70px rgba(67, 19, 135, 0.15),
        0 20px 40px rgba(212, 0, 246, 0.1),
        0 0 60px rgba(67, 19, 135, 0.08);
}

.card-image {
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.card-image::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background: radial-gradient(circle,
            rgba(67, 19, 135, 0.1) 0%,
            rgba(212, 0, 246, 0.05) 50%,
            transparent 100%);
    border-radius: 50%;
    z-index: -1;
    animation: pulseGlow 4s ease-in-out infinite;
}

@keyframes pulseGlow {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0.3;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.6;
    }
}

.card-image img {
    width: 180px;
    height: 180px;
    object-fit: contain;
    border-radius: 22px;
    box-shadow: 0 15px 40px rgba(67, 19, 135, 0.2),
        0 8px 20px rgba(212, 0, 246, 0.15),
        inset 0 2px 4px rgba(255, 255, 255, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 3;
    background: linear-gradient(145deg,
            rgba(255, 255, 255, 0.9) 0%,
            rgba(255, 255, 255, 0.95) 100%);
    padding: 10px;
}

.registration-card:hover .card-image img {
    transform: scale(1.1) rotate(2deg);
    box-shadow: 0 25px 60px rgba(67, 19, 135, 0.25),
        0 12px 30px rgba(212, 0, 246, 0.2),
        inset 0 3px 6px rgba(255, 255, 255, 0.4);
}

.card-title {
    font-size: 24px;
    font-weight: 700;
    background: linear-gradient(135deg,
            var(--primary-color) 0%,
            var(--secondary-color) 50%,
            var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.2rem;
    font-family: var(--font-main);
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 4px rgba(67, 19, 135, 0.1);
}

.card-description {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 0;
    font-family: var(--font-main);
    position: relative;
    z-index: 2;
    opacity: 0.85;
}

.registration-card:nth-child(1) {
    animation: slideInLeft 0.8s ease-out;
}

.registration-card:nth-child(2) {
    animation: slideInRight 0.8s ease-out 0.2s both;
}

@keyframes slideInLeft {
    from {
        transform: translateX(-50px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(50px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .registration-section {
        padding: 50px 0;
    }

    .registration-card {
        padding: 2rem 1.5rem;
        margin-bottom: 1rem;
    }

    .card-image img {
        width: 140px;
        height: 140px;
    }

    .card-title {
        font-size: 20px;
    }

    .card-description {
        font-size: 14px;
    }
}

/* Hero Section - Luxury & Modern */
.td_hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px !important;
    background-size: cover !important;
    background-position: center !important;
    background-attachment: fixed !important;
    overflow: hidden;
}

.td_hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(67, 19, 135, 0.92) 0%,
            rgba(212, 0, 246, 0.2) 100%);
    z-index: 1;
}

.td_hero_content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding-top: 0;
    margin-top: -20px;
}

.td_hero_badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: var(--white);
    padding: 10px 24px;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 32px;
    box-shadow: var(--shadow-sm);
}

.td_hero_title {
    font-size: clamp(2.2rem, 6vw, 3.8rem) !important;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 24px;
    line-height: 1.25;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.td_hero_description {
    font-size: clamp(1rem, 1.5vw, 1.25rem) !important;
    color: rgba(255, 255, 255, 0.9);
    max-width: 750px;
    margin: 0 auto 40px;
    line-height: 1.8;
    font-weight: 400;
}

.td_hero_btn_group {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.td_btn {
    display: inline-block;
    text-decoration: none;
    transition: all 0.3s ease;
}

.td_btn_in {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 10px;
    font-weight: 500;
    font-size: 16px;
    transition: all 0.3s ease;
    font-family: var(--font-main);
}

.td_btn_in svg {
    width: 19px;
    height: 20px;
    transition: transform 0.3s ease;
}

.td_btn:hover .td_btn_in svg {
    transform: translateX(5px);
}

.td_white_color {
    color: #fff;
}

.td_accent_bg {
    background: var(--primary-color);
}

.td_btn:hover .td_accent_bg {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(67, 19, 135, 0.3);
}


@media (max-width: 768px) {
    .td_hero {
        min-height: 500px;
        padding: 80px 0 60px !important;
    }
    
    .td_hero_content {
        margin-top: -10px;
    }

    .td_hero_title {
        font-size: 36px;
    }

    .td_hero_description {
        font-size: 16px;
        margin-bottom: 2rem;
    }

    .td_hero_btn_group {
        flex-direction: column;
        align-items: center;
    }

    .td_btn_in {
        width: 100%;
        justify-content: center;
        max-width: 280px;
    }
}

/* Footer Upgrade */
.pg-footer {
    font-family: var(--font-main);
    color: #fff;
    background: #01050f;
}

.footer {
    position: relative;
    overflow: hidden;
    padding: 150px 1.5rem 60px;
    background: radial-gradient(circle at top right, rgba(148, 49, 255, 0.35), transparent 55%),
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.15), transparent 50%),
        linear-gradient(180deg, #02030a 0%, #030712 60%, #060f1d 100%);
}

.footer-wave {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.footer-wave-svg {
    display: block;
    width: 100%;
    height: 110px;
}

.footer-wave-path {
    fill: #ffffff;
}

.footer-content {
    position: relative;
    z-index: 2;
    max-width: 1220px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    padding-top: 2rem;
}

.footer-content-column {
    min-height: 180px;
    position: relative;
}

.brand-column .footer-logo-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: #fff;
}

.footer-logo-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, #ba4dff, #6536ff);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.footer-logo-label {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.footer-logo-link p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    line-height: 1.6;
    max-width: 240px;
}

.footer-stats {
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.5rem;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.75);
}

.footer-menu-name {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    margin-bottom: 0.75rem;
    color: rgba(255, 255, 255, 0.85);
}

.footer-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
    line-height: 2;
}

.footer-menu-list li a {
    color: rgba(255, 255, 255, 0.75);
    font-size: 14px;
    transition: color 0.25s ease;
}

.footer-menu-list li a:hover {
    color: #ffffff;
}

.footer-call-to-action {
    margin-top: 1rem;
}

.footer-call-to-action-title {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 0.35rem;
    color: rgba(255, 255, 255, 0.9);
}

.footer-call-to-action-description {
    font-size: 16px;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.75);
}

.footer-call-to-action-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 30px;
    border-radius: 999px;
    background: linear-gradient(135deg, #ffb347, #ffcc33);
    color: #03030a;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-size: 12px;
    border: none;
    box-shadow: 0 15px 30px rgba(255, 177, 71, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.footer-call-to-action-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 35px rgba(255, 204, 51, 0.45);
}

.footer-call-to-action-link-wrapper {
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    align-items: center;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.75);
}

.footer-call-to-action-link {
    color: #ffffff;
    text-decoration: none;
}

.footer-social-links {
    position: relative;
    height: 54px;
    width: 236px;
    z-index: 10;
    margin: 1.5rem auto 0;
}

.footer-social-amoeba-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 236px;
    height: 54px;
    display: block;
    z-index: 1;
}

.footer-social-amoeba-path {
    fill: #027b9a;
}

.hidden-link-text {
    position: absolute;
    clip: rect(1px 1px 1px 1px);
    clip: rect(1px, 1px, 1px, 1px);
    -webkit-clip-path: inset(0px 0px 99.9% 99.9%);
    clip-path: inset(0px 0px 99.9% 99.9%);
    overflow: hidden;
    height: 1px;
    width: 1px;
    padding: 0;
    border: 0;
}

.footer-social-link {
    position: absolute;
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: 0;
    width: auto;
    height: auto;
    border-radius: 0;
    background: transparent;
    border: none;
    transition: transform 0.3s ease;
    z-index: 2;
    text-decoration: none;
    visibility: visible !important;
    opacity: 1 !important;
}

.footer-social-link:hover {
    background: transparent;
    transform: translateY(-2px);
}

.footer-social-link i {
    font-size: 20px !important;
    color: #fffff2 !important;
    line-height: 1 !important;
    transition: color 0.2s ease;
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: auto !important;
    height: auto !important;
    font-family: "Font Awesome 6 Brands", "Font Awesome 6 Free" !important;
    font-weight: 400 !important;
    font-style: normal !important;
    text-rendering: auto !important;
    -webkit-font-smoothing: antialiased !important;
}

.footer-social-link i::before {
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
}

.footer-social-link:hover i {
    color: #ffffff !important;
}

.footer-social-link.linkedin {
    left: 3px;
    top: 11px;
    width: 26px;
    height: 26px;
}

.footer-social-link.twitter {
    left: 62px;
    top: 3px;
    width: 28px;
    height: 28px;
}

.footer-social-link.youtube {
    left: 123px;
    top: 12px;
    width: 24px;
    height: 24px;
}

.footer-social-link.github {
    left: 172px;
    top: 7px;
    width: 34px;
    height: 34px;
}

@media (max-width: 768px) {
    .footer-social-links {
        margin: 1.5rem auto;
        width: 100%;
        height: auto;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 0.75rem;
    }

    .footer-social-amoeba-svg {
        display: none;
    }

    .footer-social-link {
        position: static;
        width: 36px;
        height: 36px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.08);
        border: 1px solid rgba(255, 255, 255, 0.12);
    }

    .footer-social-link i {
        font-size: 18px !important;
    }

    .footer-copyright {
        padding: 12px 15px;
    }

    .footer-copyright-text {
        font-size: 12px;
    }
}

.footer p,
.footer span,
.footer h2,
.footer h4,
.footer a {
    font-family: var(--font-main);
}

.footer-social-links {
    position: relative;
    height: 54px;
    width: 236px;
    z-index: 10;
    margin: 2rem auto;
}

.footer-social-amoeba-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 236px;
    height: 54px;
    display: block;
    z-index: 1;
    filter: drop-shadow(0 4px 12px rgba(255, 215, 0, 0.3));
}

.footer-social-amoeba-path {
    fill: url(#amoeba-gradient);
    transition: all 0.3s ease;
}

.footer-copyright {
    background: linear-gradient(135deg,
            rgba(2, 3, 10, 0.95) 0%,
            rgba(3, 7, 18, 0.98) 25%,
            rgba(6, 15, 29, 0.99) 50%,
            rgba(12, 23, 45, 0.98) 75%,
            rgba(20, 30, 60, 0.95) 100%);
    background: linear-gradient(135deg,
            rgba(2, 3, 10, 0.95) 0%,
            rgba(3, 7, 18, 0.98) 25%,
            rgba(6, 15, 29, 0.99) 50%,
            rgba(12, 23, 45, 0.98) 75%,
            rgba(20, 30, 60, 0.95) 100%),
        radial-gradient(circle at 20% 50%, rgba(255, 215, 0, 0.08), transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(138, 43, 226, 0.06), transparent 50%);
    border-top: 1px solid rgba(255, 215, 0, 0.1);
    color: #fff;
    padding: 18px 30px;
    text-align: center;
    position: relative;
    margin-top: 2rem;
    backdrop-filter: blur(10px);
}

.footer-copyright-wrapper {
    margin-left: auto;
    margin-right: auto;
    max-width: 1200px;
}

.footer-copyright-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.6;
    margin-bottom: 0;
    margin-top: 0;
    letter-spacing: 0.3px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    font-family: var(--font-main);
}

.footer-copyright-link {
    color: rgba(255, 215, 0, 0.9);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 600;
    position: relative;
}

.footer-copyright-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, #FFD700, #FFA500);
    transition: width 0.3s ease;
}

.footer-copyright-link:hover {
    color: #FFD700;
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.5);
}

.footer-copyright-link:hover::after {
    width: 100%;
}

@media (max-width: 768px) {
    .footer {
        padding: 130px 1rem 40px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 0.25rem;
        text-align: center;
    }

    .footer-copyright {
        padding: 15px 20px;
        backdrop-filter: blur(8px);
    }

    .footer-copyright-text {
        font-size: 12px;
        letter-spacing: 0.2px;
    }
}

@media (min-width: 768px) {
    .footer {
        padding: 120px 2.5rem 60px;
    }
}

/* ========================================
   Professional Enhancements & Animations
   ======================================== */

/* Smooth Scroll Behavior */
html {
    scroll-behavior: smooth;
}

/* Enhanced Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

/* Professional Card Animations */
.sector-card,
.service-card,
.registration-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.sector-card:hover,
.service-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow:
        0 25px 60px rgba(67, 19, 135, 0.15),
        0 12px 30px rgba(212, 0, 246, 0.12),
        0 0 50px rgba(67, 19, 135, 0.08);
}

/* Gradient Text Animation */
.gradient-text {
    background: linear-gradient(135deg,
            var(--primary-color) 0%,
            var(--secondary-color) 50%,
            var(--accent-color) 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 4s ease infinite;
}

@keyframes gradientShift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

/* Floating Animation */
@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

.float-animation {
    animation: float 6s ease-in-out infinite;
}

/* Pulse Glow Effect */
@keyframes pulseGlow {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(67, 19, 135, 0.3);
    }

    50% {
        box-shadow: 0 0 40px rgba(212, 0, 246, 0.5);
    }
}

.pulse-glow {
    animation: pulseGlow 3s ease-in-out infinite;
}

/* Shimmer Effect */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }

    100% {
        background-position: 1000px 0;
    }
}

.shimmer {
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(255, 255, 255, 0.3) 50%,
            transparent 100%);
    background-size: 1000px 100%;
    animation: shimmer 3s infinite;
}

/* Scale In Animation */
@keyframes scaleIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.scale-in {
    animation: scaleIn 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Slide In from Right */
@keyframes slideInRight {
    from {
        transform: translateX(50px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Slide In from Left */
@keyframes slideInLeft {
    from {
        transform: translateX(-50px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Fade In Up Enhanced */
@keyframes fadeInUpEnhanced {
    from {
        transform: translateY(40px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.fade-in-up-enhanced {
    animation: fadeInUpEnhanced 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Rotate Animation */
@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.rotate {
    animation: rotate 20s linear infinite;
}

/* Bounce Animation */
@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.bounce-animation {
    animation: bounce 2s ease-in-out infinite;
}

/* Enhanced Button Hover Effects */
.btn,
.sector-cta-btn,
.service-cta-btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn::before,
.sector-cta-btn::before,
.service-cta-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before,
.sector-cta-btn:hover::before,
.service-cta-btn:hover::before {
    width: 300px;
    height: 300px;
}

/* Staggered Animation for Cards */
.sector-card:nth-child(1) {
    animation-delay: 0.1s;
}

.sector-card:nth-child(2) {
    animation-delay: 0.2s;
}

.sector-card:nth-child(3) {
    animation-delay: 0.3s;
}

.sector-card:nth-child(4) {
    animation-delay: 0.4s;
}

.sector-card:nth-child(5) {
    animation-delay: 0.5s;
}

.sector-card:nth-child(6) {
    animation-delay: 0.6s;
}

.sector-card:nth-child(7) {
    animation-delay: 0.7s;
}

.service-card:nth-child(1) {
    animation-delay: 0.1s;
}

.service-card:nth-child(2) {
    animation-delay: 0.2s;
}

.service-card:nth-child(3) {
    animation-delay: 0.3s;
}

.service-card:nth-child(4) {
    animation-delay: 0.4s;
}

.service-card:nth-child(5) {
    animation-delay: 0.5s;
}

.service-card:nth-child(6) {
    animation-delay: 0.6s;
}

.service-card:nth-child(7) {
    animation-delay: 0.7s;
}

.service-card:nth-child(8) {
    animation-delay: 0.8s;
}

/* ===== USER PROFILE DROPDOWN ===== */
.user-profile-dropdown {
    position: relative;
    display: inline-block;
}

.user-profile-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.user-profile-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.user-profile-btn:hover .user-avatar {
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.05);
}

.avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-info-dropdown {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
}

.user-info-dropdown .user-name {
    font-size: 14px;
    font-weight: 600;
    color: white;
    line-height: 1.2;
}

.dropdown-arrow {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

.user-profile-btn.active .dropdown-arrow {
    transform: rotate(180deg);
    color: white;
}

/* Dropdown Menu */
.user-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 280px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(0, 0, 0, 0.05);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    margin-top: 8px;
    overflow: hidden;
}

.user-dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

/* Dropdown Header */
.dropdown-header {
    padding: 20px;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 16px;
}

.user-avatar-large {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    overflow: hidden;
    border: 3px solid rgba(67, 19, 135, 0.1);
    flex-shrink: 0;
}

.user-avatar-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-details {
    flex: 1;
}

.user-full-name {
    font-size: 16px;
    font-weight: 700;
    color: #1a202c;
    margin: 0 0 4px 0;
    line-height: 1.3;
}

.user-email {
    font-size: 13px;
    color: #64748b;
    margin: 0 0 6px 0;
    line-height: 1.3;
}

.user-role {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    color: #7c3aed;
    background: rgba(124, 58, 237, 0.1);
    padding: 4px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Dropdown Items */
.dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    color: #374151;
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 14px;
    font-weight: 500;
    position: relative;
}

.dropdown-item:hover {
    background: rgba(67, 19, 135, 0.05);
    color: #7c3aed;
    padding-left: 24px;
}

.dropdown-item i {
    width: 18px;
    text-align: center;
    font-size: 16px;
    color: #6b7280;
    transition: all 0.2s ease;
}

.dropdown-item:hover i {
    color: #7c3aed;
    transform: scale(1.1);
}

.dropdown-item.logout-item {
    color: #dc2626;
    font-weight: 600;
}

.dropdown-item.logout-item:hover {
    background: rgba(220, 38, 38, 0.05);
    color: #dc2626;
}

.dropdown-item.logout-item i {
    color: #dc2626;
}

/* Dropdown Divider */
.dropdown-divider {
    height: 1px;
    background: rgba(0, 0, 0, 0.05);
    margin: 8px 0;
}

/* Notification Badge in Dropdown */
.dropdown-item .notification-badge {
    margin-left: auto;
    background: #ef4444;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 11px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 2s infinite;
}

/* Theme Toggle */
.theme-toggle {
    margin-left: auto;
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
    cursor: pointer;
}

.theme-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #ccc;
    border-radius: 24px;
    transition: all 0.3s ease;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background: white;
    border-radius: 50%;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

input:checked+.toggle-slider {
    background: #7c3aed;
}

input:checked+.toggle-slider:before {
    transform: translateX(20px);
}

/* ===== ENHANCED ANIMATIONS ===== */

/* Floating Animation for Elements */
@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-6px);
    }
}

.float-animation {
    animation: float 3s ease-in-out infinite;
}

/* Pulse Animation */
@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
}

.pulse-animation {
    animation: pulse 2s infinite;
}

/* Slide In Animation */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-in-up {
    animation: slideInUp 0.6s ease-out forwards;
}

/* Bounce Animation */
@keyframes bounce {

    0%,
    20%,
    53%,
    80%,
    100% {
        transform: translate3d(0, 0, 0);
    }

    40%,
    43% {
        transform: translate3d(0, -8px, 0);
    }

    70% {
        transform: translate3d(0, -4px, 0);
    }

    90% {
        transform: translate3d(0, -2px, 0);
    }
}

.bounce-animation {
    animation: bounce 1s ease;
}

/* Enhanced Button Effects */
.btn-modern {
    position: relative;
    overflow: hidden;
    transform: translateZ(0);
}

.btn-modern::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-modern:hover::before {
    width: 300px;
    height: 300px;
}

/* Card Hover Effects */
.card-enhanced {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateZ(0);
}

.card-enhanced:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Gradient Text Animation */
@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.gradient-text {
    background: linear-gradient(45deg, #667eea, #764ba2, #f093fb, #f5576c);
    background-size: 400% 400%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease infinite;
}

/* Loading Spinner */
.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-left-color: #7c3aed;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Enhanced Notification Badge */
.notification-badge-modern {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: linear-gradient(45deg, #ff6b6b, #ee5a24);
    color: white;
    border-radius: 50%;
    font-size: 11px;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(255, 107, 107, 0.3);
    animation: pulse 2s infinite;
}

/* Backdrop Blur Effect */
.backdrop-blur {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Glass Morphism Effect */
.glass-effect {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

/* Enhanced Focus States */
.form-control:focus,
.form-select:focus {
    border-color: #7c3aed;
    box-shadow: 0 0 0 0.2rem rgba(124, 58, 237, 0.25);
    transform: translateY(-2px);
    transition: all 0.3s ease;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Enhanced Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, #7c3aed, #a855f7);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(45deg, #6d28d9, #9333ea);
}

/* ===== DARK THEME ===== */
.dark-theme {
    --bg-color: #0f0f0f;
    --bg-secondary: #1a1a1a;
    --bg-tertiary: #2a2a2a;
    --text-color: #e5e5e5;
    --text-muted: #a3a3a3;
    --border-color: #404040;
    --shadow-color: rgba(0, 0, 0, 0.5);
    --card-bg: #1a1a1a;
    --header-bg: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
}

.dark-theme body {
    background: var(--bg-color);
    color: var(--text-color);
}

.dark-theme .card,
.dark-theme .section-card,
.dark-theme .stat-card,
.dark-theme .service-card,
.dark-theme .sector-card {
    background: var(--card-bg);
    border-color: var(--border-color);
    color: var(--text-color);
}

.dark-theme .card h3,
.dark-theme .card h4,
.dark-theme .card p {
    color: var(--text-color);
}

.dark-theme .form-control,
.dark-theme .form-select {
    background: var(--bg-secondary);
    border-color: var(--border-color);
    color: var(--text-color);
}

.dark-theme .form-control:focus,
.dark-theme .form-select:focus {
    background: var(--bg-tertiary);
    border-color: #7c3aed;
    color: var(--text-color);
}

.dark-theme .btn-outline-primary {
    border-color: #7c3aed;
    color: #7c3aed;
}

.dark-theme .btn-outline-primary:hover {
    background: #7c3aed;
    border-color: #7c3aed;
}

.dark-theme .navbar {
    background: var(--header-bg);
    border-bottom-color: var(--border-color);
}

.dark-theme .user-dropdown-menu {
    background: var(--bg-secondary);
    border-color: var(--border-color);
}

.dark-theme .dropdown-item {
    color: var(--text-color);
}

.dark-theme .dropdown-item:hover {
    background: var(--bg-tertiary);
    color: #7c3aed;
}

.dark-theme .dropdown-header {
    background: var(--bg-tertiary);
    border-bottom-color: var(--border-color);
}

.dark-theme .dropdown-divider {
    background: var(--border-color);
}

.dark-theme .user-full-name,
.dark-theme .dropdown-user-name {
    color: var(--text-color);
}

.dark-theme .user-email,
.dark-theme .dropdown-user-email {
    color: var(--text-muted);
}

.dark-theme ::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

.dark-theme .toast-notification {
    background: var(--bg-secondary);
    color: var(--text-color);
    border-left-color: #7c3aed;
}

.dark-theme .modal-content {
    background: var(--bg-secondary);
    color: var(--text-color);
    border-color: var(--border-color);
}

/* Enhanced Dark Theme Transitions */
.dark-theme * {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

/* ===== RESPONSIVE ENHANCEMENTS ===== */
@media (max-width: 768px) {
    .user-dropdown-menu {
        min-width: 250px;
        right: -20px;
    }

    .toast-notification {
        left: 20px;
        right: 20px;
        min-width: auto;
    }

    .user-profile-btn {
        padding: 6px 10px;
    }

    .user-avatar {
        width: 32px;
        height: 32px;
    }
}

/* ===== ACCESSIBILITY IMPROVEMENTS ===== */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus visible for keyboard navigation */
.btn:focus-visible,
.form-control:focus-visible,
.dropdown-item:focus-visible {
    outline: 2px solid #7c3aed;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .btn {
        border: 2px solid currentColor;
    }

    .card {
        border: 2px solid var(--border-color);
    }
}

/* ===== ADVANCED ANIMATIONS ===== */

/* Parallax Effect for Hero Background */
.hero-parallax {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Morphing Shapes Animation */
@keyframes morph {

    0%,
    100% {
        border-radius: 40% 60% 70% 30% / 40% 40% 60% 50%;
        transform: translate3d(0, 0, 0) rotateZ(0.01deg);
    }

    34% {
        border-radius: 70% 30% 50% 50% / 30% 40% 60% 70%;
        transform: translate3d(5px, -10px, 0) rotateZ(0.01deg);
    }

    67% {
        border-radius: 100% 60% 60% 100% / 100% 100% 60% 60%;
        transform: translate3d(-5px, 10px, 0) rotateZ(0.01deg);
    }
}

.morph-animation {
    animation: morph 6s ease-in-out infinite;
}

/* Typing Animation */
@keyframes typing {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}

@keyframes blink-caret {

    from,
    to {
        border-color: transparent;
    }

    50% {
        border-color: currentColor;
    }
}

.typing-animation {
    overflow: hidden;
    border-right: 2px solid currentColor;
    white-space: nowrap;
    animation: typing 3.5s steps(40, end), blink-caret 0.75s step-end infinite;
}

/* Glow Effect */
.glow-effect {
    box-shadow: 0 0 20px rgba(124, 58, 237, 0.3);
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        box-shadow: 0 0 20px rgba(124, 58, 237, 0.3);
    }

    to {
        box-shadow: 0 0 30px rgba(124, 58, 237, 0.6);
    }
}

/* Particle Effect */
.particle-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(124, 58, 237, 0.6);
    border-radius: 50%;
    animation: particle-float 10s linear infinite;
}

@keyframes particle-float {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

/* Magnetic Effect */
.magnetic-element {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.magnetic-element:hover {
    transform: scale(1.05) translateZ(0);
}

/* 3D Card Effect */
.card-3d {
    transform-style: preserve-3d;
    transition: transform 0.3s ease;
}

.card-3d:hover {
    transform: rotateX(5deg) rotateY(5deg) translateZ(20px);
}

/* Advanced Button Effects */
.btn-advanced {
    position: relative;
    overflow: hidden;
    background: linear-gradient(45deg, #667eea 0%, #764ba2 100%);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-advanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s;
}

.btn-advanced:hover::before {
    left: 100%;
}

.btn-advanced:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.4);
}

/* Loading Skeleton */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* Enhanced Modal Effects */
.modal-advanced {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.modal-content-advanced {
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
}

/* Notification Badge Animation */
.notification-badge-animated {
    animation: notification-pulse 2s infinite;
}

@keyframes notification-pulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
    }

    50% {
        transform: scale(1.1);
        box-shadow: 0 4px 16px rgba(239, 68, 68, 0.5);
    }
}

/* Progress Bar Animation */
.progress-animated {
    position: relative;
    overflow: hidden;
}

.progress-animated::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: progress-shine 2s infinite;
}

@keyframes progress-shine {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

/* Interactive Elements */
.interactive-element {
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.interactive-element:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
}

.interactive-element:active {
    transform: translateY(0);
    transition: transform 0.1s ease;
}

/* Enhanced Focus States */
.focus-enhanced:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.3);
    transform: scale(1.02);
    transition: all 0.2s ease;
}

/* Enhanced Image Hover Effect */
img {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover img,
.sector-card:hover img,
.service-card:hover img {
    transform: scale(1.05);
}

/* Loading Skeleton Animation */
@keyframes skeleton {
    0% {
        background-position: -200px 0;
    }

    100% {
        background-position: calc(200px + 100%) 0;
    }
}

.skeleton {
    background: linear-gradient(90deg,
            #f0f0f0 0px,
            #e0e0e0 40px,
            #f0f0f0 80px);
    background-size: 200px 100%;
    animation: skeleton 1.5s infinite;
}

/* Parallax Effect */
.parallax {
    transition: transform 0.3s ease-out;
}

/* Enhanced Scrollbar */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: rgba(67, 19, 135, 0.05);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg,
            var(--primary-color),
            var(--secondary-color));
    border-radius: 10px;
    transition: background 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg,
            var(--secondary-color),
            var(--accent-color));
}

/* Focus Visible Enhancement */
*:focus-visible {
    outline: 2px solid var(--secondary-color);
    outline-offset: 4px;
    border-radius: 4px;
}

/* Enhanced Navbar Transitions */
.nav-link {
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    right: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Icon Animation */
.icon-animate {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.icon-animate:hover {
    transform: scale(1.2) rotate(5deg);
}

/* Text Gradient on Hover */
.text-gradient-hover {
    transition: all 0.3s ease;
}

.text-gradient-hover:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Enhanced Shadow on Hover */
.shadow-hover {
    transition: box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.shadow-hover:hover {
    box-shadow:
        0 20px 60px rgba(67, 19, 135, 0.2),
        0 10px 30px rgba(212, 0, 246, 0.15);
}

/* Glass Morphism Effect */
.glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Enhanced Section Transitions */
section {
    position: relative;
    transition: opacity 0.6s ease;
}

/* Cursor Pointer Enhancement */
a,
button,
.clickable {
    cursor: pointer;
    transition: all 0.2s ease;
}

/* Enhanced Form Inputs */
input,
textarea,
select {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

input:focus,
textarea:focus,
select:focus {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(67, 19, 135, 0.15);
}

/* Professional Loading Animation */
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.spinner {
    border: 3px solid rgba(67, 19, 135, 0.1);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Top Navigation Bar - Enhanced */
.top-navigation {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-bottom: 1px solid rgba(67, 19, 135, 0.1);
    box-shadow: 0 2px 10px rgba(67, 19, 135, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0.75rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.nav-brand .brand-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--text-color);
    transition: opacity 0.3s ease;
}

.nav-brand .brand-link:hover {
    opacity: 0.8;
}

.nav-brand .logo-icon {
    width: 32px;
    height: 32px;
    transition: transform 0.3s ease;
}

.nav-brand .logo-icon:hover {
    transform: scale(1.05);
}

.nav-brand .logo-text {
    font-size: 20px;
    font-weight: 700;
    font-family: var(--font-main);
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-menu .nav-link {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-menu .nav-link:hover {
    background: rgba(67, 19, 135, 0.05);
    color: var(--primary-color);
    transform: translateY(-1px);
}

.nav-menu .nav-link.active {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 4px 12px rgba(67, 19, 135, 0.15);
}

.nav-menu .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 2px;
    background: white;
    border-radius: 1px;
}

.nav-user {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

/* Mobile responsive for navigation */
@media (max-width: 991px) {
    .nav-container {
        padding: 0 1rem;
    }

    .nav-menu {
        gap: 1.5rem;
    }

    .nav-menu .nav-link {
        padding: 0.4rem 0.8rem;
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
        padding: 0 1rem;
    }

    .nav-menu {
        flex-wrap: wrap;
        gap: 1rem;
        justify-content: center;
    }

    .nav-user {
        gap: 1rem;
        order: -1;
    }

    .nav-brand .logo-text {
        font-size: 18px;
    }
}

@media (max-width: 576px) {
    .nav-menu {
        gap: 0.75rem;
    }

    .nav-menu .nav-link {
        padding: 0.375rem 0.75rem;
        font-size: 13px;
    }

    .nav-brand .logo-text {
        font-size: 16px;
    }
}

/* Print Styles */
@media print {
    .no-print {
        display: none !important;
    }
}

/* ===== SMART FEATURES CSS ===== */

/* Reading Progress Bar */
.reading-progress-bar {
    position: fixed;
    top: 0;
    right: 0;
    width: 0%;
    height: 4px;
    background: linear-gradient(90deg, #431387, #D400F6);
    z-index: 10000;
    transition: width 0.1s ease;
    box-shadow: 0 2px 10px rgba(67, 19, 135, 0.5);
}

/* Smart Notification Panel */
.smart-notification-panel {
    position: fixed;
    top: 100px;
    left: 20px;
    z-index: 10000;
    max-width: 350px;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.smart-notification {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 16px 24px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    gap: 15px;
    animation: slideInRight 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transition: var(--transition);
}

.smart-notification.success {
    border-right: 5px solid var(--success-color);
}

.smart-notification.error {
    border-right: 5px solid var(--error-color);
}

.smart-notification.info {
    border-right: 5px solid var(--primary-color);
}

.smart-notification.fade-out {
    animation: slideOutRight 0.3s ease forwards;
}

@keyframes slideInRight {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    to {
        transform: translateX(-100%);
        opacity: 0;
    }
}

.notification-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.notification-icon i,
.notification-icon .fas {
    font-family: "Font Awesome 6 Free", "Font Awesome 6 Pro" !important;
    font-weight: 900 !important;
    font-style: normal !important;
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    text-rendering: auto !important;
    -webkit-font-smoothing: antialiased !important;
    font-size: 1.5rem !important;
}

.notification-close i,
.notification-close .fas {
    font-family: "Font Awesome 6 Free", "Font Awesome 6 Pro" !important;
    font-weight: 900 !important;
    font-style: normal !important;
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.smart-notification.success .notification-icon {
    color: #10b981;
}

.smart-notification.error .notification-icon {
    color: #ef4444;
}

.smart-notification.info .notification-icon {
    color: #3b82f6;
}

.notification-content {
    flex: 1;
}

.notification-content p {
    margin: 0;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.95rem;
}

.notification-close {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0.25rem;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.notification-close:hover {
    color: var(--text-color);
}

/* Floating Action Button */
.floating-actions {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 9999;
}

.fab-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, #431387, #D400F6);
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(67, 19, 135, 0.4);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.fab-btn i,
.fab-btn .fas {
    font-family: "Font Awesome 6 Free", "Font Awesome 6 Pro" !important;
    font-weight: 900 !important;
    font-style: normal !important;
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    text-rendering: auto !important;
    -webkit-font-smoothing: antialiased !important;
    font-size: 1.5rem !important;
    color: white !important;
}

.fab-main {
    position: relative;
    z-index: 2;
}

.fab-main:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(67, 19, 135, 0.6);
}

.fab-main.active {
    transform: rotate(45deg);
}

.fab-menu {
    position: absolute;
    bottom: 70px;
    left: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.fab-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.fab-item {
    width: 48px;
    height: 48px;
    font-size: 1.2rem;
    background: white;
    color: #431387 !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.fab-item * {
    color: #431387 !important;
}

.fab-item i,
.fab-item .fas,
.fab-menu .fab-item i,
.fab-menu .fab-item .fas {
    font-family: "Font Awesome 6 Free", "Font Awesome 6 Pro" !important;
    font-weight: 900 !important;
    font-style: normal !important;
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    text-rendering: auto !important;
    -webkit-font-smoothing: antialiased !important;
    font-size: 1.2rem !important;
    color: #431387 !important;
}

.fab-item:hover {
    transform: scale(1.1);
    background: var(--primary-color);
    color: white;
}

.fab-item:hover i {
    color: white !important;
}

/* Quick Search Modal */
.quick-search-modal {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(12px);
    z-index: 100001;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.quick-search-modal.active {
    opacity: 1;
    visibility: visible;
}

.search-modal-content {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.98));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 28px;
    width: 95%;
    max-width: 900px;
    max-height: 85vh;
    padding: 0;
    transform: translateY(30px) scale(0.95);
    transition: var(--transition);
    box-shadow:
        0 50px 100px -20px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(67, 19, 135, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.quick-search-modal.active .search-modal-content {
    transform: translateY(0) scale(1);
}

.search-modal-header {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid rgba(67, 19, 135, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, rgba(67, 19, 135, 0.02), rgba(212, 0, 246, 0.02));
    flex-shrink: 0;
}

.search-modal-header h3 {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.search-modal-header h3::before {
    content: '';
    width: 4px;
    height: 24px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.search-close {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: rgba(67, 19, 135, 0.1);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.search-close:hover {
    background: var(--primary-color);
    color: white;
    transform: rotate(90deg) scale(1.1);
}

.search-modal-body {
    padding: 1.5rem 2rem 2rem;
    overflow-y: auto;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.search-input-icon {
    position: absolute;
    right: 1.25rem;
    color: var(--text-muted);
    font-size: 1.1rem;
    pointer-events: none;
    z-index: 2;
}

.search-ai-btn {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    border: none;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(67, 19, 135, 0.25);
}

.search-ai-btn:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 25px rgba(67, 19, 135, 0.4);
}

.search-ai-btn i {
    font-size: 1.2rem;
    animation: pulse 2s infinite;
}

.smart-search-input {
    flex: 1;
    padding: 1rem 1.25rem 1rem 3.5rem;
    border-radius: 16px;
    border: 2px solid rgba(67, 19, 135, 0.15);
    font-size: 1rem;
    font-family: var(--font-main);
    transition: all 0.3s ease;
    background: white;
    color: var(--text-dark);
}

.smart-search-input:focus {
    outline: none;
    border-color: var(--primary-color);
    background: white;
    box-shadow: 0 0 0 4px rgba(67, 19, 135, 0.1), 0 8px 25px rgba(67, 19, 135, 0.15);
}

.search-suggestions {
    flex-shrink: 0;
    padding-top: 1rem;
    border-top: 1px solid rgba(67, 19, 135, 0.1);
}

.suggestion-category h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.suggestion-category h4 i {
    color: var(--secondary-color);
    font-size: 1rem;
}

.suggestion-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.suggestion-tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(67, 19, 135, 0.05);
    color: var(--text-dark);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(67, 19, 135, 0.1);
    transition: var(--transition);
    font-weight: 500;
    font-size: 0.9rem;
}

.suggestion-tag:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

/* Removed duplicate search-modal-header - using the enhanced version above */
color: var(--primary-color);
margin: 0;
font-size: 1.5rem;
}

.search-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0.5rem;
    transition: color 0.2s;
}

.search-close i,
.search-close .fas {
    font-family: "Font Awesome 6 Free", "Font Awesome 6 Pro" !important;
    font-weight: 900 !important;
    font-style: normal !important;
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    text-rendering: auto !important;
    -webkit-font-smoothing: antialiased !important;
    font-size: 1.5rem !important;
}

.search-close:hover {
    color: var(--text-color);
}

.smart-search-input {
    width: 100%;
    padding: 1rem 1.5rem;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 1.1rem;
    font-family: var(--font-main);
    transition: all 0.3s ease;
}

.smart-search-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(67, 19, 135, 0.1);
}

.suggestion-category {
    margin-top: 1.5rem;
}

.suggestion-category h4 {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.suggestion-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.suggestion-tag {
    padding: 0.5rem 1rem;
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 0.9rem;
    color: var(--text-color);
    cursor: pointer;
    transition: all 0.2s ease;
}

.suggestion-tag:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

/* Live Statistics Section */
.live-stats-section {
    position: relative;
    overflow: hidden;
}

.stats-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.1;
    background-image:
        radial-gradient(circle at 20% 50%, white 1px, transparent 1px),
        radial-gradient(circle at 80% 80%, white 1px, transparent 1px),
        radial-gradient(circle at 40% 20%, white 1px, transparent 1px);
    background-size: 100px 100px, 150px 150px, 200px 200px;
    animation: float 20s infinite;
}

.live-stat-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    height: 100%;
}

.live-stat-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.stat-icon-wrapper {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
}

.stat-icon-wrapper i,
.stat-icon-wrapper .fas {
    font-family: "Font Awesome 6 Free", "Font Awesome 6 Pro" !important;
    font-weight: 900 !important;
    font-style: normal !important;
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    text-rendering: auto !important;
    -webkit-font-smoothing: antialiased !important;
    font-size: 2rem !important;
    color: white !important;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
    font-family: var(--font-main);
}

.stat-label {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.75rem;
}

.stat-change {
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
}

.stat-change.positive {
    color: #10b981;
}

.stat-change.negative {
    color: #fbbf24;
}

.stats-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    color: white;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.stats-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.stats-subtitle {
    font-size: 1.1rem;
}

/* Contact Modal */
.contact-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 1rem;
}

.contact-modal.active {
    opacity: 1;
    visibility: visible;
}

.contact-modal-content {
    background: white;
    border-radius: 20px;
    width: 90%;
    max-width: 700px;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.contact-modal.active .contact-modal-content {
    transform: scale(1);
}

.contact-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    background: white;
    border-radius: 20px 20px 0 0;
    z-index: 1;
}

.contact-modal-header h3 {
    color: var(--primary-color);
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
}

.contact-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0.5rem;
    transition: color 0.2s;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.contact-close:hover {
    color: var(--text-color);
    background: #f8fafc;
}

.contact-close i {
    font-family: "Font Awesome 6 Free", "Font Awesome 6 Pro" !important;
    font-weight: 900 !important;
    font-style: normal !important;
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.contact-modal-body {
    padding: 2rem;
}

.contact-intro {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 1rem;
}

.contact-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.contact-option-card {
    background: #f8fafc;
    border: 2px solid var(--border-color);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact-option-card:hover {
    background: white;
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(67, 19, 135, 0.15);
}

.contact-option-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #431387, #D400F6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    color: white;
}

.contact-option-icon i {
    font-family: "Font Awesome 6 Free", "Font Awesome 6 Pro" !important;
    font-weight: 900 !important;
    font-style: normal !important;
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    color: white !important;
}

.contact-option-card h4 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.contact-option-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.contact-action-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.contact-action-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(67, 19, 135, 0.3);
}

.contact-form-section {
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
}

.contact-form-section h4 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    font-weight: 700;
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.contact-form .form-group label {
    display: block;
    color: var(--text-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.contact-form .form-control {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 1rem;
    font-family: var(--font-main);
    transition: all 0.3s ease;
}

.contact-form .form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(67, 19, 135, 0.1);
}

.contact-form textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.contact-submit-btn {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #431387, #D400F6);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-main);
}

.contact-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(67, 19, 135, 0.4);
}

.contact-submit-btn i {
    font-family: "Font Awesome 6 Free", "Font Awesome 6 Pro" !important;
    font-weight: 900 !important;
    font-style: normal !important;
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Responsive */
@media (max-width: 768px) {
    .floating-actions {
        bottom: 20px;
        left: 20px;
    }

    .fab-btn {
        width: 48px;
        height: 48px;
        font-size: 1.2rem;
    }

    .fab-item {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .smart-notification-panel {
        left: 10px;
        right: 10px;
        max-width: none;
    }

    .search-modal-content {
        width: 95%;
        padding: 1.5rem;
    }

    .contact-modal-content {
        width: 95%;
        max-height: 95vh;
    }

    .contact-modal-body {
        padding: 1.5rem;
    }

    .contact-options {
        grid-template-columns: 1fr;
    }

    .contact-form .form-row {
        grid-template-columns: 1fr;
    }
}

/* AI Chatbot Modal */
.chatbot-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 10002;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 1rem;
}

.chatbot-modal.active {
    opacity: 1;
    visibility: visible;
}

.chatbot-modal-content {
    background: white;
    border-radius: 20px;
    width: 90%;
    max-width: 450px;
    height: 80vh;
    max-height: 700px;
    display: flex;
    flex-direction: column;
    transform: scale(0.9);
    transition: transform 0.3s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.chatbot-modal.active .chatbot-modal-content {
    transform: scale(1);
}

.chatbot-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
    background: linear-gradient(135deg, #431387, #D400F6);
    border-radius: 20px 20px 0 0;
    color: white;
}

.chatbot-header-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.chatbot-avatar {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.chatbot-avatar i {
    font-family: "Font Awesome 6 Free", "Font Awesome 6 Pro" !important;
    font-weight: 900 !important;
    font-style: normal !important;
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    color: white !important;
}

.chatbot-header h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
}

.chatbot-status {
    font-size: 0.85rem;
    opacity: 0.9;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.25rem;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    display: inline-block;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.chatbot-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.5rem;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s;
}

.chatbot-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.chatbot-close i {
    font-family: "Font Awesome 6 Free", "Font Awesome 6 Pro" !important;
    font-weight: 900 !important;
    font-style: normal !important;
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.chatbot-body {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
    background: #f8fafc;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Welcome Guide Styles */
.chatbot-welcome-guide {
    animation: fadeInUp 0.5s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.welcome-guide-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid rgba(67, 19, 135, 0.1);
}

.welcome-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(67, 19, 135, 0.2);
    animation: pulse 2s infinite;
}

.welcome-icon i {
    font-size: 2rem;
    color: white;
}

.welcome-guide-header h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.welcome-guide-header p {
    color: var(--text-muted);
    font-size: 1rem;
}

.welcome-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.welcome-option-card {
    background: white;
    border: 2px solid rgba(67, 19, 135, 0.1);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

.welcome-option-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease;
}

.welcome-option-card:hover::before {
    transform: scaleX(1);
}

.welcome-option-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(67, 19, 135, 0.15);
    border-color: var(--primary-color);
}

.option-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, rgba(67, 19, 135, 0.1), rgba(212, 0, 246, 0.1));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.welcome-option-card:hover .option-icon {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    transform: scale(1.1) rotate(5deg);
}

.option-icon i {
    font-size: 1.75rem;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

.welcome-option-card:hover .option-icon i {
    color: white;
}

.welcome-option-card h5 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.welcome-option-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
    line-height: 1.5;
}

.option-badge {
    display: inline-block;
    padding: 0.375rem 0.875rem;
    background: linear-gradient(135deg, rgba(67, 19, 135, 0.1), rgba(212, 0, 246, 0.1));
    color: var(--primary-color);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.welcome-skip {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(67, 19, 135, 0.1);
}

.skip-guide-btn {
    background: transparent;
    border: 1px solid rgba(67, 19, 135, 0.2);
    color: var(--text-muted);
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.skip-guide-btn:hover {
    background: rgba(67, 19, 135, 0.05);
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateX(-4px);
}

.chat-messages-container {
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.chat-action-button {
    margin-top: 1rem;
    padding: 1rem;
    text-align: center;
    animation: slideInUp 0.5s ease;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.chat-action-button .btn {
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.chat-action-button .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(67, 19, 135, 0.25);
}

.chat-message {
    display: flex;
    gap: 0.75rem;
    animation: slideInMessage 0.3s ease;
}

@keyframes slideInMessage {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.user-message {
    flex-direction: row-reverse;
}

.message-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.9rem;
}

.bot-message .message-avatar {
    background: linear-gradient(135deg, #431387, #D400F6);
    color: white;
}

.user-message .message-avatar {
    background: #e2e8f0;
    color: var(--primary-color);
}

.message-avatar i {
    font-family: "Font Awesome 6 Free", "Font Awesome 6 Pro" !important;
    font-weight: 900 !important;
    font-style: normal !important;
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.message-content {
    max-width: 75%;
    background: white;
    padding: 0.75rem 1rem;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.user-message .message-content {
    background: linear-gradient(135deg, #431387, #D400F6);
    color: white;
}

.message-content p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
}

.message-time {
    display: block;
    font-size: 0.75rem;
    opacity: 0.6;
    margin-top: 0.5rem;
}

.typing-indicator {
    opacity: 0.7;
}

.typing-dots {
    display: flex;
    gap: 0.25rem;
    padding: 0.5rem 0;
}

.typing-dots span {
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
    animation: typing 1.4s infinite;
}

.typing-dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-dots span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing {

    0%,
    60%,
    100% {
        transform: translateY(0);
        opacity: 0.7;
    }

    30% {
        transform: translateY(-10px);
        opacity: 1;
    }
}

.quick-questions {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.quick-questions-title {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.quick-question-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.quick-question-tag {
    padding: 0.5rem 0.875rem;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--text-color);
    cursor: pointer;
    transition: all 0.2s ease;
}

.quick-question-tag:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.chatbot-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--border-color);
    background: white;
    border-radius: 0 0 20px 20px;
}

.chatbot-input-wrapper {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.chatbot-input {
    flex: 1;
}

/* ============================================
   FATEL UI ENHANCEMENTS - PROFESSIONAL & LUXURY
   ============================================ */

/* Typography & Spacing */
.fatel-enhanced-text {
    font-family: var(--font-body) !important;
}

.fatel-enhanced-heading {
    font-family: var(--font-heading) !important;
}

.section-padding {
    padding: 100px 0;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* --- Smart Search Box (High-End Glassmorphism) --- */
.hero-search-wrapper {
    max-width: 720px;
    width: 95%;
    margin: 0 auto 60px;
    position: relative;
    z-index: 10;
}

.hero-smart-search-box {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    padding: 10px;
    border-radius: 24px;
    box-shadow: var(--shadow-luxury);
    display: flex;
    align-items: center;
    gap: 15px;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.hero-smart-search-box:hover {
    transform: translateY(-5px) scale(1.01);
    box-shadow: 0 30px 60px -12px rgba(67, 19, 135, 0.25);
}

.hero-smart-search-box:focus-within {
    border-color: var(--secondary-color);
    background: #fff;
}

.search-input-group {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 15px;
    padding-right: 20px;
}

.search-input-group i {
    color: var(--primary-color);
    font-size: 1.3rem;
    opacity: 0.8;
}

#heroSearchInput {
    border: none;
    outline: none;
    width: 100%;
    font-size: 1.1rem;
    font-weight: 500;
    background: transparent;
    color: var(--text-dark);
    cursor: pointer;
    font-family: var(--font-main);
}

.hero-search-submit {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    border: none;
    padding: 14px 35px;
    border-radius: 18px;
    font-weight: 700;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
    cursor: pointer;
    box-shadow: 0 8px 15px rgba(67, 19, 135, 0.2);
}

.hero-search-submit:hover {
    transform: translateX(-5px);
    box-shadow: 0 12px 25px rgba(67, 19, 135, 0.3);
    filter: brightness(1.1);
}

.hero-search-submit i {
    font-size: 1.1rem;
    transition: transform 0.4s ease;
}

.hero-search-submit:hover i {
    transform: rotate(-15deg) scale(1.2);
}

/* ============================================
   CARD SYSTEM - MODERN & LUXURY
   ============================================ */
.sector-card,
.service-card,
.how-it-works-card,
.registration-card {
    background: var(--white);
    border-radius: 24px;
    padding: 32px;
    border: 1px solid rgba(67, 19, 135, 0.05);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    height: 100%;
    position: relative;
    overflow: visible;
    display: flex;
    flex-direction: column;
    margin-top: 30px;
    /* Increased space for step numbers */
}

.sector-card:hover,
.service-card:hover,
.how-it-works-card:hover,
.registration-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: var(--shadow-luxury);
    border-color: rgba(212, 0, 246, 0.2);
}

.sector-card::after,
.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: var(--transition);
}

.sector-card:hover::after,
.service-card:hover::after {
    opacity: 1;
}

/* Specific Card Enhancements */
.sector-image {
    width: 100%;
    height: 200px;
    border-radius: 16px;
    margin-bottom: 24px;
    overflow: hidden;
}

.sector-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.sector-card:hover .sector-image img {
    transform: scale(1.15);
}

.sector-title,
.service-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.sector-description,
.service-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 24px;
}

/* --- Breadcrumbs / Path Indicators --- */
.breadcrumb-path {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.breadcrumb-path a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.breadcrumb-path a:hover {
    color: var(--secondary-color);
}

.breadcrumb-separator {
    font-size: 0.8rem;
    opacity: 0.5;
}

/* --- Animation Helpers --- */
[data-aos] {
    pointer-events: none;
}

.aos-animate {
    pointer-events: auto;
}

/* Header Links Fix */
.navbar-nav .nav-link {
    color: white !important;
    font-weight: 500;
    padding: 0.6rem 1.2rem !important;
    border-radius: 50px;
    transition: var(--transition);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.2) !important;
    backdrop-filter: blur(5px);
}

.header {
    transition: var(--transition);
}

/* ============================================
   INSTRUCTIONAL GUIDE BADGE STYLING
   ============================================ */
.instructional-guide-badge {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 10005;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 24px;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    max-width: 340px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    animation: badgeAppear 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    cursor: pointer;
    transition: var(--transition);
    pointer-events: auto !important;
}

.instructional-guide-badge:hover {
    transform: translateY(-8px) scale(1.03);
    background: #fff;
    box-shadow: 0 30px 60px rgba(67, 19, 135, 0.2);
}

@keyframes badgeAppear {
    0% {
        transform: translateY(50px) scale(0.9);
        opacity: 0;
    }

    100% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.guide-avatar {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #431387, #D400F6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(67, 19, 135, 0.3);
    position: relative;
}

.guide-avatar::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 50%;
    border: 2px solid #ffd700;
    animation: pulseAvatar 2s infinite;
}

@keyframes pulseAvatar {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.guide-content {
    flex: 1;
    position: relative;
    padding-left: 25px;
    /* Space for close button */
}

#guideText {
    margin: 0;
    font-family: var(--font-main);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary-color);
    line-height: 1.6;
    transition: opacity 0.5s ease;
}

.guide-close {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    font-size: 1.1rem;
    color: #94a3b8;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 5px;
    line-height: 1;
}

.guide-close:hover {
    color: #ff4d4d;
    transform: rotate(90deg);
}

@keyframes slideInUp {
    from {
        transform: translateY(100px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .instructional-guide-badge {
        bottom: 90px;
        right: 20px;
        left: 20px;
        max-width: none;
    }
}

/* Banner Collection Section */
.banner-collection-section {
    background: linear-gradient(135deg, rgba(67, 19, 135, 0.02), rgba(212, 0, 246, 0.02));
    position: relative;
    overflow: hidden;
}

.banner-collection-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(67, 19, 135, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(212, 0, 246, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.banner-card-link {
    text-decoration: none;
    display: block;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.banner-card-link:hover {
    transform: translateY(-8px);
    text-decoration: none;
}

.banner-card {
    position: relative;
    height: 100%;
    min-height: 320px;
    border-radius: 24px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    box-shadow: 0 20px 40px rgba(67, 19, 135, 0.15);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
    pointer-events: none;
}

.banner-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.1));
    transition: all 0.4s ease;
}

.banner-card:hover .banner-card-overlay {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.05));
}

.banner-card-company {
    background: linear-gradient(135deg, #431387 0%, #5d2dad 50%, #7c3aed 100%);
}

.banner-card-agency {
    background: linear-gradient(135deg, #D400F6 0%, #e91e63 50%, #f06292 100%);
}

.banner-card-pattern {
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotatePattern 20s linear infinite;
    pointer-events: none;
}

@keyframes rotatePattern {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.banner-card-content {
    position: relative;
    z-index: 2;
    padding: 2.5rem;
    text-align: center;
    color: white;
    width: 100%;
}

.banner-card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.banner-card:hover .banner-card-icon {
    transform: scale(1.15) rotate(5deg);
    background: rgba(255, 255, 255, 0.3);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.banner-card-icon i {
    font-size: 2.5rem;
    color: white;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.banner-card-title {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: white;
    line-height: 1.4;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.banner-card:hover .banner-card-title {
    transform: translateY(-4px);
}

.banner-card-description {
    font-size: 1.05rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    opacity: 0.95;
}

.banner-card-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary-color);
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.05rem;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.banner-card-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
    z-index: 0;
}

.banner-card-btn span,
.banner-card-btn i {
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.banner-card-btn i {
    font-size: 1.1rem;
}

.banner-card:hover .banner-card-btn::before {
    width: 300%;
    height: 300%;
}

.banner-card:hover .banner-card-btn {
    color: white;
    transform: translateX(-8px) scale(1.05);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
}

.banner-card:hover .banner-card-btn i {
    transform: translateX(-4px);
}

/* Responsive Design */
@media (max-width: 992px) {
    .banner-card {
        min-height: 280px;
    }

    .banner-card-content {
        padding: 2rem;
    }

    .banner-card-title {
        font-size: 1.5rem;
    }

    .banner-card-icon {
        width: 70px;
        height: 70px;
    }

    .banner-card-icon i {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .banner-collection-section {
        padding: 40px 0 !important;
    }

    .banner-card {
        min-height: 260px;
        margin-bottom: 1.5rem;
    }

    .banner-card-content {
        padding: 1.5rem;
    }

    .banner-card-title {
        font-size: 1.35rem;
        margin-bottom: 0.75rem;
    }

    .banner-card-description {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }

    .banner-card-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 1rem;
    }

    .banner-card-icon i {
        font-size: 1.75rem;
    }

    .banner-card-btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
    }
}

/* Dark Mode Support */
[data-theme="dark"] .banner-collection-section {
    background: linear-gradient(135deg, rgba(67, 19, 135, 0.1), rgba(212, 0, 246, 0.1));
}

[data-theme="dark"] .banner-card {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .banner-card-overlay {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.2));
}

[data-theme="dark"] .banner-card:hover .banner-card-overlay {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.1));
}

/* Smart Search Results Chat */
.search-results-chat {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 2px solid rgba(67, 19, 135, 0.1);
    animation: slideInUp 0.5s ease;
}

.chat-messages-container {
    max-height: 400px;
    overflow-y: auto;
    padding: 1rem 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.chat-messages-container::-webkit-scrollbar {
    width: 6px;
}

.chat-messages-container::-webkit-scrollbar-track {
    background: rgba(67, 19, 135, 0.05);
    border-radius: 10px;
}

.chat-messages-container::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 10px;
}

.search-chat-message {
    display: flex;
    gap: 0.75rem;
    animation: slideInMessage 0.4s ease;
    align-items: flex-start;
}

@keyframes slideInMessage {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.user-message {
    flex-direction: row-reverse;
}

.search-message-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.user-message .search-message-avatar {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.ai-message .search-message-avatar {
    background: linear-gradient(135deg, rgba(67, 19, 135, 0.1), rgba(212, 0, 246, 0.1));
    color: var(--primary-color);
    border: 2px solid rgba(67, 19, 135, 0.2);
}

.search-message-content {
    flex: 1;
    max-width: 75%;
    background: white;
    padding: 1rem 1.25rem;
    border-radius: 18px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    position: relative;
}

.user-message .search-message-content {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 18px 18px 4px 18px;
}

.ai-message .search-message-content {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(248, 250, 252, 0.95));
    border: 1px solid rgba(67, 19, 135, 0.1);
    border-radius: 18px 18px 18px 4px;
}

.search-message-content p {
    margin: 0 0 0.5rem 0;
    font-size: 0.95rem;
    line-height: 1.6;
    color: inherit;
}

.search-message-content p:last-child {
    margin-bottom: 0;
}

.search-message-time {
    display: block;
    font-size: 0.75rem;
    opacity: 0.6;
    margin-top: 0.5rem;
    text-align: left;
}

.user-message .search-message-time {
    text-align: right;
}

.ai-response-header {
    margin-bottom: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid rgba(67, 19, 135, 0.1);
}

.ai-response-header h5 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.ai-response-content {
    margin-bottom: 1rem;
}

.ai-response-content p {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-size: 0.95rem;
    line-height: 1.7;
}

.response-bullet {
    padding-right: 1rem;
    position: relative;
    color: var(--text-dark);
}

.response-bullet::before {
    content: '';
    position: absolute;
    right: 0;
    top: 0.5rem;
    width: 6px;
    height: 6px;
    background: var(--primary-color);
    border-radius: 50%;
}

.response-step {
    padding-right: 1.25rem;
    position: relative;
    font-weight: 600;
    color: var(--primary-color);
}

.ai-response-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(67, 19, 135, 0.1);
}

.ai-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: linear-gradient(135deg, rgba(67, 19, 135, 0.05), rgba(212, 0, 246, 0.05));
    color: var(--primary-color);
    border: 1px solid rgba(67, 19, 135, 0.15);
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: pointer;
}

.ai-action-btn i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.ai-action-btn:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(67, 19, 135, 0.25);
    text-decoration: none;
}

.ai-action-btn:hover i {
    transform: scale(1.15);
}

.chat-typing-indicator {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(67, 19, 135, 0.03);
    border-radius: 12px;
    margin-top: 1rem;
}

.typing-dots {
    display: flex;
    gap: 0.375rem;
}

.typing-dots span {
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
    animation: typingPulse 1.4s infinite;
}

.typing-dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-dots span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typingPulse {

    0%,
    60%,
    100% {
        transform: translateY(0);
        opacity: 0.7;
    }

    30% {
        transform: translateY(-8px);
        opacity: 1;
    }
}

.typing-text {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 600;
    font-style: italic;
}

/* Responsive */
@media (max-width: 768px) {
    .search-message-content {
        max-width: 85%;
    }

    .ai-response-actions {
        flex-direction: column;
    }

    .ai-action-btn {
        width: 100%;
        justify-content: center;
    }

    .chat-messages-container {
        max-height: 300px;
    }
}

/* Enhanced Guided Questions Styles */
.guided-questions {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.guided-questions-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(67, 19, 135, 0.1);
    flex-shrink: 0;
}

.header-icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(67, 19, 135, 0.1), rgba(212, 0, 246, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.header-icon-wrapper i {
    font-size: 1.5rem;
    color: var(--secondary-color);
}

.header-text {
    flex: 1;
}

.guided-questions-header h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0 0 0.25rem 0;
}

.guided-questions-header p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
}

.guided-question-categories-scroll {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 0.5rem;
    margin-right: -0.5rem;
}

.guided-question-categories-scroll::-webkit-scrollbar {
    width: 6px;
}

.guided-question-categories-scroll::-webkit-scrollbar-track {
    background: rgba(67, 19, 135, 0.05);
    border-radius: 10px;
}

.guided-question-categories-scroll::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 10px;
}

.guided-question-categories-scroll::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

.guided-question-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
}

.question-category {
    background: white;
    border: 1px solid rgba(67, 19, 135, 0.12);
    border-radius: 16px;
    padding: 1.25rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(67, 19, 135, 0.05);
}

.question-category:hover {
    box-shadow: 0 8px 25px rgba(67, 19, 135, 0.12);
    transform: translateY(-2px);
    border-color: rgba(67, 19, 135, 0.2);
}

.question-category h5 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(67, 19, 135, 0.1);
}

.question-category h5 i {
    font-size: 1.1rem;
    color: var(--secondary-color);
}

.guided-question-list {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.guided-question-btn {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.75rem 1rem;
    background: rgba(67, 19, 135, 0.03);
    border: 1px solid rgba(67, 19, 135, 0.1);
    border-radius: 10px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    text-align: right;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.guided-question-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.guided-question-btn i,
.guided-question-btn span {
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.guided-question-btn i {
    font-size: 1rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

.guided-question-btn span {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.guided-question-btn:hover {
    border-color: transparent;
    transform: translateX(-3px);
    box-shadow: 0 6px 20px rgba(67, 19, 135, 0.2);
}

.guided-question-btn:hover::before {
    opacity: 1;
}

.guided-question-btn:hover i,
.guided-question-btn:hover span {
    color: white;
}

.guided-question-btn:hover i {
    transform: scale(1.15);
}

/* Search Modal Responsive */
@media (max-width: 992px) {
    .search-modal-content {
        max-width: 95%;
        max-height: 90vh;
    }

    .guided-question-categories {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .search-modal-header {
        padding: 1.25rem 1.5rem;
    }

    .search-modal-header h3 {
        font-size: 1.25rem;
    }

    .search-modal-body {
        padding: 1.25rem 1.5rem 1.5rem;
    }

    .search-input-wrapper {
        flex-direction: column;
        gap: 0.75rem;
    }

    .search-input-icon {
        right: 1rem;
    }

    .smart-search-input {
        padding-right: 3rem;
    }

    .search-ai-btn {
        width: 100%;
        height: 44px;
    }

    .guided-questions-header {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }

    .guided-question-categories {
        grid-template-columns: 1fr;
    }

    .question-category {
        padding: 1rem;
    }

    .guided-question-btn {
        padding: 0.75rem 0.875rem;
        font-size: 0.85rem;
    }

    .guided-question-btn span {
        white-space: normal;
    }
}