/* ===========================================
   FORMULIR KONSULTASI ONLINE
   =========================================== */

/* Container Utama */
.consultation-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

.consultation-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 30px;
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-blue) 100%);
    border-radius: var(--border-radius);
    color: white;
    position: relative;
    overflow: hidden;
}

.consultation-header::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 100 100" preserveAspectRatio="none" opacity="0.1"><path d="M0,0 L100,0 L100,100 Z" fill="white"/></svg>');
    background-size: cover;
}

.consultation-header h1 {
    color: white;
    font-size: 2.2rem;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.consultation-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

/* Form Container */
.consultation-form-container {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    margin-bottom: 40px;
}

.form-header {
    padding: 25px 30px;
    background: linear-gradient(135deg, var(--light-cream) 0%, #f0f7ff 100%);
    border-bottom: 1px solid rgba(10, 107, 74, 0.1);
}

.form-header h2 {
    color: var(--primary-green);
    font-size: 1.5rem;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-header h2 i {
    color: var(--primary-gold);
}

.form-description {
    color: var(--primary-blue);
    font-size: 0.95rem;
    margin: 0;
}

/* Form Steps */
.form-steps {
    display: flex;
    justify-content: space-between;
    padding: 30px;
    background: var(--light-cream);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
}

.form-steps::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 2px;
    background: rgba(10, 107, 74, 0.1);
    z-index: 1;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    flex: 1;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    border: 2px solid rgba(10, 107, 74, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: var(--primary-green);
    margin-bottom: 10px;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.step.active .step-number {
    background: var(--primary-green);
    color: white;
    border-color: var(--primary-green);
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(10, 107, 74, 0.2);
}

.step.completed .step-number {
    background: var(--primary-green);
    color: white;
    border-color: var(--primary-green);
}

.step.completed .step-number::after {
    content: '✓';
    font-weight: bold;
}

.step-label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--dark-text);
    text-align: center;
    max-width: 100px;
    line-height: 1.3;
}

.step.active .step-label {
    color: var(--primary-green);
    font-weight: 600;
}

/* Form Content */
.form-content {
    padding: 30px;
}

.form-section {
    margin-bottom: 40px;
    animation: fadeIn 0.5s ease;
}

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

.section-title {
    font-size: 1.2rem;
    color: var(--primary-green);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--light-cream);
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-title i {
    color: var(--primary-gold);
}

/* Form Grid */
.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

/* Form Groups */
.form-group {
    margin-bottom: 25px;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark-text);
    font-size: 0.95rem;
}

.form-label.required::after {
    content: ' *';
    color: #e74c3c;
}

/* Input Styles */
.form-input {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e0e6ef;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
    background: white;
    color: var(--dark-text);
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(10, 107, 74, 0.1);
}

.form-input:hover {
    border-color: #b8c4d6;
}

.form-input.error {
    border-color: #e74c3c;
    background: #fff9f9;
}

.form-input.success {
    border-color: #27ae60;
    background: #f9fff9;
}

/* Textarea */
textarea.form-input {
    min-height: 120px;
    resize: vertical;
    line-height: 1.5;
}

/* Select Styles */
.form-select {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e0e6ef;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    background: white url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%230A6B4A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") no-repeat right 16px center;
    background-size: 16px;
    appearance: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.form-select:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(10, 107, 74, 0.1);
}

/* Radio Group */
.radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 10px;
}

.radio-option {
    position: relative;
}

.radio-option input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: white;
    border: 2px solid #e0e6ef;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    min-width: 120px;
}

.radio-label:hover {
    border-color: var(--primary-green);
    background: rgba(10, 107, 74, 0.02);
}

.radio-label i {
    color: var(--primary-green);
    font-size: 1.2rem;
}

.radio-option input[type="radio"]:checked + .radio-label {
    background: rgba(10, 107, 74, 0.08);
    border-color: var(--primary-green);
    color: var(--primary-green);
    font-weight: 600;
}

.radio-option input[type="radio"]:checked + .radio-label i {
    color: var(--primary-gold);
}

/* Checkbox */
.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 10px;
}

