/* ======================
   Global Variables
   ====================== */
:root {
    /* Primary Colors - Using Blue Theme */
    --primary-color: #3b82f6;
    --primary-dark: #2563eb;
    --primary-light: #60a5fa;
    --secondary-color: #1e40af;

    /* Accent Colors */
    --accent-color: #10b981;
    --success-color: #10b981;
    --danger-color: #ef4444;
    --warning-color: #f59e0b;
    --info-color: #06b6d4;

    /* Background Colors */
    --light-bg: #f9fafb;
    --lighter-bg: #ffffff;
    --dark-bg: #1f2937;
    --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--secondary-color));

    /* Text Colors - Fixed for proper contrast */
    --text-dark: #111827;
    --text-medium: #374151;
    --text-muted: #6b7280;
    --text-light: #9ca3af;

    /* Legacy Aliases for Backward Compatibility */
    --dark-text: var(--text-dark);
    --medium-text: var(--text-medium);
    --gray-text: var(--text-muted);
    --light-text: var(--text-light);

    /* Border Colors */
    --border-color: #e9ecef;
    --border-light: #f1f3f4;
    --border-dark: #dee2e6;

    /* Utility Colors */
    --white: #ffffff;
    --black: #000000;

    /* Shadow Variations */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.10);
    --shadow-lg: 0 8px 25px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 12px 40px rgba(0, 0, 0, 0.20);
    --shadow-hover: 0 8px 30px rgba(52, 152, 219, 0.3);

    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 50px;

    /* Spacing System */
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 32px;
    --spacing-2xl: 48px;
    --spacing-3xl: 64px;

    /* Typography */
    --font-primary: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-heading: 'Segoe UI', system-ui, sans-serif;
    --font-mono: 'Courier New', Courier, monospace;

    /* Z-Index Scale */
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal-backdrop: 1040;
    --z-modal: 1050;
    --z-popover: 1060;
    --z-tooltip: 1070;

    /* Animation Timing */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: #ffffff;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ======================
   Container & Layout
   ====================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.container-fluid {
    width: 100%;
    padding: 0 20px;
}

/* ======================
   Header & Navigation
   ====================== */
.header {
    background: var(--white);
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    background: var(--primary-color);
    color: var(--white);
    padding: 10px 0;
    font-size: 14px;
}

.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar {
    padding: 15px 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
}

.navbar-brand img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.navbar-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.navbar-login {
    margin-left: 20px;
}

.user-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-login {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-color);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
    min-width: 120px;
}

.btn-login::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    transition: left 0.3s ease;
    z-index: -1;
}

.btn-login:hover {
    color: var(--white) !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-login:hover::before {
    left: 0;
}

.btn-signin {
    background: var(--primary-color);
    color: var(--white) !important;
    border-color: var(--primary-color);
}

.btn-signin::before {
    background: var(--primary-dark);
}

.btn-signin:hover {
    color: var(--white) !important;
}

.btn-dashboard {
    background: var(--primary-color);
    color: var(--white) !important;
    border-color: var(--primary-color);
}

.btn-dashboard::before {
    background: var(--primary-dark);
}

.btn-dashboard:hover {
    color: var(--white) !important;
}

.btn-login-icon {
    width: 18px;
    height: 18px;
    transition: transform 0.2s ease;
}

.btn-login:hover .btn-login-icon {
    transform: scale(1.1);
}

.logout-form {
    display: flex;
    margin: 0;
}

.btn-logout {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger-color);
    border: 2px solid transparent;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-logout::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--danger-color);
    transition: left 0.3s ease;
    z-index: -1;
}

.btn-logout:hover {
    color: var(--white);
    border-color: var(--danger-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-logout:hover::before {
    left: 0;
}

.btn-logout svg {
    width: 18px;
    height: 18px;
    transition: transform 0.2s ease;
}

.btn-logout:hover svg {
    transform: rotate(10deg);
}

.btn-outline-light {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    backdrop-filter: blur(10px);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    color: var(--white);
}

.navbar-menu a {
    color: var(--dark-text);
    font-weight: 500;
    padding: 8px 0;
    position: relative;
}

.navbar-menu a:hover,
.navbar-menu a.active {
    color: var(--primary-color);
}

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

.navbar-menu a:hover::after,
.navbar-menu a.active::after {
    width: 100%;
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-radius: var(--radius-md);
    min-width: 220px;
    padding: 12px 0;
    display: none;
    z-index: 1000;
    border: 1px solid #e2e8f0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

/* Create invisible bridge to prevent dropdown from disappearing */
.dropdown::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 8px;
    background: transparent;
    z-index: 999;
}

/* Ensure better text contrast */
.navbar-menu-modern .nav-link {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

/* Better visibility for dropdown items */
.dropdown-menu {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.dropdown:hover .dropdown-menu {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    list-style: none;
}

.dropdown-menu a {
    display: block;
    padding: 12px 20px;
    color: #1a202c;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.2s ease;
    border-radius: 4px;
    margin: 2px 8px;
}

.dropdown-menu a:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateX(4px);
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.25);
}

.dropdown-menu li:first-child a {
    border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.dropdown-menu li:last-child a {
    border-radius: 0 0 var(--radius-md) var(--radius-md);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--dark-text);
}

/* ======================
   Modern Hero Section
   ====================== */
.hero-modern {
    position: relative;
    min-height: 80vh;
    overflow: hidden;
}

.hero-slider-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slider-container {
    position: relative;
    width: 100%;
    min-height: 80vh;
}

.hero-slide-modern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 80vh;
    display: flex;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.8s ease-in-out;
}

.hero-slide-modern.active {
    opacity: 1;
    visibility: visible;
}

.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.hero-placeholder-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    z-index: -2;
}

