/* 
 * Main Stylesheet
 * Modern design dengan warna tema komunitas
 * Warna: 
 * - Putih: #ffffff
 * - Merah tua: #a91e23
 * - Hijau tua: #005029
 * - Putih krem: #fffeff
 * - Putih kebiruan: #feffff
 */

:root {
    --color-primary: #a91e23;
    --color-secondary: #005029;
    --color-white: #ffffff;
    --color-cream: #fffeff;
    --color-blue-white: #feffff;
    --color-dark: #2c3e50;
    --color-gray: #7f8c8d;
    --color-light-gray: #ecf0f1;
    --color-success: #27ae60;
    --color-warning: #f39c12;
    --color-danger: #e74c3c;
    --color-info: #3498db;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 25px rgba(0,0,0,0.1);
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--color-dark);
    background-color: var(--color-blue-white);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--color-dark);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--color-secondary);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    color: var(--color-white);
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    background: rgba(0,0,0,0.1);
    padding: 10px 0;
    font-size: 0.9rem;
}

.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-contact {
    display: flex;
    gap: 20px;
}

.header-contact span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.header-social {
    display: flex;
    gap: 15px;
}

.header-social a {
    color: var(--color-white);
    font-size: 1.2rem;
    transition: var(--transition);
}

.header-social a:hover {
    transform: translateY(-2px);
}

/* Navigation */
.navbar {
    background: var(--color-white);
    padding: 0;
    box-shadow: var(--shadow-sm);
    overflow: visible;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    overflow: visible;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
}

.navbar-brand .logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: all 0.3s ease;
    gap: 12px;
}

.navbar-brand .logo-link:hover {
    transform: scale(1.02);
}

.navbar-brand .logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
    display: block;
    vertical-align: middle;
}

.navbar-brand .logo-text {
    font-size: 1.25rem;
    font-weight: bold;
    color: var(--color-primary);
    line-height: 1;
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
    white-space: nowrap;
}

.navbar-brand img {
    height: 50px;
}

.navbar-brand h1 {
    font-size: 1.5rem;
    color: var(--color-primary);
    margin: 0;
}

.navbar-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.navbar-menu li {
    position: relative;
}

.navbar-menu a {
    display: block;
    padding: 20px 15px;
    color: var(--color-dark);
    font-weight: 500;
    transition: var(--transition);
}

.navbar-menu a:hover,
.navbar-menu a.active {
    color: var(--color-primary);
    background: var(--color-cream);
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--color-white);
    min-width: 220px;
    box-shadow: var(--shadow-lg);
    border-radius: var(--border-radius);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    z-index: 1000;
    display: block;
}

.dropdown:hover .dropdown-menu,
.dropdown.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    padding: 12px 20px;
    border-bottom: 1px solid var(--color-light-gray);
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--color-dark);
    transition: var(--transition);
}

.dropdown-menu a:hover {
    background: var(--color-cream);
    color: var(--color-primary);
}

.dropdown-menu a:last-child {
    border-bottom: none;
}

/* Mobile Menu Toggle */
.navbar-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--color-dark);
    cursor: pointer;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    color: var(--color-white);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    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 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,138.7C960,139,1056,117,1152,112C1248,107,1344,117,1392,122.7L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-size: cover;
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--color-white);
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.btn-primary {
    background: var(--color-primary);
    color: var(--color-white);
}

.btn-primary:hover {
    background: #8a1a1e;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: var(--color-secondary);
    color: var(--color-white);
}

.btn-secondary:hover {
    background: #003d1f;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
}

.btn-outline:hover {
    background: var(--color-primary);
    color: var(--color-white);
}

.btn-white {
    background: var(--color-white);
    color: var(--color-primary);
}

