/* Reset et base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    height: auto !important;
}

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

/* Éléments d'arrière-plan animés */
.background-elements {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.floating-element {
    position: absolute;
    font-size: 2rem;
    opacity: 0.1;
    animation: float 3s ease-in-out infinite;
}

.floating-element:nth-child(even) {
    animation: floatDelayed 3s ease-in-out infinite 1.5s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes floatDelayed {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Header */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: transform 0.3s ease;
    width: 90px;
}

.logo:hover {
    transform: scale(1.05);
}

.logo-img {
    width: 70px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.logo-img img {
    border-radius: 12px;
    max-height: 70px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-size: 1.8rem;
    font-weight: bold;
    color: #2563eb;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.logo-subtitle {
    font-size: 0.75rem;
    color: #666;
    margin-top: -2px;
}

.nav-desktop {
    display: flex;
    gap: 30px;
}

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

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

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

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

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

.nav-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.phone-info {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f9fafb;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.9rem;
    color: #666;
}

.phone-info i {
    color: #2563eb;
}

.btn-login {
    background: none;
    border: none;
    color: #2563eb;
    font-weight: 500;
    cursor: pointer;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-login:hover {
    background: #fef3c7;
}

.btn-signup {
    background: #2563eb;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(35, 4, 192, 0.3);
}

.btn-signup:hover {
    /* background: #78350f; */
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(35, 4, 192, 0.4);
    color: #fcfdff !important;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: background 0.3s ease;
}

.mobile-menu-btn:hover {
    background: #f3f4f6;
}

.mobile-menu {
    display: none;
    padding: 20px 0;
    border-top: 1px solid #e5e7eb;
    animation: fadeIn 0.3s ease;
}

.mobile-nav-link {
    display: block;
    padding: 12px 20px;
    text-decoration: none;
    color: #333;
    border-radius: 8px;
    transition: background 0.3s ease;
}

.mobile-nav-link:hover {
    background: #f9fafb;
}

.mobile-menu-buttons {
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Hero Section */
.hero {
    background: #2563eb1a; /* #fef3c7; */
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 60px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    /* background: #fbbf24;
    color: #2563eb; */
    background: #2563eb;
    color: #fcfdff;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 30px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: bold;
    color: #111827;
    margin-bottom: 30px;
    line-height: 1.1;
}

.hero-title-accent {
    display: block;
    color: #2563eb;
}

.hero-description {
    font-size: 1.25rem;
    color: #6b7280;
    margin-bottom: 40px;
    max-width: 600px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: bold;
    color: #2563eb;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    color: #6b7280;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-primary {
    background: #2563eb !important;
    border: 1px solid #2563eb !important;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(35, 4, 192, 0.3);
}

.btn-primary:hover {
    background: #78350f;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(146, 64, 14, 0.4);
}

.btn-secondary {
    background: white;
    color: #374151;
    border: 2px solid #d1d5db;
    padding: 15px 30px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

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

/* Hero Illustration */
.hero-right {
    position: relative;
}

.hero-illustration {
    background: #2563eb; /* #fbbf24; */
    border-radius: 30px;
    padding: 40px;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.5s ease;
}

.hero-illustration:hover {
    transform: scale(1.02);
}

.illustration-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.main-doctor {
    font-size: 5rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

.medical-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.medical-icon {
    font-size: 2rem;
    animation: pulse 2s infinite;
}

.medical-icon:nth-child(2) {
    animation-delay: 0.3s;
}

.medical-icon:nth-child(3) {
    animation-delay: 0.6s;
}

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

.consultation-status {
    background: white;
    padding: 15px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 500;
}

.status-indicator {
    width: 12px;
    height: 12px;
    background: #2563eb;
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

.teranga-text {
    font-size: 1.2rem;
    font-weight: bold;
    color: #2563eb;
}

.floating-icon {
    position: absolute;
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    animation: float 3s ease-in-out infinite;
}

.floating-icon-1 {
    top: -15px;
    left: -15px;
    color: #ef4444;
}

.floating-icon-2 {
    top: -15px;
    right: -15px;
    color: #2563eb;
    animation-delay: 0.5s;
}

.floating-icon-3 {
    bottom: -15px;
    left: -15px;
    color: #a78bfa;
    animation-delay: 1s;
}

.floating-icon-4 {
    bottom: -15px;
    right: -15px;
    color: #f59e0b;
    animation-delay: 1.5s;
}

/* Search Form */
.search-form {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 25px;
    padding: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.search-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.search-tab {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border: none;
    border-radius: 12px;
    background: #f3f4f6;
    color: #374151;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-tab:hover {
    background: #e5e7eb;
    transform: translateY(-1px);
}

.search-tab.active {
    background: #2563eb;
    color: white;
    box-shadow: 0 4px 15px rgba(146, 64, 14, 0.3);
}

.tab-emoji {
    font-size: 1.2rem;
}

.search-fields {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 15px;
}

.search-field {
    position: relative;
    display: flex;
    align-items: center;
}

.search-field i {
    position: absolute;
    left: 15px;
    color: #6b7280;
    z-index: 1;
    transition: color 0.3s ease;
}

.search-field:focus-within i {
    color: #2563eb;
}

.search-field select,
.search-field input {
    width: 100%;
    padding: 15px 15px 15px 45px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.search-field select:focus,
.search-field input:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(146, 64, 14, 0.1);
}

.search-btn {
    background: #2563eb;
    color: white;
    border: none;
    padding: 15px 25px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(146, 64, 14, 0.3);
    white-space: nowrap;
}

.search-btn:hover {
    background: #78350f;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(146, 64, 14, 0.4);
}

/* Features Section */
.features {
    padding: 80px 0;
    background: white;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem !important;
    font-weight: bold !important;
    color: #111827 !important;
    margin-bottom: 15px !important;
}

.section-header p {
    font-size: 1.25rem;
    color: #6b7280;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.feature-card {
    text-align: center;
    padding: 40px 20px;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    position: relative;
    width: 100px;
    height: 100px;
    background: #fbbf24;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    transition: transform 0.3s ease;
    box-shadow: 0 10px 30px rgba(251, 191, 36, 0.3);
}

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

.feature-icon i {
    font-size: 2.5rem;
    color: #2563eb;
}

.feature-illustration {
    position: absolute;
    top: -10px;
    right: -10px;
    font-size: 1.5rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: bold;
    color: #111827;
    margin-bottom: 15px;
}

.feature-card p {
    color: #6b7280;
    line-height: 1.6;
}

/* Quick Access Section */
.quick-access {
    padding: 80px 0;
    background: #2563eb1a; /* #fef3c7; */
}

.quick-access h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: bold;
    color: #111827;
    margin-bottom: 60px;
}

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

.access-card {
    /* cursor: pointer; */
    transition: transform 0.3s ease;
}

.access-card:hover {
    transform: translateY(-5px);
}

.access-image {
    position: relative;
    aspect-ratio: 4/3;
    border-radius: 25px;
    overflow: hidden;
    margin-bottom: 20px;
    transition: transform 0.5s ease;
}

.access-card:hover .access-image {
    transform: scale(1.02);
}

.access-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.access-card:hover .access-image img {
    transform: scale(1.1);
}

.access-overlay {
    position: absolute;
    inset: 0;
    background: #2563eb;
    opacity: 0.8;
}

.access-overlay-2 {
    background: #a78bfa;
}

.access-overlay-3 {
    background: #f59e0b;
}

.access-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.access-emoji {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 4rem;
    opacity: 0.2;
    transition: transform 0.5s ease;
}

.access-card:hover .access-emoji {
    transform: translate(-50%, -50%) scale(1.1);
}

.access-decoration {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 2rem;
    opacity: 0.3;
    animation: float 3s ease-in-out infinite;
}

.access-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    color: white;
}

.access-content h3 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: #fcfdff !important;
}

.access-content p {
    font-size: 0.9rem;
    opacity: 0.9;
    color: #fcfdff !important;
}

.access-btn {
    width: 100%;
    background: white;
    color: #374151;
    border: none;
    padding: 15px;
    border-radius: 15px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.access-btn:hover {
    background: #f9fafb;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Specialties Section */
.specialties {
    padding: 80px 0;
    background: white;
    position: relative;
}

.specialties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 30px;
}

.specialty-card {
    background: white;
    border-radius: 20px;
    padding: 30px 20px;
    text-align: center;
    border: 1px solid #f3f4f6;
    transition: all 0.5s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

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

.specialty-icon {
    width: 70px;
    height: 70px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.specialty-card:hover .specialty-icon {
    transform: rotate(12deg);
}

.specialty-icon-1 { background: #2563eb; }
.specialty-icon-2 { background: #a78bfa; }
.specialty-icon-3 { background: #f59e0b; }
.specialty-icon-4 { background: #2563eb; }
.specialty-icon-5 { background: #a78bfa; }
.specialty-icon-6 { background: #f59e0b; }

.specialty-icon i {
    color: white;
    font-size: 1.8rem;
}

.specialty-emoji {
    font-size: 1.5rem;
    /* margin-bottom: 15px; */
}

.specialty-card h3 {
    font-weight: bold;
    color: #111827;
    margin-bottom: 10px;
    font-size: 1rem;
}

.specialty-card p {
    font-size: 0.85rem;
    color: #6b7280;
}

.specialty-hover {
    margin-top: 15px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.specialty-card:hover .specialty-hover {
    opacity: 1;
}

.specialty-btn {
    background: #2563eb;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.specialty-btn:hover {
    background: #78350f;
}

/* Doctor Profile Section */
.doctor-profile {
    padding: 80px 0;
    background: #2563eb1a;;
}

.profile-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.profile-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fbbf24;
    color: #2563eb;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 30px;
}

.profile-left h2 {
    font-size: 2.5rem;
    font-weight: bold;
    color: #111827;
    margin-bottom: 30px;
}

.profile-left p {
    font-size: 1.25rem;
    color: #6b7280;
    margin-bottom: 40px;
    line-height: 1.6;
}

.profile-features {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.profile-feature {
    display: flex;
    align-items: center;
    gap: 15px;
    transition: transform 0.3s ease;
}

.profile-feature:hover {
    transform: translateX(5px);
}

.profile-feature-icon {
    width: 50px;
    height: 50px;
    background: #fbbf24;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.profile-feature:hover .profile-feature-icon {
    transform: scale(1.1);
}

.profile-feature-icon i {
    color: #2563eb;
    font-size: 1.2rem;
}

.profile-feature-content {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    color: #111827;
}

.feature-emoji {
    font-size: 1.2rem;
}

.profile-right {
    position: relative;
}

.doctor-card {
    background: white;
    border-radius: 25px;
    padding: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.5s ease;
}

.doctor-card:hover {
    transform: scale(1.02);
}

.doctor-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.doctor-avatar {
    position: relative;
    width: 80px;
    height: 80px;
    background: #fbbf24;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.doctor-emoji {
    font-size: 2.5rem;
}

.doctor-verified {
    position: absolute;
    bottom: -5px;
    right: -5px;
    width: 25px;
    height: 25px;
    background: #2563eb;
    border-radius: 50%;
    border: 2px solid white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.doctor-verified i {
    color: white;
    font-size: 0.8rem;
}

.doctor-info h3 {
    font-size: 1.5rem;
    font-weight: bold;
    color: #111827;
    margin-bottom: 5px;
}

.doctor-info p {
    color: #6b7280;
    margin-bottom: 10px;
}

.doctor-rating {
    display: flex;
    align-items: center;
    gap: 10px;
}

.stars {
    display: flex;
    gap: 2px;
}

.stars i {
    color: #fbbf24;
    font-size: 0.9rem;
}

.doctor-rating span {
    font-size: 0.85rem;
    color: #6b7280;
}

.doctor-details {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 25px;
}

.doctor-detail {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f9fafb;
    padding: 12px;
    border-radius: 12px;
    font-size: 0.9rem;
    color: #6b7280;
}

.doctor-detail i {
    color: #2563eb;
}

.doctor-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.btn-outline {
    background: none;
    border: 2px solid #2563eb;
    color: #2563eb;
    padding: 12px;
    border-radius: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: #fef3c7;
    transform: translateY(-1px);
}

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

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

.service-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    border: 1px solid #f3f4f6;
    transition: all 0.5s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

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

.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.service-card:hover::before {
    opacity: 0.1;
}

.service-card:nth-child(1)::before { background: #2563eb; }
.service-card:nth-child(2)::before { background: #a78bfa; }
.service-card:nth-child(3)::before { background: #f59e0b; }
.service-card:nth-child(4)::before { background: #2563eb; }

.service-icon {
    width: 70px;
    height: 70px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
}

.service-card:hover .service-icon {
    transform: rotate(12deg);
}

.service-icon-1 { background: #2563eb; }
.service-icon-2 { background: #a78bfa; }
.service-icon-3 { background: #f59e0b; }
.service-icon-4 { background: #2563eb; }

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

.service-illustration {
    position: absolute;
    top: 25px;
    right: 25px;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.service-card:hover .service-illustration {
    transform: scale(1.1);
}

.service-card h3 {
    font-size: 1.2rem;
    font-weight: bold;
    color: #111827;
    margin-bottom: 15px;
}

.service-card p {
    font-size: 0.9rem;
    color: #6b7280;
    margin-bottom: 20px;
    line-height: 1.5;
}

.service-hover {
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.service-btn {
    width: 100%;
    border: none;
    padding: 10px;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    color: white;
    transition: all 0.3s ease;
}

.service-card:nth-child(1) .service-btn { background: #2563eb; }
.service-card:nth-child(2) .service-btn { background: #a78bfa; }
.service-card:nth-child(3) .service-btn { background: #f59e0b; }
.service-card:nth-child(4) .service-btn { background: #2563eb; }

.service-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Footer */
.footer {
    background: #111827 !important;
    color: white;
    padding: 60px 0 30px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><text y="20" font-size="20" opacity="0.1">🏥</text><text x="30" y="50" font-size="15" opacity="0.1">🌴</text><text x="60" y="80" font-size="18" opacity="0.1">🩺</text><text x="80" y="30" font-size="16" opacity="0.1">🇸🇳</text></svg>');
    pointer-events: none;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

.footer-section h3 {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 20px;
    color: white;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
}

.footer-section p {
    color: #d1d5db;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-stats {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-stat {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: #d1d5db;
}

.footer-stat i {
    color: #fbbf24;
}

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

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul li a {
    color: #d1d5db;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: white;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.1);
    padding: 12px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    font-size: 0.9rem;
}

.contact-item i {
    color: #fbbf24;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    position: relative;
    z-index: 1;
}

.footer-bottom p {
    color: #9ca3af;
    font-size: 0.85rem;
}

.footer-links {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #9ca3af;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

/* Responsive Design */
@media (max-width: 955px) {
    .nav-desktop,
    .nav-right {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .mobile-menu.active {
        display: block;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

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

    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

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

    .search-fields {
        grid-template-columns: 1fr;
    }

    .search-tabs {
        justify-content: center;
    }

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

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

    .specialties-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .profile-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

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

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

    .section-header p {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero {
        padding: 60px 0;
    }

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

    .hero-description {
        font-size: 1.1rem;
    }

    .search-form {
        padding: 20px;
    }

    .search-tab {
        padding: 10px 15px;
        font-size: 0.9rem;
    }

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

    .doctor-actions {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* Dropdown Navigation */
.nav-dropdown {
    position: relative;
    display: inline-block;
}

.nav-toggle {
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-chevron {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.nav-dropdown:hover .nav-chevron {
    transform: rotate(180deg);
}

.nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 200px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(146, 64, 14, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    overflow: hidden;
    margin-top: 10px;
}

.nav-dropdown:hover .nav-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: #374151;
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid #f3f4f6;
}

.nav-item:last-child {
    border-bottom: none;
}

.nav-item:hover {
    background: #fef3c7;
    color: #2563eb;
    transform: translateX(5px);
}

.nav-icon {
    color: #2563eb;
    width: 16px;
    text-align: center;
}

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