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

:root {
    --primary-color: #2F69E2;
    --secondary-color: #1e40af;
    --accent-color: #3b82f6;
    --success-color: #10b981;
    --error-color: #ef4444;
    --warning-color: #f59e0b;
    --text-color: #1f2937;
    --text-light: #6b7280;
    --background-color: #ffffff;
    --background-light: #f8fafc;
    --border-color: #e5e7eb;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --gradient: linear-gradient(135deg, #2F69E2 0%, #1e40af 100%);
    --blue-light: #dbeafe;
    --blue-lighter: #eff6ff;
}

body {
    font-family: 'Cairo', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
    direction: rtl;
}

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

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

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.section-description {
    font-size: 1.1rem;
    text-align: center;
    color: var(--text-light);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.btn-primary {
    background: var(--gradient);
    color: white;
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, #1e40af 0%, #2F69E2 100%);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-1px);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: transparent;
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: background 0.3s ease;
}

.header.scrolled {
    background: #2F69E2 !important;
    box-shadow: var(--shadow);
}

.navbar {
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 250px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.brand-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.brand-text h2 {
    font-size: 1.3rem;
    font-weight: 700;
    color: white;
    margin: 0;
}

.brand-text span {
    font-size: 0.8rem;
    font-weight: 400;
    color: #FFD700;
    margin: 0;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #FFD700;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #FFD700;
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

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

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section - Enhanced */
.hero {
    padding: 140px 0 100px;
    background: linear-gradient(135deg, #2F69E2 0%, #1e40af 50%, #3b82f6 100%);
    color: white;
    position: relative;
    overflow: hidden;
    scroll-margin-top: 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    animation: heroBackground 20s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
    animation: grainMove 30s linear infinite;
}

@keyframes heroBackground {
    0%, 100% { 
        transform: scale(1) rotate(0deg);
        opacity: 0.8;
    }
    50% { 
        transform: scale(1.1) rotate(1deg);
        opacity: 1;
    }
}

@keyframes grainMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(100px, 100px); }
}

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

.hero-text {
    animation: slideInLeft 1s ease-out;
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    background: linear-gradient(45deg, #ffffff, #f0f8ff, #ffffff);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: titleGlow 3s ease-in-out infinite;
}

@keyframes titleGlow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.highlight {
    color: #FFD700;
    text-shadow: 0 2px 4px rgba(255, 215, 0, 0.5);
    position: relative;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #FFD700, #FFA500);
    border-radius: 2px;
    animation: highlightPulse 2s ease-in-out infinite;
}

@keyframes highlightPulse {
    0%, 100% { opacity: 0.7; transform: scaleX(1); }
    50% { opacity: 1; transform: scaleX(1.1); }
}

.hero-description {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    line-height: 1.7;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    animation: slideInUp 1s ease-out 0.3s both;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    animation: slideInUp 1s ease-out 0.6s both;
}

.hero-buttons .btn {
    padding: 15px 35px;
    font-size: 1.1rem;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.hero-buttons .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.hero-buttons .btn:hover::before {
    left: 100%;
}

.hero-buttons .btn-primary {
    background: linear-gradient(45deg, #FFD700, #FFA500);
    color: #1f2937;
    font-weight: 700;
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
    border: none;
}

.hero-buttons .btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 35px rgba(255, 215, 0, 0.6);
    background: linear-gradient(45deg, #FFA500, #FFD700);
}

.hero-buttons .btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.hero-buttons .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: slideInRight 1s ease-out 0.3s both;
}

.hero-graphic {
    position: relative;
    width: 450px;
    height: 450px;
    perspective: 1000px;
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    animation: float 6s ease-in-out infinite;
    box-shadow: 0 15px 35px rgba(47, 105, 226, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
}

.floating-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 20px 40px rgba(47, 105, 226, 0.4);
    background: rgba(255, 255, 255, 0.25);
}

.floating-card i {
    font-size: 2.5rem;
    color: #FFD700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.floating-card:hover i {
    transform: scale(1.2) rotate(5deg);
    color: #FFA500;
}

.floating-card span {
    font-size: 1rem;
    font-weight: 600;
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    text-align: center;
    line-height: 1.3;
}

.card-1 {
    top: 15%;
    left: 5%;
    animation-delay: 0s;
    transform: rotate(-5deg);
}

.card-2 {
    top: 45%;
    right: 10%;
    animation-delay: 2s;
    transform: rotate(5deg);
}

.card-3 {
    bottom: 15%;
    left: 25%;
    animation-delay: 4s;
    transform: rotate(-3deg);
}

@keyframes float {
    0%, 100% { 
        transform: translateY(0px) rotate(var(--rotation, 0deg)); 
    }
    50% { 
        transform: translateY(-25px) rotate(calc(var(--rotation, 0deg) + 2deg)); 
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

/* Services Section - Enhanced */
.services {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 50%, #f1f5f9 100%);
    scroll-margin-top: 80px;
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 10% 20%, rgba(47, 105, 226, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(47, 105, 226, 0.05) 0%, transparent 50%);
    animation: servicesBackground 15s ease-in-out infinite;
}

@keyframes servicesBackground {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.services .section-header {
    position: relative;
    z-index: 2;
    margin-bottom: 4rem;
}

.services .section-title {
    background: linear-gradient(45deg, #2F69E2, #1e40af);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: titleShine 3s ease-in-out infinite;
}

@keyframes titleShine {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

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

.service-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(47, 105, 226, 0.1);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(47, 105, 226, 0.1), transparent);
    transition: left 0.6s;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(47, 105, 226, 0.2);
    border-color: rgba(47, 105, 226, 0.3);
    background: rgba(255, 255, 255, 0.95);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #2F69E2, #1e40af);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    position: relative;
    transition: all 0.4s ease;
}

.service-icon::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.service-card:hover .service-icon::before {
    opacity: 1;
}

.service-icon i {
    font-size: 2.5rem;
    color: white;
    transition: all 0.4s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 25px rgba(47, 105, 226, 0.4);
}

.service-card:hover .service-icon i {
    transform: scale(1.2);
}

.service-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

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

.service-description {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-features li {
    padding: 0.5rem 0;
    color: var(--text-color);
    font-weight: 500;
    position: relative;
    transition: all 0.3s ease;
}

.service-features li::before {
    content: '✓';
    color: var(--success-color);
    font-weight: bold;
    margin-left: 0.5rem;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.service-card:hover .service-features li::before {
    opacity: 1;
    transform: translateX(0);
}

.service-card:hover .service-features li {
    transform: translateX(5px);
    color: var(--primary-color);
}

/* Loading and No Services States */
.loading-services {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.loading-services i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.loading-services p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin: 0;
}

.no-services {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.no-services i {
    font-size: 3rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.no-services p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin: 0;
}

/* Responsive Design for Services */
@media (max-width: 768px) {
    .services {
        padding: 80px 0;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .service-card {
        padding: 2rem;
    }
    
    .service-icon {
        width: 70px;
        height: 70px;
    }
    
    .service-icon i {
        font-size: 2rem;
    }
    
    .service-title {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .service-card {
        padding: 1.5rem;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
    }
    
    .service-icon i {
        font-size: 1.8rem;
    }
    
    .service-title {
        font-size: 1.2rem;
    }
}

/* About Section - Enhanced */
.about {
    padding: 100px 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 50%, #ffffff 100%);
    scroll-margin-top: 80px;
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(47, 105, 226, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(47, 105, 226, 0.03) 0%, transparent 50%);
    animation: aboutBackground 20s ease-in-out infinite;
}

@keyframes aboutBackground {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

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

.about-text {
    animation: slideInLeft 1s ease-out 0.2s both;
}

.about .section-title {
    background: linear-gradient(45deg, #2F69E2, #1e40af);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 2rem;
    animation: titleShine 3s ease-in-out infinite;
}

.about-description {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 3rem;
    text-align: justify;
    animation: slideInUp 1s ease-out 0.4s both;
}

.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    animation: slideInUp 1s ease-out 0.6s both;
}

.stat-item {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(47, 105, 226, 0.1);
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(47, 105, 226, 0.1), transparent);
    transition: left 0.6s;
}

.stat-item:hover::before {
    left: 100%;
}

.stat-item:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 15px 35px rgba(47, 105, 226, 0.2);
    border-color: rgba(47, 105, 226, 0.3);
    background: rgba(255, 255, 255, 0.95);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #2F69E2, #1e40af);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    position: relative;
    transition: all 0.4s ease;
}

.stat-icon::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.stat-item:hover .stat-icon::before {
    opacity: 1;
}

.stat-icon i {
    font-size: 1.8rem;
    color: white;
    transition: all 0.4s ease;
}

.stat-item:hover .stat-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 20px rgba(47, 105, 226, 0.4);
}

.stat-item:hover .stat-icon i {
    transform: scale(1.2);
}

.stat-content {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.stat-item:hover .stat-number {
    color: #FFD700;
    transform: scale(1.1);
}

.stat-label {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 600;
    transition: color 0.3s ease;
}

.stat-item:hover .stat-label {
    color: var(--primary-color);
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: slideInRight 1s ease-out 0.4s both;
}

.team-illustration {
    position: relative;
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, rgba(47, 105, 226, 0.1), rgba(47, 105, 226, 0.05));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: teamPulse 4s ease-in-out infinite;
}

@keyframes teamPulse {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(47, 105, 226, 0.4);
    }
    50% { 
        transform: scale(1.05);
        box-shadow: 0 0 0 20px rgba(47, 105, 226, 0);
    }
}

.team-icon {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #2F69E2, #1e40af);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    animation: teamIconFloat 3s ease-in-out infinite;
}

.team-icon::before {
    content: '';
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    border-radius: 50%;
    opacity: 0.3;
    animation: teamIconGlow 2s ease-in-out infinite;
}

@keyframes teamIconFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(5deg); }
}

@keyframes teamIconGlow {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.1); }
}

.team-icon i {
    font-size: 3rem;
    color: white;
    animation: teamIconSpin 10s linear infinite;
}

@keyframes teamIconSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.team-stats {
    position: absolute;
    width: 100%;
    height: 100%;
    animation: teamStatsRotate 20s linear infinite;
}

.stat-circle {
    position: absolute;
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(47, 105, 226, 0.3);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.stat-circle:hover {
    transform: scale(1.2);
    background: rgba(255, 255, 255, 1);
    border-color: rgba(47, 105, 226, 0.6);
    box-shadow: 0 15px 35px rgba(47, 105, 226, 0.3);
}

.stat-circle i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0.3rem;
    transition: all 0.3s ease;
}

.stat-circle:hover i {
    color: #FFD700;
    transform: scale(1.2);
}

.stat-circle span {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-color);
    transition: color 0.3s ease;
}

.stat-circle:hover span {
    color: var(--primary-color);
}

.stat-circle:nth-child(1) {
    top: 10%;
    left: 10%;
    animation: statCircle1 8s ease-in-out infinite;
}

.stat-circle:nth-child(2) {
    top: 10%;
    right: 10%;
    animation: statCircle2 8s ease-in-out infinite 2s;
}

.stat-circle:nth-child(3) {
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%);
    animation: statCircle3 8s ease-in-out infinite 4s;
}

@keyframes statCircle1 {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(5deg); }
}

@keyframes statCircle2 {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(-5deg); }
}

@keyframes statCircle3 {
    0%, 100% { transform: translateX(-50%) translateY(0px) rotate(0deg); }
    50% { transform: translateX(-50%) translateY(-15px) rotate(5deg); }
}

@keyframes teamStatsRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Loading Stats */
.loading-stats {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.loading-stats i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    animation: spin 1s linear infinite;
}

.loading-stats p {
    font-size: 1rem;
    color: var(--text-light);
    margin: 0;
}

/* Responsive Design for About */
@media (max-width: 768px) {
    .about {
        padding: 80px 0;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .about-description {
        text-align: center;
        font-size: 1.1rem;
    }
    
    .stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .stat-item {
        padding: 1.2rem;
    }
    
    .stat-icon {
        width: 50px;
        height: 50px;
    }
    
    .stat-icon i {
        font-size: 1.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .team-illustration {
        width: 300px;
        height: 300px;
    }
    
    .team-icon {
        width: 100px;
        height: 100px;
    }
    
    .team-icon i {
        font-size: 2.5rem;
    }
    
    .stat-circle {
        width: 60px;
        height: 60px;
    }
    
    .stat-circle i {
        font-size: 1.2rem;
    }
    
    .stat-circle span {
        font-size: 0.7rem;
    }
}

@media (max-width: 480px) {
    .stats {
        grid-template-columns: 1fr;
    }
    
    .stat-item {
        padding: 1rem;
    }
    
    .stat-icon {
        width: 45px;
        height: 45px;
    }
    
    .stat-icon i {
        font-size: 1.3rem;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .team-illustration {
        width: 250px;
        height: 250px;
    }
    
    .team-icon {
        width: 80px;
        height: 80px;
    }
    
    .team-icon i {
        font-size: 2rem;
    }
    
    .stat-circle {
        width: 50px;
        height: 50px;
    }
    
    .stat-circle i {
        font-size: 1rem;
    }
    
    .stat-circle span {
        font-size: 0.6rem;
    }
}

/* Testimonials Section - Enhanced */
.testimonials {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 50%, #f1f5f9 100%);
    scroll-margin-top: 80px;
    position: relative;
    overflow: hidden;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 20%, rgba(47, 105, 226, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(47, 105, 226, 0.05) 0%, transparent 50%);
    animation: testimonialsBackground 18s ease-in-out infinite;
}

@keyframes testimonialsBackground {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.8; }
}

.testimonials .section-header {
    position: relative;
    z-index: 2;
    margin-bottom: 4rem;
}

.testimonials .section-title {
    background: linear-gradient(45deg, #2F69E2, #1e40af);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: titleShine 3s ease-in-out infinite;
}

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

.testimonial-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(47, 105, 226, 0.1);
    border-radius: 20px;
    padding: 2.5rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    animation: testimonialSlideIn 0.8s ease-out both;
}

.testimonial-card:nth-child(1) { animation-delay: 0.2s; }
.testimonial-card:nth-child(2) { animation-delay: 0.4s; }
.testimonial-card:nth-child(3) { animation-delay: 0.6s; }

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

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    right: 20px;
    font-size: 8rem;
    color: rgba(47, 105, 226, 0.1);
    font-family: serif;
    line-height: 1;
    z-index: 0;
}

.testimonial-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(47, 105, 226, 0.05), transparent);
    transition: left 0.6s;
}

