/* ================================================
   TL Mabuhay - Responsive Navbar & Global Styles
   ================================================ */

:root {
    --primary-color: #134686;
    --secondary-color: #1e40af;
    --success-color: #059669;
    --warning-color: #d97706;
    --danger-color: #dc2626;
    --light-bg: #f8fafc;
    --card-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --card-hover-shadow: 0 10px 25px rgba(0,0,0,0.15);
    --primary-blue: #1e3a8a;
    --secondary-blue: #3b82f6;
    --accent-blue: #60a5fa;
    --light-blue: #dbeafe;
    --yellow: #fbbf24;
    --red: #dc2626;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --white: #ffffff;
    --light-gray: #f8fafc;
/* ================================================
   Sidebar Mobile Menu Styles
   ================================================ */

/* Mobile Sidebar Overlay */
.mobile-sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1040;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-sidebar-overlay.show {
    opacity: 1;
    visibility: visible;
}

/* Mobile Sidebar */
.mobile-sidebar {
    position: fixed;
    top: 0;
    left: -320px;
    width: 320px;
    height: 100vh;
    background: white;
    z-index: 1050;
    transition: left 0.3s ease;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
}

.mobile-sidebar.show {
    left: 0;
}

/* Sidebar Header */
.sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #e5e7eb;
    background: #f8f9fa;
}

.sidebar-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #333;
}

.sidebar-brand h4 {
    margin: 0;
    font-weight: 600;
    font-size: 1.1rem;
}

.sidebar-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #666;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.sidebar-close:hover {
    background-color: #e9ecef;
}

/* Sidebar Navigation */
.sidebar-nav {
    padding: 1rem 0;
}

.sidebar-nav-item {
    margin: 0;
}

.sidebar-nav-link {
    display: flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.sidebar-nav-link:hover {
    background-color: #f8f9fa;
    color: #007bff;
    border-left-color: #007bff;
}

.sidebar-nav-link i {
    margin-right: 0.75rem;
    width: 16px;
    text-align: center;
    font-size: 1rem;
}

/* Sidebar Dropdown */
.sidebar-dropdown {
    position: relative;
}

.sidebar-dropdown-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1.5rem;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
    cursor: pointer;
    background: none;
    border: none;
    width: 100%;
    text-align: left;
}

.sidebar-dropdown-toggle:hover {
    background-color: #f8f9fa;
    color: #007bff;
    border-left-color: #007bff;
}

.sidebar-dropdown-icon {
    transition: transform 0.2s ease;
}

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

.sidebar-dropdown-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background-color: #f8f9fa;
}

.sidebar-dropdown.active .sidebar-dropdown-menu {
    max-height: 400px;
}

.sidebar-dropdown-item {
    display: block;
    padding: 0.5rem 1.5rem 0.5rem 3rem;
    color: #666;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.sidebar-dropdown-item:hover {
    background-color: #e9ecef;
    color: #007bff;
}

/* Sidebar Account Section */
.sidebar-account {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    border-top: 1px solid #e5e7eb;
    background: #f8f9fa;
    padding: 1rem;
}

.sidebar-account-buttons {
    display: flex;
    gap: 0.5rem;
}

.sidebar-btn {
    flex: 1;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    text-decoration: none;
    text-align: center;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.sidebar-btn-primary {
    background: #007bff;
    color: white;
    border: 1px solid #007bff;
}

.sidebar-btn-primary:hover {
    background: #0056b3;
    border-color: #0056b3;
    color: white;
}

.sidebar-btn-outline {
    background: transparent;
    color: #007bff;
    border: 1px solid #007bff;
}

.sidebar-btn-outline:hover {
    background: #007bff;
    color: white;
}

/* Mobile Toggle Button */
.mobile-toggle-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #333;
    padding: 0.5rem;
    cursor: pointer;
}

/* Body lock when sidebar is open */
body.sidebar-open {
    overflow: hidden;
}

/* Desktop Navbar Adjustments */
@media (min-width: 992px) {
    .mobile-sidebar,
    .mobile-sidebar-overlay,
    .mobile-toggle-btn {
        display: none !important;
    }

    .navbar-nav {
        flex-direction: row;
    }

    .desktop-nav {
        display: flex !important;
    }
}

/* Mobile Only */
@media (max-width: 991.98px) {
    .desktop-nav {
        display: none !important;
    }

    .mobile-toggle-btn {
        display: block;
    }

    .navbar-collapse {
        display: none !important;
    }
}

/* Responsive adjustments */
@media (max-width: 375px) {
    .mobile-sidebar {
        width: 280px;
        left: -280px;
    }
}