.hero-content-wrapper {
    position: relative;
    z-index: 2;
    width: 100%;
    backdrop-filter: blur(1px);
    background: rgba(0, 0, 0, 0.4);
}

.hero-content-modern {
    color: var(--white);
    max-width: 700px;
    padding: 80px 0;
    animation: fadeInUp 1s ease-out;
}

.hero-title-modern {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero-subtitle-modern {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 40px;
    opacity: 0.95;
    font-weight: 400;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: center;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    padding: 16px 32px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.hero-cta-secondary {
    display: inline-flex;
    align-items: center;
    padding: 16px 32px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.hero-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.hero-stats {
    position: absolute;
    bottom: -60px;
    left: 0;
    right: 0;
    z-index: 4;
}

/* Hero Slider Navigation */
.hero-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
    width: 50px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.8;
}

.hero-nav:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: white;
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
}

.hero-nav svg {
    width: 20px;
    height: 20px;
}

.hero-prev {
    left: 30px;
}

.hero-next {
    right: 30px;
}

.hero-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    display: flex;
    gap: 12px;
    padding: 16px 24px;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border-radius: 30px;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-dot.active {
    background: white;
    transform: scale(1.2);
}

.hero-dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 16px;
    padding: 24px;
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    margin: 0 20px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.stat-item {
    text-align: center;
    padding: 12px;
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 6px;
    display: block;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--gray-text);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

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

/* ======================
   Section Styles
   ====================== */
.section {
    padding: 80px 0;
    background: #ffffff;
}

.section-header-modern {
    text-align: center;
    margin-bottom: 80px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.section-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary-color);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
}

.section-header-modern h2 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--dark-text);
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.section-header-modern p {
    font-size: 1.125rem;
    color: var(--gray-text);
    line-height: 1.6;
}

.section-footer {
    text-align: center;
    margin-top: 60px;
}

/* Services Section Modern */
.services-section-modern {
    padding: 120px 0;
    background: #f8fafc;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    margin-bottom: 60px;
}

.service-card-modern {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 40px;
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card-modern:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.service-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-color);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

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

.service-icon-wrapper {
    margin-bottom: 24px;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.service-icon svg {
    width: 24px;
    height: 24px;
}

.service-card-modern:hover .service-icon {
    background: var(--primary-color);
    color: var(--white);
    transform: scale(1.1);
}

.service-content {
    position: relative;
    z-index: 2;
}

.service-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 12px;
}

.service-description {
    color: var(--gray-text);
    line-height: 1.6;
    margin-bottom: 24px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.service-link:hover {
    color: var(--primary-dark);
    transform: translateX(4px);
}

.service-arrow {
    width: 16px;
    height: 16px;
    margin-left: 8px;
    transition: transform 0.2s ease;
}

.service-link:hover .service-arrow {
    transform: translateX(4px);
}

/* ======================
   Cards
   ====================== */
.card {
    background: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-body {
    padding: 20px;
}

.card-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--dark-text);
}

.card-text {
    font-size: 14px;
    color: var(--gray-text);
    line-height: 1.6;
}

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

/* ======================
   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%; }

/* ======================
   Buttons
   ====================== */
.btn {
    display: inline-block;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
}

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

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

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

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

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

.btn-sm {
    padding: 8px 16px;
    font-size: 14px;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 18px;
}

.btn-icon {
    width: 20px;
    height: 20px;
    margin-left: 8px;
    transition: transform 0.2s ease;
}

.btn:hover .btn-icon {
    transform: translateX(2px);
}

/* ======================
   Forms
   ====================== */
.form-group {
    margin-bottom: 20px;
}

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