.testimonial-card:hover::after {
    left: 100%;
}

.testimonial-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(47, 105, 226, 0.15);
    border-color: rgba(47, 105, 226, 0.3);
    background: rgba(255, 255, 255, 1);
}

.testimonial-content {
    position: relative;
    z-index: 1;
}

.testimonial-stars {
    display: flex;
    gap: 0.3rem;
    margin-bottom: 1.5rem;
    justify-content: center;
}

.testimonial-stars i {
    color: #FFD700;
    font-size: 1.2rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    animation: starTwinkle 2s ease-in-out infinite;
}

.testimonial-stars i:nth-child(1) { animation-delay: 0s; }
.testimonial-stars i:nth-child(2) { animation-delay: 0.2s; }
.testimonial-stars i:nth-child(3) { animation-delay: 0.4s; }
.testimonial-stars i:nth-child(4) { animation-delay: 0.6s; }
.testimonial-stars i:nth-child(5) { animation-delay: 0.8s; }

@keyframes starTwinkle {
    0%, 100% { 
        transform: scale(1);
        opacity: 1;
    }
    50% { 
        transform: scale(1.2);
        opacity: 0.8;
    }
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-color);
    margin-bottom: 2rem;
    text-align: justify;
    position: relative;
    font-style: italic;
}