.checkbox-option {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.checkbox-option input[type="checkbox"] {
    position: absolute;
    opacity: 0;
}

.checkbox-custom {
    width: 20px;
    height: 20px;
    border: 2px solid #e0e6ef;
    border-radius: 4px;
    background: white;
    flex-shrink: 0;
    margin-top: 2px;
    position: relative;
    transition: all 0.3s ease;
}

.checkbox-custom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 10px;
    height: 10px;
    background: var(--primary-green);
    border-radius: 2px;
    transition: transform 0.2s ease;
}

.checkbox-option input[type="checkbox"]:checked + .checkbox-custom {
    border-color: var(--primary-green);
    background: white;
}

.checkbox-option input[type="checkbox"]:checked + .checkbox-custom::after {
    transform: translate(-50%, -50%) scale(1);
}

.checkbox-text {
    font-size: 0.95rem;
    line-height: 1.4;
    color: var(--dark-text);
}

.checkbox-text a {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 600;
}

.checkbox-text a:hover {
    text-decoration: underline;
}

/* File Upload */
.file-upload {
    position: relative;
    border: 2px dashed #e0e6ef;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    background: white;
    transition: all 0.3s ease;
    cursor: pointer;
}

.file-upload:hover {
    border-color: var(--primary-green);
    background: rgba(10, 107, 74, 0.02);
}

.file-upload.drag-over {
    border-color: var(--primary-green);
    background: rgba(10, 107, 74, 0.05);
    transform: scale(1.01);
}

.file-upload-icon {
    font-size: 2.5rem;
    color: var(--primary-green);
    margin-bottom: 15px;
}

.file-upload-text h4 {
    color: var(--primary-green);
    margin-bottom: 5px;
}

.file-upload-text p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.file-input {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    cursor: pointer;
}

.file-list {
    margin-top: 15px;
}

.file-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 15px;
    background: var(--light-cream);
    border-radius: 6px;
    margin-bottom: 8px;
    animation: slideIn 0.3s ease;
}

.file-item:last-child {
    margin-bottom: 0;
}

.file-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.file-icon {
    color: var(--primary-green);
}

.file-name {
    font-weight: 500;
    font-size: 0.9rem;
}

.file-size {
    font-size: 0.8rem;
    color: #666;
}

.file-remove {
    background: none;
    border: none;
    color: #e74c3c;
    cursor: pointer;
    padding: 5px;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.file-remove:hover {
    background: rgba(231, 76, 60, 0.1);
}

/* Character Counter */
.char-counter {
    text-align: right;
    font-size: 0.85rem;
    color: #666;
    margin-top: 5px;
}

.char-counter.near-limit {
    color: #f39c12;
}

.char-counter.over-limit {
    color: #e74c3c;
    font-weight: 600;
}

/* Form Hints */
.form-hint {
    display: block;
    margin-top: 6px;
    font-size: 0.85rem;
    color: #666;
    line-height: 1.4;
}

.form-hint.error {
    color: #e74c3c;
    font-weight: 500;
}

.form-hint.success {
    color: #27ae60;
    font-weight: 500;
}

/* Form Actions */
.form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    background: var(--light-cream);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    gap: 15px;
}

.btn-prev,
.btn-next,
.btn-submit {
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 140px;
}

.btn-prev {
    background: white;
    color: var(--primary-green);
    border: 2px solid var(--primary-green);
}

.btn-prev:hover:not(:disabled) {
    background: var(--primary-green);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(10, 107, 74, 0.2);
}

.btn-prev:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    border-color: #ccc;
    color: #999;
}

.btn-next,
.btn-submit {
    background: var(--primary-green);
    color: white;
    border: 2px solid var(--primary-green);
}

.btn-next:hover:not(:disabled),
.btn-submit:hover:not(:disabled) {
    background: #08563d;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(10, 107, 74, 0.3);
}

.btn-next:disabled,
.btn-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-submit {
    background: var(--primary-gold);
    border-color: var(--primary-gold);
}

