/* ===================================
   AAPRAS - Main Stylesheet
   Medical Association Website
   =================================== */

/* CSS Custom Properties */
:root {
    --primary-color: #10b981;
    --primary-dark: #059669;
    --secondary-color: #64748b;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --light-color: #f8fafc;
    --dark-color: #0a192f;
    --body-bg: #ffffff;
    --text-color: #334155;
    --border-color: #e2e8f0;
    --blue: #1A365D;
    --dark-blue: #112240;
    --font-family: 'Inter', 'Noto Sans Armenian', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--body-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Armenian Font Support */
:lang(hy) {
    font-family: 'Noto Sans Armenian', 'Inter', sans-serif;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    color: var(--dark-color);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

/* Header Styles */
.header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    z-index: 1000;
}

.navbar {
    padding: 0.75rem 0;
}

.navbar-brand {
    font-weight: 600;
}

.nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    color: var(--text-color) !important;
    border-radius: 0.375rem;
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color) !important;
    background-color: rgba(13, 110, 253, 0.05);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--dark-color) 0%, #112240 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(16, 185, 129, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(59, 130, 246, 0.15) 0%, transparent 50%);
    opacity: 1;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--dark-color) 0%, #112240 100%);
}

.page-header .breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
}

.page-header .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.5);
}

/* Cards */
.card {
    border: none;
    border-radius: 0.75rem;
    transition: var(--transition);
}

.card.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
}

/* Stat Cards */
.stat-card {
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-3px);
}

/* Buttons */
.btn {
    font-weight: 500;
    padding: 0.5rem 1.25rem;
    border-radius: 0.5rem;
    transition: var(--transition);
}

.btn-lg {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
}

.primary-btn, .dropdown-item.active, .dropdown-item:active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

.primary-btn:hover{
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-1px);
    color: #fff;
}

.dropdown-item:hover {
    background: var(--primary-dark) !important;
}

.btn-outline-primary{
    color: var(--blue);
    border-color: var(--blue);
}
.btn-outline-primary:hover {
    transform: translateY(-1px);
    background: var(--dark-blue);
    border-color: var(--dark-blue);
}

/* Forms */
.form-control,
.form-select {
    border-radius: 0.5rem;
    padding: 0.625rem 1rem;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.15);
}

.form-label {
    font-weight: 500;
    margin-bottom: 0.375rem;
    color: var(--text-color);
}

/* Badges */
.badge {
    font-weight: 500;
    padding: 0.375rem 0.75rem;
    border-radius: 0.375rem;
}

/* Tables */
.table {
    margin-bottom: 0;
}

.table > thead {
    border-bottom: 2px solid var(--border-color);
}

.table > thead > tr > th {
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--secondary-color);
    padding: 1rem;
}

.table > tbody > tr > td {
    padding: 1rem;
    vertical-align: middle;
}

.table-hover > tbody > tr:hover {
    background-color: rgba(13, 110, 253, 0.02);
}

/* Alerts */
.alert {
    border: none;
    border-radius: 0.5rem;
    padding: 1rem 1.25rem;
}

/* Footer */
.footer {
    background: var(--dark-color);
}

/*.footer a:hover {*/
/*    color: #fff !important;*/
/*}*/

footer .social-btn{
    width: 36px;
    height: 36px;
}
/* Content Styles */
.content h1, .content h2, .content h3, .content h4, .content h5, .content h6 {
    margin-top: 1.5em;
    margin-bottom: 0.75em;
}

.content h1:first-child, .content h2:first-child, .content h3:first-child {
    margin-top: 0;
}

.content p {
    margin-bottom: 1rem;
}

.content ul, .content ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.content li {
    margin-bottom: 0.5rem;
}

.content img {
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem;
}

/* Pagination */
.pagination {
    gap: 0.25rem;
}

.page-link {
    border: none;
    border-radius: 0.375rem !important;
    padding: 0.5rem 0.875rem;
    color: var(--text-color);
}

.page-link:hover {
    background: rgba(13, 110, 253, 0.1);
    color: var(--primary-color);
}

.page-item.active .page-link {
    background: var(--primary-color);
    color: #fff;
}

/* Dropdown */
.dropdown-menu {
    border: none;
    border-radius: 0.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 0.5rem;
}

.dropdown-item {
    border-radius: 0.375rem;
    padding: 0.5rem 1rem;
    font-size: 0.9375rem;
}

.dropdown-item:hover {
    background: rgba(13, 110, 253, 0.1);
}

/* Utility Classes */
.hover-white:hover {
    color: #fff !important;
}

.text-shadow {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

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

.fade-in {
    animation: fadeIn 0.5s ease;
}

/* Responsive Adjustments */

@media (max-width: 1200px) {
    .become-member-btn{
        padding: 8px 12px !important;
    }
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        background: #fff;
        padding: 1rem;
        margin-top: 1rem;
        border-radius: 0.5rem;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    }

    .hero-section {
        text-align: center;
    }

    .hero-section .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }
}

@media (max-width: 767.98px) {
    .display-4 {
        font-size: 2rem;
    }

    .display-5 {
        font-size: 1.75rem;
    }

    .page-header {
        padding: 2rem 0 !important;
    }
}

/* Print Styles */
@media print {
    .header, .footer, .btn, .pagination {
        display: none !important;
    }

    .card {
        box-shadow: none !important;
        border: 1px solid #ddd !important;
    }
}



.heart {
    display: inline-block;
    margin: auto;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: #10b981;
    height: 10px;
    width: 10px;
    transform: rotate(-45deg);
    animation-name: beat;
    animation-duration: 1s;
    animation-iteration-count: infinite;
}

.heart:after {
    background-color: #10b981;
    content: "";
    border-radius: 50%;
    position: absolute;
    width: 10px;
    height: 10px;
    top: 0px;
    left: 5px;
}

.heart:before {
    background-color: #10b981;
    content: "";
    border-radius: 50%;
    position: absolute;
    width: 10px;
    height: 10px;
    top: -5px;
    left: 0px;
}

@keyframes beat {
    0% {
        transform: scale(1) rotate(-45deg);
    }
    50% {
        transform: scale(0.6) rotate(-45deg);
    }
}

.text-primary{
    color: var(--primary-color) !important;
}

.membership-fee-card, .bg-primary{
    background-color: var(--primary-color) !important;
}