.testimonial-text::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: linear-gradient(135deg, rgba(47, 105, 226, 0.05), transparent);
    border-radius: 10px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.testimonial-card:hover .testimonial-text::before {
    opacity: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(47, 105, 226, 0.05);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.testimonial-card:hover .testimonial-author {
    background: rgba(47, 105, 226, 0.1);
    transform: translateX(5px);
}

.author-avatar {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #2F69E2, #1e40af);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.3s ease;
}

.author-avatar::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.testimonial-card:hover .author-avatar::before {
    opacity: 1;
}

.author-avatar i {
    font-size: 1.5rem;
    color: white;
    transition: all 0.3s ease;
}

.testimonial-card:hover .author-avatar {
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(47, 105, 226, 0.3);
}

.testimonial-card:hover .author-avatar i {
    transform: scale(1.2);
}

.author-info {
    flex: 1;
}

.author-info h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 0.3rem;
    transition: color 0.3s ease;
}

.testimonial-card:hover .author-info h4 {
    color: var(--primary-color);
}

.author-info span {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
    transition: color 0.3s ease;
}

.testimonial-card:hover .author-info span {
    color: var(--primary-color);
}

/* Responsive Design for Testimonials */
@media (max-width: 768px) {
    .testimonials {
        padding: 80px 0;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .testimonial-card {
        padding: 2rem;
    }
    
    .testimonial-text {
        font-size: 1rem;
        text-align: center;
    }
    
    .testimonial-stars {
        justify-content: center;
    }
    
    .testimonial-stars i {
        font-size: 1.1rem;
    }
    
    .author-avatar {
        width: 50px;
        height: 50px;
    }
    
    .author-avatar i {
        font-size: 1.3rem;
    }
    
    .author-info h4 {
        font-size: 1.1rem;
    }
    
    .author-info span {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .testimonial-card {
        padding: 1.5rem;
    }
    
    .testimonial-text {
        font-size: 0.95rem;
    }
    
    .testimonial-stars i {
        font-size: 1rem;
    }
    
    .author-avatar {
        width: 45px;
        height: 45px;
    }
    
    .author-avatar i {
        font-size: 1.2rem;
    }
    
    .author-info h4 {
        font-size: 1rem;
    }
    
    .author-info span {
        font-size: 0.75rem;
    }
}

/* Clients Section - Enhanced */
.clients {
    padding: 100px 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 50%, #ffffff 100%);
    scroll-margin-top: 80px;
    position: relative;
    overflow: hidden;
}

.clients::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 25% 25%, rgba(47, 105, 226, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(47, 105, 226, 0.03) 0%, transparent 50%);
    animation: clientsBackground 25s ease-in-out infinite;
}

@keyframes clientsBackground {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

.clients .section-header {
    position: relative;
    z-index: 2;
    margin-bottom: 4rem;
}

.clients .section-title {
    background: linear-gradient(45deg, #2F69E2, #1e40af);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: titleShine 3s ease-in-out infinite;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    position: relative;
    z-index: 2;
}

.client-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(47, 105, 226, 0.1);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    animation: clientSlideIn 0.8s ease-out both;
}

.client-card:nth-child(1) { animation-delay: 0.1s; }
.client-card:nth-child(2) { animation-delay: 0.2s; }
.client-card:nth-child(3) { animation-delay: 0.3s; }
.client-card:nth-child(4) { animation-delay: 0.4s; }
.client-card:nth-child(5) { animation-delay: 0.5s; }
.client-card:nth-child(6) { animation-delay: 0.6s; }

@keyframes clientSlideIn {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.client-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(47, 105, 226, 0.1), transparent);
    transition: left 0.6s;
}

.client-card:hover::before {
    left: 100%;
}

.client-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(47, 105, 226, 0.2);
    border-color: rgba(47, 105, 226, 0.3);
    background: rgba(255, 255, 255, 1);
}