/* ================================================
   Base Styles
   ================================================ */

body {
    /* background-color: #3670d6; */
    /* background-color: #1f2937e6; */
    background-color:#FDF4E3;
    line-height: 1.6;
    color: var(--text-primary);
    overflow-x: hidden;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

html {
    scroll-behavior: smooth;
}

section[id] {
    scroll-margin-top: 80px;
}

/* ================================================
   Responsive Navbar Styles - FIXED VERSION
   ================================================ */

.top-header {
    background: white;
    box-shadow: var(--card-shadow);
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 1020;
}

/* Fix for mobile menu visibility */
.navbar {
    padding: 0;
}

.navbar-brand {
    text-decoration: none !important;
}

.navbar-brand h4 {
    color: #333;
    font-weight: 600;
    margin: 0;
}

/* Mobile Toggle Button - Fixed */
.navbar-toggler {
    padding: 0.25rem 0.5rem;
    font-size: 1.25rem;
    background-color: transparent;
    border: 1px solid rgba(0,0,0,.1);
    border-radius: 0.375rem;
    transition: box-shadow .15s ease-in-out;
}

.navbar-toggler:focus {
    text-decoration: none;
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.navbar-toggler-icon {
    display: inline-block;
    width: 1.5em;
    height: 1.5em;
    vertical-align: middle;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2833, 37, 41, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
}

/* Collapsible Navigation - Fixed */
.navbar-collapse {
    flex-basis: 100%;
    flex-grow: 1;
    align-items: center;
    transition: all 0.3s ease;
}

/* Navigation Links - Fixed */
.navbar-nav {
    display: flex;
    flex-direction: column;
    padding-left: 0;
    margin-bottom: 0;
    list-style: none;
}

@media (min-width: 992px) {
    .navbar-nav {
        flex-direction: row;
    }
}

.nav-link {
    color: #333 !important;
    font-weight: 500;
    padding: 0.75rem 1rem !important;
    transition: all 0.3s ease;
    position: relative;
    display: block;
    text-decoration: none;
}

.hover-underline {
    text-decoration: none !important;
}

.hover-underline:hover {
    color: #007bff !important;
}

.hover-underline::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: #007bff;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.hover-underline:hover::after {
    width: 80%;
}

/* ================================================
   Dropdown Styles
   ================================================ */

.dropdown-menu {
    border: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border-radius: 8px;
    margin-top: 0.5rem;
}

.dropdown-item {
    padding: 0.75rem 1.25rem;
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background-color: #f8f9fa;
    color: #007bff;
}

/* ================================================
   Button Styles
   ================================================ */

.btn-primary {
    background-color: #134686;
    border-color: #134686;
    border-radius: 0px;
    padding: 0.5rem 1.25rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
    transform: translateY(-1px);
}

.quick-apply-btn {
    background: linear-gradient(135deg, var(--success-color) 0%, #10b981 100%);
    border: none;
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.save-job-btn {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    transition: all 0.3s ease;
}

/* ================================================
   Mobile Menu Animations
   ================================================ */

.navbar-collapse.collapsing {
    transition: height 0.3s ease;
}

.navbar-collapse.show {
    animation: fadeIn 0.3s ease;
}

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

/* ================================================
   Container & Layout
   ================================================ */

.main-container {
    background-color: var(--light-bg);
    min-height: 100vh;
    margin: 0;
}

.content {
    position: relative;
    background: var(--light-gray);
}

/* ================================================
   Dashboard & Card Styles
   ================================================ */

.welcome-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 40px 0;
    margin-bottom: 30px;
}

.user-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 32px;
    border: 4px solid rgba(255,255,255,0.3);
}

.dashboard-card {
    background: white;
    border-radius: 16px;
    box-shadow: var(--card-shadow);
    padding: 24px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    height: 100%;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    position: relative;
    overflow: hidden;
}

.dashboard-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.03) 0%, rgba(118, 75, 162, 0.03) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.dashboard-card:hover::before {
    opacity: 1;
}

.dashboard-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: var(--card-hover-shadow);
    text-decoration: none;
    color: inherit;
}

.dashboard-card:active {
    transform: translateY(-2px) scale(0.98);
}

.card-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: white;
    margin-bottom: 16px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.dashboard-card:hover .card-icon {
    transform: rotate(-5deg) scale(1.1);
}

.stats-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
}

.stats-label {
    color: #6b7280;
    font-size: 1rem;
    margin: 0;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 8px;
}

.card-description {
    color: #6b7280;
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* ================================================
   Status Indicators & Badges
   ================================================ */

.notification-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--danger-color);
    color: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
}