.btn-submit:hover:not(:disabled) {
    background: #b8942a;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

/* Progress Bar */
.form-progress {
    flex: 1;
    margin: 0 20px;
}

.progress-bar {
    height: 6px;
    background: #e0e6ef;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 8px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-green), var(--primary-blue));
    border-radius: 3px;
    transition: width 0.5s ease;
}

.progress-text {
    text-align: center;
    font-size: 0.9rem;
    color: var(--dark-text);
    font-weight: 500;
}

/* Form Summary */
.form-summary {
    background: white;
    border: 2px solid var(--light-cream);
    border-radius: 8px;
    padding: 25px;
    margin-top: 20px;
}

.summary-section {
    margin-bottom: 20px;
}

.summary-section:last-child {
    margin-bottom: 0;
}

.summary-title {
    font-size: 1rem;
    color: var(--primary-green);
    margin-bottom: 10px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.summary-content {
    padding-left: 24px;
}

.summary-item {
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #f5f5f5;
}

.summary-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.summary-label {
    color: #666;
    font-weight: 500;
}

.summary-value {
    color: var(--dark-text);
    font-weight: 600;
    text-align: right;
    max-width: 60%;
    word-break: break-word;
}

/* Success Message */
.success-message {
    text-align: center;
    padding: 60px 30px;
    animation: fadeInUp 0.8s ease;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-green);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 25px;
    animation: scaleIn 0.5s ease 0.3s both;
}

.success-message h2 {
    color: var(--primary-green);
    margin-bottom: 15px;
    font-size: 1.8rem;
}

.success-message p {
    color: #666;
    max-width: 500px;
    margin: 0 auto 30px;
    line-height: 1.6;
}

.success-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

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

@keyframes scaleIn {
    from {
        transform: scale(0);
    }
    to {
        transform: scale(1);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .consultation-container {
        padding: 15px;
    }
    
    .consultation-header {
        padding: 25px 20px;
        margin-bottom: 30px;
    }
    
    .consultation-header h1 {
        font-size: 1.8rem;
    }
    
    .consultation-subtitle {
        font-size: 1rem;
    }
    
    .form-header {
        padding: 20px;
    }
    
    .form-header h2 {
        font-size: 1.3rem;
    }
    
    .form-steps {
        padding: 20px 15px;
        flex-wrap: wrap;
        gap: 20px;
    }
    
    .form-steps::before {
        display: none;
    }
    
    .step {
        flex: 0 0 calc(50% - 20px);
        margin-bottom: 10px;
    }
    
    .form-content {
        padding: 20px;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .form-actions {
        flex-direction: column;
        gap: 15px;
        padding: 20px;
    }
    
    .form-actions .btn-prev,
    .form-actions .btn-next,
    .form-actions .btn-submit {
        width: 100%;
        min-width: auto;
    }
    
    .form-progress {
        margin: 0;
        width: 100%;
    }
    
    .radio-group {
        flex-direction: column;
        gap: 10px;
    }
    
    .radio-label {
        min-width: auto;
        justify-content: center;
    }
    
    .success-actions {
        flex-direction: column;
    }
    
    .success-actions .btn {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .consultation-header h1 {
        font-size: 1.5rem;
    }
    
    .step {
        flex: 0 0 100%;
    }
    
    .step-label {
        font-size: 0.8rem;
    }
    
    .section-title {
        font-size: 1.1rem;
    }
    
    .btn-prev,
    .btn-next,
    .btn-submit {
        padding: 12px 20px;
        font-size: 0.95rem;
    }
    
    .success-message h2 {
        font-size: 1.5rem;
    }
}

/* Print Styles */
@media print {
    .consultation-form-container {
        box-shadow: none;
        border: 1px solid #ddd;
    }
    
    .form-actions,
    .form-steps,
    .file-upload {
        display: none;
    }
    
    .form-input,
    .form-select,
    textarea {
        border: 1px solid #ddd !important;
        background: white !important;
    }
}

/* Loading State */
.btn-loading {
    position: relative;
    color: transparent !important;
}

.btn-loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Tooltip */
.form-tooltip {
    position: relative;
    display: inline-block;
    margin-left: 5px;
}

.tooltip-icon {
    width: 18px;
    height: 18px;
    background: var(--primary-blue);
    color: white;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    cursor: help;
}

.tooltip-text {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--dark-text);
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    margin-bottom: 8px;
}

.tooltip-text::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: var(--dark-text);
}

.tooltip-icon:hover + .tooltip-text {
    opacity: 1;
    visibility: visible;
}

/* Animation for form sections */
.form-section.hidden {
    display: none;
}

.form-section.visible {
    display: block;
    animation: slideInRight 0.5s ease;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Custom Radio untuk opsi jumlah */
.amount-options {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.amount-option {
    position: relative;
}

.amount-option input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.amount-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 15px;
    background: white;
    border: 2px solid #e0e6ef;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.amount-label:hover {
    border-color: var(--primary-green);
    transform: translateY(-2px);
}

.amount-option input[type="radio"]:checked + .amount-label {
    background: rgba(10, 107, 74, 0.08);
    border-color: var(--primary-green);
    color: var(--primary-green);
}

.amount-value {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.amount-description {
    font-size: 0.8rem;
    color: #666;
}

/* Custom checkbox untuk persetujuan */
.agreement-checkbox {
    background: var(--light-cream);
    padding: 20px;
    border-radius: 8px;
    border: 1px solid rgba(10, 107, 74, 0.1);
}

/* Responsive amount options */
@media (max-width: 768px) {
    .amount-options {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .amount-options {
        grid-template-columns: 1fr;
    }
}

/* ===========================================
   VARIABLES & RESET
   =========================================== */
:root {
    --primary-gold: #D4AF37;
    --primary-green: #0A6B4A;
    --primary-blue: #1E90B3;
    --light-cream: #F8F5E9;
    --light-gray: #F5F5F5;
    --white: #FFFFFF;
    --dark-text: #2C3E50;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    font-size: 16px;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--dark-text);
    background-color: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    padding-bottom: env(safe-area-inset-bottom);
}

/* ===========================================
   TYPOGRAPHY
   =========================================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--primary-green);
}

.arabic-font {
    font-family: 'Amiri', serif;
    font-weight: 700;
}

.section-title {
    position: relative;
    margin-bottom: 2rem;
    padding-bottom: 10px;
    padding-top: 50px;
    font-size: 1.8rem;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background-color: var(--primary-gold);
    border-radius: 2px;
}

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

.section-title.center:after {
    left: 50%;
    transform: translateX(-50%);
}

.section-subtitle {
    text-align: center;
    color: var(--primary-blue);
    font-weight: 500;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.1rem;
}

/* ===========================================
   LAYOUT & CONTAINER
   =========================================== */
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-content {
    padding: 100px 0;
    min-height: calc(100vh - 200px);
}

/* ===========================================
   HEADER
   =========================================== */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: var(--white);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    padding: 12px 0;
    z-index: 1000;
    transition: var(--transition);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    min-width: 280px;
}

.logo-image {
    width: 50px;
    height: 50px;
    margin-right: 12px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    /*background: linear-gradient(135deg, var(--primary-green), var(--primary-blue));*/
    flex-shrink: 0;
}

.logo-image img {
    width: 200px;
    height: 200px;
    object-fit: cover;
}

.logo-text {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-green);
    line-height: 1.2;
}

.logo-text span {
    color: var(--primary-gold);
    display: block;
}

.logo-subtext {
    font-size: 0.7rem;
    color: var(--primary-blue);
    margin-top: 2px;
    line-height: 1.1;
}

/* ===========================================
   DESKTOP NAVIGATION
   =========================================== */
.desktop-nav {
    display: flex;
    flex-grow: 1;
    justify-content: flex-end;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 1000px;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    margin: 0;
}

.nav-menu a {
    text-decoration: none;
    color: var(--dark-text);
    font-weight: 500;
    position: relative;
    font-size: 0.85rem;
    padding: 8px 12px;
    border-radius: 6px;
    display: block;
    white-space: nowrap;
    transition: var(--transition);
}

.nav-menu a:hover {
    color: var(--primary-green);
    background-color: rgba(10, 107, 74, 0.05);
}

.nav-menu a.active {
    color: var(--primary-green);
    font-weight: 600;
    background-color: rgba(10, 107, 74, 0.08);
}

.nav-menu a.active:after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 12px;
    right: 12px;
    height: 2px;
    background-color: var(--primary-gold);
    border-radius: 1px;
}

/* ===========================================
   MOBILE BOTTOM NAVIGATION - FIXED
   =========================================== */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--white);
    box-shadow: 0 -2px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 8px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    transform: translateY(0) !important;
    transition: transform 0.3s ease !important;
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.bottom-nav-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    max-width: 500px;
    margin: 0 auto;
    position: relative;
    padding: 0 5px;
}