.client-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #2F69E2, #1e40af);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    position: relative;
    transition: all 0.4s ease;
}

.client-icon::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.client-card:hover .client-icon::before {
    opacity: 1;
}

.client-icon i {
    font-size: 2.5rem;
    color: white;
    transition: all 0.4s ease;
}

.client-card:hover .client-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 25px rgba(47, 105, 226, 0.4);
}

.client-card:hover .client-icon i {
    transform: scale(1.2);
}

.client-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.client-card:hover .client-name {
    color: var(--primary-color);
}

.client-type {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.client-card:hover .client-type {
    color: var(--primary-color);
}

.client-details {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    padding: 1rem;
    background: rgba(47, 105, 226, 0.05);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.client-card:hover .client-details {
    background: rgba(47, 105, 226, 0.1);
    transform: translateY(-5px);
}

.client-details span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-color);
    font-weight: 500;
    transition: all 0.3s ease;
}

.client-card:hover .client-details span {
    color: var(--primary-color);
    transform: translateX(5px);
}

.client-details i {
    color: var(--primary-color);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.client-card:hover .client-details i {
    color: #FFD700;
    transform: scale(1.2);
}

/* Loading and No Clients States */
.loading-clients {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.loading-clients i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    animation: spin 1s linear infinite;
}

.loading-clients p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin: 0;
}