.btn-white:hover {
    background: var(--color-cream);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-lg {
    padding: 15px 40px;
    font-size: 1.1rem;
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.9rem;
}

.btn-block {
    display: block;
    width: 100%;
}

/* Cards */
.card {
    background: var(--color-white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.card-header {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    color: var(--color-white);
    padding: 20px;
}

/* Fix untuk semua teks di card-header agar berwarna putih */
.card-header h1,
.card-header h2,
.card-header h3,
.card-header h4,
.card-header h5,
.card-header h6 {
    color: var(--color-white) !important;
    margin-bottom: 0;
}

.card-header p,
.card-header span,
.card-header small,
.card-header a,
.card-header i {
    color: var(--color-white) !important;
}

.card-header .badge {
    background: rgba(255, 255, 255, 0.2);
    color: var(--color-white);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.card-header .mb-0 {
    margin-bottom: 0 !important;
}

.card-body {
    padding: 20px;
}

.card-footer {
    background: var(--color-cream);
    padding: 15px 20px;
    border-top: 1px solid var(--color-light-gray);
}

.card-img-top {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* Forms */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: var(--color-dark);
}

.form-control {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid var(--color-light-gray);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(169, 30, 35, 0.1);
}

/* Fix untuk Select Dropdown - teks tidak terpotong */
select.form-control,
.form-control select,
select[class*="form-control"] {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    padding-right: 35px !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E") !important;
    background-position: right 12px center !important;
    background-repeat: no-repeat !important;
    background-size: 12px !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    cursor: pointer !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
}

/* Ensure options are fully visible */
select.form-control option,
.form-control select option,
select[class*="form-control"] option {
    padding: 8px 12px !important;
    color: var(--color-dark) !important;
    background: var(--color-white) !important;
    white-space: normal !important;
}

/* Firefox specific fix */
@-moz-document url-prefix() {
    select.form-control,
    .form-control select,
    select[class*="form-control"] {
        padding-right: 30px !important;
    }
}

.form-control-file {
    padding: 8px 0;
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.form-check {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.form-check-input {
    margin-right: 10px;
}

.form-text {
    font-size: 0.875rem;
    color: var(--color-gray);
    margin-top: 5px;
}

.invalid-feedback {
    color: var(--color-danger);
    font-size: 0.875rem;
    margin-top: 5px;
}

.is-invalid {
    border-color: var(--color-danger);
}

/* Alerts */
.alert {
    padding: 15px 20px;
    border-radius: var(--border-radius);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error,
.alert-danger {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert-warning {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeeba;
}

.alert-info {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

.alert-icon {
    font-size: 1.5rem;
}

.alert-close {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0.5;
    transition: var(--transition);
}

.alert-close:hover {
    opacity: 1;
}

/* Tables */
.table {
    width: 100%;
    border-collapse: collapse;
    background: var(--color-white);
}

.table th,
.table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid var(--color-light-gray);
}

.table th {
    background: var(--color-cream);
    font-weight: 600;
    color: var(--color-dark);
}

.table-striped tbody tr:nth-child(even) {
    background: var(--color-blue-white);
}

.table-hover tbody tr:hover {
    background: var(--color-cream);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 30px 0;
}

.pagination-numbers {
    display: flex;
    gap: 5px;
}

.pagination a,
.pagination span {
    padding: 8px 12px;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.pagination a {
    background: var(--color-white);
    color: var(--color-dark);
    border: 1px solid var(--color-light-gray);
}

.pagination a:hover {
    background: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
}

.pagination-current {
    background: var(--color-primary);
    color: var(--color-white);
}

/* Badge */
.badge {
    display: inline-block;
    padding: 4px 8px;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 4px;
    text-transform: uppercase;
}

.badge-primary {
    background: var(--color-primary);
    color: var(--color-white);
}

.badge-secondary {
    background: var(--color-secondary);
    color: var(--color-white);
}

.badge-success {
    background: var(--color-success);
    color: var(--color-white);
}

.badge-warning {
    background: var(--color-warning);
    color: var(--color-white);
}

.badge-danger {
    background: var(--color-danger);
    color: var(--color-white);
}

/* Grid System */
.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col {
    flex: 1;
    padding: 0 15px;
}

.col-1 { flex: 0 0 8.333333%; max-width: 8.333333%; }
.col-2 { flex: 0 0 16.666667%; max-width: 16.666667%; }
.col-3 { flex: 0 0 25%; max-width: 25%; }
.col-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
.col-5 { flex: 0 0 41.666667%; max-width: 41.666667%; }
.col-6 { flex: 0 0 50%; max-width: 50%; }
.col-7 { flex: 0 0 58.333333%; max-width: 58.333333%; }
.col-8 { flex: 0 0 66.666667%; max-width: 66.666667%; }
.col-9 { flex: 0 0 75%; max-width: 75%; }
.col-10 { flex: 0 0 83.333333%; max-width: 83.333333%; }
.col-11 { flex: 0 0 91.666667%; max-width: 91.666667%; }
.col-12 { flex: 0 0 100%; max-width: 100%; }

/* Section */
.section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--color-dark);
    margin-bottom: 10px;
}

.section-title p {
    font-size: 1.1rem;
    color: var(--color-gray);
}

/* Footer */
.footer {
    background: var(--color-dark);
    color: var(--color-white);
    padding: 40px 0 20px;
    margin-top: auto;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h3 {
    color: var(--color-white);
    margin-bottom: 20px;
}

.footer-section p,
.footer-section ul {
    color: rgba(255, 255, 255, 0.8);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
}

.footer-section a:hover {
    color: var(--color-white);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* Member Card */
.member-card {
    background: var(--color-white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    padding: 30px;
    max-width: 400px;
    margin: 0 auto;
    text-align: center;
}

.member-card-header {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    color: var(--color-white);
    margin: -30px -30px 20px;
    padding: 20px;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.member-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid var(--color-white);
    margin: 0 auto 20px;
    object-fit: contain;
    background: #f8f9fa;
}

/* Member Photo Variants */
.member-photo-square {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #f8f9fa;
    border-radius: 0;
}

.member-photo-cover {
    object-fit: cover;
    background: transparent;
}

.member-photo-wrapper {
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    min-height: 200px;
    padding: 15px;
}

.member-photo-wrapper img {
    max-width: calc(100% - 30px);
    max-height: none;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    display: block;
}

.member-info {
    margin-bottom: 20px;
}

.member-info h3 {
    color: var(--color-primary);
    margin-bottom: 5px;
}

.member-info p {
    color: var(--color-gray);
    margin-bottom: 5px;
}

.qr-code {
    width: 150px;
    height: 150px;
    margin: 20px auto;
    padding: 10px;
    background: var(--color-white);
    border: 1px solid var(--color-light-gray);
    border-radius: var(--border-radius);
}

/* Dashboard Stats */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: var(--color-white);
    border-radius: var(--border-radius);
    padding: 20px;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 20px;
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--color-white);
}

.stat-icon.primary {
    background: var(--color-primary);
}

.stat-icon.secondary {
    background: var(--color-secondary);
}

.stat-icon.success {
    background: var(--color-success);
}

.stat-icon.warning {
    background: var(--color-warning);
}

.stat-content h3 {
    font-size: 2rem;
    margin-bottom: 5px;
}

.stat-content p {
    color: var(--color-gray);
    margin: 0;
}

/* Loading Spinner */
.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--color-light-gray);
    border-top-color: var(--color-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.text-primary { color: var(--color-primary); }
.text-secondary { color: var(--color-secondary); }
.text-success { color: var(--color-success); }
.text-danger { color: var(--color-danger); }
.text-warning { color: var(--color-warning); }
.text-muted { color: var(--color-gray); }

.bg-primary { background: var(--color-primary); }
.bg-secondary { background: var(--color-secondary); }
.bg-white { background: var(--color-white); }
.bg-cream { background: var(--color-cream); }
.bg-light { background: var(--color-light-gray); }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }

.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }
.p-4 { padding: 2rem; }
.p-5 { padding: 3rem; }

.d-none { display: none; }
.d-block { display: block; }
.d-flex { display: flex; }
.d-grid { display: grid; }

.justify-content-center { justify-content: center; }
.justify-content-between { justify-content: space-between; }
.align-items-center { align-items: center; }

/* Mobile-First Responsive Design */

/* Mobile Navigation Improvements */
.navbar-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--color-dark);
    cursor: pointer;
    padding: 10px;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.navbar-toggle:hover {
    background: var(--color-light-gray);
}

/* Mobile Header Improvements */
.header-top {
    display: block;
}

.header-contact {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.header-social {
    display: flex;
    gap: 10px;
}

/* Enhanced Mobile Menu */
.navbar-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

/* Mobile Table Responsiveness */
.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.table-responsive .table {
    min-width: 600px;
}

/* Mobile Card Improvements */
.card-mobile {
    margin-bottom: 15px;
}

.card-mobile .card-body {
    padding: 15px;
}

/* Mobile Form Improvements */
.form-row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -10px;
}

.form-col {
    flex: 1;
    padding: 0 10px;
    min-width: 0;
}

/* Mobile Button Groups */
.btn-group-mobile {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn-group-mobile .btn {
    width: 100%;
    margin: 0;
}

/* Mobile Modal Improvements */
.modal-mobile {
    padding: 15px;
}

.modal-mobile .modal-dialog {
    margin: 0;
    max-width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
}

.modal-mobile .modal-content {
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
}

/* Mobile Alert Improvements */
.alert-mobile {
    margin: 10px 0;
    padding: 12px 15px;
    font-size: 0.9rem;
}

/* Mobile Stats Grid */
.stats-grid-mobile {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

.stat-card-mobile {
    padding: 15px;
    text-align: center;
}

.stat-card-mobile .stat-icon {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
    margin: 0 auto 10px;
}

/* Mobile Member Dashboard */
.member-dashboard-mobile {
    padding: 15px 0;
}

.welcome-box-mobile {
    padding: 20px 15px;
    text-align: center;
}

.welcome-box-mobile h2 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.welcome-box-mobile .info-badge {
    display: block;
    margin: 5px 0;
    padding: 5px 10px;
    font-size: 0.8rem;
}

.profile-avatar-mobile {
    width: 80px;
    height: 80px;
    margin: 0 auto 15px;
}

.menu-card-mobile {
    padding: 15px;
    margin-bottom: 10px;
    min-height: auto;
}

.menu-card-mobile .icon-box {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.menu-card-mobile h5 {
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.menu-card-mobile p {
    font-size: 0.75rem;
}

/* Mobile Content Cards */
.content-card-mobile {
    margin-bottom: 15px;
}

.content-card-mobile .card-header {
    padding: 12px 15px;
}

.content-card-mobile .card-header h4 {
    font-size: 1rem;
}

.content-card-mobile .card-body {
    padding: 15px;
}

/* Mobile Info Table */
.info-table-mobile {
    font-size: 0.8rem;
}

.info-table-mobile td {
    padding: 8px 5px;
    display: block;
    border: none;
    border-bottom: 1px solid #f0f0f0;
}

.info-table-mobile td:first-child {
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 2px;
}

.info-table-mobile td:last-child {
    margin-bottom: 10px;
}

/* Tablet Styles */
@media (max-width: 1024px) {
    .container {
        padding: 0 20px;
    }
    
    .navbar-brand h1 {
        font-size: 1.3rem;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile Styles */
@media (max-width: 768px) {
    /* Hide desktop header top on mobile */
    .header-top {
        display: none;
    }
    
    /* Mobile Navigation */
    .navbar {
        position: relative;
    }
    
    .navbar .container {
        padding: 10px 15px;
    }
    
    .navbar-brand .logo-img {
        height: 40px;
    }
    
    .navbar-brand .logo-text {
        font-size: 1rem;
    }
    
    .navbar-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--color-white);
        flex-direction: column;
        box-shadow: var(--shadow-lg);
        z-index: 1000;
        max-height: 70vh;
        overflow-y: auto;
    }
    
    .navbar-menu.active {
        display: flex;
    }
    
    .navbar-menu li {
        width: 100%;
        border-bottom: 1px solid var(--color-light-gray);
    }
    
    .navbar-menu a {
        padding: 15px 20px;
        display: flex;
        align-items: center;
        gap: 10px;
    }
    
    .navbar-menu .btn {
        margin: 10px 20px;
        width: calc(100% - 40px);
        text-align: center;
    }
    
    .navbar-toggle {
        display: block;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 0;
        visibility: hidden;
        max-height: 0;
        overflow: hidden;
        transform: none;
        box-shadow: none;
        background: var(--color-cream);
        border-radius: 0;
        transition: all 0.3s ease;
    }
    
    /* Show dropdown when active on mobile */
    .dropdown.active .dropdown-menu {
        opacity: 1;
        visibility: visible;
        max-height: 500px;
    }
    
    .dropdown-menu a {
        padding: 12px 40px;
        font-size: 0.9rem;
    }
    
    /* Rotate chevron when dropdown is active */
    .dropdown.active > a .fa-chevron-down {
        transform: rotate(180deg);
    }
    
    .dropdown > a .fa-chevron-down {
        transition: transform 0.3s ease;
    }
    
    /* Mobile Hero */
    .hero {
        padding: 40px 0;
        text-align: center;
    }
    
    .hero h1 {
        font-size: 1.8rem;
        line-height: 1.2;
    }
    
    .hero p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    /* Mobile Buttons */
    .btn {
        padding: 12px 20px;
        font-size: 0.9rem;
        width: auto;
    }
    
    .btn-lg {
        padding: 15px 25px;
        font-size: 1rem;
    }
    
    .btn-sm {
        padding: 8px 15px;
        font-size: 0.8rem;
    }
    
    .btn-block {
        width: 100%;
        margin-bottom: 10px;
    }
    
    /* Mobile Grid */
    .row {
        margin: 0 -10px;
    }
    
    .row > [class*="col-"] {
        padding: 0 10px;
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 20px;
    }
    
    /* Mobile Cards */
    .card {
        margin-bottom: 20px;
    }
    
    .card-body {
        padding: 15px;
    }
    
    .card-header {
        padding: 12px 15px;
    }
    
    .card-footer {
        padding: 12px 15px;
    }
    
    /* Mobile Tables */
    .table-responsive {
        border: none;
        margin-bottom: 20px;
    }
    
    .table {
        font-size: 0.8rem;
    }
    
    .table th,
    .table td {
        padding: 8px 6px;
        white-space: nowrap;
    }
    
    /* Mobile Forms */
    .form-group {
        margin-bottom: 15px;
    }
    
    .form-control {
        padding: 12px 15px;
        font-size: 1rem;
    }
    
    /* Mobile Select Dropdown */
    select.form-control {
        font-size: 0.95rem;
        padding: 12px 35px 12px 15px;
        background-position: right 10px center;
    }
    
    .form-row {
        flex-direction: column;
    }
    
    .form-col {
        padding: 0;
        margin-bottom: 15px;
    }
    
    /* Mobile Footer */
    .footer {
        padding: 30px 0 15px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .footer-section h3 {
        font-size: 1.1rem;
        margin-bottom: 15px;
    }
    
    .footer-section ul li {
        margin-bottom: 8px;
    }
    
    .footer-section a {
        font-size: 0.9rem;
    }
    
    .newsletter-form form {
        flex-direction: column;
        gap: 10px;
    }
    
    .newsletter-form input,
    .newsletter-form button {
        border-radius: var(--border-radius);
        width: 100%;
    }
    
    /* Mobile Stats */
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .stat-card {
        padding: 15px;
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .stat-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .stat-content h3 {
        font-size: 1.5rem;
        margin-bottom: 2px;
    }
    
    /* Mobile Testimonials */
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .testimonial-card {
        padding: 20px 15px;
    }
    
    .testimonial-text {
        font-size: 0.95rem;
    }
    
    .author-avatar {
        width: 50px;
        height: 50px;
    }
    
    .quote-icon {
        font-size: 1.5rem;
    }
    
    /* Mobile Member Dashboard */
    .member-dashboard {
        padding: 20px 0;
    }
    
    .welcome-box {
        padding: 20px 15px;
        margin-bottom: 20px;
        text-align: center;
    }
    
    .welcome-box h2 {
        font-size: 1.4rem;
        margin-bottom: 15px;
    }
    
    .welcome-box .info-badge {
        display: block;
        margin: 8px auto;
        padding: 6px 12px;
        font-size: 0.8rem;
        max-width: 200px;
    }
    
    .profile-avatar {
        width: 80px;
        height: 80px;
        margin: 0 auto 15px;
    }
    
    .menu-card {
        padding: 15px 10px;
        margin-bottom: 15px;
        min-height: auto;
    }
    
    .menu-card .icon-box {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
        margin-bottom: 8px;
    }
    
    .menu-card h5 {
        font-size: 0.9rem;
        margin-bottom: 4px;
    }
    
    .menu-card p {
        font-size: 0.75rem;
        line-height: 1.3;
    }
    
    .content-card {
        margin-bottom: 20px;
    }
    
    .content-card .card-header {
        padding: 12px 15px;
    }
    
    .content-card .card-header h4 {
        font-size: 1rem;
    }
    
    .content-card .card-body {
        padding: 15px;
    }
    
    .info-table {
        font-size: 0.85rem;
    }
    
    .info-table td {
        padding: 8px 5px;
    }
    
    .info-table td:first-child {
        width: 40%;
        font-size: 0.8rem;
    }
    
    .info-table td:last-child {
        width: 60%;
        font-size: 0.8rem;
        word-break: break-word;
    }
    
    /* Mobile Alerts */
    .alert {
        padding: 12px 15px;
        margin-bottom: 15px;
        font-size: 0.9rem;
    }
    
    .alert-icon {
        font-size: 1.2rem;
    }
    
    /* Mobile Modals */
    .modal {
        padding: 15px;
    }
    
    .modal-dialog {
        margin: 0;
        max-width: 100%;
        height: 100vh;
        display: flex;
        align-items: center;
    }
    
    .modal-content {
        width: 100%;
        max-height: 90vh;
        overflow-y: auto;
        border-radius: var(--border-radius);
    }
    
    .modal-header {
        padding: 15px;
    }
    
    .modal-body {
        padding: 15px;
    }
    
    .modal-footer {
        padding: 15px;
        flex-direction: column;
        gap: 10px;
    }
    
    .modal-footer .btn {
        width: 100%;
        margin: 0;
    }
    
    /* Mobile Back to Top */
    .back-to-top {
        width: 45px;
        height: 45px;
        bottom: 15px;
        right: 15px;
        font-size: 1rem;
    }
    
    /* Mobile Pagination */
    .pagination {
        flex-wrap: wrap;
        gap: 5px;
        margin: 20px 0;
    }
    
    .pagination a,
    .pagination span {
        padding: 6px 10px;
        font-size: 0.8rem;
    }
}

/* Small Mobile Styles */
@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    /* Typography adjustments */
    h1 { font-size: 1.5rem; line-height: 1.2; }
    h2 { font-size: 1.3rem; line-height: 1.2; }
    h3 { font-size: 1.1rem; line-height: 1.2; }
    h4 { font-size: 1rem; line-height: 1.2; }
    h5 { font-size: 0.9rem; line-height: 1.2; }
    h6 { font-size: 0.8rem; line-height: 1.2; }
    
    /* Small mobile navigation */
    .navbar .container {
        padding: 8px 10px;
    }
    
    .navbar-brand .logo-img {
        height: 35px;
    }
    
    .navbar-brand .logo-text {
        font-size: 0.9rem;
    }
    
    .navbar-menu a {
        padding: 12px 15px;
        font-size: 0.9rem;
    }
    
    /* Small mobile hero */
    .hero {
        padding: 30px 0;
    }
    
    .hero h1 {
        font-size: 1.5rem;
    }
    
    .hero p {
        font-size: 0.9rem;
    }
    
    /* Small mobile buttons */
    .btn {
        padding: 10px 15px;
        font-size: 0.85rem;
    }
    
    .btn-lg {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
    
    /* Small mobile cards */
    .card-body {
        padding: 12px;
    }
    
    .card-header {
        padding: 10px 12px;
    }
    
    /* Small mobile forms */
    .form-control {
        padding: 10px 12px;
        font-size: 0.9rem;
    }
    
    /* Small mobile member dashboard */
    .welcome-box {
        padding: 15px 10px;
    }
    
    .welcome-box h2 {
        font-size: 1.2rem;
    }
    
    .welcome-box .info-badge {
        font-size: 0.7rem;
        padding: 4px 8px;
    }
    
    .profile-avatar {
        width: 70px;
        height: 70px;
    }
    
    .menu-card {
        padding: 12px 8px;
    }
    
    .menu-card .icon-box {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
    
    .menu-card h5 {
        font-size: 0.8rem;
    }
    
    .menu-card p {
        font-size: 0.7rem;
    }
    
    .content-card .card-header h4 {
        font-size: 0.9rem;
    }
    
    .info-table {
        font-size: 0.75rem;
    }
    
    .info-table td {
        padding: 6px 3px;
    }
    
    /* Small mobile sections */
    .section {
        padding: 30px 0;
    }
    
    .section-title h2 {
        font-size: 1.5rem;
    }
    
    .section-title p {
        font-size: 0.9rem;
    }
    
    /* Small mobile footer */
    .footer {
        padding: 20px 0 10px;
    }
    
    .footer-section h3 {
        font-size: 1rem;
    }
    
    .footer-section a {
        font-size: 0.8rem;
    }
    
    .footer-bottom {
        font-size: 0.8rem;
        padding-top: 15px;
    }
}

/* Landscape Mobile Styles */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        padding: 20px 0;
    }
    
    .hero h1 {
        font-size: 1.6rem;
    }
    
    .member-dashboard {
        padding: 15px 0;
    }
    
    .welcome-box {
        padding: 15px;
    }
    
    .welcome-box h2 {
        font-size: 1.3rem;
        margin-bottom: 10px;
    }
    
    .row > [class*="col-"] {
        margin-bottom: 15px;
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .navbar-brand .logo-img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Touch Device Improvements */
@media (hover: none) and (pointer: coarse) {
    .btn:hover {
        transform: none;
    }
    
    .card:hover {
        transform: none;
    }
    
    .menu-card:hover {
        transform: none;
    }
    
    /* Increase touch targets */
    .btn {
        min-height: 44px;
        min-width: 44px;
    }
    
    .navbar-menu a {
        min-height: 44px;
        display: flex;
        align-items: center;
    }
    
    .form-control {
        min-height: 44px;
    }
    
    .back-to-top {
        width: 50px;
        height: 50px;
    }
}

/* ===== ABOUT SECTION MODERN ===== */
.about-section-modern {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 50%, #ffffff 100%);
    overflow: hidden;
}

.about-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(169, 30, 35, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(0, 80, 41, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(169, 30, 35, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.about-content-modern {
    position: relative;
    z-index: 2;
}

/* Section Header Modern */
.section-header-modern {
    text-align: center;
    margin-bottom: 50px;
}

.section-badge-modern {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, rgba(169, 30, 35, 0.1), rgba(0, 80, 41, 0.1));
    color: var(--color-primary);
    padding: 10px 25px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
    border: 2px solid rgba(169, 30, 35, 0.2);
    transition: all 0.3s ease;
}

.section-badge-modern:hover {
    background: linear-gradient(135deg, rgba(169, 30, 35, 0.15), rgba(0, 80, 41, 0.15));
    border-color: var(--color-primary);
    transform: translateY(-2px);
}

.section-badge-modern i {
    font-size: 16px;
}

.section-title-modern {
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 20px;
    line-height: 1.2;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.title-divider-modern {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin: 0 auto;
    max-width: 300px;
}

.divider-dot {
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

.divider-line {
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-primary), var(--color-secondary), transparent);
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.7; }
}

/* About Description Modern */
.about-description-modern {
    max-width: 900px;
    margin: 0 auto 50px;
    text-align: center;
}

.lead-modern {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--color-dark);
    margin-bottom: 20px;
    font-weight: 400;
}

.highlight-text {
    font-weight: 700;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.secondary-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #6c757d;
    margin-bottom: 0;
}

/* Features Grid Modern */
.features-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.feature-card-modern {
    background: white;
    padding: 35px 25px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid transparent;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.feature-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(169, 30, 35, 0.05), transparent);
    transition: left 0.5s ease;
}

.feature-card-modern:hover::before {
    left: 100%;
}

.feature-card-modern:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--color-primary);
}

.feature-icon-modern {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 32px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(169, 30, 35, 0.3);
}

.feature-card-modern:hover .feature-icon-modern {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 40px rgba(169, 30, 35, 0.4);
}

.feature-card-modern h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 12px;
    transition: color 0.3s ease;
}

.feature-card-modern:hover h4 {
    color: var(--color-primary);
}

.feature-card-modern p {
    font-size: 0.95rem;
    color: #6c757d;
    line-height: 1.6;
    margin: 0;
}

/* About CTA Modern */
.about-cta-modern {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-modern {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 40px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-modern::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.5s ease, height 0.5s ease;
    z-index: -1;
}

.btn-modern:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary-modern {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: white;
    border: 2px solid transparent;
    box-shadow: 0 10px 30px rgba(169, 30, 35, 0.3);
}

.btn-primary-modern::before {
    background: rgba(255, 255, 255, 0.2);
}

.btn-primary-modern:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(169, 30, 35, 0.4);
    color: white;
}

.btn-outline-modern {
    background: white;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-outline-modern::before {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
}

.btn-outline-modern:hover {
    transform: translateY(-3px);
    color: white;
    border-color: var(--color-primary);
    box-shadow: 0 10px 25px rgba(169, 30, 35, 0.3);
}

.btn-modern i {
    transition: transform 0.3s ease;
}

.btn-modern:hover i {
    transform: translateX(5px);
}

/* Responsive About Section Modern */
@media (max-width: 1024px) {
    .section-title-modern {
        font-size: 2.5rem;
    }
    
    .features-grid-modern {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .about-section-modern {
        padding: 60px 0;
    }
    
    .section-header-modern {
        margin-bottom: 40px;
    }
    
    .section-badge-modern {
        font-size: 12px;
        padding: 8px 20px;
        letter-spacing: 1px;
    }
    
    .section-title-modern {
        font-size: 2rem;
        margin-bottom: 15px;
    }
    
    .about-description-modern {
        margin-bottom: 40px;
    }
    
    .lead-modern {
        font-size: 1.1rem;
        line-height: 1.6;
    }
    
    .secondary-text {
        font-size: 0.95rem;
    }
    
    .features-grid-modern {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 40px;
    }
    
    .feature-card-modern {
        padding: 30px 20px;
    }
    
    .feature-icon-modern {
        width: 70px;
        height: 70px;
        font-size: 28px;
        border-radius: 15px;
    }
    
    .feature-card-modern h4 {
        font-size: 1rem;
    }
    
    .feature-card-modern p {
        font-size: 0.9rem;
    }
    
    .about-cta-modern {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn-modern {
        width: 100%;
        justify-content: center;
        padding: 14px 30px;
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .about-section-modern {
        padding: 50px 0;
    }
    
    .section-badge-modern {
        font-size: 11px;
        padding: 6px 18px;
    }
    
    .section-badge-modern i {
        font-size: 14px;
    }
    
    .section-title-modern {
        font-size: 1.75rem;
    }
    
    .lead-modern {
        font-size: 1rem;
    }
    
    .secondary-text {
        font-size: 0.9rem;
    }
    
    .feature-card-modern {
        padding: 25px 15px;
        border-radius: 15px;
    }
    
    .feature-icon-modern {
        width: 60px;
        height: 60px;
        font-size: 24px;
        border-radius: 12px;
    }
    
    .btn-modern {
        padding: 12px 25px;
        font-size: 14px;
    }
}

/* Testimonials Section */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.testimonial-card {
    background: var(--color-white);
    border-radius: 15px;
    padding: 30px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.testimonial-content {
    margin-bottom: 25px;
}

.quote-icon {
    color: var(--color-primary);
    font-size: 2rem;
    margin-bottom: 15px;
    opacity: 0.3;
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--color-dark);
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-rating {
    color: #ffc107;
    font-size: 1.2rem;
    margin-bottom: 0;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-size: 1.5rem;
}

.author-info h5 {
    margin: 0 0 5px;
    color: var(--color-dark);
    font-size: 1.1rem;
    font-weight: 600;
}

.author-info p {
    margin: 0;
    color: var(--color-gray);
    font-size: 0.9rem;
    line-height: 1.4;
}

.author-info .company {
    color: var(--color-primary);
    font-weight: 500;
}

/* Responsive Testimonials */
@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .testimonial-card {
        padding: 20px;
    }
    
    .testimonial-text {
        font-size: 1rem;
    }
    
    .author-avatar {
        width: 50px;
        height: 50px;
    }
    
    .quote-icon {
        font-size: 1.5rem;
    }
}

/* Print Styles */
@media print {
    .header,
    .navbar,
    .footer,
    .btn,
    .alert-close {
        display: none;
    }
    
    body {
        font-size: 12pt;
    }
    
    .container {
        max-width: 100%;
    }
}
