/* 
===========================================
    Modern Contact Directory Design
    Design By: MJ MARAZ
    Updated: 2025
===========================================
*/

/* ========== RESET & BASE ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #16a34a;
    --primary-dark: #15803d;
    --primary-light: #86efac;
    --primary-gradient: linear-gradient(135deg, #16a34a 0%, #059669 100%);
    --secondary-color: #0ea5e9;
    --accent-color: #f59e0b;
    --accent-purple: #a855f7;
    --text-dark: #1e293b;
    --text-light: #64748b;
    --text-muted: #94a3b8;
    --bg-light: #f1f5f9;
    --bg-white: #ffffff;
    --bg-gradient: linear-gradient(135deg, #f0fdf4 0%, #dbeafe 100%);
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 3px 0 rgba(0,0,0,0.1), 0 1px 2px -1px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
    --shadow-card: 0 4px 20px rgba(22, 163, 74, 0.08);
    --shadow-card-hover: 0 12px 40px rgba(22, 163, 74, 0.15);
    --radius-sm: 10px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 24px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s ease;
}

html {
    scroll-behavior: smooth;
}

html::-webkit-scrollbar {
    width: 10px;
    background-color: var(--bg-light);
}

html::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary-color), var(--primary-dark));
    border-radius: 5px;
}

html::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-gradient);
    background-attachment: fixed;
    min-height: 100vh;
    color: var(--text-dark);
    line-height: 1.6;
    padding: 0;
    margin: 0;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(22, 163, 74, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(14, 165, 233, 0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

/* ========== MODERN HEADER ========== */
.modern-header {
    background: var(--primary-gradient);
    color: white;
    padding: 1.75rem 0;
    box-shadow: var(--shadow-lg);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    padding: 0 2rem;
}

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

.logo-icon {
    width: 56px;
    height: 56px;
    background: white;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: var(--transition);
    padding: 4px;
}

.logo-icon:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.logo-text h1 {
    font-size: 1.875rem;
    font-weight: 800;
    margin: 0;
    letter-spacing: -1px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    color: white;
}

.logo-text p {
    font-size: 0.875rem;
    opacity: 0.95;
    margin: 0;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.15rem 0.75rem;
    border-radius: 20px;
    display: inline-block;
    margin-top: 0.25rem;
    color: white;
}

.header-actions {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.btn-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 17px;
    position: relative;
    overflow: hidden;
}

.btn-icon::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.4s, height 0.4s;
}

.btn-icon:hover::before {
    width: 100%;
    height: 100%;
}

.btn-icon:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-icon.active {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
}

/* ========== SEARCH & FILTERS ========== */
.search-section {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 2.5rem 0;
    box-shadow: var(--shadow-md);
    position: relative;
    z-index: 10;
}

.search-container {
    max-width: 800px;
    margin: 0 auto 1.5rem;
    padding: 0 2rem;
}

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

.search-box i {
    position: absolute;
    left: 1.25rem;
    color: var(--text-muted);
    font-size: 1.125rem;
}

#searchInput {
    width: 100%;
    padding: 1.125rem 3.5rem 1.125rem 3.75rem;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-lg);
    font-size: 1.0625rem;
    transition: var(--transition);
    background: var(--bg-light);
    font-weight: 500;
}

#searchInput:focus {
    outline: none;
    border-color: var(--primary-color);
    background: white;
    box-shadow: 0 0 0 5px rgba(22, 163, 74, 0.1), var(--shadow-md);
    transform: translateY(-2px);
}

#searchInput::placeholder {
    color: var(--text-muted);
    font-weight: 400;
}

.clear-search {
    position: absolute;
    right: 1rem;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--text-muted);
    border: none;
    color: white;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.clear-search:hover {
    background: var(--text-dark);
}

.clear-search.show {
    display: flex;
}

.filters-container {
    display: flex;
    gap: 1rem;
    align-items: flex-end;
    padding: 0 2rem;
    flex-wrap: wrap;
}

.filter-group {
    flex: 1;
    min-width: 200px;
}