.no-clients {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.no-clients i {
    font-size: 3rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.no-clients p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin: 0;
}

/* Responsive Design for Clients */
@media (max-width: 768px) {
    .clients {
        padding: 80px 0;
    }
    
    .clients-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 2rem;
    }
    
    .client-card {
        padding: 2rem;
    }
    
    .client-icon {
        width: 70px;
        height: 70px;
    }
    
    .client-icon i {
        font-size: 2rem;
    }
    
    .client-name {
        font-size: 1.2rem;
    }
    
    .client-type {
        font-size: 0.9rem;
    }
    
    .client-details {
        padding: 0.8rem;
    }
    
    .client-details span {
        font-size: 0.8rem;
    }
    
    .client-details i {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .clients-grid {
        grid-template-columns: 1fr;
    }
    
    .client-card {
        padding: 1.5rem;
    }
    
    .client-icon {
        width: 60px;
        height: 60px;
    }
    
    .client-icon i {
        font-size: 1.8rem;
    }
    
    .client-name {
        font-size: 1.1rem;
    }
    
    .client-type {
        font-size: 0.85rem;
    }
    
    .client-details {
        padding: 0.6rem;
    }
    
    .client-details span {
        font-size: 0.75rem;
    }
    
    .client-details i {
        font-size: 0.8rem;
    }
}

/* Map Section */
.map-section {
    padding: 80px 0;
    background: var(--background-light);
}

/* Map Container Layout */
.map-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 40px;
}