.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--dark-text);
    padding: 8px 12px;
    border-radius: 10px;
    transition: var(--transition);
    flex: 1;
    max-width: 80px;
    position: relative;
    z-index: 1;
    min-height: 50px;
}

.bottom-nav-item:hover {
    background-color: rgba(10, 107, 74, 0.05);
    transform: translateY(-2px);
}

.bottom-nav-item.active {
    color: var(--primary-green);
    background-color: rgba(10, 107, 74, 0.08);
    position: relative;
}

.bottom-nav-item.active::after {
    content: '';
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 3px;
    background-color: var(--primary-green);
    border-radius: 2px;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        width: 0;
    }
    to {
        width: 30px;
    }
}

.bottom-nav-item.active .bottom-nav-icon {
    transform: translateY(-2px);
    animation: bounce 0.5s ease;
}

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

.bottom-nav-icon {
    font-size: 1.3rem;
    margin-bottom: 4px;
    transition: var(--transition);
}

.bottom-nav-label {
    font-size: 0.7rem;
    font-weight: 500;
    text-align: center;
    line-height: 1.1;
}

/* ===========================================
   MOBILE DROPDOWN
   =========================================== */
.bottom-nav-more {
    position: relative;
}

.mobile-dropdown {
    position: absolute;
    bottom: 60px;
    right: 10px;
    background-color: var(--white);
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    padding: 10px;
    min-width: 180px;
    display: none;
    z-index: 1001;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.mobile-dropdown.active {
    display: block;
    animation: fadeInUp 0.3s ease;
}

.mobile-dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    color: var(--dark-text);
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.9rem;
    margin-bottom: 5px;
    transition: var(--transition);
}