.filter-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.filter-group label i {
    color: var(--primary-color);
}

.filter-select, .sort-select {
    width: 100%;
    padding: 0.875rem 1.125rem;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 0.9375rem;
    background: white;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
    color: var(--text-dark);
    box-shadow: var(--shadow-sm);
}

.filter-select:hover, .sort-select:hover {
    border-color: var(--primary-color);
    background: #f0fdf4;
}

.filter-select:focus, .sort-select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.1), var(--shadow-md);
    background: white;
    transform: translateY(-2px);
}

.btn-reset-filters {
    padding: 0.875rem 1.75rem;
    background: linear-gradient(135deg, #64748b 0%, #475569 100%);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.625rem;
    white-space: nowrap;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.btn-reset-filters::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-reset-filters:hover::before {
    width: 300px;
    height: 300px;
}

.btn-reset-filters:hover {
    background: linear-gradient(135deg, #475569 0%, #334155 100%);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.btn-reset-filters i {
    transition: var(--transition);
}

.btn-reset-filters:hover i {
    transform: rotate(180deg);
}

.results-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem 0;
    flex-wrap: wrap;
    gap: 1rem;
}

#resultsCount {
    font-weight: 700;
    color: var(--text-dark);
    font-size: 1.0625rem;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    padding: 0.625rem 1.25rem;
    border-radius: 30px;
    border: 2px solid rgba(22, 163, 74, 0.15);
    display: inline-block;
}

.sort-options {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.sort-options label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-dark);
}

.sort-select {
    min-width: 180px;
}

/* ========== CONTACTS GRID ========== */
.contacts-main {
    padding: 2rem 0 4rem;
}

.contacts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 2rem;
    padding: 0 2rem;
    animation: fadeIn 0.5s ease;
}

.contacts-grid.list-view {
    grid-template-columns: 1fr;
    max-width: 1200px;
    margin: 0 auto;
}

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

/* ========== CONTACT CARD ========== */
.contact-card {
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-card);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    animation: slideUp 0.4s ease;
    border: 1px solid rgba(22, 163, 74, 0.08);
    position: relative;
}

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

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

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

.contact-card:hover {
    box-shadow: var(--shadow-card-hover);
    transform: translateY(-6px);
    border-color: rgba(22, 163, 74, 0.15);
}

.card-header {
    padding: 1.75rem;
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
    border-bottom: 1px solid rgba(22, 163, 74, 0.1);
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    position: relative;
    overflow: hidden;
    min-height: 100px;
}