/* Map Stats Section */
.map-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

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

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(47, 105, 226, 0.15);
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    position: relative;
    transition: all 0.3s ease;
}

.stat-icon::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    background: var(--gradient-primary);
    opacity: 0.3;
    z-index: -1;
    transition: all 0.3s ease;
}

.stat-card:hover .stat-icon::before {
    transform: scale(1.2);
    opacity: 0.5;
}

.stat-icon i {
    font-size: 24px;
    color: white;
    transition: all 0.3s ease;
}

.stat-card:hover .stat-icon {
    transform: scale(1.1);
}

.stat-card:hover .stat-icon i {
    transform: rotate(360deg);
}

.stat-info h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0 0 5px 0;
    transition: all 0.3s ease;
}

.stat-card:hover .stat-info h3 {
    color: var(--primary-dark);
    transform: scale(1.1);
}

.stat-info p {
    font-size: 1rem;
    color: var(--text-dark);
    margin: 0;
    font-weight: 500;
    transition: all 0.3s ease;
}

.stat-card:hover .stat-info p {
    color: var(--primary-color);
}

/* Map Visual Section */
.map-visual {
    position: relative;
}

.map-instructions {
    background: var(--gradient-primary);
    color: white;
    padding: 15px 25px;
    border-radius: 15px 15px 0 0;
    text-align: center;
    margin-bottom: 0;
}

