﻿:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --secondary: #10b981;
    --accent: #f59e0b;
    --dark: #1f2937;
    --darker: #111827;
    --light: #f9fafb;
    --gray: #e5e7eb;
    --text: #374151;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Tajawal', sans-serif;
}

body {
    background-color: var(--light);
    color: var(--text);
    line-height: 1.6;
    padding: 20px;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Header Styles */
.header {
    text-align: center;
    margin-bottom: 40px;
    padding: 20px;
}

.logo {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
}

.header p {
    color: var(--text);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Search Section */
.search-section {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
    text-align: center;
}

.search-title {
    font-size: 1.8rem;
    color: var(--darker);
    margin-bottom: 20px;
}

.search-form {
    display: flex;
    max-width: 600px;
    margin: 0 auto;
}

.search-input {
    flex: 1;
    padding: 15px 20px;
    border: 2px solid var(--gray);
    border-radius: 12px 0 0 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

    .search-input:focus {
        outline: none;
        border-color: var(--primary);
    }

.search-button {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border: none;
    padding: 0 25px;
    border-radius: 0 12px 12px 0;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

    .search-button:hover {
        background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    }

/* Profile Section (Initially Hidden) */
.profile-section {
    display: block;
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.profile-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--gray);
}

.profile-image {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.profile-name {
    font-size: 2.2rem;
    color: var(--darker);
    margin-bottom: 10px;
    font-weight: 700;
}

.profile-specialization {
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 20px;
    font-weight: 500;
}

.profile-description {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Profile Content */
.profile-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

@media (max-width: 992px) {
    .profile-content {
        grid-template-columns: 1fr;
    }
}

.info-card {
    background: var(--light);
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
}

.card-title {
    font-size: 1.4rem;
    color: var(--darker);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--gray);
    display: flex;
    align-items: center;
}

    .card-title i {
        margin-left: 10px;
        color: var(--primary);
    }

.info-item {
    display: flex;
    margin-bottom: 18px;
    align-items: flex-start;
}

.info-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 15px;
    flex-shrink: 0;
}

.info-content {
    flex: 1;
}

.info-label {
    font-weight: 500;
    color: var(--dark);
    margin-bottom: 5px;
    font-size: 0.9rem;
}

.info-value {
    color: var(--text);
}

    .info-value a {
        color: var(--primary);
        text-decoration: none;
        transition: all 0.3s ease;
    }

        .info-value a:hover {
            color: var(--primary-dark);
            text-decoration: underline;
        }

/* Social Media Styles */
.social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
    gap: 15px;
}

.social-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--text);
    transition: all 0.3s ease;
    padding: 15px 10px;
    border-radius: 12px;
    background: white;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

    .social-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
    }

.social-icon {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.social-name {
    font-size: 0.8rem;
    text-align: center;
}

/* Map Styles */
.map-container {
    height: 250px;
    border-radius: 15px;
    overflow: hidden;
    margin-top: 20px;
    background: var(--gray);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark);
}

/* Responsive Design */
@media (max-width: 768px) {
    .search-form {
        flex-direction: column;
    }

    .search-input {
        border-radius: 12px;
        margin-bottom: 15px;
    }

    .search-button {
        border-radius: 12px;
        padding: 15px;
    }

    .profile-name {
        font-size: 1.8rem;
    }

    .profile-image {
        width: 150px;
        height: 150px;
    }

    .info-item {
        flex-direction: column;
    }

    .info-icon {
        margin-left: 0;
        margin-bottom: 10px;
    }

    .social-grid {
        grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
    }
}

/* Social Media Colors */
.social-whatsapp {
    color: #25D366;
}

.social-facebook {
    color: #1877F2;
}

.social-instagram {
    color: #E4405F;
}

.social-twitter {
    color: #1DA1F2;
}

.social-linkedin {
    color: #0A66C2;
}

.social-youtube {
    color: #FF0000;
}

.social-telegram {
    color: #0088CC;
}

.social-tiktok {
    color: #000000;
}

.social-snapchat {
    color: #FFFC00;
    text-shadow: 0 0 1px #000;
}

.social-github {
    color: #181717;
}

.social-gitlab {
    color: #FC6D26;
}

.social-pinterest {
    color: #BD081C;
}

.social-discord {
    color: #5865F2;
}

.social-skype {
    color: #00AFF0;
}

.social-reddit {
    color: #FF4500;
}

.social-twitch {
    color: #9146FF;
}

.social-behance {
    color: #1769FF;
}

.social-dribbble {
    color: #EA4C89;
}

.social-medium {
    color: #000000;
}

.social-website {
    color: var(--primary);
}