.status-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 8px;
}

.status-approved { background-color: var(--success-color); }
.status-pending { background-color: var(--warning-color); }
.status-review { background-color: var(--primary-color); }
.status-rejected { background-color: var(--danger-color); }

/* ================================================
   Progress Bars
   ================================================ */

.progress-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.progress-card:hover {
    color: white;
}

.progress-bar-custom {
    height: 8px;
    background-color: rgba(255,255,255,0.3);
    border-radius: 4px;
    overflow: hidden;
    margin: 16px 0;
}

.progress-fill-custom {
    height: 100%;
    background-color: white;
    border-radius: 4px;
    transition: width 0.3s ease;
}

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--yellow));
    z-index: 10000;
    transition: width 0.3s ease;
}

/* ================================================
   Grid Layouts
   ================================================ */

.feature-grid {
    gap: 24px;
}

.quick-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 16px;
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin: 0;
}

.stat-label {
    font-size: 0.85rem;
    opacity: 0.9;
    margin: 0;
}

/* ================================================
   Activity Lists
   ================================================ */

.recent-activity-list {
    max-height: 200px;
    overflow-y: auto;
}

.activity-item {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #e5e7eb;
}

.activity-item:last-child {
    border-bottom: none;
}

.activity-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    margin-right: 12px;
}

.activity-text {
    flex: 1;
}

.activity-time {
    font-size: 0.85rem;
    color: #6b7280;
}

/* ================================================
   Calendar Widget
   ================================================ */

.calendar-widget {
    min-height: 300px;
}

.calendar-header {
    display: flex;
    justify-content: between;
    align-items: center;
    margin-bottom: 16px;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
    text-align: center;
}

.calendar-day {
    padding: 8px;
    border-radius: 4px;
    font-size: 0.9rem;
}

.calendar-day.today {
    background-color: var(--primary-color);
    color: white;
}

.calendar-day.has-event {
    background-color: var(--warning-color);
    color: white;
}

/* ================================================
   Job Cards
   ================================================ */

.job-card {
    background: white;
    border-radius: 16px;
    box-shadow: var(--card-shadow);
    padding: 24px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.job-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--card-hover-shadow);
    border-color: var(--primary-color);
}

.job-card.featured {
    border-color: #fbbf24;
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    position: relative;
}

.job-card.featured::before {
    content: "Featured";
    position: absolute;
    top: -10px;
    right: 20px;
    background: #fbbf24;
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.company-logo {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 24px;
    margin-bottom: 16px;
}

.job-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 8px;
}

.company-name {
    font-size: 1.1rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 12px;
}

.job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin: 16px 0;
}

.meta-item {
    display: flex;
    align-items: center;
    color: #6b7280;
    font-size: 0.9rem;
}

.meta-item i {
    margin-right: 6px;
    color: var(--primary-color);
}

.job-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 16px 0;
}

.job-tag {
    background: #e0e7ff;
    color: var(--primary-color);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.salary-range {
    background: linear-gradient(135deg, var(--success-color) 0%, #10b981 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.job-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
}

/* ================================================
   Filter Styles
   ================================================ */

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

.filter-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 12px;
}

.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.search-results-header {
    background: white;
    border-radius: 16px;
    box-shadow: var(--card-shadow);
    padding: 20px 24px;
    margin-bottom: 24px;
}

/* ================================================
   Branch Highlighting
   ================================================ */

.branch-item.highlighted {
    border-color: #007bff;
    background-color: #f8f9fa;
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(0,123,255,0.3);
}

/* ================================================
   Responsive Breakpoints
   ================================================ */

@media (max-width: 991.98px) {
    .navbar-collapse {
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid #eee;
    }

    .navbar-nav {
        margin: 0 !important;
    }

    .nav-link {
        padding: 0.75rem 0 !important;
        margin: 0.25rem 0;
    }

    .dropdown-menu {
        margin-top: 0;
        box-shadow: none;
        border: 1px solid #eee;
        background-color: #f8f9fa;
    }

    .btn-primary {
        width: 100%;
        margin-top: 1rem;
        justify-content: center;
    }

    .hover-underline::after {
        display: none;
    }

    .d-flex.align-items-center.gap-3 {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 0 !important;
        width: 100%;
    }

    .dropdown {
        width: 100%;
    }

    .dropdown-toggle {
        width: 100%;
        text-align: left;
    }
}

@media (max-width: 768px) {
    .welcome-section {
        padding: 30px 0;
    }

    .user-avatar {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }

    .stats-number {
        font-size: 2rem;
    }
}

@media (max-width: 575.98px) {
    .navbar-brand h4 {
        font-size: 1.1rem;
    }

    .navbar-brand img {
        width: 40px;
    }

    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .top-header {
        padding: 8px 0;
    }
}

/* ================================================
   Hero Section
   ================================================ */

.hero-section {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 50%, var(--accent-blue) 100%);
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(30, 58, 138, 0.3);
    z-index: 1;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    color: white;
}