.map-instructions p {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.map-instructions i {
    font-size: 1rem;
    animation: pointerPulse 2s infinite;
}

@keyframes pointerPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

/* Interactive Map Styles */
#client-map {
    border-radius: 0 0 20px 20px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
    border-top: none;
}

/* Custom Marker Styles */
.custom-marker {
    background: transparent !important;
    border: none !important;
}

.marker-content {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.marker-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 12px;
    box-shadow: 0 4px 12px rgba(47, 105, 226, 0.4);
    border: 3px solid white;
    transition: all 0.3s ease;
    cursor: pointer;
}

.marker-circle:hover {
    transform: scale(1.2);
    box-shadow: 0 6px 20px rgba(47, 105, 226, 0.6);
}

.marker-clicked .marker-circle {
    animation: markerPulse 0.3s ease-out;
}

@keyframes markerPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.5); }
    100% { transform: scale(1.2); }
}

/* Custom Popup Styles */
.custom-popup .leaflet-popup-content-wrapper {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--blue-light);
}

.custom-popup .leaflet-popup-content {
    margin: 0;
    padding: 0;
}

.map-popup {
    padding: 20px;
    min-width: 250px;
}

.map-popup h3 {
    color: var(--primary-color);
    margin: 0 0 15px 0;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.popup-stats {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.popup-stats .stat-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.popup-stats .stat-item i {
    color: var(--primary-color);
}

.client-list, .cities-list {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
}

.client-list h4, .cities-list h4 {
    color: var(--primary-color);
    margin: 0 0 8px 0;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.client-list ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.client-list li {
    padding: 3px 0;
    font-size: 0.85rem;
    color: var(--text-dark);
}

.cities-list p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--text-dark);
}

/* Map Error Styles */
.map-error {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 400px;
    background: var(--background-light);
    border-radius: 20px;
    border: 2px dashed var(--border-color);
    color: var(--text-dark);
}

.map-error i {
    font-size: 3rem;
    color: var(--warning-color);
    margin-bottom: 15px;
}

.map-error p {
    font-size: 1.1rem;
    margin: 0;
    text-align: center;
}

/* Responsive Design for Map Section */
@media (max-width: 768px) {
    .map-section {
        padding: 60px 0;
    }
    
    .map-container {
        gap: 20px;
        margin-top: 30px;
    }
    
    .map-stats {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 15px;
    }
    
    .stat-card {
        padding: 20px;
    }
    
    .stat-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 12px;
    }
    
    .stat-icon i {
        font-size: 20px;
    }
    
    .stat-info h3 {
        font-size: 2rem;
    }
    
    .stat-info p {
        font-size: 0.9rem;
    }
    
    .map-instructions {
        padding: 12px 20px;
    }
    
    .map-instructions p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .map-stats {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .stat-card {
        padding: 15px;
    }
    
    .stat-icon {
        width: 45px;
        height: 45px;
        margin-bottom: 10px;
    }
    
    .stat-icon i {
        font-size: 18px;
    }
    
    .stat-info h3 {
        font-size: 1.8rem;
    }
    
    .stat-info p {
        font-size: 0.85rem;
    }
    
    .map-instructions {
        padding: 10px 15px;
    }
    
    .map-instructions p {
        font-size: 0.85rem;
    }
}

/* Chatbot Styles */
.chatbot-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1001;
    font-family: 'Cairo', sans-serif;
}

.chatbot-toggle {
    width: 60px;
    height: 60px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(47, 105, 226, 0.4);
    transition: all 0.3s ease;
    position: relative;
}

.chatbot-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(47, 105, 226, 0.6);
}

.chatbot-avatar {
    font-size: 24px;
}