.mobile-dropdown-item:hover {
    background-color: rgba(10, 107, 74, 0.05);
    color: var(--primary-green);
}

.mobile-dropdown-item:last-child {
    margin-bottom: 0;
}

.mobile-dropdown-item.active {
    background-color: rgba(10, 107, 74, 0.1);
    color: var(--primary-green);
    font-weight: 600;
    position: relative;
}

.mobile-dropdown-item.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 20px;
    background-color: var(--primary-green);
    border-radius: 0 2px 2px 0;
}

#mobile-more.active {
    color: var(--primary-green);
    background-color: rgba(10, 107, 74, 0.08);
}

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

/* ===========================================
   BUTTONS
   =========================================== */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--primary-gold);
    color: white;
}

.btn-primary:hover {
    background-color: #b8942a;
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-green);
    border: 2px solid var(--primary-green);
}

.btn-secondary:hover {
    background-color: var(--primary-green);
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.btn-white {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.btn-white:hover {
    background-color: var(--primary-green);
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.btn-small {
    padding: 8px 20px;
    font-size: 0.9rem;
}

.btn-link {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
}

.btn-link:hover {
    color: var(--primary-gold);
    transform: translateX(5px);
}

/* ===========================================
   CARDS
   =========================================== */
.content-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
    overflow: hidden;
}

.card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    overflow: hidden;
    height: 100%;
}

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

.card-header {
    padding: 25px 25px 15px;
    border-bottom: 1px solid var(--light-gray);
}

.card-body {
    padding: 20px 25px;
}

.card-footer {
    padding: 15px 25px;
    border-top: 1px solid var(--light-gray);
    background-color: var(--light-cream);
}

.overview-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-top: 4px solid var(--primary-gold);
    height: 100%;
}

.overview-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.overview-icon {
    width: 70px;
    height: 70px;
    background-color: var(--light-cream);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--primary-green);
    font-size: 1.8rem;
}

.stat-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 25px;
    text-align: center;
    box-shadow: var(--shadow);
    border-top: 3px solid var(--primary-green);
}

.stat-number {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary-green);
    margin-bottom: 5px;
}

.stat-label {
    color: #666;
    font-size: 0.9rem;
    font-weight: 500;
}

/* ===========================================
   TABLES
   =========================================== */
.table-wrapper {
    width: 100%;
    overflow-x: auto;
    margin: 30px 0;
    border-radius: var(--border-radius);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    -webkit-overflow-scrolling: touch;
}

.table-container {
    min-width: 800px;
    width: 100%;
}