.form-control {
    width: 100%;
    padding: 12px 16px;
    font-size: 16px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.form-select {
    appearance: none;
    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");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 40px;
}

/* ======================
   Table
   ====================== */
.table-responsive {
    overflow-x: auto;
}

.table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.table thead {
    background: var(--primary-color);
    color: var(--white);
}

.table th,
.table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.table tbody tr:hover {
    background: var(--light-bg);
}

.table tbody tr:last-child td {
    border-bottom: none;
}

/* ======================
   Pagination
   ====================== */
.pagination {
    display: flex;
    list-style: none;
    gap: 5px;
    justify-content: center;
    margin-top: 30px;
}

.pagination a,
.pagination span {
    padding: 8px 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    color: var(--dark-text);
}

.pagination a:hover,
.pagination .active {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

/* ======================
   Footer
   ====================== */
.footer {
    background: var(--dark-text);
    color: var(--white);
    padding: 40px 0 20px;
    margin-top: 60px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section {
    flex: 1;
    min-width: 250px;
}

.footer-section h3 {
    margin-bottom: 20px;
    font-size: 20px;
}

.footer-section p,
.footer-section li {
    color: #cbd5e1;
    margin-bottom: 10px;
}

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

.footer-section a {
    color: #cbd5e1;
}

.footer-section a:hover {
    color: var(--white);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #cbd5e1;
}

/* ======================
   Alert Messages
   ====================== */
.alert {
    padding: 15px 20px;
    border-radius: 6px;
    margin-bottom: 20px;
}

.alert-success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #6ee7b7;
}

.alert-danger {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

.alert-warning {
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #fcd34d;
}

.alert-info {
    background: #dbeafe;
    color: #1e40af;
    border: 1px solid #93c5fd;
}

/* ======================
   Tabs
   ====================== */
.tabs {
    border-bottom: 2px solid var(--border-color);
    margin-bottom: 30px;
}

.tab-list {
    display: flex;
    list-style: none;
    gap: 10px;
}

.tab-item {
    padding: 12px 24px;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
}

.tab-item:hover,
.tab-item.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* ======================
   Utilities
   ====================== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 30px; }
.mt-4 { margin-top: 40px; }
.mt-5 { margin-top: 50px; }

.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 20px; }
.mb-3 { margin-bottom: 30px; }
.mb-4 { margin-bottom: 40px; }
.mb-5 { margin-bottom: 50px; }

.p-1 { padding: 10px; }
.p-2 { padding: 20px; }
.p-3 { padding: 30px; }
.p-4 { padding: 40px; }
.p-5 { padding: 50px; }

.d-none { display: none; }
.d-block { display: block; }
.d-flex { display: flex; }
.d-grid { display: grid; }

.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.align-center { align-items: center; }

.gap-1 { gap: 10px; }
.gap-2 { gap: 20px; }
.gap-3 { gap: 30px; }

/* ======================
   About Section Modern
   ====================== */
.about-section-modern {
    padding: 100px 0;
    background: #ffffff;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-description {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--medium-text);
    margin-bottom: 40px;
}

.about-features {
    margin-bottom: 40px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 24px;
    padding: 20px;
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    margin-right: 16px;
    flex-shrink: 0;
}

.feature-icon svg {
    width: 24px;
    height: 24px;
}

.feature-content h4 {
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 4px;
    font-size: 1.125rem;
}

.feature-content p {
    color: var(--gray-text);
    margin: 0;
}

.about-visual {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.visual-card {
    background: var(--white);
    padding: 32px;
    border-radius: var(--radius-xl);
    text-align: center;
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

.visual-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.visual-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    margin: 0 auto 20px;
}

.visual-icon svg {
    width: 40px;
    height: 40px;
}

.visual-card h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 8px;
}

.visual-card p {
    color: var(--gray-text);
    margin: 0;
}

.about-action {
    margin-top: 20px;
}

/* ======================
   External Links Modern Section
   ====================== */
.external-links-section-modern {
    padding: 100px 0;
    background: var(--light-bg);
}

.external-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 60px;
}

.external-link-modern {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.external-link-modern:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.external-link-content {
    display: flex;
    align-items: center;
    padding: 24px;
    text-decoration: none;
    color: inherit;
}

.external-link-logo {
    width: 60px;
    height: 60px;
    margin-right: 20px;
    flex-shrink: 0;
}

.logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: var(--radius-md);
}

.logo-placeholder {
    width: 100%;
    height: 100%;
    background: var(--border-light);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-text);
}

.logo-placeholder svg {
    width: 24px;
    height: 24px;
}

.external-link-info {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.external-link-title {
    font-weight: 600;
    color: var(--dark-text);
    font-size: 1rem;
    margin: 0;
}

.external-link-arrow {
    color: var(--gray-text);
    transition: all 0.2s ease;
}

.external-link-arrow svg {
    width: 20px;
    height: 20px;
}

.external-link-modern:hover .external-link-arrow {
    color: var(--primary-color);
    transform: scale(1.1);
}

/* ======================
   News Section Modern
   ====================== */
.news-section-modern {
    padding: 120px 0;
    background: #f8fafc;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
    margin-bottom: 60px;
}

.news-card-modern {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

.news-card-modern:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.news-image-wrapper {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.news-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-card-modern:hover .news-image {
    transform: scale(1.05);
}

.news-image-placeholder {
    width: 100%;
    height: 100%;
    background: var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-text);
}

.news-image-placeholder svg {
    width: 48px;
    height: 48px;
}

.news-date-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--white);
    color: var(--primary-color);
    padding: 8px 12px;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 0.875rem;
    box-shadow: var(--shadow-sm);
}

.news-content {
    padding: 24px;
}

.news-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.news-category {
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary-color);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.news-time {
    color: var(--light-text);
    font-size: 0.875rem;
}

.news-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 12px;
    line-height: 1.4;
}

.news-excerpt {
    color: var(--gray-text);
    line-height: 1.6;
    margin-bottom: 20px;
}

.news-read-more {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.news-read-more:hover {
    color: var(--primary-dark);
    transform: translateX(4px);
}

.news-arrow {
    width: 16px;
    height: 16px;
    margin-left: 8px;
    transition: transform 0.2s ease;
}

.news-read-more:hover .news-arrow {
    transform: translateX(4px);
}

/* ======================
   Empty State
   ====================== */
.empty-state {
    text-align: center;
    padding: 80px 40px;
    grid-column: 1 / -1;
}

.empty-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    color: var(--light-text);
}

.empty-icon svg {
    width: 100%;
    height: 100%;
}

.empty-state h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--medium-text);
    margin-bottom: 12px;
}

.empty-state p {
    color: var(--gray-text);
    font-size: 1rem;
    line-height: 1.6;
}

/* ======================
   Responsive Design
   ====================== */