.chatbot-status {
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    padding: 8px 16px;
    border-radius: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.chatbot-toggle:hover .chatbot-status {
    opacity: 1;
    visibility: visible;
}

.status-text {
    font-size: 12px;
    color: var(--text-color);
    font-weight: 600;
}

.typing-indicator {
    display: flex;
    gap: 2px;
    align-items: center;
}

.typing-indicator span {
    width: 4px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 50%;
    animation: typing 1.4s infinite ease-in-out;
}

.typing-indicator span:nth-child(1) { animation-delay: -0.32s; }
.typing-indicator span:nth-child(2) { animation-delay: -0.16s; }

@keyframes typing {
    0%, 80%, 100% { transform: scale(0); }
    40% { transform: scale(1); }
}

@keyframes chatbotPulse {
    0% {
        transform: scale(1);
        box-shadow: 0 4px 20px rgba(47, 105, 226, 0.4);
    }
    25% {
        transform: scale(1.1);
        box-shadow: 0 6px 30px rgba(47, 105, 226, 0.8);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 8px 35px rgba(47, 105, 226, 0.9);
    }
    75% {
        transform: scale(1.1);
        box-shadow: 0 6px 30px rgba(47, 105, 226, 0.8);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 4px 20px rgba(47, 105, 226, 0.4);
    }
}

.chatbot-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 350px;
    height: 500px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    display: none;
    flex-direction: column;
    overflow: hidden;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 1002;
}

.chatbot-header {
    background: var(--gradient);
    color: white;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.chatbot-header-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.chatbot-avatar-small {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.chatbot-info h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
}

.chatbot-info .status {
    font-size: 12px;
    opacity: 0.8;
}

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

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

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

.message {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.message-content {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.message-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}

.bot-message .message-avatar {
    background: var(--primary-color);
    color: white;
}

.user-message .message-content {
    flex-direction: row-reverse;
}

.user-message .message-avatar {
    background: #e5e7eb;
    color: var(--text-color);
}

.message-text {
    background: #f8fafc;
    padding: 12px 16px;
    border-radius: 18px;
    max-width: 80%;
    word-wrap: break-word;
}

.bot-message .message-text {
    background: var(--primary-color);
    color: white;
}

.bot-message .message-text a {
    color: #ffffff;
    text-decoration: underline;
    font-weight: bold;
    transition: all 0.3s ease;
}

.bot-message .message-text a:hover {
    color: #25d366;
    text-decoration: none;
}

.bot-message .message-text a {
    transition: all 0.3s ease;
}

.user-message .message-text {
    background: #e5e7eb;
    color: var(--text-color);
}

.message-text p {
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
}

.message-time {
    font-size: 11px;
    color: #9ca3af;
    align-self: flex-end;
    margin-right: 42px;
}

.user-message .message-time {
    align-self: flex-start;
    margin-right: 0;
    margin-left: 42px;
}

.chatbot-suggestions {
    padding: 0 20px 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.suggestion-btn {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    padding: 8px 12px;
    border-radius: 15px;
    font-size: 12px;
    color: var(--text-color);
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.suggestion-btn:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.chatbot-input {
    padding: 20px;
    border-top: 1px solid #e5e7eb;
    background: white;
}

.input-container {
    display: flex;
    gap: 10px;
    align-items: center;
}

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

#chatbot-input:focus {
    border-color: var(--primary-color);
}

.send-button {
    width: 40px;
    height: 40px;
    background: var(--gradient);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

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

.whatsapp-redirect {
    margin-top: 15px;
}

.whatsapp-btn {
    width: 100%;
    background: #25d366;
    color: white;
    border: none;
    padding: 12px 16px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.whatsapp-btn:hover {
    background: #128c7e;
    transform: translateY(-2px);
}

/* Responsive Chatbot */
@media (max-width: 480px) {
    .chatbot-window {
        width: calc(100vw - 40px);
        height: 60vh;
        right: -10px;
        z-index: 1002;
    }
    
    .chatbot-status {
        display: none;
    }
    
    .chatbot-container {
        bottom: 15px;
        right: 15px;
        z-index: 1001;
    }
}

 