table {
    width: 100%;
    border-collapse: collapse;
    min-width: 800px;
}

th, td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
    white-space: nowrap;
    min-width: 150px;
}

th {
    background-color: var(--light-cream);
    color: var(--primary-green);
    font-weight: 600;
    position: sticky;
    top: 0;
    z-index: 10;
    font-size: 0.9rem;
}

td {
    font-size: 0.9rem;
    color: #555;
}

tr:hover {
    background-color: rgba(10, 107, 74, 0.02);
}

td:nth-child(2), th:nth-child(2) {
    min-width: 200px;
    max-width: 300px;
    white-space: normal;
    word-wrap: break-word;
}

td:nth-child(3), th:nth-child(3) {
    min-width: 180px;
    max-width: 250px;
    white-space: normal;
    word-wrap: break-word;
}

/* ===========================================
   HERO SECTION
   =========================================== */
.hero {
    padding: 160px 0 100px;
    background: linear-gradient(rgba(10, 107, 74, 0.85), rgba(30, 144, 179, 0.8)), url('https://images.unsplash.com/photo-1567427017947-545c5f8d16ad?ixlib=rb-4.0.3&auto=format&fit=crop&w=1200&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    position: relative;
    margin-top: 70px;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 2.8rem;
    color: white;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.hero-verse {
    font-size: 1.5rem;
    font-family: 'Amiri', serif;
    margin: 2.5rem 0;
    color: var(--primary-gold);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}

/* ===========================================
   GRID SYSTEM
   =========================================== */
.grid {
    display: grid;
    gap: 30px;
}

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

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

.overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

/* ===========================================
   FOOTER
   =========================================== */
footer {
    background-color: var(--primary-green);
    color: white;
    padding: 60px 0 30px;
    margin-top: auto;
}

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

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo .logo-text {
    color: white;
}

.footer-logo .logo-subtext {
    color: rgba(255, 255, 255, 0.8);
}

.footer-about p {
    margin-bottom: 20px;
    opacity: 0.9;
    line-height: 1.7;
}

.footer-links h3, .footer-contact h3 {
    color: var(--primary-gold);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

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

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
    padding: 5px 0;
}

.footer-links a:hover {
    color: var(--primary-gold);
    transform: translateX(5px);
}

.contact-info {
    margin-bottom: 20px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.contact-icon {
    width: 30px;
    color: var(--primary-gold);
    margin-right: 10px;
    margin-top: 3px;
    flex-shrink: 0;
}

.contact-item div {
    
    line-height: 1.5;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: var(--transition);
    flex-shrink: 0;
}

.social-icon:hover {
    background-color: var(--primary-gold);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    opacity: 0.8;
}

/* ===========================================
   UTILITY CLASSES
   =========================================== */
.text-center { text-align: center; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }
.p-4 { padding: 2rem; }
.text-primary { color: var(--primary-green); }
.text-secondary { color: var(--primary-blue); }
.text-gold { color: var(--primary-gold); }
.bg-light { background-color: var(--light-cream); }
.bg-white { background-color: var(--white); }

/* ===========================================
   RESPONSIVE DESIGN
   =========================================== */

/* Large Desktops */
@media (max-width: 1200px) {
    .container {
        max-width: 100%;
        padding: 0 25px;
    }
    
    .header-container {
        max-width: 100%;
        padding: 0 25px;
    }
    
    .grid-4 {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .overview-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 25px;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-verse {
        font-size: 1.3rem;
    }
}

/* Tablets */
@media (max-width: 992px) {
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .content-card {
        padding: 30px;
    }
    
    .logo {
        min-width: 160px;
    }
    
    .logo-image {
        width: 45px;
        height: 45px;
    }
    
    .logo-text {
        font-size: 1.1rem;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .mobile-bottom-nav {
        display: block;
    }
    
    .desktop-nav {
        display: none;
    }
    
    header {
        padding: 10px 0;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
        height: 70px;
    }
    
    .header-container {
        padding: 0 15px;
        height: 100%;
    }
    
    .logo {
        min-width: auto;
    }
    
    .logo-image {
        width: 40px;
        height: 40px;
        margin-right: 10px;
    }
    
    .logo-text {
        font-size: 1rem;
    }
    
    .logo-subtext {
        font-size: 0.65rem;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        max-height: 2.2em;
    }
    
    .container {
        padding: 0 20px;
    }
    
    .page-content {
        padding: 90px 0 100px !important;
        min-height: calc(100vh - 170px);
    }
    
    .section-title {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .content-card {
        padding: 25px 20px;
        margin-bottom: 20px;
    }
    
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .overview-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px;
    }
    
    .overview-card {
        padding: 25px;
    }
    
    .overview-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .hero {
        padding: 120px 0 60px;
        margin-top: 70px;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-verse {
        font-size: 1.1rem;
        margin: 2rem 0;
    }
    
    .hero-buttons {
        gap: 15px;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .table-wrapper {
        margin: 20px -15px;
        width: calc(100% + 30px);
        border-radius: 0;
    }
    
    .table-container {
        min-width: 600px;
    }
    
    th, td {
        padding: 12px 10px;
        font-size: 0.85rem;
        min-width: 120px;
    }
    
    td:nth-child(2), th:nth-child(2) {
        min-width: 150px;
    }
    
    td:nth-child(3), th:nth-child(3) {
        min-width: 140px;
    }
    
    footer {
        padding: 50px 0 25px;
    }
    
    .footer-content {
        gap: 30px;
        grid-template-columns: 1fr;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .bottom-nav-item {
        min-height: 50px;
        padding: 10px 8px;
    }
    
    .bottom-nav-icon {
        font-size: 1.4rem;
        margin-bottom: 4px;
    }
    
    .bottom-nav-label {
        font-size: 0.7rem;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .section-title {
        font-size: 1.3rem;
    }
    
    .logo-image {
        width: 36px;
        height: 36px;
    }
    
    .logo-text {
        font-size: 0.9rem;
    }
    
    .logo-subtext {
        font-size: 0.6rem;
    }
    
    .hero {
        padding: 100px 0 50px;
    }
    
    .hero h1 {
        font-size: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .bottom-nav-item {
        padding: 6px 8px;
        max-width: 70px;
    }
    
    .bottom-nav-icon {
        font-size: 1.2rem;
    }
    
    .bottom-nav-label {
        font-size: 0.65rem;
    }
    
    .table-container {
        min-width: 500px;
    }
    
    th, td {
        padding: 10px 8px;
        font-size: 0.8rem;
        min-width: 100px;
    }
    
    td:nth-child(2), th:nth-child(2) {
        min-width: 120px;
    }
    
    td:nth-child(3), th:nth-child(3) {
        min-width: 100px;
    }
}

/* ===========================================
   PERFORMANCE & BROWSER FIXES
   =========================================== */
/* iOS Safe Areas */
@supports (-webkit-touch-callout: none) {
    .mobile-bottom-nav {
        padding-bottom: env(safe-area-inset-bottom) !important;
    }
    
    .bottom-nav-container {
        padding-bottom: env(safe-area-inset-bottom) !important;
    }
    
    body {
        padding-bottom: env(safe-area-inset-bottom);
    }
}

/* Touch improvements */
@media (max-width: 768px) {
    * {
        -webkit-tap-highlight-color: transparent;
    }
    
    body {
        -webkit-overflow-scrolling: touch;
        overscroll-behavior-y: contain;
    }
    
    .btn, .bottom-nav-item, .mobile-dropdown-item {
        touch-action: manipulation;
    }
    
    .table-wrapper {
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
    }
}

/* Scrollbar styling */
.table-wrapper::-webkit-scrollbar {
    height: 8px;
}

.table-wrapper::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.table-wrapper::-webkit-scrollbar-thumb {
    background: var(--primary-green);
    border-radius: 4px;
}

.table-wrapper::-webkit-scrollbar-thumb:hover {
    background: var(--primary-blue);
}

/* Print styles */
@media print {
    .mobile-bottom-nav,
    .hero-buttons,
    .social-icons {
        display: none !important;
    }
    
    .content-card {
        box-shadow: none;
        border: 1px solid #ddd;
    }
    
    .table-wrapper {
        overflow: visible !important;
    }
    
    table {
        min-width: 100% !important;
    }
}

/* No scroll when dropdown is open */
body.no-scroll {
    overflow: hidden !important;
    position: fixed !important;
    width: 100% !important;
    height: 100% !important;
}