.card-header::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 200%;
    background: radial-gradient(circle, rgba(22, 163, 74, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.avatar {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: var(--primary-gradient);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.375rem;
    flex-shrink: 0;
    box-shadow: var(--shadow-md);
    border: 3px solid white;
    position: relative;
    transition: var(--transition);
}

.contact-card:hover .avatar {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

.card-title {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.card-title h3 {
    font-size: 1.1875rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 0.5rem;
    letter-spacing: -0.25px;
    line-height: 1.3;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.badge-titre {
    display: inline-block;
    padding: 0.375rem 0.875rem;
    background: var(--primary-gradient);
    color: white;
    font-size: 0.6875rem;
    font-weight: 700;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(22, 163, 74, 0.3);
    transition: var(--transition);
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    line-height: 1.4;
    text-align: center;
}

.contact-card:hover .badge-titre {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(22, 163, 74, 0.4);
}

.card-body {
    padding: 1.75rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.125rem;
    background: white;
}

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

.contact-info i {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.9375rem;
    transition: var(--transition);
    border: 1px solid rgba(22, 163, 74, 0.1);
}

.contact-info:hover i {
    background: var(--primary-gradient);
    color: white;
    transform: scale(1.1) rotate(5deg);
    box-shadow: var(--shadow-sm);
}

.contact-info > div {
    flex: 1;
    min-width: 0;
}

.contact-info label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.25rem;
}

.contact-info a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    word-break: break-word;
    overflow-wrap: break-word;
    position: relative;
    line-height: 1.4;
}

.contact-info a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-gradient);
    transition: width 0.3s ease;
}

.contact-info a:hover::after {
    width: 100%;
}

.contact-info a:hover {
    color: var(--primary-color);
}

.contact-info span {
    color: var(--text-dark);
    font-weight: 500;
    display: block;
}

.card-footer {
    padding: 1.25rem 1.75rem;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-top: 1px solid rgba(226, 232, 240, 0.8);
    display: flex;
    gap: 0.875rem;
}

.btn-action {
    flex: 1;
    padding: 0.875rem;
    background: var(--primary-gradient);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-action::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;
}

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

.btn-action:hover {
    background: linear-gradient(135deg, #15803d 0%, #047857 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(22, 163, 74, 0.3);
}

.btn-action i {
    font-size: 1.0625rem;
    transition: var(--transition);
}

.btn-action:hover i {
    transform: scale(1.15);
}

/* ========== LIST VIEW ========== */
.list-view .contact-card {
    flex-direction: row;
}

.list-view .card-header {
    flex-direction: column;
    min-width: 200px;
    align-items: flex-start;
}

.list-view .card-body {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    padding: 1.5rem;
}

.list-view .card-footer {
    flex-direction: column;
    min-width: 120px;
}

/* ========== EMPTY STATE ========== */
.empty-state {
    text-align: center;
    padding: 5rem 2rem;
    color: var(--text-muted);
    background: white;
    border-radius: var(--radius-xl);
    margin: 0 2rem;
    box-shadow: var(--shadow-sm);
}

.empty-state i {
    font-size: 5rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.4;
    margin-bottom: 1.5rem;
    display: inline-block;
}

.empty-state h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.empty-state p {
    font-size: 1.0625rem;
    color: var(--text-light);
}

/* ========== FOOTER ========== */
.modern-footer {
    background: linear-gradient(135deg, #16a34a 0%, #059669 100%);
    color: white;
    padding: 3rem 0;
    text-align: center;
    margin-top: 4rem;
    border-top: 3px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.modern-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 80% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.modern-footer p {
    margin: 0;
    opacity: 1;
    font-weight: 500;
    font-size: 0.9375rem;
    position: relative;
    z-index: 1;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    color: white;
}

/* ========== ADDITIONAL STYLES ========== */
.clear-search {
    position: absolute;
    right: 1.25rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--text-muted);
    border: none;
    color: white;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.clear-search:hover {
    background: var(--text-dark);
    transform: scale(1.1);
}

.clear-search.show {
    display: flex;
}

.search-box i {
    position: absolute;
    left: 1.375rem;
    color: var(--primary-color);
    font-size: 1.1875rem;
    z-index: 1;
}

.filter-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-group label i {
    color: var(--primary-color);
    font-size: 1rem;
}

.sort-options label {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-info label {
    display: block;
    font-size: 0.6875rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.75px;
    margin-bottom: 0.375rem;
}

.contact-info span {
    color: var(--text-dark);
    font-weight: 600;
    display: block;
    font-size: 0.9375rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
    line-height: 1.4;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 992px) {
    .contacts-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    body::before {
        display: none;
    }
    
    .modern-header {
        padding: 1.25rem 0;
    }
    
    .header-content {
        flex-direction: column;
        gap: 1rem;
        padding: 0 1rem;
    }
    
    .logo-text h1 {
        font-size: 1.5rem;
    }
    
    .contacts-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem;
        gap: 1.25rem;
    }
    
    .search-section {
        padding: 1.5rem 0;
    }
    
    .search-container,
    .filters-container,
    .results-info {
        padding: 0 1rem;
    }
    
    .filter-group {
        min-width: 100%;
    }
    
    .results-info {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .sort-options {
        width: 100%;
    }
    
    .sort-select {
        flex: 1;
    }
    
    .list-view .contact-card {
        flex-direction: column;
    }
    
    .list-view .card-header {
        flex-direction: row;
        align-items: center;
    }
    
    .list-view .card-body {
        grid-template-columns: 1fr;
    }
    
    .empty-state {
        padding: 3rem 1.5rem;
        margin: 0 1rem;
    }
}

@media (max-width: 480px) {
    .logo-section {
        gap: 0.75rem;
    }
    
    .logo-icon {
        width: 48px;
        height: 48px;
        font-size: 22px;
    }
    
    .logo-text h1 {
        font-size: 1.375rem;
    }
    
    .logo-text p {
        font-size: 0.8125rem;
        padding: 0.125rem 0.625rem;
    }
    
    .btn-icon {
        width: 40px;
        height: 40px;
        font-size: 15px;
    }
    
    #searchInput {
        padding: 1rem 3rem 1rem 3.25rem;
        font-size: 1rem;
    }
    
    .card-header {
        padding: 1.25rem;
    }
    
    .avatar {
        width: 56px;
        height: 56px;
        font-size: 1.125rem;
    }
    
    .card-title h3 {
        font-size: 1.0625rem;
    }
    
    .card-body {
        padding: 1.25rem;
    }
    
    .card-footer {
        padding: 1rem 1.25rem;
        flex-direction: column;
    }
    
    .btn-action {
        width: 100%;
    }
    
    .empty-state {
        padding: 2rem 1rem;
    }
    
    .empty-state i {
        font-size: 3.5rem;
    }
    
    .empty-state h3 {
        font-size: 1.375rem;
    }
}

/* ========== ANIMATIONS ========== */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.8;
    }
}

/* ========== PRINT STYLES ========== */
@media print {
    .modern-header,
    .search-section,
    .modern-footer,
    .btn-action,
    .card-footer {
        display: none;
    }
    
    .contact-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
        margin-bottom: 1rem;
    }
    
    body {
        background: white;
    }
}
img::selection,
span::selection,
input::selection,
form::selection,
label::selection,
.btn::selection,
.navbar::selection,
.navbar-brand::selection {
    color: #fff;
    background: #187fcc;
    text-shadow: 1px 1px 1px #333;
}

ol,
ul,
li {
    list-style-type: none;
}

a,
a:hover {
    text-decoration: none;
    color: #333;
    -webkit-transition: 0.2s;
    transition: 0.2s;
}

h1 {
    font-size: 50px;
    color: #111;
    font-weight: 600;
}

h2 {
    font-size: 40px;
    color: #111;
    font-weight: 600;
}

h3 {
    font-size: 35px;
    color: #111;
    font-weight: 600;
}

h4 {
    font-size: 30px;
    color: #111;
    font-weight: 600;
}

h5 {
    font-size: 25px;
    color: #111;
    font-weight: 600;
}

h6 {
    font-size: 18px;
    color: #111;
}

p {
    font-size: 14px;
    color: #111;
}

.ptb-50 {
    padding: 50px 0px;
}

.mtb-15 {
    margin: 15px 0;
}


/* ==== Scoll  = Start ===== */
.totop {
    position: fixed;
    bottom: 0px;
    right: 10px;
    height: 45px;
    width: 45px;
    cursor: pointer;
    display: none;
    background: rgba(0, 0, 0, 0.3);
    color: #fff;
    border-radius: 5px 5px 0 0;
    line-height: 47px;
    font-size: 20px;
    text-align: center;
}

.totop:hover {
    line-height: 40px;
    color: #fff;
    background: #194274;
    text-shadow: 0 0 5px #000;
}

/* ==== Scoll  = End ===== */




/* ==== Header  = Start ===== */
.header_part {
    background: #377744cc;
    padding: 5px 80px;
    position: fixed;
    top: 0;
    width: 100%;
    text-align: center;
    z-index: 9999;
}

.header_part h4 {
    color: #fff;
    padding: 10px;
}

.header_part img {
    float: left;
    height: 60px;
    border-radius: 50%;
}

/* ==== Header  = End ===== */






/* ==== Data table  = Start ===== */

.data_table{
   background: #fff;
    padding: 15px;
    box-shadow: 1px 3px 5px #aaa;
    border-radius: 5px;
}

.data_table .btn{
    padding: 5px 10px;
    margin: 10px 3px 10px 0;
}



/* ==== Data table  = End  ===== */