@media (max-width: 768px) {
    .navbar-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow-lg);
        border-radius: 0 0 var(--radius-lg) var(--radius-lg);
        z-index: 1000;
    }

    .navbar-menu.active {
        display: flex;
    }

    .mobile-toggle {
        display: block;
    }

    /* Hero Slider Mobile */
    .hero-modern {
        min-height: 70vh;
    }

    .hero-slide-modern {
        min-height: 70vh;
    }

    .hero-content-modern {
        padding: 60px 0;
    }

    .hero-title-modern {
        font-size: 2.5rem;
    }

    .hero-subtitle-modern {
        font-size: 1.1rem;
        margin-bottom: 30px;
    }

    .hero-actions {
        flex-direction: column;
        gap: 12px;
    }

    .hero-cta,
    .hero-cta-secondary {
        width: 100%;
        text-align: center;
        justify-content: center;
        padding: 14px 24px;
        font-size: 0.9rem;
    }

    .hero-nav {
        display: none; /* Hide navigation arrows on mobile */
    }

    .hero-dots {
        bottom: 20px;
        padding: 12px 20px;
    }

    .hero-dot {
        width: 10px;
        height: 10px;
    }

    .navbar-login {
        margin-left: 0;
        margin-top: 20px;
        padding-top: 20px;
        border-top: 1px solid var(--border-light);
        width: 100%;
    }

    .user-menu {
        flex-direction: column;
        gap: 12px;
        width: 100%;
    }

    .btn-login {
        width: 100%;
        justify-content: center;
        padding: 16px 24px;
        border-radius: 8px;
        min-width: auto;
    }

    .btn-logout {
        width: 100%;
        height: 48px;
        border-radius: var(--radius-lg);
    }

    .logout-form {
        width: 100%;
    }

    /* Mobile dropdown styles */
    .dropdown {
        width: 100%;
    }

    .dropdown-menu {
        position: static;
        box-shadow: none;
        border: none;
        border-radius: 0;
        background: var(--light-bg);
        margin: 8px 0;
        padding: 0;
        transform: none;
        opacity: 1;
        visibility: visible;
    }

    .dropdown::before {
        display: none;
    }

    .dropdown.active .dropdown-menu {
        display: block;
    }

    .dropdown-menu a {
        padding: 12px 16px;
        border-left: 3px solid transparent;
        color: #1a202c;
        font-weight: 500;
    }

    .dropdown-menu a:hover {
        background: var(--primary-color);
        border-left-color: var(--primary-dark);
        transform: none;
        color: var(--white);
    }

    .dropdown-menu li:first-child a,
    .dropdown-menu li:last-child a {
        border-radius: 0;
    }

    .hero-title-modern {
        font-size: 2.5rem;
    }

    .hero-subtitle-modern {
        font-size: 1.125rem;
    }

    .section-header-modern h2 {
        font-size: 2.25rem;
    }

    .stats-row {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
        margin: 0 10px;
        padding: 20px 16px;
        max-width: none;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .stat-label {
        font-size: 0.7rem;
    }

    .hero-stats {
        bottom: -25px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .external-links-grid {
        grid-template-columns: 1fr;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-cta,
    .hero-cta-secondary {
        text-align: center;
        justify-content: center;
    }

    .col-md-6,
    .col-md-4,
    .col-md-3 {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 20px;
    }

    .footer-content {
        flex-direction: column;
    }

    .section {
        padding: 60px 0;
    }

    .services-section-modern,
    .news-section-modern,
    .about-section-modern {
        padding: 80px 0;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .feature-item {
        padding: 16px;
    }

    .visual-card {
        padding: 24px;
    }
}

@media (max-width: 480px) {
    .hero-content-modern {
        padding: 60px 0;
    }

    .service-card-modern {
        padding: 24px;
    }

    .news-content {
        padding: 20px;
    }

    .section-header-modern {
        margin-bottom: 60px;
    }
}

/* ======================
   Modern Header & Navigation Overrides
   ====================== */
.header-modern {
    background: var(--white);
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top-modern {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 8px 0;
    font-size: 13px;
}

.header-top-modern .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info {
    display: flex;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.location-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-icon {
    width: 16px;
    height: 16px;
    opacity: 0.9;
}

.navbar-modern {
    padding: 12px 0;
    background: var(--white);
    border-bottom: 1px solid #e2e8f0;
}

.navbar-modern .container {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.navbar-brand-modern {
    display: flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
}

.brand-logo img {
    width: 55px;
    height: 55px;
    object-fit: contain;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.2;
}

.brand-subtitle {
    font-size: 12px;
    color: var(--gray-text);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.navbar-menu-modern {
    display: flex;
    list-style: none;
    gap: 8px;
    align-items: center;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #2d3748;
    font-weight: 600;
    padding: 12px 16px;
    border-radius: var(--radius-md);
    position: relative;
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 14px;
    line-height: 1.2;
    min-height: 44px;
}

.nav-text {
    text-align: center;
    line-height: 1.3;
    font-weight: 600;
    color: inherit;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
    background: rgba(59, 130, 246, 0.12);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.15);
}

.dropdown-icon {
    width: 16px;
    height: 16px;
    transition: transform 0.2s ease;
}

.dropdown:hover .dropdown-icon {
    transform: rotate(180deg);
}

.mobile-toggle-modern {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
}

.mobile-toggle-modern span {
    width: 25px;
    height: 3px;
    background: var(--medium-text);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-toggle-modern:hover {
    background: var(--light-bg);
}

.mobile-toggle-modern:hover span {
    background: var(--primary-color);
}

/* ======================
   Modern Footer
   ====================== */
.footer-modern {
    background: linear-gradient(135deg, #2c3e50, #34495e);
    color: var(--white);
    margin-top: 80px;
}

.footer-main {
    padding: 60px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.footer-brand {
    max-width: 350px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.footer-logo img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.footer-logo h3 {
    font-size: 20px;
    font-weight: 700;
    margin: 0;
    color: var(--white);
}

.footer-tagline {
    font-size: 12px;
    color: var(--primary-light);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-description {
    color: #cbd5e1;
    line-height: 1.6;
    margin: 0;
}

.footer-section h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--white);
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-item-footer {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #cbd5e1;
}

.footer-icon {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    flex-shrink: 0;
    color: var(--primary-light);
}

.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

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

.footer-links a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--primary-light);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 24px 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    color: #94a3b8;
    margin: 0;
    font-size: 14px;
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 14px;
    color: #94a3b8;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #cbd5e1;
    text-decoration: none;
    transition: all 0.2s ease;
}

.social-link svg {
    width: 18px;
    height: 18px;
}

.social-link:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

/* Mobile Responsive for Modern Header/Footer */
@media (max-width: 768px) {
    .contact-info {
        flex-direction: column;
        gap: 8px;
        font-size: 12px;
    }

    .location-info {
        display: none;
    }

    .navbar-menu-modern {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow-lg);
        border-radius: 0 0 var(--radius-lg) var(--radius-lg);
        z-index: 1000;
    }

    .navbar-menu-modern.active {
        display: flex;
    }

    .mobile-toggle-modern {
        display: flex;
    }

    .nav-link {
        width: 100%;
        justify-content: flex-start;
        padding: 16px;
        border-radius: var(--radius-md);
        color: #2d3748;
        font-weight: 600;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .footer-brand {
        max-width: none;
    }

    .footer-logo {
        justify-content: center;
    }

    .footer-bottom-content {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

/* ======================
   WhatsApp Floating Button
   ====================== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.whatsapp-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #25D366;
    color: var(--white);
    padding: 16px 20px;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 14px;
    min-width: 60px;
    justify-content: center;
}

.whatsapp-btn:hover {
    background: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.4);
    color: var(--white);
}

.whatsapp-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.whatsapp-text {
    white-space: nowrap;
    transition: all 0.3s ease;
}

.whatsapp-popup {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 320px;
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px) scale(0.95);
    transition: all 0.3s ease;
    overflow: hidden;
}

.whatsapp-popup.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.popup-header {
    background: #25D366;
    color: var(--white);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.popup-avatar {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.popup-avatar svg {
    width: 24px;
    height: 24px;
}

.popup-info {
    flex: 1;
}

.popup-info h4 {
    margin: 0 0 4px 0;
    font-size: 16px;
    font-weight: 600;
}

.popup-info p {
    margin: 0;
    font-size: 12px;
    opacity: 0.9;
}

.popup-close {
    background: none;
    border: none;
    color: var(--white);
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.2s ease;
}

.popup-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.popup-body {
    padding: 20px;
}

.chat-message {
    background: #F0F2F5;
    padding: 16px;
    border-radius: 12px;
    margin-bottom: 16px;
}

.chat-message p {
    margin: 0 0 8px 0;
    color: var(--medium-text);
    line-height: 1.4;
}

.chat-message p:last-child {
    margin-bottom: 0;
}

.whatsapp-form {
    display: flex;
    gap: 8px;
    align-items: center;
}

.whatsapp-form input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 25px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s ease;
}

.whatsapp-form input:focus {
    border-color: #25D366;
}

.whatsapp-form button {
    width: 44px;
    height: 44px;
    background: #25D366;
    border: none;
    border-radius: 50%;
    color: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.whatsapp-form button:hover {
    background: #128C7E;
    transform: scale(1.05);
}

.whatsapp-form button svg {
    width: 18px;
    height: 18px;
}

/* Mobile Responsive for WhatsApp */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
    }

    .whatsapp-btn {
        padding: 14px 16px;
        border-radius: 50%;
        min-width: 56px;
        width: 56px;
        height: 56px;
    }

    .whatsapp-text {
        display: none;
    }

    .whatsapp-popup {
        width: 280px;
        bottom: 70px;
        right: -10px;
    }

    .popup-header {
        padding: 16px;
    }

    .popup-body {
        padding: 16px;
    }

    .popup-avatar {
        width: 40px;
        height: 40px;
    }

    .popup-avatar svg {
        width: 20px;
        height: 20px;
    }
}

/* ======================
   Legal Pages Enhancements
   ====================== */

/* AOS Animation Overrides */
[data-aos="fade-up"] {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

[data-aos="fade-up"].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

/* Enhanced Text Utilities */
.text-gradient {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

/* Enhanced Button Variants */
.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
    background: transparent;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    color: white;
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

/* Enhanced Card Animations */
.category-card,
.document-card,
.service-card {
    transform-origin: center;
    backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Loading States */
.loading-placeholder {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Enhanced Focus States */
input:focus,
textarea:focus,
select:focus,
button:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
}

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

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

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

/* Print Styles */
@media print {
    .whatsapp-float,
    .btn,
    .pagination-nav {
        display: none !important;
    }

    .document-card,
    .category-card {
        border: 1px solid #ddd !important;
        box-shadow: none !important;
        break-inside: avoid;
    }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #0066cc;
        --secondary-color: #333333;
        --text-dark: #000000;
        --text-muted: #333333;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Dark Mode Support (Future Enhancement) */
@media (prefers-color-scheme: dark) {
    :root {
        --light-bg: #fff;
        --lighter-bg: #2d2d2d;
        --dark-text: #000000;
        --medium-text: #6e6e6e;
        --gray-text: #b0b0b0;
        --light-text: #888888;
        --border-color: #404040;
        --border-light: #333333;
    }
}

/* ======================
   Profile Pages Components
   ====================== */

/* Page Header */
.page-header {
    background: var(--gradient-primary);
    color: white;
    padding: 60px 0 40px;
    position: relative;
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 40px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 80" fill="white"><path d="M1200,40c-200,30 -400,30 -600,0c-200,-30 -400,-30 -600,0V80H1200V40Z"/></svg>');
    background-size: cover;
}

.page-header-content {
    text-align: center;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.2;
}

.page-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    margin: 0;
}

/* Breadcrumb Enhancement */
.page-header .breadcrumb {
    background: none;
    margin-bottom: 20px;
    justify-content: center;
    padding: 0;
}

.page-header .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-header .breadcrumb-item a:hover {
    color: white;
}

.page-header .breadcrumb-item.active {
    color: rgba(255, 255, 255, 0.9);
}

.page-header .breadcrumb-item + .breadcrumb-item::before {
    content: "›";
    color: rgba(255, 255, 255, 0.6);
}

/* Profile Card */
.profile-card {
    background: white;
    padding: 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    text-align: center;
    border: 1px solid var(--border-light);
}

.profile-avatar {
    width: 100px;
    height: 100px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 3rem;
}

.profile-info h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.profile-info p {
    color: var(--text-muted);
    margin: 0;
    font-size: 0.95rem;
}

/* Quote Card */
.quote-card {
    position: relative;
    padding: 40px !important;
}

.quote-mark {
    position: absolute;
    top: -15px;
    left: 40px;
    width: 30px;
    height: 30px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.8rem;
}

.quote-content {
    line-height: 1.8;
    color: var(--text-medium);
}

.quote-content h1,
.quote-content h2,
.quote-content h3 {
    color: var(--text-dark);
    margin-top: 24px;
    margin-bottom: 16px;
}

.quote-content p {
    margin-bottom: 16px;
}

/* Vision Card */
.vision-card {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    padding: 40px !important;
}

.vision-icon {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
}

.vision-content {
    flex: 1;
    line-height: 1.8;
    color: var(--text-medium);
}

.vision-content h1,
.vision-content h2,
.vision-content h3 {
    color: var(--text-dark);
    margin-top: 0;
    margin-bottom: 16px;
}

.vision-content ul,
.vision-content ol {
    padding-left: 20px;
}

.vision-content li {
    margin-bottom: 8px;
}

/* Alt Background */
.alt-bg {
    background: #f8fafc !important;
}

/* Enhanced External Links */
.external-link-modern a {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
}

.external-link-modern .link-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.external-link-modern .link-content {
    flex: 1;
}

.external-link-modern .link-content h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.external-link-modern .link-content p {
    color: var(--text-muted);
    margin: 0;
    line-height: 1.5;
}

.external-link-modern .link-action {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: #f8f9fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.external-link-modern .link-action i {
    color: var(--text-muted);
    transition: all 0.3s ease;
}

.external-link-modern:hover .link-action {
    background: var(--primary-color);
}

.external-link-modern:hover .link-action i {
    color: white;
    transform: translateX(2px);
}

/* Structure Page */
.structure-card {
    padding: 32px;
    text-align: center;
}

.structure-container {
    position: relative;
    display: inline-block;
    max-width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
}

.structure-container:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.structure-image {
    max-width: 100%;
    height: auto;
    display: block;
}

.structure-info {
    margin-top: 24px;
    padding: 16px;
    background: var(--bg-light);
    border-radius: 8px;
    display: inline-block;
}

.structure-info .info-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 14px;
}

.structure-info .info-item i {
    color: var(--primary-color);
}

/* Tupoksi Tabs */
.tupoksi-card {
    padding: 0;
    overflow: hidden;
}

.tupoksi-tabs {
    border-bottom: 1px solid var(--border-color);
}

.tab-nav {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    overflow-x: auto;
    background: var(--bg-light);
}

.tab-nav-item {
    flex: 1;
    min-width: 200px;
    padding: 20px 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    color: var(--text-secondary);
    border-right: 1px solid var(--border-color);
}

.tab-nav-item:last-child {
    border-right: none;
}

.tab-nav-item:hover {
    background: white;
    color: var(--text-primary);
}

.tab-nav-item.active {
    background: white;
    color: var(--primary-color);
    position: relative;
}

.tab-nav-item.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.tupoksi-content {
    position: relative;
}

.tab-pane {
    display: none;
    padding: 32px;
    animation: fadeIn 0.3s ease;
}

.tab-pane.active {
    display: block;
}

.tupoksi-header {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-color);
}

.tupoksi-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    flex-shrink: 0;
}

.tupoksi-info h3 {
    font-size: 24px;
    margin-bottom: 8px;
    color: var(--text-primary);
    font-weight: 600;
}

.tupoksi-info p {
    color: var(--text-secondary);
    margin: 0;
}

.tupoksi-text {
    line-height: 1.8;
    color: var(--text-primary);
}

.tupoksi-text h4 {
    color: var(--text-primary);
    font-weight: 600;
    margin: 24px 0 16px;
}

.tupoksi-text ul, .tupoksi-text ol {
    padding-left: 24px;
    margin-bottom: 16px;
}

.tupoksi-text li {
    margin-bottom: 8px;
}

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

/* Finance Table */
.finance-table-card {
    padding: 0;
    overflow: hidden;
}

.table-header {
    display: flex;
    justify-content: between;
    align-items: flex-start;
    padding: 32px 32px 24px;
    border-bottom: 1px solid var(--border-color);
    background: var(--bg-light);
}

.table-header-info h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.table-header-info p {
    color: var(--text-secondary);
    margin: 0;
}

.table-actions {
    margin-left: auto;
}

.table-modern {
    margin: 0;
}

.table-modern thead th {
    background: white;
    border-bottom: 2px solid var(--border-color);
    font-weight: 600;
    color: var(--text-primary);
    padding: 20px 24px;
    font-size: 14px;
}

.table-modern thead th i {
    margin-right: 8px;
    color: var(--primary-color);
}

.table-modern tbody td {
    padding: 24px;
    border-bottom: 1px solid var(--border-color);
    vertical-align: middle;
}

.year-badge {
    display: inline-block;
    background: var(--gradient-primary);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
}

.amount-cell .amount-value {
    font-weight: 700;
    font-size: 16px;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.amount-cell .amount-value.realization {
    color: var(--success-color);
}

.amount-cell .amount-label {
    font-size: 12px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.percentage-wrapper {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.percentage-bar {
    width: 100%;
    height: 8px;
    background: var(--bg-light);
    border-radius: 4px;
    overflow: hidden;
}

.percentage-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 0.3s ease;
}

.percentage-fill.success {
    background: linear-gradient(90deg, #10b981, #059669);
}

.percentage-fill.warning {
    background: linear-gradient(90deg, #f59e0b, #d97706);
}

.percentage-fill.danger {
    background: linear-gradient(90deg, #ef4444, #dc2626);
}

.percentage-text {
    font-weight: 600;
    font-size: 14px;
    color: var(--text-primary);
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-badge.success {
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
}

.status-badge.warning {
    background: rgba(245, 158, 11, 0.1);
    color: #d97706;
}

.status-badge.danger {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
}

/* Stat Cards */
.stat-card-modern {
    background: white;
    border-radius: 16px;
    padding: 24px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 20px;
}

.stat-card-modern:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(37, 99, 235, 0.15);
}

.stat-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    flex-shrink: 0;
}

.stat-icon.primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.stat-icon.success {
    background: linear-gradient(135deg, #10b981, #059669);
}

.stat-icon.info {
    background: linear-gradient(135deg, #0ea5e9, #0284c7);
}

.stat-content h3 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.stat-content p {
    color: var(--text-secondary);
    margin: 0;
    font-weight: 500;
}

/* FAQ Accordion */
.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid var(--border-color);
    border-radius: 12px;
    margin-bottom: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.1);
}

.accordion-button {
    background: white;
    border: none;
    padding: 24px;
    font-weight: 600;
    color: var(--text-primary);
    box-shadow: none;
}

.accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    color: var(--primary-color);
    box-shadow: none;
}

.accordion-button::after {
    background-image: none;
    content: '\f107';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.accordion-button:not(.collapsed)::after {
    transform: rotate(180deg);
}

.faq-question {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    width: 100%;
}

.question-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    flex-shrink: 0;
}

.question-text {
    flex: 1;
    font-size: 16px;
    line-height: 1.6;
    text-align: left;
}

.accordion-body {
    padding: 0 24px 24px;
    background: white;
}

.faq-answer {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.answer-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    flex-shrink: 0;
}

.answer-content {
    flex: 1;
    line-height: 1.8;
    color: var(--text-primary);
    font-size: 15px;
}

/* Pagination */
.pagination-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 48px;
}

/* Empty State Actions */
.empty-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 24px;
}

/* Survey Components */
.survey-actions {
    margin-bottom: 32px;
}

.action-link {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 24px;
    background: white;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.action-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.15);
    border-color: var(--primary-color);
    text-decoration: none;
}

.action-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    flex-shrink: 0;
}

.action-content {
    flex: 1;
}

.action-content span {
    display: block;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 16px;
    margin-bottom: 4px;
}

.action-content small {
    color: var(--text-secondary);
    font-size: 14px;
}

.action-arrow {
    width: 32px;
    height: 32px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.action-arrow i {
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.action-link:hover .action-arrow {
    background: var(--primary-color);
}

.action-link:hover .action-arrow i {
    color: white;
    transform: translateX(2px);
}

/* Survey Container */
.survey-container {
    max-width: 800px;
    margin: 0 auto;
}

.survey-card {
    background: white;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.survey-header {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    padding: 32px;
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    border-bottom: 1px solid var(--border-color);
}

.survey-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    flex-shrink: 0;
}

.survey-info h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.survey-info p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* Survey Form */
.survey-form {
    padding: 32px;
}

.form-section {
    margin-bottom: 40px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--border-color);
}

.form-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 24px;
}

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

.form-row {
    display: flex;
    gap: 24px;
    margin-bottom: 0;
}

.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.form-label i {
    color: var(--primary-color);
    font-size: 14px;
}

/* Question Cards */
.question-card {
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    margin-bottom: 24px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.question-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.1);
}

.question-header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 24px;
    background: white;
    border-bottom: 1px solid var(--border-color);
}

.question-number {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 14px;
    flex-shrink: 0;
}

.question-text {
    flex: 1;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.5;
    margin: 0;
}

.question-content {
    padding: 24px;
}

/* Rating System */
.rating-container {
    text-align: center;
}

.rating-options {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 16px;
}

.rating-option {
    cursor: pointer;
    transition: all 0.3s ease;
}

.rating-option input {
    display: none;
}

.rating-visual {
    padding: 16px 12px;
    border-radius: 12px;
    border: 2px solid var(--border-color);
    background: white;
    text-align: center;
    transition: all 0.3s ease;
    min-width: 80px;
}

.rating-option:hover .rating-visual {
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.rating-option input:checked + .rating-visual {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.rating-number {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}

.rating-stars {
    display: flex;
    justify-content: center;
    gap: 2px;
}

.rating-stars i {
    font-size: 14px;
    color: #fbbf24;
}

.rating-option input:checked + .rating-visual .rating-stars i {
    color: white;
}

.rating-scale {
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Text Input */
.text-input-container textarea {
    border-radius: 8px;
    border: 2px solid var(--border-color);
    padding: 16px;
    font-size: 15px;
    line-height: 1.6;
    transition: all 0.3s ease;
    resize: vertical;
    min-height: 100px;
}

.text-input-container textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Multiple Choice */
.multiple-choice-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.choice-option {
    cursor: pointer;
    display: block;
}

.choice-option input {
    display: none;
}

.choice-visual {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border-radius: 8px;
    border: 2px solid var(--border-color);
    background: white;
    transition: all 0.3s ease;
}

.choice-option:hover .choice-visual {
    border-color: var(--primary-color);
    background: #f8fafc;
}

.choice-option input:checked + .choice-visual {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(59, 130, 246, 0.05));
}

.choice-indicator {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-color);
    border-radius: 50%;
    transition: all 0.3s ease;
    position: relative;
}

.choice-option input:checked + .choice-visual .choice-indicator {
    border-color: var(--primary-color);
    background: var(--primary-color);
}

.choice-option input:checked + .choice-visual .choice-indicator::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
}

.choice-text {
    font-weight: 500;
    color: var(--text-primary);
    line-height: 1.5;
}

/* Form Actions */
.form-actions {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid var(--border-color);
}

.form-actions .btn {
    padding: 16px 48px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 12px;
    margin-bottom: 16px;
}

.form-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
}

.form-note i {
    color: var(--success-color);
}

/* Reports Grid */
.reports-stats {
    margin-bottom: 48px;
}

.reports-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 32px;
}

.report-card {
    background: white;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.report-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(37, 99, 235, 0.15);
    border-color: var(--primary-color);
}

.report-header {
    position: relative;
    padding: 24px 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.report-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
}

.report-badge {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.report-content {
    padding: 24px;
}

.report-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    line-height: 1.4;
}

.report-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 16px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--text-secondary);
}

.meta-item i {
    color: var(--primary-color);
}

.report-description {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 14px;
    margin-bottom: 24px;
}

.report-actions {
    display: flex;
    gap: 12px;
    padding: 0 24px 20px;
}

.report-actions .btn {
    flex: 1;
    text-align: center;
    padding: 12px 16px;
    font-weight: 600;
}

.report-footer {
    background: var(--bg-light);
    padding: 16px 24px;
    border-top: 1px solid var(--border-color);
}

.footer-info {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--text-secondary);
}