.hero-badge {
    display: inline-block;
    background: rgba(251, 191, 36, 0.2);
    border: 2px solid var(--yellow);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
}

.badge-text {
    color: var(--yellow);
    font-weight: 600;
    font-size: 0.9rem;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.modern-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    margin: 0 0.5rem;
}

.btn-primary-modern {
    background: var(--yellow);
    color: var(--primary-blue);
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.4);
}

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

.modern-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.hero-scroll-indicator {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.7;
}

.scroll-arrow {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* ================================================
   Animation Classes
   ================================================ */

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.fade-in-up.animate {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.8s ease;
}

.fade-in-left.animate {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.8s ease;
}

.fade-in-right.animate {
    opacity: 1;
    transform: translateX(0);
}

/* ================================================
   Modern Cards
   ================================================ */

.modern-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 24px;
    padding: 3rem;
    margin: 3rem 0;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* ================================================
   Section Headers
   ================================================ */

.section-header {
    margin-bottom: 3rem;
}

.section-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.section-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.section-divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--yellow));
    border-radius: 2px;
    margin: 1.5rem auto;
}

/* ================================================
   Stats Section
   ================================================ */

.stats-section {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    border-radius: 24px;
    padding: 3rem;
    margin: 3rem 0;
    color: white;
}

.stats-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: white;
}

.stat-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--yellow);
    backdrop-filter: blur(10px);
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    color: var(--yellow);
    margin-bottom: 0.5rem;
}

.stat-description {
    opacity: 0.8;
    font-size: 0.9rem;
}

/* ================================================
   About Section
   ================================================ */

.about-content {
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-content .lead {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: var(--primary-blue);
}

.about-features {
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 1rem;
    background: rgba(30, 58, 138, 0.05);
    border-radius: 12px;
}

.feature-item i {
    color: var(--primary-blue);
    font-size: 1.5rem;
}

.accreditation-showcase {
    background: linear-gradient(135deg, var(--light-blue), rgba(255, 255, 255, 0.8));
    padding: 2rem;
    border-radius: 16px;
}

.accreditation-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

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

.accreditation-info h5 {
    color: var(--primary-blue);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.accreditation-info p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* ================================================
   Branches Section
   ================================================ */

.branches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.branch-item {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    border-radius: 16px;
    padding: 2rem;
    color: white;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.branch-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(30, 58, 138, 0.3);
}

.branch-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.branch-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--yellow);
}

.branch-header h5 {
    margin: 0;
    font-weight: 700;
}

.branch-info h6 {
    color: var(--yellow);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.branch-overlay {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(251, 191, 36, 0.2);
    border: 2px solid var(--yellow);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--yellow);
}

/* ================================================
   Services Section
   ================================================ */

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.service-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(30, 58, 138, 0.1);
    position: relative;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.service-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
}

.service-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--yellow);
    opacity: 0.3;
}

.service-content h5 {
    color: var(--primary-blue);
    font-weight: 700;
    margin-bottom: 1rem;
}

.service-features {
    list-style: none;
    padding: 0;
    margin-top: 1rem;
}

.service-features li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.service-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-blue);
    font-weight: bold;
}

/* ================================================
   Testimonials
   ================================================ */

.testimonials-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    display: none;
    border-left: 4px solid var(--primary-blue);
}