.footer-info i {
    color: var(--primary-color);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .page-title {
        font-size: 2rem;
    }

    .vision-card {
        flex-direction: column;
        text-align: center;
    }

    .vision-icon {
        margin: 0 auto;
    }

    .profile-card {
        margin-bottom: 30px;
    }

    .external-link-modern a {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }

    .external-link-modern .link-icon {
        margin: 0 auto;
    }

    .tab-nav {
        flex-direction: column;
    }

    .tab-nav-item {
        min-width: auto;
        border-right: none;
        border-bottom: 1px solid var(--border-color);
    }

    .tupoksi-header {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }

    .tupoksi-icon {
        margin: 0 auto;
    }

    .table-header {
        flex-direction: column;
        gap: 16px;
    }

    .table-actions {
        margin-left: 0;
        margin-top: 16px;
    }

    .table-modern thead th,
    .table-modern tbody td {
        padding: 12px 16px;
    }

    .stat-card-modern {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }

    .stat-icon {
        margin: 0 auto;
    }

    .faq-question {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .question-icon {
        margin: 0 auto;
    }

    .faq-answer {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .answer-icon {
        margin: 0 auto;
    }

    .empty-actions {
        flex-direction: column;
    }

    .action-link {
        flex-direction: column;
        text-align: center;
        gap: 16px;
        padding: 20px;
    }

    .action-content span {
        font-size: 15px;
    }

    .survey-header {
        flex-direction: column;
        text-align: center;
        gap: 20px;
        padding: 24px 20px;
    }

    .survey-icon {
        margin: 0 auto;
    }

    .survey-form {
        padding: 24px 20px;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .rating-options {
        flex-wrap: wrap;
        gap: 12px;
    }

    .rating-visual {
        min-width: 60px;
        padding: 12px 8px;
    }

    .rating-number {
        font-size: 16px;
    }

    .rating-stars i {
        font-size: 12px;
    }

    .rating-scale {
        flex-direction: column;
        gap: 8px;
        text-align: center;
        padding: 0;
    }

    .form-actions .btn {
        width: 100%;
        padding: 16px 24px;
    }

    .reports-grid {
        grid-template-columns: 1fr;
    }

    .report-actions {
        flex-direction: column;
    }

    .report-meta {
        flex-direction: column;
        gap: 8px;
    }
}