.testimonial-card.active {
    display: block;
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.testimonial-rating {
    color: var(--yellow);
}

.testimonial-text {
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

.testimonial-author strong {
    color: var(--primary-blue);
    font-weight: 700;
}

.testimonial-navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.testimonial-nav {
    background: var(--primary-blue);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.testimonial-nav:hover {
    background: var(--secondary-blue);
    transform: scale(1.1);
}

.testimonial-dots {
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(30, 58, 138, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--primary-blue);
}

/* ================================================
   CTA Section
   ================================================ */

.cta-section {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    border-radius: 24px;
    padding: 4rem 2rem;
    margin: 3rem 0;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.1;
}

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

.cta-icon {
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 2.5rem;
    color: var(--yellow);
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.cta-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto 2rem;
}

.cta-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cta-feature i {
    color: var(--yellow);
}

/* ================================================
   Contact Section
   ================================================ */

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.contact-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(30, 58, 138, 0.1);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.contact-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
}

.contact-content h5 {
    color: var(--primary-blue);
    font-weight: 700;
    margin-bottom: 1rem;
}

.contact-link {
    color: var(--secondary-blue);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.contact-link:hover {
    color: var(--primary-blue);
}

/* ================================================
   Additional Mobile Responsive Styles
   ================================================ */

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .modern-card {
        padding: 2rem 1rem;
        margin: 2rem 0;
    }

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

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

    .cta-features {
        flex-direction: column;
        gap: 1rem;
    }

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

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

/* ================================================
   Sidebar Mobile Menu Styles
   ================================================ */

/* Mobile Sidebar Overlay */
.mobile-sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1040;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-sidebar-overlay.show {
    opacity: 1;
    visibility: visible;
}

/* Mobile Sidebar */
.mobile-sidebar {
    position: fixed;
    top: 0;
    left: -320px;
    width: 320px;
    height: 100vh;
    background: white;
    z-index: 1050;
    transition: left 0.3s ease;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
}

.mobile-sidebar.show {
    left: 0;
}

/* Sidebar Header */
.sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #e5e7eb;
    background: #f8f9fa;
}

.sidebar-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #333;
}

.sidebar-brand h4 {
    margin: 0;
    font-weight: 600;
    font-size: 1.1rem;
}

.sidebar-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #666;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.sidebar-close:hover {
    background-color: #e9ecef;
}

/* Sidebar Navigation */
.sidebar-nav {
    padding: 1rem 0;
}

.sidebar-nav-item {
    margin: 0;
}

.sidebar-nav-link {
    display: flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.sidebar-nav-link:hover {
    background-color: #f8f9fa;
    color: #007bff;
    border-left-color: #007bff;
}

.sidebar-nav-link i {
    margin-right: 0.75rem;
    width: 16px;
    text-align: center;
    font-size: 1rem;
}

/* Sidebar Dropdown */
.sidebar-dropdown {
    position: relative;
}

.sidebar-dropdown-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1.5rem;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
    cursor: pointer;
    background: none;
    border: none;
    width: 100%;
    text-align: left;
}

.sidebar-dropdown-toggle:hover {
    background-color: #f8f9fa;
    color: #007bff;
    border-left-color: #007bff;
}

.sidebar-dropdown-icon {
    transition: transform 0.2s ease;
}

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

.sidebar-dropdown-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background-color: #f8f9fa;
}

.sidebar-dropdown.active .sidebar-dropdown-menu {
    max-height: 400px;
}

.sidebar-dropdown-item {
    display: block;
    padding: 0.5rem 1.5rem 0.5rem 3rem;
    color: #666;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.sidebar-dropdown-item:hover {
    background-color: #e9ecef;
    color: #007bff;
}

/* Sidebar Account Section */
.sidebar-account {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    border-top: 1px solid #e5e7eb;
    background: #f8f9fa;
    padding: 1rem;
}

.sidebar-account-buttons {
    display: flex;
    gap: 0.5rem;
}

.sidebar-btn {
    flex: 1;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    text-decoration: none;
    text-align: center;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.sidebar-btn-primary {
    background: #007bff;
    color: white;
    border: 1px solid #007bff;
}

.sidebar-btn-primary:hover {
    background: #0056b3;
    border-color: #0056b3;
    color: white;
}

.sidebar-btn-outline {
    background: transparent;
    color: #007bff;
    border: 1px solid #007bff;
}

.sidebar-btn-outline:hover {
    background: #007bff;
    color: white;
}

/* Desktop Navbar Adjustments */
@media (min-width: 992px) {
    .mobile-sidebar,
    .mobile-sidebar-overlay,
    .mobile-toggle-btn {
        display: none !important;
    }

    .navbar-nav {
        flex-direction: row;
    }

    .navbar-collapse {
        display: flex !important;
        flex-basis: auto;
    }
}

/* Mobile Only */
@media (max-width: 991.98px) {
    .desktop-nav {
        display: none !important;
    }

    .mobile-toggle-btn {
        display: block;
        background: none;
        border: none;
        font-size: 1.5rem;
        color: #333;
        padding: 0.5rem;
        cursor: pointer;
    }

    .navbar-collapse {
        display: none !important;
    }
}

/* Body lock when sidebar is open */
body.sidebar-open {
    overflow: hidden;
}

/* Smooth animations */
.mobile-sidebar,
.mobile-sidebar-overlay {
    will-change: transform, opacity;
}

/* Responsive adjustments */
@media (max-width: 375px) {
    .mobile-sidebar {
        width: 280px;
        left: -280px;
    }
}
